From b65c766ed4b3bf24812520673d42bbf973e75e78 Mon Sep 17 00:00:00 2001 From: Nathan Cahill Date: Fri, 18 Mar 2022 09:24:23 -0400 Subject: [PATCH] update generator pages --- packages/split-generator/public/bundle.css | 2 +- packages/split-generator/public/bundle.js | 4 +- packages/split-generator/src/App.svelte | 17 +- .../split-generator/src/SplitGenerator.svelte | 271 ++++++++++-------- .../src/SplitGridGenerator.svelte | 82 +++--- packages/split-generator/src/less/carbon.less | 58 ++++ 6 files changed, 266 insertions(+), 168 deletions(-) create mode 100644 packages/split-generator/src/less/carbon.less diff --git a/packages/split-generator/public/bundle.css b/packages/split-generator/public/bundle.css index 65c3f23a..1fdc0a13 100644 --- a/packages/split-generator/public/bundle.css +++ b/packages/split-generator/public/bundle.css @@ -11,4 +11,4 @@ Consolas, 'Liberation Mono', Menlo, - monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}button,[type='button'],[type='reset'],[type='submit']{-webkit-appearance:button}::-moz-focus-inner{border-style:none;padding:0}:-moz-focusring{outline:1px dotted ButtonText}:-moz-ui-invalid{box-shadow:none}legend{padding:0}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type='search']{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}button{background-color:transparent;background-image:none}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}fieldset{margin:0;padding:0}ol,ul{list-style:none;margin:0;padding:0}html{font-family:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";line-height:1.5}body{font-family:inherit;line-height:inherit}*,::before,::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}hr{border-top-width:1px}img{border-style:solid}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input:-ms-input-placeholder,textarea:-ms-input-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role="button"]{cursor:pointer}table{border-collapse:collapse}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}button,input,optgroup,select,textarea{padding:0;line-height:inherit;color:inherit}pre,code,kbd,samp{font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[type='text'],[type='email'],[type='url'],[type='password'],[type='number'],[type='date'],[type='datetime-local'],[type='month'],[type='search'],[type='tel'],[type='time'],[type='week'],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0px;padding-top:0.5rem;padding-right:0.75rem;padding-bottom:0.5rem;padding-left:0.75rem;font-size:1rem;line-height:1.5rem}[type='text']:focus,[type='email']:focus,[type='url']:focus,[type='password']:focus,[type='number']:focus,[type='date']:focus,[type='datetime-local']:focus,[type='month']:focus,[type='search']:focus,[type='tel']:focus,[type='time']:focus,[type='week']:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right 0.5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;color-adjust:exact}[multiple]{background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:0.75rem;-webkit-print-color-adjust:unset;color-adjust:unset}[type='checkbox'],[type='radio']{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px}[type='checkbox']{border-radius:0px}[type='radio']{border-radius:100%}[type='checkbox']:focus,[type='radio']:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)}[type='checkbox']:checked,[type='radio']:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type='checkbox']:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}[type='radio']:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}[type='checkbox']:checked:hover,[type='checkbox']:checked:focus,[type='radio']:checked:hover,[type='radio']:checked:focus{border-color:transparent;background-color:currentColor}[type='checkbox']:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type='checkbox']:indeterminate:hover,[type='checkbox']:indeterminate:focus{border-color:transparent;background-color:currentColor}[type='file']{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type='file']:focus{outline:1px auto -webkit-focus-ring-color}.container{width:100%}@media(min-width: 640px){.container{max-width:640px}}@media(min-width: 768px){.container{max-width:768px}}@media(min-width: 1024px){.container{max-width:1024px}}@media(min-width: 1280px){.container{max-width:1280px}}@media(min-width: 1536px){.container{max-width:1536px}}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.-space-x-px>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(-1px * var(--tw-space-x-reverse));margin-left:calc(-1px * calc(1 - var(--tw-space-x-reverse)))}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.bg-white{--tw-bg-opacity:1;background-color:rgba(255, 255, 255, var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgba(243, 244, 246, var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity:1;background-color:rgba(209, 213, 219, var(--tw-bg-opacity))}.bg-indigo-50{--tw-bg-opacity:1;background-color:rgba(238, 242, 255, var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity:1;background-color:rgba(79, 70, 229, var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity:1;background-color:rgba(249, 250, 251, var(--tw-bg-opacity))}.hover\:bg-indigo-100:hover{--tw-bg-opacity:1;background-color:rgba(224, 231, 255, var(--tw-bg-opacity))}.bg-opacity-0{--tw-bg-opacity:0}.bg-opacity-10{--tw-bg-opacity:0.1}.hover\:bg-opacity-10:hover{--tw-bg-opacity:0.1}.border-transparent{border-color:transparent}.border-white{--tw-border-opacity:1;border-color:rgba(255, 255, 255, var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgba(229, 231, 235, var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:rgba(209, 213, 219, var(--tw-border-opacity))}.border-indigo-200{--tw-border-opacity:1;border-color:rgba(199, 210, 254, var(--tw-border-opacity))}.focus\:border-indigo-500:focus{--tw-border-opacity:1;border-color:rgba(99, 102, 241, var(--tw-border-opacity))}.border-opacity-20{--tw-border-opacity:0.2}.rounded-md{border-radius:0.375rem}.rounded-lg{border-radius:0.5rem}.rounded-t-md{border-top-left-radius:0.375rem;border-top-right-radius:0.375rem}.rounded-b-md{border-bottom-right-radius:0.375rem;border-bottom-left-radius:0.375rem}.rounded-tl-md{border-top-left-radius:0.375rem}.rounded-tr-md{border-top-right-radius:0.375rem}.rounded-br-md{border-bottom-right-radius:0.375rem}.rounded-bl-md{border-bottom-left-radius:0.375rem}.border-dashed{border-style:dashed}.border-4{border-width:4px}.border{border-width:1px}.border-t{border-top-width:1px}.cursor-pointer{cursor:pointer}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-between{justify-content:space-between}.flex-shrink-0{flex-shrink:0}.font-medium{font-weight:500}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-64{height:16rem}.h-full{height:100%}.text-sm{font-size:0.875rem;line-height:1.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:0.25rem}.mb-2{margin-bottom:0.5rem}.mr-3{margin-right:0.75rem}.ml-3{margin-left:0.75rem}.mt-4{margin-top:1rem}.mb-4{margin-bottom:1rem}.ml-4{margin-left:1rem}.mt-0\.5{margin-top:0.125rem}.-mt-1{margin-top:-0.25rem}.-ml-1{margin-left:-0.25rem}.-mt-24{margin-top:-6rem}.max-w-md{max-width:28rem}.max-w-3xl{max-width:48rem}.min-h-screen{min-height:100vh}.opacity-0{opacity:0}.group:hover .group-hover\:opacity-100{opacity:1}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.overflow-hidden{overflow:hidden}.p-1{padding:0.25rem}.p-3{padding:0.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.py-2{padding-top:0.5rem;padding-bottom:0.5rem}.py-3{padding-top:0.75rem;padding-bottom:0.75rem}.px-3{padding-left:0.75rem;padding-right:0.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-8{padding-bottom:2rem}.pb-24{padding-bottom:6rem}.static{position:static}.absolute{position:absolute}.relative{position:relative}.right-0{right:0px}.top-1\.5{top:0.375rem}.right-1\.5{right:0.375rem}*{--tw-shadow:0 0 #0000}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.05);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.shadow{--tw-shadow:0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}*{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59, 130, 246, 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px}.focus\:ring-white:focus{--tw-ring-opacity:1;--tw-ring-color:rgba(255, 255, 255, var(--tw-ring-opacity))}.focus\:ring-indigo-500:focus{--tw-ring-opacity:1;--tw-ring-color:rgba(99, 102, 241, var(--tw-ring-opacity))}.fill-current{fill:currentColor}.stroke-current{stroke:currentColor}.text-center{text-align:center}.text-white{--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgba(107, 114, 128, var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgba(55, 65, 81, var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity:1;color:rgba(17, 24, 39, var(--tw-text-opacity))}.text-indigo-100{--tw-text-opacity:1;color:rgba(224, 231, 255, var(--tw-text-opacity))}.text-indigo-200{--tw-text-opacity:1;color:rgba(199, 210, 254, var(--tw-text-opacity))}.text-indigo-600{--tw-text-opacity:1;color:rgba(79, 70, 229, var(--tw-text-opacity))}.text-indigo-900{--tw-text-opacity:1;color:rgba(49, 46, 129, var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-1\/3{width:33.333333%}.w-full{width:100%}.z-10{z-index:10}.focus\:z-10:focus{z-index:10}.focus\:z-20:focus{z-index:20}.gap-4{gap:1rem}.gap-8{gap:2rem}.grid-cols-1{grid-template-columns:repeat(1, minmax(0, 1fr))}.grid-cols-3{grid-template-columns:repeat(3, minmax(0, 1fr))}.col-span-2{grid-column:span 2 / span 2}@-webkit-keyframes spin{to{transform:rotate(360deg)}}@keyframes spin{to{transform:rotate(360deg)}}@-webkit-keyframes ping{75%,100%{transform:scale(2);opacity:0}}@keyframes ping{75%,100%{transform:scale(2);opacity:0}}@-webkit-keyframes pulse{50%{opacity:.5}}@keyframes pulse{50%{opacity:.5}}@-webkit-keyframes bounce{0%,100%{transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(0.8,0,1,1);animation-timing-function:cubic-bezier(0.8,0,1,1)}50%{transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,0.2,1);animation-timing-function:cubic-bezier(0,0,0.2,1)}}@keyframes bounce{0%,100%{transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(0.8,0,1,1);animation-timing-function:cubic-bezier(0.8,0,1,1)}50%{transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,0.2,1);animation-timing-function:cubic-bezier(0,0,0.2,1)}}:root{--color-code-green:#b5f4a5;--color-code-yellow:#ffe484;--color-code-purple:#d9a9ff;--color-code-red:#ff8383;--color-code-blue:#93ddfd;--color-code-white:#fff}code[class*='language-'],pre[class*='language-']{font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--tw-text-opacity:1;color:rgba(229, 231, 235, var(--tw-text-opacity))}code[class*='language-'],pre[class*='language-']{direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*='language-']{padding:1rem;overflow:auto;border-radius:0.3em}:not(pre)>code[class*='language-'],pre[class*='language-']{background:#1d1f21}:not(pre)>code[class*='language-']{padding:0.1em;border-radius:0.3em}.token.comment,.token.prolog,.token.doctype,.token.cdata{--tw-text-opacity:1;color:rgba(107, 114, 128, var(--tw-text-opacity))}.token.punctuation{color:#c5c8c6}.namespace{opacity:0.7}.token.property,.token.keyword,.token.tag{color:#96cbfe}.token.class-name{color:#ffffb6;text-decoration:underline}.token.boolean,.token.constant{color:#99cc99}.token.symbol,.token.deleted{color:#f92672}.token.number{color:#ff73fd}.token.selector,.token.attr-name,.token.string,.token.char,.token.builtin,.token.inserted{color:#a8ff60}.token.variable{color:#c6c5fe}.token.operator{color:#ededed}.token.entity{color:#ffffb6}.token.url{color:#96cbfe}.language-css .token.string,.style .token.string{color:#87c38a}.token.atrule,.token.attr-value{color:#f9ee98}.token.function{color:#dad085}.token.regex{color:#e9c062}.token.important{color:#fd971f}.token.important,.token.bold{font-weight:bold}.token.italic{font-style:italic}.token.entity{cursor:help}:not(pre)>code[class*='language-'],pre[class*='language-']{background:transparent}:not(pre)>code[class*='language-'],pre[class*='language-']{font-size:0.875rem;line-height:1.25rem}code[class*='language-'],pre[class*='language-']{-webkit-font-smoothing:auto !important;-moz-osx-font-smoothing:auto !important}code[class*='language-'],pre[class*='language-']{color:var(--color-code-white) !important}.token.comment{--tw-text-opacity:1 !important;color:rgba(107, 114, 128, var(--tw-text-opacity)) !important}.token.atrule{color:var(--color-code-yellow) !important}.token.atrule>.token.property{color:var(--color-code-white) !important}.token.atrule>.token.property+.token.punctuation{color:var(--color-code-white) !important}.token.atrule>.token.property+.token.punctuation+.token.number+.token.unit{color:var(--color-code-white) !important}.token.atrule>.token.number{color:var(--color-code-white) !important}.token.atrule>.token.unit{color:var(--color-code-white) !important}.token.function{color:var(--color-code-blue) !important}.token.number{color:var(--color-code-red) !important}.token.unit{color:var(--color-code-red) !important}.token.punctuation{color:var(--color-code-blue) !important}.token.hexcode{color:var(--color-code-blue) !important}.token.tag{color:var(--color-code-red) !important}.token.attr-name{color:var(--color-code-yellow) !important}.token.attr-value{color:var(--color-code-green) !important}.token.string{color:var(--color-code-green) !important}.token.url{color:var(--color-code-green) !important}.token.selector{color:var(--color-code-yellow) !important}.token.property{color:var(--color-code-yellow) !important}.token.rule{color:var(--color-code-purple) !important}.token.important{font-weight:inherit !important;color:var(--color-code-purple) !important}code.language-js .token.operator,pre.language-js .token.operator{color:var(--color-code-blue) !important}code.language-js .token.punctuation,pre.language-js .token.punctuation{color:var(--color-code-white) !important}code.language-js .token.boolean,pre.language-js .token.boolean{color:var(--color-code-red) !important}code.language-js .token.regex,pre.language-js .token.regex{color:var(--color-code-yellow) !important}code.language-bash .token.function,pre.language-bash .token.function{color:var(--color-code-white) !important}code.language-diff,pre.language-diff{--tw-text-opacity:1 !important;color:rgba(156, 163, 175, var(--tw-text-opacity)) !important}code.language-diff .token.deleted,pre.language-diff .token.deleted{color:var(--color-code-red) !important}code.language-diff .token.inserted,pre.language-diff .token.inserted{color:var(--color-code-green) !important}.markdown>p code,.markdown>ul li *:not(pre) code,.markdown>ul li>code,.markdown>ol li *:not(pre) code,.markdown>ol li>code,p.markdown code.markdown{display:inline-block}.markdown>p code,.markdown>ul li *:not(pre) code,.markdown>ul li>code,.markdown>ol li *:not(pre) code,.markdown>ol li>code,p.markdown code.markdown{--tw-bg-opacity:1;background-color:rgba(243, 244, 246, var(--tw-bg-opacity))}.markdown>p code,.markdown>ul li *:not(pre) code,.markdown>ul li>code,.markdown>ol li *:not(pre) code,.markdown>ol li>code,p.markdown code.markdown{border-radius:0.125rem}.markdown>p code,.markdown>ul li *:not(pre) code,.markdown>ul li>code,.markdown>ol li *:not(pre) code,.markdown>ol li>code,p.markdown code.markdown{font-size:0.875rem;line-height:1.25rem}.markdown>p code,.markdown>ul li *:not(pre) code,.markdown>ul li>code,.markdown>ol li *:not(pre) code,.markdown>ol li>code,p.markdown code.markdown{padding-left:0.25rem;padding-right:0.25rem}.markdown>p code,.markdown>ul li *:not(pre) code,.markdown>ul li>code,.markdown>ol li *:not(pre) code,.markdown>ol li>code,p.markdown code.markdown{line-height:1}.markdown>p code,.markdown>ul li *:not(pre) code,.markdown>ul li>code,.markdown>ol li *:not(pre) code,.markdown>ol li>code,p.markdown code.markdown{white-space:nowrap}.markdown>p code,.markdown>ul li *:not(pre) code,.markdown>ul li>code,.markdown>ol li *:not(pre) code,.markdown>ol li>code,p.markdown code.markdown{--tw-text-opacity:1;color:rgba(31, 41, 55, var(--tw-text-opacity))}.markdown>p code,.markdown>ul li *:not(pre) code,.markdown>ul li>code,.markdown>ol li *:not(pre) code,.markdown>ol li>code,p.markdown code.markdown{font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}.markdown>p code,.markdown>ul li *:not(pre) code,.markdown>ul li>code,.markdown>ol li *:not(pre) code,.markdown>ol li>code,p.markdown code.markdown{vertical-align:baseline}.markdown>p code,.markdown>ul li *:not(pre) code,.markdown>ul li>code,.markdown>ol li *:not(pre) code,.markdown>ol li>code,p.markdown code.markdown{font-weight:400}.markdown>pre,pre.markdown{font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}.markdown>pre,pre.markdown{font-size:0.875rem;line-height:1.25rem}.markdown>pre,pre.markdown{border-radius:0.5rem}.markdown>pre,pre.markdown{font-weight:400;scrollbar-width:none;overflow:auto}.markdown>pre::-webkit-scrollbar,pre.markdown::-webkit-scrollbar{display:none}.markdown>pre,pre.markdown,.markdown>ul li pre,.markdown>ol li pre{--tw-bg-opacity:1;background-color:rgba(31, 41, 55, var(--tw-bg-opacity));display:flex;padding:0px}.markdown>pre,pre.markdown,.markdown>ul li pre,.markdown>ol li pre{font-size:0.875rem;line-height:1.25rem;line-height:1.5}.markdown>pre code,pre code.markdown,.markdown>ul li pre code,.markdown>ol li pre code{padding:1rem}@media(min-width: 640px){.sm\:inline{display:inline}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:text-left{text-align:left}}@media(min-width: 1024px){.lg\:items-center{align-items:center}.lg\:max-w-7xl{max-width:80rem}.lg\:px-8{padding-left:2rem;padding-right:2rem}.lg\:pr-0\.5{padding-right:0.125rem}.lg\:gap-8{gap:2rem}.lg\:grid-cols-3{grid-template-columns:repeat(3, minmax(0, 1fr))}.lg\:col-span-2{grid-column:span 2 / span 2}}.gutter-col,.gutter-row{background-color:rgb(229, 231, 235);background-repeat:no-repeat;background-position:50%}.gutter-col{grid-row:1/-1;cursor:col-resize;background-image:url(/vertical.png)}.gutter-row{grid-column:1/-1;cursor:row-resize;background-image:url(/horizontal.png)} \ No newline at end of file + monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}button,[type='button'],[type='reset'],[type='submit']{-webkit-appearance:button}::-moz-focus-inner{border-style:none;padding:0}:-moz-focusring{outline:1px dotted ButtonText}:-moz-ui-invalid{box-shadow:none}legend{padding:0}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type='search']{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}button{background-color:transparent;background-image:none}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}fieldset{margin:0;padding:0}ol,ul{list-style:none;margin:0;padding:0}html{font-family:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";line-height:1.5}body{font-family:inherit;line-height:inherit}*,::before,::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}hr{border-top-width:1px}img{border-style:solid}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input:-ms-input-placeholder,textarea:-ms-input-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role="button"]{cursor:pointer}table{border-collapse:collapse}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}button,input,optgroup,select,textarea{padding:0;line-height:inherit;color:inherit}pre,code,kbd,samp{font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[type='text'],[type='email'],[type='url'],[type='password'],[type='number'],[type='date'],[type='datetime-local'],[type='month'],[type='search'],[type='tel'],[type='time'],[type='week'],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0px;padding-top:0.5rem;padding-right:0.75rem;padding-bottom:0.5rem;padding-left:0.75rem;font-size:1rem;line-height:1.5rem}[type='text']:focus,[type='email']:focus,[type='url']:focus,[type='password']:focus,[type='number']:focus,[type='date']:focus,[type='datetime-local']:focus,[type='month']:focus,[type='search']:focus,[type='tel']:focus,[type='time']:focus,[type='week']:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right 0.5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;color-adjust:exact}[multiple]{background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:0.75rem;-webkit-print-color-adjust:unset;color-adjust:unset}[type='checkbox'],[type='radio']{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px}[type='checkbox']{border-radius:0px}[type='radio']{border-radius:100%}[type='checkbox']:focus,[type='radio']:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)}[type='checkbox']:checked,[type='radio']:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type='checkbox']:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}[type='radio']:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}[type='checkbox']:checked:hover,[type='checkbox']:checked:focus,[type='radio']:checked:hover,[type='radio']:checked:focus{border-color:transparent;background-color:currentColor}[type='checkbox']:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type='checkbox']:indeterminate:hover,[type='checkbox']:indeterminate:focus{border-color:transparent;background-color:currentColor}[type='file']{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type='file']:focus{outline:1px auto -webkit-focus-ring-color}.container{width:100%}@media(min-width: 640px){.container{max-width:640px}}@media(min-width: 768px){.container{max-width:768px}}@media(min-width: 1024px){.container{max-width:1024px}}@media(min-width: 1280px){.container{max-width:1280px}}@media(min-width: 1536px){.container{max-width:1536px}}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.-space-x-px>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(-1px * var(--tw-space-x-reverse));margin-left:calc(-1px * calc(1 - var(--tw-space-x-reverse)))}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.bg-white{--tw-bg-opacity:1;background-color:rgba(255, 255, 255, var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgba(243, 244, 246, var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity:1;background-color:rgba(209, 213, 219, var(--tw-bg-opacity))}.bg-indigo-50{--tw-bg-opacity:1;background-color:rgba(238, 242, 255, var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity:1;background-color:rgba(79, 70, 229, var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity:1;background-color:rgba(249, 250, 251, var(--tw-bg-opacity))}.hover\:bg-indigo-100:hover{--tw-bg-opacity:1;background-color:rgba(224, 231, 255, var(--tw-bg-opacity))}.bg-opacity-0{--tw-bg-opacity:0}.bg-opacity-10{--tw-bg-opacity:0.1}.hover\:bg-opacity-10:hover{--tw-bg-opacity:0.1}.border-transparent{border-color:transparent}.border-white{--tw-border-opacity:1;border-color:rgba(255, 255, 255, var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgba(229, 231, 235, var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:rgba(209, 213, 219, var(--tw-border-opacity))}.border-indigo-200{--tw-border-opacity:1;border-color:rgba(199, 210, 254, var(--tw-border-opacity))}.focus\:border-indigo-500:focus{--tw-border-opacity:1;border-color:rgba(99, 102, 241, var(--tw-border-opacity))}.border-opacity-20{--tw-border-opacity:0.2}.rounded-md{border-radius:0.375rem}.rounded-lg{border-radius:0.5rem}.rounded-t-md{border-top-left-radius:0.375rem;border-top-right-radius:0.375rem}.rounded-b-md{border-bottom-right-radius:0.375rem;border-bottom-left-radius:0.375rem}.rounded-tl-md{border-top-left-radius:0.375rem}.rounded-tr-md{border-top-right-radius:0.375rem}.rounded-br-md{border-bottom-right-radius:0.375rem}.rounded-bl-md{border-bottom-left-radius:0.375rem}.border-dashed{border-style:dashed}.border-4{border-width:4px}.border{border-width:1px}.border-t{border-top-width:1px}.cursor-pointer{cursor:pointer}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-between{justify-content:space-between}.flex-shrink-0{flex-shrink:0}.order-last{order:9999}.font-medium{font-weight:500}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-64{height:16rem}.h-full{height:100%}.text-sm{font-size:0.875rem;line-height:1.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:0.25rem}.mb-2{margin-bottom:0.5rem}.mr-3{margin-right:0.75rem}.ml-3{margin-left:0.75rem}.mt-4{margin-top:1rem}.mb-4{margin-bottom:1rem}.ml-4{margin-left:1rem}.mt-0\.5{margin-top:0.125rem}.-mt-1{margin-top:-0.25rem}.-ml-1{margin-left:-0.25rem}.-mt-24{margin-top:-6rem}.max-w-md{max-width:28rem}.max-w-3xl{max-width:48rem}.min-h-screen{min-height:100vh}.opacity-0{opacity:0}.group:hover .group-hover\:opacity-100{opacity:1}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.overflow-hidden{overflow:hidden}.p-1{padding:0.25rem}.p-3{padding:0.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.py-2{padding-top:0.5rem;padding-bottom:0.5rem}.py-3{padding-top:0.75rem;padding-bottom:0.75rem}.px-3{padding-left:0.75rem;padding-right:0.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-8{padding-bottom:2rem}.pb-24{padding-bottom:6rem}.static{position:static}.absolute{position:absolute}.relative{position:relative}.right-0{right:0px}.top-1\.5{top:0.375rem}.right-1\.5{right:0.375rem}*{--tw-shadow:0 0 #0000}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.05);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.shadow{--tw-shadow:0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}*{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59, 130, 246, 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px}.focus\:ring-white:focus{--tw-ring-opacity:1;--tw-ring-color:rgba(255, 255, 255, var(--tw-ring-opacity))}.focus\:ring-indigo-500:focus{--tw-ring-opacity:1;--tw-ring-color:rgba(99, 102, 241, var(--tw-ring-opacity))}.fill-current{fill:currentColor}.stroke-current{stroke:currentColor}.text-center{text-align:center}.text-white{--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgba(107, 114, 128, var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgba(55, 65, 81, var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity:1;color:rgba(17, 24, 39, var(--tw-text-opacity))}.text-indigo-100{--tw-text-opacity:1;color:rgba(224, 231, 255, var(--tw-text-opacity))}.text-indigo-200{--tw-text-opacity:1;color:rgba(199, 210, 254, var(--tw-text-opacity))}.text-indigo-600{--tw-text-opacity:1;color:rgba(79, 70, 229, var(--tw-text-opacity))}.text-indigo-900{--tw-text-opacity:1;color:rgba(49, 46, 129, var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-1\/3{width:33.333333%}.w-full{width:100%}.z-10{z-index:10}.focus\:z-10:focus{z-index:10}.focus\:z-20:focus{z-index:20}.gap-4{gap:1rem}.gap-8{gap:2rem}.grid-cols-1{grid-template-columns:repeat(1, minmax(0, 1fr))}.grid-cols-3{grid-template-columns:repeat(3, minmax(0, 1fr))}.col-span-2{grid-column:span 2 / span 2}@-webkit-keyframes spin{to{transform:rotate(360deg)}}@keyframes spin{to{transform:rotate(360deg)}}@-webkit-keyframes ping{75%,100%{transform:scale(2);opacity:0}}@keyframes ping{75%,100%{transform:scale(2);opacity:0}}@-webkit-keyframes pulse{50%{opacity:.5}}@keyframes pulse{50%{opacity:.5}}@-webkit-keyframes bounce{0%,100%{transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(0.8,0,1,1);animation-timing-function:cubic-bezier(0.8,0,1,1)}50%{transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,0.2,1);animation-timing-function:cubic-bezier(0,0,0.2,1)}}@keyframes bounce{0%,100%{transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(0.8,0,1,1);animation-timing-function:cubic-bezier(0.8,0,1,1)}50%{transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,0.2,1);animation-timing-function:cubic-bezier(0,0,0.2,1)}}:root{--color-code-green:#b5f4a5;--color-code-yellow:#ffe484;--color-code-purple:#d9a9ff;--color-code-red:#ff8383;--color-code-blue:#93ddfd;--color-code-white:#fff}code[class*='language-'],pre[class*='language-']{font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--tw-text-opacity:1;color:rgba(229, 231, 235, var(--tw-text-opacity))}code[class*='language-'],pre[class*='language-']{direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*='language-']{padding:1rem;overflow:auto;border-radius:0.3em}:not(pre)>code[class*='language-'],pre[class*='language-']{background:#1d1f21}:not(pre)>code[class*='language-']{padding:0.1em;border-radius:0.3em}.token.comment,.token.prolog,.token.doctype,.token.cdata{--tw-text-opacity:1;color:rgba(107, 114, 128, var(--tw-text-opacity))}.token.punctuation{color:#c5c8c6}.namespace{opacity:0.7}.token.property,.token.keyword,.token.tag{color:#96cbfe}.token.class-name{color:#ffffb6;text-decoration:underline}.token.boolean,.token.constant{color:#99cc99}.token.symbol,.token.deleted{color:#f92672}.token.number{color:#ff73fd}.token.selector,.token.attr-name,.token.string,.token.char,.token.builtin,.token.inserted{color:#a8ff60}.token.variable{color:#c6c5fe}.token.operator{color:#ededed}.token.entity{color:#ffffb6}.token.url{color:#96cbfe}.language-css .token.string,.style .token.string{color:#87c38a}.token.atrule,.token.attr-value{color:#f9ee98}.token.function{color:#dad085}.token.regex{color:#e9c062}.token.important{color:#fd971f}.token.important,.token.bold{font-weight:bold}.token.italic{font-style:italic}.token.entity{cursor:help}:not(pre)>code[class*='language-'],pre[class*='language-']{background:transparent}:not(pre)>code[class*='language-'],pre[class*='language-']{font-size:0.875rem;line-height:1.25rem}code[class*='language-'],pre[class*='language-']{-webkit-font-smoothing:auto !important;-moz-osx-font-smoothing:auto !important}code[class*='language-'],pre[class*='language-']{color:var(--color-code-white) !important}.token.comment{--tw-text-opacity:1 !important;color:rgba(107, 114, 128, var(--tw-text-opacity)) !important}.token.atrule{color:var(--color-code-yellow) !important}.token.atrule>.token.property{color:var(--color-code-white) !important}.token.atrule>.token.property+.token.punctuation{color:var(--color-code-white) !important}.token.atrule>.token.property+.token.punctuation+.token.number+.token.unit{color:var(--color-code-white) !important}.token.atrule>.token.number{color:var(--color-code-white) !important}.token.atrule>.token.unit{color:var(--color-code-white) !important}.token.function{color:var(--color-code-blue) !important}.token.number{color:var(--color-code-red) !important}.token.unit{color:var(--color-code-red) !important}.token.punctuation{color:var(--color-code-blue) !important}.token.hexcode{color:var(--color-code-blue) !important}.token.tag{color:var(--color-code-red) !important}.token.attr-name{color:var(--color-code-yellow) !important}.token.attr-value{color:var(--color-code-green) !important}.token.string{color:var(--color-code-green) !important}.token.url{color:var(--color-code-green) !important}.token.selector{color:var(--color-code-yellow) !important}.token.property{color:var(--color-code-yellow) !important}.token.rule{color:var(--color-code-purple) !important}.token.important{font-weight:inherit !important;color:var(--color-code-purple) !important}code.language-js .token.operator,pre.language-js .token.operator{color:var(--color-code-blue) !important}code.language-js .token.punctuation,pre.language-js .token.punctuation{color:var(--color-code-white) !important}code.language-js .token.boolean,pre.language-js .token.boolean{color:var(--color-code-red) !important}code.language-js .token.regex,pre.language-js .token.regex{color:var(--color-code-yellow) !important}code.language-bash .token.function,pre.language-bash .token.function{color:var(--color-code-white) !important}code.language-diff,pre.language-diff{--tw-text-opacity:1 !important;color:rgba(156, 163, 175, var(--tw-text-opacity)) !important}code.language-diff .token.deleted,pre.language-diff .token.deleted{color:var(--color-code-red) !important}code.language-diff .token.inserted,pre.language-diff .token.inserted{color:var(--color-code-green) !important}.markdown>p code,.markdown>ul li *:not(pre) code,.markdown>ul li>code,.markdown>ol li *:not(pre) code,.markdown>ol li>code,p.markdown code.markdown{display:inline-block}.markdown>p code,.markdown>ul li *:not(pre) code,.markdown>ul li>code,.markdown>ol li *:not(pre) code,.markdown>ol li>code,p.markdown code.markdown{--tw-bg-opacity:1;background-color:rgba(243, 244, 246, var(--tw-bg-opacity))}.markdown>p code,.markdown>ul li *:not(pre) code,.markdown>ul li>code,.markdown>ol li *:not(pre) code,.markdown>ol li>code,p.markdown code.markdown{border-radius:0.125rem}.markdown>p code,.markdown>ul li *:not(pre) code,.markdown>ul li>code,.markdown>ol li *:not(pre) code,.markdown>ol li>code,p.markdown code.markdown{font-size:0.875rem;line-height:1.25rem}.markdown>p code,.markdown>ul li *:not(pre) code,.markdown>ul li>code,.markdown>ol li *:not(pre) code,.markdown>ol li>code,p.markdown code.markdown{padding-left:0.25rem;padding-right:0.25rem}.markdown>p code,.markdown>ul li *:not(pre) code,.markdown>ul li>code,.markdown>ol li *:not(pre) code,.markdown>ol li>code,p.markdown code.markdown{line-height:1}.markdown>p code,.markdown>ul li *:not(pre) code,.markdown>ul li>code,.markdown>ol li *:not(pre) code,.markdown>ol li>code,p.markdown code.markdown{white-space:nowrap}.markdown>p code,.markdown>ul li *:not(pre) code,.markdown>ul li>code,.markdown>ol li *:not(pre) code,.markdown>ol li>code,p.markdown code.markdown{--tw-text-opacity:1;color:rgba(31, 41, 55, var(--tw-text-opacity))}.markdown>p code,.markdown>ul li *:not(pre) code,.markdown>ul li>code,.markdown>ol li *:not(pre) code,.markdown>ol li>code,p.markdown code.markdown{font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}.markdown>p code,.markdown>ul li *:not(pre) code,.markdown>ul li>code,.markdown>ol li *:not(pre) code,.markdown>ol li>code,p.markdown code.markdown{vertical-align:baseline}.markdown>p code,.markdown>ul li *:not(pre) code,.markdown>ul li>code,.markdown>ol li *:not(pre) code,.markdown>ol li>code,p.markdown code.markdown{font-weight:400}.markdown>pre,pre.markdown{font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}.markdown>pre,pre.markdown{font-size:0.875rem;line-height:1.25rem}.markdown>pre,pre.markdown{border-radius:0.5rem}.markdown>pre,pre.markdown{font-weight:400;scrollbar-width:none;overflow:auto}.markdown>pre::-webkit-scrollbar,pre.markdown::-webkit-scrollbar{display:none}.markdown>pre,pre.markdown,.markdown>ul li pre,.markdown>ol li pre{--tw-bg-opacity:1;background-color:rgba(31, 41, 55, var(--tw-bg-opacity));display:flex;padding:0px}.markdown>pre,pre.markdown,.markdown>ul li pre,.markdown>ol li pre{font-size:0.875rem;line-height:1.25rem;line-height:1.5}.markdown>pre code,pre code.markdown,.markdown>ul li pre code,.markdown>ol li pre code{padding:1rem}#carbonads *{margin:initial;padding:initial}#carbonads{font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, Arial, sans-serif}#carbonads{display:flex;z-index:100}#carbonads a{color:inherit;text-decoration:none}#carbonads a:hover{color:inherit}#carbonads span{position:relative;display:block;overflow:hidden}#carbonads .carbon-wrap{display:flex}#carbonads .carbon-img{display:block;margin:0;line-height:1}#carbonads .carbon-img img{display:block}#carbonads .carbon-text{font-size:13px;padding:10px;margin-bottom:16px;line-height:1.5;text-align:left}#carbonads .carbon-poweredby{display:block;padding:6px 8px;background:#f1f1f2;text-align:center;text-transform:uppercase;letter-spacing:0.5px;font-weight:600;font-size:8px;line-height:1;border-top-left-radius:3px;position:absolute;bottom:0;right:0}@media(min-width: 640px){.sm\:inline{display:inline}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:text-left{text-align:left}}@media(min-width: 1024px){.lg\:items-center{align-items:center}.lg\:order-first{order:-9999}.lg\:max-w-7xl{max-width:80rem}.lg\:px-8{padding-left:2rem;padding-right:2rem}.lg\:pr-0\.5{padding-right:0.125rem}.lg\:gap-8{gap:2rem}.lg\:grid-cols-3{grid-template-columns:repeat(3, minmax(0, 1fr))}.lg\:col-span-2{grid-column:span 2 / span 2}}.gutter-col,.gutter-row{background-color:rgb(229, 231, 235);background-repeat:no-repeat;background-position:50%}.gutter-col{grid-row:1/-1;cursor:col-resize;background-image:url(/vertical.png)}.gutter-row{grid-column:1/-1;cursor:row-resize;background-image:url(/horizontal.png)} \ No newline at end of file diff --git a/packages/split-generator/public/bundle.js b/packages/split-generator/public/bundle.js index 459f36d3..e0f59cdd 100644 --- a/packages/split-generator/public/bundle.js +++ b/packages/split-generator/public/bundle.js @@ -1,4 +1,4 @@ -!function(){"use strict";function t(){}function e(t,e){for(const n in e)t[n]=e[n];return t}function n(t){return t()}function r(){return Object.create(null)}function o(t){t.forEach(n)}function i(t){return"function"==typeof t}function a(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function s(e,...n){if(null==e)return t;const r=e.subscribe(...n);return r.unsubscribe?()=>r.unsubscribe():r}function l(t,e,n){t.$$.on_destroy.push(s(e,n))}function c(t,n,r,o){return t[1]&&o?e(r.ctx.slice(),t[1](o(n))):r.ctx}function u(t,e,n,r,o,i,a){const s=function(t,e,n,r){if(t[2]&&r){const o=t[2](r(n));if(void 0===e.dirty)return o;if("object"==typeof o){const t=[],n=Math.max(e.dirty.length,o.length);for(let r=0;rt.removeEventListener(e,n,r)}function S(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function k(t,e){const n=Object.getOwnPropertyDescriptors(t.__proto__);for(const r in e)null==e[r]?t.removeAttribute(r):"style"===r?t.style.cssText=e[r]:"__value"===r?t.value=t[r]=e[r]:n[r]&&n[r].set?t[r]=e[r]:S(t,r,e[r])}function A(t,e){for(const n in e)S(t,n,e[n])}function z(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function E(t,e,n,r){t.style.setProperty(e,n,r?"important":"")}function j(t,e,n){t.classList[n?"add":"remove"](e)}let O;function P(t){O=t}function C(){if(!O)throw new Error("Function called outside component initialization");return O}function F(t){C().$$.on_mount.push(t)}function M(t){C().$$.after_update.push(t)}function T(){const t=C();return(e,n)=>{const r=t.$$.callbacks[e];if(r){const o=function(t,e){const n=document.createEvent("CustomEvent");return n.initCustomEvent(t,!1,!1,e),n}(e,n);r.slice().forEach(e=>{e.call(t,o)})}}}function _(t,e){const n=t.$$.callbacks[e.type];n&&n.slice().forEach(t=>t(e))}const L=[],I=[],D=[],N=[],G=Promise.resolve();let R=!1;function B(){R||(R=!0,G.then(J))}function H(){return B(),G}function U(t){D.push(t)}function W(t){N.push(t)}let V=!1;const q=new Set;function J(){if(!V){V=!0;do{for(let t=0;t{X.delete(t),r&&(n&&t.d(1),r())}),t.o(e)}}const nt="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function rt(t,e){t.d(1),e.delete(t.key)}function ot(t,e){const n={},r={},o={$$scope:1};let i=t.length;for(;i--;){const a=t[i],s=e[i];if(s){for(const t in a)t in s||(r[t]=1);for(const t in s)o[t]||(n[t]=s[t],o[t]=1);t[i]=s}else for(const t in a)o[t]=1}for(const t in r)t in n||(n[t]=void 0);return n}function it(t){return"object"==typeof t&&null!==t?t:{}}function at(t,e,n){const r=t.$$.props[e];void 0!==r&&(t.$$.bound[r]=n,n(t.$$.ctx[r]))}function st(t){t&&t.c()}function lt(t,e,r,a){const{fragment:s,on_mount:l,on_destroy:c,after_update:u}=t.$$;s&&s.m(e,r),a||U(()=>{const e=l.map(n).filter(i);c?c.push(...e):o(e),t.$$.on_mount=[]}),u.forEach(U)}function ct(t,e){const n=t.$$;null!==n.fragment&&(o(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function ut(e,n,i,a,s,l,c=[-1]){const u=O;P(e);const p=e.$$={fragment:null,ctx:null,props:l,update:t,not_equal:s,bound:r(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(u?u.$$.context:n.context||[]),callbacks:r(),dirty:c,skip_bound:!1};let f=!1;if(p.ctx=i?i(e,n.props||{},(t,n,...r)=>{const o=r.length?r[0]:n;return p.ctx&&s(p.ctx[t],p.ctx[t]=o)&&(!p.skip_bound&&p.bound[t]&&p.bound[t](o),f&&function(t,e){-1===t.$$.dirty[0]&&(L.push(t),B(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const ft=[];function dt(t,e){return{subscribe:gt(t,e).subscribe}}function gt(e,n=t){let r;const o=[];function i(t){if(a(e,t)&&(e=t,r)){const t=!ft.length;for(let t=0;t{const t=o.indexOf(l);-1!==t&&o.splice(t,1),0===o.length&&(r(),r=null)}}}}function mt(e,n,r){const a=!Array.isArray(e),l=a?[e]:e,c=n.length<2;return dt(r,e=>{let r=!1;const u=[];let p=0,f=t;const d=()=>{if(p)return;f();const r=n(a?u[0]:u,e);c?e(r):f=i(r)?r:t},g=l.map((t,e)=>s(t,t=>{u[e]=t,p&=~(1<{p|=1<{ct(t,1)}),K()}a?(n=new a(s()),n.$on("routeEvent",t[7]),st(n.$$.fragment),tt(n.$$.fragment,1),lt(n,r.parentNode,r)):n=null}else a&&n.$set(o)},i(t){o||(n&&tt(n.$$.fragment,t),o=!0)},o(t){n&&et(n.$$.fragment,t),o=!1},d(t){t&&m(r),n&&ct(n,t)}}}function yt(t){let n,r,o;const i=[{params:t[1]},t[2]];var a=t[0];function s(t){let n={};for(let t=0;t{ct(t,1)}),K()}a?(n=new a(s()),n.$on("routeEvent",t[6]),st(n.$$.fragment),tt(n.$$.fragment,1),lt(n,r.parentNode,r)):n=null}else a&&n.$set(o)},i(t){o||(n&&tt(n.$$.fragment,t),o=!0)},o(t){n&&et(n.$$.fragment,t),o=!1},d(t){t&&m(r),n&&ct(n,t)}}}function vt(t){let e,n,r,o;const i=[yt,ht],a=[];function s(t,e){return t[1]?0:1}return e=s(t),n=a[e]=i[e](t),{c(){n.c(),r=$()},m(t,n){a[e].m(t,n),g(t,r,n),o=!0},p(t,[o]){let l=e;e=s(t),e===l?a[e].p(t,o):(Z(),et(a[l],1,1,()=>{a[l]=null}),K(),n=a[e],n?n.p(t,o):(n=a[e]=i[e](t),n.c()),tt(n,1),n.m(r.parentNode,r))},i(t){o||(tt(n),o=!0)},o(t){et(n),o=!1},d(t){a[e].d(t),t&&m(r)}}}function bt(){const t=window.location.href.indexOf("#/");let e=t>-1?window.location.href.substr(t+1):"/";const n=e.indexOf("?");let r="";return n>-1&&(r=e.substr(n+1),e=e.substr(0,n)),{location:e,querystring:r}}const wt=dt(null,(function(t){t(bt());const e=()=>{t(bt())};return window.addEventListener("hashchange",e,!1),function(){window.removeEventListener("hashchange",e,!1)}})),$t=mt(wt,t=>t.location),xt=mt(wt,t=>t.querystring);async function St(t){if(!t||t.length<1||"/"!=t.charAt(0)&&0!==t.indexOf("#/"))throw Error("Invalid parameter location");await H();const e=("#"==t.charAt(0)?"":"#")+t;try{window.history.replaceState(void 0,void 0,e)}catch(t){console.warn("Caught exception while replacing the current page. If you're running this in the Svelte REPL, please note that the `replace` method might not work in this environment.")}window.dispatchEvent(new Event("hashchange"))}function kt(t,e){if(!t||!t.tagName||"a"!=t.tagName.toLowerCase())throw Error('Action "link" can only be used with tags');return At(t,e||t.getAttribute("href")),{update(e){At(t,e)}}}function At(t,e){if(!e||e.length<1||"/"!=e.charAt(0))throw Error('Invalid value for "href" attribute: '+e);t.setAttribute("href","#"+e),t.addEventListener("click",zt)}function zt(t){t.preventDefault();const e=t.currentTarget.getAttribute("href");history.replaceState({scrollX:window.scrollX,scrollY:window.scrollY},void 0,void 0),window.location.hash=e}function Et(t,e,n){let{routes:r={}}=e,{prefix:o=""}=e,{restoreScrollState:i=!1}=e;class a{constructor(t,e){if(!e||"function"!=typeof e&&("object"!=typeof e||!0!==e._sveltesparouter))throw Error("Invalid component object");if(!t||"string"==typeof t&&(t.length<1||"/"!=t.charAt(0)&&"*"!=t.charAt(0))||"object"==typeof t&&!(t instanceof RegExp))throw Error('Invalid value for "path" argument - strings must start with / or *');const{pattern:n,keys:r}=function(t,e){if(t instanceof RegExp)return{keys:!1,pattern:t};var n,r,o,i,a=[],s="",l=t.split("/");for(l[0]||l.shift();o=l.shift();)"*"===(n=o[0])?(a.push("wild"),s+="/(.*)"):":"===n?(r=o.indexOf("?",1),i=o.indexOf(".",1),a.push(o.substring(1,~r?r:~i?i:o.length)),s+=~r&&!~i?"(?:/([^/]+?))?":"/([^/]+?)",~i&&(s+=(~r?"?":"")+"\\"+o.substring(i))):s+="/"+o;return{keys:a,pattern:new RegExp("^"+s+(e?"(?=$|/)":"/?$"),"i")}}(t);this.path=t,"object"==typeof e&&!0===e._sveltesparouter?(this.component=e.component,this.conditions=e.conditions||[],this.userData=e.userData,this.props=e.props||{}):(this.component=()=>Promise.resolve(e),this.conditions=[],this.props={}),this._pattern=n,this._keys=r}match(t){if(o)if("string"==typeof o){if(!t.startsWith(o))return null;t=t.substr(o.length)||"/"}else if(o instanceof RegExp){const e=t.match(o);if(!e||!e[0])return null;t=t.substr(e[0].length)||"/"}const e=this._pattern.exec(t);if(null===e)return null;if(!1===this._keys)return e;const n={};let r=0;for(;r{s.push(new a(e,t))}):Object.keys(r).forEach(t=>{s.push(new a(t,r[t]))});let l=null,c=null,u={};const p=T();async function f(t,e){await H(),p(t,e)}let d=null;i&&(window.addEventListener("popstate",t=>{d=t.state&&t.state.scrollY?t.state:null}),M(()=>{d?window.scrollTo(d.scrollX,d.scrollY):window.scrollTo(0,0)}));let g=null,m=null;return wt.subscribe(async t=>{g=t;let e=0;for(;e{"routes"in t&&n(3,r=t.routes),"prefix"in t&&n(4,o=t.prefix),"restoreScrollState"in t&&n(5,i=t.restoreScrollState)},t.$$.update=()=>{32&t.$$.dirty&&(history.scrollRestoration=i?"manual":"auto")},[l,c,u,r,o,i,function(e){_(t,e)},function(e){_(t,e)}]}class jt extends pt{constructor(t){super(),ut(this,t,Et,vt,a,{routes:3,prefix:4,restoreScrollState:5})}}var Ot="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Pt(t){if(t.__esModule)return t;var e=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(t).forEach((function(n){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})})),e}function Ct(t){var e={exports:{}};return t(e,e.exports),e.exports}var Ft=Ot.Symbol,Mt="Function.prototype.bind called on incompatible ",Tt=Array.prototype.slice,_t=Object.prototype.toString,Lt=Function.prototype.bind||function(t){var e=this;if("function"!=typeof e||"[object Function]"!==_t.call(e))throw new TypeError(Mt+e);for(var n,r=Tt.call(arguments,1),o=function(){if(this instanceof n){var o=e.apply(this,r.concat(Tt.call(arguments)));return Object(o)===o?o:this}return e.apply(t,r.concat(Tt.call(arguments)))},i=Math.max(0,e.length-r.length),a=[],s=0;s1&&"boolean"!=typeof e)throw new Gt('"allowMissing" argument must be a boolean');var n=re(t),r=n.length>0?n[0]:"",o=oe("%"+r+"%",e),i=o.name,a=o.value,s=!1,l=o.alias;l&&(r=l[0],Zt(n,Yt([0,1],l)));for(var c=1,u=!0;c=n.length){var g=Bt(a,p);a=(u=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:a[p]}else u=It(a,p),a=a[p];u&&!s&&(Qt[i]=a)}}return a},ae=Ct((function(t){var e=ie("%Function.prototype.apply%"),n=ie("%Function.prototype.call%"),r=ie("%Reflect.apply%",!0)||Lt.call(n,e),o=ie("%Object.getOwnPropertyDescriptor%",!0),i=ie("%Object.defineProperty%",!0),a=ie("%Math.max%");if(i)try{i({},"a",{value:1})}catch(t){i=null}t.exports=function(t){var e=r(Lt,n,arguments);if(o&&i){var s=o(e,"length");s.configurable&&i(e,"length",{value:1+a(0,t.length-(arguments.length-1))})}return e};var s=function(){return r(Lt,e,arguments)};i?i(t.exports,"apply",{value:s}):t.exports.apply=s})),se=ae(ie("String.prototype.indexOf")),le=function(t,e){var n=ie(t,!!e);return"function"==typeof n&&se(t,".prototype.")>-1?ae(n):n},ce=Pt(Object.freeze({__proto__:null,default:{}})),ue="function"==typeof Map&&Map.prototype,pe=Object.getOwnPropertyDescriptor&&ue?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,fe=ue&&pe&&"function"==typeof pe.get?pe.get:null,de=ue&&Map.prototype.forEach,ge="function"==typeof Set&&Set.prototype,me=Object.getOwnPropertyDescriptor&&ge?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,he=ge&&me&&"function"==typeof me.get?me.get:null,ye=ge&&Set.prototype.forEach,ve="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,be="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,we=Boolean.prototype.valueOf,$e=Object.prototype.toString,xe=Function.prototype.toString,Se=String.prototype.match,ke="function"==typeof BigInt?BigInt.prototype.valueOf:null,Ae=Object.getOwnPropertySymbols,ze="function"==typeof Symbol?Symbol.prototype.toString:null,Ee=Object.prototype.propertyIsEnumerable,je=ce.custom,Oe=je&&Te(je)?je:null,Pe=function t(e,n,r,o){var i=n||{};if(Le(i,"quoteStyle")&&"single"!==i.quoteStyle&&"double"!==i.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Le(i,"maxStringLength")&&("number"==typeof i.maxStringLength?i.maxStringLength<0&&i.maxStringLength!==1/0:null!==i.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=!Le(i,"customInspect")||i.customInspect;if("boolean"!=typeof a)throw new TypeError('option "customInspect", if provided, must be `true` or `false`');if(Le(i,"indent")&&null!==i.indent&&"\t"!==i.indent&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return function t(e,n){if(e.length>n.maxStringLength){var r=e.length-n.maxStringLength,o="... "+r+" more character"+(r>1?"s":"");return t(e.slice(0,n.maxStringLength),n)+o}return Ce(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,Ne),"single",n)}(e,i);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var s=void 0===i.depth?5:i.depth;if(void 0===r&&(r=0),r>=s&&s>0&&"object"==typeof e)return Me(e)?"[Array]":"[Object]";var l=function(t,e){var n;if("\t"===t.indent)n="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;n=Array(t.indent+1).join(" ")}return{base:n,prev:Array(e+1).join(n)}}(i,r);if(void 0===o)o=[];else if(De(o,e)>=0)return"[Circular]";function c(e,n,a){if(n&&(o=o.slice()).push(n),a){var s={depth:i.depth};return Le(i,"quoteStyle")&&(s.quoteStyle=i.quoteStyle),t(e,s,r+1,o)}return t(e,i,r+1,o)}if("function"==typeof e){var u=function(t){if(t.name)return t.name;var e=Se.call(xe.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),p=Ue(e,c);return"[Function"+(u?": "+u:" (anonymous)")+"]"+(p.length>0?" { "+p.join(", ")+" }":"")}if(Te(e)){var f=ze.call(e);return"object"==typeof e?Ge(f):f}if(function(t){if(!t||"object"!=typeof t)return!1;if("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)return!0;return"string"==typeof t.nodeName&&"function"==typeof t.getAttribute}(e)){for(var d="<"+String(e.nodeName).toLowerCase(),g=e.attributes||[],m=0;m"}if(Me(e)){if(0===e.length)return"[]";var h=Ue(e,c);return l&&!function(t){for(var e=0;e=0)return!1;return!0}(h)?"["+He(h,l)+"]":"[ "+h.join(", ")+" ]"}if(function(t){return"[object Error]"===Ie(t)}(e)){var y=Ue(e,c);return 0===y.length?"["+String(e)+"]":"{ ["+String(e)+"] "+y.join(", ")+" }"}if("object"==typeof e&&a){if(Oe&&"function"==typeof e[Oe])return e[Oe]();if("function"==typeof e.inspect)return e.inspect()}if(function(t){if(!fe||!t||"object"!=typeof t)return!1;try{fe.call(t);try{he.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var v=[];return de.call(e,(function(t,n){v.push(c(n,e,!0)+" => "+c(t,e))})),Be("Map",fe.call(e),v,l)}if(function(t){if(!he||!t||"object"!=typeof t)return!1;try{he.call(t);try{fe.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var b=[];return ye.call(e,(function(t){b.push(c(t,e))})),Be("Set",he.call(e),b,l)}if(function(t){if(!ve||!t||"object"!=typeof t)return!1;try{ve.call(t,ve);try{be.call(t,be)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return Re("WeakMap");if(function(t){if(!be||!t||"object"!=typeof t)return!1;try{be.call(t,be);try{ve.call(t,ve)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return Re("WeakSet");if(function(t){return"[object Number]"===Ie(t)}(e))return Ge(c(Number(e)));if(function(t){return"[object BigInt]"===Ie(t)}(e))return Ge(c(ke.call(e)));if(function(t){return"[object Boolean]"===Ie(t)}(e))return Ge(we.call(e));if(function(t){return"[object String]"===Ie(t)}(e))return Ge(c(String(e)));if(!function(t){return"[object Date]"===Ie(t)}(e)&&!function(t){return"[object RegExp]"===Ie(t)}(e)){var w=Ue(e,c);return 0===w.length?"{}":l?"{"+He(w,l)+"}":"{ "+w.join(", ")+" }"}return String(e)};function Ce(t,e,n){var r="double"===(n.quoteStyle||e)?'"':"'";return r+t+r}function Fe(t){return String(t).replace(/"/g,""")}function Me(t){return"[object Array]"===Ie(t)}function Te(t){return"[object Symbol]"===Ie(t)}var _e=Object.prototype.hasOwnProperty||function(t){return t in this};function Le(t,e){return _e.call(t,e)}function Ie(t){return $e.call(t)}function De(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0,r=t.length;n1;){var e=t.pop(),n=e.obj[e.prop];if(ln(n)){for(var r=[],o=0;o=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||o===an.RFC1738&&(40===l||41===l)?a+=i.charAt(s):l<128?a+=cn[l]:l<2048?a+=cn[192|l>>6]+cn[128|63&l]:l<55296||l>=57344?a+=cn[224|l>>12]+cn[128|l>>6&63]+cn[128|63&l]:(s+=1,l=65536+((1023&l)<<10|1023&i.charCodeAt(s)),a+=cn[240|l>>18]+cn[128|l>>12&63]+cn[128|l>>6&63]+cn[128|63&l])}return a},isBuffer:function(t){return!(!t||"object"!=typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(ln(t)){for(var n=[],r=0;r0?y.join(",")||null:void 0}];else if(gn(s))v=s;else{var w=Object.keys(y);v=l?w.sort(l):w}for(var $=0;$-1?t.split(","):t},zn=function(t,e,n,r){if(t){var o=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,a=n.depth>0&&/(\[[^[\]]*])/.exec(o),s=a?o.slice(0,a.index):o,l=[];if(s){if(!n.plainObjects&&$n.call(Object.prototype,s)&&!n.allowPrototypes)return;l.push(s)}for(var c=0;n.depth>0&&null!==(a=i.exec(o))&&c=0;--i){var a,s=t[i];if("[]"===s&&n.parseArrays)a=[].concat(o);else{a=n.plainObjects?Object.create(null):{};var l="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=parseInt(l,10);n.parseArrays||""!==l?!isNaN(c)&&s!==l&&String(c)===l&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(a=[])[c]=o:a[l]=o:a={0:o}}o=a}return o}(l,e,n,r)}},En=function(t,e){var n=function(t){if(!t)return Sn;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?Sn.charset:t.charset;return{allowDots:void 0===t.allowDots?Sn.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:Sn.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:Sn.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:Sn.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:Sn.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:Sn.comma,decoder:"function"==typeof t.decoder?t.decoder:Sn.decoder,delimiter:"string"==typeof t.delimiter||pn.isRegExp(t.delimiter)?t.delimiter:Sn.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:Sn.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:Sn.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:Sn.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:Sn.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:Sn.strictNullHandling}}(e);if(""===t||null==t)return n.plainObjects?Object.create(null):{};for(var r="string"==typeof t?function(t,e){var n,r={},o=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,i=e.parameterLimit===1/0?void 0:e.parameterLimit,a=o.split(e.delimiter,i),s=-1,l=e.charset;if(e.charsetSentinel)for(n=0;n-1&&(u=xn(u)?[u]:u),$n.call(r,c)?r[c]=pn.combine(r[c],u):r[c]=u}return r}(t,n):t,o=n.plainObjects?Object.create(null):{},i=Object.keys(r),a=0;a0?f+p:""};function On(t){let n,r,o,i,a,s,l;const p=t[12].default,f=function(t,e,n,r){if(t){const o=c(t,e,n,r);return t[0](o)}}(p,t,t[11],null);let h=[{class:s=t[5]+" "+t[1]},t[6]],v={};for(let t=0;t{h&&Prism.plugins.NormalizeWhitespace.setDefaults(y)}),M(async t=>{a&&""!==a.innerText&&r(7,d=a.innerText),await H(),Prism.highlightAllUnder(s)}),t.$$set=t=>{n=e(e({},n),p(t)),r(6,l=f(n,i)),"code"in t&&r(7,d=t.code),"language"in t&&r(0,g=t.language),"showLineNumbers"in t&&r(8,m=t.showLineNumbers),"normalizeWhiteSpace"in t&&r(9,h=t.normalizeWhiteSpace),"normalizeWhiteSpaceConfig"in t&&r(10,y=t.normalizeWhiteSpaceConfig),"classes"in t&&r(1,v=t.classes),"$$scope"in t&&r(11,u=t.$$scope)},t.$$.update=()=>{769&t.$$.dirty&&r(5,o=`language-${g} ${m?"line-numbers":""} ${!0===h?"":"no-whitespace-normalization"}`),129&t.$$.dirty&&"undefined"!=typeof Prism&&d&&r(4,b=Prism.highlight(d,Prism.languages[g],g))},[g,v,a,s,b,o,l,d,m,h,y,u,c,function(t){I[t?"unshift":"push"](()=>{a=t,r(2,a)})},function(t){I[t?"unshift":"push"](()=>{s=t,r(3,s)})}]}Ct((function(t){var e=function(t){var e=/\blang(?:uage)?-([\w-]+)\b/i,n=0,r={manual:t.Prism&&t.Prism.manual,disableWorkerMessageHandler:t.Prism&&t.Prism.disableWorkerMessageHandler,util:{encode:function t(e){return e instanceof o?new o(e.type,t(e.content),e.alias):Array.isArray(e)?e.map(t):e.replace(/&/g,"&").replace(/=p.reach);S+=x.value.length,x=x.next){var k=x.value;if(n.length>e.length)return;if(!(k instanceof o)){var A,z=1;if(v){if(!(A=i($,S,e,y)))break;var E=A.index,j=A.index+A[0].length,O=S;for(O+=x.value.length;E>=O;)O+=(x=x.next).value.length;if(S=O-=x.value.length,x.value instanceof o)continue;for(var P=x;P!==n.tail&&(Op.reach&&(p.reach=T);var _=x.prev;F&&(_=s(n,_,F),S+=F.length),l(n,_,z),x=s(n,_,new o(f,h?r.tokenize(C,h):C,b,C)),M&&s(n,x,M),z>1&&t(e,n,a,x.prev,S,{cause:f+","+g,reach:T})}}}}}(t,u,e,u.head,0),function(t){var e=[],n=t.head.next;for(;n!==t.tail;)e.push(n.value),n=n.next;return e}(u)},hooks:{all:{},add:function(t,e){var n=r.hooks.all;n[t]=n[t]||[],n[t].push(e)},run:function(t,e){var n=r.hooks.all[t];if(n&&n.length)for(var o,i=0;o=n[i++];)o(e)}},Token:o};function o(t,e,n,r){this.type=t,this.content=e,this.alias=n,this.length=0|(r||"").length}function i(t,e,n,r){t.lastIndex=e;var o=t.exec(n);if(o&&r&&o[1]){var i=o[1].length;o.index+=i,o[0]=o[0].slice(i)}return o}function a(){var t={value:null,prev:null,next:null},e={value:null,prev:t,next:null};t.next=e,this.head=t,this.tail=e,this.length=0}function s(t,e,n){var r=e.next,o={value:n,prev:e,next:r};return e.next=o,r.prev=o,t.length++,o}function l(t,e,n){for(var r=e.next,o=0;o"+i.content+""},!t.document)return t.addEventListener?(r.disableWorkerMessageHandler||t.addEventListener("message",(function(e){var n=JSON.parse(e.data),o=n.language,i=n.code,a=n.immediateClose;t.postMessage(r.highlight(i,r.languages[o],o)),a&&t.close()}),!1),r):r;var c=r.util.currentScript();function u(){r.manual||r.highlightAll()}if(c&&(r.filename=c.src,c.hasAttribute("data-manual")&&(r.manual=!0)),!r.manual){var p=document.readyState;"loading"===p||"interactive"===p&&c&&c.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return r}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{}); +!function(){"use strict";function t(){}function e(t,e){for(const n in e)t[n]=e[n];return t}function n(t){return t()}function r(){return Object.create(null)}function o(t){t.forEach(n)}function i(t){return"function"==typeof t}function a(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function s(e,...n){if(null==e)return t;const r=e.subscribe(...n);return r.unsubscribe?()=>r.unsubscribe():r}function l(t,e,n){t.$$.on_destroy.push(s(e,n))}function c(t,n,r,o){return t[1]&&o?e(r.ctx.slice(),t[1](o(n))):r.ctx}function u(t,e,n,r,o,i,a){const s=function(t,e,n,r){if(t[2]&&r){const o=t[2](r(n));if(void 0===e.dirty)return o;if("object"==typeof o){const t=[],n=Math.max(e.dirty.length,o.length);for(let r=0;rt.removeEventListener(e,n,r)}function S(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function k(t,e){const n=Object.getOwnPropertyDescriptors(t.__proto__);for(const r in e)null==e[r]?t.removeAttribute(r):"style"===r?t.style.cssText=e[r]:"__value"===r?t.value=t[r]=e[r]:n[r]&&n[r].set?t[r]=e[r]:S(t,r,e[r])}function A(t,e){for(const n in e)S(t,n,e[n])}function z(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function E(t,e,n,r){t.style.setProperty(e,n,r?"important":"")}function j(t,e,n){t.classList[n?"add":"remove"](e)}let O;function P(t){O=t}function C(){if(!O)throw new Error("Function called outside component initialization");return O}function F(t){C().$$.on_mount.push(t)}function M(t){C().$$.after_update.push(t)}function T(){const t=C();return(e,n)=>{const r=t.$$.callbacks[e];if(r){const o=function(t,e){const n=document.createEvent("CustomEvent");return n.initCustomEvent(t,!1,!1,e),n}(e,n);r.slice().forEach(e=>{e.call(t,o)})}}}function _(t,e){const n=t.$$.callbacks[e.type];n&&n.slice().forEach(t=>t(e))}const L=[],I=[],D=[],N=[],G=Promise.resolve();let R=!1;function B(){R||(R=!0,G.then(Q))}function H(){return B(),G}function U(t){D.push(t)}function W(t){N.push(t)}let V=!1;const q=new Set;function Q(){if(!V){V=!0;do{for(let t=0;t{X.delete(t),r&&(n&&t.d(1),r())}),t.o(e)}}const nt="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function rt(t,e){t.d(1),e.delete(t.key)}function ot(t,e){const n={},r={},o={$$scope:1};let i=t.length;for(;i--;){const a=t[i],s=e[i];if(s){for(const t in a)t in s||(r[t]=1);for(const t in s)o[t]||(n[t]=s[t],o[t]=1);t[i]=s}else for(const t in a)o[t]=1}for(const t in r)t in n||(n[t]=void 0);return n}function it(t){return"object"==typeof t&&null!==t?t:{}}function at(t,e,n){const r=t.$$.props[e];void 0!==r&&(t.$$.bound[r]=n,n(t.$$.ctx[r]))}function st(t){t&&t.c()}function lt(t,e,r,a){const{fragment:s,on_mount:l,on_destroy:c,after_update:u}=t.$$;s&&s.m(e,r),a||U(()=>{const e=l.map(n).filter(i);c?c.push(...e):o(e),t.$$.on_mount=[]}),u.forEach(U)}function ct(t,e){const n=t.$$;null!==n.fragment&&(o(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function ut(e,n,i,a,s,l,c=[-1]){const u=O;P(e);const p=e.$$={fragment:null,ctx:null,props:l,update:t,not_equal:s,bound:r(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(u?u.$$.context:n.context||[]),callbacks:r(),dirty:c,skip_bound:!1};let f=!1;if(p.ctx=i?i(e,n.props||{},(t,n,...r)=>{const o=r.length?r[0]:n;return p.ctx&&s(p.ctx[t],p.ctx[t]=o)&&(!p.skip_bound&&p.bound[t]&&p.bound[t](o),f&&function(t,e){-1===t.$$.dirty[0]&&(L.push(t),B(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const ft=[];function dt(t,e){return{subscribe:gt(t,e).subscribe}}function gt(e,n=t){let r;const o=[];function i(t){if(a(e,t)&&(e=t,r)){const t=!ft.length;for(let t=0;t{const t=o.indexOf(l);-1!==t&&o.splice(t,1),0===o.length&&(r(),r=null)}}}}function mt(e,n,r){const a=!Array.isArray(e),l=a?[e]:e,c=n.length<2;return dt(r,e=>{let r=!1;const u=[];let p=0,f=t;const d=()=>{if(p)return;f();const r=n(a?u[0]:u,e);c?e(r):f=i(r)?r:t},g=l.map((t,e)=>s(t,t=>{u[e]=t,p&=~(1<{p|=1<{ct(t,1)}),K()}a?(n=new a(s()),n.$on("routeEvent",t[7]),st(n.$$.fragment),tt(n.$$.fragment,1),lt(n,r.parentNode,r)):n=null}else a&&n.$set(o)},i(t){o||(n&&tt(n.$$.fragment,t),o=!0)},o(t){n&&et(n.$$.fragment,t),o=!1},d(t){t&&m(r),n&&ct(n,t)}}}function yt(t){let n,r,o;const i=[{params:t[1]},t[2]];var a=t[0];function s(t){let n={};for(let t=0;t{ct(t,1)}),K()}a?(n=new a(s()),n.$on("routeEvent",t[6]),st(n.$$.fragment),tt(n.$$.fragment,1),lt(n,r.parentNode,r)):n=null}else a&&n.$set(o)},i(t){o||(n&&tt(n.$$.fragment,t),o=!0)},o(t){n&&et(n.$$.fragment,t),o=!1},d(t){t&&m(r),n&&ct(n,t)}}}function vt(t){let e,n,r,o;const i=[yt,ht],a=[];function s(t,e){return t[1]?0:1}return e=s(t),n=a[e]=i[e](t),{c(){n.c(),r=$()},m(t,n){a[e].m(t,n),g(t,r,n),o=!0},p(t,[o]){let l=e;e=s(t),e===l?a[e].p(t,o):(Z(),et(a[l],1,1,()=>{a[l]=null}),K(),n=a[e],n?n.p(t,o):(n=a[e]=i[e](t),n.c()),tt(n,1),n.m(r.parentNode,r))},i(t){o||(tt(n),o=!0)},o(t){et(n),o=!1},d(t){a[e].d(t),t&&m(r)}}}function bt(){const t=window.location.href.indexOf("#/");let e=t>-1?window.location.href.substr(t+1):"/";const n=e.indexOf("?");let r="";return n>-1&&(r=e.substr(n+1),e=e.substr(0,n)),{location:e,querystring:r}}const wt=dt(null,(function(t){t(bt());const e=()=>{t(bt())};return window.addEventListener("hashchange",e,!1),function(){window.removeEventListener("hashchange",e,!1)}})),$t=mt(wt,t=>t.location),xt=mt(wt,t=>t.querystring);async function St(t){if(!t||t.length<1||"/"!=t.charAt(0)&&0!==t.indexOf("#/"))throw Error("Invalid parameter location");await H();const e=("#"==t.charAt(0)?"":"#")+t;try{window.history.replaceState(void 0,void 0,e)}catch(t){console.warn("Caught exception while replacing the current page. If you're running this in the Svelte REPL, please note that the `replace` method might not work in this environment.")}window.dispatchEvent(new Event("hashchange"))}function kt(t,e){if(!t||!t.tagName||"a"!=t.tagName.toLowerCase())throw Error('Action "link" can only be used with tags');return At(t,e||t.getAttribute("href")),{update(e){At(t,e)}}}function At(t,e){if(!e||e.length<1||"/"!=e.charAt(0))throw Error('Invalid value for "href" attribute: '+e);t.setAttribute("href","#"+e),t.addEventListener("click",zt)}function zt(t){t.preventDefault();const e=t.currentTarget.getAttribute("href");history.replaceState({scrollX:window.scrollX,scrollY:window.scrollY},void 0,void 0),window.location.hash=e}function Et(t,e,n){let{routes:r={}}=e,{prefix:o=""}=e,{restoreScrollState:i=!1}=e;class a{constructor(t,e){if(!e||"function"!=typeof e&&("object"!=typeof e||!0!==e._sveltesparouter))throw Error("Invalid component object");if(!t||"string"==typeof t&&(t.length<1||"/"!=t.charAt(0)&&"*"!=t.charAt(0))||"object"==typeof t&&!(t instanceof RegExp))throw Error('Invalid value for "path" argument - strings must start with / or *');const{pattern:n,keys:r}=function(t,e){if(t instanceof RegExp)return{keys:!1,pattern:t};var n,r,o,i,a=[],s="",l=t.split("/");for(l[0]||l.shift();o=l.shift();)"*"===(n=o[0])?(a.push("wild"),s+="/(.*)"):":"===n?(r=o.indexOf("?",1),i=o.indexOf(".",1),a.push(o.substring(1,~r?r:~i?i:o.length)),s+=~r&&!~i?"(?:/([^/]+?))?":"/([^/]+?)",~i&&(s+=(~r?"?":"")+"\\"+o.substring(i))):s+="/"+o;return{keys:a,pattern:new RegExp("^"+s+(e?"(?=$|/)":"/?$"),"i")}}(t);this.path=t,"object"==typeof e&&!0===e._sveltesparouter?(this.component=e.component,this.conditions=e.conditions||[],this.userData=e.userData,this.props=e.props||{}):(this.component=()=>Promise.resolve(e),this.conditions=[],this.props={}),this._pattern=n,this._keys=r}match(t){if(o)if("string"==typeof o){if(!t.startsWith(o))return null;t=t.substr(o.length)||"/"}else if(o instanceof RegExp){const e=t.match(o);if(!e||!e[0])return null;t=t.substr(e[0].length)||"/"}const e=this._pattern.exec(t);if(null===e)return null;if(!1===this._keys)return e;const n={};let r=0;for(;r{s.push(new a(e,t))}):Object.keys(r).forEach(t=>{s.push(new a(t,r[t]))});let l=null,c=null,u={};const p=T();async function f(t,e){await H(),p(t,e)}let d=null;i&&(window.addEventListener("popstate",t=>{d=t.state&&t.state.scrollY?t.state:null}),M(()=>{d?window.scrollTo(d.scrollX,d.scrollY):window.scrollTo(0,0)}));let g=null,m=null;return wt.subscribe(async t=>{g=t;let e=0;for(;e{"routes"in t&&n(3,r=t.routes),"prefix"in t&&n(4,o=t.prefix),"restoreScrollState"in t&&n(5,i=t.restoreScrollState)},t.$$.update=()=>{32&t.$$.dirty&&(history.scrollRestoration=i?"manual":"auto")},[l,c,u,r,o,i,function(e){_(t,e)},function(e){_(t,e)}]}class jt extends pt{constructor(t){super(),ut(this,t,Et,vt,a,{routes:3,prefix:4,restoreScrollState:5})}}var Ot="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Pt(t){if(t.__esModule)return t;var e=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(t).forEach((function(n){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})})),e}function Ct(t){var e={exports:{}};return t(e,e.exports),e.exports}var Ft=Ot.Symbol,Mt="Function.prototype.bind called on incompatible ",Tt=Array.prototype.slice,_t=Object.prototype.toString,Lt=Function.prototype.bind||function(t){var e=this;if("function"!=typeof e||"[object Function]"!==_t.call(e))throw new TypeError(Mt+e);for(var n,r=Tt.call(arguments,1),o=function(){if(this instanceof n){var o=e.apply(this,r.concat(Tt.call(arguments)));return Object(o)===o?o:this}return e.apply(t,r.concat(Tt.call(arguments)))},i=Math.max(0,e.length-r.length),a=[],s=0;s1&&"boolean"!=typeof e)throw new Gt('"allowMissing" argument must be a boolean');var n=re(t),r=n.length>0?n[0]:"",o=oe("%"+r+"%",e),i=o.name,a=o.value,s=!1,l=o.alias;l&&(r=l[0],Zt(n,Yt([0,1],l)));for(var c=1,u=!0;c=n.length){var g=Bt(a,p);a=(u=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:a[p]}else u=It(a,p),a=a[p];u&&!s&&(Jt[i]=a)}}return a},ae=Ct((function(t){var e=ie("%Function.prototype.apply%"),n=ie("%Function.prototype.call%"),r=ie("%Reflect.apply%",!0)||Lt.call(n,e),o=ie("%Object.getOwnPropertyDescriptor%",!0),i=ie("%Object.defineProperty%",!0),a=ie("%Math.max%");if(i)try{i({},"a",{value:1})}catch(t){i=null}t.exports=function(t){var e=r(Lt,n,arguments);if(o&&i){var s=o(e,"length");s.configurable&&i(e,"length",{value:1+a(0,t.length-(arguments.length-1))})}return e};var s=function(){return r(Lt,e,arguments)};i?i(t.exports,"apply",{value:s}):t.exports.apply=s})),se=ae(ie("String.prototype.indexOf")),le=function(t,e){var n=ie(t,!!e);return"function"==typeof n&&se(t,".prototype.")>-1?ae(n):n},ce=Pt(Object.freeze({__proto__:null,default:{}})),ue="function"==typeof Map&&Map.prototype,pe=Object.getOwnPropertyDescriptor&&ue?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,fe=ue&&pe&&"function"==typeof pe.get?pe.get:null,de=ue&&Map.prototype.forEach,ge="function"==typeof Set&&Set.prototype,me=Object.getOwnPropertyDescriptor&&ge?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,he=ge&&me&&"function"==typeof me.get?me.get:null,ye=ge&&Set.prototype.forEach,ve="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,be="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,we=Boolean.prototype.valueOf,$e=Object.prototype.toString,xe=Function.prototype.toString,Se=String.prototype.match,ke="function"==typeof BigInt?BigInt.prototype.valueOf:null,Ae=Object.getOwnPropertySymbols,ze="function"==typeof Symbol?Symbol.prototype.toString:null,Ee=Object.prototype.propertyIsEnumerable,je=ce.custom,Oe=je&&Te(je)?je:null,Pe=function t(e,n,r,o){var i=n||{};if(Le(i,"quoteStyle")&&"single"!==i.quoteStyle&&"double"!==i.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Le(i,"maxStringLength")&&("number"==typeof i.maxStringLength?i.maxStringLength<0&&i.maxStringLength!==1/0:null!==i.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=!Le(i,"customInspect")||i.customInspect;if("boolean"!=typeof a)throw new TypeError('option "customInspect", if provided, must be `true` or `false`');if(Le(i,"indent")&&null!==i.indent&&"\t"!==i.indent&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return function t(e,n){if(e.length>n.maxStringLength){var r=e.length-n.maxStringLength,o="... "+r+" more character"+(r>1?"s":"");return t(e.slice(0,n.maxStringLength),n)+o}return Ce(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,Ne),"single",n)}(e,i);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var s=void 0===i.depth?5:i.depth;if(void 0===r&&(r=0),r>=s&&s>0&&"object"==typeof e)return Me(e)?"[Array]":"[Object]";var l=function(t,e){var n;if("\t"===t.indent)n="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;n=Array(t.indent+1).join(" ")}return{base:n,prev:Array(e+1).join(n)}}(i,r);if(void 0===o)o=[];else if(De(o,e)>=0)return"[Circular]";function c(e,n,a){if(n&&(o=o.slice()).push(n),a){var s={depth:i.depth};return Le(i,"quoteStyle")&&(s.quoteStyle=i.quoteStyle),t(e,s,r+1,o)}return t(e,i,r+1,o)}if("function"==typeof e){var u=function(t){if(t.name)return t.name;var e=Se.call(xe.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),p=Ue(e,c);return"[Function"+(u?": "+u:" (anonymous)")+"]"+(p.length>0?" { "+p.join(", ")+" }":"")}if(Te(e)){var f=ze.call(e);return"object"==typeof e?Ge(f):f}if(function(t){if(!t||"object"!=typeof t)return!1;if("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)return!0;return"string"==typeof t.nodeName&&"function"==typeof t.getAttribute}(e)){for(var d="<"+String(e.nodeName).toLowerCase(),g=e.attributes||[],m=0;m"}if(Me(e)){if(0===e.length)return"[]";var h=Ue(e,c);return l&&!function(t){for(var e=0;e=0)return!1;return!0}(h)?"["+He(h,l)+"]":"[ "+h.join(", ")+" ]"}if(function(t){return"[object Error]"===Ie(t)}(e)){var y=Ue(e,c);return 0===y.length?"["+String(e)+"]":"{ ["+String(e)+"] "+y.join(", ")+" }"}if("object"==typeof e&&a){if(Oe&&"function"==typeof e[Oe])return e[Oe]();if("function"==typeof e.inspect)return e.inspect()}if(function(t){if(!fe||!t||"object"!=typeof t)return!1;try{fe.call(t);try{he.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var v=[];return de.call(e,(function(t,n){v.push(c(n,e,!0)+" => "+c(t,e))})),Be("Map",fe.call(e),v,l)}if(function(t){if(!he||!t||"object"!=typeof t)return!1;try{he.call(t);try{fe.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var b=[];return ye.call(e,(function(t){b.push(c(t,e))})),Be("Set",he.call(e),b,l)}if(function(t){if(!ve||!t||"object"!=typeof t)return!1;try{ve.call(t,ve);try{be.call(t,be)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return Re("WeakMap");if(function(t){if(!be||!t||"object"!=typeof t)return!1;try{be.call(t,be);try{ve.call(t,ve)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return Re("WeakSet");if(function(t){return"[object Number]"===Ie(t)}(e))return Ge(c(Number(e)));if(function(t){return"[object BigInt]"===Ie(t)}(e))return Ge(c(ke.call(e)));if(function(t){return"[object Boolean]"===Ie(t)}(e))return Ge(we.call(e));if(function(t){return"[object String]"===Ie(t)}(e))return Ge(c(String(e)));if(!function(t){return"[object Date]"===Ie(t)}(e)&&!function(t){return"[object RegExp]"===Ie(t)}(e)){var w=Ue(e,c);return 0===w.length?"{}":l?"{"+He(w,l)+"}":"{ "+w.join(", ")+" }"}return String(e)};function Ce(t,e,n){var r="double"===(n.quoteStyle||e)?'"':"'";return r+t+r}function Fe(t){return String(t).replace(/"/g,""")}function Me(t){return"[object Array]"===Ie(t)}function Te(t){return"[object Symbol]"===Ie(t)}var _e=Object.prototype.hasOwnProperty||function(t){return t in this};function Le(t,e){return _e.call(t,e)}function Ie(t){return $e.call(t)}function De(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0,r=t.length;n1;){var e=t.pop(),n=e.obj[e.prop];if(ln(n)){for(var r=[],o=0;o=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||o===an.RFC1738&&(40===l||41===l)?a+=i.charAt(s):l<128?a+=cn[l]:l<2048?a+=cn[192|l>>6]+cn[128|63&l]:l<55296||l>=57344?a+=cn[224|l>>12]+cn[128|l>>6&63]+cn[128|63&l]:(s+=1,l=65536+((1023&l)<<10|1023&i.charCodeAt(s)),a+=cn[240|l>>18]+cn[128|l>>12&63]+cn[128|l>>6&63]+cn[128|63&l])}return a},isBuffer:function(t){return!(!t||"object"!=typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(ln(t)){for(var n=[],r=0;r0?y.join(",")||null:void 0}];else if(gn(s))v=s;else{var w=Object.keys(y);v=l?w.sort(l):w}for(var $=0;$-1?t.split(","):t},zn=function(t,e,n,r){if(t){var o=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,a=n.depth>0&&/(\[[^[\]]*])/.exec(o),s=a?o.slice(0,a.index):o,l=[];if(s){if(!n.plainObjects&&$n.call(Object.prototype,s)&&!n.allowPrototypes)return;l.push(s)}for(var c=0;n.depth>0&&null!==(a=i.exec(o))&&c=0;--i){var a,s=t[i];if("[]"===s&&n.parseArrays)a=[].concat(o);else{a=n.plainObjects?Object.create(null):{};var l="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=parseInt(l,10);n.parseArrays||""!==l?!isNaN(c)&&s!==l&&String(c)===l&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(a=[])[c]=o:a[l]=o:a={0:o}}o=a}return o}(l,e,n,r)}},En=function(t,e){var n=function(t){if(!t)return Sn;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?Sn.charset:t.charset;return{allowDots:void 0===t.allowDots?Sn.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:Sn.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:Sn.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:Sn.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:Sn.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:Sn.comma,decoder:"function"==typeof t.decoder?t.decoder:Sn.decoder,delimiter:"string"==typeof t.delimiter||pn.isRegExp(t.delimiter)?t.delimiter:Sn.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:Sn.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:Sn.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:Sn.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:Sn.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:Sn.strictNullHandling}}(e);if(""===t||null==t)return n.plainObjects?Object.create(null):{};for(var r="string"==typeof t?function(t,e){var n,r={},o=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,i=e.parameterLimit===1/0?void 0:e.parameterLimit,a=o.split(e.delimiter,i),s=-1,l=e.charset;if(e.charsetSentinel)for(n=0;n-1&&(u=xn(u)?[u]:u),$n.call(r,c)?r[c]=pn.combine(r[c],u):r[c]=u}return r}(t,n):t,o=n.plainObjects?Object.create(null):{},i=Object.keys(r),a=0;a0?f+p:""};function On(t){let n,r,o,i,a,s,l;const p=t[12].default,f=function(t,e,n,r){if(t){const o=c(t,e,n,r);return t[0](o)}}(p,t,t[11],null);let h=[{class:s=t[5]+" "+t[1]},t[6]],v={};for(let t=0;t{h&&Prism.plugins.NormalizeWhitespace.setDefaults(y)}),M(async t=>{a&&""!==a.innerText&&r(7,d=a.innerText),await H(),Prism.highlightAllUnder(s)}),t.$$set=t=>{n=e(e({},n),p(t)),r(6,l=f(n,i)),"code"in t&&r(7,d=t.code),"language"in t&&r(0,g=t.language),"showLineNumbers"in t&&r(8,m=t.showLineNumbers),"normalizeWhiteSpace"in t&&r(9,h=t.normalizeWhiteSpace),"normalizeWhiteSpaceConfig"in t&&r(10,y=t.normalizeWhiteSpaceConfig),"classes"in t&&r(1,v=t.classes),"$$scope"in t&&r(11,u=t.$$scope)},t.$$.update=()=>{769&t.$$.dirty&&r(5,o=`language-${g} ${m?"line-numbers":""} ${!0===h?"":"no-whitespace-normalization"}`),129&t.$$.dirty&&"undefined"!=typeof Prism&&d&&r(4,b=Prism.highlight(d,Prism.languages[g],g))},[g,v,a,s,b,o,l,d,m,h,y,u,c,function(t){I[t?"unshift":"push"](()=>{a=t,r(2,a)})},function(t){I[t?"unshift":"push"](()=>{s=t,r(3,s)})}]}Ct((function(t){var e=function(t){var e=/\blang(?:uage)?-([\w-]+)\b/i,n=0,r={manual:t.Prism&&t.Prism.manual,disableWorkerMessageHandler:t.Prism&&t.Prism.disableWorkerMessageHandler,util:{encode:function t(e){return e instanceof o?new o(e.type,t(e.content),e.alias):Array.isArray(e)?e.map(t):e.replace(/&/g,"&").replace(/=p.reach);S+=x.value.length,x=x.next){var k=x.value;if(n.length>e.length)return;if(!(k instanceof o)){var A,z=1;if(v){if(!(A=i($,S,e,y)))break;var E=A.index,j=A.index+A[0].length,O=S;for(O+=x.value.length;E>=O;)O+=(x=x.next).value.length;if(S=O-=x.value.length,x.value instanceof o)continue;for(var P=x;P!==n.tail&&(Op.reach&&(p.reach=T);var _=x.prev;F&&(_=s(n,_,F),S+=F.length),l(n,_,z),x=s(n,_,new o(f,h?r.tokenize(C,h):C,b,C)),M&&s(n,x,M),z>1&&t(e,n,a,x.prev,S,{cause:f+","+g,reach:T})}}}}}(t,u,e,u.head,0),function(t){var e=[],n=t.head.next;for(;n!==t.tail;)e.push(n.value),n=n.next;return e}(u)},hooks:{all:{},add:function(t,e){var n=r.hooks.all;n[t]=n[t]||[],n[t].push(e)},run:function(t,e){var n=r.hooks.all[t];if(n&&n.length)for(var o,i=0;o=n[i++];)o(e)}},Token:o};function o(t,e,n,r){this.type=t,this.content=e,this.alias=n,this.length=0|(r||"").length}function i(t,e,n,r){t.lastIndex=e;var o=t.exec(n);if(o&&r&&o[1]){var i=o[1].length;o.index+=i,o[0]=o[0].slice(i)}return o}function a(){var t={value:null,prev:null,next:null},e={value:null,prev:t,next:null};t.next=e,this.head=t,this.tail=e,this.length=0}function s(t,e,n){var r=e.next,o={value:n,prev:e,next:r};return e.next=o,r.prev=o,t.length++,o}function l(t,e,n){for(var r=e.next,o=0;o"+i.content+""},!t.document)return t.addEventListener?(r.disableWorkerMessageHandler||t.addEventListener("message",(function(e){var n=JSON.parse(e.data),o=n.language,i=n.code,a=n.immediateClose;t.postMessage(r.highlight(i,r.languages[o],o)),a&&t.close()}),!1),r):r;var c=r.util.currentScript();function u(){r.manual||r.highlightAll()}if(c&&(r.filename=c.src,c.hasAttribute("data-manual")&&(r.manual=!0)),!r.manual){var p=document.readyState;"loading"===p||"interactive"===p&&c&&c.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return r}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{}); /** * Prism: Lightweight, robust, elegant syntax highlighting * @@ -6,4 +6,4 @@ * @author Lea Verou * @namespace * @public - */t.exports&&(t.exports=e),void 0!==Ot&&(Ot.Prism=e),e.languages.markup={comment://,prolog:/<\?[\s\S]+?\?>/,doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/,name:/[^\s<>'"]+/}},cdata://i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",(function(t){"entity"===t.type&&(t.attributes.title=t.content.replace(/&/,"&"))})),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,n){var r={};r["language-"+n]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[n]},r.cdata=/^$/i;var o={"included-cdata":{pattern://i,inside:r}};o["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var i={};i[t]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return t})),"i"),lookbehind:!0,greedy:!0,inside:o},e.languages.insertBefore("markup","cdata",i)}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml,function(t){var e=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;t.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+e.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+e.source+"$"),alias:"url"}}},selector:RegExp("[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+e.source+")*(?=\\s*\\{)"),string:{pattern:e,greedy:!0},property:/(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,important:/!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css;var n=t.languages.markup;n&&(n.tag.addInlined("style","css"),t.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/(^|["'\s])style\s*=\s*(?:"[^"]*"|'[^']*')/i,lookbehind:!0,inside:{"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{style:{pattern:/(["'])[\s\S]+(?=["']$)/,lookbehind:!0,alias:"language-css",inside:t.languages.css},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},"attr-name":/^style/i}}},n.tag))}(e),e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},e.languages.javascript=e.languages.extend("clike",{"class-name":[e.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\s*)(?:catch|finally)\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|(?:get|set)(?=\s*[\[$\w\xA0-\uFFFF])|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-flags":/[a-z]+$/,"regex-delimiter":/^\/|\/$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}|(?!\${)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\${|}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}}}),e.languages.markup&&e.languages.markup.tag.addInlined("script","javascript"),e.languages.js=e.languages.javascript,function(){if("undefined"!=typeof self&&self.Prism&&self.document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var t=window.Prism,e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},n='pre[data-src]:not([data-src-status="loaded"]):not([data-src-status="loading"])',r=/\blang(?:uage)?-([\w-]+)\b/i;t.hooks.add("before-highlightall",(function(t){t.selector+=", "+n})),t.hooks.add("before-sanity-check",(function(r){var o=r.element;if(o.matches(n)){r.code="",o.setAttribute("data-src-status","loading");var a=o.appendChild(document.createElement("CODE"));a.textContent="Loading…";var s=o.getAttribute("data-src"),l=r.language;if("none"===l){var c=(/\.(\w+)$/.exec(s)||[,"none"])[1];l=e[c]||c}i(a,l),i(o,l);var u=t.plugins.autoloader;u&&u.loadLanguages(l);var p=new XMLHttpRequest;p.open("GET",s,!0),p.onreadystatechange=function(){var e,n;4==p.readyState&&(p.status<400&&p.responseText?(o.setAttribute("data-src-status","loaded"),a.textContent=p.responseText,t.highlightElement(a)):(o.setAttribute("data-src-status","failed"),p.status>=400?a.textContent=(e=p.status,n=p.statusText,"✖ Error "+e+" while fetching file: "+n):a.textContent="✖ Error: File does not exist or is empty"))},p.send(null)}})),t.plugins.fileHighlight={highlight:function(e){for(var r,o=(e||document).querySelectorAll(n),i=0;r=o[i++];)t.highlightElement(r)}};var o=!1;t.fileHighlight=function(){o||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),o=!0),t.plugins.fileHighlight.highlight.apply(this,arguments)}}function i(t,e){var n=t.className;n=n.replace(r," ")+" language-"+e,t.className=n.replace(/\s+/g," ").trim()}}()})),function(){if("undefined"!=typeof self&&self.Prism&&self.document){var t=/\n(?!$)/g,e=Prism.plugins.lineNumbers={getLine:function(t,e){if("PRE"===t.tagName&&t.classList.contains("line-numbers")){var n=t.querySelector(".line-numbers-rows");if(n){var r=parseInt(t.getAttribute("data-start"),10)||1,o=r+(n.children.length-1);eo&&(e=o);var i=e-r;return n.children[i]}}},resize:function(t){o([t])},assumeViewportIndependence:!0},n=function(t){return t?window.getComputedStyle?getComputedStyle(t):t.currentStyle||null:null},r=void 0;window.addEventListener("resize",(function(){e.assumeViewportIndependence&&r===window.innerWidth||(r=window.innerWidth,o(Array.prototype.slice.call(document.querySelectorAll("pre.line-numbers"))))})),Prism.hooks.add("complete",(function(e){if(e.code){var n=e.element,r=n.parentNode;if(r&&/pre/i.test(r.nodeName)&&!n.querySelector(".line-numbers-rows")&&Prism.util.isActive(n,"line-numbers")){n.classList.remove("line-numbers"),r.classList.add("line-numbers");var i,a=e.code.match(t),s=a?a.length+1:1,l=new Array(s+1).join("");(i=document.createElement("span")).setAttribute("aria-hidden","true"),i.className="line-numbers-rows",i.innerHTML=l,r.hasAttribute("data-start")&&(r.style.counterReset="linenumber "+(parseInt(r.getAttribute("data-start"),10)-1)),e.element.appendChild(i),o([r]),Prism.hooks.run("line-numbers",e)}}})),Prism.hooks.add("line-numbers",(function(t){t.plugins=t.plugins||{},t.plugins.lineNumbers=!0}))}function o(e){if(0!=(e=e.filter((function(t){var e=n(t)["white-space"];return"pre-wrap"===e||"pre-line"===e}))).length){var r=e.map((function(e){var n=e.querySelector("code"),r=e.querySelector(".line-numbers-rows");if(n&&r){var o=e.querySelector(".line-numbers-sizer"),i=n.textContent.split(t);o||((o=document.createElement("span")).className="line-numbers-sizer",n.appendChild(o)),o.innerHTML="0",o.style.display="block";var a=o.getBoundingClientRect().height;return o.innerHTML="",{element:e,lines:i,lineHeights:[],oneLinerHeight:a,sizer:o}}})).filter(Boolean);r.forEach((function(t){var e=t.sizer,n=t.lines,r=t.lineHeights,o=t.oneLinerHeight;r[n.length-1]=void 0,n.forEach((function(t,n){if(t&&t.length>1){var i=e.appendChild(document.createElement("span"));i.style.display="block",i.textContent=t}else r[n]=o}))})),r.forEach((function(t){for(var e=t.sizer,n=t.lineHeights,r=0,o=0;oe&&(i[s]="\n"+i[s],a=l)}n[o]=i.join("")}return n.join("\n")}},t.exports&&(t.exports=n),"undefined"!=typeof Prism&&(Prism.plugins.NormalizeWhitespace=new n({"remove-trailing":!0,"remove-indent":!0,"left-trim":!0,"right-trim":!0}),Prism.hooks.add("before-sanity-check",(function(t){var e=Prism.plugins.NormalizeWhitespace;if((!t.settings||!1!==t.settings["whitespace-normalization"])&&Prism.util.isActive(t.element,"whitespace-normalization",!0))if(t.element&&t.element.parentNode||!t.code){var n=t.element.parentNode;if(t.code&&n&&"pre"===n.nodeName.toLowerCase()){for(var r=n.childNodes,o="",i="",a=!1,s=0;s1&&(n=Math.round(n/x)*x),n<=r.minSize+r.snapOffset+this._b?n=r.minSize+this._b:n>=this.size-(o.minSize+o.snapOffset+this._c)&&(n=this.size-(o.minSize+this._c)),n>=r.maxSize-r.snapOffset+this._b?n=r.maxSize+this._b:n<=this.size-(o.maxSize-o.snapOffset+this._c)&&(n=this.size-(o.maxSize+this._c)),C.call(this,n),Nn(e,"onDrag",_n)(O()))}function M(){var t=s[this.a].element,e=s[this.b].element,r=t.getBoundingClientRect(),a=e.getBoundingClientRect();this.size=r[n]+a[n]+this._b+this._c,this.start=r[o],this.end=r[i]}function T(t){var e=function(t){if(!getComputedStyle)return null;var e=getComputedStyle(t);if(!e)return null;var n=t[a];return 0===n?null:n-="horizontal"===S?parseFloat(e.paddingLeft)+parseFloat(e.paddingRight):parseFloat(e.paddingTop)+parseFloat(e.paddingBottom)}(c);if(null===e)return t;if(g.reduce((function(t,e){return t+e}),0)>e)return t;var n=0,r=[],o=t.map((function(o,i){var a=e*o/100,s=Gn(v,0===i,i===t.length-1,b),l=g[i]+s;return a0&&r[o]-n>0){var a=Math.min(n,r[o]-n);n-=a,i=t-a}return i/e*100}))}function _(){var t=s[this.a].element,n=s[this.b].element;this.dragging&&Nn(e,"onDragEnd",_n)(O()),this.dragging=!1,Fn.removeEventListener("mouseup",this.stop),Fn.removeEventListener("touchend",this.stop),Fn.removeEventListener("touchcancel",this.stop),Fn.removeEventListener("mousemove",this.move),Fn.removeEventListener("touchmove",this.move),this.stop=null,this.move=null,t.removeEventListener("selectstart",_n),t.removeEventListener("dragstart",_n),n.removeEventListener("selectstart",_n),n.removeEventListener("dragstart",_n),t.style.userSelect="",t.style.webkitUserSelect="",t.style.MozUserSelect="",t.style.pointerEvents="",n.style.userSelect="",n.style.webkitUserSelect="",n.style.MozUserSelect="",n.style.pointerEvents="",this.gutter.style.cursor="",this.parent.style.cursor="",Tn.body.style.cursor=""}function L(t){if(!("button"in t)||0===t.button){var n=s[this.a].element,r=s[this.b].element;this.dragging||Nn(e,"onDragStart",_n)(O()),t.preventDefault(),this.dragging=!0,this.move=F.bind(this),this.stop=_.bind(this),Fn.addEventListener("mouseup",this.stop),Fn.addEventListener("touchend",this.stop),Fn.addEventListener("touchcancel",this.stop),Fn.addEventListener("mousemove",this.move),Fn.addEventListener("touchmove",this.move),n.addEventListener("selectstart",_n),n.addEventListener("dragstart",_n),r.addEventListener("selectstart",_n),r.addEventListener("dragstart",_n),n.style.userSelect="none",n.style.webkitUserSelect="none",n.style.MozUserSelect="none",n.style.pointerEvents="none",r.style.userSelect="none",r.style.webkitUserSelect="none",r.style.MozUserSelect="none",r.style.pointerEvents="none",this.gutter.style.cursor=k,this.parent.style.cursor=k,Tn.body.style.cursor=k,M.call(this),this.dragOffset=P(t)-this.end}}"horizontal"===S?(n="width",r="clientX",o="left",i="right",a="clientWidth"):"vertical"===S&&(n="height",r="clientY",o="top",i="bottom",a="clientHeight"),f=T(f);var I=[];function D(t){var e=t.i===I.length,n=e?I[t.i-1]:I[t.i];M.call(n);var r=e?n.size-t.minSize-n._c:t.minSize+n._b;C.call(n,r)}return(s=l.map((function(t,e){var r,o={element:Dn(t),size:f[e],minSize:g[e],maxSize:h[e],snapOffset:$[e],i:e};if(e>0&&((r={a:e-1,b:e,dragging:!1,direction:S,parent:c})._b=Gn(v,e-1==0,!1,b),r._c=Gn(v,!1,e===l.length-1,b),"row-reverse"===p||"column-reverse"===p)){var i=r.a;r.a=r.b,r.b=i}if(e>0){var a=A(e,S,o.element);!function(t,e,r){var o=E(n,e,r);Object.keys(o).forEach((function(e){t.style[e]=o[e]}))}(a,v,e),r._a=L.bind(r),a.addEventListener("mousedown",r._a),a.addEventListener("touchstart",r._a),c.insertBefore(a,o.element),r.gutter=a}return j(o.element,o.size,Gn(v,0===e,e===l.length-1,b),e),e>0&&I.push(r),o}))).forEach((function(t){var e=t.element.getBoundingClientRect()[n];e0){var r=I[n-1],o=s[r.a],i=s[r.b];o.size=e[n-1],i.size=t,j(o.element,o.size,r._b,o.i),j(i.element,i.size,r._c,i.i)}}))},getSizes:O,collapse:function(t){D(s[t])},destroy:function(t,e){I.forEach((function(r){if(!0!==e?r.parent.removeChild(r.gutter):(r.gutter.removeEventListener("mousedown",r._a),r.gutter.removeEventListener("touchstart",r._a)),!0!==t){var o=z(n,r.a.size,r._b);Object.keys(o).forEach((function(t){s[r.a].element.style[t]="",s[r.b].element.style[t]=""}))}}))},parent:c,pairs:I}};function Wn(t,e,n){const r=t.slice();return r[5]=e[n],r[7]=n,r}function Vn(t){let e,n,r,o,a,s,l,c,u,p,f,h,v,$,k=t[5].title+"";return{c(){e=y("label"),n=y("input"),l=w(),c=y("div"),u=y("span"),p=b(k),h=w(),S(n,"type","radio"),S(n,"name",t[1]),n.value=r=t[5].value,S(n,"class","h-4 w-4 mt-0.5 cursor-pointer text-indigo-600 border-gray-300 focus:ring-indigo-500"),S(n,"aria-labelledby",o=t[1]+"-"+t[7]+"-label"),S(n,"aria-describedby",a=t[1]+"-"+t[7]+"-description"),n.checked=s=t[0]===t[5].value,S(u,"id",f=t[1]+"-"+t[7]+"-label"),S(u,"class","block text-sm font-medium"),j(u,"text-indigo-900",t[0]===t[5].value),j(u,"text-gray-900",t[0]!==t[5].value),S(c,"class","ml-3 flex flex-col"),S(e,"class","relative border flex cursor-pointer w-full"),j(e,"p-3",!t[3]),j(e,"py-2",t[3]),j(e,"px-3",t[3]),j(e,"rounded-tl-md",0===t[7]),j(e,"rounded-bl-md",0===t[7]),j(e,"rounded-tr-md",t[7]===t[2].length-1),j(e,"rounded-br-md",t[7]===t[2].length-1),j(e,"bg-indigo-50",t[0]===t[5].value),j(e,"border-indigo-200",t[0]===t[5].value),j(e,"z-10",t[0]===t[5].value),j(e,"border-gray-200",t[0]!==t[5].value)},m(r,o){g(r,e,o),d(e,n),d(e,l),d(e,c),d(c,u),d(u,p),d(e,h),v||($=x(n,"change",(function(){i(t[4](t[5].value))&&t[4](t[5].value).apply(this,arguments)})),v=!0)},p(i,l){t=i,2&l&&S(n,"name",t[1]),4&l&&r!==(r=t[5].value)&&(n.value=r),2&l&&o!==(o=t[1]+"-"+t[7]+"-label")&&S(n,"aria-labelledby",o),2&l&&a!==(a=t[1]+"-"+t[7]+"-description")&&S(n,"aria-describedby",a),5&l&&s!==(s=t[0]===t[5].value)&&(n.checked=s),4&l&&k!==(k=t[5].title+"")&&z(p,k),2&l&&f!==(f=t[1]+"-"+t[7]+"-label")&&S(u,"id",f),5&l&&j(u,"text-indigo-900",t[0]===t[5].value),5&l&&j(u,"text-gray-900",t[0]!==t[5].value),8&l&&j(e,"p-3",!t[3]),8&l&&j(e,"py-2",t[3]),8&l&&j(e,"px-3",t[3]),4&l&&j(e,"rounded-tr-md",t[7]===t[2].length-1),4&l&&j(e,"rounded-br-md",t[7]===t[2].length-1),5&l&&j(e,"bg-indigo-50",t[0]===t[5].value),5&l&&j(e,"border-indigo-200",t[0]===t[5].value),5&l&&j(e,"z-10",t[0]===t[5].value),5&l&&j(e,"border-gray-200",t[0]!==t[5].value)},d(t){t&&m(e),v=!1,$()}}}function qn(e){let n,r=e[2],o=[];for(let t=0;t{"name"in t&&n(1,r=t.name),"value"in t&&n(0,o=t.value),"options"in t&&n(2,i=t.options),"sm"in t&&n(3,a=t.sm)},[o,r,i,a,t=>{n(0,o=t)}]}class Qn extends pt{constructor(t){super(),ut(this,t,Jn,qn,a,{name:1,value:0,options:2,sm:3})}}function Xn(e){let n,r,i,a,s,l,c,u,p;return{c(){n=y("div"),r=y("span"),r.innerHTML='',i=w(),a=y("input"),l=w(),c=y("span"),c.innerHTML='',S(r,"class","bg-indigo-50 hover:bg-indigo-100 border-indigo-200 z-10 rounded-tl-md rounded-bl-md relative border p-3 flex cursor-pointer"),S(a,"type","text"),S(a,"class","focus:ring-indigo-500 focus:border-indigo-500 focus:z-20 text-center border-gray-300 w-full px-3"),a.value=s=1e5===e[0]?"∞":e[0],S(c,"class","bg-indigo-50 hover:bg-indigo-100 border-indigo-200 z-10 rounded-tr-md rounded-br-md relative border p-3 flex cursor-pointer"),S(n,"class","bg-white rounded-md -space-x-px flex")},m(t,o){g(t,n,o),d(n,r),d(n,i),d(n,a),d(n,l),d(n,c),u||(p=[x(r,"click",e[1]),x(a,"change",e[3]),x(c,"click",e[2])],u=!0)},p(t,[e]){1&e&&s!==(s=1e5===t[0]?"∞":t[0])&&a.value!==s&&(a.value=s)},i:t,o:t,d(t){t&&m(n),u=!1,o(p)}}}function Yn(t,e,n){let{value:r}=e,{min:o=2}=e,{max:i=10}=e,{step:a=1}=e;const s=t=>Math.min(Math.max(t,o),i);return t.$$set=t=>{"value"in t&&n(0,r=t.value),"min"in t&&n(4,o=t.min),"max"in t&&n(5,i=t.max),"step"in t&&n(6,a=t.step)},[r,()=>{n(0,r=s(r-a))},()=>{n(0,r=s(r+a))},t=>{let e=parseInt(t.target.value,10);isNaN(e)?n(0,r=2):n(0,r=Math.max(Math.min(e,i),o))},o,i,a]}class Zn extends pt{constructor(t){super(),ut(this,t,Yn,Xn,a,{value:0,min:4,max:5,step:6})}}function Kn(e){let n,r;return{c(){n=v("svg"),r=v("path"),S(r,"stroke-linecap","round"),S(r,"stroke-linejoin","round"),S(r,"stroke-width","2"),S(r,"d","M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"),S(n,"xmlns","http://www.w3.org/2000/svg"),S(n,"fill","none"),S(n,"viewBox","0 0 24 24"),S(n,"stroke","currentColor"),S(n,"class","-ml-1 mr-3 h-5 w-5")},m(t,e){g(t,n,e),d(n,r)},p:t,i:t,o:t,d(t){t&&m(n)}}}class tr extends pt{constructor(t){super(),ut(this,t,null,Kn,a,{})}}function er(e){let n,r;return{c(){n=v("svg"),r=v("path"),S(r,"stroke-linecap","round"),S(r,"stroke-linejoin","round"),S(r,"stroke-width","2"),S(r,"d","M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"),S(n,"xmlns","http://www.w3.org/2000/svg"),S(n,"fill","none"),S(n,"viewBox","0 0 24 24"),S(n,"stroke","currentColor"),S(n,"class","-ml-1 mr-3 h-5 w-5")},m(t,e){g(t,n,e),d(n,r)},p:t,i:t,o:t,d(t){t&&m(n)}}}class nr extends pt{constructor(t){super(),ut(this,t,null,er,a,{})}}const{document:rr}=nt;function or(t,e,n){const r=t.slice();return r[41]=e[n],r}function ir(t,e){let n,r;return{key:t,first:null,c(){n=y("div"),S(n,"id",r=e[41].id),this.first=n},m(t,e){g(t,n,e)},p(t,o){e=t,512&o[0]&&r!==(r=e[41].id)&&S(n,"id",r)},d(t){t&&m(n)}}}function ar(t){let e,n,r;return e=new tr({}),{c(){st(e.$$.fragment),n=b(" Copy")},m(t,o){lt(e,t,o),g(t,n,o),r=!0},i(t){r||(tt(e.$$.fragment,t),r=!0)},o(t){et(e.$$.fragment,t),r=!1},d(t){ct(e,t),t&&m(n)}}}function sr(t){let e,n,r;return e=new nr({}),{c(){st(e.$$.fragment),n=b(" Copied")},m(t,o){lt(e,t,o),g(t,n,o),r=!0},i(t){r||(tt(e.$$.fragment,t),r=!0)},o(t){et(e.$$.fragment,t),r=!1},d(t){ct(e,t),t&&m(n)}}}function lr(t){let e,n;return e=new Cn({props:{language:"jsx",$$slots:{default:[ur]},$$scope:{ctx:t}}}),{c(){st(e.$$.fragment)},m(t,r){lt(e,t,r),n=!0},p(t,n){const r={};32768&n[0]|8192&n[1]&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){n||(tt(e.$$.fragment,t),n=!0)},o(t){et(e.$$.fragment,t),n=!1},d(t){ct(e,t)}}}function cr(t){let e,n;return e=new Cn({props:{language:"javascript",$$slots:{default:[pr]},$$scope:{ctx:t}}}),{c(){st(e.$$.fragment)},m(t,r){lt(e,t,r),n=!0},p(t,n){const r={};16384&n[0]|8192&n[1]&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){n||(tt(e.$$.fragment,t),n=!0)},o(t){et(e.$$.fragment,t),n=!1},d(t){ct(e,t)}}}function ur(t){let e;return{c(){e=b(t[15])},m(t,n){g(t,e,n)},p(t,n){32768&n[0]&&z(e,t[15])},d(t){t&&m(e)}}}function pr(t){let e;return{c(){e=b(t[14])},m(t,n){g(t,e,n)},p(t,n){16384&n[0]&&z(e,t[14])},d(t){t&&m(e)}}}function fr(t){let e,n,r,o,i,a,s,l,c,u,p;const f=[gr,dr],h=[];function v(t,e){return t[12]?0:1}return i=v(t),a=h[i]=f[i](t),l=new Cn({props:{language:"html",$$slots:{default:[mr]},$$scope:{ctx:t}}}),{c(){e=y("h3"),e.textContent="HTML",n=w(),r=y("div"),o=y("button"),a.c(),s=w(),st(l.$$.fragment),S(e,"class","text-lg font-medium mb-2 mt-4"),S(o,"type","button"),S(o,"class","absolute opacity-0 group-hover:opacity-100 top-1.5 right-1.5 inline-flex items-center px-4 py-2 border border-gray-300 shadow-sm text-base font-medium rounded-md text-gray-700 bg-gray-300 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"),S(r,"class","relative markdown group")},m(a,f){g(a,e,f),g(a,n,f),g(a,r,f),d(r,o),h[i].m(o,null),d(r,s),lt(l,r,null),c=!0,u||(p=x(o,"click",t[19]),u=!0)},p(t,e){let n=i;i=v(t),i!==n&&(Z(),et(h[n],1,1,()=>{h[n]=null}),K(),a=h[i],a||(a=h[i]=f[i](t),a.c()),tt(a,1),a.m(o,null));const r={};65536&e[0]|8192&e[1]&&(r.$$scope={dirty:e,ctx:t}),l.$set(r)},i(t){c||(tt(a),tt(l.$$.fragment,t),c=!0)},o(t){et(a),et(l.$$.fragment,t),c=!1},d(t){t&&m(e),t&&m(n),t&&m(r),h[i].d(),ct(l),u=!1,p()}}}function dr(t){let e,n,r;return e=new tr({}),{c(){st(e.$$.fragment),n=b(" Copy")},m(t,o){lt(e,t,o),g(t,n,o),r=!0},i(t){r||(tt(e.$$.fragment,t),r=!0)},o(t){et(e.$$.fragment,t),r=!1},d(t){ct(e,t),t&&m(n)}}}function gr(t){let e,n,r;return e=new nr({}),{c(){st(e.$$.fragment),n=b(" Copied")},m(t,o){lt(e,t,o),g(t,n,o),r=!0},i(t){r||(tt(e.$$.fragment,t),r=!0)},o(t){et(e.$$.fragment,t),r=!1},d(t){ct(e,t),t&&m(n)}}}function mr(t){let e;return{c(){e=b(t[16])},m(t,n){g(t,e,n)},p(t,n){65536&n[0]&&z(e,t[16])},d(t){t&&m(e)}}}function hr(t){let e,n,r;return e=new tr({}),{c(){st(e.$$.fragment),n=b(" Copy")},m(t,o){lt(e,t,o),g(t,n,o),r=!0},i(t){r||(tt(e.$$.fragment,t),r=!0)},o(t){et(e.$$.fragment,t),r=!1},d(t){ct(e,t),t&&m(n)}}}function yr(t){let e,n,r;return e=new nr({}),{c(){st(e.$$.fragment),n=b(" Copied")},m(t,o){lt(e,t,o),g(t,n,o),r=!0},i(t){r||(tt(e.$$.fragment,t),r=!0)},o(t){et(e.$$.fragment,t),r=!1},d(t){ct(e,t),t&&m(n)}}}function vr(t){let e;return{c(){e=b(t[17])},m(t,n){g(t,e,n)},p(t,n){131072&n[0]&&z(e,t[17])},d(t){t&&m(e)}}}function br(t){let e,n,r,o,i,a;function s(e){t[28](e)}let l={name:"layout",options:[{title:"Flex",value:"flex"},{title:"Float",value:"float"}]};return void 0!==t[1]&&(l.value=t[1]),o=new Qn({props:l}),I.push(()=>at(o,"value",s)),{c(){e=y("div"),n=y("label"),n.textContent="CSS Horizontal Layout",r=w(),st(o.$$.fragment),S(n,"for","company_website"),S(n,"class","block text-sm font-medium text-gray-700 mb-1")},m(t,i){g(t,e,i),d(e,n),d(e,r),lt(o,e,null),a=!0},p(t,e){const n={};!i&&2&e[0]&&(i=!0,n.value=t[1],W(()=>i=!1)),o.$set(n)},i(t){a||(tt(o.$$.fragment,t),a=!0)},o(t){et(o.$$.fragment,t),a=!1},d(t){t&&m(e),ct(o)}}}function wr(t){let e,n,r,i,a,s,l,c,u,p,f,h,v,$,k,A,E,O,P,C,F,M,T,_,L,D,N,G,R,B,H,U,V,q,J,Q,X,Y,nt,ot,it,ut,pt,ft,dt,gt,mt,ht,yt,vt,bt,wt,$t,xt,St,kt,At,zt,Et,jt,Ot,Pt,Ct,Ft,Mt,Tt,_t,Lt,It,Dt,Nt,Gt,Rt,Bt,Ht,Ut,Wt,Vt,qt,Jt,Qt,Xt,Yt,Zt,Kt,te,ee,ne,re,oe,ie,ae,se,le,ce,ue,pe,fe,de=[],ge=new Map,me="horizontal"===t[0]?"Columns":"Rows",he=t[9];const ye=t=>t[41].key;for(let e=0;eat(A,"value",ve));const we=[sr,ar],$e=[];function xe(t,e){return t[11]?0:1}F=xe(t),M=$e[F]=we[F](t);const Se=[cr,lr],ke=[];function Ae(t,e){return"vanilla"===t[10]?0:"react"===t[10]?1:-1}~(_=Ae(t))&&(L=ke[_]=Se[_](t));let ze="vanilla"===t[10]&&fr(t);const Ee=[yr,hr],je=[];function Oe(t,e){return t[13]?0:1}function Pe(e){t[27](e)}U=Oe(t),V=je[U]=Ee[U](t),J=new Cn({props:{language:"css",$$slots:{default:[vr]},$$scope:{ctx:t}}});let Ce={name:"direction",options:[{title:"Horizontal",value:"horizontal"},{title:"Vertical",value:"vertical"}]};void 0!==t[0]&&(Ce.value=t[0]),gt=new Qn({props:Ce}),I.push(()=>at(gt,"value",Pe));let Fe="horizontal"===t[0]&&br(t);function Me(e){t[29](e)}let Te={default:$r};function _e(e){t[30](e)}void 0!==t[2]&&(Te.value=t[2]),xt=new Zn({props:Te}),I.push(()=>at(xt,"value",Me));let Le={default:xr,step:50,min:0,max:300};function Ie(e){t[31](e)}void 0!==t[3]&&(Le.value=t[3]),jt=new Zn({props:Le}),I.push(()=>at(jt,"value",_e));let De={default:Sr,step:50,min:0,max:1e3};function Ne(e){t[32](e)}void 0!==t[4]&&(De.value=t[4]),Tt=new Zn({props:De}),I.push(()=>at(Tt,"value",Ie));let Ge={default:kr,min:1,max:50};function Re(e){t[33](e)}void 0!==t[5]&&(Ge.value=t[5]),Gt=new Zn({props:Ge}),I.push(()=>at(Gt,"value",Ne));let Be={name:"gutterAlign",options:[{title:"Start",value:"start"},{title:"Center",value:"center"},{title:"End",value:"end"}]};function He(e){t[34](e)}void 0!==t[6]&&(Be.value=t[6]),Vt=new Qn({props:Be}),I.push(()=>at(Vt,"value",Re));let Ue={default:Ar,min:0,max:100,step:10};function We(e){t[35](e)}void 0!==t[7]&&(Ue.value=t[7]),Zt=new Zn({props:Ue}),I.push(()=>at(Zt,"value",He));let Ve={default:zr,min:1,max:20,step:1};return void 0!==t[8]&&(Ve.value=t[8]),oe=new Zn({props:Ve}),I.push(()=>at(oe,"value",We)),{c(){e=w(),n=y("div"),r=y("div"),i=y("section"),a=y("h2"),a.textContent="Split.js",s=w(),l=y("div"),c=y("div"),u=y("div");for(let t=0;t\n View Docs on GitHub',le=w(),ce=y("a"),ce.innerHTML='\n Sponsor on GitHub',rr.title="Split.js",S(a,"class","sr-only"),S(a,"id","section-1-title"),S(u,"class","h-full"),j(u,"flex","flex"===t[1]&&"horizontal"===t[0]),j(u,"flex-row","flex"===t[1]&&"horizontal"===t[0]),S(c,"class","border-4 border-dashed border-gray-200 rounded-lg h-64"),S(l,"class","rounded-lg bg-white overflow-hidden shadow p-4"),S(i,"aria-labelledby","section-1-title"),S(h,"class","sr-only"),S(h,"id","section-1-title"),S(k,"class","w-1/3 mb-4"),S(C,"type","button"),S(C,"class","absolute opacity-0 group-hover:opacity-100 top-1.5 right-1.5 inline-flex items-center px-4 py-2 border border-gray-300 shadow-sm text-base font-medium rounded-md text-gray-700 bg-gray-300 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"),S(P,"class","relative markdown group"),S(G,"class","text-lg font-medium mb-2 mt-4"),S(H,"type","button"),S(H,"class","absolute opacity-0 group-hover:opacity-100 top-1.5 right-1.5 inline-flex items-center px-4 py-2 border border-gray-300 shadow-sm text-base font-medium rounded-md text-gray-700 bg-gray-300 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"),S(B,"class","relative markdown group"),S($,"class","rounded-lg bg-white overflow-hidden shadow p-4 markdown"),S(f,"aria-labelledby","section-2-title"),S(r,"class","grid grid-cols-1 gap-4 lg:col-span-2"),S(nt,"class","sr-only"),S(nt,"id","section-2-title"),S(ft,"for","company_website"),S(ft,"class","block text-sm font-medium text-gray-700 mb-1"),S(bt,"for","company_website"),S(bt,"class","block text-sm font-medium text-gray-700 mb-1"),S(zt,"for","company_website"),S(zt,"class","block text-sm font-medium text-gray-700 mb-1"),S(Ft,"for","company_website"),S(Ft,"class","block text-sm font-medium text-gray-700 mb-1"),S(Dt,"for","company_website"),S(Dt,"class","block text-sm font-medium text-gray-700 mb-1"),S(Ut,"for","company_website"),S(Ut,"class","block text-sm font-medium text-gray-700 mb-1"),S(Xt,"for","company_website"),S(Xt,"class","block text-sm font-medium text-gray-700 mb-1"),S(ne,"for","company_website"),S(ne,"class","block text-sm font-medium text-gray-700 mb-1"),S(ut,"class","p-6 space-y-4"),S(it,"class","rounded-lg bg-white overflow-hidden shadow"),S(se,"href","https://github.com/nathancahill/split/tree/master/packages/splitjs"),S(se,"class","flex w-full mt-4 items-center px-6 py-3 border border-transparent shadow-sm text-base font-medium rounded-t-md border-indigo-200 text-indigo-900 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 focus:z-10"),S(ce,"href","https://github.com/sponsors/nathancahill"),S(ce,"class","flex w-full -mt-1 items-center px-6 py-3 border border-transparent shadow-sm text-base font-medium rounded-b-md border-indigo-200 text-indigo-900 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 focus:z-10"),S(Y,"aria-labelledby","section-2-title"),S(X,"class","grid grid-cols-1 gap-4"),S(n,"class","grid grid-cols-1 gap-4 items-start lg:grid-cols-3 lg:gap-8")},m(o,m){g(o,e,m),g(o,n,m),d(n,r),d(r,i),d(i,a),d(i,s),d(i,l),d(l,c),d(c,u);for(let t=0;tv.get(o)?(w.add(r),$(e)):(b.add(o),f--):(l(n,a),f--)}for(;f--;){const e=t[f];y.has(e.key)||l(e,a)}for(;d;)$(h[d-1]);return h}(de,e,ye,1,t,he,ge,u,rt,ir,null,or)),3&e[0]&&j(u,"flex","flex"===t[1]&&"horizontal"===t[0]),3&e[0]&&j(u,"flex-row","flex"===t[1]&&"horizontal"===t[0]);const n={};!E&&1024&e[0]&&(E=!0,n.value=t[10],W(()=>E=!1)),A.$set(n);let r=F;F=xe(t),F!==r&&(Z(),et($e[r],1,1,()=>{$e[r]=null}),K(),M=$e[F],M||(M=$e[F]=we[F](t),M.c()),tt(M,1),M.m(C,null));let o=_;_=Ae(t),_===o?~_&&ke[_].p(t,e):(L&&(Z(),et(ke[o],1,1,()=>{ke[o]=null}),K()),~_?(L=ke[_],L?L.p(t,e):(L=ke[_]=Se[_](t),L.c()),tt(L,1),L.m(P,null)):L=null),"vanilla"===t[10]?ze?(ze.p(t,e),1024&e[0]&&tt(ze,1)):(ze=fr(t),ze.c(),tt(ze,1),ze.m($,N)):ze&&(Z(),et(ze,1,1,()=>{ze=null}),K());let i=U;U=Oe(t),U!==i&&(Z(),et(je[i],1,1,()=>{je[i]=null}),K(),V=je[U],V||(V=je[U]=Ee[U](t),V.c()),tt(V,1),V.m(H,null));const a={};131072&e[0]|8192&e[1]&&(a.$$scope={dirty:e,ctx:t}),J.$set(a);const s={};!mt&&1&e[0]&&(mt=!0,s.value=t[0],W(()=>mt=!1)),gt.$set(s),"horizontal"===t[0]?Fe?(Fe.p(t,e),1&e[0]&&tt(Fe,1)):(Fe=br(t),Fe.c(),tt(Fe,1),Fe.m(ut,yt)):Fe&&(Z(),et(Fe,1,1,()=>{Fe=null}),K()),(!ue||1&e[0])&&me!==(me="horizontal"===t[0]?"Columns":"Rows")&&z(wt,me);const l={};!St&&4&e[0]&&(St=!0,l.value=t[2],W(()=>St=!1)),xt.$set(l);const c={};!Ot&&8&e[0]&&(Ot=!0,c.value=t[3],W(()=>Ot=!1)),jt.$set(c);const p={};!_t&&16&e[0]&&(_t=!0,p.value=t[4],W(()=>_t=!1)),Tt.$set(p);const f={};!Rt&&32&e[0]&&(Rt=!0,f.value=t[5],W(()=>Rt=!1)),Gt.$set(f);const d={};!qt&&64&e[0]&&(qt=!0,d.value=t[6],W(()=>qt=!1)),Vt.$set(d);const g={};!Kt&&128&e[0]&&(Kt=!0,g.value=t[7],W(()=>Kt=!1)),Zt.$set(g);const m={};!ie&&256&e[0]&&(ie=!0,m.value=t[8],W(()=>ie=!1)),oe.$set(m)},i(t){ue||(tt(A.$$.fragment,t),tt(M),tt(L),tt(ze),tt(V),tt(J.$$.fragment,t),tt(gt.$$.fragment,t),tt(Fe),tt(xt.$$.fragment,t),tt(jt.$$.fragment,t),tt(Tt.$$.fragment,t),tt(Gt.$$.fragment,t),tt(Vt.$$.fragment,t),tt(Zt.$$.fragment,t),tt(oe.$$.fragment,t),ue=!0)},o(t){et(A.$$.fragment,t),et(M),et(L),et(ze),et(V),et(J.$$.fragment,t),et(gt.$$.fragment,t),et(Fe),et(xt.$$.fragment,t),et(jt.$$.fragment,t),et(Tt.$$.fragment,t),et(Gt.$$.fragment,t),et(Vt.$$.fragment,t),et(Zt.$$.fragment,t),et(oe.$$.fragment,t),ue=!1},d(t){t&&m(e),t&&m(n);for(let t=0;tn(21,f=t)),l(t,$t,t=>n(24,d=t));let g=null,m="vanilla",h=En(f),y=h.direction||"horizontal",v=h.layout||"flex",b=h.panes?parseInt(h.panes,10):$r,w=h.minSize?parseInt(h.minSize,10):xr,$=h.maxSize?parseInt(h.maxSize,10):Sr,x=h.gutterSize?parseInt(h.gutterSize,10):kr,S=h.gutterAlign||"center",k=h.snapOffset?parseInt(h.snapOffset,10):Ar,A=h.dragInterval?parseInt(h.dragInterval,10):zr,z=!1,E=!1,j=!1;const O=(t,e,n)=>"width"===t?{..."float"===v&&{height:"100%",float:"left"},[t]:`calc(${e}% - ${n}px)`}:"height"===t?{[t]:`calc(${e}% - ${n}px)`}:void 0,P=(t,e)=>{const n={backgroundColor:"rgb(229, 231, 235)",backgroundRepeat:"no-repeat",backgroundPosition:"50%"};return"width"===t?{...n,..."float"===v&&{height:"100%",float:"left"},[t]:e+"px",backgroundImage:"url(/vertical.png)"}:"height"===t?{...n,[t]:e+"px",backgroundImage:"url(/horizontal.png)"}:void 0};return M(()=>{g=(()=>{if(document.querySelector(a[0].selector))return g&&g.destroy(),Un(a.map(t=>t.selector),{minSize:w,maxSize:$,direction:y,gutterSize:x,gutterAlign:S,snapOffset:k,dragInterval:A,gutterStyle:P,elementStyle:O})})()}),t.$$.update=()=>{511&t.$$.dirty[0]&&n(22,r={..."horizontal"!==y&&{direction:y},..."flex"!==v&&{layout:v},...b!==$r&&{panes:b},...w!==xr&&{minSize:w},...$!==Sr&&{maxSize:$},...x!==kr&&{gutterSize:x},..."center"!==S&&{gutterAlign:S},...k!==Ar&&{snapOffset:k},...A!==zr&&{dragInterval:A}}),4194304&t.$$.dirty[0]&&n(23,o=jn(r)),27262976&t.$$.dirty[0]&&"/"===d&&o!==f&&St(o?"/?"+o:"/"),505&t.$$.dirty[0]&&n(25,i="horizontal"!==y||w!==xr||$!==Sr||x!==kr||"center"!==S||k!==Ar||A!==zr),7&t.$$.dirty[0]&&n(9,a=[...new Array(b)].map((t,e)=>({id:"split-"+e,key:`split-${e}-${y}-${v}`,selector:"#split-"+e}))),33555449&t.$$.dirty[0]&&n(14,s=`\nimport Split from 'split.js'\n\nSplit([${a.map(t=>`'${t.selector}'`).join(", ")}]${i?`, {\n${["horizontal"!==y?` direction: '${y}',`:"",w!==xr?` minSize: ${w},`:"",$!==Sr?` maxSize: ${$},`:"",x!==kr?` gutterSize: ${x},`:"","center"!==S?` gutterAlign: '${S}',`:"",k!==Ar?` snapOffset: ${k},`:"",A!==zr?` dragInterval: ${A},`:""].filter(t=>""!==t).join("\n")}\n}`:""})\n`.trim()),33555449&t.$$.dirty[0]&&n(15,c=`\nimport Split from 'react-split'\n\n""!==t).join("\n")+"\n":""}>\n${a.map(t=>"
").join("\n")}\n\n`.trim()),512&t.$$.dirty[0]&&n(16,u=`\n
\n${a.map(t=>`
`).join("\n")}\n
`.trim()),3&t.$$.dirty[0]&&n(17,p=`\n${"horizontal"===y&&"flex"===v?"\n.split {\n display: flex;\n flex-direction: row;\n}":""}${"horizontal"===y&&"float"===v?"\n.split {\n height: 300px;\n}\n\n.split > div {\n float: left;\n height: 100%;\n}":""}\n\n.gutter {\n background-color: #eee;\n background-repeat: no-repeat;\n background-position: 50%;\n}\n${"horizontal"===y?"\n.gutter.gutter-horizontal {\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==');\n cursor: col-resize;\n}":"\n.gutter.gutter-vertical {\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFAQMAAABo7865AAAABlBMVEVHcEzMzMzyAv2sAAAAAXRSTlMAQObYZgAAABBJREFUeF5jOAMEEAIEEFwAn3kMwcB6I2AAAAAASUVORK5CYII=');\n cursor: row-resize;\n}"}\n`.trim())},[y,v,b,w,$,x,S,k,A,a,m,z,E,j,s,c,u,p,()=>{navigator.clipboard.writeText("vanilla"===m?s:c).then(()=>{n(11,z=!0),setTimeout(()=>{n(11,z=!1)},1e3)})},()=>{navigator.clipboard.writeText(u).then(()=>{n(12,E=!0),setTimeout(()=>{n(12,E=!1)},1e3)})},()=>{navigator.clipboard.writeText(p).then(()=>{n(13,j=!0),setTimeout(()=>{n(13,j=!1)},1e3)})},f,r,o,d,i,function(t){m=t,n(10,m)},function(t){y=t,n(0,y)},function(t){v=t,n(1,v)},function(t){b=t,n(2,b)},function(t){w=t,n(3,w)},function(t){$=t,n(4,$)},function(t){x=t,n(5,x)},function(t){S=t,n(6,S)},function(t){k=t,n(7,k)},function(t){A=t,n(8,A)}]}class jr extends pt{constructor(t){super(),ut(this,t,Er,wr,a,{},[-1,-1])}}var Or=function(t,e){return Number(t.slice(0,-1*e.length))},Pr=function(t){return t.endsWith("px")?{value:t,type:"px",numeric:Or(t,"px")}:t.endsWith("fr")?{value:t,type:"fr",numeric:Or(t,"fr")}:t.endsWith("%")?{value:t,type:"%",numeric:Or(t,"%")}:"auto"===t?{value:t,type:"auto"}:null},Cr=function(t){return t.split(" ").map(Pr)},Fr=function(t,e,n){return e.concat(n).map((function(e){return e.style[t]})).filter((function(t){return void 0!==t&&""!==t}))},Mr=function(t){for(var e=0;e0)return e;return null},Tr=function(){return!1},_r=function(t,e,n){t.style[e]=n},Lr=function(t,e,n){var r=t[e];return void 0!==r?r:n};function Ir(t){var e;return(e=[]).concat.apply(e,Array.from(t.ownerDocument.styleSheets).map((function(t){var e=[];try{e=Array.from(t.cssRules||[])}catch(t){}return e}))).filter((function(e){var n=!1;try{n=t.matches(e.selectorText)}catch(t){}return n}))}var Dr=function(t,e,n){this.direction=t,this.element=e.element,this.track=e.track,"column"===t?(this.gridTemplateProp="grid-template-columns",this.gridGapProp="grid-column-gap",this.cursor=Lr(n,"columnCursor",Lr(n,"cursor","col-resize")),this.snapOffset=Lr(n,"columnSnapOffset",Lr(n,"snapOffset",30)),this.dragInterval=Lr(n,"columnDragInterval",Lr(n,"dragInterval",1)),this.clientAxis="clientX",this.optionStyle=Lr(n,"gridTemplateColumns")):"row"===t&&(this.gridTemplateProp="grid-template-rows",this.gridGapProp="grid-row-gap",this.cursor=Lr(n,"rowCursor",Lr(n,"cursor","row-resize")),this.snapOffset=Lr(n,"rowSnapOffset",Lr(n,"snapOffset",30)),this.dragInterval=Lr(n,"rowDragInterval",Lr(n,"dragInterval",1)),this.clientAxis="clientY",this.optionStyle=Lr(n,"gridTemplateRows")),this.onDragStart=Lr(n,"onDragStart",Tr),this.onDragEnd=Lr(n,"onDragEnd",Tr),this.onDrag=Lr(n,"onDrag",Tr),this.writeStyle=Lr(n,"writeStyle",_r),this.startDragging=this.startDragging.bind(this),this.stopDragging=this.stopDragging.bind(this),this.drag=this.drag.bind(this),this.minSizeStart=e.minSizeStart,this.minSizeEnd=e.minSizeEnd,this.maxSizeStart=e.maxSizeStart,this.maxSizeEnd=e.maxSizeEnd,e.element&&(this.element.addEventListener("mousedown",this.startDragging),this.element.addEventListener("touchstart",this.startDragging))};Dr.prototype.getDimensions=function(){var t=this.grid.getBoundingClientRect(),e=t.width,n=t.height,r=t.top,o=t.bottom,i=t.left,a=t.right;"column"===this.direction?(this.start=r,this.end=o,this.size=n):"row"===this.direction&&(this.start=i,this.end=a,this.size=e)},Dr.prototype.getSizeAtTrack=function(t,e){return function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=!1);var o=r?t+1:t;return e.slice(0,o).reduce((function(t,e){return t+e.numeric}),0)+(n?t*n:0)}(t,this.computedPixels,this.computedGapPixels,e)},Dr.prototype.getSizeOfTrack=function(t){return this.computedPixels[t].numeric},Dr.prototype.getRawTracks=function(){var t=Fr(this.gridTemplateProp,[this.grid],Ir(this.grid));if(!t.length){if(this.optionStyle)return this.optionStyle;throw Error("Unable to determine grid template tracks from styles.")}return t[0]},Dr.prototype.getGap=function(){var t=Fr(this.gridGapProp,[this.grid],Ir(this.grid));return t.length?t[0]:null},Dr.prototype.getRawComputedTracks=function(){return window.getComputedStyle(this.grid)[this.gridTemplateProp]},Dr.prototype.getRawComputedGap=function(){return window.getComputedStyle(this.grid)[this.gridGapProp]},Dr.prototype.setTracks=function(t){this.tracks=t.split(" "),this.trackValues=Cr(t)},Dr.prototype.setComputedTracks=function(t){this.computedTracks=t.split(" "),this.computedPixels=Cr(t)},Dr.prototype.setGap=function(t){this.gap=t},Dr.prototype.setComputedGap=function(t){var e,n;this.computedGap=t,this.computedGapPixels=(e="px",((n=this.computedGap).endsWith(e)?Number(n.slice(0,-1*e.length)):null)||0)},Dr.prototype.getMousePosition=function(t){return"touches"in t?t.touches[0][this.clientAxis]:t[this.clientAxis]},Dr.prototype.startDragging=function(t){if(!("button"in t)||0===t.button){t.preventDefault(),this.element?this.grid=this.element.parentNode:this.grid=t.target.parentNode,this.getDimensions(),this.setTracks(this.getRawTracks()),this.setComputedTracks(this.getRawComputedTracks()),this.setGap(this.getGap()),this.setComputedGap(this.getRawComputedGap());var e=this.trackValues.filter((function(t){return"%"===t.type})),n=this.trackValues.filter((function(t){return"fr"===t.type}));if(this.totalFrs=n.length,this.totalFrs){var r=Mr(n);null!==r&&(this.frToPixels=this.computedPixels[r].numeric/n[r].numeric)}if(e.length){var o=Mr(e);null!==o&&(this.percentageToPixels=this.computedPixels[o].numeric/e[o].numeric)}var i=this.getSizeAtTrack(this.track,!1)+this.start;if(this.dragStartOffset=this.getMousePosition(t)-i,this.aTrack=this.track-1,!(this.tracko-this.snapOffset&&(e=o),eo&&(e=o);var i=e-this.aTrackStart-this.dragStartOffset-this.computedGapPixels,a=this.bTrackEnd-e+this.dragStartOffset-n-this.computedGapPixels;if(this.dragInterval>1){var s=Math.round(i/this.dragInterval)*this.dragInterval;a-=s-i,i=s}if(i{h[n]=null}),K(),a=h[i],a||(a=h[i]=f[i](t),a.c()),tt(a,1),a.m(o,null));const r={};32768&e[0]|512&e[1]&&(r.$$scope={dirty:e,ctx:t}),l.$set(r)},i(t){c||(tt(a),tt(l.$$.fragment,t),c=!0)},o(t){et(a),et(l.$$.fragment,t),c=!1},d(t){t&&m(e),t&&m(n),t&&m(r),h[i].d(),ct(l),u=!1,p()}}}function Zr(t){let e,n,r;return e=new tr({}),{c(){st(e.$$.fragment),n=b(" Copy")},m(t,o){lt(e,t,o),g(t,n,o),r=!0},i(t){r||(tt(e.$$.fragment,t),r=!0)},o(t){et(e.$$.fragment,t),r=!1},d(t){ct(e,t),t&&m(n)}}}function Kr(t){let e,n,r;return e=new nr({}),{c(){st(e.$$.fragment),n=b(" Copied")},m(t,o){lt(e,t,o),g(t,n,o),r=!0},i(t){r||(tt(e.$$.fragment,t),r=!0)},o(t){et(e.$$.fragment,t),r=!1},d(t){ct(e,t),t&&m(n)}}}function to(t){let e;return{c(){e=b(t[15])},m(t,n){g(t,e,n)},p(t,n){32768&n[0]&&z(e,t[15])},d(t){t&&m(e)}}}function eo(t){let e,n,r;return e=new tr({}),{c(){st(e.$$.fragment),n=b(" Copy")},m(t,o){lt(e,t,o),g(t,n,o),r=!0},i(t){r||(tt(e.$$.fragment,t),r=!0)},o(t){et(e.$$.fragment,t),r=!1},d(t){ct(e,t),t&&m(n)}}}function no(t){let e,n,r;return e=new nr({}),{c(){st(e.$$.fragment),n=b(" Copied")},m(t,o){lt(e,t,o),g(t,n,o),r=!0},i(t){r||(tt(e.$$.fragment,t),r=!0)},o(t){et(e.$$.fragment,t),r=!1},d(t){ct(e,t),t&&m(n)}}}function ro(t){let e;return{c(){e=b(t[16])},m(t,n){g(t,e,n)},p(t,n){65536&n[0]&&z(e,t[16])},d(t){t&&m(e)}}}function oo(t){let e,n,r,i,a,s,l,c,u,p,f,v,b,$,k,A,z,j,O,P,C,F,M,T,_,L,D,N,G,R,B,H,U,V,q,J,Q,X,Y,nt,rt,ot,it,ut,pt,ft,dt,gt,mt,ht,yt,vt,bt,wt,$t,xt,St,kt,At,zt,Et,jt,Ot,Pt,Ct,Ft,Mt,Tt,_t,Lt,It,Dt,Nt,Gt,Rt,Bt,Ht,Ut,Wt,Vt,qt,Jt,Qt,Xt,Yt=t[6],Zt=[];for(let e=0;eat(A,"value",Kt));const ee=[Vr,Wr],ne=[];function re(t,e){return t[10]?0:1}C=re(t),F=ne[C]=ee[C](t);const oe=[Jr,qr],ie=[];function ae(t,e){return"vanilla"===t[9]?0:"react"===t[9]?1:-1}~(T=ae(t))&&(_=ie[T]=oe[T](t));let se="vanilla"===t[9]&&Yr(t);const le=[no,eo],ce=[];function ue(t,e){return t[12]?0:1}function pe(e){t[28](e)}H=ue(t),U=ce[H]=le[H](t),q=new Cn({props:{language:"css",$$slots:{default:[ro]},$$scope:{ctx:t}}});let fe={default:io,min:1};function de(e){t[29](e)}void 0!==t[0]&&(fe.value=t[0]),ft=new Zn({props:fe}),I.push(()=>at(ft,"value",pe));let ge={default:ao,min:1};function me(e){t[30](e)}void 0!==t[1]&&(ge.value=t[1]),vt=new Zn({props:ge}),I.push(()=>at(vt,"value",de));let he={default:so,step:50,min:0,max:300};function ye(e){t[31](e)}void 0!==t[2]&&(he.value=t[2]),kt=new Zn({props:he}),I.push(()=>at(kt,"value",me));let ve={default:lo,step:50,min:0,max:1e3};function be(e){t[32](e)}void 0!==t[3]&&(ve.value=t[3]),Pt=new Zn({props:ve}),I.push(()=>at(Pt,"value",ye));let we={default:co,min:0,max:100,step:10};function $e(e){t[33](e)}void 0!==t[4]&&(we.value=t[4]),Lt=new Zn({props:we}),I.push(()=>at(Lt,"value",be));let xe={default:uo,min:1,max:20,step:1};return void 0!==t[5]&&(xe.value=t[5]),Bt=new Zn({props:xe}),I.push(()=>at(Bt,"value",$e)),{c(){e=w(),n=y("div"),r=y("div"),i=y("section"),a=y("h2"),a.textContent="Split.js",s=w(),l=y("div"),c=y("div"),u=y("div");for(let t=0;t\n View Docs on GitHub',Vt=w(),qt=y("a"),qt.innerHTML='\n Sponsor on GitHub',Br.title="Split.js - Split-Grid",S(a,"class","sr-only"),S(a,"id","section-1-title"),S(u,"class","h-full grid"),E(u,"grid-template-rows",t[7]),E(u,"grid-template-columns",t[8]),S(c,"class","border-4 border-dashed border-gray-200 rounded-lg h-64"),S(l,"class","rounded-lg bg-white overflow-hidden shadow p-4"),S(i,"aria-labelledby","section-1-title"),S(v,"class","sr-only"),S(v,"id","section-1-title"),S(k,"class","w-1/3 mb-4"),S(P,"type","button"),S(P,"class","absolute opacity-0 group-hover:opacity-100 top-1.5 right-1.5 inline-flex items-center px-4 py-2 border border-gray-300 shadow-sm text-base font-medium rounded-md text-gray-700 bg-gray-300 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"),S(O,"class","relative markdown group"),S(N,"class","text-lg font-medium mb-2 mt-4"),S(B,"type","button"),S(B,"class","absolute opacity-0 group-hover:opacity-100 top-1.5 right-1.5 inline-flex items-center px-4 py-2 border border-gray-300 shadow-sm text-base font-medium rounded-md text-gray-700 bg-gray-300 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"),S(R,"class","relative markdown group"),S($,"class","rounded-lg bg-white overflow-hidden shadow p-4 markdown"),S(f,"aria-labelledby","section-2-title"),S(r,"class","grid grid-cols-1 gap-4 lg:col-span-2"),S(Y,"class","sr-only"),S(Y,"id","section-2-title"),S(ut,"for","company_website"),S(ut,"class","block text-sm font-medium text-gray-700 mb-1"),S(ht,"for","company_website"),S(ht,"class","block text-sm font-medium text-gray-700 mb-1"),S(xt,"for","company_website"),S(xt,"class","block text-sm font-medium text-gray-700 mb-1"),S(jt,"for","company_website"),S(jt,"class","block text-sm font-medium text-gray-700 mb-1"),S(Tt,"for","company_website"),S(Tt,"class","block text-sm font-medium text-gray-700 mb-1"),S(Gt,"for","company_website"),S(Gt,"class","block text-sm font-medium text-gray-700 mb-1"),S(ot,"class","p-6 space-y-4"),S(rt,"class","rounded-lg bg-white overflow-hidden shadow"),S(Wt,"href","https://github.com/nathancahill/split/tree/master/packages/split-grid"),S(Wt,"class","flex w-full mt-4 items-center px-6 py-3 border border-transparent shadow-sm text-base font-medium rounded-t-md border-indigo-200 text-indigo-900 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 focus:z-10"),S(qt,"href","https://github.com/sponsors/nathancahill"),S(qt,"class","flex w-full -mt-1 items-center px-6 py-3 border border-transparent shadow-sm text-base font-medium rounded-b-md border-indigo-200 text-indigo-900 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 focus:z-10"),S(X,"aria-labelledby","section-2-title"),S(Q,"class","grid grid-cols-1 gap-4"),S(n,"class","grid grid-cols-1 gap-4 items-start lg:grid-cols-3 lg:gap-8")},m(o,m){g(o,e,m),g(o,n,m),d(n,r),d(r,i),d(i,a),d(i,s),d(i,l),d(l,c),d(c,u);for(let t=0;tz=!1)),A.$set(n);let r=C;C=re(t),C!==r&&(Z(),et(ne[r],1,1,()=>{ne[r]=null}),K(),F=ne[C],F||(F=ne[C]=ee[C](t),F.c()),tt(F,1),F.m(P,null));let o=T;T=ae(t),T===o?~T&&ie[T].p(t,e):(_&&(Z(),et(ie[o],1,1,()=>{ie[o]=null}),K()),~T?(_=ie[T],_?_.p(t,e):(_=ie[T]=oe[T](t),_.c()),tt(_,1),_.m(O,null)):_=null),"vanilla"===t[9]?se?(se.p(t,e),512&e[0]&&tt(se,1)):(se=Yr(t),se.c(),tt(se,1),se.m($,D)):se&&(Z(),et(se,1,1,()=>{se=null}),K());let i=H;H=ue(t),H!==i&&(Z(),et(ce[i],1,1,()=>{ce[i]=null}),K(),U=ce[H],U||(U=ce[H]=le[H](t),U.c()),tt(U,1),U.m(B,null));const a={};65536&e[0]|512&e[1]&&(a.$$scope={dirty:e,ctx:t}),q.$set(a);const s={};!dt&&1&e[0]&&(dt=!0,s.value=t[0],W(()=>dt=!1)),ft.$set(s);const l={};!bt&&2&e[0]&&(bt=!0,l.value=t[1],W(()=>bt=!1)),vt.$set(l);const c={};!At&&4&e[0]&&(At=!0,c.value=t[2],W(()=>At=!1)),kt.$set(c);const p={};!Ct&&8&e[0]&&(Ct=!0,p.value=t[3],W(()=>Ct=!1)),Pt.$set(p);const f={};!It&&16&e[0]&&(It=!0,f.value=t[4],W(()=>It=!1)),Lt.$set(f);const d={};!Ht&&32&e[0]&&(Ht=!0,d.value=t[5],W(()=>Ht=!1)),Bt.$set(d)},i(t){Jt||(tt(A.$$.fragment,t),tt(F),tt(_),tt(se),tt(U),tt(q.$$.fragment,t),tt(ft.$$.fragment,t),tt(vt.$$.fragment,t),tt(kt.$$.fragment,t),tt(Pt.$$.fragment,t),tt(Lt.$$.fragment,t),tt(Bt.$$.fragment,t),Jt=!0)},o(t){et(A.$$.fragment,t),et(F),et(_),et(se),et(U),et(q.$$.fragment,t),et(ft.$$.fragment,t),et(vt.$$.fragment,t),et(kt.$$.fragment,t),et(Pt.$$.fragment,t),et(Lt.$$.fragment,t),et(Bt.$$.fragment,t),Jt=!1},d(t){t&&m(e),t&&m(n),h(Zt,t),ct(A),ne[C].d(),~T&&ie[T].d(),se&&se.d(),ce[H].d(),ct(q),ct(ft),ct(vt),ct(kt),ct(Pt),ct(Lt),ct(Bt),Qt=!1,o(Xt)}}}const io=1,ao=2,so=0,lo=1e5,co=30,uo=1;function po(t,e,n){let r,o,i,a,s,c,u,p,f,d,g,m,h,y;l(t,xt,t=>n(20,h=t)),l(t,$t,t=>n(23,y=t));let v=null,b="vanilla",w=En(h),$=w.rows?parseInt(w.rows,10):io,x=w.columns?parseInt(w.columns,10):ao,S=w.minSize?parseInt(w.minSize,10):so,k=w.maxSize?parseInt(w.maxSize,10):lo,A=w.snapOffset?parseInt(w.snapOffset,10):co,z=w.dragInterval?parseInt(w.dragInterval,10):uo,E=!1,j=!1,O=!1;const P=()=>{return v&&v.destroy(),t={minSize:S,maxSize:k,snapOffset:A,dragInterval:z,columnGutters:s.filter(t=>void 0!==t.track).map(t=>({track:t.track,element:document.querySelector(".gutter-col-"+t.track)})),rowGutters:a.filter(t=>void 0!==t.track).map(t=>({track:t.track,element:document.querySelector(".gutter-row-"+t.track)}))},new Rr(t);var t};return M(()=>{v=P()}),t.$$.update=()=>{63&t.$$.dirty[0]&&n(21,r={...$!==io&&{rows:$},...x!==ao&&{columns:x},...S!==so&&{minSize:S},...k!==lo&&{maxSize:k},...A!==co&&{snapOffset:A},...z!==uo&&{dragInterval:z}}),2097152&t.$$.dirty[0]&&n(22,o=jn(r)),13631488&t.$$.dirty[0]&&"/split-grid"===y&&o!==h&&St(o?"/split-grid?"+o:"/split-grid"),60&t.$$.dirty[0]&&n(24,i=S!==so||k!==lo||A!==co||z!==uo),1&t.$$.dirty[0]&&n(25,a=1===$?[]:[...new Array($+$-1)].map((t,e)=>e%2?{type:"row",class:"gutter-row gutter-row-"+e,size:"10px",track:e,style:`grid-row: ${e+1};`}:{type:"row",size:"1fr"})),2&t.$$.dirty[0]&&n(26,s=1===x?[]:[...new Array(x+x-1)].map((t,e)=>e%2?{type:"column",class:"gutter-col gutter-col-"+e,size:"10px",track:e,style:`grid-column: ${e+1};`}:{type:"column",size:"1fr"})),100663296&t.$$.dirty[0]&&n(6,c=[...s,...a]),33554432&t.$$.dirty[0]&&n(7,u=a.map(t=>t.size).join(" ")),67108864&t.$$.dirty[0]&&n(8,p=s.map(t=>t.size).join(" ")),117440575&t.$$.dirty[0]&&n(13,f=`\nimport Split from 'split-grid'\n\nSplit({${i?"\n"+[S!==so?` minSize: ${S},`:"",k!==lo?` maxSize: ${k},`:"",A!==co?` snapOffset: ${A},`:"",z!==uo?` dragInterval: ${z},`:""].filter(t=>""!==t).join("\n"):""}${1===x?"":`\n columnGutters: [${s.filter(t=>void 0!==t.track).map(t=>`{\n track: ${t.track},\n element: document.querySelector('.gutter-col-${t.track}'),\n }`).join(", ")}],`}${1===$?"":`\n rowGutters: [${a.filter(t=>void 0!==t.track).map(t=>`{\n track: ${t.track},\n element: document.querySelector('.gutter-row-${t.track}'),\n }`).join(", ")}]`}\n})\n`.trim()),16777340&t.$$.dirty[0]&&n(14,d=`\nimport Split from 'react-split-grid'\n\n""!==t).join("\n"):""}\n render={({\n getGridProps,\n getGutterProps,\n }) => (\n
\n${c.map(t=>` `).join("\n")}\n
\n )}\n/>\n`.trim()),64&t.$$.dirty[0]&&n(15,g=`\n
\n${c.map(t=>`
`).join("\n")}\n`.trim()),100663683&t.$$.dirty[0]&&n(16,m=`\n.grid {\n display: grid;${1===$?"":`\n grid-template-rows: ${u};`}${1===x?"":`\n grid-template-columns: ${p};`}\n}\n${1===x?"":`\n.gutter-col {\n grid-row: 1/-1;\n cursor: col-resize;\n}\n${s.filter(t=>void 0!==t.track).map(t=>`\n.gutter-col-${t.track} {\n grid-column: ${t.track+1};\n}`).join("\n")}\n`}${1===$?"":`\n.gutter-row {\n grid-column: 1/-1;\n cursor: row-resize;\n}\n${a.filter(t=>void 0!==t.track).map(t=>`\n.gutter-row-${t.track} {\n grid-row: ${t.track+1};\n}`).join("\n")}\n`}`.trim())},[$,x,S,k,A,z,c,u,p,b,E,j,O,f,d,g,m,()=>{navigator.clipboard.writeText("vanilla"===b?f:d).then(()=>{n(10,E=!0),setTimeout(()=>{n(10,E=!1)},1e3)})},()=>{navigator.clipboard.writeText(g).then(()=>{n(11,j=!0),setTimeout(()=>{n(11,j=!1)},1e3)})},()=>{navigator.clipboard.writeText(m).then(()=>{n(12,O=!0),setTimeout(()=>{n(12,O=!1)},1e3)})},h,r,o,y,i,a,s,function(t){b=t,n(9,b)},function(t){$=t,n(0,$)},function(t){x=t,n(1,x)},function(t){S=t,n(2,S)},function(t){k=t,n(3,k)},function(t){A=t,n(4,A)},function(t){z=t,n(5,z)}]}class fo extends pt{constructor(t){super(),ut(this,t,po,oo,a,{},[-1,-1])}}function go(n){let r,o,i,a,s,l=[{viewBox:"0 0 416 139"},{xmlns:"http://www.w3.org/2000/svg"},n[0]],c={};for(let t=0;t{n=e(e({},n),p(t)),r(0,i=f(n,o))},[i]}class ho extends pt{constructor(t){super(),ut(this,t,mo,go,a,{})}}function yo(e){let n,r,o,i,a,s,l,c,u;return i=new ho({props:{class:"fill-current stroke-current text-indigo-100 h-full"}}),c=new ho({props:{class:"fill-current stroke-current text-indigo-100 h-full absolute right-0"}}),{c(){n=y("div"),r=y("div"),o=y("div"),st(i.$$.fragment),a=w(),s=y("div"),l=y("div"),st(c.$$.fragment),S(o,"class","overflow-hidden h-full"),E(o,"width","86px"),S(r,"id","part-1"),S(r,"class","h-full relative overflow-hidden"),S(l,"class","overflow-hidden h-full absolute right-0"),E(l,"width","87.5px"),S(s,"id","part-2"),S(s,"class","h-full relative overflow-hidden"),S(n,"class","flex"),E(n,"height","60px"),E(n,"width","177px")},m(t,e){g(t,n,e),d(n,r),d(r,o),lt(i,o,null),d(n,a),d(n,s),d(s,l),lt(c,l,null),u=!0},p:t,i(t){u||(tt(i.$$.fragment,t),tt(c.$$.fragment,t),u=!0)},o(t){et(i.$$.fragment,t),et(c.$$.fragment,t),u=!1},d(t){t&&m(n),ct(i),ct(c)}}}function vo(t){return F(()=>{Un(["#part-1","#part-2"],{gutterSize:5,minSize:55.5,snapOffset:0,gutterStyle:(t,e)=>({backgroundColor:"rgb(224, 231, 255)",[t]:e+"px"})})}),[]}class bo extends pt{constructor(t){super(),ut(this,t,vo,yo,a,{})}}function wo(t,e,n){const r=t.slice();return r[3]=e[n],r}function $o(e){let n,r,o,a,s,l=e[3].title+"";return{c(){n=y("a"),r=b(l),o=w(),S(n,"class","cursor-pointer text-sm font-medium rounded-md bg-white px-3 py-2 hover:bg-opacity-10"),S(n,"aria-current","page"),j(n,"text-white",e[3].url===e[0]),j(n,"text-indigo-100",e[3].url!==e[0]),j(n,"bg-opacity-0",e[3].url!==e[0]),j(n,"bg-opacity-10",e[3].url===e[0])},m(l,c){var u;g(l,n,c),d(n,r),d(n,o),a||(u=kt.call(null,n,e[3].url),s=u&&i(u.destroy)?u.destroy:t,a=!0)},p(t,r){e=t,3&r&&j(n,"text-white",e[3].url===e[0]),3&r&&j(n,"text-indigo-100",e[3].url!==e[0]),3&r&&j(n,"bg-opacity-0",e[3].url!==e[0]),3&r&&j(n,"bg-opacity-10",e[3].url===e[0])},d(t){t&&m(n),a=!1,s()}}}function xo(t){let e,n,r,o,i,a,s,l,c,u,p,f,v,$,x,k,A,z,E,j,O,P,C,F,M,T,_,L,I,D,N,G=(new Date).getFullYear()+"";l=new bo({});let R=t[1],B=[];for(let e=0;eGitHub \n
\n GitHub Sponsors \n ',p=w(),f=y("div"),v=y("div"),$=y("div"),x=y("nav");for(let t=0;t',z=w(),E=y("main"),j=y("div"),st(O.$$.fragment),P=w(),C=y("footer"),F=y("div"),M=y("div"),T=y("span"),_=b("© "),L=b(G),I=w(),D=y("a"),D.textContent="Nathan Cahill",S(a,"class","sr-only"),S(i,"class","static"),S(u,"class","ml-4 flex lg:items-center lg:pr-0.5 space-x-4"),S(o,"class","py-5 flex items-center justify-between"),S(x,"class","flex space-x-4"),S($,"class","col-span-2"),S(v,"class","grid grid-cols-3 gap-8 items-center"),S(f,"class","border-t border-white border-opacity-20 py-5"),S(r,"class","max-w-3xl mx-auto px-4 sm:px-6 lg:max-w-7xl lg:px-8"),S(n,"class","pb-24 bg-indigo-600"),S(j,"class","max-w-3xl mx-auto px-4 sm:px-6 lg:max-w-7xl lg:px-8"),S(E,"class","-mt-24 pb-8"),S(D,"href","https://nathancahill.com/"),S(T,"class","block sm:inline"),S(M,"class","border-t border-gray-200 py-8 text-sm text-gray-500 text-center sm:text-left"),S(F,"class","max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 lg:max-w-7xl"),S(e,"class","min-h-screen bg-gray-100")},m(t,m){g(t,e,m),d(e,n),d(n,r),d(r,o),d(o,i),d(i,a),d(i,s),lt(l,i,null),d(o,c),d(o,u),d(r,p),d(r,f),d(f,v),d(v,$),d($,x);for(let t=0;tn(0,r=t));return[r,[{title:"Split.js",url:"/"},{title:"Split-Grid",url:"/split-grid"}],{"/":jr,"/split-grid":fo}]}class ko extends pt{constructor(t){super(),ut(this,t,So,xo,a,{})}}function Ao(e){let n,r;return n=new ko({}),{c(){st(n.$$.fragment)},m(t,e){lt(n,t,e),r=!0},p:t,i(t){r||(tt(n.$$.fragment,t),r=!0)},o(t){et(n.$$.fragment,t),r=!1},d(t){ct(n,t)}}}!function(t){var e=t.util.clone(t.languages.javascript);t.languages.jsx=t.languages.extend("markup",e),t.languages.jsx.tag.pattern=/<\/?(?:[\w.:-]+(?:\s+(?:[\w.:$-]+(?:=(?:"(?:\\[^]|[^\\"])*"|'(?:\\[^]|[^\\'])*'|[^\s{'">=]+|\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}))?|\{\s*\.{3}\s*[a-z_$][\w$]*(?:\.[a-z_$][\w$]*)*\s*\}))*\s*\/?)?>/i,t.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/i,t.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[^]|[^\\"])*"|'(?:\\[^]|[^\\'])*'|[^\s'">]+)/i,t.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,t.languages.insertBefore("inside","attr-name",{spread:{pattern:/\{\s*\.{3}\s*[a-z_$][\w$]*(?:\.[a-z_$][\w$]*)*\s*\}/,inside:{punctuation:/\.{3}|[{}.]/,"attr-value":/\w+/}}},t.languages.jsx.tag),t.languages.insertBefore("inside","attr-value",{script:{pattern:/=(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\})/i,inside:{"script-punctuation":{pattern:/^=(?={)/,alias:"punctuation"},rest:t.languages.jsx},alias:"language-javascript"}},t.languages.jsx.tag);var n=function(t){return t?"string"==typeof t?t:"string"==typeof t.content?t.content:t.content.map(n).join(""):""},r=function(e){for(var o=[],i=0;i"===a.content[a.content.length-1].content||o.push({tagName:n(a.content[0].content[1]),openedBraces:0}):0/,prolog:/<\?[\s\S]+?\?>/,doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/,name:/[^\s<>'"]+/}},cdata://i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",(function(t){"entity"===t.type&&(t.attributes.title=t.content.replace(/&/,"&"))})),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,n){var r={};r["language-"+n]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[n]},r.cdata=/^$/i;var o={"included-cdata":{pattern://i,inside:r}};o["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var i={};i[t]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return t})),"i"),lookbehind:!0,greedy:!0,inside:o},e.languages.insertBefore("markup","cdata",i)}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml,function(t){var e=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;t.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+e.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+e.source+"$"),alias:"url"}}},selector:RegExp("[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+e.source+")*(?=\\s*\\{)"),string:{pattern:e,greedy:!0},property:/(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,important:/!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css;var n=t.languages.markup;n&&(n.tag.addInlined("style","css"),t.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/(^|["'\s])style\s*=\s*(?:"[^"]*"|'[^']*')/i,lookbehind:!0,inside:{"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{style:{pattern:/(["'])[\s\S]+(?=["']$)/,lookbehind:!0,alias:"language-css",inside:t.languages.css},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},"attr-name":/^style/i}}},n.tag))}(e),e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},e.languages.javascript=e.languages.extend("clike",{"class-name":[e.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\s*)(?:catch|finally)\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|(?:get|set)(?=\s*[\[$\w\xA0-\uFFFF])|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-flags":/[a-z]+$/,"regex-delimiter":/^\/|\/$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}|(?!\${)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\${|}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}}}),e.languages.markup&&e.languages.markup.tag.addInlined("script","javascript"),e.languages.js=e.languages.javascript,function(){if("undefined"!=typeof self&&self.Prism&&self.document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var t=window.Prism,e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},n='pre[data-src]:not([data-src-status="loaded"]):not([data-src-status="loading"])',r=/\blang(?:uage)?-([\w-]+)\b/i;t.hooks.add("before-highlightall",(function(t){t.selector+=", "+n})),t.hooks.add("before-sanity-check",(function(r){var o=r.element;if(o.matches(n)){r.code="",o.setAttribute("data-src-status","loading");var a=o.appendChild(document.createElement("CODE"));a.textContent="Loading…";var s=o.getAttribute("data-src"),l=r.language;if("none"===l){var c=(/\.(\w+)$/.exec(s)||[,"none"])[1];l=e[c]||c}i(a,l),i(o,l);var u=t.plugins.autoloader;u&&u.loadLanguages(l);var p=new XMLHttpRequest;p.open("GET",s,!0),p.onreadystatechange=function(){var e,n;4==p.readyState&&(p.status<400&&p.responseText?(o.setAttribute("data-src-status","loaded"),a.textContent=p.responseText,t.highlightElement(a)):(o.setAttribute("data-src-status","failed"),p.status>=400?a.textContent=(e=p.status,n=p.statusText,"✖ Error "+e+" while fetching file: "+n):a.textContent="✖ Error: File does not exist or is empty"))},p.send(null)}})),t.plugins.fileHighlight={highlight:function(e){for(var r,o=(e||document).querySelectorAll(n),i=0;r=o[i++];)t.highlightElement(r)}};var o=!1;t.fileHighlight=function(){o||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),o=!0),t.plugins.fileHighlight.highlight.apply(this,arguments)}}function i(t,e){var n=t.className;n=n.replace(r," ")+" language-"+e,t.className=n.replace(/\s+/g," ").trim()}}()})),function(){if("undefined"!=typeof self&&self.Prism&&self.document){var t=/\n(?!$)/g,e=Prism.plugins.lineNumbers={getLine:function(t,e){if("PRE"===t.tagName&&t.classList.contains("line-numbers")){var n=t.querySelector(".line-numbers-rows");if(n){var r=parseInt(t.getAttribute("data-start"),10)||1,o=r+(n.children.length-1);eo&&(e=o);var i=e-r;return n.children[i]}}},resize:function(t){o([t])},assumeViewportIndependence:!0},n=function(t){return t?window.getComputedStyle?getComputedStyle(t):t.currentStyle||null:null},r=void 0;window.addEventListener("resize",(function(){e.assumeViewportIndependence&&r===window.innerWidth||(r=window.innerWidth,o(Array.prototype.slice.call(document.querySelectorAll("pre.line-numbers"))))})),Prism.hooks.add("complete",(function(e){if(e.code){var n=e.element,r=n.parentNode;if(r&&/pre/i.test(r.nodeName)&&!n.querySelector(".line-numbers-rows")&&Prism.util.isActive(n,"line-numbers")){n.classList.remove("line-numbers"),r.classList.add("line-numbers");var i,a=e.code.match(t),s=a?a.length+1:1,l=new Array(s+1).join("");(i=document.createElement("span")).setAttribute("aria-hidden","true"),i.className="line-numbers-rows",i.innerHTML=l,r.hasAttribute("data-start")&&(r.style.counterReset="linenumber "+(parseInt(r.getAttribute("data-start"),10)-1)),e.element.appendChild(i),o([r]),Prism.hooks.run("line-numbers",e)}}})),Prism.hooks.add("line-numbers",(function(t){t.plugins=t.plugins||{},t.plugins.lineNumbers=!0}))}function o(e){if(0!=(e=e.filter((function(t){var e=n(t)["white-space"];return"pre-wrap"===e||"pre-line"===e}))).length){var r=e.map((function(e){var n=e.querySelector("code"),r=e.querySelector(".line-numbers-rows");if(n&&r){var o=e.querySelector(".line-numbers-sizer"),i=n.textContent.split(t);o||((o=document.createElement("span")).className="line-numbers-sizer",n.appendChild(o)),o.innerHTML="0",o.style.display="block";var a=o.getBoundingClientRect().height;return o.innerHTML="",{element:e,lines:i,lineHeights:[],oneLinerHeight:a,sizer:o}}})).filter(Boolean);r.forEach((function(t){var e=t.sizer,n=t.lines,r=t.lineHeights,o=t.oneLinerHeight;r[n.length-1]=void 0,n.forEach((function(t,n){if(t&&t.length>1){var i=e.appendChild(document.createElement("span"));i.style.display="block",i.textContent=t}else r[n]=o}))})),r.forEach((function(t){for(var e=t.sizer,n=t.lineHeights,r=0,o=0;oe&&(i[s]="\n"+i[s],a=l)}n[o]=i.join("")}return n.join("\n")}},t.exports&&(t.exports=n),"undefined"!=typeof Prism&&(Prism.plugins.NormalizeWhitespace=new n({"remove-trailing":!0,"remove-indent":!0,"left-trim":!0,"right-trim":!0}),Prism.hooks.add("before-sanity-check",(function(t){var e=Prism.plugins.NormalizeWhitespace;if((!t.settings||!1!==t.settings["whitespace-normalization"])&&Prism.util.isActive(t.element,"whitespace-normalization",!0))if(t.element&&t.element.parentNode||!t.code){var n=t.element.parentNode;if(t.code&&n&&"pre"===n.nodeName.toLowerCase()){for(var r=n.childNodes,o="",i="",a=!1,s=0;s1&&(n=Math.round(n/x)*x),n<=r.minSize+r.snapOffset+this._b?n=r.minSize+this._b:n>=this.size-(o.minSize+o.snapOffset+this._c)&&(n=this.size-(o.minSize+this._c)),n>=r.maxSize-r.snapOffset+this._b?n=r.maxSize+this._b:n<=this.size-(o.maxSize-o.snapOffset+this._c)&&(n=this.size-(o.maxSize+this._c)),C.call(this,n),Nn(e,"onDrag",_n)(O()))}function M(){var t=s[this.a].element,e=s[this.b].element,r=t.getBoundingClientRect(),a=e.getBoundingClientRect();this.size=r[n]+a[n]+this._b+this._c,this.start=r[o],this.end=r[i]}function T(t){var e=function(t){if(!getComputedStyle)return null;var e=getComputedStyle(t);if(!e)return null;var n=t[a];return 0===n?null:n-="horizontal"===S?parseFloat(e.paddingLeft)+parseFloat(e.paddingRight):parseFloat(e.paddingTop)+parseFloat(e.paddingBottom)}(c);if(null===e)return t;if(g.reduce((function(t,e){return t+e}),0)>e)return t;var n=0,r=[],o=t.map((function(o,i){var a=e*o/100,s=Gn(v,0===i,i===t.length-1,b),l=g[i]+s;return a0&&r[o]-n>0){var a=Math.min(n,r[o]-n);n-=a,i=t-a}return i/e*100}))}function _(){var t=s[this.a].element,n=s[this.b].element;this.dragging&&Nn(e,"onDragEnd",_n)(O()),this.dragging=!1,Fn.removeEventListener("mouseup",this.stop),Fn.removeEventListener("touchend",this.stop),Fn.removeEventListener("touchcancel",this.stop),Fn.removeEventListener("mousemove",this.move),Fn.removeEventListener("touchmove",this.move),this.stop=null,this.move=null,t.removeEventListener("selectstart",_n),t.removeEventListener("dragstart",_n),n.removeEventListener("selectstart",_n),n.removeEventListener("dragstart",_n),t.style.userSelect="",t.style.webkitUserSelect="",t.style.MozUserSelect="",t.style.pointerEvents="",n.style.userSelect="",n.style.webkitUserSelect="",n.style.MozUserSelect="",n.style.pointerEvents="",this.gutter.style.cursor="",this.parent.style.cursor="",Tn.body.style.cursor=""}function L(t){if(!("button"in t)||0===t.button){var n=s[this.a].element,r=s[this.b].element;this.dragging||Nn(e,"onDragStart",_n)(O()),t.preventDefault(),this.dragging=!0,this.move=F.bind(this),this.stop=_.bind(this),Fn.addEventListener("mouseup",this.stop),Fn.addEventListener("touchend",this.stop),Fn.addEventListener("touchcancel",this.stop),Fn.addEventListener("mousemove",this.move),Fn.addEventListener("touchmove",this.move),n.addEventListener("selectstart",_n),n.addEventListener("dragstart",_n),r.addEventListener("selectstart",_n),r.addEventListener("dragstart",_n),n.style.userSelect="none",n.style.webkitUserSelect="none",n.style.MozUserSelect="none",n.style.pointerEvents="none",r.style.userSelect="none",r.style.webkitUserSelect="none",r.style.MozUserSelect="none",r.style.pointerEvents="none",this.gutter.style.cursor=k,this.parent.style.cursor=k,Tn.body.style.cursor=k,M.call(this),this.dragOffset=P(t)-this.end}}"horizontal"===S?(n="width",r="clientX",o="left",i="right",a="clientWidth"):"vertical"===S&&(n="height",r="clientY",o="top",i="bottom",a="clientHeight"),f=T(f);var I=[];function D(t){var e=t.i===I.length,n=e?I[t.i-1]:I[t.i];M.call(n);var r=e?n.size-t.minSize-n._c:t.minSize+n._b;C.call(n,r)}return(s=l.map((function(t,e){var r,o={element:Dn(t),size:f[e],minSize:g[e],maxSize:h[e],snapOffset:$[e],i:e};if(e>0&&((r={a:e-1,b:e,dragging:!1,direction:S,parent:c})._b=Gn(v,e-1==0,!1,b),r._c=Gn(v,!1,e===l.length-1,b),"row-reverse"===p||"column-reverse"===p)){var i=r.a;r.a=r.b,r.b=i}if(e>0){var a=A(e,S,o.element);!function(t,e,r){var o=E(n,e,r);Object.keys(o).forEach((function(e){t.style[e]=o[e]}))}(a,v,e),r._a=L.bind(r),a.addEventListener("mousedown",r._a),a.addEventListener("touchstart",r._a),c.insertBefore(a,o.element),r.gutter=a}return j(o.element,o.size,Gn(v,0===e,e===l.length-1,b),e),e>0&&I.push(r),o}))).forEach((function(t){var e=t.element.getBoundingClientRect()[n];e0){var r=I[n-1],o=s[r.a],i=s[r.b];o.size=e[n-1],i.size=t,j(o.element,o.size,r._b,o.i),j(i.element,i.size,r._c,i.i)}}))},getSizes:O,collapse:function(t){D(s[t])},destroy:function(t,e){I.forEach((function(r){if(!0!==e?r.parent.removeChild(r.gutter):(r.gutter.removeEventListener("mousedown",r._a),r.gutter.removeEventListener("touchstart",r._a)),!0!==t){var o=z(n,r.a.size,r._b);Object.keys(o).forEach((function(t){s[r.a].element.style[t]="",s[r.b].element.style[t]=""}))}}))},parent:c,pairs:I}};function Wn(t,e,n){const r=t.slice();return r[5]=e[n],r[7]=n,r}function Vn(t){let e,n,r,o,a,s,l,c,u,p,f,h,v,$,k=t[5].title+"";return{c(){e=y("label"),n=y("input"),l=w(),c=y("div"),u=y("span"),p=b(k),h=w(),S(n,"type","radio"),S(n,"name",t[1]),n.value=r=t[5].value,S(n,"class","h-4 w-4 mt-0.5 cursor-pointer text-indigo-600 border-gray-300 focus:ring-indigo-500"),S(n,"aria-labelledby",o=t[1]+"-"+t[7]+"-label"),S(n,"aria-describedby",a=t[1]+"-"+t[7]+"-description"),n.checked=s=t[0]===t[5].value,S(u,"id",f=t[1]+"-"+t[7]+"-label"),S(u,"class","block text-sm font-medium"),j(u,"text-indigo-900",t[0]===t[5].value),j(u,"text-gray-900",t[0]!==t[5].value),S(c,"class","ml-3 flex flex-col"),S(e,"class","relative border flex cursor-pointer w-full"),j(e,"p-3",!t[3]),j(e,"py-2",t[3]),j(e,"px-3",t[3]),j(e,"rounded-tl-md",0===t[7]),j(e,"rounded-bl-md",0===t[7]),j(e,"rounded-tr-md",t[7]===t[2].length-1),j(e,"rounded-br-md",t[7]===t[2].length-1),j(e,"bg-indigo-50",t[0]===t[5].value),j(e,"border-indigo-200",t[0]===t[5].value),j(e,"z-10",t[0]===t[5].value),j(e,"border-gray-200",t[0]!==t[5].value)},m(r,o){g(r,e,o),d(e,n),d(e,l),d(e,c),d(c,u),d(u,p),d(e,h),v||($=x(n,"change",(function(){i(t[4](t[5].value))&&t[4](t[5].value).apply(this,arguments)})),v=!0)},p(i,l){t=i,2&l&&S(n,"name",t[1]),4&l&&r!==(r=t[5].value)&&(n.value=r),2&l&&o!==(o=t[1]+"-"+t[7]+"-label")&&S(n,"aria-labelledby",o),2&l&&a!==(a=t[1]+"-"+t[7]+"-description")&&S(n,"aria-describedby",a),5&l&&s!==(s=t[0]===t[5].value)&&(n.checked=s),4&l&&k!==(k=t[5].title+"")&&z(p,k),2&l&&f!==(f=t[1]+"-"+t[7]+"-label")&&S(u,"id",f),5&l&&j(u,"text-indigo-900",t[0]===t[5].value),5&l&&j(u,"text-gray-900",t[0]!==t[5].value),8&l&&j(e,"p-3",!t[3]),8&l&&j(e,"py-2",t[3]),8&l&&j(e,"px-3",t[3]),4&l&&j(e,"rounded-tr-md",t[7]===t[2].length-1),4&l&&j(e,"rounded-br-md",t[7]===t[2].length-1),5&l&&j(e,"bg-indigo-50",t[0]===t[5].value),5&l&&j(e,"border-indigo-200",t[0]===t[5].value),5&l&&j(e,"z-10",t[0]===t[5].value),5&l&&j(e,"border-gray-200",t[0]!==t[5].value)},d(t){t&&m(e),v=!1,$()}}}function qn(e){let n,r=e[2],o=[];for(let t=0;t{"name"in t&&n(1,r=t.name),"value"in t&&n(0,o=t.value),"options"in t&&n(2,i=t.options),"sm"in t&&n(3,a=t.sm)},[o,r,i,a,t=>{n(0,o=t)}]}class Jn extends pt{constructor(t){super(),ut(this,t,Qn,qn,a,{name:1,value:0,options:2,sm:3})}}function Xn(e){let n,r,i,a,s,l,c,u,p;return{c(){n=y("div"),r=y("span"),r.innerHTML='',i=w(),a=y("input"),l=w(),c=y("span"),c.innerHTML='',S(r,"class","bg-indigo-50 hover:bg-indigo-100 border-indigo-200 z-10 rounded-tl-md rounded-bl-md relative border p-3 flex cursor-pointer"),S(a,"type","text"),S(a,"class","focus:ring-indigo-500 focus:border-indigo-500 focus:z-20 text-center border-gray-300 w-full px-3"),a.value=s=1e5===e[0]?"∞":e[0],S(c,"class","bg-indigo-50 hover:bg-indigo-100 border-indigo-200 z-10 rounded-tr-md rounded-br-md relative border p-3 flex cursor-pointer"),S(n,"class","bg-white rounded-md -space-x-px flex")},m(t,o){g(t,n,o),d(n,r),d(n,i),d(n,a),d(n,l),d(n,c),u||(p=[x(r,"click",e[1]),x(a,"change",e[3]),x(c,"click",e[2])],u=!0)},p(t,[e]){1&e&&s!==(s=1e5===t[0]?"∞":t[0])&&a.value!==s&&(a.value=s)},i:t,o:t,d(t){t&&m(n),u=!1,o(p)}}}function Yn(t,e,n){let{value:r}=e,{min:o=2}=e,{max:i=10}=e,{step:a=1}=e;const s=t=>Math.min(Math.max(t,o),i);return t.$$set=t=>{"value"in t&&n(0,r=t.value),"min"in t&&n(4,o=t.min),"max"in t&&n(5,i=t.max),"step"in t&&n(6,a=t.step)},[r,()=>{n(0,r=s(r-a))},()=>{n(0,r=s(r+a))},t=>{let e=parseInt(t.target.value,10);isNaN(e)?n(0,r=2):n(0,r=Math.max(Math.min(e,i),o))},o,i,a]}class Zn extends pt{constructor(t){super(),ut(this,t,Yn,Xn,a,{value:0,min:4,max:5,step:6})}}function Kn(e){let n,r;return{c(){n=v("svg"),r=v("path"),S(r,"stroke-linecap","round"),S(r,"stroke-linejoin","round"),S(r,"stroke-width","2"),S(r,"d","M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"),S(n,"xmlns","http://www.w3.org/2000/svg"),S(n,"fill","none"),S(n,"viewBox","0 0 24 24"),S(n,"stroke","currentColor"),S(n,"class","-ml-1 mr-3 h-5 w-5")},m(t,e){g(t,n,e),d(n,r)},p:t,i:t,o:t,d(t){t&&m(n)}}}class tr extends pt{constructor(t){super(),ut(this,t,null,Kn,a,{})}}function er(e){let n,r;return{c(){n=v("svg"),r=v("path"),S(r,"stroke-linecap","round"),S(r,"stroke-linejoin","round"),S(r,"stroke-width","2"),S(r,"d","M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"),S(n,"xmlns","http://www.w3.org/2000/svg"),S(n,"fill","none"),S(n,"viewBox","0 0 24 24"),S(n,"stroke","currentColor"),S(n,"class","-ml-1 mr-3 h-5 w-5")},m(t,e){g(t,n,e),d(n,r)},p:t,i:t,o:t,d(t){t&&m(n)}}}class nr extends pt{constructor(t){super(),ut(this,t,null,er,a,{})}}const{document:rr}=nt;function or(t,e,n){const r=t.slice();return r[41]=e[n],r}function ir(t,e){let n,r;return{key:t,first:null,c(){n=y("div"),S(n,"id",r=e[41].id),this.first=n},m(t,e){g(t,n,e)},p(t,o){e=t,512&o[0]&&r!==(r=e[41].id)&&S(n,"id",r)},d(t){t&&m(n)}}}function ar(t){let e,n,r;return e=new tr({}),{c(){st(e.$$.fragment),n=b(" Copy")},m(t,o){lt(e,t,o),g(t,n,o),r=!0},i(t){r||(tt(e.$$.fragment,t),r=!0)},o(t){et(e.$$.fragment,t),r=!1},d(t){ct(e,t),t&&m(n)}}}function sr(t){let e,n,r;return e=new nr({}),{c(){st(e.$$.fragment),n=b(" Copied")},m(t,o){lt(e,t,o),g(t,n,o),r=!0},i(t){r||(tt(e.$$.fragment,t),r=!0)},o(t){et(e.$$.fragment,t),r=!1},d(t){ct(e,t),t&&m(n)}}}function lr(t){let e,n;return e=new Cn({props:{language:"jsx",$$slots:{default:[ur]},$$scope:{ctx:t}}}),{c(){st(e.$$.fragment)},m(t,r){lt(e,t,r),n=!0},p(t,n){const r={};32768&n[0]|8192&n[1]&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){n||(tt(e.$$.fragment,t),n=!0)},o(t){et(e.$$.fragment,t),n=!1},d(t){ct(e,t)}}}function cr(t){let e,n;return e=new Cn({props:{language:"javascript",$$slots:{default:[pr]},$$scope:{ctx:t}}}),{c(){st(e.$$.fragment)},m(t,r){lt(e,t,r),n=!0},p(t,n){const r={};16384&n[0]|8192&n[1]&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){n||(tt(e.$$.fragment,t),n=!0)},o(t){et(e.$$.fragment,t),n=!1},d(t){ct(e,t)}}}function ur(t){let e;return{c(){e=b(t[15])},m(t,n){g(t,e,n)},p(t,n){32768&n[0]&&z(e,t[15])},d(t){t&&m(e)}}}function pr(t){let e;return{c(){e=b(t[14])},m(t,n){g(t,e,n)},p(t,n){16384&n[0]&&z(e,t[14])},d(t){t&&m(e)}}}function fr(t){let e,n,r,o,i,a,s,l,c,u,p;const f=[gr,dr],h=[];function v(t,e){return t[12]?0:1}return i=v(t),a=h[i]=f[i](t),l=new Cn({props:{language:"html",$$slots:{default:[mr]},$$scope:{ctx:t}}}),{c(){e=y("h3"),e.textContent="HTML",n=w(),r=y("div"),o=y("button"),a.c(),s=w(),st(l.$$.fragment),S(e,"class","text-lg font-medium mb-2 mt-4"),S(o,"type","button"),S(o,"class","absolute opacity-0 group-hover:opacity-100 top-1.5 right-1.5 inline-flex items-center px-4 py-2 border border-gray-300 shadow-sm text-base font-medium rounded-md text-gray-700 bg-gray-300 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"),S(r,"class","relative markdown group")},m(a,f){g(a,e,f),g(a,n,f),g(a,r,f),d(r,o),h[i].m(o,null),d(r,s),lt(l,r,null),c=!0,u||(p=x(o,"click",t[19]),u=!0)},p(t,e){let n=i;i=v(t),i!==n&&(Z(),et(h[n],1,1,()=>{h[n]=null}),K(),a=h[i],a||(a=h[i]=f[i](t),a.c()),tt(a,1),a.m(o,null));const r={};65536&e[0]|8192&e[1]&&(r.$$scope={dirty:e,ctx:t}),l.$set(r)},i(t){c||(tt(a),tt(l.$$.fragment,t),c=!0)},o(t){et(a),et(l.$$.fragment,t),c=!1},d(t){t&&m(e),t&&m(n),t&&m(r),h[i].d(),ct(l),u=!1,p()}}}function dr(t){let e,n,r;return e=new tr({}),{c(){st(e.$$.fragment),n=b(" Copy")},m(t,o){lt(e,t,o),g(t,n,o),r=!0},i(t){r||(tt(e.$$.fragment,t),r=!0)},o(t){et(e.$$.fragment,t),r=!1},d(t){ct(e,t),t&&m(n)}}}function gr(t){let e,n,r;return e=new nr({}),{c(){st(e.$$.fragment),n=b(" Copied")},m(t,o){lt(e,t,o),g(t,n,o),r=!0},i(t){r||(tt(e.$$.fragment,t),r=!0)},o(t){et(e.$$.fragment,t),r=!1},d(t){ct(e,t),t&&m(n)}}}function mr(t){let e;return{c(){e=b(t[16])},m(t,n){g(t,e,n)},p(t,n){65536&n[0]&&z(e,t[16])},d(t){t&&m(e)}}}function hr(t){let e,n,r;return e=new tr({}),{c(){st(e.$$.fragment),n=b(" Copy")},m(t,o){lt(e,t,o),g(t,n,o),r=!0},i(t){r||(tt(e.$$.fragment,t),r=!0)},o(t){et(e.$$.fragment,t),r=!1},d(t){ct(e,t),t&&m(n)}}}function yr(t){let e,n,r;return e=new nr({}),{c(){st(e.$$.fragment),n=b(" Copied")},m(t,o){lt(e,t,o),g(t,n,o),r=!0},i(t){r||(tt(e.$$.fragment,t),r=!0)},o(t){et(e.$$.fragment,t),r=!1},d(t){ct(e,t),t&&m(n)}}}function vr(t){let e;return{c(){e=b(t[17])},m(t,n){g(t,e,n)},p(t,n){131072&n[0]&&z(e,t[17])},d(t){t&&m(e)}}}function br(t){let e,n,r,o,i,a;function s(e){t[28](e)}let l={name:"layout",options:[{title:"Flex",value:"flex"},{title:"Float",value:"float"}]};return void 0!==t[1]&&(l.value=t[1]),o=new Jn({props:l}),I.push(()=>at(o,"value",s)),{c(){e=y("div"),n=y("label"),n.textContent="CSS Horizontal Layout",r=w(),st(o.$$.fragment),S(n,"for","company_website"),S(n,"class","block text-sm font-medium text-gray-700 mb-1")},m(t,i){g(t,e,i),d(e,n),d(e,r),lt(o,e,null),a=!0},p(t,e){const n={};!i&&2&e[0]&&(i=!0,n.value=t[1],W(()=>i=!1)),o.$set(n)},i(t){a||(tt(o.$$.fragment,t),a=!0)},o(t){et(o.$$.fragment,t),a=!1},d(t){t&&m(e),ct(o)}}}function wr(t){let e,n,r,i,a,s,l,c,u,p,f,h,v,$,k,A,E,O,P,C,F,M,T,_,L,D,N,G,R,B,H,U,V,q,Q,J,X,Y,nt,ot,it,ut,pt,ft,dt,gt,mt,ht,yt,vt,bt,wt,$t,xt,St,kt,At,zt,Et,jt,Ot,Pt,Ct,Ft,Mt,Tt,_t,Lt,It,Dt,Nt,Gt,Rt,Bt,Ht,Ut,Wt,Vt,qt,Qt,Jt,Xt,Yt,Zt,Kt,te,ee,ne,re,oe,ie,ae,se,le,ce,ue,pe,fe,de=[],ge=new Map,me="horizontal"===t[0]?"Columns":"Rows",he=t[9];const ye=t=>t[41].key;for(let e=0;eat(A,"value",ve));const we=[sr,ar],$e=[];function xe(t,e){return t[11]?0:1}F=xe(t),M=$e[F]=we[F](t);const Se=[cr,lr],ke=[];function Ae(t,e){return"vanilla"===t[10]?0:"react"===t[10]?1:-1}~(_=Ae(t))&&(L=ke[_]=Se[_](t));let ze="vanilla"===t[10]&&fr(t);const Ee=[yr,hr],je=[];function Oe(t,e){return t[13]?0:1}function Pe(e){t[27](e)}U=Oe(t),V=je[U]=Ee[U](t),Q=new Cn({props:{language:"css",$$slots:{default:[vr]},$$scope:{ctx:t}}});let Ce={name:"direction",options:[{title:"Horizontal",value:"horizontal"},{title:"Vertical",value:"vertical"}]};void 0!==t[0]&&(Ce.value=t[0]),ht=new Jn({props:Ce}),I.push(()=>at(ht,"value",Pe));let Fe="horizontal"===t[0]&&br(t);function Me(e){t[29](e)}let Te={default:$r};function _e(e){t[30](e)}void 0!==t[2]&&(Te.value=t[2]),kt=new Zn({props:Te}),I.push(()=>at(kt,"value",Me));let Le={default:xr,step:50,min:0,max:300};function Ie(e){t[31](e)}void 0!==t[3]&&(Le.value=t[3]),Pt=new Zn({props:Le}),I.push(()=>at(Pt,"value",_e));let De={default:Sr,step:50,min:0,max:1e3};function Ne(e){t[32](e)}void 0!==t[4]&&(De.value=t[4]),Lt=new Zn({props:De}),I.push(()=>at(Lt,"value",Ie));let Ge={default:kr,min:1,max:50};function Re(e){t[33](e)}void 0!==t[5]&&(Ge.value=t[5]),Bt=new Zn({props:Ge}),I.push(()=>at(Bt,"value",Ne));let Be={name:"gutterAlign",options:[{title:"Start",value:"start"},{title:"Center",value:"center"},{title:"End",value:"end"}]};function He(e){t[34](e)}void 0!==t[6]&&(Be.value=t[6]),Qt=new Jn({props:Be}),I.push(()=>at(Qt,"value",Re));let Ue={default:Ar,min:0,max:100,step:10};function We(e){t[35](e)}void 0!==t[7]&&(Ue.value=t[7]),te=new Zn({props:Ue}),I.push(()=>at(te,"value",He));let Ve={default:zr,min:1,max:20,step:1};return void 0!==t[8]&&(Ve.value=t[8]),ae=new Zn({props:Ve}),I.push(()=>at(ae,"value",We)),{c(){e=w(),n=y("div"),r=y("div"),i=y("section"),a=y("h2"),a.textContent="Split.js",s=w(),l=y("div"),c=y("div"),u=y("div");for(let t=0;t<\/script>',ot=w(),it=y("h2"),it.textContent="Options",ut=w(),pt=y("div"),ft=y("div"),dt=y("div"),gt=y("label"),gt.textContent="Direction",mt=w(),st(ht.$$.fragment),vt=w(),Fe&&Fe.c(),bt=w(),wt=y("div"),$t=y("label"),xt=b(me),St=w(),st(kt.$$.fragment),zt=w(),Et=y("div"),jt=y("label"),jt.textContent="Minimum Size",Ot=w(),st(Pt.$$.fragment),Ft=w(),Mt=y("div"),Tt=y("label"),Tt.textContent="Maximum Size",_t=w(),st(Lt.$$.fragment),Dt=w(),Nt=y("div"),Gt=y("label"),Gt.textContent="Gutter Size",Rt=w(),st(Bt.$$.fragment),Ut=w(),Wt=y("div"),Vt=y("label"),Vt.textContent="Gutter Alignment",qt=w(),st(Qt.$$.fragment),Xt=w(),Yt=y("div"),Zt=y("label"),Zt.textContent="Snap Offset",Kt=w(),st(te.$$.fragment),ne=w(),re=y("div"),oe=y("label"),oe.textContent="Drag Interval",ie=w(),st(ae.$$.fragment),le=w(),ce=y("div"),ce.innerHTML='\n View Docs on GitHub \n \n Sponsor on GitHub',rr.title="Split.js",S(a,"class","sr-only"),S(a,"id","section-1-title"),S(u,"class","h-full"),j(u,"flex","flex"===t[1]&&"horizontal"===t[0]),j(u,"flex-row","flex"===t[1]&&"horizontal"===t[0]),S(c,"class","border-4 border-dashed border-gray-200 rounded-lg h-64"),S(l,"class","rounded-lg bg-white overflow-hidden shadow p-4"),S(i,"aria-labelledby","section-1-title"),S(h,"class","sr-only"),S(h,"id","section-1-title"),S(k,"class","w-1/3 mb-4"),S(C,"type","button"),S(C,"class","absolute opacity-0 group-hover:opacity-100 top-1.5 right-1.5 inline-flex items-center px-4 py-2 border border-gray-300 shadow-sm text-base font-medium rounded-md text-gray-700 bg-gray-300 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"),S(P,"class","relative markdown group"),S(G,"class","text-lg font-medium mb-2 mt-4"),S(H,"type","button"),S(H,"class","absolute opacity-0 group-hover:opacity-100 top-1.5 right-1.5 inline-flex items-center px-4 py-2 border border-gray-300 shadow-sm text-base font-medium rounded-md text-gray-700 bg-gray-300 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"),S(B,"class","relative markdown group"),S($,"class","rounded-lg bg-white overflow-hidden shadow p-4 markdown"),S(f,"aria-labelledby","section-2-title"),S(r,"class","grid grid-cols-1 gap-4 lg:col-span-2"),S(nt,"id","ad_slot"),S(nt,"class","mb-4 rounded-lg bg-white overflow-hidden shadow order-last lg:order-first"),S(it,"class","sr-only"),S(it,"id","section-2-title"),S(gt,"for","company_website"),S(gt,"class","block text-sm font-medium text-gray-700 mb-1"),S($t,"for","company_website"),S($t,"class","block text-sm font-medium text-gray-700 mb-1"),S(jt,"for","company_website"),S(jt,"class","block text-sm font-medium text-gray-700 mb-1"),S(Tt,"for","company_website"),S(Tt,"class","block text-sm font-medium text-gray-700 mb-1"),S(Gt,"for","company_website"),S(Gt,"class","block text-sm font-medium text-gray-700 mb-1"),S(Vt,"for","company_website"),S(Vt,"class","block text-sm font-medium text-gray-700 mb-1"),S(Zt,"for","company_website"),S(Zt,"class","block text-sm font-medium text-gray-700 mb-1"),S(oe,"for","company_website"),S(oe,"class","block text-sm font-medium text-gray-700 mb-1"),S(ft,"class","p-6 space-y-4"),S(pt,"class","mb-4 rounded-lg bg-white overflow-hidden shadow"),S(ce,"class","order-last"),S(Y,"aria-labelledby","section-2-title"),S(Y,"class","flex flex-col"),S(X,"class","grid grid-cols-1 gap-4"),S(n,"class","grid grid-cols-1 gap-4 items-start lg:grid-cols-3 lg:gap-8")},m(o,m){g(o,e,m),g(o,n,m),d(n,r),d(r,i),d(i,a),d(i,s),d(i,l),d(l,c),d(c,u);for(let t=0;tv.get(o)?(w.add(r),$(e)):(b.add(o),f--):(l(n,a),f--)}for(;f--;){const e=t[f];y.has(e.key)||l(e,a)}for(;d;)$(h[d-1]);return h}(de,e,ye,1,t,he,ge,u,rt,ir,null,or)),3&e[0]&&j(u,"flex","flex"===t[1]&&"horizontal"===t[0]),3&e[0]&&j(u,"flex-row","flex"===t[1]&&"horizontal"===t[0]);const n={};!E&&1024&e[0]&&(E=!0,n.value=t[10],W(()=>E=!1)),A.$set(n);let r=F;F=xe(t),F!==r&&(Z(),et($e[r],1,1,()=>{$e[r]=null}),K(),M=$e[F],M||(M=$e[F]=we[F](t),M.c()),tt(M,1),M.m(C,null));let o=_;_=Ae(t),_===o?~_&&ke[_].p(t,e):(L&&(Z(),et(ke[o],1,1,()=>{ke[o]=null}),K()),~_?(L=ke[_],L?L.p(t,e):(L=ke[_]=Se[_](t),L.c()),tt(L,1),L.m(P,null)):L=null),"vanilla"===t[10]?ze?(ze.p(t,e),1024&e[0]&&tt(ze,1)):(ze=fr(t),ze.c(),tt(ze,1),ze.m($,N)):ze&&(Z(),et(ze,1,1,()=>{ze=null}),K());let i=U;U=Oe(t),U!==i&&(Z(),et(je[i],1,1,()=>{je[i]=null}),K(),V=je[U],V||(V=je[U]=Ee[U](t),V.c()),tt(V,1),V.m(H,null));const a={};131072&e[0]|8192&e[1]&&(a.$$scope={dirty:e,ctx:t}),Q.$set(a);const s={};!yt&&1&e[0]&&(yt=!0,s.value=t[0],W(()=>yt=!1)),ht.$set(s),"horizontal"===t[0]?Fe?(Fe.p(t,e),1&e[0]&&tt(Fe,1)):(Fe=br(t),Fe.c(),tt(Fe,1),Fe.m(ft,bt)):Fe&&(Z(),et(Fe,1,1,()=>{Fe=null}),K()),(!ue||1&e[0])&&me!==(me="horizontal"===t[0]?"Columns":"Rows")&&z(xt,me);const l={};!At&&4&e[0]&&(At=!0,l.value=t[2],W(()=>At=!1)),kt.$set(l);const c={};!Ct&&8&e[0]&&(Ct=!0,c.value=t[3],W(()=>Ct=!1)),Pt.$set(c);const p={};!It&&16&e[0]&&(It=!0,p.value=t[4],W(()=>It=!1)),Lt.$set(p);const f={};!Ht&&32&e[0]&&(Ht=!0,f.value=t[5],W(()=>Ht=!1)),Bt.$set(f);const d={};!Jt&&64&e[0]&&(Jt=!0,d.value=t[6],W(()=>Jt=!1)),Qt.$set(d);const g={};!ee&&128&e[0]&&(ee=!0,g.value=t[7],W(()=>ee=!1)),te.$set(g);const m={};!se&&256&e[0]&&(se=!0,m.value=t[8],W(()=>se=!1)),ae.$set(m)},i(t){ue||(tt(A.$$.fragment,t),tt(M),tt(L),tt(ze),tt(V),tt(Q.$$.fragment,t),tt(ht.$$.fragment,t),tt(Fe),tt(kt.$$.fragment,t),tt(Pt.$$.fragment,t),tt(Lt.$$.fragment,t),tt(Bt.$$.fragment,t),tt(Qt.$$.fragment,t),tt(te.$$.fragment,t),tt(ae.$$.fragment,t),ue=!0)},o(t){et(A.$$.fragment,t),et(M),et(L),et(ze),et(V),et(Q.$$.fragment,t),et(ht.$$.fragment,t),et(Fe),et(kt.$$.fragment,t),et(Pt.$$.fragment,t),et(Lt.$$.fragment,t),et(Bt.$$.fragment,t),et(Qt.$$.fragment,t),et(te.$$.fragment,t),et(ae.$$.fragment,t),ue=!1},d(t){t&&m(e),t&&m(n);for(let t=0;tn(21,f=t)),l(t,$t,t=>n(24,d=t));let g=null,m="vanilla",h=En(f),y=h.direction||"horizontal",v=h.layout||"flex",b=h.panes?parseInt(h.panes,10):$r,w=h.minSize?parseInt(h.minSize,10):xr,$=h.maxSize?parseInt(h.maxSize,10):Sr,x=h.gutterSize?parseInt(h.gutterSize,10):kr,S=h.gutterAlign||"center",k=h.snapOffset?parseInt(h.snapOffset,10):Ar,A=h.dragInterval?parseInt(h.dragInterval,10):zr,z=!1,E=!1,j=!1;const O=(t,e,n)=>"width"===t?{..."float"===v&&{height:"100%",float:"left"},[t]:`calc(${e}% - ${n}px)`}:"height"===t?{[t]:`calc(${e}% - ${n}px)`}:void 0,P=(t,e)=>{const n={backgroundColor:"rgb(229, 231, 235)",backgroundRepeat:"no-repeat",backgroundPosition:"50%"};return"width"===t?{...n,..."float"===v&&{height:"100%",float:"left"},[t]:e+"px",backgroundImage:"url(/vertical.png)"}:"height"===t?{...n,[t]:e+"px",backgroundImage:"url(/horizontal.png)"}:void 0};return M(()=>{g=(()=>{if(document.querySelector(a[0].selector))return g&&g.destroy(),Un(a.map(t=>t.selector),{minSize:w,maxSize:$,direction:y,gutterSize:x,gutterAlign:S,snapOffset:k,dragInterval:A,gutterStyle:P,elementStyle:O})})()}),t.$$.update=()=>{511&t.$$.dirty[0]&&n(22,r={..."horizontal"!==y&&{direction:y},..."flex"!==v&&{layout:v},...b!==$r&&{panes:b},...w!==xr&&{minSize:w},...$!==Sr&&{maxSize:$},...x!==kr&&{gutterSize:x},..."center"!==S&&{gutterAlign:S},...k!==Ar&&{snapOffset:k},...A!==zr&&{dragInterval:A}}),4194304&t.$$.dirty[0]&&n(23,o=jn(r)),27262976&t.$$.dirty[0]&&"/"===d&&o!==f&&St(o?"/?"+o:"/"),505&t.$$.dirty[0]&&n(25,i="horizontal"!==y||w!==xr||$!==Sr||x!==kr||"center"!==S||k!==Ar||A!==zr),7&t.$$.dirty[0]&&n(9,a=[...new Array(b)].map((t,e)=>({id:"split-"+e,key:`split-${e}-${y}-${v}`,selector:"#split-"+e}))),33555449&t.$$.dirty[0]&&n(14,s=`\nimport Split from 'split.js'\n\nSplit([${a.map(t=>`'${t.selector}'`).join(", ")}]${i?`, {\n${["horizontal"!==y?` direction: '${y}',`:"",w!==xr?` minSize: ${w},`:"",$!==Sr?` maxSize: ${$},`:"",x!==kr?` gutterSize: ${x},`:"","center"!==S?` gutterAlign: '${S}',`:"",k!==Ar?` snapOffset: ${k},`:"",A!==zr?` dragInterval: ${A},`:""].filter(t=>""!==t).join("\n")}\n}`:""})\n`.trim()),33555449&t.$$.dirty[0]&&n(15,c=`\nimport Split from 'react-split'\n\n""!==t).join("\n")+"\n":""}>\n${a.map(t=>"
").join("\n")}\n\n`.trim()),512&t.$$.dirty[0]&&n(16,u=`\n
\n${a.map(t=>`
`).join("\n")}\n
`.trim()),3&t.$$.dirty[0]&&n(17,p=`\n${"horizontal"===y&&"flex"===v?"\n.split {\n display: flex;\n flex-direction: row;\n}":""}${"horizontal"===y&&"float"===v?"\n.split {\n height: 300px;\n}\n\n.split > div {\n float: left;\n height: 100%;\n}":""}\n\n.gutter {\n background-color: #eee;\n background-repeat: no-repeat;\n background-position: 50%;\n}\n${"horizontal"===y?"\n.gutter.gutter-horizontal {\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==');\n cursor: col-resize;\n}":"\n.gutter.gutter-vertical {\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFAQMAAABo7865AAAABlBMVEVHcEzMzMzyAv2sAAAAAXRSTlMAQObYZgAAABBJREFUeF5jOAMEEAIEEFwAn3kMwcB6I2AAAAAASUVORK5CYII=');\n cursor: row-resize;\n}"}\n`.trim())},[y,v,b,w,$,x,S,k,A,a,m,z,E,j,s,c,u,p,()=>{navigator.clipboard.writeText("vanilla"===m?s:c).then(()=>{n(11,z=!0),setTimeout(()=>{n(11,z=!1)},1e3)})},()=>{navigator.clipboard.writeText(u).then(()=>{n(12,E=!0),setTimeout(()=>{n(12,E=!1)},1e3)})},()=>{navigator.clipboard.writeText(p).then(()=>{n(13,j=!0),setTimeout(()=>{n(13,j=!1)},1e3)})},f,r,o,d,i,function(t){m=t,n(10,m)},function(t){y=t,n(0,y)},function(t){v=t,n(1,v)},function(t){b=t,n(2,b)},function(t){w=t,n(3,w)},function(t){$=t,n(4,$)},function(t){x=t,n(5,x)},function(t){S=t,n(6,S)},function(t){k=t,n(7,k)},function(t){A=t,n(8,A)}]}class jr extends pt{constructor(t){super(),ut(this,t,Er,wr,a,{},[-1,-1])}}var Or=function(t,e){return Number(t.slice(0,-1*e.length))},Pr=function(t){return t.endsWith("px")?{value:t,type:"px",numeric:Or(t,"px")}:t.endsWith("fr")?{value:t,type:"fr",numeric:Or(t,"fr")}:t.endsWith("%")?{value:t,type:"%",numeric:Or(t,"%")}:"auto"===t?{value:t,type:"auto"}:null},Cr=function(t){return t.split(" ").map(Pr)},Fr=function(t,e,n){return e.concat(n).map((function(e){return e.style[t]})).filter((function(t){return void 0!==t&&""!==t}))},Mr=function(t){for(var e=0;e0)return e;return null},Tr=function(){return!1},_r=function(t,e,n){t.style[e]=n},Lr=function(t,e,n){var r=t[e];return void 0!==r?r:n};function Ir(t){var e;return(e=[]).concat.apply(e,Array.from(t.ownerDocument.styleSheets).map((function(t){var e=[];try{e=Array.from(t.cssRules||[])}catch(t){}return e}))).filter((function(e){var n=!1;try{n=t.matches(e.selectorText)}catch(t){}return n}))}var Dr=function(t,e,n){this.direction=t,this.element=e.element,this.track=e.track,"column"===t?(this.gridTemplateProp="grid-template-columns",this.gridGapProp="grid-column-gap",this.cursor=Lr(n,"columnCursor",Lr(n,"cursor","col-resize")),this.snapOffset=Lr(n,"columnSnapOffset",Lr(n,"snapOffset",30)),this.dragInterval=Lr(n,"columnDragInterval",Lr(n,"dragInterval",1)),this.clientAxis="clientX",this.optionStyle=Lr(n,"gridTemplateColumns")):"row"===t&&(this.gridTemplateProp="grid-template-rows",this.gridGapProp="grid-row-gap",this.cursor=Lr(n,"rowCursor",Lr(n,"cursor","row-resize")),this.snapOffset=Lr(n,"rowSnapOffset",Lr(n,"snapOffset",30)),this.dragInterval=Lr(n,"rowDragInterval",Lr(n,"dragInterval",1)),this.clientAxis="clientY",this.optionStyle=Lr(n,"gridTemplateRows")),this.onDragStart=Lr(n,"onDragStart",Tr),this.onDragEnd=Lr(n,"onDragEnd",Tr),this.onDrag=Lr(n,"onDrag",Tr),this.writeStyle=Lr(n,"writeStyle",_r),this.startDragging=this.startDragging.bind(this),this.stopDragging=this.stopDragging.bind(this),this.drag=this.drag.bind(this),this.minSizeStart=e.minSizeStart,this.minSizeEnd=e.minSizeEnd,this.maxSizeStart=e.maxSizeStart,this.maxSizeEnd=e.maxSizeEnd,e.element&&(this.element.addEventListener("mousedown",this.startDragging),this.element.addEventListener("touchstart",this.startDragging))};Dr.prototype.getDimensions=function(){var t=this.grid.getBoundingClientRect(),e=t.width,n=t.height,r=t.top,o=t.bottom,i=t.left,a=t.right;"column"===this.direction?(this.start=r,this.end=o,this.size=n):"row"===this.direction&&(this.start=i,this.end=a,this.size=e)},Dr.prototype.getSizeAtTrack=function(t,e){return function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=!1);var o=r?t+1:t;return e.slice(0,o).reduce((function(t,e){return t+e.numeric}),0)+(n?t*n:0)}(t,this.computedPixels,this.computedGapPixels,e)},Dr.prototype.getSizeOfTrack=function(t){return this.computedPixels[t].numeric},Dr.prototype.getRawTracks=function(){var t=Fr(this.gridTemplateProp,[this.grid],Ir(this.grid));if(!t.length){if(this.optionStyle)return this.optionStyle;throw Error("Unable to determine grid template tracks from styles.")}return t[0]},Dr.prototype.getGap=function(){var t=Fr(this.gridGapProp,[this.grid],Ir(this.grid));return t.length?t[0]:null},Dr.prototype.getRawComputedTracks=function(){return window.getComputedStyle(this.grid)[this.gridTemplateProp]},Dr.prototype.getRawComputedGap=function(){return window.getComputedStyle(this.grid)[this.gridGapProp]},Dr.prototype.setTracks=function(t){this.tracks=t.split(" "),this.trackValues=Cr(t)},Dr.prototype.setComputedTracks=function(t){this.computedTracks=t.split(" "),this.computedPixels=Cr(t)},Dr.prototype.setGap=function(t){this.gap=t},Dr.prototype.setComputedGap=function(t){var e,n;this.computedGap=t,this.computedGapPixels=(e="px",((n=this.computedGap).endsWith(e)?Number(n.slice(0,-1*e.length)):null)||0)},Dr.prototype.getMousePosition=function(t){return"touches"in t?t.touches[0][this.clientAxis]:t[this.clientAxis]},Dr.prototype.startDragging=function(t){if(!("button"in t)||0===t.button){t.preventDefault(),this.element?this.grid=this.element.parentNode:this.grid=t.target.parentNode,this.getDimensions(),this.setTracks(this.getRawTracks()),this.setComputedTracks(this.getRawComputedTracks()),this.setGap(this.getGap()),this.setComputedGap(this.getRawComputedGap());var e=this.trackValues.filter((function(t){return"%"===t.type})),n=this.trackValues.filter((function(t){return"fr"===t.type}));if(this.totalFrs=n.length,this.totalFrs){var r=Mr(n);null!==r&&(this.frToPixels=this.computedPixels[r].numeric/n[r].numeric)}if(e.length){var o=Mr(e);null!==o&&(this.percentageToPixels=this.computedPixels[o].numeric/e[o].numeric)}var i=this.getSizeAtTrack(this.track,!1)+this.start;if(this.dragStartOffset=this.getMousePosition(t)-i,this.aTrack=this.track-1,!(this.tracko-this.snapOffset&&(e=o),eo&&(e=o);var i=e-this.aTrackStart-this.dragStartOffset-this.computedGapPixels,a=this.bTrackEnd-e+this.dragStartOffset-n-this.computedGapPixels;if(this.dragInterval>1){var s=Math.round(i/this.dragInterval)*this.dragInterval;a-=s-i,i=s}if(i{h[n]=null}),K(),a=h[i],a||(a=h[i]=f[i](t),a.c()),tt(a,1),a.m(o,null));const r={};32768&e[0]|512&e[1]&&(r.$$scope={dirty:e,ctx:t}),l.$set(r)},i(t){c||(tt(a),tt(l.$$.fragment,t),c=!0)},o(t){et(a),et(l.$$.fragment,t),c=!1},d(t){t&&m(e),t&&m(n),t&&m(r),h[i].d(),ct(l),u=!1,p()}}}function Zr(t){let e,n,r;return e=new tr({}),{c(){st(e.$$.fragment),n=b(" Copy")},m(t,o){lt(e,t,o),g(t,n,o),r=!0},i(t){r||(tt(e.$$.fragment,t),r=!0)},o(t){et(e.$$.fragment,t),r=!1},d(t){ct(e,t),t&&m(n)}}}function Kr(t){let e,n,r;return e=new nr({}),{c(){st(e.$$.fragment),n=b(" Copied")},m(t,o){lt(e,t,o),g(t,n,o),r=!0},i(t){r||(tt(e.$$.fragment,t),r=!0)},o(t){et(e.$$.fragment,t),r=!1},d(t){ct(e,t),t&&m(n)}}}function to(t){let e;return{c(){e=b(t[15])},m(t,n){g(t,e,n)},p(t,n){32768&n[0]&&z(e,t[15])},d(t){t&&m(e)}}}function eo(t){let e,n,r;return e=new tr({}),{c(){st(e.$$.fragment),n=b(" Copy")},m(t,o){lt(e,t,o),g(t,n,o),r=!0},i(t){r||(tt(e.$$.fragment,t),r=!0)},o(t){et(e.$$.fragment,t),r=!1},d(t){ct(e,t),t&&m(n)}}}function no(t){let e,n,r;return e=new nr({}),{c(){st(e.$$.fragment),n=b(" Copied")},m(t,o){lt(e,t,o),g(t,n,o),r=!0},i(t){r||(tt(e.$$.fragment,t),r=!0)},o(t){et(e.$$.fragment,t),r=!1},d(t){ct(e,t),t&&m(n)}}}function ro(t){let e;return{c(){e=b(t[16])},m(t,n){g(t,e,n)},p(t,n){65536&n[0]&&z(e,t[16])},d(t){t&&m(e)}}}function oo(t){let e,n,r,i,a,s,l,c,u,p,f,v,b,$,k,A,z,j,O,P,C,F,M,T,_,L,D,N,G,R,B,H,U,V,q,Q,J,X,Y,nt,rt,ot,it,ut,pt,ft,dt,gt,mt,ht,yt,vt,bt,wt,$t,xt,St,kt,At,zt,Et,jt,Ot,Pt,Ct,Ft,Mt,Tt,_t,Lt,It,Dt,Nt,Gt,Rt,Bt,Ht,Ut,Wt,Vt,qt,Qt,Jt,Xt,Yt=t[6],Zt=[];for(let e=0;eat(A,"value",Kt));const ee=[Vr,Wr],ne=[];function re(t,e){return t[10]?0:1}C=re(t),F=ne[C]=ee[C](t);const oe=[Qr,qr],ie=[];function ae(t,e){return"vanilla"===t[9]?0:"react"===t[9]?1:-1}~(T=ae(t))&&(_=ie[T]=oe[T](t));let se="vanilla"===t[9]&&Yr(t);const le=[no,eo],ce=[];function ue(t,e){return t[12]?0:1}function pe(e){t[28](e)}H=ue(t),U=ce[H]=le[H](t),q=new Cn({props:{language:"css",$$slots:{default:[ro]},$$scope:{ctx:t}}});let fe={default:io,min:1};function de(e){t[29](e)}void 0!==t[0]&&(fe.value=t[0]),gt=new Zn({props:fe}),I.push(()=>at(gt,"value",pe));let ge={default:ao,min:1};function me(e){t[30](e)}void 0!==t[1]&&(ge.value=t[1]),wt=new Zn({props:ge}),I.push(()=>at(wt,"value",de));let he={default:so,step:50,min:0,max:300};function ye(e){t[31](e)}void 0!==t[2]&&(he.value=t[2]),zt=new Zn({props:he}),I.push(()=>at(zt,"value",me));let ve={default:lo,step:50,min:0,max:1e3};function be(e){t[32](e)}void 0!==t[3]&&(ve.value=t[3]),Ft=new Zn({props:ve}),I.push(()=>at(Ft,"value",ye));let we={default:co,min:0,max:100,step:10};function $e(e){t[33](e)}void 0!==t[4]&&(we.value=t[4]),Dt=new Zn({props:we}),I.push(()=>at(Dt,"value",be));let xe={default:uo,min:1,max:20,step:1};return void 0!==t[5]&&(xe.value=t[5]),Ut=new Zn({props:xe}),I.push(()=>at(Ut,"value",$e)),{c(){e=w(),n=y("div"),r=y("div"),i=y("section"),a=y("h2"),a.textContent="Split.js",s=w(),l=y("div"),c=y("div"),u=y("div");for(let t=0;t<\/script>',nt=w(),rt=y("h2"),rt.textContent="Options",ot=w(),it=y("div"),ut=y("div"),pt=y("div"),ft=y("label"),ft.textContent="Rows",dt=w(),st(gt.$$.fragment),ht=w(),yt=y("div"),vt=y("label"),vt.textContent="Columns",bt=w(),st(wt.$$.fragment),xt=w(),St=y("div"),kt=y("label"),kt.textContent="Minimum Size",At=w(),st(zt.$$.fragment),jt=w(),Ot=y("div"),Pt=y("label"),Pt.textContent="Maximum Size",Ct=w(),st(Ft.$$.fragment),Tt=w(),_t=y("div"),Lt=y("label"),Lt.textContent="Snap Offset",It=w(),st(Dt.$$.fragment),Gt=w(),Rt=y("div"),Bt=y("label"),Bt.textContent="Drag Interval",Ht=w(),st(Ut.$$.fragment),Vt=w(),qt=y("div"),qt.innerHTML='\n View Docs on GitHub \n \n Sponsor on GitHub',Br.title="Split.js - Split-Grid",S(a,"class","sr-only"),S(a,"id","section-1-title"),S(u,"class","h-full grid"),E(u,"grid-template-rows",t[7]),E(u,"grid-template-columns",t[8]),S(c,"class","border-4 border-dashed border-gray-200 rounded-lg h-64"),S(l,"class","rounded-lg bg-white overflow-hidden shadow p-4"),S(i,"aria-labelledby","section-1-title"),S(v,"class","sr-only"),S(v,"id","section-1-title"),S(k,"class","w-1/3 mb-4"),S(P,"type","button"),S(P,"class","absolute opacity-0 group-hover:opacity-100 top-1.5 right-1.5 inline-flex items-center px-4 py-2 border border-gray-300 shadow-sm text-base font-medium rounded-md text-gray-700 bg-gray-300 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"),S(O,"class","relative markdown group"),S(N,"class","text-lg font-medium mb-2 mt-4"),S(B,"type","button"),S(B,"class","absolute opacity-0 group-hover:opacity-100 top-1.5 right-1.5 inline-flex items-center px-4 py-2 border border-gray-300 shadow-sm text-base font-medium rounded-md text-gray-700 bg-gray-300 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"),S(R,"class","relative markdown group"),S($,"class","rounded-lg bg-white overflow-hidden shadow p-4 markdown"),S(f,"aria-labelledby","section-2-title"),S(r,"class","grid grid-cols-1 gap-4 lg:col-span-2"),S(Y,"id","ad_slot"),S(Y,"class","mb-4 rounded-lg bg-white overflow-hidden shadow order-last lg:order-first"),S(rt,"class","sr-only"),S(rt,"id","section-2-title"),S(ft,"for","company_website"),S(ft,"class","block text-sm font-medium text-gray-700 mb-1"),S(vt,"for","company_website"),S(vt,"class","block text-sm font-medium text-gray-700 mb-1"),S(kt,"for","company_website"),S(kt,"class","block text-sm font-medium text-gray-700 mb-1"),S(Pt,"for","company_website"),S(Pt,"class","block text-sm font-medium text-gray-700 mb-1"),S(Lt,"for","company_website"),S(Lt,"class","block text-sm font-medium text-gray-700 mb-1"),S(Bt,"for","company_website"),S(Bt,"class","block text-sm font-medium text-gray-700 mb-1"),S(ut,"class","p-6 space-y-4"),S(it,"class","mb-4 rounded-lg bg-white overflow-hidden shadow"),S(qt,"class","order-last"),S(X,"aria-labelledby","section-2-title"),S(X,"class","flex flex-col"),S(J,"class","grid grid-cols-1 gap-4"),S(n,"class","grid grid-cols-1 gap-4 items-start lg:grid-cols-3 lg:gap-8")},m(o,m){g(o,e,m),g(o,n,m),d(n,r),d(r,i),d(i,a),d(i,s),d(i,l),d(l,c),d(c,u);for(let t=0;tz=!1)),A.$set(n);let r=C;C=re(t),C!==r&&(Z(),et(ne[r],1,1,()=>{ne[r]=null}),K(),F=ne[C],F||(F=ne[C]=ee[C](t),F.c()),tt(F,1),F.m(P,null));let o=T;T=ae(t),T===o?~T&&ie[T].p(t,e):(_&&(Z(),et(ie[o],1,1,()=>{ie[o]=null}),K()),~T?(_=ie[T],_?_.p(t,e):(_=ie[T]=oe[T](t),_.c()),tt(_,1),_.m(O,null)):_=null),"vanilla"===t[9]?se?(se.p(t,e),512&e[0]&&tt(se,1)):(se=Yr(t),se.c(),tt(se,1),se.m($,D)):se&&(Z(),et(se,1,1,()=>{se=null}),K());let i=H;H=ue(t),H!==i&&(Z(),et(ce[i],1,1,()=>{ce[i]=null}),K(),U=ce[H],U||(U=ce[H]=le[H](t),U.c()),tt(U,1),U.m(B,null));const a={};65536&e[0]|512&e[1]&&(a.$$scope={dirty:e,ctx:t}),q.$set(a);const s={};!mt&&1&e[0]&&(mt=!0,s.value=t[0],W(()=>mt=!1)),gt.$set(s);const l={};!$t&&2&e[0]&&($t=!0,l.value=t[1],W(()=>$t=!1)),wt.$set(l);const c={};!Et&&4&e[0]&&(Et=!0,c.value=t[2],W(()=>Et=!1)),zt.$set(c);const p={};!Mt&&8&e[0]&&(Mt=!0,p.value=t[3],W(()=>Mt=!1)),Ft.$set(p);const f={};!Nt&&16&e[0]&&(Nt=!0,f.value=t[4],W(()=>Nt=!1)),Dt.$set(f);const d={};!Wt&&32&e[0]&&(Wt=!0,d.value=t[5],W(()=>Wt=!1)),Ut.$set(d)},i(t){Qt||(tt(A.$$.fragment,t),tt(F),tt(_),tt(se),tt(U),tt(q.$$.fragment,t),tt(gt.$$.fragment,t),tt(wt.$$.fragment,t),tt(zt.$$.fragment,t),tt(Ft.$$.fragment,t),tt(Dt.$$.fragment,t),tt(Ut.$$.fragment,t),Qt=!0)},o(t){et(A.$$.fragment,t),et(F),et(_),et(se),et(U),et(q.$$.fragment,t),et(gt.$$.fragment,t),et(wt.$$.fragment,t),et(zt.$$.fragment,t),et(Ft.$$.fragment,t),et(Dt.$$.fragment,t),et(Ut.$$.fragment,t),Qt=!1},d(t){t&&m(e),t&&m(n),h(Zt,t),ct(A),ne[C].d(),~T&&ie[T].d(),se&&se.d(),ce[H].d(),ct(q),ct(gt),ct(wt),ct(zt),ct(Ft),ct(Dt),ct(Ut),Jt=!1,o(Xt)}}}const io=1,ao=2,so=0,lo=1e5,co=30,uo=1;function po(t,e,n){let r,o,i,a,s,c,u,p,f,d,g,m,h,y;l(t,xt,t=>n(20,h=t)),l(t,$t,t=>n(23,y=t));let v=null,b="vanilla",w=En(h),$=w.rows?parseInt(w.rows,10):io,x=w.columns?parseInt(w.columns,10):ao,S=w.minSize?parseInt(w.minSize,10):so,k=w.maxSize?parseInt(w.maxSize,10):lo,A=w.snapOffset?parseInt(w.snapOffset,10):co,z=w.dragInterval?parseInt(w.dragInterval,10):uo,E=!1,j=!1,O=!1;const P=()=>{return v&&v.destroy(),t={minSize:S,maxSize:k,snapOffset:A,dragInterval:z,columnGutters:s.filter(t=>void 0!==t.track).map(t=>({track:t.track,element:document.querySelector(".gutter-col-"+t.track)})),rowGutters:a.filter(t=>void 0!==t.track).map(t=>({track:t.track,element:document.querySelector(".gutter-row-"+t.track)}))},new Rr(t);var t};return M(()=>{v=P()}),t.$$.update=()=>{63&t.$$.dirty[0]&&n(21,r={...$!==io&&{rows:$},...x!==ao&&{columns:x},...S!==so&&{minSize:S},...k!==lo&&{maxSize:k},...A!==co&&{snapOffset:A},...z!==uo&&{dragInterval:z}}),2097152&t.$$.dirty[0]&&n(22,o=jn(r)),13631488&t.$$.dirty[0]&&"/split-grid"===y&&o!==h&&St(o?"/split-grid?"+o:"/split-grid"),60&t.$$.dirty[0]&&n(24,i=S!==so||k!==lo||A!==co||z!==uo),1&t.$$.dirty[0]&&n(25,a=1===$?[]:[...new Array($+$-1)].map((t,e)=>e%2?{type:"row",class:"gutter-row gutter-row-"+e,size:"10px",track:e,style:`grid-row: ${e+1};`}:{type:"row",size:"1fr"})),2&t.$$.dirty[0]&&n(26,s=1===x?[]:[...new Array(x+x-1)].map((t,e)=>e%2?{type:"column",class:"gutter-col gutter-col-"+e,size:"10px",track:e,style:`grid-column: ${e+1};`}:{type:"column",size:"1fr"})),100663296&t.$$.dirty[0]&&n(6,c=[...s,...a]),33554432&t.$$.dirty[0]&&n(7,u=a.map(t=>t.size).join(" ")),67108864&t.$$.dirty[0]&&n(8,p=s.map(t=>t.size).join(" ")),117440575&t.$$.dirty[0]&&n(13,f=`\nimport Split from 'split-grid'\n\nSplit({${i?"\n"+[S!==so?` minSize: ${S},`:"",k!==lo?` maxSize: ${k},`:"",A!==co?` snapOffset: ${A},`:"",z!==uo?` dragInterval: ${z},`:""].filter(t=>""!==t).join("\n"):""}${1===x?"":`\n columnGutters: [${s.filter(t=>void 0!==t.track).map(t=>`{\n track: ${t.track},\n element: document.querySelector('.gutter-col-${t.track}'),\n }`).join(", ")}],`}${1===$?"":`\n rowGutters: [${a.filter(t=>void 0!==t.track).map(t=>`{\n track: ${t.track},\n element: document.querySelector('.gutter-row-${t.track}'),\n }`).join(", ")}]`}\n})\n`.trim()),16777340&t.$$.dirty[0]&&n(14,d=`\nimport Split from 'react-split-grid'\n\n""!==t).join("\n"):""}\n render={({\n getGridProps,\n getGutterProps,\n }) => (\n
\n${c.map(t=>` `).join("\n")}\n
\n )}\n/>\n`.trim()),64&t.$$.dirty[0]&&n(15,g=`\n
\n${c.map(t=>`
`).join("\n")}\n`.trim()),100663683&t.$$.dirty[0]&&n(16,m=`\n.grid {\n display: grid;${1===$?"":`\n grid-template-rows: ${u};`}${1===x?"":`\n grid-template-columns: ${p};`}\n}\n${1===x?"":`\n.gutter-col {\n grid-row: 1/-1;\n cursor: col-resize;\n}\n${s.filter(t=>void 0!==t.track).map(t=>`\n.gutter-col-${t.track} {\n grid-column: ${t.track+1};\n}`).join("\n")}\n`}${1===$?"":`\n.gutter-row {\n grid-column: 1/-1;\n cursor: row-resize;\n}\n${a.filter(t=>void 0!==t.track).map(t=>`\n.gutter-row-${t.track} {\n grid-row: ${t.track+1};\n}`).join("\n")}\n`}`.trim())},[$,x,S,k,A,z,c,u,p,b,E,j,O,f,d,g,m,()=>{navigator.clipboard.writeText("vanilla"===b?f:d).then(()=>{n(10,E=!0),setTimeout(()=>{n(10,E=!1)},1e3)})},()=>{navigator.clipboard.writeText(g).then(()=>{n(11,j=!0),setTimeout(()=>{n(11,j=!1)},1e3)})},()=>{navigator.clipboard.writeText(m).then(()=>{n(12,O=!0),setTimeout(()=>{n(12,O=!1)},1e3)})},h,r,o,y,i,a,s,function(t){b=t,n(9,b)},function(t){$=t,n(0,$)},function(t){x=t,n(1,x)},function(t){S=t,n(2,S)},function(t){k=t,n(3,k)},function(t){A=t,n(4,A)},function(t){z=t,n(5,z)}]}class fo extends pt{constructor(t){super(),ut(this,t,po,oo,a,{},[-1,-1])}}function go(n){let r,o,i,a,s,l=[{viewBox:"0 0 416 139"},{xmlns:"http://www.w3.org/2000/svg"},n[0]],c={};for(let t=0;t{n=e(e({},n),p(t)),r(0,i=f(n,o))},[i]}class ho extends pt{constructor(t){super(),ut(this,t,mo,go,a,{})}}function yo(e){let n,r,o,i,a,s,l,c,u;return i=new ho({props:{class:"fill-current stroke-current text-indigo-100 h-full"}}),c=new ho({props:{class:"fill-current stroke-current text-indigo-100 h-full absolute right-0"}}),{c(){n=y("div"),r=y("div"),o=y("div"),st(i.$$.fragment),a=w(),s=y("div"),l=y("div"),st(c.$$.fragment),S(o,"class","overflow-hidden h-full"),E(o,"width","86px"),S(r,"id","part-1"),S(r,"class","h-full relative overflow-hidden"),S(l,"class","overflow-hidden h-full absolute right-0"),E(l,"width","87.5px"),S(s,"id","part-2"),S(s,"class","h-full relative overflow-hidden"),S(n,"class","flex"),E(n,"height","60px"),E(n,"width","177px")},m(t,e){g(t,n,e),d(n,r),d(r,o),lt(i,o,null),d(n,a),d(n,s),d(s,l),lt(c,l,null),u=!0},p:t,i(t){u||(tt(i.$$.fragment,t),tt(c.$$.fragment,t),u=!0)},o(t){et(i.$$.fragment,t),et(c.$$.fragment,t),u=!1},d(t){t&&m(n),ct(i),ct(c)}}}function vo(t){return F(()=>{Un(["#part-1","#part-2"],{gutterSize:5,minSize:55.5,snapOffset:0,gutterStyle:(t,e)=>({backgroundColor:"rgb(224, 231, 255)",[t]:e+"px"})})}),[]}class bo extends pt{constructor(t){super(),ut(this,t,vo,yo,a,{})}}function wo(t,e,n){const r=t.slice();return r[3]=e[n],r}function $o(e){let n,r,o,a,s,l=e[3].title+"";return{c(){n=y("a"),r=b(l),o=w(),S(n,"class","cursor-pointer text-sm font-medium rounded-md bg-white px-3 py-2 hover:bg-opacity-10"),S(n,"aria-current","page"),j(n,"text-white",e[3].url===e[0]),j(n,"text-indigo-100",e[3].url!==e[0]),j(n,"bg-opacity-0",e[3].url!==e[0]),j(n,"bg-opacity-10",e[3].url===e[0])},m(l,c){var u;g(l,n,c),d(n,r),d(n,o),a||(u=kt.call(null,n,e[3].url),s=u&&i(u.destroy)?u.destroy:t,a=!0)},p(t,r){e=t,3&r&&j(n,"text-white",e[3].url===e[0]),3&r&&j(n,"text-indigo-100",e[3].url!==e[0]),3&r&&j(n,"bg-opacity-0",e[3].url!==e[0]),3&r&&j(n,"bg-opacity-10",e[3].url===e[0])},d(t){t&&m(n),a=!1,s()}}}function xo(t){let e,n,r,o,i,a,s,l,c,u,p,f,v,$,x,k,A,z,E,j,O,P,C,F,M,T,_,L,I,D,N,G=(new Date).getFullYear()+"";l=new bo({});let R=t[1],B=[];for(let e=0;eGitHub \n \n GitHub Sponsors \n ',p=w(),f=y("div"),v=y("div"),$=y("div"),x=y("nav");for(let t=0;t',z=w(),E=y("main"),j=y("div"),st(O.$$.fragment),P=w(),C=y("footer"),F=y("div"),M=y("div"),T=y("span"),_=b("© "),L=b(G),I=w(),D=y("a"),D.textContent="Nathan Cahill",S(a,"class","sr-only"),S(i,"class","static"),S(u,"class","ml-4 flex lg:items-center lg:pr-0.5 space-x-4"),S(o,"class","py-5 flex items-center justify-between"),S(x,"class","flex space-x-4"),S($,"class","col-span-2"),S(v,"class","grid grid-cols-3 gap-8 items-center"),S(f,"class","border-t border-white border-opacity-20 py-5"),S(r,"class","max-w-3xl mx-auto px-4 sm:px-6 lg:max-w-7xl lg:px-8"),S(n,"class","pb-24 bg-indigo-600"),S(j,"class","max-w-3xl mx-auto px-4 sm:px-6 lg:max-w-7xl lg:px-8"),S(E,"class","-mt-24 pb-8"),S(D,"href","https://nathancahill.com/"),S(T,"class","block sm:inline"),S(M,"class","border-t border-gray-200 py-8 text-sm text-gray-500 text-center sm:text-left"),S(F,"class","max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 lg:max-w-7xl"),S(e,"class","min-h-screen bg-gray-100")},m(t,m){g(t,e,m),d(e,n),d(n,r),d(r,o),d(o,i),d(i,a),d(i,s),lt(l,i,null),d(o,c),d(o,u),d(r,p),d(r,f),d(f,v),d(v,$),d($,x);for(let t=0;tn(0,r=t));return[r,[{title:"Split.js",url:"/"},{title:"Split-Grid",url:"/split-grid"}],{"/":jr,"/split-grid":fo}]}class ko extends pt{constructor(t){super(),ut(this,t,So,xo,a,{})}}function Ao(e){let n,r;return n=new ko({}),{c(){st(n.$$.fragment)},m(t,e){lt(n,t,e),r=!0},p:t,i(t){r||(tt(n.$$.fragment,t),r=!0)},o(t){et(n.$$.fragment,t),r=!1},d(t){ct(n,t)}}}!function(t){var e=t.util.clone(t.languages.javascript);t.languages.jsx=t.languages.extend("markup",e),t.languages.jsx.tag.pattern=/<\/?(?:[\w.:-]+(?:\s+(?:[\w.:$-]+(?:=(?:"(?:\\[^]|[^\\"])*"|'(?:\\[^]|[^\\'])*'|[^\s{'">=]+|\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}))?|\{\s*\.{3}\s*[a-z_$][\w$]*(?:\.[a-z_$][\w$]*)*\s*\}))*\s*\/?)?>/i,t.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/i,t.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[^]|[^\\"])*"|'(?:\\[^]|[^\\'])*'|[^\s'">]+)/i,t.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,t.languages.insertBefore("inside","attr-name",{spread:{pattern:/\{\s*\.{3}\s*[a-z_$][\w$]*(?:\.[a-z_$][\w$]*)*\s*\}/,inside:{punctuation:/\.{3}|[{}.]/,"attr-value":/\w+/}}},t.languages.jsx.tag),t.languages.insertBefore("inside","attr-value",{script:{pattern:/=(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\})/i,inside:{"script-punctuation":{pattern:/^=(?={)/,alias:"punctuation"},rest:t.languages.jsx},alias:"language-javascript"}},t.languages.jsx.tag);var n=function(t){return t?"string"==typeof t?t:"string"==typeof t.content?t.content:t.content.map(n).join(""):""},r=function(e){for(var o=[],i=0;i"===a.content[a.content.length-1].content||o.push({tagName:n(a.content[0].content[1]),openedBraces:0}):0 + import Dashboard from './Dashboard.svelte' + + import 'prismjs/components/prism-jsx.min' + + + + - - - - diff --git a/packages/split-generator/src/SplitGenerator.svelte b/packages/split-generator/src/SplitGenerator.svelte index 1d8546f5..eb444674 100644 --- a/packages/split-generator/src/SplitGenerator.svelte +++ b/packages/split-generator/src/SplitGenerator.svelte @@ -302,16 +302,6 @@ ${ }) - - Split.js @@ -321,29 +311,27 @@ ${
-

- Split.js -

+

Split.js

{#each paneObjs as pane (pane.key)} -
+
{/each}
-

- Generated Code -

+

Generated Code

@@ -351,39 +339,48 @@ ${
{#if mode === 'vanilla'} - {javascript} + {javascript} {:else if mode === 'react'} - {react} + {react} {/if}
{#if mode === 'vanilla'} -

HTML

-
- - {html} -
+

HTML

+
+ + {html} +
{/if}

CSS

@@ -391,10 +388,13 @@ ${ {css}
@@ -404,11 +404,19 @@ ${
-
-

- Options -

-
+
+
+ +
+

Options

+
{#if direction === 'horizontal'} -
- - -
+
+ + +
{/if}
@@ -447,10 +461,7 @@ ${ > {direction === 'horizontal' ? 'Columns' : 'Rows'} - +
@@ -461,11 +472,11 @@ ${ Minimum Size
@@ -477,11 +488,11 @@ ${ Maximum Size
@@ -493,10 +504,10 @@ ${ Gutter Size
@@ -509,8 +520,12 @@ ${
@@ -522,11 +537,11 @@ ${ Snap Offset
@@ -538,50 +553,62 @@ ${ Drag Interval - - + - - - View Docs on GitHub - - - + + + View Docs on GitHub + + - - - Sponsor on GitHub - + + + + Sponsor on GitHub + + + + diff --git a/packages/split-generator/src/SplitGridGenerator.svelte b/packages/split-generator/src/SplitGridGenerator.svelte index d06eea5c..5a2f1b59 100644 --- a/packages/split-generator/src/SplitGridGenerator.svelte +++ b/packages/split-generator/src/SplitGridGenerator.svelte @@ -419,9 +419,19 @@ ${rowObjs diff --git a/packages/split-generator/src/less/carbon.less b/packages/split-generator/src/less/carbon.less new file mode 100644 index 00000000..466ed353 --- /dev/null +++ b/packages/split-generator/src/less/carbon.less @@ -0,0 +1,58 @@ +#carbonads * { + margin: initial; + padding: initial; +} +#carbonads { + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, + Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, Arial, + sans-serif; +} +#carbonads { + display: flex; + z-index: 100; +} +#carbonads a { + color: inherit; + text-decoration: none; +} +#carbonads a:hover { + color: inherit; +} +#carbonads span { + position: relative; + display: block; + overflow: hidden; +} +#carbonads .carbon-wrap { + display: flex; +} +#carbonads .carbon-img { + display: block; + margin: 0; + line-height: 1; +} +#carbonads .carbon-img img { + display: block; +} +#carbonads .carbon-text { + font-size: 13px; + padding: 10px; + margin-bottom: 16px; + line-height: 1.5; + text-align: left; +} +#carbonads .carbon-poweredby { + display: block; + padding: 6px 8px; + background: #f1f1f2; + text-align: center; + text-transform: uppercase; + letter-spacing: 0.5px; + font-weight: 600; + font-size: 8px; + line-height: 1; + border-top-left-radius: 3px; + position: absolute; + bottom: 0; + right: 0; +}