diff --git a/assets/pierre-ia.org/dist/css/style.1730544596700.css b/assets/pierre-ia.org/dist/css/style.1730544596700.css deleted file mode 100644 index 633ed48..0000000 --- a/assets/pierre-ia.org/dist/css/style.1730544596700.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! tailwindcss v4.0.0-alpha.30 | MIT License | https://tailwindcss.com */ -@font-face{font-family:Work Sans;font-weight:400;font-style:normal;src:url(../fonts/WorkSans-Regular.woff2)format("woff2"),url(../fonts/WorkSans-Regular.ttf)format("truetype")}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;font-optical-sizing:auto;src:url(../fonts/InterVariable.woff2)format("woff2"),url(../fonts/InterVariable.ttf)format("truetype")}@layer theme{:root{--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-family-sans);--default-font-feature-settings:"ss03","liga","calt","ss01","cv10","cv08";--default-font-variation-settings:var(--font-family-sans--font-variation-settings);--default-mono-font-family:var(--font-family-mono);--default-mono-font-feature-settings:var(--font-family-mono--font-feature-settings);--default-mono-font-variation-settings:var(--font-family-mono--font-variation-settings);--breakpoint-sm:40rem;--breakpoint-md:48rem;--breakpoint-lg:64rem;--breakpoint-xl:80rem;--breakpoint-2xl:96rem;--color-black:#000;--color-white:#fff;--color-slate-50:oklch(.984 .003 247.858);--color-slate-100:oklch(.968 .007 247.896);--color-slate-200:oklch(.929 .013 255.508);--color-slate-300:oklch(.869 .022 252.894);--color-slate-400:oklch(.704 .04 256.788);--color-slate-500:oklch(.554 .046 257.417);--color-slate-600:oklch(.446 .043 257.281);--color-slate-700:oklch(.372 .044 257.287);--color-slate-800:oklch(.279 .041 260.031);--color-slate-900:oklch(.208 .042 265.755);--color-slate-950:oklch(.129 .042 264.695);--color-gray-50:oklch(.985 .002 247.839);--color-gray-100:oklch(.967 .003 264.542);--color-gray-200:oklch(.928 .006 264.531);--color-gray-300:oklch(.872 .01 258.338);--color-gray-400:oklch(.707 .022 261.325);--color-gray-500:oklch(.551 .027 264.364);--color-gray-600:oklch(.446 .03 256.802);--color-gray-700:oklch(.373 .034 259.733);--color-gray-800:oklch(.278 .033 256.848);--color-gray-900:oklch(.21 .034 264.665);--color-gray-950:oklch(.13 .028 261.692);--color-zinc-50:oklch(.985 0 0);--color-zinc-100:oklch(.967 .001 286.375);--color-zinc-200:oklch(.92 .004 286.32);--color-zinc-300:oklch(.871 .006 286.286);--color-zinc-400:oklch(.705 .015 286.067);--color-zinc-500:oklch(.552 .016 285.938);--color-zinc-600:oklch(.442 .017 285.786);--color-zinc-700:oklch(.37 .013 285.805);--color-zinc-800:oklch(.274 .006 286.033);--color-zinc-900:oklch(.21 .006 285.885);--color-zinc-950:oklch(.141 .005 285.823);--color-neutral-50:oklch(.985 0 0);--color-neutral-100:oklch(.97 0 0);--color-neutral-200:oklch(.922 0 0);--color-neutral-300:oklch(.87 0 0);--color-neutral-400:oklch(.708 0 0);--color-neutral-500:oklch(.556 0 0);--color-neutral-600:oklch(.439 0 0);--color-neutral-700:oklch(.371 0 0);--color-neutral-800:oklch(.269 0 0);--color-neutral-900:oklch(.205 0 0);--color-neutral-950:oklch(.145 0 0);--color-stone-50:oklch(.985 .001 106.423);--color-stone-100:oklch(.97 .001 106.424);--color-stone-200:oklch(.923 .003 48.717);--color-stone-300:oklch(.869 .005 56.366);--color-stone-400:oklch(.709 .01 56.259);--color-stone-500:oklch(.553 .013 58.071);--color-stone-600:oklch(.444 .011 73.639);--color-stone-700:oklch(.374 .01 67.558);--color-stone-800:oklch(.268 .007 34.298);--color-stone-900:oklch(.216 .006 56.043);--color-stone-950:oklch(.147 .004 49.25);--color-red-50:oklch(.971 .013 17.38);--color-red-100:oklch(.936 .032 17.717);--color-red-200:oklch(.885 .062 18.334);--color-red-300:oklch(.808 .114 19.571);--color-red-400:oklch(.704 .191 22.216);--color-red-500:oklch(.637 .237 25.331);--color-red-600:oklch(.577 .245 27.325);--color-red-700:oklch(.505 .213 27.518);--color-red-800:oklch(.444 .177 26.899);--color-red-900:oklch(.396 .141 25.723);--color-red-950:oklch(.258 .092 26.042);--color-orange-50:oklch(.98 .016 73.684);--color-orange-100:oklch(.954 .038 75.164);--color-orange-200:oklch(.901 .076 70.697);--color-orange-300:oklch(.837 .128 66.29);--color-orange-400:oklch(.75 .183 55.934);--color-orange-500:oklch(.705 .213 47.604);--color-orange-600:oklch(.646 .222 41.116);--color-orange-700:oklch(.553 .195 38.402);--color-orange-800:oklch(.47 .157 37.304);--color-orange-900:oklch(.408 .123 38.172);--color-orange-950:oklch(.266 .079 36.259);--color-amber-50:oklch(.987 .022 95.277);--color-amber-100:oklch(.962 .059 95.617);--color-amber-200:oklch(.924 .12 95.746);--color-amber-300:oklch(.879 .169 91.605);--color-amber-400:oklch(.828 .189 84.429);--color-amber-500:oklch(.769 .188 70.08);--color-amber-600:oklch(.666 .179 58.318);--color-amber-700:oklch(.555 .163 48.998);--color-amber-800:oklch(.473 .137 46.201);--color-amber-900:oklch(.414 .112 45.904);--color-amber-950:oklch(.279 .077 45.635);--color-yellow-50:oklch(.987 .026 102.212);--color-yellow-100:oklch(.973 .071 103.193);--color-yellow-200:oklch(.945 .129 101.54);--color-yellow-300:oklch(.905 .182 98.111);--color-yellow-400:oklch(.852 .199 91.936);--color-yellow-500:oklch(.795 .184 86.047);--color-yellow-600:oklch(.681 .162 75.834);--color-yellow-700:oklch(.554 .135 66.442);--color-yellow-800:oklch(.476 .114 61.907);--color-yellow-900:oklch(.421 .095 57.708);--color-yellow-950:oklch(.286 .066 53.813);--color-lime-50:oklch(.986 .031 120.757);--color-lime-100:oklch(.967 .067 122.328);--color-lime-200:oklch(.938 .127 124.321);--color-lime-300:oklch(.897 .196 126.665);--color-lime-400:oklch(.841 .238 128.85);--color-lime-500:oklch(.768 .233 130.85);--color-lime-600:oklch(.648 .2 131.684);--color-lime-700:oklch(.532 .157 131.589);--color-lime-800:oklch(.453 .124 130.933);--color-lime-900:oklch(.405 .101 131.063);--color-lime-950:oklch(.274 .072 132.109);--color-green-50:oklch(.982 .018 155.826);--color-green-100:oklch(.962 .044 156.743);--color-green-200:oklch(.925 .084 155.995);--color-green-300:oklch(.871 .15 154.449);--color-green-400:oklch(.792 .209 151.711);--color-green-500:oklch(.723 .219 149.579);--color-green-600:oklch(.627 .194 149.214);--color-green-700:oklch(.527 .154 150.069);--color-green-800:oklch(.448 .119 151.328);--color-green-900:oklch(.393 .095 152.535);--color-green-950:oklch(.266 .065 152.934);--color-emerald-50:oklch(.979 .021 166.113);--color-emerald-100:oklch(.95 .052 163.051);--color-emerald-200:oklch(.905 .093 164.15);--color-emerald-300:oklch(.845 .143 164.978);--color-emerald-400:oklch(.765 .177 163.223);--color-emerald-500:oklch(.696 .17 162.48);--color-emerald-600:oklch(.596 .145 163.225);--color-emerald-700:oklch(.508 .118 165.612);--color-emerald-800:oklch(.432 .095 166.913);--color-emerald-900:oklch(.378 .077 168.94);--color-emerald-950:oklch(.262 .051 172.552);--color-teal-50:oklch(.984 .014 180.72);--color-teal-100:oklch(.953 .051 180.801);--color-teal-200:oklch(.91 .096 180.426);--color-teal-300:oklch(.855 .138 181.071);--color-teal-400:oklch(.777 .152 181.912);--color-teal-500:oklch(.704 .14 182.503);--color-teal-600:oklch(.6 .118 184.704);--color-teal-700:oklch(.511 .096 186.391);--color-teal-800:oklch(.437 .078 188.216);--color-teal-900:oklch(.386 .063 188.416);--color-teal-950:oklch(.277 .046 192.524);--color-cyan-50:oklch(.984 .019 200.873);--color-cyan-100:oklch(.956 .045 203.388);--color-cyan-200:oklch(.917 .08 205.041);--color-cyan-300:oklch(.865 .127 207.078);--color-cyan-400:oklch(.789 .154 211.53);--color-cyan-500:oklch(.715 .143 215.221);--color-cyan-600:oklch(.609 .126 221.723);--color-cyan-700:oklch(.52 .105 223.128);--color-cyan-800:oklch(.45 .085 224.283);--color-cyan-900:oklch(.398 .07 227.392);--color-cyan-950:oklch(.302 .056 229.695);--color-sky-50:oklch(.977 .013 236.62);--color-sky-100:oklch(.951 .026 236.824);--color-sky-200:oklch(.901 .058 230.902);--color-sky-300:oklch(.828 .111 230.318);--color-sky-400:oklch(.746 .16 232.661);--color-sky-500:oklch(.685 .169 237.323);--color-sky-600:oklch(.588 .158 241.966);--color-sky-700:oklch(.5 .134 242.749);--color-sky-800:oklch(.443 .11 240.79);--color-sky-900:oklch(.391 .09 240.876);--color-sky-950:oklch(.293 .066 243.157);--color-blue-50:oklch(.97 .014 254.604);--color-blue-100:oklch(.932 .032 255.585);--color-blue-200:oklch(.882 .059 254.128);--color-blue-300:oklch(.809 .105 251.813);--color-blue-400:oklch(.707 .165 254.624);--color-blue-500:oklch(.623 .214 259.815);--color-blue-600:oklch(.546 .245 262.881);--color-blue-700:oklch(.488 .243 264.376);--color-blue-800:oklch(.424 .199 265.638);--color-blue-900:oklch(.379 .146 265.522);--color-blue-950:oklch(.282 .091 267.935);--color-indigo-50:oklch(.962 .018 272.314);--color-indigo-100:oklch(.93 .034 272.788);--color-indigo-200:oklch(.87 .065 274.039);--color-indigo-300:oklch(.785 .115 274.713);--color-indigo-400:oklch(.673 .182 276.935);--color-indigo-500:oklch(.585 .233 277.117);--color-indigo-600:oklch(.511 .262 276.966);--color-indigo-700:oklch(.457 .24 277.023);--color-indigo-800:oklch(.398 .195 277.366);--color-indigo-900:oklch(.359 .144 278.697);--color-indigo-950:oklch(.257 .09 281.288);--color-violet-50:oklch(.969 .016 293.756);--color-violet-100:oklch(.943 .029 294.588);--color-violet-200:oklch(.894 .057 293.283);--color-violet-300:oklch(.811 .111 293.571);--color-violet-400:oklch(.702 .183 293.541);--color-violet-500:oklch(.606 .25 292.717);--color-violet-600:oklch(.541 .281 293.009);--color-violet-700:oklch(.491 .27 292.581);--color-violet-800:oklch(.432 .232 292.759);--color-violet-900:oklch(.38 .189 293.745);--color-violet-950:oklch(.283 .141 291.089);--color-purple-50:oklch(.977 .014 308.299);--color-purple-100:oklch(.946 .033 307.174);--color-purple-200:oklch(.902 .063 306.703);--color-purple-300:oklch(.827 .119 306.383);--color-purple-400:oklch(.714 .203 305.504);--color-purple-500:oklch(.627 .265 303.9);--color-purple-600:oklch(.558 .288 302.321);--color-purple-700:oklch(.496 .265 301.924);--color-purple-800:oklch(.438 .218 303.724);--color-purple-900:oklch(.381 .176 304.987);--color-purple-950:oklch(.291 .149 302.717);--color-fuchsia-50:oklch(.977 .017 320.058);--color-fuchsia-100:oklch(.952 .037 318.852);--color-fuchsia-200:oklch(.903 .076 319.62);--color-fuchsia-300:oklch(.833 .145 321.434);--color-fuchsia-400:oklch(.74 .238 322.16);--color-fuchsia-500:oklch(.667 .295 322.15);--color-fuchsia-600:oklch(.591 .293 322.896);--color-fuchsia-700:oklch(.518 .253 323.949);--color-fuchsia-800:oklch(.452 .211 324.591);--color-fuchsia-900:oklch(.401 .17 325.612);--color-fuchsia-950:oklch(.293 .136 325.661);--color-pink-50:oklch(.971 .014 343.198);--color-pink-100:oklch(.948 .028 342.258);--color-pink-200:oklch(.899 .061 343.231);--color-pink-300:oklch(.823 .12 346.018);--color-pink-400:oklch(.718 .202 349.761);--color-pink-500:oklch(.656 .241 354.308);--color-pink-600:oklch(.592 .249 .584);--color-pink-700:oklch(.525 .223 3.958);--color-pink-800:oklch(.459 .187 3.815);--color-pink-900:oklch(.408 .153 2.432);--color-pink-950:oklch(.284 .109 3.907);--color-rose-50:oklch(.969 .015 12.422);--color-rose-100:oklch(.941 .03 12.58);--color-rose-200:oklch(.892 .058 10.001);--color-rose-300:oklch(.81 .117 11.638);--color-rose-400:oklch(.712 .194 13.428);--color-rose-500:oklch(.645 .246 16.439);--color-rose-600:oklch(.586 .253 17.585);--color-rose-700:oklch(.514 .222 16.935);--color-rose-800:oklch(.455 .188 13.697);--color-rose-900:oklch(.41 .159 10.272);--color-rose-950:oklch(.271 .105 12.094);--animate-spin:spin 1s linear infinite;--animate-ping:ping 1s cubic-bezier(0,0,.2,1)infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--animate-bounce:bounce 1s infinite;--blur:8px;--blur-sm:4px;--blur-md:12px;--blur-lg:16px;--blur-xl:24px;--blur-2xl:40px;--blur-3xl:64px;--radius:.25rem;--radius-sm:.125rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--radius-4xl:2rem;--shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--shadow-xs:0 1px #0000000d;--shadow-sm:0 1px 2px 0 #0000000d;--shadow-md:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--shadow-lg:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--shadow-xl:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;--shadow-2xl:0 25px 50px -12px #00000040;--shadow-inner:inset 0 2px 4px 0 #0000000d;--inset-shadow-xs:inset 0 1px #0000000d;--inset-shadow-sm:inset 0 1px 1px #0000000d;--inset-shadow:inset 0 2px 4px #0000000d;--drop-shadow:0 1px 2px #0000001a,0 1px 1px #0000000f;--drop-shadow-sm:0 1px 1px #0000000d;--drop-shadow-md:0 4px 3px #00000012,0 2px 2px #0000000f;--drop-shadow-lg:0 10px 8px #0000000a,0 4px 3px #0000001a;--drop-shadow-xl:0 20px 13px #00000008,0 8px 5px #00000014;--drop-shadow-2xl:0 25px 25px #00000026;--drop-shadow-none:0 0 #0000;--spacing-px:1px;--spacing-0:0px;--spacing-0_5:.125rem;--spacing-1:.25rem;--spacing-1_5:.375rem;--spacing-2:.5rem;--spacing-2_5:.625rem;--spacing-3:.75rem;--spacing-3_5:.875rem;--spacing-4:1rem;--spacing-5:1.25rem;--spacing-6:1.5rem;--spacing-7:1.75rem;--spacing-8:2rem;--spacing-9:2.25rem;--spacing-10:2.5rem;--spacing-11:2.75rem;--spacing-12:3rem;--spacing-14:3.5rem;--spacing-16:4rem;--spacing-20:5rem;--spacing-24:6rem;--spacing-28:7rem;--spacing-32:8rem;--spacing-36:9rem;--spacing-40:10rem;--spacing-44:11rem;--spacing-48:12rem;--spacing-52:13rem;--spacing-56:14rem;--spacing-60:15rem;--spacing-64:16rem;--spacing-72:18rem;--spacing-80:20rem;--spacing-96:24rem;--width-3xs:16rem;--width-2xs:18rem;--width-xs:20rem;--width-sm:24rem;--width-md:28rem;--width-lg:32rem;--width-xl:36rem;--width-2xl:42rem;--width-3xl:48rem;--width-4xl:56rem;--width-5xl:64rem;--width-6xl:72rem;--width-7xl:80rem;--width-prose:65ch;--font-family-sans:"Inter","sans-serif";--font-family-serif:ui-serif,Georgia,Cambria,"Times New Roman",Times,serif;--font-family-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--font-size-xs:.75rem;--font-size-xs--line-height:1rem;--font-size-sm:.875rem;--font-size-sm--line-height:1.25rem;--font-size-base:1rem;--font-size-base--line-height:1.5rem;--font-size-lg:1.125rem;--font-size-lg--line-height:1.75rem;--font-size-xl:1.25rem;--font-size-xl--line-height:1.75rem;--font-size-2xl:1.5rem;--font-size-2xl--line-height:2rem;--font-size-3xl:1.875rem;--font-size-3xl--line-height:2.25rem;--font-size-4xl:2.25rem;--font-size-4xl--line-height:2.5rem;--font-size-5xl:3rem;--font-size-5xl--line-height:1;--font-size-6xl:3.75rem;--font-size-6xl--line-height:1;--font-size-7xl:4.5rem;--font-size-7xl--line-height:1;--font-size-8xl:6rem;--font-size-8xl--line-height:1;--font-size-9xl:8rem;--font-size-9xl--line-height:1;--letter-spacing-tighter:-.05em;--letter-spacing-tight:-.025em;--letter-spacing-normal:0em;--letter-spacing-wide:.025em;--letter-spacing-wider:.05em;--letter-spacing-widest:.1em;--line-height-none:1;--line-height-tight:1.25;--line-height-snug:1.375;--line-height-normal:1.5;--line-height-relaxed:1.625;--line-height-loose:2;--line-height-3:.75rem;--line-height-4:1rem;--line-height-5:1.25rem;--line-height-6:1.5rem;--line-height-7:1.75rem;--line-height-8:2rem;--line-height-9:2.25rem;--line-height-10:2.5rem;--perspective-dramatic:100px;--perspective-near:300px;--perspective-normal:500px;--perspective-midrange:800px;--perspective-distant:1200px;--transition-timing-function-linear:linear;--transition-timing-function-in:cubic-bezier(.4,0,1,1);--transition-timing-function-out:cubic-bezier(0,0,.2,1);--transition-timing-function-in-out:cubic-bezier(.4,0,.2,1)}}@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%;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}body{line-height:inherit}hr{color:inherit;border-top-width:1px;height:0}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;-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}button,input,optgroup,select,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;background:0 0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;background:0 0}input:where(:not([type=button],[type=reset],[type=submit])),select,textarea{border-width:1px}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}::-webkit-search-decoration{-webkit-appearance:none}summary{display:list-item}ol,ul,menu{list-style:none}textarea{resize:vertical}::placeholder{opacity:1;color:color-mix(in oklch,currentColor 50%,transparent)}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.top-16{top:var(--spacing-16,4rem)}.clear-both{clear:both}.prose code{color:#000000b0;white-space:pre-wrap;background-color:#0000ff05;border-radius:10px;margin:20px 0;padding:0 20px 20px;font-family:sans-serif;font-size:1rem;display:block}.prose p{margin-top:var(--spacing-2,.5rem);margin-bottom:var(--spacing-2,.5rem);--tw-leading:24px;--tw-font-weight:370;font-size:17px;font-weight:370;line-height:24px}.prose p:empty{display:none}.prose b,.prose strong{--tw-font-weight:600;font-weight:600}.prose h1,.prose h2,.prose h3,.prose h4,.prose h5,.prose h6{margin-top:var(--spacing-4,1rem);margin-bottom:var(--spacing-4,1rem);--tw-font-weight:500;font-size:19px;font-weight:500}:is(.prose h1,.prose h2,.prose h3,.prose h4,.prose h5,.prose h6):empty{display:none}.prose a{color:var(--color-blue-700,oklch(.488 .243 264.376));text-underline-offset:3px;text-decoration-line:underline}.prose hr{margin-top:var(--spacing-2,.5rem);margin-bottom:var(--spacing-2,.5rem);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-zinc-200,oklch(.92 .004 286.32))}.prose ol,.prose ul{margin-top:var(--spacing-4,1rem);margin-bottom:var(--spacing-4,1rem)}:is(.prose ol,.prose ul) ol,:is(.prose ol,.prose ul) ul{margin-top:var(--spacing-1,.25rem);margin-bottom:var(--spacing-1,.25rem)}:is(.prose ol,.prose ul) li{margin-top:var(--spacing-1,.25rem);margin-bottom:var(--spacing-1,.25rem);margin-left:var(--spacing-6,1.5rem)}:is(.prose ol,.prose ul) li h1,:is(.prose ol,.prose ul) li h2,:is(.prose ol,.prose ul) li h3,:is(.prose ol,.prose ul) li h4,:is(.prose ol,.prose ul) li h5,:is(.prose ol,.prose ul) li h6,:is(.prose ol,.prose ul) li p{margin-top:var(--spacing-1,.25rem);margin-bottom:var(--spacing-1,.25rem)}.prose ol{list-style-type:decimal}.prose ol ol{list-style-type:lower-alpha}.prose ol ol ol{list-style-type:lower-roman}.prose ul{list-style-type:disc}.mx-6{margin-left:var(--spacing-6,1.5rem);margin-right:var(--spacing-6,1.5rem)}.mt-2{margin-top:var(--spacing-2,.5rem)}.mt-3{margin-top:var(--spacing-3,.75rem)}.mt-4{margin-top:var(--spacing-4,1rem)}.mt-6{margin-top:var(--spacing-6,1.5rem)}.mt-12{margin-top:var(--spacing-12,3rem)}.mx-auto{margin-left:auto;margin-right:auto}.mr-6{margin-right:var(--spacing-6,1.5rem)}.mb-2{margin-bottom:var(--spacing-2,.5rem)}.mb-6{margin-bottom:var(--spacing-6,1.5rem)}.mb-10{margin-bottom:var(--spacing-10,2.5rem)}.ml-6{margin-left:var(--spacing-6,1.5rem)}.ml-20{margin-left:var(--spacing-20,5rem)}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.table{display:table}.h-3{height:var(--spacing-3,.75rem)}.h-8{height:var(--spacing-8,2rem)}.h-14{height:var(--spacing-14,3.5rem)}.h-16{height:var(--spacing-16,4rem)}.h-\[650px\]{height:650px}.h-\[700px\]{height:700px}.h-dvh{height:100dvh}.min-h-screen{min-height:100vh}.w-6{width:var(--spacing-6,1.5rem)}.w-8{width:var(--spacing-8,2rem)}.w-16{width:var(--spacing-16,4rem)}.w-\[430px\]{width:430px}.w-\[700px\]{width:700px}.max-w-4xl{max-width:var(--width-4xl,56rem)}.flex-1{flex:1}.flex-none{flex:none}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-125{--tw-scale-x:125%;--tw-scale-y:125%;--tw-scale-z:125%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-150{--tw-scale-x:150%;--tw-scale-y:150%;--tw-scale-z:150%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-200{--tw-scale-x:200%;--tw-scale-y:200%;--tw-scale-z:200%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-400{--tw-scale-x:400%;--tw-scale-y:400%;--tw-scale-z:400%;scale:var(--tw-scale-x)var(--tw-scale-y)}.transform{transform:var(--tw-rotate-x)var(--tw-rotate-y)var(--tw-rotate-z)var(--tw-skew-x)var(--tw-skew-y)}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-2{gap:var(--spacing-2,.5rem)}.gap-x-2{column-gap:var(--spacing-2,.5rem)}.gap-x-4{column-gap:var(--spacing-4,1rem)}.overflow-scroll{overflow:scroll}.overflow-y-auto{overflow-y:auto}.overflow-y-scroll{overflow-y:scroll}.rounded{border-radius:var(--radius,.25rem)}.rounded-2xl{border-radius:var(--radius-2xl,1rem)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg,.5rem)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-1{border-style:var(--tw-border-style);border-width:1px}.border-b-1{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-none{--tw-border-style:none;border-style:none}.border-neutral-200{border-color:var(--color-neutral-200,oklch(.922 0 0))}.border-neutral-300{border-color:var(--color-neutral-300,oklch(.87 0 0))}.border-stone-200{border-color:var(--color-stone-200,oklch(.923 .003 48.717))}.border-stone-300{border-color:var(--color-stone-300,oklch(.869 .005 56.366))}.bg-green-500{background-color:var(--color-green-500,oklch(.723 .219 149.579))}.bg-lime-300{background-color:var(--color-lime-300,oklch(.897 .196 126.665))}.bg-neutral-400{background-color:var(--color-neutral-400,oklch(.708 0 0))}.bg-neutral-800{background-color:var(--color-neutral-800,oklch(.269 0 0))}.bg-orange-400{background-color:var(--color-orange-400,oklch(.75 .183 55.934))}.bg-red-500{background-color:var(--color-red-500,oklch(.637 .237 25.331))}.bg-slate-900{background-color:var(--color-slate-900,oklch(.208 .042 265.755))}.bg-stone-50{background-color:var(--color-stone-50,oklch(.985 .001 106.423))}.bg-white{background-color:var(--color-white,#fff)}.p-2{padding:var(--spacing-2,.5rem)}.p-3{padding:var(--spacing-3,.75rem)}.p-5{padding:var(--spacing-5,1.25rem)}.px-3{padding-left:var(--spacing-3,.75rem);padding-right:var(--spacing-3,.75rem)}.px-4{padding-left:var(--spacing-4,1rem);padding-right:var(--spacing-4,1rem)}.px-6{padding-left:var(--spacing-6,1.5rem);padding-right:var(--spacing-6,1.5rem)}.px-\[2px\]{padding-left:2px;padding-right:2px}.py-2{padding-top:var(--spacing-2,.5rem);padding-bottom:var(--spacing-2,.5rem)}.py-3{padding-top:var(--spacing-3,.75rem);padding-bottom:var(--spacing-3,.75rem)}.pt-6{padding-top:var(--spacing-6,1.5rem)}.pr-3{padding-right:var(--spacing-3,.75rem)}.pb-2{padding-bottom:var(--spacing-2,.5rem)}.pb-12{padding-bottom:var(--spacing-12,3rem)}.pl-3{padding-left:var(--spacing-3,.75rem)}.pl-5{padding-left:var(--spacing-5,1.25rem)}.text-center{text-align:center}.text-left{text-align:left}.font-\[\'Work_Sans\'\]{font-family:Work Sans}.text-2xl{font-size:var(--font-size-2xl,1.5rem);line-height:var(--tw-leading,var(--font-size-2xl--line-height,2rem))}.text-4xl{font-size:var(--font-size-4xl,2.25rem);line-height:var(--tw-leading,var(--font-size-4xl--line-height,2.5rem))}.text-sm{font-size:var(--font-size-sm,.875rem);line-height:var(--tw-leading,var(--font-size-sm--line-height,1.25rem))}.text-xl{font-size:var(--font-size-xl,1.25rem);line-height:var(--tw-leading,var(--font-size-xl--line-height,1.75rem))}.text-xs{font-size:var(--font-size-xs,.75rem);line-height:var(--tw-leading,var(--font-size-xs--line-height,1rem))}.text-\[13px\]{font-size:13px}.text-\[15px\]{font-size:15px}.font-black{--tw-font-weight:900;font-weight:900}.font-semibold{--tw-font-weight:600;font-weight:600}.text-blue-700{color:var(--color-blue-700,oklch(.488 .243 264.376))}.text-neutral-400{color:var(--color-neutral-400,oklch(.708 0 0))}.text-stone-500{color:var(--color-stone-500,oklch(.553 .013 58.071))}.text-stone-800{color:var(--color-stone-800,oklch(.268 .007 34.298))}.text-white{color:var(--color-white,#fff)}.line-through{text-decoration-line:line-through}.underline{text-decoration-line:underline}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.shadow-\[0_0_14px_4px_rgba\(0\,0\,0\,0\.0\.075\)\]{--tw-shadow:0 0 14px 4px var(--tw-shadow-color,rgba(0,0,0,0.075));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[0_0_14px_14px_rgba\(0\,0\,0\,0\.05\)\]{--tw-shadow:0 0 14px 14px var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[0_0_40px_40px_rgba\(255\,255\,255\,1\)\]{--tw-shadow:0 0 40px 40px var(--tw-shadow-color,#fff);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline-none{outline-offset:2px;outline:2px solid #0000}.outline-0{outline-style:var(--tw-outline-style);outline-width:0}.blur{--tw-blur:blur(var(--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,)}.filter{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,)}.backdrop-blur-xl{--tw-backdrop-blur:blur(var(--blur-xl,24px));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,-webkit-backdrop-filter,backdrop-filter;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s))}.peer-checked\/s0\:rounded-full:is(:where(.peer\/s0):checked~*){border-radius:3.40282e38px}.peer-checked\/s0\:ring-3:is(:where(.peer\/s0):checked~*){--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentColor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.peer-checked\/s1\:rounded-full:is(:where(.peer\/s1):checked~*){border-radius:3.40282e38px}.peer-checked\/s1\:ring-3:is(:where(.peer\/s1):checked~*){--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentColor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.peer-checked\/s2\:rounded-full:is(:where(.peer\/s2):checked~*){border-radius:3.40282e38px}.peer-checked\/s2\:ring-3:is(:where(.peer\/s2):checked~*){--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentColor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.peer-checked\/s3\:rounded-full:is(:where(.peer\/s3):checked~*){border-radius:3.40282e38px}.peer-checked\/s3\:ring-3:is(:where(.peer\/s3):checked~*){--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentColor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.placeholder\:text-neutral-300::placeholder{color:var(--color-neutral-300,oklch(.87 0 0))}.odd\:float-right:nth-child(odd){float:right}.odd\:my-8:nth-child(odd){margin-top:var(--spacing-8,2rem);margin-bottom:var(--spacing-8,2rem)}.odd\:max-w-lg:nth-child(odd){max-width:var(--width-lg,32rem)}.odd\:rounded-xl:nth-child(odd){border-radius:var(--radius-xl,.75rem)}.odd\:bg-stone-100:nth-child(odd){background-color:var(--color-stone-100,oklch(.97 .001 106.424))}.odd\:px-5:nth-child(odd){padding-left:var(--spacing-5,1.25rem);padding-right:var(--spacing-5,1.25rem)}.odd\:py-2:nth-child(odd){padding-top:var(--spacing-2,.5rem);padding-bottom:var(--spacing-2,.5rem)}.odd\:font-\[\'Work_Sans\'\]:nth-child(odd){font-family:Work Sans}.odd\:text-base:nth-child(odd){font-size:var(--font-size-base,1rem);line-height:var(--tw-leading,var(--font-size-base--line-height,1.5rem))}.even\:clear-both:nth-child(2n){clear:both}.disabled\:cursor-progress:disabled{cursor:progress}.disabled\:border-stone-200:disabled{border-color:var(--color-stone-200,oklch(.923 .003 48.717))}.disabled\:text-stone-400:disabled{color:var(--color-stone-400,oklch(.709 .01 56.259))}}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.user{float:right;margin-top:var(--spacing-8,2rem);margin-bottom:var(--spacing-2,.5rem);border-radius:var(--radius-xl,.75rem);background-color:var(--color-stone-100,oklch(.97 .001 106.424));padding-left:var(--spacing-5,1.25rem);padding-right:var(--spacing-5,1.25rem);padding-top:var(--spacing-2,.5rem);padding-bottom:var(--spacing-2,.5rem);font-family:Work Sans;font-size:var(--font-size-base,1rem);line-height:var(--tw-leading,var(--font-size-base--line-height,1.5rem))}.thinking{background-color:#000;border-radius:9999px;width:15px;height:15px;margin-top:15px;margin-bottom:5px;margin-left:5px;animation:1.5s ease-in-out infinite pulsing}@keyframes pulsing{0%{transform:scale(1)}50%{transform:scale(1.4)}to{transform:scale(1)}}@supports (-moz-orient:inline){@layer base{*,:before,:after,::backdrop{--tw-leading:initial;--tw-font-weight:initial;--tw-border-style:solid;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:rotateX(0);--tw-rotate-y:rotateY(0);--tw-rotate-z:rotateZ(0);--tw-skew-x:skewX(0);--tw-skew-y:skewY(0);--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--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-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial}}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes ping{75%,to{opacity:0;transform:scale(2)}}@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}}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-border-style{syntax:"";inherits:false;initial-value:solid}@property --tw-scale-x{syntax:"|";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"|";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"|";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"";inherits:false;initial-value:rotateX(0)}@property --tw-rotate-y{syntax:"";inherits:false;initial-value:rotateY(0)}@property --tw-rotate-z{syntax:"";inherits:false;initial-value:rotate(0)}@property --tw-skew-x{syntax:"";inherits:false;initial-value:skew(0)}@property --tw-skew-y{syntax:"";inherits:false;initial-value:skewY(0)}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"";inherits:false;initial-value:solid}@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-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false} \ No newline at end of file diff --git a/assets/pierre-ia.org/dist/css/style.1731159647797.css b/assets/pierre-ia.org/dist/css/style.1731159647797.css new file mode 100644 index 0000000..3aca849 --- /dev/null +++ b/assets/pierre-ia.org/dist/css/style.1731159647797.css @@ -0,0 +1,2 @@ +/*! tailwindcss v4.0.0-alpha.31 | MIT License | https://tailwindcss.com */ +@font-face{font-family:Work Sans;font-weight:400;font-style:normal;src:url(../fonts/WorkSans-Regular.woff2)format("woff2"),url(../fonts/WorkSans-Regular.ttf)format("truetype")}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;font-optical-sizing:auto;src:url(../fonts/InterVariable.woff2)format("woff2"),url(../fonts/InterVariable.ttf)format("truetype")}@layer theme{:root{--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-family-sans);--default-font-feature-settings:"ss03","liga","calt","ss01","cv10","cv08";--default-font-variation-settings:var(--font-family-sans--font-variation-settings);--default-mono-font-family:var(--font-family-mono);--default-mono-font-feature-settings:var(--font-family-mono--font-feature-settings);--default-mono-font-variation-settings:var(--font-family-mono--font-variation-settings);--breakpoint-sm:40rem;--breakpoint-md:48rem;--breakpoint-lg:64rem;--breakpoint-xl:80rem;--breakpoint-2xl:96rem;--color-black:#000;--color-white:#fff;--color-slate-50:oklch(.984 .003 247.858);--color-slate-100:oklch(.968 .007 247.896);--color-slate-200:oklch(.929 .013 255.508);--color-slate-300:oklch(.869 .022 252.894);--color-slate-400:oklch(.704 .04 256.788);--color-slate-500:oklch(.554 .046 257.417);--color-slate-600:oklch(.446 .043 257.281);--color-slate-700:oklch(.372 .044 257.287);--color-slate-800:oklch(.279 .041 260.031);--color-slate-900:oklch(.208 .042 265.755);--color-slate-950:oklch(.129 .042 264.695);--color-gray-50:oklch(.985 .002 247.839);--color-gray-100:oklch(.967 .003 264.542);--color-gray-200:oklch(.928 .006 264.531);--color-gray-300:oklch(.872 .01 258.338);--color-gray-400:oklch(.707 .022 261.325);--color-gray-500:oklch(.551 .027 264.364);--color-gray-600:oklch(.446 .03 256.802);--color-gray-700:oklch(.373 .034 259.733);--color-gray-800:oklch(.278 .033 256.848);--color-gray-900:oklch(.21 .034 264.665);--color-gray-950:oklch(.13 .028 261.692);--color-zinc-50:oklch(.985 0 0);--color-zinc-100:oklch(.967 .001 286.375);--color-zinc-200:oklch(.92 .004 286.32);--color-zinc-300:oklch(.871 .006 286.286);--color-zinc-400:oklch(.705 .015 286.067);--color-zinc-500:oklch(.552 .016 285.938);--color-zinc-600:oklch(.442 .017 285.786);--color-zinc-700:oklch(.37 .013 285.805);--color-zinc-800:oklch(.274 .006 286.033);--color-zinc-900:oklch(.21 .006 285.885);--color-zinc-950:oklch(.141 .005 285.823);--color-neutral-50:oklch(.985 0 0);--color-neutral-100:oklch(.97 0 0);--color-neutral-200:oklch(.922 0 0);--color-neutral-300:oklch(.87 0 0);--color-neutral-400:oklch(.708 0 0);--color-neutral-500:oklch(.556 0 0);--color-neutral-600:oklch(.439 0 0);--color-neutral-700:oklch(.371 0 0);--color-neutral-800:oklch(.269 0 0);--color-neutral-900:oklch(.205 0 0);--color-neutral-950:oklch(.145 0 0);--color-stone-50:oklch(.985 .001 106.423);--color-stone-100:oklch(.97 .001 106.424);--color-stone-200:oklch(.923 .003 48.717);--color-stone-300:oklch(.869 .005 56.366);--color-stone-400:oklch(.709 .01 56.259);--color-stone-500:oklch(.553 .013 58.071);--color-stone-600:oklch(.444 .011 73.639);--color-stone-700:oklch(.374 .01 67.558);--color-stone-800:oklch(.268 .007 34.298);--color-stone-900:oklch(.216 .006 56.043);--color-stone-950:oklch(.147 .004 49.25);--color-red-50:oklch(.971 .013 17.38);--color-red-100:oklch(.936 .032 17.717);--color-red-200:oklch(.885 .062 18.334);--color-red-300:oklch(.808 .114 19.571);--color-red-400:oklch(.704 .191 22.216);--color-red-500:oklch(.637 .237 25.331);--color-red-600:oklch(.577 .245 27.325);--color-red-700:oklch(.505 .213 27.518);--color-red-800:oklch(.444 .177 26.899);--color-red-900:oklch(.396 .141 25.723);--color-red-950:oklch(.258 .092 26.042);--color-orange-50:oklch(.98 .016 73.684);--color-orange-100:oklch(.954 .038 75.164);--color-orange-200:oklch(.901 .076 70.697);--color-orange-300:oklch(.837 .128 66.29);--color-orange-400:oklch(.75 .183 55.934);--color-orange-500:oklch(.705 .213 47.604);--color-orange-600:oklch(.646 .222 41.116);--color-orange-700:oklch(.553 .195 38.402);--color-orange-800:oklch(.47 .157 37.304);--color-orange-900:oklch(.408 .123 38.172);--color-orange-950:oklch(.266 .079 36.259);--color-amber-50:oklch(.987 .022 95.277);--color-amber-100:oklch(.962 .059 95.617);--color-amber-200:oklch(.924 .12 95.746);--color-amber-300:oklch(.879 .169 91.605);--color-amber-400:oklch(.828 .189 84.429);--color-amber-500:oklch(.769 .188 70.08);--color-amber-600:oklch(.666 .179 58.318);--color-amber-700:oklch(.555 .163 48.998);--color-amber-800:oklch(.473 .137 46.201);--color-amber-900:oklch(.414 .112 45.904);--color-amber-950:oklch(.279 .077 45.635);--color-yellow-50:oklch(.987 .026 102.212);--color-yellow-100:oklch(.973 .071 103.193);--color-yellow-200:oklch(.945 .129 101.54);--color-yellow-300:oklch(.905 .182 98.111);--color-yellow-400:oklch(.852 .199 91.936);--color-yellow-500:oklch(.795 .184 86.047);--color-yellow-600:oklch(.681 .162 75.834);--color-yellow-700:oklch(.554 .135 66.442);--color-yellow-800:oklch(.476 .114 61.907);--color-yellow-900:oklch(.421 .095 57.708);--color-yellow-950:oklch(.286 .066 53.813);--color-lime-50:oklch(.986 .031 120.757);--color-lime-100:oklch(.967 .067 122.328);--color-lime-200:oklch(.938 .127 124.321);--color-lime-300:oklch(.897 .196 126.665);--color-lime-400:oklch(.841 .238 128.85);--color-lime-500:oklch(.768 .233 130.85);--color-lime-600:oklch(.648 .2 131.684);--color-lime-700:oklch(.532 .157 131.589);--color-lime-800:oklch(.453 .124 130.933);--color-lime-900:oklch(.405 .101 131.063);--color-lime-950:oklch(.274 .072 132.109);--color-green-50:oklch(.982 .018 155.826);--color-green-100:oklch(.962 .044 156.743);--color-green-200:oklch(.925 .084 155.995);--color-green-300:oklch(.871 .15 154.449);--color-green-400:oklch(.792 .209 151.711);--color-green-500:oklch(.723 .219 149.579);--color-green-600:oklch(.627 .194 149.214);--color-green-700:oklch(.527 .154 150.069);--color-green-800:oklch(.448 .119 151.328);--color-green-900:oklch(.393 .095 152.535);--color-green-950:oklch(.266 .065 152.934);--color-emerald-50:oklch(.979 .021 166.113);--color-emerald-100:oklch(.95 .052 163.051);--color-emerald-200:oklch(.905 .093 164.15);--color-emerald-300:oklch(.845 .143 164.978);--color-emerald-400:oklch(.765 .177 163.223);--color-emerald-500:oklch(.696 .17 162.48);--color-emerald-600:oklch(.596 .145 163.225);--color-emerald-700:oklch(.508 .118 165.612);--color-emerald-800:oklch(.432 .095 166.913);--color-emerald-900:oklch(.378 .077 168.94);--color-emerald-950:oklch(.262 .051 172.552);--color-teal-50:oklch(.984 .014 180.72);--color-teal-100:oklch(.953 .051 180.801);--color-teal-200:oklch(.91 .096 180.426);--color-teal-300:oklch(.855 .138 181.071);--color-teal-400:oklch(.777 .152 181.912);--color-teal-500:oklch(.704 .14 182.503);--color-teal-600:oklch(.6 .118 184.704);--color-teal-700:oklch(.511 .096 186.391);--color-teal-800:oklch(.437 .078 188.216);--color-teal-900:oklch(.386 .063 188.416);--color-teal-950:oklch(.277 .046 192.524);--color-cyan-50:oklch(.984 .019 200.873);--color-cyan-100:oklch(.956 .045 203.388);--color-cyan-200:oklch(.917 .08 205.041);--color-cyan-300:oklch(.865 .127 207.078);--color-cyan-400:oklch(.789 .154 211.53);--color-cyan-500:oklch(.715 .143 215.221);--color-cyan-600:oklch(.609 .126 221.723);--color-cyan-700:oklch(.52 .105 223.128);--color-cyan-800:oklch(.45 .085 224.283);--color-cyan-900:oklch(.398 .07 227.392);--color-cyan-950:oklch(.302 .056 229.695);--color-sky-50:oklch(.977 .013 236.62);--color-sky-100:oklch(.951 .026 236.824);--color-sky-200:oklch(.901 .058 230.902);--color-sky-300:oklch(.828 .111 230.318);--color-sky-400:oklch(.746 .16 232.661);--color-sky-500:oklch(.685 .169 237.323);--color-sky-600:oklch(.588 .158 241.966);--color-sky-700:oklch(.5 .134 242.749);--color-sky-800:oklch(.443 .11 240.79);--color-sky-900:oklch(.391 .09 240.876);--color-sky-950:oklch(.293 .066 243.157);--color-blue-50:oklch(.97 .014 254.604);--color-blue-100:oklch(.932 .032 255.585);--color-blue-200:oklch(.882 .059 254.128);--color-blue-300:oklch(.809 .105 251.813);--color-blue-400:oklch(.707 .165 254.624);--color-blue-500:oklch(.623 .214 259.815);--color-blue-600:oklch(.546 .245 262.881);--color-blue-700:oklch(.488 .243 264.376);--color-blue-800:oklch(.424 .199 265.638);--color-blue-900:oklch(.379 .146 265.522);--color-blue-950:oklch(.282 .091 267.935);--color-indigo-50:oklch(.962 .018 272.314);--color-indigo-100:oklch(.93 .034 272.788);--color-indigo-200:oklch(.87 .065 274.039);--color-indigo-300:oklch(.785 .115 274.713);--color-indigo-400:oklch(.673 .182 276.935);--color-indigo-500:oklch(.585 .233 277.117);--color-indigo-600:oklch(.511 .262 276.966);--color-indigo-700:oklch(.457 .24 277.023);--color-indigo-800:oklch(.398 .195 277.366);--color-indigo-900:oklch(.359 .144 278.697);--color-indigo-950:oklch(.257 .09 281.288);--color-violet-50:oklch(.969 .016 293.756);--color-violet-100:oklch(.943 .029 294.588);--color-violet-200:oklch(.894 .057 293.283);--color-violet-300:oklch(.811 .111 293.571);--color-violet-400:oklch(.702 .183 293.541);--color-violet-500:oklch(.606 .25 292.717);--color-violet-600:oklch(.541 .281 293.009);--color-violet-700:oklch(.491 .27 292.581);--color-violet-800:oklch(.432 .232 292.759);--color-violet-900:oklch(.38 .189 293.745);--color-violet-950:oklch(.283 .141 291.089);--color-purple-50:oklch(.977 .014 308.299);--color-purple-100:oklch(.946 .033 307.174);--color-purple-200:oklch(.902 .063 306.703);--color-purple-300:oklch(.827 .119 306.383);--color-purple-400:oklch(.714 .203 305.504);--color-purple-500:oklch(.627 .265 303.9);--color-purple-600:oklch(.558 .288 302.321);--color-purple-700:oklch(.496 .265 301.924);--color-purple-800:oklch(.438 .218 303.724);--color-purple-900:oklch(.381 .176 304.987);--color-purple-950:oklch(.291 .149 302.717);--color-fuchsia-50:oklch(.977 .017 320.058);--color-fuchsia-100:oklch(.952 .037 318.852);--color-fuchsia-200:oklch(.903 .076 319.62);--color-fuchsia-300:oklch(.833 .145 321.434);--color-fuchsia-400:oklch(.74 .238 322.16);--color-fuchsia-500:oklch(.667 .295 322.15);--color-fuchsia-600:oklch(.591 .293 322.896);--color-fuchsia-700:oklch(.518 .253 323.949);--color-fuchsia-800:oklch(.452 .211 324.591);--color-fuchsia-900:oklch(.401 .17 325.612);--color-fuchsia-950:oklch(.293 .136 325.661);--color-pink-50:oklch(.971 .014 343.198);--color-pink-100:oklch(.948 .028 342.258);--color-pink-200:oklch(.899 .061 343.231);--color-pink-300:oklch(.823 .12 346.018);--color-pink-400:oklch(.718 .202 349.761);--color-pink-500:oklch(.656 .241 354.308);--color-pink-600:oklch(.592 .249 .584);--color-pink-700:oklch(.525 .223 3.958);--color-pink-800:oklch(.459 .187 3.815);--color-pink-900:oklch(.408 .153 2.432);--color-pink-950:oklch(.284 .109 3.907);--color-rose-50:oklch(.969 .015 12.422);--color-rose-100:oklch(.941 .03 12.58);--color-rose-200:oklch(.892 .058 10.001);--color-rose-300:oklch(.81 .117 11.638);--color-rose-400:oklch(.712 .194 13.428);--color-rose-500:oklch(.645 .246 16.439);--color-rose-600:oklch(.586 .253 17.585);--color-rose-700:oklch(.514 .222 16.935);--color-rose-800:oklch(.455 .188 13.697);--color-rose-900:oklch(.41 .159 10.272);--color-rose-950:oklch(.271 .105 12.094);--animate-spin:spin 1s linear infinite;--animate-ping:ping 1s cubic-bezier(0,0,.2,1)infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--animate-bounce:bounce 1s infinite;--blur:8px;--blur-sm:4px;--blur-md:12px;--blur-lg:16px;--blur-xl:24px;--blur-2xl:40px;--blur-3xl:64px;--radius:.25rem;--radius-sm:.125rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--radius-4xl:2rem;--shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--shadow-xs:0 1px #0000000d;--shadow-sm:0 1px 2px 0 #0000000d;--shadow-md:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--shadow-lg:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--shadow-xl:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;--shadow-2xl:0 25px 50px -12px #00000040;--shadow-inner:inset 0 2px 4px 0 #0000000d;--inset-shadow-xs:inset 0 1px #0000000d;--inset-shadow-sm:inset 0 1px 1px #0000000d;--inset-shadow:inset 0 2px 4px #0000000d;--drop-shadow:0 1px 2px #0000001a,0 1px 1px #0000000f;--drop-shadow-sm:0 1px 1px #0000000d;--drop-shadow-md:0 4px 3px #00000012,0 2px 2px #0000000f;--drop-shadow-lg:0 10px 8px #0000000a,0 4px 3px #0000001a;--drop-shadow-xl:0 20px 13px #00000008,0 8px 5px #00000014;--drop-shadow-2xl:0 25px 25px #00000026;--drop-shadow-none:0 0 #0000;--spacing-px:1px;--spacing-0:0px;--spacing-0_5:.125rem;--spacing-1:.25rem;--spacing-1_5:.375rem;--spacing-2:.5rem;--spacing-2_5:.625rem;--spacing-3:.75rem;--spacing-3_5:.875rem;--spacing-4:1rem;--spacing-5:1.25rem;--spacing-6:1.5rem;--spacing-7:1.75rem;--spacing-8:2rem;--spacing-9:2.25rem;--spacing-10:2.5rem;--spacing-11:2.75rem;--spacing-12:3rem;--spacing-14:3.5rem;--spacing-16:4rem;--spacing-20:5rem;--spacing-24:6rem;--spacing-28:7rem;--spacing-32:8rem;--spacing-36:9rem;--spacing-40:10rem;--spacing-44:11rem;--spacing-48:12rem;--spacing-52:13rem;--spacing-56:14rem;--spacing-60:15rem;--spacing-64:16rem;--spacing-72:18rem;--spacing-80:20rem;--spacing-96:24rem;--width-3xs:16rem;--width-2xs:18rem;--width-xs:20rem;--width-sm:24rem;--width-md:28rem;--width-lg:32rem;--width-xl:36rem;--width-2xl:42rem;--width-3xl:48rem;--width-4xl:56rem;--width-5xl:64rem;--width-6xl:72rem;--width-7xl:80rem;--width-prose:65ch;--font-family-sans:"Inter","sans-serif";--font-family-serif:ui-serif,Georgia,Cambria,"Times New Roman",Times,serif;--font-family-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--font-size-xs:.75rem;--font-size-xs--line-height:1rem;--font-size-sm:.875rem;--font-size-sm--line-height:1.25rem;--font-size-base:1rem;--font-size-base--line-height:1.5rem;--font-size-lg:1.125rem;--font-size-lg--line-height:1.75rem;--font-size-xl:1.25rem;--font-size-xl--line-height:1.75rem;--font-size-2xl:1.5rem;--font-size-2xl--line-height:2rem;--font-size-3xl:1.875rem;--font-size-3xl--line-height:2.25rem;--font-size-4xl:2.25rem;--font-size-4xl--line-height:2.5rem;--font-size-5xl:3rem;--font-size-5xl--line-height:1;--font-size-6xl:3.75rem;--font-size-6xl--line-height:1;--font-size-7xl:4.5rem;--font-size-7xl--line-height:1;--font-size-8xl:6rem;--font-size-8xl--line-height:1;--font-size-9xl:8rem;--font-size-9xl--line-height:1;--letter-spacing-tighter:-.05em;--letter-spacing-tight:-.025em;--letter-spacing-normal:0em;--letter-spacing-wide:.025em;--letter-spacing-wider:.05em;--letter-spacing-widest:.1em;--line-height-none:1;--line-height-tight:1.25;--line-height-snug:1.375;--line-height-normal:1.5;--line-height-relaxed:1.625;--line-height-loose:2;--line-height-3:.75rem;--line-height-4:1rem;--line-height-5:1.25rem;--line-height-6:1.5rem;--line-height-7:1.75rem;--line-height-8:2rem;--line-height-9:2.25rem;--line-height-10:2.5rem;--perspective-dramatic:100px;--perspective-near:300px;--perspective-normal:500px;--perspective-midrange:800px;--perspective-distant:1200px;--transition-timing-function-linear:linear;--transition-timing-function-in:cubic-bezier(.4,0,1,1);--transition-timing-function-out:cubic-bezier(0,0,.2,1);--transition-timing-function-in-out:cubic-bezier(.4,0,.2,1)}}@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%;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}body{line-height:inherit}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;-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}button,input,optgroup,select,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;background:0 0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;background:0 0}input:where(:not([type=button],[type=reset],[type=submit])),select,textarea{border-width:1px}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}::-webkit-search-decoration{-webkit-appearance:none}summary{display:list-item}ol,ul,menu{list-style:none}textarea{resize:vertical}::placeholder{opacity:1;color:color-mix(in oklch,currentColor 50%,transparent)}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.top-20{top:var(--spacing-20,5rem)}.left-20{left:var(--spacing-20,5rem)}.clear-both{clear:both}.prose code{color:#000000b0;white-space:pre-wrap;background-color:#0000ff05;border-radius:10px;margin:20px 0;padding:0 20px 20px;font-family:sans-serif;font-size:1rem;display:block}.prose p{margin-block:var(--spacing-2,.5rem);--tw-leading:24px;--tw-font-weight:370;font-size:17px;font-weight:370;line-height:24px}.prose p:empty{display:none}.prose b,.prose strong{--tw-font-weight:600;font-weight:600}.prose h1,.prose h2,.prose h3,.prose h4,.prose h5,.prose h6{margin-block:var(--spacing-4,1rem);--tw-font-weight:500;font-size:19px;font-weight:500}:is(.prose h1,.prose h2,.prose h3,.prose h4,.prose h5,.prose h6):empty{display:none}.prose a{color:var(--color-blue-700,oklch(.488 .243 264.376));text-underline-offset:3px;text-decoration-line:underline}.prose hr{margin-block:var(--spacing-2,.5rem);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-zinc-200,oklch(.92 .004 286.32))}.prose ol,.prose ul{margin-block:var(--spacing-4,1rem)}:is(.prose ol,.prose ul) ol,:is(.prose ol,.prose ul) ul{margin-block:var(--spacing-1,.25rem)}:is(.prose ol,.prose ul) li{margin-block:var(--spacing-1,.25rem);margin-left:var(--spacing-6,1.5rem)}:is(.prose ol,.prose ul) li h1,:is(.prose ol,.prose ul) li h2,:is(.prose ol,.prose ul) li h3,:is(.prose ol,.prose ul) li h4,:is(.prose ol,.prose ul) li h5,:is(.prose ol,.prose ul) li h6,:is(.prose ol,.prose ul) li p{margin-block:var(--spacing-1,.25rem)}.prose ol{list-style-type:decimal}.prose ol ol{list-style-type:lower-alpha}.prose ol ol ol{list-style-type:lower-roman}.prose ul{list-style-type:disc}.m-20{margin:var(--spacing-20,5rem)}.mx-6{margin-inline:var(--spacing-6,1.5rem)}.mx-20{margin-inline:var(--spacing-20,5rem)}.mx-auto{margin-inline:auto}.my-10{margin-block:var(--spacing-10,2.5rem)}.mt-2{margin-top:var(--spacing-2,.5rem)}.mt-3{margin-top:var(--spacing-3,.75rem)}.mt-4{margin-top:var(--spacing-4,1rem)}.mt-5{margin-top:var(--spacing-5,1.25rem)}.mt-6{margin-top:var(--spacing-6,1.5rem)}.mt-12{margin-top:var(--spacing-12,3rem)}.mt-20{margin-top:var(--spacing-20,5rem)}.mb-1{margin-bottom:var(--spacing-1,.25rem)}.mb-2{margin-bottom:var(--spacing-2,.5rem)}.mb-4{margin-bottom:var(--spacing-4,1rem)}.mb-5{margin-bottom:var(--spacing-5,1.25rem)}.mb-6{margin-bottom:var(--spacing-6,1.5rem)}.mb-10{margin-bottom:var(--spacing-10,2.5rem)}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.table{display:table}.h-3{height:var(--spacing-3,.75rem)}.h-8{height:var(--spacing-8,2rem)}.h-14{height:var(--spacing-14,3.5rem)}.h-\[550px\]{height:550px}.h-dvh{height:100dvh}.h-screen{height:100vh}.w-6{width:var(--spacing-6,1.5rem)}.w-8{width:var(--spacing-8,2rem)}.w-\[120px\]{width:120px}.w-\[200px\]{width:200px}.w-\[400px\]{width:400px}.w-\[500px\]{width:500px}.w-\[690px\]{width:690px}.w-\[700px\]{width:700px}.w-\[800px\]{width:800px}.w-\[900px\]{width:900px}.w-fit{width:fit-content}.w-full{width:100%}.max-w-4xl{max-width:var(--width-4xl,56rem)}.max-w-sm{max-width:var(--width-sm,24rem)}.flex-1{flex:1}.flex-none{flex:none}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-125{--tw-scale-x:125%;--tw-scale-y:125%;--tw-scale-z:125%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-150{--tw-scale-x:150%;--tw-scale-y:150%;--tw-scale-z:150%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-200{--tw-scale-x:200%;--tw-scale-y:200%;--tw-scale-z:200%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-400{--tw-scale-x:400%;--tw-scale-y:400%;--tw-scale-z:400%;scale:var(--tw-scale-x)var(--tw-scale-y)}.transform{transform:var(--tw-rotate-x)var(--tw-rotate-y)var(--tw-rotate-z)var(--tw-skew-x)var(--tw-skew-y)}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.appearance-none{appearance:none}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-center{align-items:center}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.gap-2{gap:var(--spacing-2,.5rem)}.gap-x-4{column-gap:var(--spacing-4,1rem)}.gap-x-6{column-gap:var(--spacing-6,1.5rem)}.gap-x-20{column-gap:var(--spacing-20,5rem)}.gap-y-4{row-gap:var(--spacing-4,1rem)}.overflow-scroll{overflow:scroll}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:var(--radius,.25rem)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg,.5rem)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-1{border-style:var(--tw-border-style);border-width:1px}.border-3{border-style:var(--tw-border-style);border-width:3px}.border-b-1{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-none{--tw-border-style:none;border-style:none}.border-gray-300{border-color:var(--color-gray-300,oklch(.872 .01 258.338))}.border-neutral-200{border-color:var(--color-neutral-200,oklch(.922 0 0))}.border-neutral-300{border-color:var(--color-neutral-300,oklch(.87 0 0))}.border-stone-200{border-color:var(--color-stone-200,oklch(.923 .003 48.717))}.border-stone-300{border-color:var(--color-stone-300,oklch(.869 .005 56.366))}.bg-blue-600{background-color:var(--color-blue-600,oklch(.546 .245 262.881))}.bg-gray-50{background-color:var(--color-gray-50,oklch(.985 .002 247.839))}.bg-green-500{background-color:var(--color-green-500,oklch(.723 .219 149.579))}.bg-lime-300{background-color:var(--color-lime-300,oklch(.897 .196 126.665))}.bg-neutral-400{background-color:var(--color-neutral-400,oklch(.708 0 0))}.bg-neutral-900{background-color:var(--color-neutral-900,oklch(.205 0 0))}.bg-orange-400{background-color:var(--color-orange-400,oklch(.75 .183 55.934))}.bg-red-50{background-color:var(--color-red-50,oklch(.971 .013 17.38))}.bg-red-100{background-color:var(--color-red-100,oklch(.936 .032 17.717))}.bg-red-500{background-color:var(--color-red-500,oklch(.637 .237 25.331))}.bg-slate-900{background-color:var(--color-slate-900,oklch(.208 .042 265.755))}.bg-stone-50{background-color:var(--color-stone-50,oklch(.985 .001 106.423))}.bg-white{background-color:var(--color-white,#fff)}.p-2{padding:var(--spacing-2,.5rem)}.p-2\.5{padding:var(--spacing-2_5,.625rem)}.p-4{padding:var(--spacing-4,1rem)}.p-20{padding:var(--spacing-20,5rem)}.px-3{padding-inline:var(--spacing-3,.75rem)}.px-4{padding-inline:var(--spacing-4,1rem)}.px-5{padding-inline:var(--spacing-5,1.25rem)}.px-6{padding-inline:var(--spacing-6,1.5rem)}.px-\[2px\]{padding-inline:2px}.py-1{padding-block:var(--spacing-1,.25rem)}.py-2{padding-block:var(--spacing-2,.5rem)}.pt-6{padding-top:var(--spacing-6,1.5rem)}.pr-3{padding-right:var(--spacing-3,.75rem)}.pr-4{padding-right:var(--spacing-4,1rem)}.pb-2{padding-bottom:var(--spacing-2,.5rem)}.pb-12{padding-bottom:var(--spacing-12,3rem)}.pl-3{padding-left:var(--spacing-3,.75rem)}.pl-5{padding-left:var(--spacing-5,1.25rem)}.text-center{text-align:center}.text-left{text-align:left}.align-middle{vertical-align:middle}.font-\[\'Work_Sans\'\]{font-family:Work Sans}.text-2xl{font-size:var(--font-size-2xl,1.5rem);line-height:var(--tw-leading,var(--font-size-2xl--line-height,2rem))}.text-3xl{font-size:var(--font-size-3xl,1.875rem);line-height:var(--tw-leading,var(--font-size-3xl--line-height,2.25rem))}.text-4xl{font-size:var(--font-size-4xl,2.25rem);line-height:var(--tw-leading,var(--font-size-4xl--line-height,2.5rem))}.text-6xl{font-size:var(--font-size-6xl,3.75rem);line-height:var(--tw-leading,var(--font-size-6xl--line-height,1))}.text-7xl{font-size:var(--font-size-7xl,4.5rem);line-height:var(--tw-leading,var(--font-size-7xl--line-height,1))}.text-sm{font-size:var(--font-size-sm,.875rem);line-height:var(--tw-leading,var(--font-size-sm--line-height,1.25rem))}.text-xl{font-size:var(--font-size-xl,1.25rem);line-height:var(--tw-leading,var(--font-size-xl--line-height,1.75rem))}.text-xs{font-size:var(--font-size-xs,.75rem);line-height:var(--tw-leading,var(--font-size-xs--line-height,1rem))}.text-\[13px\]{font-size:13px}.font-black{--tw-font-weight:900;font-weight:900}.font-bold{--tw-font-weight:700;font-weight:700}.font-medium{--tw-font-weight:500;font-weight:500}.font-normal{--tw-font-weight:400;font-weight:400}.font-semibold{--tw-font-weight:600;font-weight:600}.text-blue-600{color:var(--color-blue-600,oklch(.546 .245 262.881))}.text-blue-700{color:var(--color-blue-700,oklch(.488 .243 264.376))}.text-gray-700{color:var(--color-gray-700,oklch(.373 .034 259.733))}.text-gray-900{color:var(--color-gray-900,oklch(.21 .034 264.665))}.text-neutral-400{color:var(--color-neutral-400,oklch(.708 0 0))}.text-red-500{color:var(--color-red-500,oklch(.637 .237 25.331))}.text-red-600{color:var(--color-red-600,oklch(.577 .245 27.325))}.text-stone-500{color:var(--color-stone-500,oklch(.553 .013 58.071))}.text-stone-800{color:var(--color-stone-800,oklch(.268 .007 34.298))}.text-white{color:var(--color-white,#fff)}.underline{text-decoration-line:underline}.decoration-2{text-decoration-thickness:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.shadow-\[0_0_14px_14px_rgba\(0\,0\,0\,0\.05\)\]{--tw-shadow:0 0 14px 14px var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[0_0_40px_40px_rgba\(255\,255\,255\,1\)\]{--tw-shadow:0 0 40px 40px var(--tw-shadow-color,#fff);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline-none{outline-offset:2px;outline:2px solid #0000}.outline-0{outline-style:var(--tw-outline-style);outline-width:0}.blur{--tw-blur:blur(var(--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,)}.filter{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,)}.backdrop-blur-xl{--tw-backdrop-blur:blur(var(--blur-xl,24px));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,-webkit-backdrop-filter,backdrop-filter;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s))}.peer-checked\/s0\:rounded-full:is(:where(.peer\/s0):checked~*){border-radius:3.40282e38px}.peer-checked\/s0\:ring-3:is(:where(.peer\/s0):checked~*){--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentColor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.peer-checked\/s1\:rounded-full:is(:where(.peer\/s1):checked~*){border-radius:3.40282e38px}.peer-checked\/s1\:ring-3:is(:where(.peer\/s1):checked~*){--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentColor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.peer-checked\/s2\:rounded-full:is(:where(.peer\/s2):checked~*){border-radius:3.40282e38px}.peer-checked\/s2\:ring-3:is(:where(.peer\/s2):checked~*){--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentColor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.peer-checked\/s3\:rounded-full:is(:where(.peer\/s3):checked~*){border-radius:3.40282e38px}.peer-checked\/s3\:ring-3:is(:where(.peer\/s3):checked~*){--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentColor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.odd\:float-right:nth-child(odd){float:right}.odd\:my-8:nth-child(odd){margin-block:var(--spacing-8,2rem)}.odd\:max-w-lg:nth-child(odd){max-width:var(--width-lg,32rem)}.odd\:rounded-xl:nth-child(odd){border-radius:var(--radius-xl,.75rem)}.odd\:bg-stone-100:nth-child(odd){background-color:var(--color-stone-100,oklch(.97 .001 106.424))}.odd\:px-5:nth-child(odd){padding-inline:var(--spacing-5,1.25rem)}.odd\:py-2:nth-child(odd){padding-block:var(--spacing-2,.5rem)}.odd\:font-\[\'Work_Sans\'\]:nth-child(odd){font-family:Work Sans}.odd\:text-base:nth-child(odd){font-size:var(--font-size-base,1rem);line-height:var(--tw-leading,var(--font-size-base--line-height,1.5rem))}.even\:clear-both:nth-child(2n){clear:both}@media (hover:hover){.hover\:underline:hover{text-decoration-line:underline}}@media (hover:hover){.hover\:underline-offset-4:hover{text-underline-offset:4px}}.disabled\:cursor-progress:disabled{cursor:progress}.disabled\:border-stone-200:disabled{border-color:var(--color-stone-200,oklch(.923 .003 48.717))}.disabled\:text-stone-400:disabled{color:var(--color-stone-400,oklch(.709 .01 56.259))}}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.user{float:right;margin-top:var(--spacing-8,2rem);margin-bottom:var(--spacing-2,.5rem);border-radius:var(--radius-xl,.75rem);background-color:var(--color-stone-100,oklch(.97 .001 106.424));padding-inline:var(--spacing-5,1.25rem);padding-block:var(--spacing-2,.5rem);font-family:Work Sans;font-size:var(--font-size-base,1rem);line-height:var(--tw-leading,var(--font-size-base--line-height,1.5rem))}.thinking{background-color:#000;border-radius:9999px;width:15px;height:15px;margin-top:15px;margin-bottom:5px;margin-left:5px;animation:1.5s ease-in-out infinite pulsing}@keyframes pulsing{0%{transform:scale(1)}50%{transform:scale(1.4)}to{transform:scale(1)}}@supports (-moz-orient:inline){@layer base{*,:before,:after,::backdrop{--tw-leading:initial;--tw-font-weight:initial;--tw-border-style:solid;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:rotateX(0);--tw-rotate-y:rotateY(0);--tw-rotate-z:rotateZ(0);--tw-skew-x:skewX(0);--tw-skew-y:skewY(0);--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--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-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial}}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes ping{75%,to{opacity:0;transform:scale(2)}}@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}}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-border-style{syntax:"";inherits:false;initial-value:solid}@property --tw-scale-x{syntax:"|";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"|";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"|";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"";inherits:false;initial-value:rotateX(0)}@property --tw-rotate-y{syntax:"";inherits:false;initial-value:rotateY(0)}@property --tw-rotate-z{syntax:"";inherits:false;initial-value:rotate(0)}@property --tw-skew-x{syntax:"";inherits:false;initial-value:skew(0)}@property --tw-skew-y{syntax:"";inherits:false;initial-value:skewY(0)}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"";inherits:false;initial-value:solid}@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-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false} \ No newline at end of file diff --git a/assets/pierre-ia.org/dist/js/ai.1730544596700.js b/assets/pierre-ia.org/dist/js/ai.1730544596700.js deleted file mode 100644 index c651a6a..0000000 --- a/assets/pierre-ia.org/dist/js/ai.1730544596700.js +++ /dev/null @@ -1 +0,0 @@ -function x(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var D=x();function JJ(J){D=J}var KJ=/[&<>"']/,MJ=new RegExp(KJ.source,"g"),QJ=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,EJ=new RegExp(QJ.source,"g"),HJ={"&":"&","<":"<",">":">",'"':""","'":"'"},s=(J)=>HJ[J];function $(J,K){if(K){if(KJ.test(J))return J.replace(MJ,s)}else if(QJ.test(J))return J.replace(EJ,s);return J}var BJ=/(^|[^\[])\^/g;function W(J,K){let Q=typeof J==="string"?J:J.source;K=K||"";let V={replace:(X,Y)=>{let A=typeof Y==="string"?Y:Y.source;return A=A.replace(BJ,"$1"),Q=Q.replace(X,A),V},getRegex:()=>{return new RegExp(Q,K)}};return V}function n(J){try{J=encodeURI(J).replace(/%25/g,"%")}catch{return null}return J}var y={exec:()=>null};function r(J,K){let Q=J.replace(/\|/g,(Y,A,Z)=>{let G=!1,q=A;while(--q>=0&&Z[q]==="\\")G=!G;if(G)return"|";else return" |"}),V=Q.split(/ \|/),X=0;if(!V[0].trim())V.shift();if(V.length>0&&!V[V.length-1].trim())V.pop();if(K)if(V.length>K)V.splice(K);else while(V.length{let Y=X.match(/^\s+/);if(Y===null)return X;let[A]=Y;if(A.length>=V.length)return X.slice(V.length);return X}).join("\n")}class S{options;rules;lexer;constructor(J){this.options=J||D}space(J){let K=this.rules.block.newline.exec(J);if(K&&K[0].length>0)return{type:"space",raw:K[0]}}code(J){let K=this.rules.block.code.exec(J);if(K){let Q=K[0].replace(/^(?: {1,4}| {0,3}\t)/gm,"");return{type:"code",raw:K[0],codeBlockStyle:"indented",text:!this.options.pedantic?C(Q,"\n"):Q}}}fences(J){let K=this.rules.block.fences.exec(J);if(K){let Q=K[0],V=DJ(Q,K[3]||"");return{type:"code",raw:Q,lang:K[2]?K[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):K[2],text:V}}}heading(J){let K=this.rules.block.heading.exec(J);if(K){let Q=K[2].trim();if(/#$/.test(Q)){let V=C(Q,"#");if(this.options.pedantic)Q=V.trim();else if(!V||/ $/.test(V))Q=V.trim()}return{type:"heading",raw:K[0],depth:K[1].length,text:Q,tokens:this.lexer.inline(Q)}}}hr(J){let K=this.rules.block.hr.exec(J);if(K)return{type:"hr",raw:C(K[0],"\n")}}blockquote(J){let K=this.rules.block.blockquote.exec(J);if(K){let Q=C(K[0],"\n").split("\n"),V="",X="",Y=[];while(Q.length>0){let A=!1,Z=[],G;for(G=0;G/.test(Q[G]))Z.push(Q[G]),A=!0;else if(!A)Z.push(Q[G]);else break;Q=Q.slice(G);let q=Z.join("\n"),O=q.replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,"\n $1").replace(/^ {0,3}>[ \t]?/gm,"");V=V?`${V}\n${q}`:q,X=X?`${X}\n${O}`:O;let U=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(O,Y,!0),this.lexer.state.top=U,Q.length===0)break;let N=Y[Y.length-1];if(N?.type==="code")break;else if(N?.type==="blockquote"){let j=N,M=j.raw+"\n"+Q.join("\n"),B=this.blockquote(M);Y[Y.length-1]=B,V=V.substring(0,V.length-j.raw.length)+B.raw,X=X.substring(0,X.length-j.text.length)+B.text;break}else if(N?.type==="list"){let j=N,M=j.raw+"\n"+Q.join("\n"),B=this.list(M);Y[Y.length-1]=B,V=V.substring(0,V.length-N.raw.length)+B.raw,X=X.substring(0,X.length-j.raw.length)+B.raw,Q=M.substring(Y[Y.length-1].raw.length).split("\n");continue}}return{type:"blockquote",raw:V,tokens:Y,text:X}}}list(J){let K=this.rules.block.list.exec(J);if(K){let Q=K[1].trim(),V=Q.length>1,X={type:"list",raw:"",ordered:V,start:V?+Q.slice(0,-1):"",loose:!1,items:[]};if(Q=V?`\\d{1,9}\\${Q.slice(-1)}`:`\\${Q}`,this.options.pedantic)Q=V?Q:"[*+-]";let Y=new RegExp(`^( {0,3}${Q})((?:[\t ][^\\n]*)?(?:\\n|\$))`),A=!1;while(J){let Z=!1,G="",q="";if(!(K=Y.exec(J)))break;if(this.rules.block.hr.test(J))break;G=K[0],J=J.substring(G.length);let O=K[2].split("\n",1)[0].replace(/^\t+/,(g)=>" ".repeat(3*g.length)),U=J.split("\n",1)[0],N=!O.trim(),j=0;if(this.options.pedantic)j=2,q=O.trimStart();else if(N)j=K[1].length+1;else j=K[2].search(/[^ ]/),j=j>4?1:j,q=O.slice(j),j+=K[1].length;if(N&&/^[ \t]*$/.test(U))G+=U+"\n",J=J.substring(U.length+1),Z=!0;if(!Z){let g=new RegExp(`^ {0,${Math.min(3,j-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|\$))`),a=new RegExp(`^ {0,${Math.min(3,j-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|\$)`),c=new RegExp(`^ {0,${Math.min(3,j-1)}}(?:\`\`\`|~~~)`),o=new RegExp(`^ {0,${Math.min(3,j-1)}}#`),$J=new RegExp(`^ {0,${Math.min(3,j-1)}}<[a-z].*>`,"i");while(J){let u=J.split("\n",1)[0],I;if(U=u,this.options.pedantic)U=U.replace(/^ {1,4}(?=( {4})*[^ ])/g," "),I=U;else I=U.replace(/\t/g," ");if(c.test(U))break;if(o.test(U))break;if($J.test(U))break;if(g.test(U))break;if(a.test(U))break;if(I.search(/[^ ]/)>=j||!U.trim())q+="\n"+I.slice(j);else{if(N)break;if(O.replace(/\t/g," ").search(/[^ ]/)>=4)break;if(c.test(O))break;if(o.test(O))break;if(a.test(O))break;q+="\n"+U}if(!N&&!U.trim())N=!0;G+=u+"\n",J=J.substring(u.length+1),O=I.slice(j)}}if(!X.loose){if(A)X.loose=!0;else if(/\n[ \t]*\n[ \t]*$/.test(G))A=!0}let M=null,B;if(this.options.gfm){if(M=/^\[[ xX]\] /.exec(q),M)B=M[0]!=="[ ] ",q=q.replace(/^\[[ xX]\] +/,"")}X.items.push({type:"list_item",raw:G,task:!!M,checked:B,loose:!1,text:q,tokens:[]}),X.raw+=G}X.items[X.items.length-1].raw=X.items[X.items.length-1].raw.trimEnd(),X.items[X.items.length-1].text=X.items[X.items.length-1].text.trimEnd(),X.raw=X.raw.trimEnd();for(let Z=0;ZO.type==="space"),q=G.length>0&&G.some((O)=>/\n.*\n/.test(O.raw));X.loose=q}if(X.loose)for(let Z=0;Z$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",X=K[3]?K[3].substring(1,K[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):K[3];return{type:"def",tag:Q,raw:K[0],href:V,title:X}}}table(J){let K=this.rules.block.table.exec(J);if(!K)return;if(!/[:|]/.test(K[2]))return;let Q=r(K[1]),V=K[2].replace(/^\||\| *$/g,"").split("|"),X=K[3]&&K[3].trim()?K[3].replace(/\n[ \t]*$/,"").split("\n"):[],Y={type:"table",raw:K[0],header:[],align:[],rows:[]};if(Q.length!==V.length)return;for(let A of V)if(/^ *-+: *$/.test(A))Y.align.push("right");else if(/^ *:-+: *$/.test(A))Y.align.push("center");else if(/^ *:-+ *$/.test(A))Y.align.push("left");else Y.align.push(null);for(let A=0;A{return{text:Z,tokens:this.lexer.inline(Z),header:!1,align:Y.align[G]}}));return Y}lheading(J){let K=this.rules.block.lheading.exec(J);if(K)return{type:"heading",raw:K[0],depth:K[2].charAt(0)==="="?1:2,text:K[1],tokens:this.lexer.inline(K[1])}}paragraph(J){let K=this.rules.block.paragraph.exec(J);if(K){let Q=K[1].charAt(K[1].length-1)==="\n"?K[1].slice(0,-1):K[1];return{type:"paragraph",raw:K[0],text:Q,tokens:this.lexer.inline(Q)}}}text(J){let K=this.rules.block.text.exec(J);if(K)return{type:"text",raw:K[0],text:K[0],tokens:this.lexer.inline(K[0])}}escape(J){let K=this.rules.inline.escape.exec(J);if(K)return{type:"escape",raw:K[0],text:$(K[1])}}tag(J){let K=this.rules.inline.tag.exec(J);if(K){if(!this.lexer.state.inLink&&/^/i.test(K[0]))this.lexer.state.inLink=!1;if(!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(K[0]))this.lexer.state.inRawBlock=!0;else if(this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(K[0]))this.lexer.state.inRawBlock=!1;return{type:"html",raw:K[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:K[0]}}}link(J){let K=this.rules.inline.link.exec(J);if(K){let Q=K[2].trim();if(!this.options.pedantic&&/^$/.test(Q))return;let Y=C(Q.slice(0,-1),"\\");if((Q.length-Y.length)%2===0)return}else{let Y=zJ(K[2],"()");if(Y>-1){let Z=(K[0].indexOf("!")===0?5:4)+K[1].length+Y;K[2]=K[2].substring(0,Y),K[0]=K[0].substring(0,Z).trim(),K[3]=""}}let V=K[2],X="";if(this.options.pedantic){let Y=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(V);if(Y)V=Y[1],X=Y[3]}else X=K[3]?K[3].slice(1,-1):"";if(V=V.trim(),/^$/.test(Q))V=V.slice(1);else V=V.slice(1,-1);return t(K,{href:V?V.replace(this.rules.inline.anyPunctuation,"$1"):V,title:X?X.replace(this.rules.inline.anyPunctuation,"$1"):X},K[0],this.lexer)}}reflink(J,K){let Q;if((Q=this.rules.inline.reflink.exec(J))||(Q=this.rules.inline.nolink.exec(J))){let V=(Q[2]||Q[1]).replace(/\s+/g," "),X=K[V.toLowerCase()];if(!X){let Y=Q[0].charAt(0);return{type:"text",raw:Y,text:Y}}return t(Q,X,Q[0],this.lexer)}}emStrong(J,K,Q=""){let V=this.rules.inline.emStrongLDelim.exec(J);if(!V)return;if(V[3]&&Q.match(/[\p{L}\p{N}]/u))return;if(!(V[1]||V[2])||!Q||this.rules.inline.punctuation.exec(Q)){let Y=[...V[0]].length-1,A,Z,G=Y,q=0,O=V[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;O.lastIndex=0,K=K.slice(-1*J.length+Y);while((V=O.exec(K))!=null){if(A=V[1]||V[2]||V[3]||V[4]||V[5]||V[6],!A)continue;if(Z=[...A].length,V[3]||V[4]){G+=Z;continue}else if(V[5]||V[6]){if(Y%3&&!((Y+Z)%3)){q+=Z;continue}}if(G-=Z,G>0)continue;Z=Math.min(Z,Z+G+q);let U=[...V[0]][0].length,N=J.slice(0,Y+V.index+U+Z);if(Math.min(Y,Z)%2){let M=N.slice(1,-1);return{type:"em",raw:N,text:M,tokens:this.lexer.inlineTokens(M)}}let j=N.slice(2,-2);return{type:"strong",raw:N,text:j,tokens:this.lexer.inlineTokens(j)}}}}codespan(J){let K=this.rules.inline.code.exec(J);if(K){let Q=K[2].replace(/\n/g," "),V=/[^ ]/.test(Q),X=/^ /.test(Q)&&/ $/.test(Q);if(V&&X)Q=Q.substring(1,Q.length-1);return Q=$(Q,!0),{type:"codespan",raw:K[0],text:Q}}}br(J){let K=this.rules.inline.br.exec(J);if(K)return{type:"br",raw:K[0]}}del(J){let K=this.rules.inline.del.exec(J);if(K)return{type:"del",raw:K[0],text:K[2],tokens:this.lexer.inlineTokens(K[2])}}autolink(J){let K=this.rules.inline.autolink.exec(J);if(K){let Q,V;if(K[2]==="@")Q=$(K[1]),V="mailto:"+Q;else Q=$(K[1]),V=Q;return{type:"link",raw:K[0],text:Q,href:V,tokens:[{type:"text",raw:Q,text:Q}]}}}url(J){let K;if(K=this.rules.inline.url.exec(J)){let Q,V;if(K[2]==="@")Q=$(K[0]),V="mailto:"+Q;else{let X;do X=K[0],K[0]=this.rules.inline._backpedal.exec(K[0])?.[0]??"";while(X!==K[0]);if(Q=$(K[0]),K[1]==="www.")V="http://"+K[0];else V=K[0]}return{type:"link",raw:K[0],text:Q,href:V,tokens:[{type:"text",raw:Q,text:Q}]}}}inlineText(J){let K=this.rules.inline.text.exec(J);if(K){let Q;if(this.lexer.state.inRawBlock)Q=K[0];else Q=$(K[0]);return{type:"text",raw:K[0],text:Q}}}}var IJ=/^(?:[ \t]*(?:\n|$))+/,CJ=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,RJ=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,v=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,yJ=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,VJ=/(?:[*+-]|\d{1,9}[.)])/,XJ=W(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,VJ).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/).getRegex(),m=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,PJ=/^[^\n]+/,d=/(?!\s*\])(?:\\.|[^\[\]\\])+/,SJ=W(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",d).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),wJ=W(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,VJ).getRegex(),_="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",p=/|$))/,vJ=W("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$))","i").replace("comment",p).replace("tag",_).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),YJ=W(m).replace("hr",v).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[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",_).getRegex(),fJ=W(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",YJ).getRegex(),l={blockquote:fJ,code:CJ,def:SJ,fences:RJ,heading:yJ,hr:v,html:vJ,lheading:XJ,list:wJ,newline:IJ,paragraph:YJ,table:y,text:PJ},e=W("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",v).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}\t)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",_).getRegex(),LJ={...l,table:e,paragraph:W(m).replace("hr",v).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",e).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",_).getRegex()},bJ={...l,html:W('^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))').replace("comment",p).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:y,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:W(m).replace("hr",v).replace("heading"," *#{1,6} *[^\n]").replace("lheading",XJ).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},AJ=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,_J=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,ZJ=/^( {2,}|\\)\n(?!\s*$)/,TJ=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,hJ=W(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,f).getRegex(),xJ=W("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,f).getRegex(),mJ=W("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,f).getRegex(),dJ=W(/\\([punct])/,"gu").replace(/punct/g,f).getRegex(),pJ=W(/^<(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(),lJ=W(p).replace("(?:-->|$)","-->").getRegex(),iJ=W("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",lJ).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),b=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,kJ=W(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",b).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),qJ=W(/^!?\[(label)\]\[(ref)\]/).replace("label",b).replace("ref",d).getRegex(),GJ=W(/^!?\[(ref)\](?:\[\])?/).replace("ref",d).getRegex(),aJ=W("reflink|nolink(?!\\()","g").replace("reflink",qJ).replace("nolink",GJ).getRegex(),i={_backpedal:y,anyPunctuation:dJ,autolink:pJ,blockSkip:uJ,br:ZJ,code:_J,del:y,emStrongLDelim:hJ,emStrongRDelimAst:xJ,emStrongRDelimUnd:mJ,escape:AJ,link:kJ,nolink:GJ,punctuation:gJ,reflink:qJ,reflinkSearch:aJ,tag:iJ,text:TJ,url:y},cJ={...i,link:W(/^!?\[(label)\]\((.*?)\)/).replace("label",b).getRegex(),reflink:W(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",b).getRegex()},h={...i,escape:W(AJ).replace("])","~|])").getRegex(),url:W(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").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~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\{if(V=A.call({lexer:this},J,K))return J=J.substring(V.raw.length),K.push(V),!0;return!1}))continue;if(V=this.tokenizer.space(J)){if(J=J.substring(V.raw.length),V.raw.length===1&&K.length>0)K[K.length-1].raw+="\n";else K.push(V);continue}if(V=this.tokenizer.code(J)){if(J=J.substring(V.raw.length),X=K[K.length-1],X&&(X.type==="paragraph"||X.type==="text"))X.raw+="\n"+V.raw,X.text+="\n"+V.text,this.inlineQueue[this.inlineQueue.length-1].src=X.text;else K.push(V);continue}if(V=this.tokenizer.fences(J)){J=J.substring(V.raw.length),K.push(V);continue}if(V=this.tokenizer.heading(J)){J=J.substring(V.raw.length),K.push(V);continue}if(V=this.tokenizer.hr(J)){J=J.substring(V.raw.length),K.push(V);continue}if(V=this.tokenizer.blockquote(J)){J=J.substring(V.raw.length),K.push(V);continue}if(V=this.tokenizer.list(J)){J=J.substring(V.raw.length),K.push(V);continue}if(V=this.tokenizer.html(J)){J=J.substring(V.raw.length),K.push(V);continue}if(V=this.tokenizer.def(J)){if(J=J.substring(V.raw.length),X=K[K.length-1],X&&(X.type==="paragraph"||X.type==="text"))X.raw+="\n"+V.raw,X.text+="\n"+V.raw,this.inlineQueue[this.inlineQueue.length-1].src=X.text;else if(!this.tokens.links[V.tag])this.tokens.links[V.tag]={href:V.href,title:V.title};continue}if(V=this.tokenizer.table(J)){J=J.substring(V.raw.length),K.push(V);continue}if(V=this.tokenizer.lheading(J)){J=J.substring(V.raw.length),K.push(V);continue}if(Y=J,this.options.extensions&&this.options.extensions.startBlock){let A=1/0,Z=J.slice(1),G;if(this.options.extensions.startBlock.forEach((q)=>{if(G=q.call({lexer:this},Z),typeof G==="number"&&G>=0)A=Math.min(A,G)}),A<1/0&&A>=0)Y=J.substring(0,A+1)}if(this.state.top&&(V=this.tokenizer.paragraph(Y))){if(X=K[K.length-1],Q&&X?.type==="paragraph")X.raw+="\n"+V.raw,X.text+="\n"+V.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=X.text;else K.push(V);Q=Y.length!==J.length,J=J.substring(V.raw.length);continue}if(V=this.tokenizer.text(J)){if(J=J.substring(V.raw.length),X=K[K.length-1],X&&X.type==="text")X.raw+="\n"+V.raw,X.text+="\n"+V.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=X.text;else K.push(V);continue}if(J){let A="Infinite loop on byte: "+J.charCodeAt(0);if(this.options.silent){console.error(A);break}else throw new Error(A)}}return this.state.top=!0,K}inline(J,K=[]){return this.inlineQueue.push({src:J,tokens:K}),K}inlineTokens(J,K=[]){let Q,V,X,Y=J,A,Z,G;if(this.tokens.links){let q=Object.keys(this.tokens.links);if(q.length>0){while((A=this.tokenizer.rules.inline.reflinkSearch.exec(Y))!=null)if(q.includes(A[0].slice(A[0].lastIndexOf("[")+1,-1)))Y=Y.slice(0,A.index)+"["+"a".repeat(A[0].length-2)+"]"+Y.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex)}}while((A=this.tokenizer.rules.inline.blockSkip.exec(Y))!=null)Y=Y.slice(0,A.index)+"["+"a".repeat(A[0].length-2)+"]"+Y.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);while((A=this.tokenizer.rules.inline.anyPunctuation.exec(Y))!=null)Y=Y.slice(0,A.index)+"++"+Y.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);while(J){if(!Z)G="";if(Z=!1,this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((q)=>{if(Q=q.call({lexer:this},J,K))return J=J.substring(Q.raw.length),K.push(Q),!0;return!1}))continue;if(Q=this.tokenizer.escape(J)){J=J.substring(Q.raw.length),K.push(Q);continue}if(Q=this.tokenizer.tag(J)){if(J=J.substring(Q.raw.length),V=K[K.length-1],V&&Q.type==="text"&&V.type==="text")V.raw+=Q.raw,V.text+=Q.text;else K.push(Q);continue}if(Q=this.tokenizer.link(J)){J=J.substring(Q.raw.length),K.push(Q);continue}if(Q=this.tokenizer.reflink(J,this.tokens.links)){if(J=J.substring(Q.raw.length),V=K[K.length-1],V&&Q.type==="text"&&V.type==="text")V.raw+=Q.raw,V.text+=Q.text;else K.push(Q);continue}if(Q=this.tokenizer.emStrong(J,Y,G)){J=J.substring(Q.raw.length),K.push(Q);continue}if(Q=this.tokenizer.codespan(J)){J=J.substring(Q.raw.length),K.push(Q);continue}if(Q=this.tokenizer.br(J)){J=J.substring(Q.raw.length),K.push(Q);continue}if(Q=this.tokenizer.del(J)){J=J.substring(Q.raw.length),K.push(Q);continue}if(Q=this.tokenizer.autolink(J)){J=J.substring(Q.raw.length),K.push(Q);continue}if(!this.state.inLink&&(Q=this.tokenizer.url(J))){J=J.substring(Q.raw.length),K.push(Q);continue}if(X=J,this.options.extensions&&this.options.extensions.startInline){let q=1/0,O=J.slice(1),U;if(this.options.extensions.startInline.forEach((N)=>{if(U=N.call({lexer:this},O),typeof U==="number"&&U>=0)q=Math.min(q,U)}),q<1/0&&q>=0)X=J.substring(0,q+1)}if(Q=this.tokenizer.inlineText(X)){if(J=J.substring(Q.raw.length),Q.raw.slice(-1)!=="_")G=Q.raw.slice(-1);if(Z=!0,V=K[K.length-1],V&&V.type==="text")V.raw+=Q.raw,V.text+=Q.text;else K.push(Q);continue}if(J){let q="Infinite loop on byte: "+J.charCodeAt(0);if(this.options.silent){console.error(q);break}else throw new Error(q)}}return K}}class w{options;parser;constructor(J){this.options=J||D}space(J){return""}code({text:J,lang:K,escaped:Q}){let V=(K||"").match(/^\S*/)?.[0],X=J.replace(/\n$/,"")+"\n";if(!V)return"
"+(Q?X:$(X,!0))+"
\n";return'
'+(Q?X:$(X,!0))+"
\n"}blockquote({tokens:J}){return`
\n${this.parser.parse(J)}
\n`}html({text:J}){return J}heading({tokens:J,depth:K}){return`${this.parser.parseInline(J)}\n`}hr(J){return"
\n"}list(J){let{ordered:K,start:Q}=J,V="";for(let A=0;A\n"+V+"\n"}listitem(J){let K="";if(J.task){let Q=this.checkbox({checked:!!J.checked});if(J.loose)if(J.tokens.length>0&&J.tokens[0].type==="paragraph"){if(J.tokens[0].text=Q+" "+J.tokens[0].text,J.tokens[0].tokens&&J.tokens[0].tokens.length>0&&J.tokens[0].tokens[0].type==="text")J.tokens[0].tokens[0].text=Q+" "+J.tokens[0].tokens[0].text}else J.tokens.unshift({type:"text",raw:Q+" ",text:Q+" "});else K+=Q+" "}return K+=this.parser.parse(J.tokens,!!J.loose),`
  • ${K}
  • \n`}checkbox({checked:J}){return"'}paragraph({tokens:J}){return`

    ${this.parser.parseInline(J)}

    \n`}table(J){let K="",Q="";for(let X=0;X${V}`;return"\n\n"+K+"\n"+V+"
    \n"}tablerow({text:J}){return`\n${J}\n`}tablecell(J){let K=this.parser.parseInline(J.tokens),Q=J.header?"th":"td";return(J.align?`<${Q} align="${J.align}">`:`<${Q}>`)+K+`\n`}strong({tokens:J}){return`${this.parser.parseInline(J)}`}em({tokens:J}){return`${this.parser.parseInline(J)}`}codespan({text:J}){return`${J}`}br(J){return"
    "}del({tokens:J}){return`${this.parser.parseInline(J)}`}link({href:J,title:K,tokens:Q}){let V=this.parser.parseInline(Q),X=n(J);if(X===null)return V;J=X;let Y='
    ",Y}image({href:J,title:K,text:Q}){let V=n(J);if(V===null)return Q;J=V;let X=`${Q}{let A=X[Y].flat(1/0);Q=Q.concat(this.walkTokens(A,K))});else if(X.tokens)Q=Q.concat(this.walkTokens(X.tokens,K))}}return Q}use(...J){let K=this.defaults.extensions||{renderers:{},childTokens:{}};return J.forEach((Q)=>{let V={...Q};if(V.async=this.defaults.async||V.async||!1,Q.extensions)Q.extensions.forEach((X)=>{if(!X.name)throw new Error("extension name required");if("renderer"in X){let Y=K.renderers[X.name];if(Y)K.renderers[X.name]=function(...A){let Z=X.renderer.apply(this,A);if(Z===!1)Z=Y.apply(this,A);return Z};else K.renderers[X.name]=X.renderer}if("tokenizer"in X){if(!X.level||X.level!=="block"&&X.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let Y=K[X.level];if(Y)Y.unshift(X.tokenizer);else K[X.level]=[X.tokenizer];if(X.start){if(X.level==="block")if(K.startBlock)K.startBlock.push(X.start);else K.startBlock=[X.start];else if(X.level==="inline")if(K.startInline)K.startInline.push(X.start);else K.startInline=[X.start]}}if("childTokens"in X&&X.childTokens)K.childTokens[X.name]=X.childTokens}),V.extensions=K;if(Q.renderer){let X=this.defaults.renderer||new w(this.defaults);for(let Y in Q.renderer){if(!(Y in X))throw new Error(`renderer '${Y}' does not exist`);if(["options","parser"].includes(Y))continue;let A=Y,Z=Q.renderer[A],G=X[A];X[A]=(...q)=>{let O=Z.apply(X,q);if(O===!1)O=G.apply(X,q);return O||""}}V.renderer=X}if(Q.tokenizer){let X=this.defaults.tokenizer||new S(this.defaults);for(let Y in Q.tokenizer){if(!(Y in X))throw new Error(`tokenizer '${Y}' does not exist`);if(["options","rules","lexer"].includes(Y))continue;let A=Y,Z=Q.tokenizer[A],G=X[A];X[A]=(...q)=>{let O=Z.apply(X,q);if(O===!1)O=G.apply(X,q);return O}}V.tokenizer=X}if(Q.hooks){let X=this.defaults.hooks||new P;for(let Y in Q.hooks){if(!(Y in X))throw new Error(`hook '${Y}' does not exist`);if(["options","block"].includes(Y))continue;let A=Y,Z=Q.hooks[A],G=X[A];if(P.passThroughHooks.has(Y))X[A]=(q)=>{if(this.defaults.async)return Promise.resolve(Z.call(X,q)).then((U)=>{return G.call(X,U)});let O=Z.call(X,q);return G.call(X,O)};else X[A]=(...q)=>{let O=Z.apply(X,q);if(O===!1)O=G.apply(X,q);return O}}V.hooks=X}if(Q.walkTokens){let X=this.defaults.walkTokens,Y=Q.walkTokens;V.walkTokens=function(A){let Z=[];if(Z.push(Y.call(this,A)),X)Z=Z.concat(X.call(this,A));return Z}}this.defaults={...this.defaults,...V}}),this}setOptions(J){return this.defaults={...this.defaults,...J},this}lexer(J,K){return E.lex(J,K??this.defaults)}parser(J,K){return H.parse(J,K??this.defaults)}parseMarkdown(J){return(Q,V)=>{let X={...V},Y={...this.defaults,...X},A=this.onError(!!Y.silent,!!Y.async);if(this.defaults.async===!0&&X.async===!1)return A(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 Q==="undefined"||Q===null)return A(new Error("marked(): input parameter is undefined or null"));if(typeof Q!=="string")return A(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(Q)+", string expected"));if(Y.hooks)Y.hooks.options=Y,Y.hooks.block=J;let Z=Y.hooks?Y.hooks.provideLexer():J?E.lex:E.lexInline,G=Y.hooks?Y.hooks.provideParser():J?H.parse:H.parseInline;if(Y.async)return Promise.resolve(Y.hooks?Y.hooks.preprocess(Q):Q).then((q)=>Z(q,Y)).then((q)=>Y.hooks?Y.hooks.processAllTokens(q):q).then((q)=>Y.walkTokens?Promise.all(this.walkTokens(q,Y.walkTokens)).then(()=>q):q).then((q)=>G(q,Y)).then((q)=>Y.hooks?Y.hooks.postprocess(q):q).catch(A);try{if(Y.hooks)Q=Y.hooks.preprocess(Q);let q=Z(Q,Y);if(Y.hooks)q=Y.hooks.processAllTokens(q);if(Y.walkTokens)this.walkTokens(q,Y.walkTokens);let O=G(q,Y);if(Y.hooks)O=Y.hooks.postprocess(O);return O}catch(q){return A(q)}}}onError(J,K){return(Q)=>{if(Q.message+="\nPlease report this to https://github.com/markedjs/marked.",J){let V="

    An error occurred:

    "+$(Q.message+"",!0)+"
    ";if(K)return Promise.resolve(V);return V}if(K)return Promise.reject(Q);throw Q}}}var z=new OJ;function F(J,K){return z.parse(J,K)}F.options=F.setOptions=function(J){return z.setOptions(J),F.defaults=z.defaults,JJ(F.defaults),F};F.getDefaults=x;F.defaults=D;F.use=function(...J){return z.use(...J),F.defaults=z.defaults,JJ(F.defaults),F};F.walkTokens=function(J,K){return z.walkTokens(J,K)};F.parseInline=z.parseInline;F.Parser=H;F.parser=H.parse;F.Renderer=w;F.TextRenderer=T;F.Lexer=E;F.lexer=E.lex;F.Tokenizer=S;F.Hooks=P;F.parse=F;var{options:JK,setOptions:KK,use:QK,walkTokens:VK,parseInline:XK}=F;var YK=H.parse,AK=E.lex;var sJ=document.querySelectorAll("button");for(let J of sJ)J.addEventListener("click",(K)=>{let V=K.target.innerText;k(V)});var FJ=document.getElementById("prompt__input");if(FJ)FJ.addEventListener("keydown",(J)=>{if(J.key==="Enter"){J.preventDefault();let K=NJ();k(K)}});var WJ=document.getElementById("prompt__submit");if(WJ)WJ.addEventListener("click",(J)=>{J.preventDefault();let K=NJ();k(K)});function k(J){if(J!=="")tJ(J),eJ(J)}function nJ(){let J=document.querySelector('[data-role="system__logo"]');if(!J)return null;return J.cloneNode(!0)}function rJ(){let J=document.querySelectorAll("a:not(#footprint__link)");for(let K of J)K.target="_blank"}function jJ(){let J=document.querySelector("main");if(J)J.scrollTop=J.scrollHeight}function NJ(){let J=document.getElementById("prompt__input");if(J){let{value:K}=J;return J.value="",K}return"Bonjour !"}function UJ(J){document.querySelector('[data-role="system__loading"]')?.remove();let Q=document.querySelector("main > div:last-child");if(!Q)return;Q.classList.add("prose");let V=J.replace(//g,"\n\n").replace(/\n{3,}/g,"\n\n");Q.innerHTML=F.parse(V),rJ(),jJ()}function tJ(J){let K=document.querySelector("main");if(!K)return;let Q=document.createElement("div");Q.setAttribute("data-role","user"),Q.classList.add("user"),Q.textContent=J;let V=document.createElement("div");V.setAttribute("data-role","system");let X=document.createElement("div");X.classList.add("thinking"),V.appendChild(X);let Y=nJ(),A=document.createDocumentFragment();A.appendChild(Q),A.appendChild(Y),A.appendChild(V),K.appendChild(A),jJ()}function eJ(J){let K=document.getElementById("prompt__submit");K.disabled=!0;let Q=document.getElementsByTagName("button");for(let q of Q)q.disabled=!0;let V=window.location.pathname.substring(3),X=new URLSearchParams(window.location.search).get("config"),Y=new URLSearchParams(window.location.search).get("context"),A=`/ai/${V}?message=${encodeURIComponent(J)}&config=${encodeURIComponent(X||"")}&context=${encodeURIComponent(Y||"")}`,Z=new EventSource(A),G="";Z.onmessage=(q)=>{if(q.data!=="pierre_event_stream_closed")G+=q.data,UJ(G);else{Z.close(),K.disabled=!1;for(let O of Q)O.disabled=!1}},Z.onerror=(q)=>{if(console.error("An error occurred with the EventSource:",q),Z.readyState===EventSource.CLOSED)console.error("Connection closed due to incomplete chunked encoding."),G+=" **/ Erreur-r\xE9seau : v\xE9rifier votre connexion et rafraichissez la page.** ",UJ(G),Z.close()}} diff --git a/assets/pierre-ia.org/dist/js/ai.1731159647797.js b/assets/pierre-ia.org/dist/js/ai.1731159647797.js new file mode 100644 index 0000000..e45b85b --- /dev/null +++ b/assets/pierre-ia.org/dist/js/ai.1731159647797.js @@ -0,0 +1 @@ +function m(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var I=m();function KJ(J){I=J}var P={exec:()=>null};function F(J,K=""){let Q=typeof J==="string"?J:J.source,V={replace:(X,Y)=>{let A=typeof Y==="string"?Y:Y.source;return A=A.replace(j.caret,"$1"),Q=Q.replace(X,A),V},getRegex:()=>{return new RegExp(Q,K)}};return V}var j={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ 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,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:(J)=>new RegExp(`^( {0,3}${J})((?:[\t ][^\\n]*)?(?:\\n|\$))`),nextBulletRegex:(J)=>new RegExp(`^ {0,${Math.min(3,J-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|\$))`),hrRegex:(J)=>new RegExp(`^ {0,${Math.min(3,J-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|\$)`),fencesBeginRegex:(J)=>new RegExp(`^ {0,${Math.min(3,J-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:(J)=>new RegExp(`^ {0,${Math.min(3,J-1)}}#`),htmlBeginRegex:(J)=>new RegExp(`^ {0,${Math.min(3,J-1)}}<(?:[a-z].*>|!--)`,"i")},jJ=/^(?:[ \t]*(?:\n|$))+/,EJ=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,MJ=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,f=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,HJ=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,QJ=/(?:[*+-]|\d{1,9}[.)])/,VJ=F(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,QJ).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/).getRegex(),d=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,BJ=/^[^\n]+/,p=/(?!\s*\])(?:\\.|[^\[\]\\])+/,zJ=F(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",p).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),DJ=F(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,QJ).getRegex(),_="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",l=/|$))/,IJ=F("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$))","i").replace("comment",l).replace("tag",_).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),XJ=F(d).replace("hr",f).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[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",_).getRegex(),RJ=F(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",XJ).getRegex(),i={blockquote:RJ,code:EJ,def:zJ,fences:MJ,heading:HJ,hr:f,html:IJ,lheading:VJ,list:DJ,newline:jJ,paragraph:XJ,table:P,text:BJ},n=F("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",f).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}\t)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",_).getRegex(),CJ={...i,table:n,paragraph:F(d).replace("hr",f).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",n).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",_).getRegex()},yJ={...i,html:F('^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))').replace("comment",l).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:P,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:F(d).replace("hr",f).replace("heading"," *#{1,6} *[^\n]").replace("lheading",VJ).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},YJ=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,PJ=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,AJ=/^( {2,}|\\)\n(?!\s*$)/,SJ=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,fJ=F(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,L).getRegex(),LJ=F("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,L).getRegex(),bJ=F("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,L).getRegex(),TJ=F(/\\([punct])/,"gu").replace(/punct/g,L).getRegex(),_J=F(/^<(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(),gJ=F(l).replace("(?:-->|$)","-->").getRegex(),uJ=F("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",gJ).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),T=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,hJ=F(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",T).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),ZJ=F(/^!?\[(label)\]\[(ref)\]/).replace("label",T).replace("ref",p).getRegex(),$J=F(/^!?\[(ref)\](?:\[\])?/).replace("ref",p).getRegex(),xJ=F("reflink|nolink(?!\\()","g").replace("reflink",ZJ).replace("nolink",$J).getRegex(),k={_backpedal:P,anyPunctuation:TJ,autolink:_J,blockSkip:vJ,br:AJ,code:PJ,del:P,emStrongLDelim:fJ,emStrongRDelimAst:LJ,emStrongRDelimUnd:bJ,escape:YJ,link:hJ,nolink:$J,punctuation:wJ,reflink:ZJ,reflinkSearch:xJ,tag:uJ,text:SJ,url:P},mJ={...k,link:F(/^!?\[(label)\]\((.*?)\)/).replace("label",T).getRegex(),reflink:F(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",T).getRegex()},x={...k,escape:F(YJ).replace("])","~|])").getRegex(),url:F(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").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~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\":">",'"':""","'":"'"},r=(J)=>pJ[J];function z(J,K){if(K){if(j.escapeTest.test(J))return J.replace(j.escapeReplace,r)}else if(j.escapeTestNoEncode.test(J))return J.replace(j.escapeReplaceNoEncode,r);return J}function t(J){try{J=encodeURI(J).replace(j.percentDecode,"%")}catch{return null}return J}function e(J,K){let Q=J.replace(j.findPipe,(Y,A,Z)=>{let q=!1,$=A;while(--$>=0&&Z[$]==="\\")q=!q;if(q)return"|";else return" |"}),V=Q.split(j.splitPipe),X=0;if(!V[0].trim())V.shift();if(V.length>0&&!V[V.length-1].trim())V.pop();if(K)if(V.length>K)V.splice(K);else while(V.length{let A=Y.match(Q.other.beginningSpace);if(A===null)return Y;let[Z]=A;if(Z.length>=X.length)return Y.slice(X.length);return Y}).join("\n")}class w{options;rules;lexer;constructor(J){this.options=J||I}space(J){let K=this.rules.block.newline.exec(J);if(K&&K[0].length>0)return{type:"space",raw:K[0]}}code(J){let K=this.rules.block.code.exec(J);if(K){let Q=K[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:K[0],codeBlockStyle:"indented",text:!this.options.pedantic?y(Q,"\n"):Q}}}fences(J){let K=this.rules.block.fences.exec(J);if(K){let Q=K[0],V=iJ(Q,K[3]||"",this.rules);return{type:"code",raw:Q,lang:K[2]?K[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):K[2],text:V}}}heading(J){let K=this.rules.block.heading.exec(J);if(K){let Q=K[2].trim();if(this.rules.other.endingHash.test(Q)){let V=y(Q,"#");if(this.options.pedantic)Q=V.trim();else if(!V||this.rules.other.endingSpaceChar.test(V))Q=V.trim()}return{type:"heading",raw:K[0],depth:K[1].length,text:Q,tokens:this.lexer.inline(Q)}}}hr(J){let K=this.rules.block.hr.exec(J);if(K)return{type:"hr",raw:y(K[0],"\n")}}blockquote(J){let K=this.rules.block.blockquote.exec(J);if(K){let Q=y(K[0],"\n").split("\n"),V="",X="",Y=[];while(Q.length>0){let A=!1,Z=[],q;for(q=0;q1,X={type:"list",raw:"",ordered:V,start:V?+Q.slice(0,-1):"",loose:!1,items:[]};if(Q=V?`\\d{1,9}\\${Q.slice(-1)}`:`\\${Q}`,this.options.pedantic)Q=V?Q:"[*+-]";let Y=this.rules.other.listItemRegex(Q),A=!1;while(J){let Z=!1,q="",$="";if(!(K=Y.exec(J)))break;if(this.rules.block.hr.test(J))break;q=K[0],J=J.substring(q.length);let G=K[2].split("\n",1)[0].replace(this.rules.other.listReplaceTabs,(u)=>" ".repeat(3*u.length)),W=J.split("\n",1)[0],N=!G.trim(),U=0;if(this.options.pedantic)U=2,$=G.trimStart();else if(N)U=K[1].length+1;else U=K[2].search(this.rules.other.nonSpaceChar),U=U>4?1:U,$=G.slice(U),U+=K[1].length;if(N&&this.rules.other.blankLine.test(W))q+=W+"\n",J=J.substring(W.length+1),Z=!0;if(!Z){let u=this.rules.other.nextBulletRegex(U),c=this.rules.other.hrRegex(U),o=this.rules.other.fencesBeginRegex(U),s=this.rules.other.headingBeginRegex(U),NJ=this.rules.other.htmlBeginRegex(U);while(J){let h=J.split("\n",1)[0],R;if(W=h,this.options.pedantic)W=W.replace(this.rules.other.listReplaceNesting," "),R=W;else R=W.replace(this.rules.other.tabCharGlobal," ");if(o.test(W))break;if(s.test(W))break;if(NJ.test(W))break;if(u.test(W))break;if(c.test(W))break;if(R.search(this.rules.other.nonSpaceChar)>=U||!W.trim())$+="\n"+R.slice(U);else{if(N)break;if(G.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4)break;if(o.test(G))break;if(s.test(G))break;if(c.test(G))break;$+="\n"+W}if(!N&&!W.trim())N=!0;q+=h+"\n",J=J.substring(h.length+1),G=R.slice(U)}}if(!X.loose){if(A)X.loose=!0;else if(this.rules.other.doubleBlankLine.test(q))A=!0}let E=null,B;if(this.options.gfm){if(E=this.rules.other.listIsTask.exec($),E)B=E[0]!=="[ ] ",$=$.replace(this.rules.other.listReplaceTask,"")}X.items.push({type:"list_item",raw:q,task:!!E,checked:B,loose:!1,text:$,tokens:[]}),X.raw+=q}X.items[X.items.length-1].raw=X.items[X.items.length-1].raw.trimEnd(),X.items[X.items.length-1].text=X.items[X.items.length-1].text.trimEnd(),X.raw=X.raw.trimEnd();for(let Z=0;ZG.type==="space"),$=q.length>0&&q.some((G)=>this.rules.other.anyLine.test(G.raw));X.loose=$}if(X.loose)for(let Z=0;Z{return{text:Z,tokens:this.lexer.inline(Z),header:!1,align:Y.align[q]}}));return Y}lheading(J){let K=this.rules.block.lheading.exec(J);if(K)return{type:"heading",raw:K[0],depth:K[2].charAt(0)==="="?1:2,text:K[1],tokens:this.lexer.inline(K[1])}}paragraph(J){let K=this.rules.block.paragraph.exec(J);if(K){let Q=K[1].charAt(K[1].length-1)==="\n"?K[1].slice(0,-1):K[1];return{type:"paragraph",raw:K[0],text:Q,tokens:this.lexer.inline(Q)}}}text(J){let K=this.rules.block.text.exec(J);if(K)return{type:"text",raw:K[0],text:K[0],tokens:this.lexer.inline(K[0])}}escape(J){let K=this.rules.inline.escape.exec(J);if(K)return{type:"escape",raw:K[0],text:K[1]}}tag(J){let K=this.rules.inline.tag.exec(J);if(K){if(!this.lexer.state.inLink&&this.rules.other.startATag.test(K[0]))this.lexer.state.inLink=!0;else if(this.lexer.state.inLink&&this.rules.other.endATag.test(K[0]))this.lexer.state.inLink=!1;if(!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(K[0]))this.lexer.state.inRawBlock=!0;else if(this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(K[0]))this.lexer.state.inRawBlock=!1;return{type:"html",raw:K[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:K[0]}}}link(J){let K=this.rules.inline.link.exec(J);if(K){let Q=K[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(Q)){if(!this.rules.other.endAngleBracket.test(Q))return;let Y=y(Q.slice(0,-1),"\\");if((Q.length-Y.length)%2===0)return}else{let Y=lJ(K[2],"()");if(Y>-1){let Z=(K[0].indexOf("!")===0?5:4)+K[1].length+Y;K[2]=K[2].substring(0,Y),K[0]=K[0].substring(0,Z).trim(),K[3]=""}}let V=K[2],X="";if(this.options.pedantic){let Y=this.rules.other.pedanticHrefTitle.exec(V);if(Y)V=Y[1],X=Y[3]}else X=K[3]?K[3].slice(1,-1):"";if(V=V.trim(),this.rules.other.startAngleBracket.test(V))if(this.options.pedantic&&!this.rules.other.endAngleBracket.test(Q))V=V.slice(1);else V=V.slice(1,-1);return JJ(K,{href:V?V.replace(this.rules.inline.anyPunctuation,"$1"):V,title:X?X.replace(this.rules.inline.anyPunctuation,"$1"):X},K[0],this.lexer,this.rules)}}reflink(J,K){let Q;if((Q=this.rules.inline.reflink.exec(J))||(Q=this.rules.inline.nolink.exec(J))){let V=(Q[2]||Q[1]).replace(this.rules.other.multipleSpaceGlobal," "),X=K[V.toLowerCase()];if(!X){let Y=Q[0].charAt(0);return{type:"text",raw:Y,text:Y}}return JJ(Q,X,Q[0],this.lexer,this.rules)}}emStrong(J,K,Q=""){let V=this.rules.inline.emStrongLDelim.exec(J);if(!V)return;if(V[3]&&Q.match(this.rules.other.unicodeAlphaNumeric))return;if(!(V[1]||V[2])||!Q||this.rules.inline.punctuation.exec(Q)){let Y=[...V[0]].length-1,A,Z,q=Y,$=0,G=V[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;G.lastIndex=0,K=K.slice(-1*J.length+Y);while((V=G.exec(K))!=null){if(A=V[1]||V[2]||V[3]||V[4]||V[5]||V[6],!A)continue;if(Z=[...A].length,V[3]||V[4]){q+=Z;continue}else if(V[5]||V[6]){if(Y%3&&!((Y+Z)%3)){$+=Z;continue}}if(q-=Z,q>0)continue;Z=Math.min(Z,Z+q+$);let W=[...V[0]][0].length,N=J.slice(0,Y+V.index+W+Z);if(Math.min(Y,Z)%2){let E=N.slice(1,-1);return{type:"em",raw:N,text:E,tokens:this.lexer.inlineTokens(E)}}let U=N.slice(2,-2);return{type:"strong",raw:N,text:U,tokens:this.lexer.inlineTokens(U)}}}}codespan(J){let K=this.rules.inline.code.exec(J);if(K){let Q=K[2].replace(this.rules.other.newLineCharGlobal," "),V=this.rules.other.nonSpaceChar.test(Q),X=this.rules.other.startingSpaceChar.test(Q)&&this.rules.other.endingSpaceChar.test(Q);if(V&&X)Q=Q.substring(1,Q.length-1);return{type:"codespan",raw:K[0],text:Q}}}br(J){let K=this.rules.inline.br.exec(J);if(K)return{type:"br",raw:K[0]}}del(J){let K=this.rules.inline.del.exec(J);if(K)return{type:"del",raw:K[0],text:K[2],tokens:this.lexer.inlineTokens(K[2])}}autolink(J){let K=this.rules.inline.autolink.exec(J);if(K){let Q,V;if(K[2]==="@")Q=K[1],V="mailto:"+Q;else Q=K[1],V=Q;return{type:"link",raw:K[0],text:Q,href:V,tokens:[{type:"text",raw:Q,text:Q}]}}}url(J){let K;if(K=this.rules.inline.url.exec(J)){let Q,V;if(K[2]==="@")Q=K[0],V="mailto:"+Q;else{let X;do X=K[0],K[0]=this.rules.inline._backpedal.exec(K[0])?.[0]??"";while(X!==K[0]);if(Q=K[0],K[1]==="www.")V="http://"+K[0];else V=K[0]}return{type:"link",raw:K[0],text:Q,href:V,tokens:[{type:"text",raw:Q,text:Q}]}}}inlineText(J){let K=this.rules.inline.text.exec(J);if(K){let Q=this.lexer.state.inRawBlock;return{type:"text",raw:K[0],text:K[0],escaped:Q}}}}class M{tokens;options;state;tokenizer;inlineQueue;constructor(J){this.tokens=[],this.tokens.links=Object.create(null),this.options=J||I,this.options.tokenizer=this.options.tokenizer||new w,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 K={other:j,block:b.normal,inline:C.normal};if(this.options.pedantic)K.block=b.pedantic,K.inline=C.pedantic;else if(this.options.gfm)if(K.block=b.gfm,this.options.breaks)K.inline=C.breaks;else K.inline=C.gfm;this.tokenizer.rules=K}static get rules(){return{block:b,inline:C}}static lex(J,K){return new M(K).lex(J)}static lexInline(J,K){return new M(K).inlineTokens(J)}lex(J){J=J.replace(j.carriageReturn,"\n"),this.blockTokens(J,this.tokens);for(let K=0;K{if(V=A.call({lexer:this},J,K))return J=J.substring(V.raw.length),K.push(V),!0;return!1}))continue;if(V=this.tokenizer.space(J)){if(J=J.substring(V.raw.length),V.raw.length===1&&K.length>0)K[K.length-1].raw+="\n";else K.push(V);continue}if(V=this.tokenizer.code(J)){if(J=J.substring(V.raw.length),X=K[K.length-1],X&&(X.type==="paragraph"||X.type==="text"))X.raw+="\n"+V.raw,X.text+="\n"+V.text,this.inlineQueue[this.inlineQueue.length-1].src=X.text;else K.push(V);continue}if(V=this.tokenizer.fences(J)){J=J.substring(V.raw.length),K.push(V);continue}if(V=this.tokenizer.heading(J)){J=J.substring(V.raw.length),K.push(V);continue}if(V=this.tokenizer.hr(J)){J=J.substring(V.raw.length),K.push(V);continue}if(V=this.tokenizer.blockquote(J)){J=J.substring(V.raw.length),K.push(V);continue}if(V=this.tokenizer.list(J)){J=J.substring(V.raw.length),K.push(V);continue}if(V=this.tokenizer.html(J)){J=J.substring(V.raw.length),K.push(V);continue}if(V=this.tokenizer.def(J)){if(J=J.substring(V.raw.length),X=K[K.length-1],X&&(X.type==="paragraph"||X.type==="text"))X.raw+="\n"+V.raw,X.text+="\n"+V.raw,this.inlineQueue[this.inlineQueue.length-1].src=X.text;else if(!this.tokens.links[V.tag])this.tokens.links[V.tag]={href:V.href,title:V.title};continue}if(V=this.tokenizer.table(J)){J=J.substring(V.raw.length),K.push(V);continue}if(V=this.tokenizer.lheading(J)){J=J.substring(V.raw.length),K.push(V);continue}if(Y=J,this.options.extensions&&this.options.extensions.startBlock){let A=1/0,Z=J.slice(1),q;if(this.options.extensions.startBlock.forEach(($)=>{if(q=$.call({lexer:this},Z),typeof q==="number"&&q>=0)A=Math.min(A,q)}),A<1/0&&A>=0)Y=J.substring(0,A+1)}if(this.state.top&&(V=this.tokenizer.paragraph(Y))){if(X=K[K.length-1],Q&&X?.type==="paragraph")X.raw+="\n"+V.raw,X.text+="\n"+V.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=X.text;else K.push(V);Q=Y.length!==J.length,J=J.substring(V.raw.length);continue}if(V=this.tokenizer.text(J)){if(J=J.substring(V.raw.length),X=K[K.length-1],X&&X.type==="text")X.raw+="\n"+V.raw,X.text+="\n"+V.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=X.text;else K.push(V);continue}if(J){let A="Infinite loop on byte: "+J.charCodeAt(0);if(this.options.silent){console.error(A);break}else throw new Error(A)}}return this.state.top=!0,K}inline(J,K=[]){return this.inlineQueue.push({src:J,tokens:K}),K}inlineTokens(J,K=[]){let Q,V,X,Y=J,A,Z,q;if(this.tokens.links){let $=Object.keys(this.tokens.links);if($.length>0){while((A=this.tokenizer.rules.inline.reflinkSearch.exec(Y))!=null)if($.includes(A[0].slice(A[0].lastIndexOf("[")+1,-1)))Y=Y.slice(0,A.index)+"["+"a".repeat(A[0].length-2)+"]"+Y.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex)}}while((A=this.tokenizer.rules.inline.blockSkip.exec(Y))!=null)Y=Y.slice(0,A.index)+"["+"a".repeat(A[0].length-2)+"]"+Y.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);while((A=this.tokenizer.rules.inline.anyPunctuation.exec(Y))!=null)Y=Y.slice(0,A.index)+"++"+Y.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);while(J){if(!Z)q="";if(Z=!1,this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(($)=>{if(Q=$.call({lexer:this},J,K))return J=J.substring(Q.raw.length),K.push(Q),!0;return!1}))continue;if(Q=this.tokenizer.escape(J)){J=J.substring(Q.raw.length),K.push(Q);continue}if(Q=this.tokenizer.tag(J)){J=J.substring(Q.raw.length),V=K[K.length-1],K.push(Q);continue}if(Q=this.tokenizer.link(J)){J=J.substring(Q.raw.length),K.push(Q);continue}if(Q=this.tokenizer.reflink(J,this.tokens.links)){if(J=J.substring(Q.raw.length),V=K[K.length-1],V&&Q.type==="text"&&V.type==="text")V.raw+=Q.raw,V.text+=Q.text;else K.push(Q);continue}if(Q=this.tokenizer.emStrong(J,Y,q)){J=J.substring(Q.raw.length),K.push(Q);continue}if(Q=this.tokenizer.codespan(J)){J=J.substring(Q.raw.length),K.push(Q);continue}if(Q=this.tokenizer.br(J)){J=J.substring(Q.raw.length),K.push(Q);continue}if(Q=this.tokenizer.del(J)){J=J.substring(Q.raw.length),K.push(Q);continue}if(Q=this.tokenizer.autolink(J)){J=J.substring(Q.raw.length),K.push(Q);continue}if(!this.state.inLink&&(Q=this.tokenizer.url(J))){J=J.substring(Q.raw.length),K.push(Q);continue}if(X=J,this.options.extensions&&this.options.extensions.startInline){let $=1/0,G=J.slice(1),W;if(this.options.extensions.startInline.forEach((N)=>{if(W=N.call({lexer:this},G),typeof W==="number"&&W>=0)$=Math.min($,W)}),$<1/0&&$>=0)X=J.substring(0,$+1)}if(Q=this.tokenizer.inlineText(X)){if(J=J.substring(Q.raw.length),Q.raw.slice(-1)!=="_")q=Q.raw.slice(-1);if(Z=!0,V=K[K.length-1],V&&V.type==="text")V.raw+=Q.raw,V.text+=Q.text;else K.push(Q);continue}if(J){let $="Infinite loop on byte: "+J.charCodeAt(0);if(this.options.silent){console.error($);break}else throw new Error($)}}return K}}class v{options;parser;constructor(J){this.options=J||I}space(J){return""}code({text:J,lang:K,escaped:Q}){let V=(K||"").match(j.notSpaceStart)?.[0],X=J.replace(j.endingNewline,"")+"\n";if(!V)return"
    "+(Q?X:z(X,!0))+"
    \n";return'
    '+(Q?X:z(X,!0))+"
    \n"}blockquote({tokens:J}){return`
    \n${this.parser.parse(J)}
    \n`}html({text:J}){return J}heading({tokens:J,depth:K}){return`${this.parser.parseInline(J)}\n`}hr(J){return"
    \n"}list(J){let{ordered:K,start:Q}=J,V="";for(let A=0;A\n"+V+"\n"}listitem(J){let K="";if(J.task){let Q=this.checkbox({checked:!!J.checked});if(J.loose)if(J.tokens.length>0&&J.tokens[0].type==="paragraph"){if(J.tokens[0].text=Q+" "+J.tokens[0].text,J.tokens[0].tokens&&J.tokens[0].tokens.length>0&&J.tokens[0].tokens[0].type==="text")J.tokens[0].tokens[0].text=Q+" "+z(J.tokens[0].tokens[0].text),J.tokens[0].tokens[0].escaped=!0}else J.tokens.unshift({type:"text",raw:Q+" ",text:Q+" ",escaped:!0});else K+=Q+" "}return K+=this.parser.parse(J.tokens,!!J.loose),`
  • ${K}
  • \n`}checkbox({checked:J}){return"'}paragraph({tokens:J}){return`

    ${this.parser.parseInline(J)}

    \n`}table(J){let K="",Q="";for(let X=0;X${V}`;return"\n\n"+K+"\n"+V+"
    \n"}tablerow({text:J}){return`\n${J}\n`}tablecell(J){let K=this.parser.parseInline(J.tokens),Q=J.header?"th":"td";return(J.align?`<${Q} align="${J.align}">`:`<${Q}>`)+K+`\n`}strong({tokens:J}){return`${this.parser.parseInline(J)}`}em({tokens:J}){return`${this.parser.parseInline(J)}`}codespan({text:J}){return`${z(J,!0)}`}br(J){return"
    "}del({tokens:J}){return`${this.parser.parseInline(J)}`}link({href:J,title:K,tokens:Q}){let V=this.parser.parseInline(Q),X=t(J);if(X===null)return V;J=X;let Y='
    ",Y}image({href:J,title:K,text:Q}){let V=t(J);if(V===null)return z(Q);J=V;let X=`${Q}{let A=X[Y].flat(1/0);Q=Q.concat(this.walkTokens(A,K))});else if(X.tokens)Q=Q.concat(this.walkTokens(X.tokens,K))}}return Q}use(...J){let K=this.defaults.extensions||{renderers:{},childTokens:{}};return J.forEach((Q)=>{let V={...Q};if(V.async=this.defaults.async||V.async||!1,Q.extensions)Q.extensions.forEach((X)=>{if(!X.name)throw new Error("extension name required");if("renderer"in X){let Y=K.renderers[X.name];if(Y)K.renderers[X.name]=function(...A){let Z=X.renderer.apply(this,A);if(Z===!1)Z=Y.apply(this,A);return Z};else K.renderers[X.name]=X.renderer}if("tokenizer"in X){if(!X.level||X.level!=="block"&&X.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let Y=K[X.level];if(Y)Y.unshift(X.tokenizer);else K[X.level]=[X.tokenizer];if(X.start){if(X.level==="block")if(K.startBlock)K.startBlock.push(X.start);else K.startBlock=[X.start];else if(X.level==="inline")if(K.startInline)K.startInline.push(X.start);else K.startInline=[X.start]}}if("childTokens"in X&&X.childTokens)K.childTokens[X.name]=X.childTokens}),V.extensions=K;if(Q.renderer){let X=this.defaults.renderer||new v(this.defaults);for(let Y in Q.renderer){if(!(Y in X))throw new Error(`renderer '${Y}' does not exist`);if(["options","parser"].includes(Y))continue;let A=Y,Z=Q.renderer[A],q=X[A];X[A]=(...$)=>{let G=Z.apply(X,$);if(G===!1)G=q.apply(X,$);return G||""}}V.renderer=X}if(Q.tokenizer){let X=this.defaults.tokenizer||new w(this.defaults);for(let Y in Q.tokenizer){if(!(Y in X))throw new Error(`tokenizer '${Y}' does not exist`);if(["options","rules","lexer"].includes(Y))continue;let A=Y,Z=Q.tokenizer[A],q=X[A];X[A]=(...$)=>{let G=Z.apply(X,$);if(G===!1)G=q.apply(X,$);return G}}V.tokenizer=X}if(Q.hooks){let X=this.defaults.hooks||new S;for(let Y in Q.hooks){if(!(Y in X))throw new Error(`hook '${Y}' does not exist`);if(["options","block"].includes(Y))continue;let A=Y,Z=Q.hooks[A],q=X[A];if(S.passThroughHooks.has(Y))X[A]=($)=>{if(this.defaults.async)return Promise.resolve(Z.call(X,$)).then((W)=>{return q.call(X,W)});let G=Z.call(X,$);return q.call(X,G)};else X[A]=(...$)=>{let G=Z.apply(X,$);if(G===!1)G=q.apply(X,$);return G}}V.hooks=X}if(Q.walkTokens){let X=this.defaults.walkTokens,Y=Q.walkTokens;V.walkTokens=function(A){let Z=[];if(Z.push(Y.call(this,A)),X)Z=Z.concat(X.call(this,A));return Z}}this.defaults={...this.defaults,...V}}),this}setOptions(J){return this.defaults={...this.defaults,...J},this}lexer(J,K){return M.lex(J,K??this.defaults)}parser(J,K){return H.parse(J,K??this.defaults)}parseMarkdown(J){return(Q,V)=>{let X={...V},Y={...this.defaults,...X},A=this.onError(!!Y.silent,!!Y.async);if(this.defaults.async===!0&&X.async===!1)return A(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 Q==="undefined"||Q===null)return A(new Error("marked(): input parameter is undefined or null"));if(typeof Q!=="string")return A(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(Q)+", string expected"));if(Y.hooks)Y.hooks.options=Y,Y.hooks.block=J;let Z=Y.hooks?Y.hooks.provideLexer():J?M.lex:M.lexInline,q=Y.hooks?Y.hooks.provideParser():J?H.parse:H.parseInline;if(Y.async)return Promise.resolve(Y.hooks?Y.hooks.preprocess(Q):Q).then(($)=>Z($,Y)).then(($)=>Y.hooks?Y.hooks.processAllTokens($):$).then(($)=>Y.walkTokens?Promise.all(this.walkTokens($,Y.walkTokens)).then(()=>$):$).then(($)=>q($,Y)).then(($)=>Y.hooks?Y.hooks.postprocess($):$).catch(A);try{if(Y.hooks)Q=Y.hooks.preprocess(Q);let $=Z(Q,Y);if(Y.hooks)$=Y.hooks.processAllTokens($);if(Y.walkTokens)this.walkTokens($,Y.walkTokens);let G=q($,Y);if(Y.hooks)G=Y.hooks.postprocess(G);return G}catch($){return A($)}}}onError(J,K){return(Q)=>{if(Q.message+="\nPlease report this to https://github.com/markedjs/marked.",J){let V="

    An error occurred:

    "+z(Q.message+"",!0)+"
    ";if(K)return Promise.resolve(V);return V}if(K)return Promise.reject(Q);throw Q}}}var D=new qJ;function O(J,K){return D.parse(J,K)}O.options=O.setOptions=function(J){return D.setOptions(J),O.defaults=D.defaults,KJ(O.defaults),O};O.getDefaults=m;O.defaults=I;O.use=function(...J){return D.use(...J),O.defaults=D.defaults,KJ(O.defaults),O};O.walkTokens=function(J,K){return D.walkTokens(J,K)};O.parseInline=D.parseInline;O.Parser=H;O.parser=H.parse;O.Renderer=v;O.TextRenderer=g;O.Lexer=M;O.lexer=M.lex;O.Tokenizer=w;O.Hooks=S;O.parse=O;var{options:nJ,setOptions:rJ,use:tJ,walkTokens:eJ,parseInline:JK}=O;var KK=H.parse,QK=M.lex;var kJ=document.querySelectorAll("button");for(let J of kJ)J.addEventListener("click",(K)=>{let V=K.target.innerText;a(V)});var GJ=document.getElementById("prompt__input");if(GJ)GJ.addEventListener("keydown",(J)=>{if(J.key==="Enter"){J.preventDefault();let K=UJ();a(K)}});var OJ=document.getElementById("prompt__submit");if(OJ)OJ.addEventListener("click",(J)=>{J.preventDefault();let K=UJ();a(K)});function a(J){if(J!=="")oJ(J),sJ(J)}function aJ(){let J=document.querySelector('[data-role="system__logo"]');if(!J)return null;return J.cloneNode(!0)}function cJ(){let J=document.querySelectorAll("a:not(#footprint__link)");for(let K of J)K.target="_blank"}function WJ(){let J=document.querySelector("main");if(J)J.scrollTop=J.scrollHeight}function UJ(){let J=document.getElementById("prompt__input");if(J){let{value:K}=J;return J.value="",K}return"Bonjour !"}function FJ(J){document.querySelector('[data-role="system__loading"]')?.remove();let Q=document.querySelector("main > div:last-child");if(!Q)return;Q.classList.add("prose");let V=J.replace(//g,"\n\n").replace(/\n{3,}/g,"\n\n");Q.innerHTML=O.parse(V),cJ(),WJ()}function oJ(J){let K=document.querySelector("main");if(!K)return;let Q=document.createElement("div");Q.setAttribute("data-role","user"),Q.classList.add("user"),Q.textContent=J;let V=document.createElement("div");V.setAttribute("data-role","system");let X=document.createElement("div");X.classList.add("thinking"),V.appendChild(X);let Y=aJ(),A=document.createDocumentFragment();A.appendChild(Q),A.appendChild(Y),A.appendChild(V),K.appendChild(A),WJ()}function sJ(J){let K=document.getElementById("prompt__submit");K.disabled=!0;let Q=document.getElementsByTagName("button");for(let $ of Q)$.disabled=!0;let V=window.location.pathname.substring(3),X=new URLSearchParams(window.location.search).get("config"),Y=new URLSearchParams(window.location.search).get("context"),A=`/ai/${V}?message=${encodeURIComponent(J)}&config=${encodeURIComponent(X||"")}&context=${encodeURIComponent(Y||"")}`,Z=new EventSource(A),q="";Z.onmessage=($)=>{if($.data!=="pierre_event_stream_closed")q+=$.data,FJ(q);else{Z.close(),K.disabled=!1;for(let G of Q)G.disabled=!1}},Z.onerror=($)=>{if(console.error("An error occurred with the EventSource:",$),Z.readyState===EventSource.CLOSED)console.error("Connection closed due to incomplete chunked encoding."),q+=" **/ Erreur-r\xE9seau : v\xE9rifier votre connexion et rafraichissez la page.** ",FJ(q),Z.close()}} diff --git a/views/admin.ts b/views/admin.ts new file mode 100644 index 0000000..4197a15 --- /dev/null +++ b/views/admin.ts @@ -0,0 +1,66 @@ +import { html, raw } from 'hono/html' + +export const view = (user) => { + return html` + + + + + + + + PIERRE — Administration + + + +

    Bonjour 🖐️

    + +
    Encyclopédie + + Conversations + + Statistiques + Utilisateurs + +
    + +
    + +

    + Une question ou remarque sur ce projet open-source ?
    + Adressez un email à charnould@pierre-ia.org. +

    + + ` +} diff --git a/views/chats.ts b/views/chats.ts deleted file mode 100644 index ba9f208..0000000 --- a/views/chats.ts +++ /dev/null @@ -1,206 +0,0 @@ -import { html, raw } from 'hono/html' -import { marked } from 'marked' -import type { Reply } from '../utils/_schema' - -export const view = (is_auth, data, conversation: Reply[] | []) => { - return html` - - - - - - PIERRE - Évaluation des conversations - - - ${is_auth === true - ? html` - - - -
    - ${conversation.length === 0 - ? null - : html` - ${conversation.map( - (c) => - html`
    - ${raw(marked.parse(c.content))} -
    ` - )} - -
    -
    - -
    - - - - - - - - - - - -
    - - - - -
    - - -
    - - `} -
    - - ` - : html` - -
    -
    - - - - -
    -
    - - `} - ` -} diff --git a/views/conversations.ts b/views/conversations.ts new file mode 100644 index 0000000..87b6c58 --- /dev/null +++ b/views/conversations.ts @@ -0,0 +1,162 @@ +import { html, raw } from 'hono/html' +import { marked } from 'marked' +import type { Reply } from '../utils/_schema' + +export const view = (data, conversation: Reply[] | []) => { + return html` + + + + + + + + PIERRE — Administration > Conversations + + + + + + +
    + ${conversation.length === 0 + ? null + : html` + ${conversation.map( + (c) => + html`
    + ${raw(marked.parse(c.content))} +
    ` + )} + +
    +
    + +
    + + + + + + + + + + + +
    + + + + +
    + + +
    + + `} +
    + + + ` +} diff --git a/views/encyclopedia.ts b/views/encyclopedia.ts new file mode 100644 index 0000000..dcabb64 --- /dev/null +++ b/views/encyclopedia.ts @@ -0,0 +1,21 @@ +import { html } from 'hono/html' + +export const view = () => { + return html` + + + + + + + + PIERRE — Administration > Encyclopédie + + + + ← Retour +

    Encyclopédie

    +

    Très bientôt

    + + ` +} diff --git a/views/index.ts b/views/index.ts index 010f617..dab806e 100644 --- a/views/index.ts +++ b/views/index.ts @@ -9,8 +9,8 @@ export const view = (config: Config, context: string) => { - - + + Comment puis-je vous aider ? 🖐️ diff --git a/views/login.ts b/views/login.ts new file mode 100644 index 0000000..16dcea5 --- /dev/null +++ b/views/login.ts @@ -0,0 +1,47 @@ +import { html } from 'hono/html' + +export const view = (message) => { + return html` + + + + + + + + PIERRE — Administration > Connexion + + + + ${message + ? html`

    ${message}

    ` + : null} + +
    + + + + + + + +
    + + ` +} diff --git a/views/statistics.ts b/views/statistics.ts new file mode 100644 index 0000000..bb28c27 --- /dev/null +++ b/views/statistics.ts @@ -0,0 +1,21 @@ +import { html } from 'hono/html' + +export const view = () => { + return html` + + + + + + + + PIERRE — Administration > Statistiques + + + + ← Retour +

    Statistiques

    +

    Bientôt

    + + ` +} diff --git a/views/users.ts b/views/users.ts new file mode 100644 index 0000000..32d51be --- /dev/null +++ b/views/users.ts @@ -0,0 +1,116 @@ +import { html } from 'hono/html' +import type { User } from '../utils/_schema' + +export const view = (users: User[]) => { + return html` + + + + + + + + PIERRE — Administration > Utilisateurs + + + + ← Retour + +

    Utilisateurs

    +

    Ajouter ou supprimer des utilisateurs

    + +
    + + +
    + + +
    + +
    + + +
    + +
    + + +
    + + +
    + +
      +
    • + Un administrateur peut (a) modifier les utilisateurs, + (b) modifier la base de connaissance, (c) consulter les conversations, (d) consulter les + statistiques et (e) utiliser « l'aide de camp ». Un + contributeur peut uniquement réaliser (b) et (e). Un + collaborateur peut uniquement utiliser (e). +
    • + +
    • + Si un collaborateur a oublié son mot de passe : supprimez l'utilisateur et recréez-le. +
    • + +
    • + Après avoir créé un utilisateur, n'oubliez pas de lui communiquer son mot de passe. +
    • +
    + +
    + + + + ${users.map( + (user) => + html` + + + + ` + )} +
    + + ${user.role}${user.email}
    +
    + + ` +}