From 34b83938986b4d52017e0b00b1e6f7a0ae1dedb4 Mon Sep 17 00:00:00 2001 From: Jure Knezovic Date: Thu, 2 Apr 2026 15:51:30 +0200 Subject: [PATCH 1/4] refactor(service provider): remove unused config and translation logic - Removed unused config merge and translation loading in `ServiceProvider`. - Updated asset references in `manifest.json`. --- .../dist/build/assets/addon-B-uKzFTO.css | 1 - resources/dist/build/assets/addon-C066j4y7.js | 64 +++++++++++++++++++ resources/dist/build/assets/addon-Cq6E9A8N.js | 64 ------------------- .../dist/build/assets/addon-DTXnjP_-.css | 1 + resources/dist/build/manifest.json | 4 +- src/ServiceProvider.php | 6 -- 6 files changed, 67 insertions(+), 73 deletions(-) delete mode 100644 resources/dist/build/assets/addon-B-uKzFTO.css create mode 100644 resources/dist/build/assets/addon-C066j4y7.js delete mode 100644 resources/dist/build/assets/addon-Cq6E9A8N.js create mode 100644 resources/dist/build/assets/addon-DTXnjP_-.css diff --git a/resources/dist/build/assets/addon-B-uKzFTO.css b/resources/dist/build/assets/addon-B-uKzFTO.css deleted file mode 100644 index e408c0a..0000000 --- a/resources/dist/build/assets/addon-B-uKzFTO.css +++ /dev/null @@ -1 +0,0 @@ -/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-900:oklch(21% .034 264.665);--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--font-weight-semibold:600;--tracking-wider:.05em;--radius-lg:.5rem;--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--animate-bounce:bounce 1s infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.inset-0{inset:calc(var(--spacing) * 0)}.start{inset-inline-start:var(--spacing)}.isolate{isolation:isolate}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);margin-top:1.2em;margin-bottom:1.2em;font-size:1.25em;line-height:1.6}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);font-weight:500;text-decoration:underline}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:decimal}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:disc}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-counters);font-weight:400}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.25em;font-weight:600}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em;font-style:italic;font-weight:500}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:0;margin-bottom:.888889em;font-size:2.25em;font-weight:800;line-height:1.11111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:900}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:2em;margin-bottom:1em;font-size:1.5em;font-weight:700;line-height:1.33333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:800}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.6em;margin-bottom:.6em;font-size:1.25em;font-weight:600;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.5em;margin-bottom:.5em;font-weight:600;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em;display:block}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-kbd);box-shadow:0 0 0 1px var(--tw-prose-kbd-shadows),0 3px 0 var(--tw-prose-kbd-shadows);padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;border-radius:.3125rem;padding-inline-start:.375em;font-family:inherit;font-size:.875em;font-weight:500}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-size:.875em;font-weight:600}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);padding-top:.857143em;padding-inline-end:1.14286em;padding-bottom:.857143em;border-radius:.375rem;margin-top:1.71429em;margin-bottom:1.71429em;padding-inline-start:1.14286em;font-size:.875em;font-weight:400;line-height:1.71429;overflow-x:auto}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit;background-color:#0000;border-width:0;border-radius:0;padding:0}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){table-layout:auto;width:100%;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.71429}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);vertical-align:bottom;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em;font-weight:600}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);margin-top:.857143em;font-size:.875em;line-height:1.42857}.prose{--tw-prose-body:oklch(37.3% .034 259.733);--tw-prose-headings:oklch(21% .034 264.665);--tw-prose-lead:oklch(44.6% .03 256.802);--tw-prose-links:oklch(21% .034 264.665);--tw-prose-bold:oklch(21% .034 264.665);--tw-prose-counters:oklch(55.1% .027 264.364);--tw-prose-bullets:oklch(87.2% .01 258.338);--tw-prose-hr:oklch(92.8% .006 264.531);--tw-prose-quotes:oklch(21% .034 264.665);--tw-prose-quote-borders:oklch(92.8% .006 264.531);--tw-prose-captions:oklch(55.1% .027 264.364);--tw-prose-kbd:oklch(21% .034 264.665);--tw-prose-kbd-shadows:oklab(21% -.00316127 -.0338527/.1);--tw-prose-code:oklch(21% .034 264.665);--tw-prose-pre-code:oklch(92.8% .006 264.531);--tw-prose-pre-bg:oklch(27.8% .033 256.848);--tw-prose-th-borders:oklch(87.2% .01 258.338);--tw-prose-td-borders:oklch(92.8% .006 264.531);--tw-prose-invert-body:oklch(87.2% .01 258.338);--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:oklch(70.7% .022 261.325);--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:oklch(70.7% .022 261.325);--tw-prose-invert-bullets:oklch(44.6% .03 256.802);--tw-prose-invert-hr:oklch(37.3% .034 259.733);--tw-prose-invert-quotes:oklch(96.7% .003 264.542);--tw-prose-invert-quote-borders:oklch(37.3% .034 259.733);--tw-prose-invert-captions:oklch(70.7% .022 261.325);--tw-prose-invert-kbd:#fff;--tw-prose-invert-kbd-shadows:#ffffff1a;--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:oklch(87.2% .01 258.338);--tw-prose-invert-pre-bg:#00000080;--tw-prose-invert-th-borders:oklch(44.6% .03 256.802);--tw-prose-invert-td-borders:oklch(37.3% .034 259.733);font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.571429em;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-sm{font-size:.875rem;line-height:1.71429}.prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em}.prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.888889em;margin-bottom:.888889em;font-size:1.28571em;line-height:1.55556}.prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.33333em;margin-bottom:1.33333em;padding-inline-start:1.11111em}.prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:.8em;font-size:2.14286em;line-height:1.2}.prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.6em;margin-bottom:.8em;font-size:1.42857em;line-height:1.4}.prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.55556em;margin-bottom:.444444em;font-size:1.28571em;line-height:1.55556}.prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.42857em;margin-bottom:.571429em;line-height:1.42857}.prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.142857em;padding-inline-end:.357143em;padding-bottom:.142857em;border-radius:.3125rem;padding-inline-start:.357143em;font-size:.857143em}.prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.857143em}.prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.888889em}.prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.666667em;padding-inline-end:1em;padding-bottom:.666667em;border-radius:.25rem;margin-top:1.66667em;margin-bottom:1.66667em;padding-inline-start:1em;font-size:.857143em;line-height:1.66667}.prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em;padding-inline-start:1.57143em}.prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.285714em;margin-bottom:.285714em}.prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.428571em}.prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.571429em;margin-bottom:.571429em}.prose-sm :where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.14286em}.prose-sm :where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.14286em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.571429em;margin-bottom:.571429em}.prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em}.prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.285714em;padding-inline-start:1.57143em}.prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.85714em;margin-bottom:2.85714em}.prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.857143em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.666667em;padding-inline-start:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.666667em;padding-inline-end:1em;padding-bottom:.666667em;padding-inline-start:1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.666667em;font-size:.857143em;line-height:1.33333}.prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.mt-1{margin-top:calc(var(--spacing) * 1)}.mb-0\.5{margin-bottom:calc(var(--spacing) * .5)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.ml-0{margin-left:calc(var(--spacing) * 0)}.ml-2{margin-left:calc(var(--spacing) * 2)}.contents{display:contents}.flex{display:flex}.inline-block{display:inline-block}.h-2{height:calc(var(--spacing) * 2)}.h-full{height:100%}.min-h-0{min-height:calc(var(--spacing) * 0)}.w-0{width:calc(var(--spacing) * 0)}.w-2{width:calc(var(--spacing) * 2)}.w-full{width:100%}.min-w-0{min-width:calc(var(--spacing) * 0)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.animate-bounce{animation:var(--animate-bounce)}.animate-pulse{animation:var(--animate-pulse)}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1{gap:calc(var(--spacing) * 1)}:where(.space-y-5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing) * 3) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-x-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-gray-200>:not(:last-child)){border-color:var(--color-gray-200)}.justify-self-end{justify-self:flex-end}.justify-self-start{justify-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-400{background-color:var(--color-gray-400)}.bg-primary{background-color:var(--theme-color-primary)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pb-1{padding-bottom:calc(var(--spacing) * 1)}.text-center{text-align:center}.text-right{text-align:right}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.whitespace-pre-wrap{white-space:pre-wrap}.text-gray-100{color:var(--color-gray-100)}.text-gray-400{color:var(--color-gray-400)}.text-gray-900{color:var(--color-gray-900)}.uppercase{text-transform:uppercase}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.duration-500{--tw-duration:.5s;transition-duration:.5s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}@media(hover:hover){.hover\:text-primary:hover{color:var(--theme-color-primary)}}@media not all and (min-width:48rem){.max-md\:pointer-events-none{pointer-events:none}.max-md\:absolute{position:absolute}.max-md\:inset-y-0{inset-block:calc(var(--spacing) * 0)}.max-md\:left-0{left:calc(var(--spacing) * 0)}.max-md\:z-10{z-index:10}.max-md\:w-full{width:100%}.max-md\:opacity-0{opacity:0}}@media(min-width:40rem){.sm\:max-w-\[90\%\]{max-width:90%}}@media(min-width:48rem){.md\:hidden{display:none}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:max-w-\[80\%\]{max-width:80%}}}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{animation-timing-function:cubic-bezier(.8,0,1,1);transform:translateY(-25%)}50%{animation-timing-function:cubic-bezier(0,0,.2,1);transform:none}} diff --git a/resources/dist/build/assets/addon-C066j4y7.js b/resources/dist/build/assets/addon-C066j4y7.js new file mode 100644 index 0000000..46c7d0c --- /dev/null +++ b/resources/dist/build/assets/addon-C066j4y7.js @@ -0,0 +1,64 @@ +var Mn=Object.defineProperty;var zn=(t,e,n)=>e in t?Mn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var T=(t,e,n)=>zn(t,typeof e!="symbol"?e+"":e,n);const Fn=window.Vue,{BaseTransition:so,BaseTransitionPropsValidators:io,Comment:oo,DeprecationTypes:ao,EffectScope:lo,ErrorCodes:co,ErrorTypeStrings:uo,Fragment:Be,KeepAlive:po,ReactiveEffect:ho,Static:fo,Suspense:go,Teleport:mo,Text:bo,TrackOpTypes:ko,Transition:wo,TransitionGroup:xo,TriggerOpTypes:yo,VueElement:So,__esModule:Ro,assertNumber:vo,callWithAsyncErrorHandling:To,callWithErrorHandling:Eo,camelize:Co,capitalize:_o,cloneVNode:Ao,compatUtils:Oo,compile:Po,computed:ye,createApp:$o,createBlock:de,createCommentVNode:ie,createElementBlock:j,createElementVNode:N,createHydrationRenderer:Lo,createPropsRestProxy:Io,createRenderer:No,createSSRApp:Uo,createSlots:Bo,createStaticVNode:jn,createTextVNode:Do,createVNode:v,customRef:Mo,defineAsyncComponent:zo,defineComponent:Fo,defineCustomElement:jo,defineEmits:qo,defineExpose:Ho,defineModel:Vo,defineOptions:Wo,defineProps:Jo,defineSSRCustomElement:Ko,defineSlots:Zo,devtools:Go,effect:Qo,effectScope:Xo,getCurrentInstance:Yo,getCurrentScope:ea,getCurrentWatcher:ta,getTransitionRawChildren:na,guardReactiveProps:ra,h:sa,handleError:ia,hasInjectionContext:oa,hydrate:aa,hydrateOnIdle:la,hydrateOnInteraction:ca,hydrateOnMediaQuery:ua,hydrateOnVisible:da,initCustomFormatter:pa,initDirectivesForSSR:ha,inject:fa,isMemoSame:ga,isProxy:ma,isReactive:ba,isReadonly:ka,isRef:Et,isRuntimeOnly:wa,isShallow:xa,isVNode:ya,markRaw:Sa,mergeDefaults:Ra,mergeModels:va,mergeProps:Ta,nextTick:we,nodeOps:Ea,normalizeClass:Se,normalizeProps:Ca,normalizeStyle:_a,onActivated:Aa,onBeforeMount:Oa,onBeforeUnmount:Pa,onBeforeUpdate:$a,onDeactivated:La,onErrorCaptured:Ia,onMounted:qn,onRenderTracked:Na,onRenderTriggered:Ua,onScopeDispose:Ba,onServerPrefetch:Da,onUnmounted:Hn,onUpdated:Ma,onWatcherCleanup:za,openBlock:L,patchProp:Fa,popScopeId:ja,provide:qa,proxyRefs:Ha,pushScopeId:Va,queuePostFlushCb:Wa,reactive:Ja,readonly:Ka,ref:je,registerRuntimeCompiler:Za,render:Ga,renderList:Qt,renderSlot:Qa,resolveComponent:Xa,resolveDirective:Ya,resolveDynamicComponent:el,resolveFilter:tl,resolveTransitionHooks:nl,setBlockTracking:rl,setDevtoolsHook:sl,setTransitionHooks:il,shallowReactive:ol,shallowReadonly:al,shallowRef:B,ssrContextKey:ll,ssrUtils:cl,stop:ul,toDisplayString:te,toHandlerKey:dl,toHandlers:pl,toRaw:hl,toRef:fl,toRefs:gl,toValue:ml,transformVNodeArgs:bl,triggerRef:kl,unref:k,useAttrs:wl,useCssModule:xl,useCssVars:yl,useHost:Sl,useId:Rl,useModel:vl,useSSRContext:Tl,useShadowRoot:El,useSlots:Cl,useTemplateRef:Vn,useTransitionState:_l,vModelCheckbox:Al,vModelDynamic:Ol,vModelRadio:Pl,vModelSelect:$l,vModelText:Ll,vShow:Il,version:Nl,warn:Ul,watch:Bl,watchEffect:Dl,watchPostEffect:Ml,watchSyncEffect:zl,withAsyncContext:Fl,withCtx:W,withDefaults:jl,withDirectives:ql,withKeys:Xt,withMemo:Hl,withModifiers:Wn,withScopeId:Vl}=Fn,{Alert:Wl,AuthCard:Jl,Avatar:Kl,Badge:Zl,Button:Q,ButtonGroup:Gl,Calendar:Ql,Card:Yt,CardList:Xl,CardListItem:Yl,CardPanel:ec,CharacterCounter:tc,Checkbox:nc,CheckboxGroup:rc,CodeEditor:sc,Combobox:ic,CommandPaletteItem:oc,ConfirmationModal:Jn,Context:ac,ContextFooter:lc,ContextHeader:cc,ContextItem:uc,ContextLabel:dc,ContextMenu:pc,ContextSeparator:hc,CreateForm:fc,DatePicker:gc,DateRangePicker:mc,Description:bc,DocsCallout:kc,DragHandle:wc,Dropdown:Kn,DropdownItem:Ct,DropdownLabel:xc,DropdownMenu:Zn,DropdownSeparator:Gn,DropdownFooter:yc,DropdownHeader:Sc,Editable:Rc,ErrorMessage:vc,EmptyStateItem:Tc,EmptyStateMenu:Ec,Field:Cc,Header:en,Heading:_c,HoverCard:Ac,Icon:Oc,Input:tt,InputGroup:Pc,InputGroupAppend:$c,InputGroupPrepend:Lc,Label:Ic,Listing:Nc,ListingCustomizeColumns:Uc,ListingFilters:Bc,ListingHeaderCell:Dc,ListingPagination:Mc,ListingPresets:zc,ListingPresetTrigger:Fc,ListingRowActions:jc,ListingSearch:qc,ListingTable:Hc,ListingTableBody:Vc,ListingTableHead:Wc,ListingToggleAll:Jc,LivePreview:Kc,LivePreviewPopout:Zc,MiddleEllipsis:Gc,Modal:Qn,ModalClose:Xn,ModalTitle:Qc,Pagination:Xc,Panel:tn,PanelFooter:Yc,PanelHeader:eu,Popover:tu,PublishComponents:nu,PublishContainer:ru,publishContextKey:su,injectPublishContext:iu,PublishField:ou,PublishFields:au,PublishFieldsProvider:lu,PublishForm:cu,PublishLocalizations:uu,PublishSections:du,PublishTabs:pu,Radio:hu,RadioGroup:fu,Select:gu,Separator:mu,Slider:bu,Skeleton:ku,SplitterGroup:wu,SplitterPanel:xu,SplitterResizeHandle:yu,StatusIndicator:Su,Subheading:Ru,Switch:vu,TabContent:Tu,Stack:Eu,StackClose:Cu,StackHeader:_u,StackFooter:Au,StackContent:Ou,Table:Pu,TableCell:$u,TableColumn:Lu,TableColumns:Iu,TableRow:Nu,TableRows:Uu,TabList:Bu,TabProvider:Du,Tabs:Mu,TabTrigger:zu,Text:Fu,Textarea:ju,TimePicker:qu,ToggleGroup:Hu,ToggleItem:Vu,Widget:Wu,registerIconSet:Ju,registerIconSetFromStrings:Ku}=__STATAMIC__.ui,Yn=(t,e)=>{const n=t.__vccOpts||t;for(const[r,s]of e)n[r]=s;return n},er={},tr={class:"mb-4 flex justify-start"};function nr(t,e){return L(),j("div",tr,[...e[0]||(e[0]=[jn('
',1)])])}const rr=Yn(er,[["render",nr]]);function nn(t,e){return function(){return t.apply(e,arguments)}}const{toString:sr}=Object.prototype,{getPrototypeOf:ct}=Object,{iterator:qe,toStringTag:rn}=Symbol,He=(t=>e=>{const n=sr.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Z=t=>(t=t.toLowerCase(),e=>He(e)===t),Ve=t=>e=>typeof e===t,{isArray:he}=Array,pe=Ve("undefined");function Re(t){return t!==null&&!pe(t)&&t.constructor!==null&&!pe(t.constructor)&&q(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const sn=Z("ArrayBuffer");function ir(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&sn(t.buffer),e}const or=Ve("string"),q=Ve("function"),on=Ve("number"),ve=t=>t!==null&&typeof t=="object",ar=t=>t===!0||t===!1,Ie=t=>{if(He(t)!=="object")return!1;const e=ct(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(rn in t)&&!(qe in t)},lr=t=>{if(!ve(t)||Re(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},cr=Z("Date"),ur=Z("File"),dr=t=>!!(t&&typeof t.uri<"u"),pr=t=>t&&typeof t.getParts<"u",hr=Z("Blob"),fr=Z("FileList"),gr=t=>ve(t)&&q(t.pipe);function mr(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const _t=mr(),At=typeof _t.FormData<"u"?_t.FormData:void 0,br=t=>{let e;return t&&(At&&t instanceof At||q(t.append)&&((e=He(t))==="formdata"||e==="object"&&q(t.toString)&&t.toString()==="[object FormData]"))},kr=Z("URLSearchParams"),[wr,xr,yr,Sr]=["ReadableStream","Request","Response","Headers"].map(Z),Rr=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Te(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,s;if(typeof t!="object"&&(t=[t]),he(t))for(r=0,s=t.length;r0;)if(s=n[r],e===s.toLowerCase())return s;return null}const se=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ln=t=>!pe(t)&&t!==se;function nt(){const{caseless:t,skipUndefined:e}=ln(this)&&this||{},n={},r=(s,i)=>{if(i==="__proto__"||i==="constructor"||i==="prototype")return;const o=t&&an(n,i)||i;Ie(n[o])&&Ie(s)?n[o]=nt(n[o],s):Ie(s)?n[o]=nt({},s):he(s)?n[o]=s.slice():(!e||!pe(s))&&(n[o]=s)};for(let s=0,i=arguments.length;s(Te(e,(s,i)=>{n&&q(s)?Object.defineProperty(t,i,{value:nn(s,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(t,i,{value:s,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),t),Tr=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Er=(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),Object.defineProperty(t.prototype,"constructor",{value:t,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},Cr=(t,e,n,r)=>{let s,i,o;const a={};if(e=e||{},t==null)return e;do{for(s=Object.getOwnPropertyNames(t),i=s.length;i-- >0;)o=s[i],(!r||r(o,t,e))&&!a[o]&&(e[o]=t[o],a[o]=!0);t=n!==!1&&ct(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},_r=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return r!==-1&&r===n},Ar=t=>{if(!t)return null;if(he(t))return t;let e=t.length;if(!on(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},Or=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&ct(Uint8Array)),Pr=(t,e)=>{const r=(t&&t[qe]).call(t);let s;for(;(s=r.next())&&!s.done;){const i=s.value;e.call(t,i[0],i[1])}},$r=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},Lr=Z("HTMLFormElement"),Ir=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),Ot=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),Nr=Z("RegExp"),cn=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};Te(n,(s,i)=>{let o;(o=e(s,i,t))!==!1&&(r[i]=o||s)}),Object.defineProperties(t,r)},Ur=t=>{cn(t,(e,n)=>{if(q(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(q(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Br=(t,e)=>{const n={},r=s=>{s.forEach(i=>{n[i]=!0})};return he(t)?r(t):r(String(t).split(e)),n},Dr=()=>{},Mr=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function zr(t){return!!(t&&q(t.append)&&t[rn]==="FormData"&&t[qe])}const Fr=t=>{const e=new Array(10),n=(r,s)=>{if(ve(r)){if(e.indexOf(r)>=0)return;if(Re(r))return r;if(!("toJSON"in r)){e[s]=r;const i=he(r)?[]:{};return Te(r,(o,a)=>{const u=n(o,s+1);!pe(u)&&(i[a]=u)}),e[s]=void 0,i}}return r};return n(t,0)},jr=Z("AsyncFunction"),qr=t=>t&&(ve(t)||q(t))&&q(t.then)&&q(t.catch),un=((t,e)=>t?setImmediate:e?((n,r)=>(se.addEventListener("message",({source:s,data:i})=>{s===se&&i===n&&r.length&&r.shift()()},!1),s=>{r.push(s),se.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",q(se.postMessage)),Hr=typeof queueMicrotask<"u"?queueMicrotask.bind(se):typeof process<"u"&&process.nextTick||un,Vr=t=>t!=null&&q(t[qe]),d={isArray:he,isArrayBuffer:sn,isBuffer:Re,isFormData:br,isArrayBufferView:ir,isString:or,isNumber:on,isBoolean:ar,isObject:ve,isPlainObject:Ie,isEmptyObject:lr,isReadableStream:wr,isRequest:xr,isResponse:yr,isHeaders:Sr,isUndefined:pe,isDate:cr,isFile:ur,isReactNativeBlob:dr,isReactNative:pr,isBlob:hr,isRegExp:Nr,isFunction:q,isStream:gr,isURLSearchParams:kr,isTypedArray:Or,isFileList:fr,forEach:Te,merge:nt,extend:vr,trim:Rr,stripBOM:Tr,inherits:Er,toFlatObject:Cr,kindOf:He,kindOfTest:Z,endsWith:_r,toArray:Ar,forEachEntry:Pr,matchAll:$r,isHTMLForm:Lr,hasOwnProperty:Ot,hasOwnProp:Ot,reduceDescriptors:cn,freezeMethods:Ur,toObjectSet:Br,toCamelCase:Ir,noop:Dr,toFiniteNumber:Mr,findKey:an,global:se,isContextDefined:ln,isSpecCompliantForm:zr,toJSONObject:Fr,isAsyncFn:jr,isThenable:qr,setImmediate:un,asap:Hr,isIterable:Vr};let x=class dn extends Error{static from(e,n,r,s,i,o){const a=new dn(e.message,n||e.code,r,s,i);return a.cause=e,a.name=e.name,e.status!=null&&a.status==null&&(a.status=e.status),o&&Object.assign(a,o),a}constructor(e,n,r,s,i){super(e),Object.defineProperty(this,"message",{value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),r&&(this.config=r),s&&(this.request=s),i&&(this.response=i,this.status=i.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:d.toJSONObject(this.config),code:this.code,status:this.status}}};x.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";x.ERR_BAD_OPTION="ERR_BAD_OPTION";x.ECONNABORTED="ECONNABORTED";x.ETIMEDOUT="ETIMEDOUT";x.ERR_NETWORK="ERR_NETWORK";x.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";x.ERR_DEPRECATED="ERR_DEPRECATED";x.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";x.ERR_BAD_REQUEST="ERR_BAD_REQUEST";x.ERR_CANCELED="ERR_CANCELED";x.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";x.ERR_INVALID_URL="ERR_INVALID_URL";const Wr=null;function rt(t){return d.isPlainObject(t)||d.isArray(t)}function pn(t){return d.endsWith(t,"[]")?t.slice(0,-2):t}function Qe(t,e,n){return t?t.concat(e).map(function(s,i){return s=pn(s),!n&&i?"["+s+"]":s}).join(n?".":""):e}function Jr(t){return d.isArray(t)&&!t.some(rt)}const Kr=d.toFlatObject(d,{},null,function(e){return/^is[A-Z]/.test(e)});function We(t,e,n){if(!d.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=d.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(f,m){return!d.isUndefined(m[f])});const r=n.metaTokens,s=n.visitor||c,i=n.dots,o=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&d.isSpecCompliantForm(e);if(!d.isFunction(s))throw new TypeError("visitor must be a function");function l(p){if(p===null)return"";if(d.isDate(p))return p.toISOString();if(d.isBoolean(p))return p.toString();if(!u&&d.isBlob(p))throw new x("Blob is not supported. Use a Buffer instead.");return d.isArrayBuffer(p)||d.isTypedArray(p)?u&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function c(p,f,m){let S=p;if(d.isReactNative(e)&&d.isReactNativeBlob(p))return e.append(Qe(m,f,i),l(p)),!1;if(p&&!m&&typeof p=="object"){if(d.endsWith(f,"{}"))f=r?f:f.slice(0,-2),p=JSON.stringify(p);else if(d.isArray(p)&&Jr(p)||(d.isFileList(p)||d.endsWith(f,"[]"))&&(S=d.toArray(p)))return f=pn(f),S.forEach(function(E,w){!(d.isUndefined(E)||E===null)&&e.append(o===!0?Qe([f],w,i):o===null?f:f+"[]",l(E))}),!1}return rt(p)?!0:(e.append(Qe(m,f,i),l(p)),!1)}const g=[],b=Object.assign(Kr,{defaultVisitor:c,convertValue:l,isVisitable:rt});function h(p,f){if(!d.isUndefined(p)){if(g.indexOf(p)!==-1)throw Error("Circular reference detected in "+f.join("."));g.push(p),d.forEach(p,function(S,$){(!(d.isUndefined(S)||S===null)&&s.call(e,S,d.isString($)?$.trim():$,f,b))===!0&&h(S,f?f.concat($):[$])}),g.pop()}}if(!d.isObject(t))throw new TypeError("data must be an object");return h(t),e}function Pt(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function ut(t,e){this._pairs=[],t&&We(t,this,e)}const hn=ut.prototype;hn.append=function(e,n){this._pairs.push([e,n])};hn.toString=function(e){const n=e?function(r){return e.call(this,r,Pt)}:Pt;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function Zr(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function fn(t,e,n){if(!e)return t;const r=n&&n.encode||Zr,s=d.isFunction(n)?{serialize:n}:n,i=s&&s.serialize;let o;if(i?o=i(e,s):o=d.isURLSearchParams(e)?e.toString():new ut(e,s).toString(r),o){const a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+o}return t}class $t{constructor(){this.handlers=[]}use(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){d.forEach(this.handlers,function(r){r!==null&&e(r)})}}const dt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},Gr=typeof URLSearchParams<"u"?URLSearchParams:ut,Qr=typeof FormData<"u"?FormData:null,Xr=typeof Blob<"u"?Blob:null,Yr={isBrowser:!0,classes:{URLSearchParams:Gr,FormData:Qr,Blob:Xr},protocols:["http","https","file","blob","url","data"]},pt=typeof window<"u"&&typeof document<"u",st=typeof navigator=="object"&&navigator||void 0,es=pt&&(!st||["ReactNative","NativeScript","NS"].indexOf(st.product)<0),ts=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",ns=pt&&window.location.href||"http://localhost",rs=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:pt,hasStandardBrowserEnv:es,hasStandardBrowserWebWorkerEnv:ts,navigator:st,origin:ns},Symbol.toStringTag,{value:"Module"})),D={...rs,...Yr};function ss(t,e){return We(t,new D.classes.URLSearchParams,{visitor:function(n,r,s,i){return D.isNode&&d.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...e})}function is(t){return d.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function os(t){const e={},n=Object.keys(t);let r;const s=n.length;let i;for(r=0;r=n.length;return o=!o&&d.isArray(s)?s.length:o,u?(d.hasOwnProp(s,o)?s[o]=[s[o],r]:s[o]=r,!a):((!s[o]||!d.isObject(s[o]))&&(s[o]=[]),e(n,r,s[o],i)&&d.isArray(s[o])&&(s[o]=os(s[o])),!a)}if(d.isFormData(t)&&d.isFunction(t.entries)){const n={};return d.forEachEntry(t,(r,s)=>{e(is(r),s,n,0)}),n}return null}function as(t,e,n){if(d.isString(t))try{return(e||JSON.parse)(t),d.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}const Ee={transitional:dt,adapter:["xhr","http","fetch"],transformRequest:[function(e,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,i=d.isObject(e);if(i&&d.isHTMLForm(e)&&(e=new FormData(e)),d.isFormData(e))return s?JSON.stringify(gn(e)):e;if(d.isArrayBuffer(e)||d.isBuffer(e)||d.isStream(e)||d.isFile(e)||d.isBlob(e)||d.isReadableStream(e))return e;if(d.isArrayBufferView(e))return e.buffer;if(d.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return ss(e,this.formSerializer).toString();if((a=d.isFileList(e))||r.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return We(a?{"files[]":e}:e,u&&new u,this.formSerializer)}}return i||s?(n.setContentType("application/json",!1),as(e)):e}],transformResponse:[function(e){const n=this.transitional||Ee.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(d.isResponse(e)||d.isReadableStream(e))return e;if(e&&d.isString(e)&&(r&&!this.responseType||s)){const o=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(e,this.parseReviver)}catch(a){if(o)throw a.name==="SyntaxError"?x.from(a,x.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:D.classes.FormData,Blob:D.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};d.forEach(["delete","get","head","post","put","patch"],t=>{Ee.headers[t]={}});const ls=d.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),cs=t=>{const e={};let n,r,s;return t&&t.split(` +`).forEach(function(o){s=o.indexOf(":"),n=o.substring(0,s).trim().toLowerCase(),r=o.substring(s+1).trim(),!(!n||e[n]&&ls[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},Lt=Symbol("internals");function me(t){return t&&String(t).trim().toLowerCase()}function Ne(t){return t===!1||t==null?t:d.isArray(t)?t.map(Ne):String(t)}function us(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}const ds=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Xe(t,e,n,r,s){if(d.isFunction(r))return r.call(this,e,n);if(s&&(e=n),!!d.isString(e)){if(d.isString(r))return e.indexOf(r)!==-1;if(d.isRegExp(r))return r.test(e)}}function ps(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function hs(t,e){const n=d.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(s,i,o){return this[r].call(this,e,s,i,o)},configurable:!0})})}let H=class{constructor(e){e&&this.set(e)}set(e,n,r){const s=this;function i(a,u,l){const c=me(u);if(!c)throw new Error("header name must be a non-empty string");const g=d.findKey(s,c);(!g||s[g]===void 0||l===!0||l===void 0&&s[g]!==!1)&&(s[g||u]=Ne(a))}const o=(a,u)=>d.forEach(a,(l,c)=>i(l,c,u));if(d.isPlainObject(e)||e instanceof this.constructor)o(e,n);else if(d.isString(e)&&(e=e.trim())&&!ds(e))o(cs(e),n);else if(d.isObject(e)&&d.isIterable(e)){let a={},u,l;for(const c of e){if(!d.isArray(c))throw TypeError("Object iterator must return a key-value pair");a[l=c[0]]=(u=a[l])?d.isArray(u)?[...u,c[1]]:[u,c[1]]:c[1]}o(a,n)}else e!=null&&i(n,e,r);return this}get(e,n){if(e=me(e),e){const r=d.findKey(this,e);if(r){const s=this[r];if(!n)return s;if(n===!0)return us(s);if(d.isFunction(n))return n.call(this,s,r);if(d.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=me(e),e){const r=d.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||Xe(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let s=!1;function i(o){if(o=me(o),o){const a=d.findKey(r,o);a&&(!n||Xe(r,r[a],a,n))&&(delete r[a],s=!0)}}return d.isArray(e)?e.forEach(i):i(e),s}clear(e){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const i=n[r];(!e||Xe(this,this[i],i,e,!0))&&(delete this[i],s=!0)}return s}normalize(e){const n=this,r={};return d.forEach(this,(s,i)=>{const o=d.findKey(r,i);if(o){n[o]=Ne(s),delete n[i];return}const a=e?ps(i):String(i).trim();a!==i&&delete n[i],n[a]=Ne(s),r[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return d.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=e&&d.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(` +`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const r=new this(e);return n.forEach(s=>r.set(s)),r}static accessor(e){const r=(this[Lt]=this[Lt]={accessors:{}}).accessors,s=this.prototype;function i(o){const a=me(o);r[a]||(hs(s,o),r[a]=!0)}return d.isArray(e)?e.forEach(i):i(e),this}};H.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);d.reduceDescriptors(H.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}});d.freezeMethods(H);function Ye(t,e){const n=this||Ee,r=e||n,s=H.from(r.headers);let i=r.data;return d.forEach(t,function(a){i=a.call(n,i,s.normalize(),e?e.status:void 0)}),s.normalize(),i}function mn(t){return!!(t&&t.__CANCEL__)}let Ce=class extends x{constructor(e,n,r){super(e??"canceled",x.ERR_CANCELED,n,r),this.name="CanceledError",this.__CANCEL__=!0}};function bn(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new x("Request failed with status code "+n.status,[x.ERR_BAD_REQUEST,x.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function fs(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function gs(t,e){t=t||10;const n=new Array(t),r=new Array(t);let s=0,i=0,o;return e=e!==void 0?e:1e3,function(u){const l=Date.now(),c=r[i];o||(o=l),n[s]=u,r[s]=l;let g=i,b=0;for(;g!==s;)b+=n[g++],g=g%t;if(s=(s+1)%t,s===i&&(i=(i+1)%t),l-o{n=c,s=null,i&&(clearTimeout(i),i=null),t(...l)};return[(...l)=>{const c=Date.now(),g=c-n;g>=r?o(l,c):(s=l,i||(i=setTimeout(()=>{i=null,o(s)},r-g)))},()=>s&&o(s)]}const De=(t,e,n=3)=>{let r=0;const s=gs(50,250);return ms(i=>{const o=i.loaded,a=i.lengthComputable?i.total:void 0,u=o-r,l=s(u),c=o<=a;r=o;const g={loaded:o,total:a,progress:a?o/a:void 0,bytes:u,rate:l||void 0,estimated:l&&a&&c?(a-o)/l:void 0,event:i,lengthComputable:a!=null,[e?"download":"upload"]:!0};t(g)},n)},It=(t,e)=>{const n=t!=null;return[r=>e[0]({lengthComputable:n,total:t,loaded:r}),e[1]]},Nt=t=>(...e)=>d.asap(()=>t(...e)),bs=D.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,D.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(D.origin),D.navigator&&/(msie|trident)/i.test(D.navigator.userAgent)):()=>!0,ks=D.hasStandardBrowserEnv?{write(t,e,n,r,s,i,o){if(typeof document>"u")return;const a=[`${t}=${encodeURIComponent(e)}`];d.isNumber(n)&&a.push(`expires=${new Date(n).toUTCString()}`),d.isString(r)&&a.push(`path=${r}`),d.isString(s)&&a.push(`domain=${s}`),i===!0&&a.push("secure"),d.isString(o)&&a.push(`SameSite=${o}`),document.cookie=a.join("; ")},read(t){if(typeof document>"u")return null;const e=document.cookie.match(new RegExp("(?:^|; )"+t+"=([^;]*)"));return e?decodeURIComponent(e[1]):null},remove(t){this.write(t,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function ws(t){return typeof t!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function xs(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function kn(t,e,n){let r=!ws(e);return t&&(r||n==!1)?xs(t,e):e}const Ut=t=>t instanceof H?{...t}:t;function ae(t,e){e=e||{};const n={};function r(l,c,g,b){return d.isPlainObject(l)&&d.isPlainObject(c)?d.merge.call({caseless:b},l,c):d.isPlainObject(c)?d.merge({},c):d.isArray(c)?c.slice():c}function s(l,c,g,b){if(d.isUndefined(c)){if(!d.isUndefined(l))return r(void 0,l,g,b)}else return r(l,c,g,b)}function i(l,c){if(!d.isUndefined(c))return r(void 0,c)}function o(l,c){if(d.isUndefined(c)){if(!d.isUndefined(l))return r(void 0,l)}else return r(void 0,c)}function a(l,c,g){if(g in e)return r(l,c);if(g in t)return r(void 0,l)}const u={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(l,c,g)=>s(Ut(l),Ut(c),g,!0)};return d.forEach(Object.keys({...t,...e}),function(c){if(c==="__proto__"||c==="constructor"||c==="prototype")return;const g=d.hasOwnProp(u,c)?u[c]:s,b=g(t[c],e[c],c);d.isUndefined(b)&&g!==a||(n[c]=b)}),n}const wn=t=>{const e=ae({},t);let{data:n,withXSRFToken:r,xsrfHeaderName:s,xsrfCookieName:i,headers:o,auth:a}=e;if(e.headers=o=H.from(o),e.url=fn(kn(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),a&&o.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),d.isFormData(n)){if(D.hasStandardBrowserEnv||D.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(d.isFunction(n.getHeaders)){const u=n.getHeaders(),l=["content-type","content-length"];Object.entries(u).forEach(([c,g])=>{l.includes(c.toLowerCase())&&o.set(c,g)})}}if(D.hasStandardBrowserEnv&&(r&&d.isFunction(r)&&(r=r(e)),r||r!==!1&&bs(e.url))){const u=s&&i&&ks.read(i);u&&o.set(s,u)}return e},ys=typeof XMLHttpRequest<"u",Ss=ys&&function(t){return new Promise(function(n,r){const s=wn(t);let i=s.data;const o=H.from(s.headers).normalize();let{responseType:a,onUploadProgress:u,onDownloadProgress:l}=s,c,g,b,h,p;function f(){h&&h(),p&&p(),s.cancelToken&&s.cancelToken.unsubscribe(c),s.signal&&s.signal.removeEventListener("abort",c)}let m=new XMLHttpRequest;m.open(s.method.toUpperCase(),s.url,!0),m.timeout=s.timeout;function S(){if(!m)return;const E=H.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),_={data:!a||a==="text"||a==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:E,config:t,request:m};bn(function(O){n(O),f()},function(O){r(O),f()},_),m=null}"onloadend"in m?m.onloadend=S:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(S)},m.onabort=function(){m&&(r(new x("Request aborted",x.ECONNABORTED,t,m)),m=null)},m.onerror=function(w){const _=w&&w.message?w.message:"Network Error",I=new x(_,x.ERR_NETWORK,t,m);I.event=w||null,r(I),m=null},m.ontimeout=function(){let w=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const _=s.transitional||dt;s.timeoutErrorMessage&&(w=s.timeoutErrorMessage),r(new x(w,_.clarifyTimeoutError?x.ETIMEDOUT:x.ECONNABORTED,t,m)),m=null},i===void 0&&o.setContentType(null),"setRequestHeader"in m&&d.forEach(o.toJSON(),function(w,_){m.setRequestHeader(_,w)}),d.isUndefined(s.withCredentials)||(m.withCredentials=!!s.withCredentials),a&&a!=="json"&&(m.responseType=s.responseType),l&&([b,p]=De(l,!0),m.addEventListener("progress",b)),u&&m.upload&&([g,h]=De(u),m.upload.addEventListener("progress",g),m.upload.addEventListener("loadend",h)),(s.cancelToken||s.signal)&&(c=E=>{m&&(r(!E||E.type?new Ce(null,t,m):E),m.abort(),m=null)},s.cancelToken&&s.cancelToken.subscribe(c),s.signal&&(s.signal.aborted?c():s.signal.addEventListener("abort",c)));const $=fs(s.url);if($&&D.protocols.indexOf($)===-1){r(new x("Unsupported protocol "+$+":",x.ERR_BAD_REQUEST,t));return}m.send(i||null)})},Rs=(t,e)=>{const{length:n}=t=t?t.filter(Boolean):[];if(e||n){let r=new AbortController,s;const i=function(l){if(!s){s=!0,a();const c=l instanceof Error?l:this.reason;r.abort(c instanceof x?c:new Ce(c instanceof Error?c.message:c))}};let o=e&&setTimeout(()=>{o=null,i(new x(`timeout of ${e}ms exceeded`,x.ETIMEDOUT))},e);const a=()=>{t&&(o&&clearTimeout(o),o=null,t.forEach(l=>{l.unsubscribe?l.unsubscribe(i):l.removeEventListener("abort",i)}),t=null)};t.forEach(l=>l.addEventListener("abort",i));const{signal:u}=r;return u.unsubscribe=()=>d.asap(a),u}},vs=function*(t,e){let n=t.byteLength;if(n{const s=Ts(t,e);let i=0,o,a=u=>{o||(o=!0,r&&r(u))};return new ReadableStream({async pull(u){try{const{done:l,value:c}=await s.next();if(l){a(),u.close();return}let g=c.byteLength;if(n){let b=i+=g;n(b)}u.enqueue(new Uint8Array(c))}catch(l){throw a(l),l}},cancel(u){return a(u),s.return()}},{highWaterMark:2})},Dt=64*1024,{isFunction:Pe}=d,Cs=(({Request:t,Response:e})=>({Request:t,Response:e}))(d.global),{ReadableStream:Mt,TextEncoder:zt}=d.global,Ft=(t,...e)=>{try{return!!t(...e)}catch{return!1}},_s=t=>{t=d.merge.call({skipUndefined:!0},Cs,t);const{fetch:e,Request:n,Response:r}=t,s=e?Pe(e):typeof fetch=="function",i=Pe(n),o=Pe(r);if(!s)return!1;const a=s&&Pe(Mt),u=s&&(typeof zt=="function"?(p=>f=>p.encode(f))(new zt):async p=>new Uint8Array(await new n(p).arrayBuffer())),l=i&&a&&Ft(()=>{let p=!1;const f=new n(D.origin,{body:new Mt,method:"POST",get duplex(){return p=!0,"half"}}).headers.has("Content-Type");return p&&!f}),c=o&&a&&Ft(()=>d.isReadableStream(new r("").body)),g={stream:c&&(p=>p.body)};s&&["text","arrayBuffer","blob","formData","stream"].forEach(p=>{!g[p]&&(g[p]=(f,m)=>{let S=f&&f[p];if(S)return S.call(f);throw new x(`Response type '${p}' is not supported`,x.ERR_NOT_SUPPORT,m)})});const b=async p=>{if(p==null)return 0;if(d.isBlob(p))return p.size;if(d.isSpecCompliantForm(p))return(await new n(D.origin,{method:"POST",body:p}).arrayBuffer()).byteLength;if(d.isArrayBufferView(p)||d.isArrayBuffer(p))return p.byteLength;if(d.isURLSearchParams(p)&&(p=p+""),d.isString(p))return(await u(p)).byteLength},h=async(p,f)=>{const m=d.toFiniteNumber(p.getContentLength());return m??b(f)};return async p=>{let{url:f,method:m,data:S,signal:$,cancelToken:E,timeout:w,onDownloadProgress:_,onUploadProgress:I,responseType:O,headers:z,withCredentials:X="same-origin",fetchOptions:Ae}=wn(p),ge=e||fetch;O=O?(O+"").toLowerCase():"text";let ne=Rs([$,E&&E.toAbortSignal()],w),C=null;const P=ne&&ne.unsubscribe&&(()=>{ne.unsubscribe()});let U;try{if(I&&l&&m!=="get"&&m!=="head"&&(U=await h(z,S))!==0){let ee=new n(f,{method:"POST",body:S,duplex:"half"}),ue;if(d.isFormData(S)&&(ue=ee.headers.get("content-type"))&&z.setContentType(ue),ee.body){const[Ge,Oe]=It(U,De(Nt(I)));S=Bt(ee.body,Dt,Ge,Oe)}}d.isString(X)||(X=X?"include":"omit");const F=i&&"credentials"in n.prototype,Rt={...Ae,signal:ne,method:m.toUpperCase(),headers:z.normalize().toJSON(),body:S,duplex:"half",credentials:F?X:void 0};C=i&&new n(f,Rt);let Y=await(i?ge(C,Ae):ge(f,Rt));const vt=c&&(O==="stream"||O==="response");if(c&&(_||vt&&P)){const ee={};["status","statusText","headers"].forEach(Tt=>{ee[Tt]=Y[Tt]});const ue=d.toFiniteNumber(Y.headers.get("content-length")),[Ge,Oe]=_&&It(ue,De(Nt(_),!0))||[];Y=new r(Bt(Y.body,Dt,Ge,()=>{Oe&&Oe(),P&&P()}),ee)}O=O||"text";let Dn=await g[d.findKey(g,O)||"text"](Y,p);return!vt&&P&&P(),await new Promise((ee,ue)=>{bn(ee,ue,{data:Dn,headers:H.from(Y.headers),status:Y.status,statusText:Y.statusText,config:p,request:C})})}catch(F){throw P&&P(),F&&F.name==="TypeError"&&/Load failed|fetch/i.test(F.message)?Object.assign(new x("Network Error",x.ERR_NETWORK,p,C,F&&F.response),{cause:F.cause||F}):x.from(F,F&&F.code,p,C,F&&F.response)}}},As=new Map,xn=t=>{let e=t&&t.env||{};const{fetch:n,Request:r,Response:s}=e,i=[r,s,n];let o=i.length,a=o,u,l,c=As;for(;a--;)u=i[a],l=c.get(u),l===void 0&&c.set(u,l=a?new Map:_s(e)),c=l;return l};xn();const ht={http:Wr,xhr:Ss,fetch:{get:xn}};d.forEach(ht,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const jt=t=>`- ${t}`,Os=t=>d.isFunction(t)||t===null||t===!1;function Ps(t,e){t=d.isArray(t)?t:[t];const{length:n}=t;let r,s;const i={};for(let o=0;o`adapter ${u} `+(l===!1?"is not supported by the environment":"is not available in the build"));let a=n?o.length>1?`since : +`+o.map(jt).join(` +`):" "+jt(o[0]):"as no adapter specified";throw new x("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return s}const yn={getAdapter:Ps,adapters:ht};function et(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Ce(null,t)}function qt(t){return et(t),t.headers=H.from(t.headers),t.data=Ye.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),yn.getAdapter(t.adapter||Ee.adapter,t)(t).then(function(r){return et(t),r.data=Ye.call(t,t.transformResponse,r),r.headers=H.from(r.headers),r},function(r){return mn(r)||(et(t),r&&r.response&&(r.response.data=Ye.call(t,t.transformResponse,r.response),r.response.headers=H.from(r.response.headers))),Promise.reject(r)})}const Sn="1.13.6",Je={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Je[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const Ht={};Je.transitional=function(e,n,r){function s(i,o){return"[Axios v"+Sn+"] Transitional option '"+i+"'"+o+(r?". "+r:"")}return(i,o,a)=>{if(e===!1)throw new x(s(o," has been removed"+(n?" in "+n:"")),x.ERR_DEPRECATED);return n&&!Ht[o]&&(Ht[o]=!0,console.warn(s(o," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(i,o,a):!0}};Je.spelling=function(e){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};function $s(t,e,n){if(typeof t!="object")throw new x("options must be an object",x.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let s=r.length;for(;s-- >0;){const i=r[s],o=e[i];if(o){const a=t[i],u=a===void 0||o(a,i,t);if(u!==!0)throw new x("option "+i+" must be "+u,x.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new x("Unknown option "+i,x.ERR_BAD_OPTION)}}const Ue={assertOptions:$s,validators:Je},V=Ue.validators;let oe=class{constructor(e){this.defaults=e||{},this.interceptors={request:new $t,response:new $t}}async request(e,n){try{return await this._request(e,n)}catch(r){if(r instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const i=s.stack?s.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=` +`+i):r.stack=i}catch{}}throw r}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=ae(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:i}=n;r!==void 0&&Ue.assertOptions(r,{silentJSONParsing:V.transitional(V.boolean),forcedJSONParsing:V.transitional(V.boolean),clarifyTimeoutError:V.transitional(V.boolean),legacyInterceptorReqResOrdering:V.transitional(V.boolean)},!1),s!=null&&(d.isFunction(s)?n.paramsSerializer={serialize:s}:Ue.assertOptions(s,{encode:V.function,serialize:V.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Ue.assertOptions(n,{baseUrl:V.spelling("baseURL"),withXsrfToken:V.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=i&&d.merge(i.common,i[n.method]);i&&d.forEach(["delete","get","head","post","put","patch","common"],p=>{delete i[p]}),n.headers=H.concat(o,i);const a=[];let u=!0;this.interceptors.request.forEach(function(f){if(typeof f.runWhen=="function"&&f.runWhen(n)===!1)return;u=u&&f.synchronous;const m=n.transitional||dt;m&&m.legacyInterceptorReqResOrdering?a.unshift(f.fulfilled,f.rejected):a.push(f.fulfilled,f.rejected)});const l=[];this.interceptors.response.forEach(function(f){l.push(f.fulfilled,f.rejected)});let c,g=0,b;if(!u){const p=[qt.bind(this),void 0];for(p.unshift(...a),p.push(...l),b=p.length,c=Promise.resolve(n);g{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](s);r._listeners=null}),this.promise.then=s=>{let i;const o=new Promise(a=>{r.subscribe(a),i=a}).then(s);return o.cancel=function(){r.unsubscribe(i)},o},e(function(i,o,a){r.reason||(r.reason=new Ce(i,o,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const e=new AbortController,n=r=>{e.abort(r)};return this.subscribe(n),e.signal.unsubscribe=()=>this.unsubscribe(n),e.signal}static source(){let e;return{token:new Rn(function(s){e=s}),cancel:e}}};function Is(t){return function(n){return t.apply(null,n)}}function Ns(t){return d.isObject(t)&&t.isAxiosError===!0}const it={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(it).forEach(([t,e])=>{it[e]=t});function vn(t){const e=new oe(t),n=nn(oe.prototype.request,e);return d.extend(n,oe.prototype,e,{allOwnKeys:!0}),d.extend(n,e,null,{allOwnKeys:!0}),n.create=function(s){return vn(ae(t,s))},n}const A=vn(Ee);A.Axios=oe;A.CanceledError=Ce;A.CancelToken=Ls;A.isCancel=mn;A.VERSION=Sn;A.toFormData=We;A.AxiosError=x;A.Cancel=A.CanceledError;A.all=function(e){return Promise.all(e)};A.spread=Is;A.isAxiosError=Ns;A.mergeConfig=ae;A.AxiosHeaders=H;A.formToJSON=t=>gn(d.isHTMLForm(t)?new FormData(t):t);A.getAdapter=yn.getAdapter;A.HttpStatusCode=it;A.default=A;const{Axios:Xu,AxiosError:Yu,CanceledError:ed,isCancel:td,CancelToken:nd,VERSION:rd,all:sd,Cancel:id,isAxiosError:od,spread:ad,toFormData:ld,AxiosHeaders:cd,HttpStatusCode:ud,formToJSON:dd,getAdapter:pd,mergeConfig:hd}=A,Us=3e3;function Bs(t,e,n){const r=B(!1);let s=null;async function i(){try{const u={};e.value&&(u.since=e.value);const{data:l}=await A.get(t,{params:u}),c=l.data??[];c.length>0&&n(c)}catch(u){console.error("Polling failed:",u)}}function o(){s||(r.value=!0,i(),s=setInterval(i,Us))}function a(){s&&(clearInterval(s),s=null),r.value=!1}return{start:o,stop:a,isPolling:r}}function Ds(t,e){const n=B(null),r=je([]),s=B(null),i=B(!1),o=B(!1),a=B(""),u=B(!1),l=ye(()=>a.value.trim().length>0),c=B(!1),g=ye(()=>{const w=r.value;return w.length>0?w[w.length-1].id:null});function b(w){if(w.length===0)return;const _=new Set(r.value.map(O=>O.id)),I=w.filter(O=>!_.has(O.id));I.length!==0&&(r.value.push(...I),c.value=!1,h.stop(),we(()=>f()))}const h=Bs(t,g,b);function p(){var _;const w=(e==null?void 0:e.data)??[];r.value=[...w].reverse(),s.value=((_=e==null?void 0:e.meta)==null?void 0:_.next_cursor)??null,i.value=s.value!==null}function f(){const w=n.value;w&&(w.scrollTop=w.scrollHeight)}async function m(){await we();const w=n.value;w&&i.value&&w.scrollHeight<=w.clientHeight&&S()}async function S(){var I;if(o.value||!i.value)return;o.value=!0;const w=n.value,_=w.scrollHeight;try{const O=`${t}?cursor=${s.value}`,{data:z}=await A.get(O),X=(z.data??[]).reverse();r.value=[...X,...r.value],s.value=((I=z.meta)==null?void 0:I.next_cursor)??null,i.value=s.value!==null,await we(),w.scrollTop=w.scrollHeight-_}finally{o.value=!1,m()}}async function $(w){if(!(!l.value||u.value)){u.value=!0;try{const{data:_}=await A.post(w,{content:a.value});r.value.push(_.data),a.value="",c.value=!0,await we(),f(),h.start()}finally{u.value=!1}}}function E(){const w=n.value;w&&w.scrollTop<50&&i.value&&S()}return{messageContainer:n,allMessages:r,hasMore:i,loadingOlder:o,newMessage:a,sending:u,hasNewInput:l,waitingForReply:c,polling:h,initMessages:p,scrollToBottom:f,loadIfNotScrollable:m,sendMessage:$,onScroll:E}}const{Form:fd,Head:Ms,Link:gd,router:Tn,toggleArchitecturalBackground:md,useArchitecturalBackground:bd,useForm:zs,usePoll:kd}=__STATAMIC__.inertia;function Fs(t,e,n){const r=B(t),s=B(!1),i=B(""),o=B(!1),a=B(!1),u=B(!1);function l(){i.value=r.value,s.value=!0}async function c(){if(!(o.value||!i.value.trim())){o.value=!0;try{const{data:b}=await A.patch(e,{title:i.value.trim()});return r.value=b.data.title,s.value=!1,b.data.title}finally{o.value=!1}}}function g(){u.value||(u.value=!0,Tn.delete(n,{onFinish:()=>u.value=!1}))}return{title:r,showRenameModal:s,renameInput:i,renaming:o,showDeleteModal:a,deleting:u,openRenameModal:l,submitRename:c,deleteConversation:g}}function ft(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var ce=ft();function En(t){ce=t}var re={exec:()=>null};function y(t,e=""){let n=typeof t=="string"?t:t.source,r={replace:(s,i)=>{let o=typeof i=="string"?i:i.source;return o=o.replace(M.caret,"$1"),n=n.replace(s,o),r},getRegex:()=>new RegExp(n,e)};return r}var js=(()=>{try{return!!new RegExp("(?<=1)(?/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i"),blockquoteBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}>`)},qs=/^(?:[ \t]*(?:\n|$))+/,Hs=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Vs=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,_e=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Ws=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,gt=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,Cn=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_n=y(Cn).replace(/bull/g,gt).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Js=y(Cn).replace(/bull/g,gt).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),mt=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Ks=/^[^\n]+/,bt=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,Zs=y(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",bt).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Gs=y(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,gt).getRegex(),Ke="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",kt=/|$))/,Qs=y("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",kt).replace("tag",Ke).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),An=y(mt).replace("hr",_e).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Ke).getRegex(),Xs=y(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",An).getRegex(),wt={blockquote:Xs,code:Hs,def:Zs,fences:Vs,heading:Ws,hr:_e,html:Qs,lheading:_n,list:Gs,newline:qs,paragraph:An,table:re,text:Ks},Vt=y("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",_e).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Ke).getRegex(),Ys={...wt,lheading:Js,table:Vt,paragraph:y(mt).replace("hr",_e).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Vt).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Ke).getRegex()},ei={...wt,html:y(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",kt).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:re,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:y(mt).replace("hr",_e).replace("heading",` *#{1,6} *[^ +]`).replace("lheading",_n).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},ti=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,ni=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,On=/^( {2,}|\\)\n(?!\s*$)/,ri=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\`+)[^`]+\k(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",js?"(?`+)[^`]+\k(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),$n=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,li=y($n,"u").replace(/punct/g,fe).getRegex(),ci=y($n,"u").replace(/punct/g,Pn).getRegex(),Ln="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",ui=y(Ln,"gu").replace(/notPunctSpace/g,xt).replace(/punctSpace/g,Ze).replace(/punct/g,fe).getRegex(),di=y(Ln,"gu").replace(/notPunctSpace/g,oi).replace(/punctSpace/g,ii).replace(/punct/g,Pn).getRegex(),pi=y("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,xt).replace(/punctSpace/g,Ze).replace(/punct/g,fe).getRegex(),hi=y(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,fe).getRegex(),fi="^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)",gi=y(fi,"gu").replace(/notPunctSpace/g,xt).replace(/punctSpace/g,Ze).replace(/punct/g,fe).getRegex(),mi=y(/\\(punct)/,"gu").replace(/punct/g,fe).getRegex(),bi=y(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),ki=y(kt).replace("(?:-->|$)","-->").getRegex(),wi=y("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",ki).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Me=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,xi=y(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",Me).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),In=y(/^!?\[(label)\]\[(ref)\]/).replace("label",Me).replace("ref",bt).getRegex(),Nn=y(/^!?\[(ref)\](?:\[\])?/).replace("ref",bt).getRegex(),yi=y("reflink|nolink(?!\\()","g").replace("reflink",In).replace("nolink",Nn).getRegex(),Wt=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,yt={_backpedal:re,anyPunctuation:mi,autolink:bi,blockSkip:ai,br:On,code:ni,del:re,delLDelim:re,delRDelim:re,emStrongLDelim:li,emStrongRDelimAst:ui,emStrongRDelimUnd:pi,escape:ti,link:xi,nolink:Nn,punctuation:si,reflink:In,reflinkSearch:yi,tag:wi,text:ri,url:re},Si={...yt,link:y(/^!?\[(label)\]\((.*?)\)/).replace("label",Me).getRegex(),reflink:y(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Me).getRegex()},ot={...yt,emStrongRDelimAst:di,emStrongLDelim:ci,delLDelim:hi,delRDelim:gi,url:y(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",Wt).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:y(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\":">",'"':""","'":"'"},Jt=t=>vi[t];function G(t,e){if(e){if(M.escapeTest.test(t))return t.replace(M.escapeReplace,Jt)}else if(M.escapeTestNoEncode.test(t))return t.replace(M.escapeReplaceNoEncode,Jt);return t}function Kt(t){try{t=encodeURI(t).replace(M.percentDecode,"%")}catch{return null}return t}function Zt(t,e){var i;let n=t.replace(M.findPipe,(o,a,u)=>{let l=!1,c=a;for(;--c>=0&&u[c]==="\\";)l=!l;return l?"|":" |"}),r=n.split(M.splitPipe),s=0;if(r[0].trim()||r.shift(),r.length>0&&!((i=r.at(-1))!=null&&i.trim())&&r.pop(),e)if(r.length>e)r.splice(e);else for(;r.length0?-2:-1}function Ei(t,e=0){let n=e,r="";for(let s of t)if(s===" "){let i=4-n%4;r+=" ".repeat(i),n+=i}else r+=s,n++;return r}function Gt(t,e,n,r,s){let i=e.href,o=e.title||null,a=t[1].replace(s.other.outputLinkReplace,"$1");r.state.inLink=!0;let u={type:t[0].charAt(0)==="!"?"image":"link",raw:n,href:i,title:o,text:a,tokens:r.inlineTokens(a)};return r.state.inLink=!1,u}function Ci(t,e,n){let r=t.match(n.other.indentCodeCompensation);if(r===null)return e;let s=r[1];return e.split(` +`).map(i=>{let o=i.match(n.other.beginningSpace);if(o===null)return i;let[a]=o;return a.length>=s.length?i.slice(s.length):i}).join(` +`)}var ze=class{constructor(t){T(this,"options");T(this,"rules");T(this,"lexer");this.options=t||ce}space(t){let e=this.rules.block.newline.exec(t);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(t){let e=this.rules.block.code.exec(t);if(e){let n=e[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?n:ke(n,` +`)}}}fences(t){let e=this.rules.block.fences.exec(t);if(e){let n=e[0],r=Ci(n,e[3]||"",this.rules);return{type:"code",raw:n,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:r}}}heading(t){let e=this.rules.block.heading.exec(t);if(e){let n=e[2].trim();if(this.rules.other.endingHash.test(n)){let r=ke(n,"#");(this.options.pedantic||!r||this.rules.other.endingSpaceChar.test(r))&&(n=r.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(t){let e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:ke(e[0],` +`)}}blockquote(t){let e=this.rules.block.blockquote.exec(t);if(e){let n=ke(e[0],` +`).split(` +`),r="",s="",i=[];for(;n.length>0;){let o=!1,a=[],u;for(u=0;u1,o={type:"list",raw:"",ordered:i,start:i?+s.slice(0,-1):"",loose:!1,items:[]};s=i?`\\d{1,9}\\${s.slice(-1)}`:`\\${s}`,this.options.pedantic&&(s=i?s:"[*+-]");let a=this.rules.other.listItemRegex(s),u=!1;for(;t;){let c=!1,g="",b="";if(!(e=a.exec(t))||this.rules.block.hr.test(t))break;g=e[0],t=t.substring(g.length);let h=Ei(e[2].split(` +`,1)[0],e[1].length),p=t.split(` +`,1)[0],f=!h.trim(),m=0;if(this.options.pedantic?(m=2,b=h.trimStart()):f?m=e[1].length+1:(m=h.search(this.rules.other.nonSpaceChar),m=m>4?1:m,b=h.slice(m),m+=e[1].length),f&&this.rules.other.blankLine.test(p)&&(g+=p+` +`,t=t.substring(p.length+1),c=!0),!c){let S=this.rules.other.nextBulletRegex(m),$=this.rules.other.hrRegex(m),E=this.rules.other.fencesBeginRegex(m),w=this.rules.other.headingBeginRegex(m),_=this.rules.other.htmlBeginRegex(m),I=this.rules.other.blockquoteBeginRegex(m);for(;t;){let O=t.split(` +`,1)[0],z;if(p=O,this.options.pedantic?(p=p.replace(this.rules.other.listReplaceNesting," "),z=p):z=p.replace(this.rules.other.tabCharGlobal," "),E.test(p)||w.test(p)||_.test(p)||I.test(p)||S.test(p)||$.test(p))break;if(z.search(this.rules.other.nonSpaceChar)>=m||!p.trim())b+=` +`+z.slice(m);else{if(f||h.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||E.test(h)||w.test(h)||$.test(h))break;b+=` +`+p}f=!p.trim(),g+=O+` +`,t=t.substring(O.length+1),h=z.slice(m)}}o.loose||(u?o.loose=!0:this.rules.other.doubleBlankLine.test(g)&&(u=!0)),o.items.push({type:"list_item",raw:g,task:!!this.options.gfm&&this.rules.other.listIsTask.test(b),loose:!1,text:b,tokens:[]}),o.raw+=g}let l=o.items.at(-1);if(l)l.raw=l.raw.trimEnd(),l.text=l.text.trimEnd();else return;o.raw=o.raw.trimEnd();for(let c of o.items){if(this.lexer.state.top=!1,c.tokens=this.lexer.blockTokens(c.text,[]),c.task){if(c.text=c.text.replace(this.rules.other.listReplaceTask,""),((n=c.tokens[0])==null?void 0:n.type)==="text"||((r=c.tokens[0])==null?void 0:r.type)==="paragraph"){c.tokens[0].raw=c.tokens[0].raw.replace(this.rules.other.listReplaceTask,""),c.tokens[0].text=c.tokens[0].text.replace(this.rules.other.listReplaceTask,"");for(let b=this.lexer.inlineQueue.length-1;b>=0;b--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[b].src)){this.lexer.inlineQueue[b].src=this.lexer.inlineQueue[b].src.replace(this.rules.other.listReplaceTask,"");break}}let g=this.rules.other.listTaskCheckbox.exec(c.raw);if(g){let b={type:"checkbox",raw:g[0]+" ",checked:g[0]!=="[ ]"};c.checked=b.checked,o.loose?c.tokens[0]&&["paragraph","text"].includes(c.tokens[0].type)&&"tokens"in c.tokens[0]&&c.tokens[0].tokens?(c.tokens[0].raw=b.raw+c.tokens[0].raw,c.tokens[0].text=b.raw+c.tokens[0].text,c.tokens[0].tokens.unshift(b)):c.tokens.unshift({type:"paragraph",raw:b.raw,text:b.raw,tokens:[b]}):c.tokens.unshift(b)}}if(!o.loose){let g=c.tokens.filter(h=>h.type==="space"),b=g.length>0&&g.some(h=>this.rules.other.anyLine.test(h.raw));o.loose=b}}if(o.loose)for(let c of o.items){c.loose=!0;for(let g of c.tokens)g.type==="text"&&(g.type="paragraph")}return o}}html(t){let e=this.rules.block.html.exec(t);if(e)return{type:"html",block:!0,raw:e[0],pre:e[1]==="pre"||e[1]==="script"||e[1]==="style",text:e[0]}}def(t){let e=this.rules.block.def.exec(t);if(e){let n=e[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),r=e[2]?e[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",s=e[3]?e[3].substring(1,e[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):e[3];return{type:"def",tag:n,raw:e[0],href:r,title:s}}}table(t){var o;let e=this.rules.block.table.exec(t);if(!e||!this.rules.other.tableDelimiter.test(e[2]))return;let n=Zt(e[1]),r=e[2].replace(this.rules.other.tableAlignChars,"").split("|"),s=(o=e[3])!=null&&o.trim()?e[3].replace(this.rules.other.tableRowBlankLine,"").split(` +`):[],i={type:"table",raw:e[0],header:[],align:[],rows:[]};if(n.length===r.length){for(let a of r)this.rules.other.tableAlignRight.test(a)?i.align.push("right"):this.rules.other.tableAlignCenter.test(a)?i.align.push("center"):this.rules.other.tableAlignLeft.test(a)?i.align.push("left"):i.align.push(null);for(let a=0;a({text:u,tokens:this.lexer.inline(u),header:!1,align:i.align[l]})));return i}}lheading(t){let e=this.rules.block.lheading.exec(t);if(e){let n=e[1].trim();return{type:"heading",raw:e[0],depth:e[2].charAt(0)==="="?1:2,text:n,tokens:this.lexer.inline(n)}}}paragraph(t){let e=this.rules.block.paragraph.exec(t);if(e){let n=e[1].charAt(e[1].length-1)===` +`?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:n,tokens:this.lexer.inline(n)}}}text(t){let e=this.rules.block.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(t){let e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:e[1]}}tag(t){let e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&this.rules.other.startATag.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(t){let e=this.rules.inline.link.exec(t);if(e){let n=e[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(n)){if(!this.rules.other.endAngleBracket.test(n))return;let i=ke(n.slice(0,-1),"\\");if((n.length-i.length)%2===0)return}else{let i=Ti(e[2],"()");if(i===-2)return;if(i>-1){let o=(e[0].indexOf("!")===0?5:4)+e[1].length+i;e[2]=e[2].substring(0,i),e[0]=e[0].substring(0,o).trim(),e[3]=""}}let r=e[2],s="";if(this.options.pedantic){let i=this.rules.other.pedanticHrefTitle.exec(r);i&&(r=i[1],s=i[3])}else s=e[3]?e[3].slice(1,-1):"";return r=r.trim(),this.rules.other.startAngleBracket.test(r)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(n)?r=r.slice(1):r=r.slice(1,-1)),Gt(e,{href:r&&r.replace(this.rules.inline.anyPunctuation,"$1"),title:s&&s.replace(this.rules.inline.anyPunctuation,"$1")},e[0],this.lexer,this.rules)}}reflink(t,e){let n;if((n=this.rules.inline.reflink.exec(t))||(n=this.rules.inline.nolink.exec(t))){let r=(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," "),s=e[r.toLowerCase()];if(!s){let i=n[0].charAt(0);return{type:"text",raw:i,text:i}}return Gt(n,s,n[0],this.lexer,this.rules)}}emStrong(t,e,n=""){let r=this.rules.inline.emStrongLDelim.exec(t);if(!(!r||!r[1]&&!r[2]&&!r[3]&&!r[4]||r[4]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!(r[1]||r[3])||!n||this.rules.inline.punctuation.exec(n))){let s=[...r[0]].length-1,i,o,a=s,u=0,l=r[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,e=e.slice(-1*t.length+s);(r=l.exec(e))!=null;){if(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!i)continue;if(o=[...i].length,r[3]||r[4]){a+=o;continue}else if((r[5]||r[6])&&s%3&&!((s+o)%3)){u+=o;continue}if(a-=o,a>0)continue;o=Math.min(o,o+a+u);let c=[...r[0]][0].length,g=t.slice(0,s+r.index+c+o);if(Math.min(s,o)%2){let h=g.slice(1,-1);return{type:"em",raw:g,text:h,tokens:this.lexer.inlineTokens(h)}}let b=g.slice(2,-2);return{type:"strong",raw:g,text:b,tokens:this.lexer.inlineTokens(b)}}}}codespan(t){let e=this.rules.inline.code.exec(t);if(e){let n=e[2].replace(this.rules.other.newLineCharGlobal," "),r=this.rules.other.nonSpaceChar.test(n),s=this.rules.other.startingSpaceChar.test(n)&&this.rules.other.endingSpaceChar.test(n);return r&&s&&(n=n.substring(1,n.length-1)),{type:"codespan",raw:e[0],text:n}}}br(t){let e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}}del(t,e,n=""){let r=this.rules.inline.delLDelim.exec(t);if(r&&(!r[1]||!n||this.rules.inline.punctuation.exec(n))){let s=[...r[0]].length-1,i,o,a=s,u=this.rules.inline.delRDelim;for(u.lastIndex=0,e=e.slice(-1*t.length+s);(r=u.exec(e))!=null;){if(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!i||(o=[...i].length,o!==s))continue;if(r[3]||r[4]){a+=o;continue}if(a-=o,a>0)continue;o=Math.min(o,o+a);let l=[...r[0]][0].length,c=t.slice(0,s+r.index+l+o),g=c.slice(s,-s);return{type:"del",raw:c,text:g,tokens:this.lexer.inlineTokens(g)}}}}autolink(t){let e=this.rules.inline.autolink.exec(t);if(e){let n,r;return e[2]==="@"?(n=e[1],r="mailto:"+n):(n=e[1],r=n),{type:"link",raw:e[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}}}url(t){var n;let e;if(e=this.rules.inline.url.exec(t)){let r,s;if(e[2]==="@")r=e[0],s="mailto:"+r;else{let i;do i=e[0],e[0]=((n=this.rules.inline._backpedal.exec(e[0]))==null?void 0:n[0])??"";while(i!==e[0]);r=e[0],e[1]==="www."?s="http://"+e[0]:s=e[0]}return{type:"link",raw:e[0],text:r,href:s,tokens:[{type:"text",raw:r,text:r}]}}}inlineText(t){let e=this.rules.inline.text.exec(t);if(e){let n=this.lexer.state.inRawBlock;return{type:"text",raw:e[0],text:e[0],escaped:n}}}},J=class at{constructor(e){T(this,"tokens");T(this,"options");T(this,"state");T(this,"inlineQueue");T(this,"tokenizer");this.tokens=[],this.tokens.links=Object.create(null),this.options=e||ce,this.options.tokenizer=this.options.tokenizer||new ze,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let n={other:M,block:$e.normal,inline:be.normal};this.options.pedantic?(n.block=$e.pedantic,n.inline=be.pedantic):this.options.gfm&&(n.block=$e.gfm,this.options.breaks?n.inline=be.breaks:n.inline=be.gfm),this.tokenizer.rules=n}static get rules(){return{block:$e,inline:be}}static lex(e,n){return new at(n).lex(e)}static lexInline(e,n){return new at(n).inlineTokens(e)}lex(e){e=e.replace(M.carriageReturn,` +`),this.blockTokens(e,this.tokens);for(let n=0;n(a=l.call({lexer:this},e,n))?(e=e.substring(a.raw.length),n.push(a),!0):!1))continue;if(a=this.tokenizer.space(e)){e=e.substring(a.raw.length);let l=n.at(-1);a.raw.length===1&&l!==void 0?l.raw+=` +`:n.push(a);continue}if(a=this.tokenizer.code(e)){e=e.substring(a.raw.length);let l=n.at(-1);(l==null?void 0:l.type)==="paragraph"||(l==null?void 0:l.type)==="text"?(l.raw+=(l.raw.endsWith(` +`)?"":` +`)+a.raw,l.text+=` +`+a.text,this.inlineQueue.at(-1).src=l.text):n.push(a);continue}if(a=this.tokenizer.fences(e)){e=e.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.heading(e)){e=e.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.hr(e)){e=e.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.blockquote(e)){e=e.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.list(e)){e=e.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.html(e)){e=e.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.def(e)){e=e.substring(a.raw.length);let l=n.at(-1);(l==null?void 0:l.type)==="paragraph"||(l==null?void 0:l.type)==="text"?(l.raw+=(l.raw.endsWith(` +`)?"":` +`)+a.raw,l.text+=` +`+a.raw,this.inlineQueue.at(-1).src=l.text):this.tokens.links[a.tag]||(this.tokens.links[a.tag]={href:a.href,title:a.title},n.push(a));continue}if(a=this.tokenizer.table(e)){e=e.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.lheading(e)){e=e.substring(a.raw.length),n.push(a);continue}let u=e;if((o=this.options.extensions)!=null&&o.startBlock){let l=1/0,c=e.slice(1),g;this.options.extensions.startBlock.forEach(b=>{g=b.call({lexer:this},c),typeof g=="number"&&g>=0&&(l=Math.min(l,g))}),l<1/0&&l>=0&&(u=e.substring(0,l+1))}if(this.state.top&&(a=this.tokenizer.paragraph(u))){let l=n.at(-1);r&&(l==null?void 0:l.type)==="paragraph"?(l.raw+=(l.raw.endsWith(` +`)?"":` +`)+a.raw,l.text+=` +`+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=l.text):n.push(a),r=u.length!==e.length,e=e.substring(a.raw.length);continue}if(a=this.tokenizer.text(e)){e=e.substring(a.raw.length);let l=n.at(-1);(l==null?void 0:l.type)==="text"?(l.raw+=(l.raw.endsWith(` +`)?"":` +`)+a.raw,l.text+=` +`+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=l.text):n.push(a);continue}if(e){let l="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(l);break}else throw new Error(l)}}return this.state.top=!0,n}inline(e,n=[]){return this.inlineQueue.push({src:e,tokens:n}),n}inlineTokens(e,n=[]){var u,l,c,g,b;this.tokenizer.lexer=this;let r=e,s=null;if(this.tokens.links){let h=Object.keys(this.tokens.links);if(h.length>0)for(;(s=this.tokenizer.rules.inline.reflinkSearch.exec(r))!=null;)h.includes(s[0].slice(s[0].lastIndexOf("[")+1,-1))&&(r=r.slice(0,s.index)+"["+"a".repeat(s[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(s=this.tokenizer.rules.inline.anyPunctuation.exec(r))!=null;)r=r.slice(0,s.index)+"++"+r.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let i;for(;(s=this.tokenizer.rules.inline.blockSkip.exec(r))!=null;)i=s[2]?s[2].length:0,r=r.slice(0,s.index+i)+"["+"a".repeat(s[0].length-i-2)+"]"+r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);r=((l=(u=this.options.hooks)==null?void 0:u.emStrongMask)==null?void 0:l.call({lexer:this},r))??r;let o=!1,a="";for(;e;){o||(a=""),o=!1;let h;if((g=(c=this.options.extensions)==null?void 0:c.inline)!=null&&g.some(f=>(h=f.call({lexer:this},e,n))?(e=e.substring(h.raw.length),n.push(h),!0):!1))continue;if(h=this.tokenizer.escape(e)){e=e.substring(h.raw.length),n.push(h);continue}if(h=this.tokenizer.tag(e)){e=e.substring(h.raw.length),n.push(h);continue}if(h=this.tokenizer.link(e)){e=e.substring(h.raw.length),n.push(h);continue}if(h=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(h.raw.length);let f=n.at(-1);h.type==="text"&&(f==null?void 0:f.type)==="text"?(f.raw+=h.raw,f.text+=h.text):n.push(h);continue}if(h=this.tokenizer.emStrong(e,r,a)){e=e.substring(h.raw.length),n.push(h);continue}if(h=this.tokenizer.codespan(e)){e=e.substring(h.raw.length),n.push(h);continue}if(h=this.tokenizer.br(e)){e=e.substring(h.raw.length),n.push(h);continue}if(h=this.tokenizer.del(e,r,a)){e=e.substring(h.raw.length),n.push(h);continue}if(h=this.tokenizer.autolink(e)){e=e.substring(h.raw.length),n.push(h);continue}if(!this.state.inLink&&(h=this.tokenizer.url(e))){e=e.substring(h.raw.length),n.push(h);continue}let p=e;if((b=this.options.extensions)!=null&&b.startInline){let f=1/0,m=e.slice(1),S;this.options.extensions.startInline.forEach($=>{S=$.call({lexer:this},m),typeof S=="number"&&S>=0&&(f=Math.min(f,S))}),f<1/0&&f>=0&&(p=e.substring(0,f+1))}if(h=this.tokenizer.inlineText(p)){e=e.substring(h.raw.length),h.raw.slice(-1)!=="_"&&(a=h.raw.slice(-1)),o=!0;let f=n.at(-1);(f==null?void 0:f.type)==="text"?(f.raw+=h.raw,f.text+=h.text):n.push(h);continue}if(e){let f="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(f);break}else throw new Error(f)}}return n}},Fe=class{constructor(t){T(this,"options");T(this,"parser");this.options=t||ce}space(t){return""}code({text:t,lang:e,escaped:n}){var i;let r=(i=(e||"").match(M.notSpaceStart))==null?void 0:i[0],s=t.replace(M.endingNewline,"")+` +`;return r?'
'+(n?s:G(s,!0))+`
+`:"
"+(n?s:G(s,!0))+`
+`}blockquote({tokens:t}){return`
+${this.parser.parse(t)}
+`}html({text:t}){return t}def(t){return""}heading({tokens:t,depth:e}){return`${this.parser.parseInline(t)} +`}hr(t){return`
+`}list(t){let e=t.ordered,n=t.start,r="";for(let o=0;o +`+r+" +`}listitem(t){return`
  • ${this.parser.parse(t.tokens)}
  • +`}checkbox({checked:t}){return" '}paragraph({tokens:t}){return`

    ${this.parser.parseInline(t)}

    +`}table(t){let e="",n="";for(let s=0;s${r}`),` + +`+e+` +`+r+`
    +`}tablerow({text:t}){return` +${t} +`}tablecell(t){let e=this.parser.parseInline(t.tokens),n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+e+` +`}strong({tokens:t}){return`${this.parser.parseInline(t)}`}em({tokens:t}){return`${this.parser.parseInline(t)}`}codespan({text:t}){return`${G(t,!0)}`}br(t){return"
    "}del({tokens:t}){return`${this.parser.parseInline(t)}`}link({href:t,title:e,tokens:n}){let r=this.parser.parseInline(n),s=Kt(t);if(s===null)return r;t=s;let i='
    ",i}image({href:t,title:e,text:n,tokens:r}){r&&(n=this.parser.parseInline(r,this.parser.textRenderer));let s=Kt(t);if(s===null)return G(n);t=s;let i=`${G(n)}{let u=o[a].flat(1/0);n=n.concat(this.walkTokens(u,e))}):o.tokens&&(n=n.concat(this.walkTokens(o.tokens,e)))}}return n}use(...t){let e=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(n=>{let r={...n};if(r.async=this.defaults.async||r.async||!1,n.extensions&&(n.extensions.forEach(s=>{if(!s.name)throw new Error("extension name required");if("renderer"in s){let i=e.renderers[s.name];i?e.renderers[s.name]=function(...o){let a=s.renderer.apply(this,o);return a===!1&&(a=i.apply(this,o)),a}:e.renderers[s.name]=s.renderer}if("tokenizer"in s){if(!s.level||s.level!=="block"&&s.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let i=e[s.level];i?i.unshift(s.tokenizer):e[s.level]=[s.tokenizer],s.start&&(s.level==="block"?e.startBlock?e.startBlock.push(s.start):e.startBlock=[s.start]:s.level==="inline"&&(e.startInline?e.startInline.push(s.start):e.startInline=[s.start]))}"childTokens"in s&&s.childTokens&&(e.childTokens[s.name]=s.childTokens)}),r.extensions=e),n.renderer){let s=this.defaults.renderer||new Fe(this.defaults);for(let i in n.renderer){if(!(i in s))throw new Error(`renderer '${i}' does not exist`);if(["options","parser"].includes(i))continue;let o=i,a=n.renderer[o],u=s[o];s[o]=(...l)=>{let c=a.apply(s,l);return c===!1&&(c=u.apply(s,l)),c||""}}r.renderer=s}if(n.tokenizer){let s=this.defaults.tokenizer||new ze(this.defaults);for(let i in n.tokenizer){if(!(i in s))throw new Error(`tokenizer '${i}' does not exist`);if(["options","rules","lexer"].includes(i))continue;let o=i,a=n.tokenizer[o],u=s[o];s[o]=(...l)=>{let c=a.apply(s,l);return c===!1&&(c=u.apply(s,l)),c}}r.tokenizer=s}if(n.hooks){let s=this.defaults.hooks||new xe;for(let i in n.hooks){if(!(i in s))throw new Error(`hook '${i}' does not exist`);if(["options","block"].includes(i))continue;let o=i,a=n.hooks[o],u=s[o];xe.passThroughHooks.has(i)?s[o]=l=>{if(this.defaults.async&&xe.passThroughHooksRespectAsync.has(i))return(async()=>{let g=await a.call(s,l);return u.call(s,g)})();let c=a.call(s,l);return u.call(s,c)}:s[o]=(...l)=>{if(this.defaults.async)return(async()=>{let g=await a.apply(s,l);return g===!1&&(g=await u.apply(s,l)),g})();let c=a.apply(s,l);return c===!1&&(c=u.apply(s,l)),c}}r.hooks=s}if(n.walkTokens){let s=this.defaults.walkTokens,i=n.walkTokens;r.walkTokens=function(o){let a=[];return a.push(i.call(this,o)),s&&(a=a.concat(s.call(this,o))),a}}this.defaults={...this.defaults,...r}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,e){return J.lex(t,e??this.defaults)}parser(t,e){return K.parse(t,e??this.defaults)}parseMarkdown(t){return(e,n)=>{let r={...n},s={...this.defaults,...r},i=this.onError(!!s.silent,!!s.async);if(this.defaults.async===!0&&r.async===!1)return i(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof e>"u"||e===null)return i(new Error("marked(): input parameter is undefined or null"));if(typeof e!="string")return i(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected"));if(s.hooks&&(s.hooks.options=s,s.hooks.block=t),s.async)return(async()=>{let o=s.hooks?await s.hooks.preprocess(e):e,a=await(s.hooks?await s.hooks.provideLexer():t?J.lex:J.lexInline)(o,s),u=s.hooks?await s.hooks.processAllTokens(a):a;s.walkTokens&&await Promise.all(this.walkTokens(u,s.walkTokens));let l=await(s.hooks?await s.hooks.provideParser():t?K.parse:K.parseInline)(u,s);return s.hooks?await s.hooks.postprocess(l):l})().catch(i);try{s.hooks&&(e=s.hooks.preprocess(e));let o=(s.hooks?s.hooks.provideLexer():t?J.lex:J.lexInline)(e,s);s.hooks&&(o=s.hooks.processAllTokens(o)),s.walkTokens&&this.walkTokens(o,s.walkTokens);let a=(s.hooks?s.hooks.provideParser():t?K.parse:K.parseInline)(o,s);return s.hooks&&(a=s.hooks.postprocess(a)),a}catch(o){return i(o)}}}onError(t,e){return n=>{if(n.message+=` +Please report this to https://github.com/markedjs/marked.`,t){let r="

    An error occurred:

    "+G(n.message+"",!0)+"
    ";return e?Promise.resolve(r):r}if(e)return Promise.reject(n);throw n}}},le=new _i;function R(t,e){return le.parse(t,e)}R.options=R.setOptions=function(t){return le.setOptions(t),R.defaults=le.defaults,En(R.defaults),R};R.getDefaults=ft;R.defaults=ce;R.use=function(...t){return le.use(...t),R.defaults=le.defaults,En(R.defaults),R};R.walkTokens=function(t,e){return le.walkTokens(t,e)};R.parseInline=le.parseInline;R.Parser=K;R.parser=K.parse;R.Renderer=Fe;R.TextRenderer=St;R.Lexer=J;R.lexer=J.lex;R.Tokenizer=ze;R.Hooks=xe;R.parse=R;R.options;R.setOptions;R.use;R.walkTokens;R.parseInline;K.parse;J.lex;function Ai(t){return new Date(t).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})}const Oi=["innerHTML"],Pi={key:1,class:"whitespace-pre-wrap text-sm"},$i={class:"mt-1 text-xs text-gray-400"},Un={__name:"Message",props:{message:{type:Object,required:!0}},setup(t){R.setOptions({breaks:!0,gfm:!0});const e=t,n=ye(()=>R(e.message.content));return(r,s)=>(L(),j("div",{class:Se([t.message.role==="user"?"bg-primary text-gray-100 justify-self-end":"bg-gray-100 text-gray-900 justify-self-start","sm:max-w-[90%] md:max-w-[80%] rounded-lg px-4 py-2"])},[t.message.role==="ai_assistant"?(L(),j("div",{key:0,class:"prose prose-sm",innerHTML:n.value},null,8,Oi)):(L(),j("p",Pi,te(t.message.content),1)),N("p",$i,te(k(Ai)(t.message.created_at)),1)],2))}},Li={class:"flex items-center py-4 text-lg"},Ii={class:"cursor-pointer hover:text-primary transition-colors"},Ni={class:"relative flex-1"},Ui={key:0,class:"mb-4 text-center text-sm text-gray-400 animate-pulse"},Bi={key:1,class:"mb-4 text-center text-sm text-gray-400"},Di={class:"flex items-center justify-end space-x-3 pt-3 pb-1"},Mi={__name:"Conversation",props:{conversationId:String,conversationTitle:String,initialMessages:Object,conversationMessagesIndexUrl:String,conversationMessagesStoreUrl:String,conversationTitleUpdateUrl:String,conversationDestroyUrl:String,sidebarOpen:Boolean},emits:["toggle-sidebar","title-updated"],setup(t,{emit:e}){const n=t,r=e,{messageContainer:s,allMessages:i,hasMore:o,loadingOlder:a,newMessage:u,sending:l,hasNewInput:c,waitingForReply:g,polling:b,initMessages:h,scrollToBottom:p,loadIfNotScrollable:f,sendMessage:m,onScroll:S}=Ds(n.conversationMessagesIndexUrl,n.initialMessages),{title:$,showRenameModal:E,renameInput:w,renaming:_,showDeleteModal:I,deleting:O,openRenameModal:z,submitRename:X,deleteConversation:Ae}=Fs(n.conversationTitle,n.conversationTitleUpdateUrl,n.conversationDestroyUrl);async function ge(){const C=await X();C&&r("title-updated",C)}function ne(){m(n.conversationMessagesStoreUrl)}return qn(()=>{h(),we(()=>{p(),f();const C=i.value[i.value.length-1];C&&C.role==="user"&&(g.value=!0,b.start())})}),Hn(()=>{b.stop()}),(C,P)=>(L(),j(Be,null,[v(k(Yt),{class:Se([{"max-md:opacity-0 max-md:pointer-events-none":t.sidebarOpen},"flex flex-col flex-1 min-w-0 content-card divide-y divide-gray-200 transition-opacity duration-300"])},{default:W(()=>[N("div",Li,[v(k(Q),{title:t.sidebarOpen?C.__("ai-entries-assistant::frontend.conversation.close_sidebar"):C.__("ai-entries-assistant::frontend.conversation.open_sidebar"),icon:"burger-menu-no-border","icon-only":"",size:"sm",variant:"ghost",onClick:P[0]||(P[0]=U=>r("toggle-sidebar"))},null,8,["title"]),v(k(Kn),null,{trigger:W(()=>[N("button",Ii,te(k($)),1)]),default:W(()=>[v(k(Zn),null,{default:W(()=>[v(k(Ct),{text:C.__("ai-entries-assistant::frontend.conversation.rename"),icon:"pencil",onClick:k(z)},null,8,["text","onClick"]),v(k(Gn)),v(k(Ct),{text:C.__("ai-entries-assistant::frontend.conversation.delete"),icon:"trash",variant:"destructive",onClick:P[1]||(P[1]=U=>I.value=!0)},null,8,["text"])]),_:1})]),_:1})]),N("div",Ni,[N("div",{ref_key:"messageContainer",ref:s,class:"absolute inset-0 overflow-y-auto px-4 py-4",onScroll:P[2]||(P[2]=(...U)=>k(S)&&k(S)(...U))},[k(a)?(L(),j("div",Ui,te(C.__("ai-entries-assistant::frontend.conversation.loading_older_messages")),1)):ie("",!0),!k(o)&&!k(a)?(L(),j("div",Bi,te(C.__("ai-entries-assistant::frontend.conversation.start_of_conversation")),1)):ie("",!0),(L(!0),j(Be,null,Qt(k(i),U=>(L(),de(Un,{key:U.id,message:U,class:"mb-4"},null,8,["message"]))),128)),k(g)?(L(),de(rr,{key:2})):ie("",!0)],544)]),N("div",null,[v(k(tt),{modelValue:k(u),"onUpdate:modelValue":P[3]||(P[3]=U=>Et(u)?u.value=U:null),disabled:k(l),placeholder:C.__("ai-entries-assistant::frontend.conversation.input_placeholder"),onKeydown:Xt(ne,["enter"])},{append:W(()=>[v(k(Q),{disabled:!k(c)||k(l),icon:"ai-spark",variant:"ghost",onClick:ne},null,8,["disabled"])]),_:1},8,["modelValue","disabled","placeholder"])])]),_:1},8,["class"]),v(k(Qn),{open:k(E),title:C.__("ai-entries-assistant::frontend.conversation.rename_modal_title"),blur:"","onUpdate:open":P[5]||(P[5]=U=>E.value=U)},{footer:W(()=>[N("div",Di,[v(k(Xn),null,{default:W(()=>[v(k(Q),{text:C.__("ai-entries-assistant::frontend.conversation.cancel"),variant:"ghost"},null,8,["text"])]),_:1}),v(k(Q),{disabled:k(_)||!k(w).trim(),text:C.__("ai-entries-assistant::frontend.conversation.save"),variant:"primary",onClick:ge},null,8,["disabled","text"])])]),default:W(()=>[N("form",{onSubmit:Wn(ge,["prevent"])},[v(k(tt),{modelValue:k(w),"onUpdate:modelValue":P[4]||(P[4]=U=>Et(w)?w.value=U:null),disabled:k(_),focus:!0,placeholder:C.__("ai-entries-assistant::frontend.conversation.rename_modal_placeholder")},null,8,["modelValue","disabled","placeholder"])],32)]),_:1},8,["open","title"]),v(k(Jn),{"body-text":C.__("ai-entries-assistant::frontend.conversation.delete_modal_body"),busy:k(O),"button-text":C.__("ai-entries-assistant::frontend.conversation.delete"),danger:!0,open:k(I),title:C.__("ai-entries-assistant::frontend.conversation.delete_modal_title"),blur:"",onConfirm:k(Ae),"onUpdate:open":P[6]||(P[6]=U=>I.value=U)},null,8,["body-text","busy","button-text","open","title","onConfirm"])],64))}},zi={class:"flex flex-col h-full w-full md:w-72 px-3 pt-5"},Fi={class:"text-right md:hidden mb-5"},ji={class:"relative flex-1"},qi={class:"absolute inset-0 overflow-y-auto"},Hi={class:"px-2 text-xs font-semibold text-gray-400 uppercase tracking-wider mb-2"},Vi={key:0,class:"py-2 text-center text-xs text-gray-400 animate-pulse"},Bn={__name:"ConversationSidebar",props:{initialConversations:Object,conversationsIndexUrl:String,landingPageUrl:String,activeConversationId:String,open:Boolean},emits:["close"],setup(t,{expose:e,emit:n}){const r=t,s=n,i=je([]),o=B(null),a=B(!1),u=B(!1);function l(){var p,f,m;const h=((p=r.initialConversations)==null?void 0:p.data)??[];i.value=h,o.value=((m=(f=r.initialConversations)==null?void 0:f.meta)==null?void 0:m.next_cursor)??null,a.value=o.value!==null}async function c(){var h;if(!(u.value||!a.value)){u.value=!0;try{const p=`${r.conversationsIndexUrl}?cursor=${o.value}`,{data:f}=await A.get(p),m=f.data??[];i.value.push(...m),o.value=((h=f.meta)==null?void 0:h.next_cursor)??null,a.value=o.value!==null}finally{u.value=!1}}}function g(h){Tn.visit(h)}function b(h,p){const f=i.value.find(m=>m.id===h);f&&(f.title=p)}return e({updateConversationTitle:b}),l(),(h,p)=>(L(),j("aside",{class:Se([t.open?"max-md:w-full md:w-72":"w-0","max-md:absolute max-md:inset-y-0 max-md:left-0 max-md:z-10 shrink-0 overflow-hidden transition-all duration-200 ease-in-out"])},[N("div",zi,[N("div",Fi,[v(k(Q),{icon:"x","icon-only":"",size:"sm",variant:"ghost",onClick:p[0]||(p[0]=f=>s("close"))})]),v(k(Q),{text:h.__("ai-entries-assistant::frontend.sidebar.new_conversation"),class:"w-full mb-5 shrink-0",icon:"add-circle",variant:"primary",onClick:p[1]||(p[1]=f=>g(t.landingPageUrl))},null,8,["text"]),N("div",ji,[N("div",qi,[N("h2",Hi,te(h.__("ai-entries-assistant::frontend.sidebar.conversations")),1),(L(!0),j(Be,null,Qt(i.value,f=>(L(),de(k(Q),{key:f.id,text:f.short_title||h.__("ai-entries-assistant::frontend.conversation.untitled"),variant:f.id===t.activeConversationId?"filled":"ghost",class:"w-full mb-0.5 truncate justify-start",onClick:m=>g(f.url)},null,8,["text","variant","onClick"]))),128)),u.value?(L(),j("div",Vi,te(h.__("ai-entries-assistant::frontend.conversation.loading")),1)):ie("",!0),a.value&&!u.value?(L(),de(k(Q),{key:1,text:h.__("ai-entries-assistant::frontend.sidebar.load_more"),class:"w-full mt-1",size:"sm",variant:"ghost",onClick:c},null,8,["text"])):ie("",!0)])])])],2))}},Wi={class:"h-full flex flex-col"},Ji={__name:"Conversation",props:{conversationId:String,conversationTitle:String,initialMessages:Object,initialConversations:Object,landingPageUrl:String,conversationsIndexUrl:String,conversationMessagesIndexUrl:String,conversationMessagesStoreUrl:String,conversationTitleUpdateUrl:String,conversationDestroyUrl:String},setup(t){const e=t,n=getComputedStyle(document.documentElement).getPropertyValue("--breakpoint-md"),r=je(window.matchMedia(`(min-width: ${n})`).matches),s=Vn("sidebarRef");function i(){r.value=!r.value}function o(a){var u;(u=s.value)==null||u.updateConversationTitle(e.conversationId,a)}return(a,u)=>(L(),j("div",Wi,[v(k(en),{title:a.__("ai-entries-assistant::frontend.landing_page.title"),icon:"ai-spark"},null,8,["title"]),v(k(tn),{class:"relative flex flex-row flex-1 min-h-0"},{default:W(()=>[v(Bn,{ref_key:"sidebarRef",ref:s,"active-conversation-id":t.conversationId,"conversations-index-url":t.conversationsIndexUrl,"initial-conversations":t.initialConversations,"landing-page-url":t.landingPageUrl,open:r.value,onClose:u[0]||(u[0]=l=>r.value=!1)},null,8,["active-conversation-id","conversations-index-url","initial-conversations","landing-page-url","open"]),v(Mi,{"conversation-id":t.conversationId,"conversation-title":t.conversationTitle,"conversation-destroy-url":t.conversationDestroyUrl,"initial-messages":t.initialMessages,"conversation-messages-index-url":t.conversationMessagesIndexUrl,"conversation-messages-store-url":t.conversationMessagesStoreUrl,"sidebar-open":r.value,"conversation-title-update-url":t.conversationTitleUpdateUrl,onToggleSidebar:i,onTitleUpdated:o},null,8,["conversation-id","conversation-title","conversation-destroy-url","initial-messages","conversation-messages-index-url","conversation-messages-store-url","sidebar-open","conversation-title-update-url"])]),_:1})]))}},Ki=Object.freeze(Object.defineProperty({__proto__:null,default:Ji},Symbol.toStringTag,{value:"Module"})),Zi={class:"flex items-center py-4 text-lg"},Gi={class:"relative flex-1"},Qi={class:"absolute inset-0 overflow-y-auto py-4"},Xi={__name:"NewConversation",props:{sidebarOpen:{type:Boolean,default:!0},showSidebarToggle:{type:Boolean,default:!0},startConversationUrl:String},emits:["toggle-sidebar"],setup(t,{emit:e}){const n=e,r=t,s=zs({content:null}),i=ye(()=>(s.content??"").trim().length>0),o={role:"ai_assistant",content:__("ai-entries-assistant::frontend.new_conversation.welcome_message"),created_at:new Date().toISOString()};function a(){s.post(r.startConversationUrl,{preserveScroll:!0})}return(u,l)=>(L(),j(Be,null,[v(k(Ms),{title:u.__("ai-entries-assistant::frontend.conversations.welcome_message")},null,8,["title"]),v(k(Yt),{class:Se([{"max-md:opacity-0 max-md:pointer-events-none":t.sidebarOpen},"flex flex-col flex-1 min-w-0 content-card divide-y divide-gray-200 transition-opacity duration-500"])},{default:W(()=>[N("div",Zi,[t.showSidebarToggle?(L(),de(k(Q),{key:0,title:t.sidebarOpen?u.__("ai-entries-assistant::frontend.conversation.close_sidebar"):u.__("ai-entries-assistant::frontend.conversation.open_sidebar"),icon:"burger-menu-no-border","icon-only":"",size:"sm",variant:"ghost",onClick:l[0]||(l[0]=c=>n("toggle-sidebar"))},null,8,["title"])):ie("",!0),N("h2",{class:Se(t.showSidebarToggle?"ml-0":"ml-2")},te(u.__("ai-entries-assistant::frontend.new_conversation.title")),3)]),N("div",Gi,[N("div",Qi,[v(Un,{message:o})])]),N("div",null,[v(k(tt),{modelValue:k(s).content,"onUpdate:modelValue":l[1]||(l[1]=c=>k(s).content=c),disabled:k(s).processing,placeholder:u.__("ai-entries-assistant::frontend.conversation.input_placeholder"),onKeydown:Xt(a,["enter"])},{append:W(()=>[v(k(Q),{disabled:!i.value||k(s).processing,icon:"ai-spark",variant:"ghost",onClick:a},null,8,["disabled"])]),_:1},8,["modelValue","disabled","placeholder"])])]),_:1},8,["class"])],64))}},Yi={class:"h-full flex flex-col"},eo={__name:"LandingPage",props:{initialConversations:Object,conversationsIndexUrl:String,landingPageUrl:String,startConversationUrl:String},setup(t){const e=t,n=ye(()=>{var i,o;return(((o=(i=e.initialConversations)==null?void 0:i.data)==null?void 0:o.length)??0)>0}),r=getComputedStyle(document.documentElement).getPropertyValue("--breakpoint-md"),s=je(window.matchMedia(`(min-width: ${r})`).matches);return(i,o)=>(L(),j("div",Yi,[v(k(en),{title:i.__("ai-entries-assistant::frontend.landing_page.title"),icon:"ai-spark"},null,8,["title"]),v(k(tn),{class:"relative flex flex-row flex-1 min-h-0"},{default:W(()=>[n.value?(L(),de(Bn,{key:0,"active-conversation-id":null,"conversations-index-url":t.conversationsIndexUrl,"initial-conversations":t.initialConversations,"landing-page-url":t.landingPageUrl,open:s.value,onClose:o[0]||(o[0]=a=>s.value=!1)},null,8,["conversations-index-url","initial-conversations","landing-page-url","open"])):ie("",!0),v(Xi,{"show-sidebar-toggle":n.value,"sidebar-open":s.value,"start-conversation-url":t.startConversationUrl,onToggleSidebar:o[1]||(o[1]=a=>s.value=!s.value)},null,8,["show-sidebar-toggle","sidebar-open","start-conversation-url"])]),_:1})]))}},to=Object.freeze(Object.defineProperty({__proto__:null,default:eo},Symbol.toStringTag,{value:"Module"})),no=Object.assign({"../views/Conversation.vue":Ki,"../views/LandingPage.vue":to});Statamic.booting(()=>{Object.entries(no).forEach(([t,e])=>{const n=t.match(/\/(\w+)\.vue$/)[1];Statamic.$inertia.register(`ai-entries-assistant::${n}`,e.default)})}); diff --git a/resources/dist/build/assets/addon-Cq6E9A8N.js b/resources/dist/build/assets/addon-Cq6E9A8N.js deleted file mode 100644 index d038395..0000000 --- a/resources/dist/build/assets/addon-Cq6E9A8N.js +++ /dev/null @@ -1,64 +0,0 @@ -var zn=Object.defineProperty;var Mn=(t,e,n)=>e in t?zn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var T=(t,e,n)=>Mn(t,typeof e!="symbol"?e+"":e,n);const Fn=window.Vue,{BaseTransition:to,BaseTransitionPropsValidators:no,Comment:ro,DeprecationTypes:so,EffectScope:io,ErrorCodes:oo,ErrorTypeStrings:ao,Fragment:Ue,KeepAlive:lo,ReactiveEffect:co,Static:uo,Suspense:po,Teleport:fo,Text:ho,TrackOpTypes:go,Transition:mo,TransitionGroup:bo,TriggerOpTypes:ko,VueElement:wo,__esModule:xo,assertNumber:yo,callWithAsyncErrorHandling:So,callWithErrorHandling:Ro,camelize:vo,capitalize:To,cloneVNode:Eo,compatUtils:Co,compile:_o,computed:De,createApp:Ao,createBlock:de,createCommentVNode:ie,createElementBlock:j,createElementVNode:U,createHydrationRenderer:Oo,createPropsRestProxy:Po,createRenderer:$o,createSSRApp:Lo,createSlots:Io,createStaticVNode:jn,createTextVNode:No,createVNode:v,customRef:Bo,defineAsyncComponent:Uo,defineComponent:Do,defineCustomElement:zo,defineEmits:Mo,defineExpose:Fo,defineModel:jo,defineOptions:qo,defineProps:Ho,defineSSRCustomElement:Vo,defineSlots:Wo,devtools:Jo,effect:Ko,effectScope:Zo,getCurrentInstance:Go,getCurrentScope:Qo,getCurrentWatcher:Xo,getTransitionRawChildren:Yo,guardReactiveProps:ea,h:ta,handleError:na,hasInjectionContext:ra,hydrate:sa,hydrateOnIdle:ia,hydrateOnInteraction:oa,hydrateOnMediaQuery:aa,hydrateOnVisible:la,initCustomFormatter:ca,initDirectivesForSSR:ua,inject:da,isMemoSame:pa,isProxy:fa,isReactive:ha,isReadonly:ga,isRef:Et,isRuntimeOnly:ma,isShallow:ba,isVNode:ka,markRaw:wa,mergeDefaults:xa,mergeModels:ya,mergeProps:Sa,nextTick:xe,nodeOps:Ra,normalizeClass:Se,normalizeProps:va,normalizeStyle:Ta,onActivated:Ea,onBeforeMount:Ca,onBeforeUnmount:_a,onBeforeUpdate:Aa,onDeactivated:Oa,onErrorCaptured:Pa,onMounted:qn,onRenderTracked:$a,onRenderTriggered:La,onScopeDispose:Ia,onServerPrefetch:Na,onUnmounted:Hn,onUpdated:Ba,onWatcherCleanup:Ua,openBlock:L,patchProp:Da,popScopeId:za,provide:Ma,proxyRefs:Fa,pushScopeId:ja,queuePostFlushCb:qa,reactive:Ha,readonly:Va,ref:pe,registerRuntimeCompiler:Wa,render:Ja,renderList:Qt,renderSlot:Ka,resolveComponent:Za,resolveDirective:Ga,resolveDynamicComponent:Qa,resolveFilter:Xa,resolveTransitionHooks:Ya,setBlockTracking:el,setDevtoolsHook:tl,setTransitionHooks:nl,shallowReactive:rl,shallowReadonly:sl,shallowRef:N,ssrContextKey:il,ssrUtils:ol,stop:al,toDisplayString:te,toHandlerKey:ll,toHandlers:cl,toRaw:ul,toRef:dl,toRefs:pl,toValue:fl,transformVNodeArgs:hl,triggerRef:gl,unref:k,useAttrs:ml,useCssModule:bl,useCssVars:kl,useHost:wl,useId:xl,useModel:yl,useSSRContext:Sl,useShadowRoot:Rl,useSlots:vl,useTemplateRef:Tl,useTransitionState:El,vModelCheckbox:Cl,vModelDynamic:_l,vModelRadio:Al,vModelSelect:Ol,vModelText:Pl,vShow:$l,version:Ll,warn:Il,watch:Nl,watchEffect:Bl,watchPostEffect:Ul,watchSyncEffect:Dl,withAsyncContext:zl,withCtx:W,withDefaults:Ml,withDirectives:Fl,withKeys:Xt,withMemo:jl,withModifiers:Vn,withScopeId:ql}=Fn,{Alert:Hl,AuthCard:Vl,Avatar:Wl,Badge:Jl,Button:Q,ButtonGroup:Kl,Calendar:Zl,Card:Yt,CardList:Gl,CardListItem:Ql,CardPanel:Xl,CharacterCounter:Yl,Checkbox:ec,CheckboxGroup:tc,CodeEditor:nc,Combobox:rc,CommandPaletteItem:sc,ConfirmationModal:Wn,Context:ic,ContextFooter:oc,ContextHeader:ac,ContextItem:lc,ContextLabel:cc,ContextMenu:uc,ContextSeparator:dc,CreateForm:pc,DatePicker:fc,DateRangePicker:hc,Description:gc,DocsCallout:mc,DragHandle:bc,Dropdown:Jn,DropdownItem:Ct,DropdownLabel:kc,DropdownMenu:Kn,DropdownSeparator:Zn,DropdownFooter:wc,DropdownHeader:xc,Editable:yc,ErrorMessage:Sc,EmptyStateItem:Rc,EmptyStateMenu:vc,Field:Tc,Header:en,Heading:Ec,HoverCard:Cc,Icon:_c,Input:tt,InputGroup:Ac,InputGroupAppend:Oc,InputGroupPrepend:Pc,Label:$c,Listing:Lc,ListingCustomizeColumns:Ic,ListingFilters:Nc,ListingHeaderCell:Bc,ListingPagination:Uc,ListingPresets:Dc,ListingPresetTrigger:zc,ListingRowActions:Mc,ListingSearch:Fc,ListingTable:jc,ListingTableBody:qc,ListingTableHead:Hc,ListingToggleAll:Vc,LivePreview:Wc,LivePreviewPopout:Jc,MiddleEllipsis:Kc,Modal:Gn,ModalClose:Qn,ModalTitle:Zc,Pagination:Gc,Panel:tn,PanelFooter:Qc,PanelHeader:Xc,Popover:Yc,PublishComponents:eu,PublishContainer:tu,publishContextKey:nu,injectPublishContext:ru,PublishField:su,PublishFields:iu,PublishFieldsProvider:ou,PublishForm:au,PublishLocalizations:lu,PublishSections:cu,PublishTabs:uu,Radio:du,RadioGroup:pu,Select:fu,Separator:hu,Slider:gu,Skeleton:mu,SplitterGroup:bu,SplitterPanel:ku,SplitterResizeHandle:wu,StatusIndicator:xu,Subheading:yu,Switch:Su,TabContent:Ru,Stack:vu,StackClose:Tu,StackHeader:Eu,StackFooter:Cu,StackContent:_u,Table:Au,TableCell:Ou,TableColumn:Pu,TableColumns:$u,TableRow:Lu,TableRows:Iu,TabList:Nu,TabProvider:Bu,Tabs:Uu,TabTrigger:Du,Textarea:zu,TimePicker:Mu,ToggleGroup:Fu,ToggleItem:ju,Widget:qu,registerIconSet:Hu,registerIconSetFromStrings:Vu}=__STATAMIC__.ui;function ct(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var ce=ct();function nn(t){ce=t}var re={exec:()=>null};function y(t,e=""){let n=typeof t=="string"?t:t.source,r={replace:(s,i)=>{let o=typeof i=="string"?i:i.source;return o=o.replace(z.caret,"$1"),n=n.replace(s,o),r},getRegex:()=>new RegExp(n,e)};return r}var Xn=(()=>{try{return!!new RegExp("(?<=1)(?/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^
    /i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i"),blockquoteBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}>`)},Yn=/^(?:[ \t]*(?:\n|$))+/,er=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,tr=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Re=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,nr=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,ut=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,rn=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,sn=y(rn).replace(/bull/g,ut).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),rr=y(rn).replace(/bull/g,ut).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),dt=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,sr=/^[^\n]+/,pt=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,ir=y(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",pt).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),or=y(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,ut).getRegex(),qe="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",ft=/|$))/,ar=y("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",ft).replace("tag",qe).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),on=y(dt).replace("hr",Re).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",qe).getRegex(),lr=y(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",on).getRegex(),ht={blockquote:lr,code:er,def:ir,fences:tr,heading:nr,hr:Re,html:ar,lheading:sn,list:or,newline:Yn,paragraph:on,table:re,text:sr},_t=y("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Re).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",qe).getRegex(),cr={...ht,lheading:rr,table:_t,paragraph:y(dt).replace("hr",Re).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",_t).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",qe).getRegex()},ur={...ht,html:y(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",ft).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:re,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:y(dt).replace("hr",Re).replace("heading",` *#{1,6} *[^ -]`).replace("lheading",sn).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},dr=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,pr=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,an=/^( {2,}|\\)\n(?!\s*$)/,fr=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\`+)[^`]+\k(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",Xn?"(?`+)[^`]+\k(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),cn=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,kr=y(cn,"u").replace(/punct/g,he).getRegex(),wr=y(cn,"u").replace(/punct/g,ln).getRegex(),un="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",xr=y(un,"gu").replace(/notPunctSpace/g,gt).replace(/punctSpace/g,He).replace(/punct/g,he).getRegex(),yr=y(un,"gu").replace(/notPunctSpace/g,mr).replace(/punctSpace/g,gr).replace(/punct/g,ln).getRegex(),Sr=y("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,gt).replace(/punctSpace/g,He).replace(/punct/g,he).getRegex(),Rr=y(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,he).getRegex(),vr="^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)",Tr=y(vr,"gu").replace(/notPunctSpace/g,gt).replace(/punctSpace/g,He).replace(/punct/g,he).getRegex(),Er=y(/\\(punct)/,"gu").replace(/punct/g,he).getRegex(),Cr=y(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),_r=y(ft).replace("(?:-->|$)","-->").getRegex(),Ar=y("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",_r).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),ze=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,Or=y(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",ze).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),dn=y(/^!?\[(label)\]\[(ref)\]/).replace("label",ze).replace("ref",pt).getRegex(),pn=y(/^!?\[(ref)\](?:\[\])?/).replace("ref",pt).getRegex(),Pr=y("reflink|nolink(?!\\()","g").replace("reflink",dn).replace("nolink",pn).getRegex(),At=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,mt={_backpedal:re,anyPunctuation:Er,autolink:Cr,blockSkip:br,br:an,code:pr,del:re,delLDelim:re,delRDelim:re,emStrongLDelim:kr,emStrongRDelimAst:xr,emStrongRDelimUnd:Sr,escape:dr,link:Or,nolink:pn,punctuation:hr,reflink:dn,reflinkSearch:Pr,tag:Ar,text:fr,url:re},$r={...mt,link:y(/^!?\[(label)\]\((.*?)\)/).replace("label",ze).getRegex(),reflink:y(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ze).getRegex()},nt={...mt,emStrongRDelimAst:yr,emStrongLDelim:wr,delLDelim:Rr,delRDelim:Tr,url:y(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",At).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:y(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\":">",'"':""","'":"'"},Ot=t=>Ir[t];function G(t,e){if(e){if(z.escapeTest.test(t))return t.replace(z.escapeReplace,Ot)}else if(z.escapeTestNoEncode.test(t))return t.replace(z.escapeReplaceNoEncode,Ot);return t}function Pt(t){try{t=encodeURI(t).replace(z.percentDecode,"%")}catch{return null}return t}function $t(t,e){var i;let n=t.replace(z.findPipe,(o,a,u)=>{let l=!1,c=a;for(;--c>=0&&u[c]==="\\";)l=!l;return l?"|":" |"}),r=n.split(z.splitPipe),s=0;if(r[0].trim()||r.shift(),r.length>0&&!((i=r.at(-1))!=null&&i.trim())&&r.pop(),e)if(r.length>e)r.splice(e);else for(;r.length0?-2:-1}function Br(t,e=0){let n=e,r="";for(let s of t)if(s===" "){let i=4-n%4;r+=" ".repeat(i),n+=i}else r+=s,n++;return r}function Lt(t,e,n,r,s){let i=e.href,o=e.title||null,a=t[1].replace(s.other.outputLinkReplace,"$1");r.state.inLink=!0;let u={type:t[0].charAt(0)==="!"?"image":"link",raw:n,href:i,title:o,text:a,tokens:r.inlineTokens(a)};return r.state.inLink=!1,u}function Ur(t,e,n){let r=t.match(n.other.indentCodeCompensation);if(r===null)return e;let s=r[1];return e.split(` -`).map(i=>{let o=i.match(n.other.beginningSpace);if(o===null)return i;let[a]=o;return a.length>=s.length?i.slice(s.length):i}).join(` -`)}var Me=class{constructor(t){T(this,"options");T(this,"rules");T(this,"lexer");this.options=t||ce}space(t){let e=this.rules.block.newline.exec(t);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(t){let e=this.rules.block.code.exec(t);if(e){let n=e[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?n:ke(n,` -`)}}}fences(t){let e=this.rules.block.fences.exec(t);if(e){let n=e[0],r=Ur(n,e[3]||"",this.rules);return{type:"code",raw:n,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:r}}}heading(t){let e=this.rules.block.heading.exec(t);if(e){let n=e[2].trim();if(this.rules.other.endingHash.test(n)){let r=ke(n,"#");(this.options.pedantic||!r||this.rules.other.endingSpaceChar.test(r))&&(n=r.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(t){let e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:ke(e[0],` -`)}}blockquote(t){let e=this.rules.block.blockquote.exec(t);if(e){let n=ke(e[0],` -`).split(` -`),r="",s="",i=[];for(;n.length>0;){let o=!1,a=[],u;for(u=0;u1,o={type:"list",raw:"",ordered:i,start:i?+s.slice(0,-1):"",loose:!1,items:[]};s=i?`\\d{1,9}\\${s.slice(-1)}`:`\\${s}`,this.options.pedantic&&(s=i?s:"[*+-]");let a=this.rules.other.listItemRegex(s),u=!1;for(;t;){let c=!1,f="",b="";if(!(e=a.exec(t))||this.rules.block.hr.test(t))break;f=e[0],t=t.substring(f.length);let h=Br(e[2].split(` -`,1)[0],e[1].length),p=t.split(` -`,1)[0],g=!h.trim(),m=0;if(this.options.pedantic?(m=2,b=h.trimStart()):g?m=e[1].length+1:(m=h.search(this.rules.other.nonSpaceChar),m=m>4?1:m,b=h.slice(m),m+=e[1].length),g&&this.rules.other.blankLine.test(p)&&(f+=p+` -`,t=t.substring(p.length+1),c=!0),!c){let S=this.rules.other.nextBulletRegex(m),$=this.rules.other.hrRegex(m),E=this.rules.other.fencesBeginRegex(m),w=this.rules.other.headingBeginRegex(m),_=this.rules.other.htmlBeginRegex(m),I=this.rules.other.blockquoteBeginRegex(m);for(;t;){let O=t.split(` -`,1)[0],M;if(p=O,this.options.pedantic?(p=p.replace(this.rules.other.listReplaceNesting," "),M=p):M=p.replace(this.rules.other.tabCharGlobal," "),E.test(p)||w.test(p)||_.test(p)||I.test(p)||S.test(p)||$.test(p))break;if(M.search(this.rules.other.nonSpaceChar)>=m||!p.trim())b+=` -`+M.slice(m);else{if(g||h.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||E.test(h)||w.test(h)||$.test(h))break;b+=` -`+p}g=!p.trim(),f+=O+` -`,t=t.substring(O.length+1),h=M.slice(m)}}o.loose||(u?o.loose=!0:this.rules.other.doubleBlankLine.test(f)&&(u=!0)),o.items.push({type:"list_item",raw:f,task:!!this.options.gfm&&this.rules.other.listIsTask.test(b),loose:!1,text:b,tokens:[]}),o.raw+=f}let l=o.items.at(-1);if(l)l.raw=l.raw.trimEnd(),l.text=l.text.trimEnd();else return;o.raw=o.raw.trimEnd();for(let c of o.items){if(this.lexer.state.top=!1,c.tokens=this.lexer.blockTokens(c.text,[]),c.task){if(c.text=c.text.replace(this.rules.other.listReplaceTask,""),((n=c.tokens[0])==null?void 0:n.type)==="text"||((r=c.tokens[0])==null?void 0:r.type)==="paragraph"){c.tokens[0].raw=c.tokens[0].raw.replace(this.rules.other.listReplaceTask,""),c.tokens[0].text=c.tokens[0].text.replace(this.rules.other.listReplaceTask,"");for(let b=this.lexer.inlineQueue.length-1;b>=0;b--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[b].src)){this.lexer.inlineQueue[b].src=this.lexer.inlineQueue[b].src.replace(this.rules.other.listReplaceTask,"");break}}let f=this.rules.other.listTaskCheckbox.exec(c.raw);if(f){let b={type:"checkbox",raw:f[0]+" ",checked:f[0]!=="[ ]"};c.checked=b.checked,o.loose?c.tokens[0]&&["paragraph","text"].includes(c.tokens[0].type)&&"tokens"in c.tokens[0]&&c.tokens[0].tokens?(c.tokens[0].raw=b.raw+c.tokens[0].raw,c.tokens[0].text=b.raw+c.tokens[0].text,c.tokens[0].tokens.unshift(b)):c.tokens.unshift({type:"paragraph",raw:b.raw,text:b.raw,tokens:[b]}):c.tokens.unshift(b)}}if(!o.loose){let f=c.tokens.filter(h=>h.type==="space"),b=f.length>0&&f.some(h=>this.rules.other.anyLine.test(h.raw));o.loose=b}}if(o.loose)for(let c of o.items){c.loose=!0;for(let f of c.tokens)f.type==="text"&&(f.type="paragraph")}return o}}html(t){let e=this.rules.block.html.exec(t);if(e)return{type:"html",block:!0,raw:e[0],pre:e[1]==="pre"||e[1]==="script"||e[1]==="style",text:e[0]}}def(t){let e=this.rules.block.def.exec(t);if(e){let n=e[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),r=e[2]?e[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",s=e[3]?e[3].substring(1,e[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):e[3];return{type:"def",tag:n,raw:e[0],href:r,title:s}}}table(t){var o;let e=this.rules.block.table.exec(t);if(!e||!this.rules.other.tableDelimiter.test(e[2]))return;let n=$t(e[1]),r=e[2].replace(this.rules.other.tableAlignChars,"").split("|"),s=(o=e[3])!=null&&o.trim()?e[3].replace(this.rules.other.tableRowBlankLine,"").split(` -`):[],i={type:"table",raw:e[0],header:[],align:[],rows:[]};if(n.length===r.length){for(let a of r)this.rules.other.tableAlignRight.test(a)?i.align.push("right"):this.rules.other.tableAlignCenter.test(a)?i.align.push("center"):this.rules.other.tableAlignLeft.test(a)?i.align.push("left"):i.align.push(null);for(let a=0;a({text:u,tokens:this.lexer.inline(u),header:!1,align:i.align[l]})));return i}}lheading(t){let e=this.rules.block.lheading.exec(t);if(e){let n=e[1].trim();return{type:"heading",raw:e[0],depth:e[2].charAt(0)==="="?1:2,text:n,tokens:this.lexer.inline(n)}}}paragraph(t){let e=this.rules.block.paragraph.exec(t);if(e){let n=e[1].charAt(e[1].length-1)===` -`?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:n,tokens:this.lexer.inline(n)}}}text(t){let e=this.rules.block.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(t){let e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:e[1]}}tag(t){let e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&this.rules.other.startATag.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(t){let e=this.rules.inline.link.exec(t);if(e){let n=e[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(n)){if(!this.rules.other.endAngleBracket.test(n))return;let i=ke(n.slice(0,-1),"\\");if((n.length-i.length)%2===0)return}else{let i=Nr(e[2],"()");if(i===-2)return;if(i>-1){let o=(e[0].indexOf("!")===0?5:4)+e[1].length+i;e[2]=e[2].substring(0,i),e[0]=e[0].substring(0,o).trim(),e[3]=""}}let r=e[2],s="";if(this.options.pedantic){let i=this.rules.other.pedanticHrefTitle.exec(r);i&&(r=i[1],s=i[3])}else s=e[3]?e[3].slice(1,-1):"";return r=r.trim(),this.rules.other.startAngleBracket.test(r)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(n)?r=r.slice(1):r=r.slice(1,-1)),Lt(e,{href:r&&r.replace(this.rules.inline.anyPunctuation,"$1"),title:s&&s.replace(this.rules.inline.anyPunctuation,"$1")},e[0],this.lexer,this.rules)}}reflink(t,e){let n;if((n=this.rules.inline.reflink.exec(t))||(n=this.rules.inline.nolink.exec(t))){let r=(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," "),s=e[r.toLowerCase()];if(!s){let i=n[0].charAt(0);return{type:"text",raw:i,text:i}}return Lt(n,s,n[0],this.lexer,this.rules)}}emStrong(t,e,n=""){let r=this.rules.inline.emStrongLDelim.exec(t);if(!(!r||!r[1]&&!r[2]&&!r[3]&&!r[4]||r[4]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!(r[1]||r[3])||!n||this.rules.inline.punctuation.exec(n))){let s=[...r[0]].length-1,i,o,a=s,u=0,l=r[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,e=e.slice(-1*t.length+s);(r=l.exec(e))!=null;){if(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!i)continue;if(o=[...i].length,r[3]||r[4]){a+=o;continue}else if((r[5]||r[6])&&s%3&&!((s+o)%3)){u+=o;continue}if(a-=o,a>0)continue;o=Math.min(o,o+a+u);let c=[...r[0]][0].length,f=t.slice(0,s+r.index+c+o);if(Math.min(s,o)%2){let h=f.slice(1,-1);return{type:"em",raw:f,text:h,tokens:this.lexer.inlineTokens(h)}}let b=f.slice(2,-2);return{type:"strong",raw:f,text:b,tokens:this.lexer.inlineTokens(b)}}}}codespan(t){let e=this.rules.inline.code.exec(t);if(e){let n=e[2].replace(this.rules.other.newLineCharGlobal," "),r=this.rules.other.nonSpaceChar.test(n),s=this.rules.other.startingSpaceChar.test(n)&&this.rules.other.endingSpaceChar.test(n);return r&&s&&(n=n.substring(1,n.length-1)),{type:"codespan",raw:e[0],text:n}}}br(t){let e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}}del(t,e,n=""){let r=this.rules.inline.delLDelim.exec(t);if(r&&(!r[1]||!n||this.rules.inline.punctuation.exec(n))){let s=[...r[0]].length-1,i,o,a=s,u=this.rules.inline.delRDelim;for(u.lastIndex=0,e=e.slice(-1*t.length+s);(r=u.exec(e))!=null;){if(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!i||(o=[...i].length,o!==s))continue;if(r[3]||r[4]){a+=o;continue}if(a-=o,a>0)continue;o=Math.min(o,o+a);let l=[...r[0]][0].length,c=t.slice(0,s+r.index+l+o),f=c.slice(s,-s);return{type:"del",raw:c,text:f,tokens:this.lexer.inlineTokens(f)}}}}autolink(t){let e=this.rules.inline.autolink.exec(t);if(e){let n,r;return e[2]==="@"?(n=e[1],r="mailto:"+n):(n=e[1],r=n),{type:"link",raw:e[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}}}url(t){var n;let e;if(e=this.rules.inline.url.exec(t)){let r,s;if(e[2]==="@")r=e[0],s="mailto:"+r;else{let i;do i=e[0],e[0]=((n=this.rules.inline._backpedal.exec(e[0]))==null?void 0:n[0])??"";while(i!==e[0]);r=e[0],e[1]==="www."?s="http://"+e[0]:s=e[0]}return{type:"link",raw:e[0],text:r,href:s,tokens:[{type:"text",raw:r,text:r}]}}}inlineText(t){let e=this.rules.inline.text.exec(t);if(e){let n=this.lexer.state.inRawBlock;return{type:"text",raw:e[0],text:e[0],escaped:n}}}},J=class rt{constructor(e){T(this,"tokens");T(this,"options");T(this,"state");T(this,"inlineQueue");T(this,"tokenizer");this.tokens=[],this.tokens.links=Object.create(null),this.options=e||ce,this.options.tokenizer=this.options.tokenizer||new Me,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let n={other:z,block:Pe.normal,inline:be.normal};this.options.pedantic?(n.block=Pe.pedantic,n.inline=be.pedantic):this.options.gfm&&(n.block=Pe.gfm,this.options.breaks?n.inline=be.breaks:n.inline=be.gfm),this.tokenizer.rules=n}static get rules(){return{block:Pe,inline:be}}static lex(e,n){return new rt(n).lex(e)}static lexInline(e,n){return new rt(n).inlineTokens(e)}lex(e){e=e.replace(z.carriageReturn,` -`),this.blockTokens(e,this.tokens);for(let n=0;n(a=l.call({lexer:this},e,n))?(e=e.substring(a.raw.length),n.push(a),!0):!1))continue;if(a=this.tokenizer.space(e)){e=e.substring(a.raw.length);let l=n.at(-1);a.raw.length===1&&l!==void 0?l.raw+=` -`:n.push(a);continue}if(a=this.tokenizer.code(e)){e=e.substring(a.raw.length);let l=n.at(-1);(l==null?void 0:l.type)==="paragraph"||(l==null?void 0:l.type)==="text"?(l.raw+=(l.raw.endsWith(` -`)?"":` -`)+a.raw,l.text+=` -`+a.text,this.inlineQueue.at(-1).src=l.text):n.push(a);continue}if(a=this.tokenizer.fences(e)){e=e.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.heading(e)){e=e.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.hr(e)){e=e.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.blockquote(e)){e=e.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.list(e)){e=e.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.html(e)){e=e.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.def(e)){e=e.substring(a.raw.length);let l=n.at(-1);(l==null?void 0:l.type)==="paragraph"||(l==null?void 0:l.type)==="text"?(l.raw+=(l.raw.endsWith(` -`)?"":` -`)+a.raw,l.text+=` -`+a.raw,this.inlineQueue.at(-1).src=l.text):this.tokens.links[a.tag]||(this.tokens.links[a.tag]={href:a.href,title:a.title},n.push(a));continue}if(a=this.tokenizer.table(e)){e=e.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.lheading(e)){e=e.substring(a.raw.length),n.push(a);continue}let u=e;if((o=this.options.extensions)!=null&&o.startBlock){let l=1/0,c=e.slice(1),f;this.options.extensions.startBlock.forEach(b=>{f=b.call({lexer:this},c),typeof f=="number"&&f>=0&&(l=Math.min(l,f))}),l<1/0&&l>=0&&(u=e.substring(0,l+1))}if(this.state.top&&(a=this.tokenizer.paragraph(u))){let l=n.at(-1);r&&(l==null?void 0:l.type)==="paragraph"?(l.raw+=(l.raw.endsWith(` -`)?"":` -`)+a.raw,l.text+=` -`+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=l.text):n.push(a),r=u.length!==e.length,e=e.substring(a.raw.length);continue}if(a=this.tokenizer.text(e)){e=e.substring(a.raw.length);let l=n.at(-1);(l==null?void 0:l.type)==="text"?(l.raw+=(l.raw.endsWith(` -`)?"":` -`)+a.raw,l.text+=` -`+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=l.text):n.push(a);continue}if(e){let l="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(l);break}else throw new Error(l)}}return this.state.top=!0,n}inline(e,n=[]){return this.inlineQueue.push({src:e,tokens:n}),n}inlineTokens(e,n=[]){var u,l,c,f,b;this.tokenizer.lexer=this;let r=e,s=null;if(this.tokens.links){let h=Object.keys(this.tokens.links);if(h.length>0)for(;(s=this.tokenizer.rules.inline.reflinkSearch.exec(r))!=null;)h.includes(s[0].slice(s[0].lastIndexOf("[")+1,-1))&&(r=r.slice(0,s.index)+"["+"a".repeat(s[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(s=this.tokenizer.rules.inline.anyPunctuation.exec(r))!=null;)r=r.slice(0,s.index)+"++"+r.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let i;for(;(s=this.tokenizer.rules.inline.blockSkip.exec(r))!=null;)i=s[2]?s[2].length:0,r=r.slice(0,s.index+i)+"["+"a".repeat(s[0].length-i-2)+"]"+r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);r=((l=(u=this.options.hooks)==null?void 0:u.emStrongMask)==null?void 0:l.call({lexer:this},r))??r;let o=!1,a="";for(;e;){o||(a=""),o=!1;let h;if((f=(c=this.options.extensions)==null?void 0:c.inline)!=null&&f.some(g=>(h=g.call({lexer:this},e,n))?(e=e.substring(h.raw.length),n.push(h),!0):!1))continue;if(h=this.tokenizer.escape(e)){e=e.substring(h.raw.length),n.push(h);continue}if(h=this.tokenizer.tag(e)){e=e.substring(h.raw.length),n.push(h);continue}if(h=this.tokenizer.link(e)){e=e.substring(h.raw.length),n.push(h);continue}if(h=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(h.raw.length);let g=n.at(-1);h.type==="text"&&(g==null?void 0:g.type)==="text"?(g.raw+=h.raw,g.text+=h.text):n.push(h);continue}if(h=this.tokenizer.emStrong(e,r,a)){e=e.substring(h.raw.length),n.push(h);continue}if(h=this.tokenizer.codespan(e)){e=e.substring(h.raw.length),n.push(h);continue}if(h=this.tokenizer.br(e)){e=e.substring(h.raw.length),n.push(h);continue}if(h=this.tokenizer.del(e,r,a)){e=e.substring(h.raw.length),n.push(h);continue}if(h=this.tokenizer.autolink(e)){e=e.substring(h.raw.length),n.push(h);continue}if(!this.state.inLink&&(h=this.tokenizer.url(e))){e=e.substring(h.raw.length),n.push(h);continue}let p=e;if((b=this.options.extensions)!=null&&b.startInline){let g=1/0,m=e.slice(1),S;this.options.extensions.startInline.forEach($=>{S=$.call({lexer:this},m),typeof S=="number"&&S>=0&&(g=Math.min(g,S))}),g<1/0&&g>=0&&(p=e.substring(0,g+1))}if(h=this.tokenizer.inlineText(p)){e=e.substring(h.raw.length),h.raw.slice(-1)!=="_"&&(a=h.raw.slice(-1)),o=!0;let g=n.at(-1);(g==null?void 0:g.type)==="text"?(g.raw+=h.raw,g.text+=h.text):n.push(h);continue}if(e){let g="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(g);break}else throw new Error(g)}}return n}},Fe=class{constructor(t){T(this,"options");T(this,"parser");this.options=t||ce}space(t){return""}code({text:t,lang:e,escaped:n}){var i;let r=(i=(e||"").match(z.notSpaceStart))==null?void 0:i[0],s=t.replace(z.endingNewline,"")+` -`;return r?'
    '+(n?s:G(s,!0))+`
    -`:"
    "+(n?s:G(s,!0))+`
    -`}blockquote({tokens:t}){return`
    -${this.parser.parse(t)}
    -`}html({text:t}){return t}def(t){return""}heading({tokens:t,depth:e}){return`${this.parser.parseInline(t)} -`}hr(t){return`
    -`}list(t){let e=t.ordered,n=t.start,r="";for(let o=0;o -`+r+" -`}listitem(t){return`
  • ${this.parser.parse(t.tokens)}
  • -`}checkbox({checked:t}){return" '}paragraph({tokens:t}){return`

    ${this.parser.parseInline(t)}

    -`}table(t){let e="",n="";for(let s=0;s${r}`),` - -`+e+` -`+r+`
    -`}tablerow({text:t}){return` -${t} -`}tablecell(t){let e=this.parser.parseInline(t.tokens),n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+e+` -`}strong({tokens:t}){return`${this.parser.parseInline(t)}`}em({tokens:t}){return`${this.parser.parseInline(t)}`}codespan({text:t}){return`${G(t,!0)}`}br(t){return"
    "}del({tokens:t}){return`${this.parser.parseInline(t)}`}link({href:t,title:e,tokens:n}){let r=this.parser.parseInline(n),s=Pt(t);if(s===null)return r;t=s;let i='
    ",i}image({href:t,title:e,text:n,tokens:r}){r&&(n=this.parser.parseInline(r,this.parser.textRenderer));let s=Pt(t);if(s===null)return G(n);t=s;let i=`${G(n)}{let u=o[a].flat(1/0);n=n.concat(this.walkTokens(u,e))}):o.tokens&&(n=n.concat(this.walkTokens(o.tokens,e)))}}return n}use(...t){let e=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(n=>{let r={...n};if(r.async=this.defaults.async||r.async||!1,n.extensions&&(n.extensions.forEach(s=>{if(!s.name)throw new Error("extension name required");if("renderer"in s){let i=e.renderers[s.name];i?e.renderers[s.name]=function(...o){let a=s.renderer.apply(this,o);return a===!1&&(a=i.apply(this,o)),a}:e.renderers[s.name]=s.renderer}if("tokenizer"in s){if(!s.level||s.level!=="block"&&s.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let i=e[s.level];i?i.unshift(s.tokenizer):e[s.level]=[s.tokenizer],s.start&&(s.level==="block"?e.startBlock?e.startBlock.push(s.start):e.startBlock=[s.start]:s.level==="inline"&&(e.startInline?e.startInline.push(s.start):e.startInline=[s.start]))}"childTokens"in s&&s.childTokens&&(e.childTokens[s.name]=s.childTokens)}),r.extensions=e),n.renderer){let s=this.defaults.renderer||new Fe(this.defaults);for(let i in n.renderer){if(!(i in s))throw new Error(`renderer '${i}' does not exist`);if(["options","parser"].includes(i))continue;let o=i,a=n.renderer[o],u=s[o];s[o]=(...l)=>{let c=a.apply(s,l);return c===!1&&(c=u.apply(s,l)),c||""}}r.renderer=s}if(n.tokenizer){let s=this.defaults.tokenizer||new Me(this.defaults);for(let i in n.tokenizer){if(!(i in s))throw new Error(`tokenizer '${i}' does not exist`);if(["options","rules","lexer"].includes(i))continue;let o=i,a=n.tokenizer[o],u=s[o];s[o]=(...l)=>{let c=a.apply(s,l);return c===!1&&(c=u.apply(s,l)),c}}r.tokenizer=s}if(n.hooks){let s=this.defaults.hooks||new ye;for(let i in n.hooks){if(!(i in s))throw new Error(`hook '${i}' does not exist`);if(["options","block"].includes(i))continue;let o=i,a=n.hooks[o],u=s[o];ye.passThroughHooks.has(i)?s[o]=l=>{if(this.defaults.async&&ye.passThroughHooksRespectAsync.has(i))return(async()=>{let f=await a.call(s,l);return u.call(s,f)})();let c=a.call(s,l);return u.call(s,c)}:s[o]=(...l)=>{if(this.defaults.async)return(async()=>{let f=await a.apply(s,l);return f===!1&&(f=await u.apply(s,l)),f})();let c=a.apply(s,l);return c===!1&&(c=u.apply(s,l)),c}}r.hooks=s}if(n.walkTokens){let s=this.defaults.walkTokens,i=n.walkTokens;r.walkTokens=function(o){let a=[];return a.push(i.call(this,o)),s&&(a=a.concat(s.call(this,o))),a}}this.defaults={...this.defaults,...r}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,e){return J.lex(t,e??this.defaults)}parser(t,e){return K.parse(t,e??this.defaults)}parseMarkdown(t){return(e,n)=>{let r={...n},s={...this.defaults,...r},i=this.onError(!!s.silent,!!s.async);if(this.defaults.async===!0&&r.async===!1)return i(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof e>"u"||e===null)return i(new Error("marked(): input parameter is undefined or null"));if(typeof e!="string")return i(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected"));if(s.hooks&&(s.hooks.options=s,s.hooks.block=t),s.async)return(async()=>{let o=s.hooks?await s.hooks.preprocess(e):e,a=await(s.hooks?await s.hooks.provideLexer():t?J.lex:J.lexInline)(o,s),u=s.hooks?await s.hooks.processAllTokens(a):a;s.walkTokens&&await Promise.all(this.walkTokens(u,s.walkTokens));let l=await(s.hooks?await s.hooks.provideParser():t?K.parse:K.parseInline)(u,s);return s.hooks?await s.hooks.postprocess(l):l})().catch(i);try{s.hooks&&(e=s.hooks.preprocess(e));let o=(s.hooks?s.hooks.provideLexer():t?J.lex:J.lexInline)(e,s);s.hooks&&(o=s.hooks.processAllTokens(o)),s.walkTokens&&this.walkTokens(o,s.walkTokens);let a=(s.hooks?s.hooks.provideParser():t?K.parse:K.parseInline)(o,s);return s.hooks&&(a=s.hooks.postprocess(a)),a}catch(o){return i(o)}}}onError(t,e){return n=>{if(n.message+=` -Please report this to https://github.com/markedjs/marked.`,t){let r="

    An error occurred:

    "+G(n.message+"",!0)+"
    ";return e?Promise.resolve(r):r}if(e)return Promise.reject(n);throw n}}},ae=new Dr;function R(t,e){return ae.parse(t,e)}R.options=R.setOptions=function(t){return ae.setOptions(t),R.defaults=ae.defaults,nn(R.defaults),R};R.getDefaults=ct;R.defaults=ce;R.use=function(...t){return ae.use(...t),R.defaults=ae.defaults,nn(R.defaults),R};R.walkTokens=function(t,e){return ae.walkTokens(t,e)};R.parseInline=ae.parseInline;R.Parser=K;R.parser=K.parse;R.Renderer=Fe;R.TextRenderer=bt;R.Lexer=J;R.lexer=J.lex;R.Tokenizer=Me;R.Hooks=ye;R.parse=R;R.options;R.setOptions;R.use;R.walkTokens;R.parseInline;K.parse;J.lex;const zr=(t,e)=>{const n=t.__vccOpts||t;for(const[r,s]of e)n[r]=s;return n},Mr={},Fr={class:"mb-4 flex justify-start"};function jr(t,e){return L(),j("div",Fr,[...e[0]||(e[0]=[jn('
    ',1)])])}const qr=zr(Mr,[["render",jr]]);function fn(t,e){return function(){return t.apply(e,arguments)}}const{toString:Hr}=Object.prototype,{getPrototypeOf:kt}=Object,{iterator:Ve,toStringTag:hn}=Symbol,We=(t=>e=>{const n=Hr.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Z=t=>(t=t.toLowerCase(),e=>We(e)===t),Je=t=>e=>typeof e===t,{isArray:ge}=Array,fe=Je("undefined");function ve(t){return t!==null&&!fe(t)&&t.constructor!==null&&!fe(t.constructor)&&q(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const gn=Z("ArrayBuffer");function Vr(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&gn(t.buffer),e}const Wr=Je("string"),q=Je("function"),mn=Je("number"),Te=t=>t!==null&&typeof t=="object",Jr=t=>t===!0||t===!1,Ie=t=>{if(We(t)!=="object")return!1;const e=kt(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(hn in t)&&!(Ve in t)},Kr=t=>{if(!Te(t)||ve(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},Zr=Z("Date"),Gr=Z("File"),Qr=t=>!!(t&&typeof t.uri<"u"),Xr=t=>t&&typeof t.getParts<"u",Yr=Z("Blob"),es=Z("FileList"),ts=t=>Te(t)&&q(t.pipe);function ns(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const It=ns(),Nt=typeof It.FormData<"u"?It.FormData:void 0,rs=t=>{let e;return t&&(Nt&&t instanceof Nt||q(t.append)&&((e=We(t))==="formdata"||e==="object"&&q(t.toString)&&t.toString()==="[object FormData]"))},ss=Z("URLSearchParams"),[is,os,as,ls]=["ReadableStream","Request","Response","Headers"].map(Z),cs=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ee(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,s;if(typeof t!="object"&&(t=[t]),ge(t))for(r=0,s=t.length;r0;)if(s=n[r],e===s.toLowerCase())return s;return null}const se=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,kn=t=>!fe(t)&&t!==se;function it(){const{caseless:t,skipUndefined:e}=kn(this)&&this||{},n={},r=(s,i)=>{if(i==="__proto__"||i==="constructor"||i==="prototype")return;const o=t&&bn(n,i)||i;Ie(n[o])&&Ie(s)?n[o]=it(n[o],s):Ie(s)?n[o]=it({},s):ge(s)?n[o]=s.slice():(!e||!fe(s))&&(n[o]=s)};for(let s=0,i=arguments.length;s(Ee(e,(s,i)=>{n&&q(s)?Object.defineProperty(t,i,{value:fn(s,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(t,i,{value:s,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),t),ds=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),ps=(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),Object.defineProperty(t.prototype,"constructor",{value:t,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},fs=(t,e,n,r)=>{let s,i,o;const a={};if(e=e||{},t==null)return e;do{for(s=Object.getOwnPropertyNames(t),i=s.length;i-- >0;)o=s[i],(!r||r(o,t,e))&&!a[o]&&(e[o]=t[o],a[o]=!0);t=n!==!1&&kt(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},hs=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return r!==-1&&r===n},gs=t=>{if(!t)return null;if(ge(t))return t;let e=t.length;if(!mn(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},ms=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&kt(Uint8Array)),bs=(t,e)=>{const r=(t&&t[Ve]).call(t);let s;for(;(s=r.next())&&!s.done;){const i=s.value;e.call(t,i[0],i[1])}},ks=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},ws=Z("HTMLFormElement"),xs=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),Bt=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),ys=Z("RegExp"),wn=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};Ee(n,(s,i)=>{let o;(o=e(s,i,t))!==!1&&(r[i]=o||s)}),Object.defineProperties(t,r)},Ss=t=>{wn(t,(e,n)=>{if(q(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(q(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Rs=(t,e)=>{const n={},r=s=>{s.forEach(i=>{n[i]=!0})};return ge(t)?r(t):r(String(t).split(e)),n},vs=()=>{},Ts=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function Es(t){return!!(t&&q(t.append)&&t[hn]==="FormData"&&t[Ve])}const Cs=t=>{const e=new Array(10),n=(r,s)=>{if(Te(r)){if(e.indexOf(r)>=0)return;if(ve(r))return r;if(!("toJSON"in r)){e[s]=r;const i=ge(r)?[]:{};return Ee(r,(o,a)=>{const u=n(o,s+1);!fe(u)&&(i[a]=u)}),e[s]=void 0,i}}return r};return n(t,0)},_s=Z("AsyncFunction"),As=t=>t&&(Te(t)||q(t))&&q(t.then)&&q(t.catch),xn=((t,e)=>t?setImmediate:e?((n,r)=>(se.addEventListener("message",({source:s,data:i})=>{s===se&&i===n&&r.length&&r.shift()()},!1),s=>{r.push(s),se.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",q(se.postMessage)),Os=typeof queueMicrotask<"u"?queueMicrotask.bind(se):typeof process<"u"&&process.nextTick||xn,Ps=t=>t!=null&&q(t[Ve]),d={isArray:ge,isArrayBuffer:gn,isBuffer:ve,isFormData:rs,isArrayBufferView:Vr,isString:Wr,isNumber:mn,isBoolean:Jr,isObject:Te,isPlainObject:Ie,isEmptyObject:Kr,isReadableStream:is,isRequest:os,isResponse:as,isHeaders:ls,isUndefined:fe,isDate:Zr,isFile:Gr,isReactNativeBlob:Qr,isReactNative:Xr,isBlob:Yr,isRegExp:ys,isFunction:q,isStream:ts,isURLSearchParams:ss,isTypedArray:ms,isFileList:es,forEach:Ee,merge:it,extend:us,trim:cs,stripBOM:ds,inherits:ps,toFlatObject:fs,kindOf:We,kindOfTest:Z,endsWith:hs,toArray:gs,forEachEntry:bs,matchAll:ks,isHTMLForm:ws,hasOwnProperty:Bt,hasOwnProp:Bt,reduceDescriptors:wn,freezeMethods:Ss,toObjectSet:Rs,toCamelCase:xs,noop:vs,toFiniteNumber:Ts,findKey:bn,global:se,isContextDefined:kn,isSpecCompliantForm:Es,toJSONObject:Cs,isAsyncFn:_s,isThenable:As,setImmediate:xn,asap:Os,isIterable:Ps};let x=class yn extends Error{static from(e,n,r,s,i,o){const a=new yn(e.message,n||e.code,r,s,i);return a.cause=e,a.name=e.name,e.status!=null&&a.status==null&&(a.status=e.status),o&&Object.assign(a,o),a}constructor(e,n,r,s,i){super(e),Object.defineProperty(this,"message",{value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),r&&(this.config=r),s&&(this.request=s),i&&(this.response=i,this.status=i.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:d.toJSONObject(this.config),code:this.code,status:this.status}}};x.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";x.ERR_BAD_OPTION="ERR_BAD_OPTION";x.ECONNABORTED="ECONNABORTED";x.ETIMEDOUT="ETIMEDOUT";x.ERR_NETWORK="ERR_NETWORK";x.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";x.ERR_DEPRECATED="ERR_DEPRECATED";x.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";x.ERR_BAD_REQUEST="ERR_BAD_REQUEST";x.ERR_CANCELED="ERR_CANCELED";x.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";x.ERR_INVALID_URL="ERR_INVALID_URL";const $s=null;function ot(t){return d.isPlainObject(t)||d.isArray(t)}function Sn(t){return d.endsWith(t,"[]")?t.slice(0,-2):t}function Qe(t,e,n){return t?t.concat(e).map(function(s,i){return s=Sn(s),!n&&i?"["+s+"]":s}).join(n?".":""):e}function Ls(t){return d.isArray(t)&&!t.some(ot)}const Is=d.toFlatObject(d,{},null,function(e){return/^is[A-Z]/.test(e)});function Ke(t,e,n){if(!d.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=d.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,m){return!d.isUndefined(m[g])});const r=n.metaTokens,s=n.visitor||c,i=n.dots,o=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&d.isSpecCompliantForm(e);if(!d.isFunction(s))throw new TypeError("visitor must be a function");function l(p){if(p===null)return"";if(d.isDate(p))return p.toISOString();if(d.isBoolean(p))return p.toString();if(!u&&d.isBlob(p))throw new x("Blob is not supported. Use a Buffer instead.");return d.isArrayBuffer(p)||d.isTypedArray(p)?u&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function c(p,g,m){let S=p;if(d.isReactNative(e)&&d.isReactNativeBlob(p))return e.append(Qe(m,g,i),l(p)),!1;if(p&&!m&&typeof p=="object"){if(d.endsWith(g,"{}"))g=r?g:g.slice(0,-2),p=JSON.stringify(p);else if(d.isArray(p)&&Ls(p)||(d.isFileList(p)||d.endsWith(g,"[]"))&&(S=d.toArray(p)))return g=Sn(g),S.forEach(function(E,w){!(d.isUndefined(E)||E===null)&&e.append(o===!0?Qe([g],w,i):o===null?g:g+"[]",l(E))}),!1}return ot(p)?!0:(e.append(Qe(m,g,i),l(p)),!1)}const f=[],b=Object.assign(Is,{defaultVisitor:c,convertValue:l,isVisitable:ot});function h(p,g){if(!d.isUndefined(p)){if(f.indexOf(p)!==-1)throw Error("Circular reference detected in "+g.join("."));f.push(p),d.forEach(p,function(S,$){(!(d.isUndefined(S)||S===null)&&s.call(e,S,d.isString($)?$.trim():$,g,b))===!0&&h(S,g?g.concat($):[$])}),f.pop()}}if(!d.isObject(t))throw new TypeError("data must be an object");return h(t),e}function Ut(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function wt(t,e){this._pairs=[],t&&Ke(t,this,e)}const Rn=wt.prototype;Rn.append=function(e,n){this._pairs.push([e,n])};Rn.toString=function(e){const n=e?function(r){return e.call(this,r,Ut)}:Ut;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function Ns(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function vn(t,e,n){if(!e)return t;const r=n&&n.encode||Ns,s=d.isFunction(n)?{serialize:n}:n,i=s&&s.serialize;let o;if(i?o=i(e,s):o=d.isURLSearchParams(e)?e.toString():new wt(e,s).toString(r),o){const a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+o}return t}class Dt{constructor(){this.handlers=[]}use(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){d.forEach(this.handlers,function(r){r!==null&&e(r)})}}const xt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},Bs=typeof URLSearchParams<"u"?URLSearchParams:wt,Us=typeof FormData<"u"?FormData:null,Ds=typeof Blob<"u"?Blob:null,zs={isBrowser:!0,classes:{URLSearchParams:Bs,FormData:Us,Blob:Ds},protocols:["http","https","file","blob","url","data"]},yt=typeof window<"u"&&typeof document<"u",at=typeof navigator=="object"&&navigator||void 0,Ms=yt&&(!at||["ReactNative","NativeScript","NS"].indexOf(at.product)<0),Fs=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",js=yt&&window.location.href||"http://localhost",qs=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:yt,hasStandardBrowserEnv:Ms,hasStandardBrowserWebWorkerEnv:Fs,navigator:at,origin:js},Symbol.toStringTag,{value:"Module"})),D={...qs,...zs};function Hs(t,e){return Ke(t,new D.classes.URLSearchParams,{visitor:function(n,r,s,i){return D.isNode&&d.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...e})}function Vs(t){return d.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function Ws(t){const e={},n=Object.keys(t);let r;const s=n.length;let i;for(r=0;r=n.length;return o=!o&&d.isArray(s)?s.length:o,u?(d.hasOwnProp(s,o)?s[o]=[s[o],r]:s[o]=r,!a):((!s[o]||!d.isObject(s[o]))&&(s[o]=[]),e(n,r,s[o],i)&&d.isArray(s[o])&&(s[o]=Ws(s[o])),!a)}if(d.isFormData(t)&&d.isFunction(t.entries)){const n={};return d.forEachEntry(t,(r,s)=>{e(Vs(r),s,n,0)}),n}return null}function Js(t,e,n){if(d.isString(t))try{return(e||JSON.parse)(t),d.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}const Ce={transitional:xt,adapter:["xhr","http","fetch"],transformRequest:[function(e,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,i=d.isObject(e);if(i&&d.isHTMLForm(e)&&(e=new FormData(e)),d.isFormData(e))return s?JSON.stringify(Tn(e)):e;if(d.isArrayBuffer(e)||d.isBuffer(e)||d.isStream(e)||d.isFile(e)||d.isBlob(e)||d.isReadableStream(e))return e;if(d.isArrayBufferView(e))return e.buffer;if(d.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Hs(e,this.formSerializer).toString();if((a=d.isFileList(e))||r.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return Ke(a?{"files[]":e}:e,u&&new u,this.formSerializer)}}return i||s?(n.setContentType("application/json",!1),Js(e)):e}],transformResponse:[function(e){const n=this.transitional||Ce.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(d.isResponse(e)||d.isReadableStream(e))return e;if(e&&d.isString(e)&&(r&&!this.responseType||s)){const o=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(e,this.parseReviver)}catch(a){if(o)throw a.name==="SyntaxError"?x.from(a,x.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:D.classes.FormData,Blob:D.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};d.forEach(["delete","get","head","post","put","patch"],t=>{Ce.headers[t]={}});const Ks=d.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Zs=t=>{const e={};let n,r,s;return t&&t.split(` -`).forEach(function(o){s=o.indexOf(":"),n=o.substring(0,s).trim().toLowerCase(),r=o.substring(s+1).trim(),!(!n||e[n]&&Ks[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},zt=Symbol("internals");function we(t){return t&&String(t).trim().toLowerCase()}function Ne(t){return t===!1||t==null?t:d.isArray(t)?t.map(Ne):String(t)}function Gs(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}const Qs=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Xe(t,e,n,r,s){if(d.isFunction(r))return r.call(this,e,n);if(s&&(e=n),!!d.isString(e)){if(d.isString(r))return e.indexOf(r)!==-1;if(d.isRegExp(r))return r.test(e)}}function Xs(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function Ys(t,e){const n=d.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(s,i,o){return this[r].call(this,e,s,i,o)},configurable:!0})})}let H=class{constructor(e){e&&this.set(e)}set(e,n,r){const s=this;function i(a,u,l){const c=we(u);if(!c)throw new Error("header name must be a non-empty string");const f=d.findKey(s,c);(!f||s[f]===void 0||l===!0||l===void 0&&s[f]!==!1)&&(s[f||u]=Ne(a))}const o=(a,u)=>d.forEach(a,(l,c)=>i(l,c,u));if(d.isPlainObject(e)||e instanceof this.constructor)o(e,n);else if(d.isString(e)&&(e=e.trim())&&!Qs(e))o(Zs(e),n);else if(d.isObject(e)&&d.isIterable(e)){let a={},u,l;for(const c of e){if(!d.isArray(c))throw TypeError("Object iterator must return a key-value pair");a[l=c[0]]=(u=a[l])?d.isArray(u)?[...u,c[1]]:[u,c[1]]:c[1]}o(a,n)}else e!=null&&i(n,e,r);return this}get(e,n){if(e=we(e),e){const r=d.findKey(this,e);if(r){const s=this[r];if(!n)return s;if(n===!0)return Gs(s);if(d.isFunction(n))return n.call(this,s,r);if(d.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=we(e),e){const r=d.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||Xe(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let s=!1;function i(o){if(o=we(o),o){const a=d.findKey(r,o);a&&(!n||Xe(r,r[a],a,n))&&(delete r[a],s=!0)}}return d.isArray(e)?e.forEach(i):i(e),s}clear(e){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const i=n[r];(!e||Xe(this,this[i],i,e,!0))&&(delete this[i],s=!0)}return s}normalize(e){const n=this,r={};return d.forEach(this,(s,i)=>{const o=d.findKey(r,i);if(o){n[o]=Ne(s),delete n[i];return}const a=e?Xs(i):String(i).trim();a!==i&&delete n[i],n[a]=Ne(s),r[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return d.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=e&&d.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(` -`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const r=new this(e);return n.forEach(s=>r.set(s)),r}static accessor(e){const r=(this[zt]=this[zt]={accessors:{}}).accessors,s=this.prototype;function i(o){const a=we(o);r[a]||(Ys(s,o),r[a]=!0)}return d.isArray(e)?e.forEach(i):i(e),this}};H.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);d.reduceDescriptors(H.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}});d.freezeMethods(H);function Ye(t,e){const n=this||Ce,r=e||n,s=H.from(r.headers);let i=r.data;return d.forEach(t,function(a){i=a.call(n,i,s.normalize(),e?e.status:void 0)}),s.normalize(),i}function En(t){return!!(t&&t.__CANCEL__)}let _e=class extends x{constructor(e,n,r){super(e??"canceled",x.ERR_CANCELED,n,r),this.name="CanceledError",this.__CANCEL__=!0}};function Cn(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new x("Request failed with status code "+n.status,[x.ERR_BAD_REQUEST,x.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function ei(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function ti(t,e){t=t||10;const n=new Array(t),r=new Array(t);let s=0,i=0,o;return e=e!==void 0?e:1e3,function(u){const l=Date.now(),c=r[i];o||(o=l),n[s]=u,r[s]=l;let f=i,b=0;for(;f!==s;)b+=n[f++],f=f%t;if(s=(s+1)%t,s===i&&(i=(i+1)%t),l-o{n=c,s=null,i&&(clearTimeout(i),i=null),t(...l)};return[(...l)=>{const c=Date.now(),f=c-n;f>=r?o(l,c):(s=l,i||(i=setTimeout(()=>{i=null,o(s)},r-f)))},()=>s&&o(s)]}const je=(t,e,n=3)=>{let r=0;const s=ti(50,250);return ni(i=>{const o=i.loaded,a=i.lengthComputable?i.total:void 0,u=o-r,l=s(u),c=o<=a;r=o;const f={loaded:o,total:a,progress:a?o/a:void 0,bytes:u,rate:l||void 0,estimated:l&&a&&c?(a-o)/l:void 0,event:i,lengthComputable:a!=null,[e?"download":"upload"]:!0};t(f)},n)},Mt=(t,e)=>{const n=t!=null;return[r=>e[0]({lengthComputable:n,total:t,loaded:r}),e[1]]},Ft=t=>(...e)=>d.asap(()=>t(...e)),ri=D.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,D.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(D.origin),D.navigator&&/(msie|trident)/i.test(D.navigator.userAgent)):()=>!0,si=D.hasStandardBrowserEnv?{write(t,e,n,r,s,i,o){if(typeof document>"u")return;const a=[`${t}=${encodeURIComponent(e)}`];d.isNumber(n)&&a.push(`expires=${new Date(n).toUTCString()}`),d.isString(r)&&a.push(`path=${r}`),d.isString(s)&&a.push(`domain=${s}`),i===!0&&a.push("secure"),d.isString(o)&&a.push(`SameSite=${o}`),document.cookie=a.join("; ")},read(t){if(typeof document>"u")return null;const e=document.cookie.match(new RegExp("(?:^|; )"+t+"=([^;]*)"));return e?decodeURIComponent(e[1]):null},remove(t){this.write(t,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function ii(t){return typeof t!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function oi(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function _n(t,e,n){let r=!ii(e);return t&&(r||n==!1)?oi(t,e):e}const jt=t=>t instanceof H?{...t}:t;function le(t,e){e=e||{};const n={};function r(l,c,f,b){return d.isPlainObject(l)&&d.isPlainObject(c)?d.merge.call({caseless:b},l,c):d.isPlainObject(c)?d.merge({},c):d.isArray(c)?c.slice():c}function s(l,c,f,b){if(d.isUndefined(c)){if(!d.isUndefined(l))return r(void 0,l,f,b)}else return r(l,c,f,b)}function i(l,c){if(!d.isUndefined(c))return r(void 0,c)}function o(l,c){if(d.isUndefined(c)){if(!d.isUndefined(l))return r(void 0,l)}else return r(void 0,c)}function a(l,c,f){if(f in e)return r(l,c);if(f in t)return r(void 0,l)}const u={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(l,c,f)=>s(jt(l),jt(c),f,!0)};return d.forEach(Object.keys({...t,...e}),function(c){if(c==="__proto__"||c==="constructor"||c==="prototype")return;const f=d.hasOwnProp(u,c)?u[c]:s,b=f(t[c],e[c],c);d.isUndefined(b)&&f!==a||(n[c]=b)}),n}const An=t=>{const e=le({},t);let{data:n,withXSRFToken:r,xsrfHeaderName:s,xsrfCookieName:i,headers:o,auth:a}=e;if(e.headers=o=H.from(o),e.url=vn(_n(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),a&&o.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),d.isFormData(n)){if(D.hasStandardBrowserEnv||D.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(d.isFunction(n.getHeaders)){const u=n.getHeaders(),l=["content-type","content-length"];Object.entries(u).forEach(([c,f])=>{l.includes(c.toLowerCase())&&o.set(c,f)})}}if(D.hasStandardBrowserEnv&&(r&&d.isFunction(r)&&(r=r(e)),r||r!==!1&&ri(e.url))){const u=s&&i&&si.read(i);u&&o.set(s,u)}return e},ai=typeof XMLHttpRequest<"u",li=ai&&function(t){return new Promise(function(n,r){const s=An(t);let i=s.data;const o=H.from(s.headers).normalize();let{responseType:a,onUploadProgress:u,onDownloadProgress:l}=s,c,f,b,h,p;function g(){h&&h(),p&&p(),s.cancelToken&&s.cancelToken.unsubscribe(c),s.signal&&s.signal.removeEventListener("abort",c)}let m=new XMLHttpRequest;m.open(s.method.toUpperCase(),s.url,!0),m.timeout=s.timeout;function S(){if(!m)return;const E=H.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),_={data:!a||a==="text"||a==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:E,config:t,request:m};Cn(function(O){n(O),g()},function(O){r(O),g()},_),m=null}"onloadend"in m?m.onloadend=S:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(S)},m.onabort=function(){m&&(r(new x("Request aborted",x.ECONNABORTED,t,m)),m=null)},m.onerror=function(w){const _=w&&w.message?w.message:"Network Error",I=new x(_,x.ERR_NETWORK,t,m);I.event=w||null,r(I),m=null},m.ontimeout=function(){let w=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const _=s.transitional||xt;s.timeoutErrorMessage&&(w=s.timeoutErrorMessage),r(new x(w,_.clarifyTimeoutError?x.ETIMEDOUT:x.ECONNABORTED,t,m)),m=null},i===void 0&&o.setContentType(null),"setRequestHeader"in m&&d.forEach(o.toJSON(),function(w,_){m.setRequestHeader(_,w)}),d.isUndefined(s.withCredentials)||(m.withCredentials=!!s.withCredentials),a&&a!=="json"&&(m.responseType=s.responseType),l&&([b,p]=je(l,!0),m.addEventListener("progress",b)),u&&m.upload&&([f,h]=je(u),m.upload.addEventListener("progress",f),m.upload.addEventListener("loadend",h)),(s.cancelToken||s.signal)&&(c=E=>{m&&(r(!E||E.type?new _e(null,t,m):E),m.abort(),m=null)},s.cancelToken&&s.cancelToken.subscribe(c),s.signal&&(s.signal.aborted?c():s.signal.addEventListener("abort",c)));const $=ei(s.url);if($&&D.protocols.indexOf($)===-1){r(new x("Unsupported protocol "+$+":",x.ERR_BAD_REQUEST,t));return}m.send(i||null)})},ci=(t,e)=>{const{length:n}=t=t?t.filter(Boolean):[];if(e||n){let r=new AbortController,s;const i=function(l){if(!s){s=!0,a();const c=l instanceof Error?l:this.reason;r.abort(c instanceof x?c:new _e(c instanceof Error?c.message:c))}};let o=e&&setTimeout(()=>{o=null,i(new x(`timeout of ${e}ms exceeded`,x.ETIMEDOUT))},e);const a=()=>{t&&(o&&clearTimeout(o),o=null,t.forEach(l=>{l.unsubscribe?l.unsubscribe(i):l.removeEventListener("abort",i)}),t=null)};t.forEach(l=>l.addEventListener("abort",i));const{signal:u}=r;return u.unsubscribe=()=>d.asap(a),u}},ui=function*(t,e){let n=t.byteLength;if(n{const s=di(t,e);let i=0,o,a=u=>{o||(o=!0,r&&r(u))};return new ReadableStream({async pull(u){try{const{done:l,value:c}=await s.next();if(l){a(),u.close();return}let f=c.byteLength;if(n){let b=i+=f;n(b)}u.enqueue(new Uint8Array(c))}catch(l){throw a(l),l}},cancel(u){return a(u),s.return()}},{highWaterMark:2})},Ht=64*1024,{isFunction:$e}=d,fi=(({Request:t,Response:e})=>({Request:t,Response:e}))(d.global),{ReadableStream:Vt,TextEncoder:Wt}=d.global,Jt=(t,...e)=>{try{return!!t(...e)}catch{return!1}},hi=t=>{t=d.merge.call({skipUndefined:!0},fi,t);const{fetch:e,Request:n,Response:r}=t,s=e?$e(e):typeof fetch=="function",i=$e(n),o=$e(r);if(!s)return!1;const a=s&&$e(Vt),u=s&&(typeof Wt=="function"?(p=>g=>p.encode(g))(new Wt):async p=>new Uint8Array(await new n(p).arrayBuffer())),l=i&&a&&Jt(()=>{let p=!1;const g=new n(D.origin,{body:new Vt,method:"POST",get duplex(){return p=!0,"half"}}).headers.has("Content-Type");return p&&!g}),c=o&&a&&Jt(()=>d.isReadableStream(new r("").body)),f={stream:c&&(p=>p.body)};s&&["text","arrayBuffer","blob","formData","stream"].forEach(p=>{!f[p]&&(f[p]=(g,m)=>{let S=g&&g[p];if(S)return S.call(g);throw new x(`Response type '${p}' is not supported`,x.ERR_NOT_SUPPORT,m)})});const b=async p=>{if(p==null)return 0;if(d.isBlob(p))return p.size;if(d.isSpecCompliantForm(p))return(await new n(D.origin,{method:"POST",body:p}).arrayBuffer()).byteLength;if(d.isArrayBufferView(p)||d.isArrayBuffer(p))return p.byteLength;if(d.isURLSearchParams(p)&&(p=p+""),d.isString(p))return(await u(p)).byteLength},h=async(p,g)=>{const m=d.toFiniteNumber(p.getContentLength());return m??b(g)};return async p=>{let{url:g,method:m,data:S,signal:$,cancelToken:E,timeout:w,onDownloadProgress:_,onUploadProgress:I,responseType:O,headers:M,withCredentials:X="same-origin",fetchOptions:Ae}=An(p),me=e||fetch;O=O?(O+"").toLowerCase():"text";let ne=ci([$,E&&E.toAbortSignal()],w),C=null;const P=ne&&ne.unsubscribe&&(()=>{ne.unsubscribe()});let B;try{if(I&&l&&m!=="get"&&m!=="head"&&(B=await h(M,S))!==0){let ee=new n(g,{method:"POST",body:S,duplex:"half"}),ue;if(d.isFormData(S)&&(ue=ee.headers.get("content-type"))&&M.setContentType(ue),ee.body){const[Ge,Oe]=Mt(B,je(Ft(I)));S=qt(ee.body,Ht,Ge,Oe)}}d.isString(X)||(X=X?"include":"omit");const F=i&&"credentials"in n.prototype,Rt={...Ae,signal:ne,method:m.toUpperCase(),headers:M.normalize().toJSON(),body:S,duplex:"half",credentials:F?X:void 0};C=i&&new n(g,Rt);let Y=await(i?me(C,Ae):me(g,Rt));const vt=c&&(O==="stream"||O==="response");if(c&&(_||vt&&P)){const ee={};["status","statusText","headers"].forEach(Tt=>{ee[Tt]=Y[Tt]});const ue=d.toFiniteNumber(Y.headers.get("content-length")),[Ge,Oe]=_&&Mt(ue,je(Ft(_),!0))||[];Y=new r(qt(Y.body,Ht,Ge,()=>{Oe&&Oe(),P&&P()}),ee)}O=O||"text";let Dn=await f[d.findKey(f,O)||"text"](Y,p);return!vt&&P&&P(),await new Promise((ee,ue)=>{Cn(ee,ue,{data:Dn,headers:H.from(Y.headers),status:Y.status,statusText:Y.statusText,config:p,request:C})})}catch(F){throw P&&P(),F&&F.name==="TypeError"&&/Load failed|fetch/i.test(F.message)?Object.assign(new x("Network Error",x.ERR_NETWORK,p,C,F&&F.response),{cause:F.cause||F}):x.from(F,F&&F.code,p,C,F&&F.response)}}},gi=new Map,On=t=>{let e=t&&t.env||{};const{fetch:n,Request:r,Response:s}=e,i=[r,s,n];let o=i.length,a=o,u,l,c=gi;for(;a--;)u=i[a],l=c.get(u),l===void 0&&c.set(u,l=a?new Map:hi(e)),c=l;return l};On();const St={http:$s,xhr:li,fetch:{get:On}};d.forEach(St,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Kt=t=>`- ${t}`,mi=t=>d.isFunction(t)||t===null||t===!1;function bi(t,e){t=d.isArray(t)?t:[t];const{length:n}=t;let r,s;const i={};for(let o=0;o`adapter ${u} `+(l===!1?"is not supported by the environment":"is not available in the build"));let a=n?o.length>1?`since : -`+o.map(Kt).join(` -`):" "+Kt(o[0]):"as no adapter specified";throw new x("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return s}const Pn={getAdapter:bi,adapters:St};function et(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new _e(null,t)}function Zt(t){return et(t),t.headers=H.from(t.headers),t.data=Ye.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Pn.getAdapter(t.adapter||Ce.adapter,t)(t).then(function(r){return et(t),r.data=Ye.call(t,t.transformResponse,r),r.headers=H.from(r.headers),r},function(r){return En(r)||(et(t),r&&r.response&&(r.response.data=Ye.call(t,t.transformResponse,r.response),r.response.headers=H.from(r.response.headers))),Promise.reject(r)})}const $n="1.13.6",Ze={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Ze[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const Gt={};Ze.transitional=function(e,n,r){function s(i,o){return"[Axios v"+$n+"] Transitional option '"+i+"'"+o+(r?". "+r:"")}return(i,o,a)=>{if(e===!1)throw new x(s(o," has been removed"+(n?" in "+n:"")),x.ERR_DEPRECATED);return n&&!Gt[o]&&(Gt[o]=!0,console.warn(s(o," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(i,o,a):!0}};Ze.spelling=function(e){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};function ki(t,e,n){if(typeof t!="object")throw new x("options must be an object",x.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let s=r.length;for(;s-- >0;){const i=r[s],o=e[i];if(o){const a=t[i],u=a===void 0||o(a,i,t);if(u!==!0)throw new x("option "+i+" must be "+u,x.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new x("Unknown option "+i,x.ERR_BAD_OPTION)}}const Be={assertOptions:ki,validators:Ze},V=Be.validators;let oe=class{constructor(e){this.defaults=e||{},this.interceptors={request:new Dt,response:new Dt}}async request(e,n){try{return await this._request(e,n)}catch(r){if(r instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const i=s.stack?s.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=` -`+i):r.stack=i}catch{}}throw r}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=le(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:i}=n;r!==void 0&&Be.assertOptions(r,{silentJSONParsing:V.transitional(V.boolean),forcedJSONParsing:V.transitional(V.boolean),clarifyTimeoutError:V.transitional(V.boolean),legacyInterceptorReqResOrdering:V.transitional(V.boolean)},!1),s!=null&&(d.isFunction(s)?n.paramsSerializer={serialize:s}:Be.assertOptions(s,{encode:V.function,serialize:V.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Be.assertOptions(n,{baseUrl:V.spelling("baseURL"),withXsrfToken:V.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=i&&d.merge(i.common,i[n.method]);i&&d.forEach(["delete","get","head","post","put","patch","common"],p=>{delete i[p]}),n.headers=H.concat(o,i);const a=[];let u=!0;this.interceptors.request.forEach(function(g){if(typeof g.runWhen=="function"&&g.runWhen(n)===!1)return;u=u&&g.synchronous;const m=n.transitional||xt;m&&m.legacyInterceptorReqResOrdering?a.unshift(g.fulfilled,g.rejected):a.push(g.fulfilled,g.rejected)});const l=[];this.interceptors.response.forEach(function(g){l.push(g.fulfilled,g.rejected)});let c,f=0,b;if(!u){const p=[Zt.bind(this),void 0];for(p.unshift(...a),p.push(...l),b=p.length,c=Promise.resolve(n);f{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](s);r._listeners=null}),this.promise.then=s=>{let i;const o=new Promise(a=>{r.subscribe(a),i=a}).then(s);return o.cancel=function(){r.unsubscribe(i)},o},e(function(i,o,a){r.reason||(r.reason=new _e(i,o,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const e=new AbortController,n=r=>{e.abort(r)};return this.subscribe(n),e.signal.unsubscribe=()=>this.unsubscribe(n),e.signal}static source(){let e;return{token:new Ln(function(s){e=s}),cancel:e}}};function xi(t){return function(n){return t.apply(null,n)}}function yi(t){return d.isObject(t)&&t.isAxiosError===!0}const lt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(lt).forEach(([t,e])=>{lt[e]=t});function In(t){const e=new oe(t),n=fn(oe.prototype.request,e);return d.extend(n,oe.prototype,e,{allOwnKeys:!0}),d.extend(n,e,null,{allOwnKeys:!0}),n.create=function(s){return In(le(t,s))},n}const A=In(Ce);A.Axios=oe;A.CanceledError=_e;A.CancelToken=wi;A.isCancel=En;A.VERSION=$n;A.toFormData=Ke;A.AxiosError=x;A.Cancel=A.CanceledError;A.all=function(e){return Promise.all(e)};A.spread=xi;A.isAxiosError=yi;A.mergeConfig=le;A.AxiosHeaders=H;A.formToJSON=t=>Tn(d.isHTMLForm(t)?new FormData(t):t);A.getAdapter=Pn.getAdapter;A.HttpStatusCode=lt;A.default=A;const{Axios:Zu,AxiosError:Gu,CanceledError:Qu,isCancel:Xu,CancelToken:Yu,VERSION:ed,all:td,Cancel:nd,isAxiosError:rd,spread:sd,toFormData:id,AxiosHeaders:od,HttpStatusCode:ad,formToJSON:ld,getAdapter:cd,mergeConfig:ud}=A,Si=3e3;function Ri(t,e,n){const r=N(!1);let s=null;async function i(){try{const u={};e.value&&(u.since=e.value);const{data:l}=await A.get(t,{params:u}),c=l.data??[];c.length>0&&n(c)}catch(u){console.error("Polling failed:",u)}}function o(){s||(r.value=!0,i(),s=setInterval(i,Si))}function a(){s&&(clearInterval(s),s=null),r.value=!1}return{start:o,stop:a,isPolling:r}}function vi(t,e){const n=N(null),r=pe([]),s=N(null),i=N(!1),o=N(!1),a=N(""),u=N(!1),l=De(()=>a.value.trim().length>0),c=N(!1),f=De(()=>{const w=r.value;return w.length>0?w[w.length-1].id:null});function b(w){if(w.length===0)return;const _=new Set(r.value.map(O=>O.id)),I=w.filter(O=>!_.has(O.id));I.length!==0&&(r.value.push(...I),c.value=!1,h.stop(),xe(()=>g()))}const h=Ri(t,f,b);function p(){var _;const w=(e==null?void 0:e.data)??[];r.value=[...w].reverse(),s.value=((_=e==null?void 0:e.meta)==null?void 0:_.next_cursor)??null,i.value=s.value!==null}function g(){const w=n.value;w&&(w.scrollTop=w.scrollHeight)}async function m(){await xe();const w=n.value;w&&i.value&&w.scrollHeight<=w.clientHeight&&S()}async function S(){var I;if(o.value||!i.value)return;o.value=!0;const w=n.value,_=w.scrollHeight;try{const O=`${t}?cursor=${s.value}`,{data:M}=await A.get(O),X=(M.data??[]).reverse();r.value=[...X,...r.value],s.value=((I=M.meta)==null?void 0:I.next_cursor)??null,i.value=s.value!==null,await xe(),w.scrollTop=w.scrollHeight-_}finally{o.value=!1,m()}}async function $(w){if(!(!l.value||u.value)){u.value=!0;try{const{data:_}=await A.post(w,{content:a.value});r.value.push(_.data),a.value="",c.value=!0,await xe(),g(),h.start()}finally{u.value=!1}}}function E(){const w=n.value;w&&w.scrollTop<50&&i.value&&S()}return{messageContainer:n,allMessages:r,hasMore:i,loadingOlder:o,newMessage:a,sending:u,hasNewInput:l,waitingForReply:c,polling:h,initMessages:p,scrollToBottom:g,loadIfNotScrollable:m,sendMessage:$,onScroll:E}}const{Form:dd,Head:Ti,Link:pd,router:Nn,toggleArchitecturalBackground:fd,useArchitecturalBackground:hd,useForm:Ei,usePoll:gd}=__STATAMIC__.inertia;function Ci(t,e,n){const r=N(t),s=N(!1),i=N(""),o=N(!1),a=N(!1),u=N(!1);function l(){i.value=r.value,s.value=!0}async function c(){if(!(o.value||!i.value.trim())){o.value=!0;try{const{data:b}=await A.patch(e,{title:i.value.trim()});return r.value=b.title,s.value=!1,b.title}finally{o.value=!1}}}function f(){u.value||(u.value=!0,Nn.delete(n,{onFinish:()=>u.value=!1}))}return{title:r,showRenameModal:s,renameInput:i,renaming:o,showDeleteModal:a,deleting:u,openRenameModal:l,submitRename:c,deleteConversation:f}}function _i(t){return new Date(t).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})}const Ai=["innerHTML"],Oi={key:1,class:"whitespace-pre-wrap text-sm"},Pi={class:"mt-1 text-xs text-gray-400"},Bn={__name:"Message",props:{message:{type:Object,required:!0}},setup(t){return(e,n)=>(L(),j("div",{class:Se([t.message.role==="user"?"bg-primary text-gray-100 justify-self-end":"bg-gray-100 text-gray-900 justify-self-start","sm:max-w-[90%] md:max-w-[80%] rounded-lg px-4 py-2"])},[t.message.role==="ai_assistant"?(L(),j("div",{key:0,class:"prose prose-sm",innerHTML:k(R)(t.message.content)},null,8,Ai)):(L(),j("p",Oi,te(t.message.content),1)),U("p",Pi,te(k(_i)(t.message.created_at)),1)],2))}},$i={class:"flex items-center py-4 text-lg"},Li={class:"cursor-pointer hover:text-primary transition-colors"},Ii={class:"relative flex-1"},Ni={key:0,class:"mb-4 text-center text-sm text-gray-400 animate-pulse"},Bi={key:1,class:"mb-4 text-center text-sm text-gray-400"},Ui={class:"flex items-center justify-end space-x-3 pt-3 pb-1"},Di={__name:"Conversation",props:{conversationId:String,conversationTitle:String,initialMessages:Object,messagesUrl:String,storeMessageUrl:String,updateTitleUrl:String,deleteUrl:String,sidebarOpen:Boolean},emits:["toggle-sidebar","title-updated"],setup(t,{emit:e}){R.setOptions({breaks:!0,gfm:!0});const n=t,r=e,{messageContainer:s,allMessages:i,hasMore:o,loadingOlder:a,newMessage:u,sending:l,hasNewInput:c,waitingForReply:f,polling:b,initMessages:h,scrollToBottom:p,loadIfNotScrollable:g,sendMessage:m,onScroll:S}=vi(n.messagesUrl,n.initialMessages),{title:$,showRenameModal:E,renameInput:w,renaming:_,showDeleteModal:I,deleting:O,openRenameModal:M,submitRename:X,deleteConversation:Ae}=Ci(n.conversationTitle,n.updateTitleUrl,n.deleteUrl);async function me(){const C=await X();C&&r("title-updated",C)}function ne(){m(n.storeMessageUrl)}return qn(()=>{h(),xe(()=>{p(),g();const C=i.value[i.value.length-1];C&&C.role==="user"&&(f.value=!0,b.start())})}),Hn(()=>{b.stop()}),(C,P)=>(L(),j(Ue,null,[v(k(Yt),{class:Se([{"max-md:opacity-0 max-md:pointer-events-none":t.sidebarOpen},"flex flex-col flex-1 min-w-0 content-card divide-y divide-gray-200 transition-opacity duration-300"])},{default:W(()=>[U("div",$i,[v(k(Q),{title:t.sidebarOpen?C.__("ai-entries-assistant::frontend.conversation.close_sidebar"):C.__("ai-entries-assistant::frontend.conversation.open_sidebar"),icon:"burger-menu-no-border","icon-only":"",size:"sm",variant:"ghost",onClick:P[0]||(P[0]=B=>r("toggle-sidebar"))},null,8,["title"]),v(k(Jn),null,{trigger:W(()=>[U("button",Li,te(k($)),1)]),default:W(()=>[v(k(Kn),null,{default:W(()=>[v(k(Ct),{text:C.__("ai-entries-assistant::frontend.conversation.rename"),icon:"pencil",onClick:k(M)},null,8,["text","onClick"]),v(k(Zn)),v(k(Ct),{text:C.__("ai-entries-assistant::frontend.conversation.delete"),icon:"trash",variant:"destructive",onClick:P[1]||(P[1]=B=>I.value=!0)},null,8,["text"])]),_:1})]),_:1})]),U("div",Ii,[U("div",{ref_key:"messageContainer",ref:s,class:"absolute inset-0 overflow-y-auto px-4 py-4",onScroll:P[2]||(P[2]=(...B)=>k(S)&&k(S)(...B))},[k(a)?(L(),j("div",Ni,te(C.__("ai-entries-assistant::frontend.conversation.loading_older_messages")),1)):ie("",!0),!k(o)&&!k(a)?(L(),j("div",Bi,te(C.__("ai-entries-assistant::frontend.conversation.start_of_conversation")),1)):ie("",!0),(L(!0),j(Ue,null,Qt(k(i),B=>(L(),de(Bn,{key:B.id,message:B,class:"mb-4"},null,8,["message"]))),128)),k(f)?(L(),de(qr,{key:2})):ie("",!0)],544)]),U("div",null,[v(k(tt),{modelValue:k(u),"onUpdate:modelValue":P[3]||(P[3]=B=>Et(u)?u.value=B:null),disabled:k(l),placeholder:C.__("ai-entries-assistant::frontend.conversation.input_placeholder"),onKeydown:Xt(ne,["enter"])},{append:W(()=>[v(k(Q),{disabled:!k(c)||k(l),icon:"ai-spark",variant:"ghost",onClick:ne},null,8,["disabled"])]),_:1},8,["modelValue","disabled","placeholder"])])]),_:1},8,["class"]),v(k(Gn),{open:k(E),title:C.__("ai-entries-assistant::frontend.conversation.rename_modal_title"),blur:"","onUpdate:open":P[5]||(P[5]=B=>E.value=B)},{footer:W(()=>[U("div",Ui,[v(k(Qn),null,{default:W(()=>[v(k(Q),{text:C.__("ai-entries-assistant::frontend.conversation.cancel"),variant:"ghost"},null,8,["text"])]),_:1}),v(k(Q),{disabled:k(_)||!k(w).trim(),text:C.__("ai-entries-assistant::frontend.conversation.save"),variant:"primary",onClick:me},null,8,["disabled","text"])])]),default:W(()=>[U("form",{onSubmit:Vn(me,["prevent"])},[v(k(tt),{modelValue:k(w),"onUpdate:modelValue":P[4]||(P[4]=B=>Et(w)?w.value=B:null),disabled:k(_),focus:!0,placeholder:C.__("ai-entries-assistant::frontend.conversation.rename_modal_placeholder")},null,8,["modelValue","disabled","placeholder"])],32)]),_:1},8,["open","title"]),v(k(Wn),{"body-text":C.__("ai-entries-assistant::frontend.conversation.delete_modal_body"),busy:k(O),"button-text":C.__("ai-entries-assistant::frontend.conversation.delete"),danger:!0,open:k(I),title:C.__("ai-entries-assistant::frontend.conversation.delete_modal_title"),blur:"",onConfirm:k(Ae),"onUpdate:open":P[6]||(P[6]=B=>I.value=B)},null,8,["body-text","busy","button-text","open","title","onConfirm"])],64))}},zi={class:"w-full md:w-72 px-3 pt-5 space-y-5"},Mi={class:"text-right md:hidden"},Fi={class:"px-2 text-xs font-semibold text-gray-400 uppercase tracking-wider mb-2"},ji={key:0,class:"py-2 text-center text-xs text-gray-400 animate-pulse"},Un={__name:"ConversationSidebar",props:{initialConversations:Object,conversationsUrl:String,landingPageUrl:String,activeConversationId:String,open:Boolean},emits:["close"],setup(t,{expose:e,emit:n}){const r=t,s=n,i=pe([]),o=N(null),a=N(!1),u=N(!1);function l(){var p,g,m;const h=((p=r.initialConversations)==null?void 0:p.data)??[];i.value=h,o.value=((m=(g=r.initialConversations)==null?void 0:g.meta)==null?void 0:m.next_cursor)??null,a.value=o.value!==null}async function c(){var h;if(!(u.value||!a.value)){u.value=!0;try{const p=`${r.conversationsUrl}?cursor=${o.value}`,{data:g}=await A.get(p),m=g.data??[];i.value.push(...m),o.value=((h=g.meta)==null?void 0:h.next_cursor)??null,a.value=o.value!==null}finally{u.value=!1}}}function f(h){Nn.visit(h)}function b(h,p){const g=i.value.find(m=>m.id===h);g&&(g.title=p)}return e({updateConversationTitle:b}),l(),(h,p)=>(L(),j("aside",{class:Se([t.open?"max-md:w-full md:w-72":"w-0","max-md:absolute max-md:inset-y-0 max-md:left-0 max-md:z-10 shrink-0 overflow-y-auto overflow-x-hidden transition-all duration-200 ease-in-out"])},[U("div",zi,[U("div",Mi,[v(k(Q),{icon:"x","icon-only":"",size:"sm",variant:"ghost",onClick:p[0]||(p[0]=g=>s("close"))})]),v(k(Q),{text:h.__("ai-entries-assistant::frontend.sidebar.new_conversation"),class:"w-full",icon:"add-circle",variant:"primary",onClick:p[1]||(p[1]=g=>f(t.landingPageUrl))},null,8,["text"]),U("div",null,[U("h2",Fi,te(h.__("ai-entries-assistant::frontend.sidebar.conversations")),1),(L(!0),j(Ue,null,Qt(i.value,g=>(L(),de(k(Q),{key:g.id,text:g.short_title||h.__("ai-entries-assistant::frontend.conversation.untitled"),variant:g.id===t.activeConversationId?"filled":"ghost",class:"w-full mb-0.5 truncate justify-start",onClick:m=>f(g.url)},null,8,["text","variant","onClick"]))),128)),u.value?(L(),j("div",ji,te(h.__("ai-entries-assistant::frontend.conversation.loading")),1)):ie("",!0),a.value&&!u.value?(L(),de(k(Q),{key:1,text:h.__("ai-entries-assistant::frontend.sidebar.load_more"),class:"w-full mt-1",size:"sm",variant:"ghost",onClick:c},null,8,["text"])):ie("",!0)])])],2))}},qi={class:"h-full flex flex-col"},Hi={__name:"Conversation",props:{conversationId:String,conversationTitle:String,initialMessages:Object,initialConversations:Object,landingPageUrl:String,conversationsUrl:String,messagesUrl:String,storeMessageUrl:String,updateTitleUrl:String,deleteUrl:String},setup(t){const e=t,n=pe(!0),r=pe(null);function s(){n.value=!n.value}function i(o){var a;(a=r.value)==null||a.updateConversationTitle(e.conversationId,o)}return(o,a)=>(L(),j("div",qi,[v(k(en),{title:o.__("ai-entries-assistant::frontend.landing_page.title"),icon:"ai-spark"},null,8,["title"]),v(k(tn),{class:"relative flex flex-row flex-1 min-h-0"},{default:W(()=>[v(Un,{ref_key:"sidebarRef",ref:r,"active-conversation-id":t.conversationId,"conversations-url":t.conversationsUrl,"initial-conversations":t.initialConversations,"landing-page-url":t.landingPageUrl,open:n.value,onClose:a[0]||(a[0]=u=>n.value=!1)},null,8,["active-conversation-id","conversations-url","initial-conversations","landing-page-url","open"]),v(Di,{"conversation-id":t.conversationId,"conversation-title":t.conversationTitle,"delete-url":t.deleteUrl,"initial-messages":t.initialMessages,"messages-url":t.messagesUrl,"sidebar-open":n.value,"store-message-url":t.storeMessageUrl,"update-title-url":t.updateTitleUrl,onToggleSidebar:s,onTitleUpdated:i},null,8,["conversation-id","conversation-title","delete-url","initial-messages","messages-url","sidebar-open","store-message-url","update-title-url"])]),_:1})]))}},Vi=Object.freeze(Object.defineProperty({__proto__:null,default:Hi},Symbol.toStringTag,{value:"Module"})),Wi={class:"flex items-center py-4 text-lg"},Ji={class:"relative flex-1"},Ki={class:"absolute inset-0 overflow-y-auto py-4"},Zi={__name:"NewConversation",props:{sidebarOpen:{type:Boolean,default:!0},showSidebarToggle:{type:Boolean,default:!0},startConversationUrl:String},emits:["toggle-sidebar"],setup(t,{emit:e}){const n=e,r=t,s=N(""),i=De(()=>s.value.trim().length>0),o=Ei({content:null}),a={role:"ai_assistant",content:__("ai-entries-assistant::frontend.new_conversation.welcome_message"),created_at:new Date().toISOString()};function u(){o.post(r.startConversationUrl,{preserveScroll:!0})}return(l,c)=>(L(),j(Ue,null,[v(k(Ti),{title:l.__("ai-entries-assistant::frontend.conversations.welcome_message")},null,8,["title"]),v(k(Yt),{class:Se([{"max-md:opacity-0 max-md:pointer-events-none":t.sidebarOpen},"flex flex-col flex-1 min-w-0 content-card divide-y divide-gray-200 transition-opacity duration-500"])},{default:W(()=>[U("div",Wi,[t.showSidebarToggle?(L(),de(k(Q),{key:0,title:t.sidebarOpen?l.__("ai-entries-assistant::frontend.conversation.close_sidebar"):l.__("ai-entries-assistant::frontend.conversation.open_sidebar"),icon:"burger-menu-no-border","icon-only":"",size:"sm",variant:"ghost",onClick:c[0]||(c[0]=f=>n("toggle-sidebar"))},null,8,["title"])):ie("",!0),U("h2",{class:Se(t.showSidebarToggle?"ml-0":"ml-2")},te(l.__("ai-entries-assistant::frontend.new_conversation.title")),3)]),U("div",Ji,[U("div",Ki,[v(Bn,{message:a})])]),U("div",null,[v(k(tt),{modelValue:k(o).content,"onUpdate:modelValue":c[1]||(c[1]=f=>k(o).content=f),disabled:k(o).processing,placeholder:l.__("ai-entries-assistant::frontend.conversation.input_placeholder"),onKeydown:Xt(u,["enter"])},{append:W(()=>[v(k(Q),{disabled:!i.value||k(o).processing,icon:"ai-spark",variant:"ghost",onClick:u},null,8,["disabled"])]),_:1},8,["modelValue","disabled","placeholder"])])]),_:1},8,["class"])],64))}},Gi={class:"h-full flex flex-col"},Qi={__name:"LandingPage",props:{initialConversations:Object,conversationsUrl:String,landingPageUrl:String,startConversationUrl:String},setup(t){const e=t,n=De(()=>{var i,o;return(((o=(i=e.initialConversations)==null?void 0:i.data)==null?void 0:o.length)??0)>0}),r=pe(null),s=pe(!0);return(i,o)=>(L(),j("div",Gi,[v(k(en),{title:i.__("ai-entries-assistant::frontend.landing_page.title"),icon:"ai-spark"},null,8,["title"]),v(k(tn),{class:"relative flex flex-row flex-1 min-h-0"},{default:W(()=>[n.value?(L(),de(Un,{key:0,ref_key:"sidebarRef",ref:r,"active-conversation-id":null,"conversations-url":t.conversationsUrl,"initial-conversations":t.initialConversations,"landing-page-url":t.landingPageUrl,open:s.value,onClose:o[0]||(o[0]=a=>s.value=!1)},null,8,["conversations-url","initial-conversations","landing-page-url","open"])):ie("",!0),v(Zi,{"show-sidebar-toggle":n.value,"sidebar-open":s.value,"start-conversation-url":t.startConversationUrl,onToggleSidebar:o[1]||(o[1]=a=>s.value=!s.value)},null,8,["show-sidebar-toggle","sidebar-open","start-conversation-url"])]),_:1})]))}},Xi=Object.freeze(Object.defineProperty({__proto__:null,default:Qi},Symbol.toStringTag,{value:"Module"})),Yi=Object.assign({"../views/Conversation.vue":Vi,"../views/LandingPage.vue":Xi});Statamic.booting(()=>{Object.entries(Yi).forEach(([t,e])=>{const n=t.match(/\/(\w+)\.vue$/)[1];Statamic.$inertia.register(`ai-entries-assistant::${n}`,e.default)})}); diff --git a/resources/dist/build/assets/addon-DTXnjP_-.css b/resources/dist/build/assets/addon-DTXnjP_-.css new file mode 100644 index 0000000..02002bf --- /dev/null +++ b/resources/dist/build/assets/addon-DTXnjP_-.css @@ -0,0 +1 @@ +/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-900:oklch(21% .034 264.665);--spacing:.25rem;--breakpoint-md:48rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--font-weight-semibold:600;--tracking-wider:.05em;--radius-lg:.5rem;--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--animate-bounce:bounce 1s infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.inset-0{inset:calc(var(--spacing) * 0)}.start{inset-inline-start:var(--spacing)}.isolate{isolation:isolate}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);margin-top:1.2em;margin-bottom:1.2em;font-size:1.25em;line-height:1.6}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);font-weight:500;text-decoration:underline}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:decimal}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:disc}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-counters);font-weight:400}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.25em;font-weight:600}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em;font-style:italic;font-weight:500}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:0;margin-bottom:.888889em;font-size:2.25em;font-weight:800;line-height:1.11111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:900}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:2em;margin-bottom:1em;font-size:1.5em;font-weight:700;line-height:1.33333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:800}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.6em;margin-bottom:.6em;font-size:1.25em;font-weight:600;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.5em;margin-bottom:.5em;font-weight:600;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em;display:block}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-kbd);box-shadow:0 0 0 1px var(--tw-prose-kbd-shadows),0 3px 0 var(--tw-prose-kbd-shadows);padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;border-radius:.3125rem;padding-inline-start:.375em;font-family:inherit;font-size:.875em;font-weight:500}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-size:.875em;font-weight:600}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);padding-top:.857143em;padding-inline-end:1.14286em;padding-bottom:.857143em;border-radius:.375rem;margin-top:1.71429em;margin-bottom:1.71429em;padding-inline-start:1.14286em;font-size:.875em;font-weight:400;line-height:1.71429;overflow-x:auto}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit;background-color:#0000;border-width:0;border-radius:0;padding:0}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){table-layout:auto;width:100%;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.71429}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);vertical-align:bottom;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em;font-weight:600}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);margin-top:.857143em;font-size:.875em;line-height:1.42857}.prose{--tw-prose-body:oklch(37.3% .034 259.733);--tw-prose-headings:oklch(21% .034 264.665);--tw-prose-lead:oklch(44.6% .03 256.802);--tw-prose-links:oklch(21% .034 264.665);--tw-prose-bold:oklch(21% .034 264.665);--tw-prose-counters:oklch(55.1% .027 264.364);--tw-prose-bullets:oklch(87.2% .01 258.338);--tw-prose-hr:oklch(92.8% .006 264.531);--tw-prose-quotes:oklch(21% .034 264.665);--tw-prose-quote-borders:oklch(92.8% .006 264.531);--tw-prose-captions:oklch(55.1% .027 264.364);--tw-prose-kbd:oklch(21% .034 264.665);--tw-prose-kbd-shadows:oklab(21% -.00316127 -.0338527/.1);--tw-prose-code:oklch(21% .034 264.665);--tw-prose-pre-code:oklch(92.8% .006 264.531);--tw-prose-pre-bg:oklch(27.8% .033 256.848);--tw-prose-th-borders:oklch(87.2% .01 258.338);--tw-prose-td-borders:oklch(92.8% .006 264.531);--tw-prose-invert-body:oklch(87.2% .01 258.338);--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:oklch(70.7% .022 261.325);--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:oklch(70.7% .022 261.325);--tw-prose-invert-bullets:oklch(44.6% .03 256.802);--tw-prose-invert-hr:oklch(37.3% .034 259.733);--tw-prose-invert-quotes:oklch(96.7% .003 264.542);--tw-prose-invert-quote-borders:oklch(37.3% .034 259.733);--tw-prose-invert-captions:oklch(70.7% .022 261.325);--tw-prose-invert-kbd:#fff;--tw-prose-invert-kbd-shadows:#ffffff1a;--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:oklch(87.2% .01 258.338);--tw-prose-invert-pre-bg:#00000080;--tw-prose-invert-th-borders:oklch(44.6% .03 256.802);--tw-prose-invert-td-borders:oklch(37.3% .034 259.733);font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.571429em;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-sm{font-size:.875rem;line-height:1.71429}.prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em}.prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.888889em;margin-bottom:.888889em;font-size:1.28571em;line-height:1.55556}.prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.33333em;margin-bottom:1.33333em;padding-inline-start:1.11111em}.prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:.8em;font-size:2.14286em;line-height:1.2}.prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.6em;margin-bottom:.8em;font-size:1.42857em;line-height:1.4}.prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.55556em;margin-bottom:.444444em;font-size:1.28571em;line-height:1.55556}.prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.42857em;margin-bottom:.571429em;line-height:1.42857}.prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.142857em;padding-inline-end:.357143em;padding-bottom:.142857em;border-radius:.3125rem;padding-inline-start:.357143em;font-size:.857143em}.prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.857143em}.prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.888889em}.prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.666667em;padding-inline-end:1em;padding-bottom:.666667em;border-radius:.25rem;margin-top:1.66667em;margin-bottom:1.66667em;padding-inline-start:1em;font-size:.857143em;line-height:1.66667}.prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em;padding-inline-start:1.57143em}.prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.285714em;margin-bottom:.285714em}.prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.428571em}.prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.571429em;margin-bottom:.571429em}.prose-sm :where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.14286em}.prose-sm :where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.14286em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.571429em;margin-bottom:.571429em}.prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em}.prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.285714em;padding-inline-start:1.57143em}.prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.85714em;margin-bottom:2.85714em}.prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.857143em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.666667em;padding-inline-start:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.666667em;padding-inline-end:1em;padding-bottom:.666667em;padding-inline-start:1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.666667em;font-size:.857143em;line-height:1.33333}.prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.mt-1{margin-top:calc(var(--spacing) * 1)}.mb-0\.5{margin-bottom:calc(var(--spacing) * .5)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.ml-0{margin-left:calc(var(--spacing) * 0)}.ml-2{margin-left:calc(var(--spacing) * 2)}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.table{display:table}.h-2{height:calc(var(--spacing) * 2)}.h-full{height:100%}.min-h-0{min-height:calc(var(--spacing) * 0)}.w-0{width:calc(var(--spacing) * 0)}.w-2{width:calc(var(--spacing) * 2)}.w-full{width:100%}.min-w-0{min-width:calc(var(--spacing) * 0)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.animate-bounce{animation:var(--animate-bounce)}.animate-pulse{animation:var(--animate-pulse)}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1{gap:calc(var(--spacing) * 1)}:where(.space-y-5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing) * 3) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-x-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-gray-200>:not(:last-child)){border-color:var(--color-gray-200)}.justify-self-end{justify-self:flex-end}.justify-self-start{justify-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-400{background-color:var(--color-gray-400)}.bg-primary{background-color:var(--theme-color-primary)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pb-1{padding-bottom:calc(var(--spacing) * 1)}.text-center{text-align:center}.text-right{text-align:right}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.whitespace-pre-wrap{white-space:pre-wrap}.text-gray-100{color:var(--color-gray-100)}.text-gray-400{color:var(--color-gray-400)}.text-gray-900{color:var(--color-gray-900)}.uppercase{text-transform:uppercase}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.duration-500{--tw-duration:.5s;transition-duration:.5s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}@media(hover:hover){.hover\:text-primary:hover{color:var(--theme-color-primary)}}@media not all and (min-width:48rem){.max-md\:pointer-events-none{pointer-events:none}.max-md\:absolute{position:absolute}.max-md\:inset-y-0{inset-block:calc(var(--spacing) * 0)}.max-md\:left-0{left:calc(var(--spacing) * 0)}.max-md\:z-10{z-index:10}.max-md\:w-full{width:100%}.max-md\:opacity-0{opacity:0}}@media(min-width:40rem){.sm\:max-w-\[90\%\]{max-width:90%}}@media(min-width:48rem){.md\:hidden{display:none}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:max-w-\[80\%\]{max-width:80%}}}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{animation-timing-function:cubic-bezier(.8,0,1,1);transform:translateY(-25%)}50%{animation-timing-function:cubic-bezier(0,0,.2,1);transform:none}} diff --git a/resources/dist/build/manifest.json b/resources/dist/build/manifest.json index f2ded2b..c303065 100644 --- a/resources/dist/build/manifest.json +++ b/resources/dist/build/manifest.json @@ -1,11 +1,11 @@ { "resources/css/addon.css": { - "file": "assets/addon-B-uKzFTO.css", + "file": "assets/addon-DTXnjP_-.css", "src": "resources/css/addon.css", "isEntry": true }, "resources/js/addon.js": { - "file": "assets/addon-Cq6E9A8N.js", + "file": "assets/addon-C066j4y7.js", "name": "addon", "src": "resources/js/addon.js", "isEntry": true diff --git a/src/ServiceProvider.php b/src/ServiceProvider.php index 818e9ea..bb76714 100644 --- a/src/ServiceProvider.php +++ b/src/ServiceProvider.php @@ -29,14 +29,9 @@ final class ServiceProvider extends AddonServiceProvider public function bootAddon(): void { - $this->publishes([ - __DIR__.'/../config/ai-entries-assistant.php' => config_path('ai-entries-assistant.php'), - ], 'ai-entries-assistant-config'); - $this->publishes([ __DIR__.'/../resources/views' => resource_path('views/vendor/ai-entries-assistant'), ], 'ai-entries-assistant-views'); - $this->loadTranslationsFrom(__DIR__.'/../lang', 'ai-entries-assistant'); $this->loadMigrationsFrom(__DIR__.'/../database/migrations'); $this->bootNav(); $this->bootPermissions(); @@ -77,7 +72,6 @@ public function register(): void { parent::register(); - $this->mergeConfigFrom(__DIR__.'/../config/ai-entries-assistant.php', 'ai-entries-assistant'); $this->app->bind(ConversationRepositoryInterface::class, ConversationRepository::class); $this->app->bind(ConversationServiceInterface::class, ConversationService::class); $this->app->bind(MessageServiceInterface::class, MessageService::class); From a16879fd8ddb31de505c3b8d975476e4e239bdcc Mon Sep 17 00:00:00 2001 From: Jure Knezovic Date: Thu, 2 Apr 2026 16:13:49 +0200 Subject: [PATCH 2/4] chore(ci): add GitHub Actions workflow for automated releases using release-please --- .github/workflows/release.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..cdd1684 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,17 @@ +name: Release + +on: + push: + branches: [main] + +permissions: + contents: write + pull-requests: write + +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - uses: googleapis/release-please-action@v4 + with: + release-type: php From abf7b22f8143afc6954d164f18866c8dea73ac88 Mon Sep 17 00:00:00 2001 From: Jure Knezovic Date: Thu, 2 Apr 2026 16:20:49 +0200 Subject: [PATCH 3/4] chore(css): regenerate Tailwind CSS assets to reflect build updates --- resources/dist/build/assets/addon-CjK2-Hur.css | 1 + resources/dist/build/assets/addon-DTXnjP_-.css | 1 - resources/dist/build/manifest.json | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 resources/dist/build/assets/addon-CjK2-Hur.css delete mode 100644 resources/dist/build/assets/addon-DTXnjP_-.css diff --git a/resources/dist/build/assets/addon-CjK2-Hur.css b/resources/dist/build/assets/addon-CjK2-Hur.css new file mode 100644 index 0000000..18a3bca --- /dev/null +++ b/resources/dist/build/assets/addon-CjK2-Hur.css @@ -0,0 +1 @@ +/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-x-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-900:oklch(21% .034 264.665);--spacing:.25rem;--breakpoint-md:48rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--font-weight-semibold:600;--tracking-wider:.05em;--radius-lg:.5rem;--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--animate-bounce:bounce 1s infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.inset-0{inset:calc(var(--spacing) * 0)}.start{inset-inline-start:var(--spacing)}.isolate{isolation:isolate}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);margin-top:1.2em;margin-bottom:1.2em;font-size:1.25em;line-height:1.6}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);font-weight:500;text-decoration:underline}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:decimal}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:disc}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-counters);font-weight:400}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.25em;font-weight:600}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em;font-style:italic;font-weight:500}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:0;margin-bottom:.888889em;font-size:2.25em;font-weight:800;line-height:1.11111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:900}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:2em;margin-bottom:1em;font-size:1.5em;font-weight:700;line-height:1.33333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:800}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.6em;margin-bottom:.6em;font-size:1.25em;font-weight:600;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.5em;margin-bottom:.5em;font-weight:600;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em;display:block}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-kbd);box-shadow:0 0 0 1px var(--tw-prose-kbd-shadows),0 3px 0 var(--tw-prose-kbd-shadows);padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;border-radius:.3125rem;padding-inline-start:.375em;font-family:inherit;font-size:.875em;font-weight:500}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-size:.875em;font-weight:600}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);padding-top:.857143em;padding-inline-end:1.14286em;padding-bottom:.857143em;border-radius:.375rem;margin-top:1.71429em;margin-bottom:1.71429em;padding-inline-start:1.14286em;font-size:.875em;font-weight:400;line-height:1.71429;overflow-x:auto}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit;background-color:#0000;border-width:0;border-radius:0;padding:0}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){table-layout:auto;width:100%;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.71429}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);vertical-align:bottom;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em;font-weight:600}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);margin-top:.857143em;font-size:.875em;line-height:1.42857}.prose{--tw-prose-body:oklch(37.3% .034 259.733);--tw-prose-headings:oklch(21% .034 264.665);--tw-prose-lead:oklch(44.6% .03 256.802);--tw-prose-links:oklch(21% .034 264.665);--tw-prose-bold:oklch(21% .034 264.665);--tw-prose-counters:oklch(55.1% .027 264.364);--tw-prose-bullets:oklch(87.2% .01 258.338);--tw-prose-hr:oklch(92.8% .006 264.531);--tw-prose-quotes:oklch(21% .034 264.665);--tw-prose-quote-borders:oklch(92.8% .006 264.531);--tw-prose-captions:oklch(55.1% .027 264.364);--tw-prose-kbd:oklch(21% .034 264.665);--tw-prose-kbd-shadows:oklab(21% -.00316127 -.0338527/.1);--tw-prose-code:oklch(21% .034 264.665);--tw-prose-pre-code:oklch(92.8% .006 264.531);--tw-prose-pre-bg:oklch(27.8% .033 256.848);--tw-prose-th-borders:oklch(87.2% .01 258.338);--tw-prose-td-borders:oklch(92.8% .006 264.531);--tw-prose-invert-body:oklch(87.2% .01 258.338);--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:oklch(70.7% .022 261.325);--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:oklch(70.7% .022 261.325);--tw-prose-invert-bullets:oklch(44.6% .03 256.802);--tw-prose-invert-hr:oklch(37.3% .034 259.733);--tw-prose-invert-quotes:oklch(96.7% .003 264.542);--tw-prose-invert-quote-borders:oklch(37.3% .034 259.733);--tw-prose-invert-captions:oklch(70.7% .022 261.325);--tw-prose-invert-kbd:#fff;--tw-prose-invert-kbd-shadows:#ffffff1a;--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:oklch(87.2% .01 258.338);--tw-prose-invert-pre-bg:#00000080;--tw-prose-invert-th-borders:oklch(44.6% .03 256.802);--tw-prose-invert-td-borders:oklch(37.3% .034 259.733);font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.571429em;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-sm{font-size:.875rem;line-height:1.71429}.prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em}.prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.888889em;margin-bottom:.888889em;font-size:1.28571em;line-height:1.55556}.prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.33333em;margin-bottom:1.33333em;padding-inline-start:1.11111em}.prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:.8em;font-size:2.14286em;line-height:1.2}.prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.6em;margin-bottom:.8em;font-size:1.42857em;line-height:1.4}.prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.55556em;margin-bottom:.444444em;font-size:1.28571em;line-height:1.55556}.prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.42857em;margin-bottom:.571429em;line-height:1.42857}.prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.142857em;padding-inline-end:.357143em;padding-bottom:.142857em;border-radius:.3125rem;padding-inline-start:.357143em;font-size:.857143em}.prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.857143em}.prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.888889em}.prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.666667em;padding-inline-end:1em;padding-bottom:.666667em;border-radius:.25rem;margin-top:1.66667em;margin-bottom:1.66667em;padding-inline-start:1em;font-size:.857143em;line-height:1.66667}.prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em;padding-inline-start:1.57143em}.prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.285714em;margin-bottom:.285714em}.prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.428571em}.prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.571429em;margin-bottom:.571429em}.prose-sm :where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.14286em}.prose-sm :where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.14286em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.571429em;margin-bottom:.571429em}.prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em}.prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.285714em;padding-inline-start:1.57143em}.prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.85714em;margin-bottom:2.85714em}.prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.857143em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.666667em;padding-inline-start:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.666667em;padding-inline-end:1em;padding-bottom:.666667em;padding-inline-start:1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.666667em;font-size:.857143em;line-height:1.33333}.prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.mt-1{margin-top:calc(var(--spacing) * 1)}.mb-0\.5{margin-bottom:calc(var(--spacing) * .5)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.ml-0{margin-left:calc(var(--spacing) * 0)}.ml-2{margin-left:calc(var(--spacing) * 2)}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.table{display:table}.h-2{height:calc(var(--spacing) * 2)}.h-full{height:100%}.min-h-0{min-height:calc(var(--spacing) * 0)}.w-0{width:calc(var(--spacing) * 0)}.w-2{width:calc(var(--spacing) * 2)}.w-full{width:100%}.min-w-0{min-width:calc(var(--spacing) * 0)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.animate-bounce{animation:var(--animate-bounce)}.animate-pulse{animation:var(--animate-pulse)}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1{gap:calc(var(--spacing) * 1)}:where(.space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing) * 3) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-x-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-gray-200>:not(:last-child)){border-color:var(--color-gray-200)}.justify-self-end{justify-self:flex-end}.justify-self-start{justify-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-400{background-color:var(--color-gray-400)}.bg-primary{background-color:var(--theme-color-primary)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pb-1{padding-bottom:calc(var(--spacing) * 1)}.text-center{text-align:center}.text-right{text-align:right}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.whitespace-pre-wrap{white-space:pre-wrap}.text-gray-100{color:var(--color-gray-100)}.text-gray-400{color:var(--color-gray-400)}.text-gray-900{color:var(--color-gray-900)}.uppercase{text-transform:uppercase}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.duration-500{--tw-duration:.5s;transition-duration:.5s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}@media(hover:hover){.hover\:text-primary:hover{color:var(--theme-color-primary)}}@media not all and (min-width:48rem){.max-md\:pointer-events-none{pointer-events:none}.max-md\:absolute{position:absolute}.max-md\:inset-y-0{inset-block:calc(var(--spacing) * 0)}.max-md\:left-0{left:calc(var(--spacing) * 0)}.max-md\:z-10{z-index:10}.max-md\:w-full{width:100%}.max-md\:opacity-0{opacity:0}}@media(min-width:40rem){.sm\:max-w-\[90\%\]{max-width:90%}}@media(min-width:48rem){.md\:hidden{display:none}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:max-w-\[80\%\]{max-width:80%}}}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{animation-timing-function:cubic-bezier(.8,0,1,1);transform:translateY(-25%)}50%{animation-timing-function:cubic-bezier(0,0,.2,1);transform:none}} diff --git a/resources/dist/build/assets/addon-DTXnjP_-.css b/resources/dist/build/assets/addon-DTXnjP_-.css deleted file mode 100644 index 02002bf..0000000 --- a/resources/dist/build/assets/addon-DTXnjP_-.css +++ /dev/null @@ -1 +0,0 @@ -/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-900:oklch(21% .034 264.665);--spacing:.25rem;--breakpoint-md:48rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--font-weight-semibold:600;--tracking-wider:.05em;--radius-lg:.5rem;--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--animate-bounce:bounce 1s infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.inset-0{inset:calc(var(--spacing) * 0)}.start{inset-inline-start:var(--spacing)}.isolate{isolation:isolate}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);margin-top:1.2em;margin-bottom:1.2em;font-size:1.25em;line-height:1.6}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);font-weight:500;text-decoration:underline}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:decimal}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:disc}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-counters);font-weight:400}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.25em;font-weight:600}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em;font-style:italic;font-weight:500}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:0;margin-bottom:.888889em;font-size:2.25em;font-weight:800;line-height:1.11111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:900}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:2em;margin-bottom:1em;font-size:1.5em;font-weight:700;line-height:1.33333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:800}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.6em;margin-bottom:.6em;font-size:1.25em;font-weight:600;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.5em;margin-bottom:.5em;font-weight:600;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em;display:block}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-kbd);box-shadow:0 0 0 1px var(--tw-prose-kbd-shadows),0 3px 0 var(--tw-prose-kbd-shadows);padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;border-radius:.3125rem;padding-inline-start:.375em;font-family:inherit;font-size:.875em;font-weight:500}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-size:.875em;font-weight:600}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);padding-top:.857143em;padding-inline-end:1.14286em;padding-bottom:.857143em;border-radius:.375rem;margin-top:1.71429em;margin-bottom:1.71429em;padding-inline-start:1.14286em;font-size:.875em;font-weight:400;line-height:1.71429;overflow-x:auto}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit;background-color:#0000;border-width:0;border-radius:0;padding:0}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){table-layout:auto;width:100%;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.71429}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);vertical-align:bottom;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em;font-weight:600}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);margin-top:.857143em;font-size:.875em;line-height:1.42857}.prose{--tw-prose-body:oklch(37.3% .034 259.733);--tw-prose-headings:oklch(21% .034 264.665);--tw-prose-lead:oklch(44.6% .03 256.802);--tw-prose-links:oklch(21% .034 264.665);--tw-prose-bold:oklch(21% .034 264.665);--tw-prose-counters:oklch(55.1% .027 264.364);--tw-prose-bullets:oklch(87.2% .01 258.338);--tw-prose-hr:oklch(92.8% .006 264.531);--tw-prose-quotes:oklch(21% .034 264.665);--tw-prose-quote-borders:oklch(92.8% .006 264.531);--tw-prose-captions:oklch(55.1% .027 264.364);--tw-prose-kbd:oklch(21% .034 264.665);--tw-prose-kbd-shadows:oklab(21% -.00316127 -.0338527/.1);--tw-prose-code:oklch(21% .034 264.665);--tw-prose-pre-code:oklch(92.8% .006 264.531);--tw-prose-pre-bg:oklch(27.8% .033 256.848);--tw-prose-th-borders:oklch(87.2% .01 258.338);--tw-prose-td-borders:oklch(92.8% .006 264.531);--tw-prose-invert-body:oklch(87.2% .01 258.338);--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:oklch(70.7% .022 261.325);--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:oklch(70.7% .022 261.325);--tw-prose-invert-bullets:oklch(44.6% .03 256.802);--tw-prose-invert-hr:oklch(37.3% .034 259.733);--tw-prose-invert-quotes:oklch(96.7% .003 264.542);--tw-prose-invert-quote-borders:oklch(37.3% .034 259.733);--tw-prose-invert-captions:oklch(70.7% .022 261.325);--tw-prose-invert-kbd:#fff;--tw-prose-invert-kbd-shadows:#ffffff1a;--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:oklch(87.2% .01 258.338);--tw-prose-invert-pre-bg:#00000080;--tw-prose-invert-th-borders:oklch(44.6% .03 256.802);--tw-prose-invert-td-borders:oklch(37.3% .034 259.733);font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.571429em;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-sm{font-size:.875rem;line-height:1.71429}.prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em}.prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.888889em;margin-bottom:.888889em;font-size:1.28571em;line-height:1.55556}.prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.33333em;margin-bottom:1.33333em;padding-inline-start:1.11111em}.prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:.8em;font-size:2.14286em;line-height:1.2}.prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.6em;margin-bottom:.8em;font-size:1.42857em;line-height:1.4}.prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.55556em;margin-bottom:.444444em;font-size:1.28571em;line-height:1.55556}.prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.42857em;margin-bottom:.571429em;line-height:1.42857}.prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.142857em;padding-inline-end:.357143em;padding-bottom:.142857em;border-radius:.3125rem;padding-inline-start:.357143em;font-size:.857143em}.prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.857143em}.prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.888889em}.prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.666667em;padding-inline-end:1em;padding-bottom:.666667em;border-radius:.25rem;margin-top:1.66667em;margin-bottom:1.66667em;padding-inline-start:1em;font-size:.857143em;line-height:1.66667}.prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em;padding-inline-start:1.57143em}.prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.285714em;margin-bottom:.285714em}.prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.428571em}.prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.571429em;margin-bottom:.571429em}.prose-sm :where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.14286em}.prose-sm :where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.14286em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.571429em;margin-bottom:.571429em}.prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em}.prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.285714em;padding-inline-start:1.57143em}.prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.85714em;margin-bottom:2.85714em}.prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.857143em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.666667em;padding-inline-start:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.666667em;padding-inline-end:1em;padding-bottom:.666667em;padding-inline-start:1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.666667em;font-size:.857143em;line-height:1.33333}.prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.mt-1{margin-top:calc(var(--spacing) * 1)}.mb-0\.5{margin-bottom:calc(var(--spacing) * .5)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.ml-0{margin-left:calc(var(--spacing) * 0)}.ml-2{margin-left:calc(var(--spacing) * 2)}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.table{display:table}.h-2{height:calc(var(--spacing) * 2)}.h-full{height:100%}.min-h-0{min-height:calc(var(--spacing) * 0)}.w-0{width:calc(var(--spacing) * 0)}.w-2{width:calc(var(--spacing) * 2)}.w-full{width:100%}.min-w-0{min-width:calc(var(--spacing) * 0)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.animate-bounce{animation:var(--animate-bounce)}.animate-pulse{animation:var(--animate-pulse)}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1{gap:calc(var(--spacing) * 1)}:where(.space-y-5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing) * 3) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-x-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-gray-200>:not(:last-child)){border-color:var(--color-gray-200)}.justify-self-end{justify-self:flex-end}.justify-self-start{justify-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-400{background-color:var(--color-gray-400)}.bg-primary{background-color:var(--theme-color-primary)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pb-1{padding-bottom:calc(var(--spacing) * 1)}.text-center{text-align:center}.text-right{text-align:right}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.whitespace-pre-wrap{white-space:pre-wrap}.text-gray-100{color:var(--color-gray-100)}.text-gray-400{color:var(--color-gray-400)}.text-gray-900{color:var(--color-gray-900)}.uppercase{text-transform:uppercase}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.duration-500{--tw-duration:.5s;transition-duration:.5s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}@media(hover:hover){.hover\:text-primary:hover{color:var(--theme-color-primary)}}@media not all and (min-width:48rem){.max-md\:pointer-events-none{pointer-events:none}.max-md\:absolute{position:absolute}.max-md\:inset-y-0{inset-block:calc(var(--spacing) * 0)}.max-md\:left-0{left:calc(var(--spacing) * 0)}.max-md\:z-10{z-index:10}.max-md\:w-full{width:100%}.max-md\:opacity-0{opacity:0}}@media(min-width:40rem){.sm\:max-w-\[90\%\]{max-width:90%}}@media(min-width:48rem){.md\:hidden{display:none}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:max-w-\[80\%\]{max-width:80%}}}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{animation-timing-function:cubic-bezier(.8,0,1,1);transform:translateY(-25%)}50%{animation-timing-function:cubic-bezier(0,0,.2,1);transform:none}} diff --git a/resources/dist/build/manifest.json b/resources/dist/build/manifest.json index c303065..41bcafc 100644 --- a/resources/dist/build/manifest.json +++ b/resources/dist/build/manifest.json @@ -1,6 +1,6 @@ { "resources/css/addon.css": { - "file": "assets/addon-DTXnjP_-.css", + "file": "assets/addon-CjK2-Hur.css", "src": "resources/css/addon.css", "isEntry": true }, From 336fac35278fd1759b50f55e1d2e07efa0f3311e Mon Sep 17 00:00:00 2001 From: Jure Knezovic Date: Thu, 2 Apr 2026 16:22:07 +0200 Subject: [PATCH 4/4] chore: remove `.claude/settings.local.json` and update `.gitignore` to include `.claude` directory --- .claude/settings.local.json | 9 --------- .gitignore | 3 ++- 2 files changed, 2 insertions(+), 10 deletions(-) delete mode 100644 .claude/settings.local.json diff --git a/.claude/settings.local.json b/.claude/settings.local.json deleted file mode 100644 index cb250d1..0000000 --- a/.claude/settings.local.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "permissions": { - "allow": [ - "Bash(grep -E \"\\\\.md$|\\\\.php$|^d\")", - "Bash(grep -r \"chatbot\\\\|Chatbot\\\\|ai-entries-chatbot\\\\|AiEntriesChatbot\\\\|AI Chatbot\" /Users/jureknezovic/development/ai-entries-chatbot --include=*.yaml --include=*.yml --include=*.env* --include=*.md --include=*.lock)", - "Bash(git mv:*)" - ] - } -} diff --git a/.gitignore b/.gitignore index ef7741e..cb57917 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ node_modules vendor composer.lock .phpunit.result.cache -.idea \ No newline at end of file +.idea +.claude \ No newline at end of file