@maily-to/core 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/blocks/index.js +3 -3
- package/dist/blocks/index.js.map +1 -1
- package/dist/blocks/index.mjs +3 -3
- package/dist/blocks/index.mjs.map +1 -1
- package/dist/extensions/index.js +27 -21
- package/dist/extensions/index.js.map +1 -1
- package/dist/extensions/index.mjs +27 -21
- package/dist/extensions/index.mjs.map +1 -1
- package/dist/index.js +376 -366
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +368 -358
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -1
- package/readme.md +3 -3
package/dist/index.js
CHANGED
|
@@ -87,13 +87,13 @@ function styleInject(css, { insertAt } = {}) {
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
// src/styles/index.css
|
|
90
|
-
styleInject(':root {\n --placeholder-color: #adb5bd;\n --bg-color: #ffffff;\n --variable-icon-size: 12px;\n --variable-icon-gap: 4px;\n --color-token-tag: #00c951;\n --color-meta-string: #2b7fff;\n --color-attribute: #ad46ff;\n --color-tag: #313233;\n --color-meta: #313233d6;\n}\n.mly-editor .mly-prose p:where([class~=text-sm]):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n font-size: 16px;\n}\n.mly-editor .mly-prose :where(h1, h2, h3):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0;\n margin-bottom: 12px;\n}\n.mly-editor .mly-prose :where(h1):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n font-size: 36px;\n}\n.mly-editor .mly-prose :where(h2):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n font-size: 30px;\n}\n.mly-editor .mly-prose :where(h3):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n font-size: 24px;\n}\n.mly-editor .mly-prose p:not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n font-size: 15px;\n margin-bottom: 20px;\n}\n.mly-editor .mly-prose :where(h1, h2, h3, hr, table) + p:not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0;\n}\n.mly-editor .mly-prose :where(ol, ul):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0;\n margin-bottom: 20px;\n}\n.mly-editor .mly-prose li:not(:last-child):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-bottom: 8px;\n}\n.mly-editor .mly-prose li > p:not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin: 0;\n}\n.mly-editor .mly-prose :where(img, .node-logo):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0;\n margin-bottom: 32px;\n}\n.mly-editor .mly-prose hr:not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-block: 32px;\n}\n.mly-editor .mly-prose .footer:not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n display: block;\n font-size: 13px;\n margin-bottom: 20px;\n color: rgb(100, 116, 139);\n}\n.mly-editor .mly-prose .spacer + *:not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0;\n}\n.mly-editor .mly-prose p + .spacer:not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: -20px;\n}\n.mly-editor .mly-prose blockquote + .spacer:not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: -16px;\n}\n.mly-editor .mly-prose :where(h1, h2, h3) + .spacer:not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: -12px;\n}\n.mly-editor .mly-prose :where(ol, ul) + .spacer:not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: -20px;\n}\n.mly-editor .mly-prose :where(img, .node-logo) + .spacer:not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: -32px;\n}\n.mly-editor .mly-prose :where(.node-button, .node-linkCard, footer) + .spacer:not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: -20px;\n}\n.mly-editor .mly-prose :where(.node-button, .node-linkCard):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0;\n margin-bottom: 20px;\n}\n.mly-editor .mly-prose .node-image:not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n line-height: 0;\n margin-top: 0;\n margin-bottom: 32px;\n outline: none;\n}\n.mly-editor .mly-prose .node-image + .spacer:not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: -32px;\n}\n.mly-editor .mly-prose code::before,\n.mly-editor .mly-prose code::after {\n content: none;\n}\n.mly-no-scrollbar::-webkit-scrollbar {\n display: none;\n}\n.mly-no-scrollbar {\n -ms-overflow-style: none;\n scrollbar-width: none;\n}\n.mly-editor .react-colorful__alpha {\n border-radius: 0;\n}\n.mly-editor .react-colorful__saturation,\n.mly-editor .react-colorful__hue,\n.mly-editor .react-colorful__alpha {\n border-radius: 8px;\n}\n.mly-editor .react-colorful__hue,\n.mly-editor .react-colorful__alpha {\n height: 16px;\n}\n.mly-editor .react-colorful__pointer {\n width: 16px;\n height: 16px;\n}\n.mly-editable .ProseMirror-selectednode::after {\n content: "";\n position: absolute;\n inset: -2px;\n pointer-events: none;\n border-radius: 6px;\n background: rgba(35, 131, 226, 0.14);\n}\n.mly-prose {\n strong {\n color: currentColor;\n }\n}\n.ProseMirror {\n position: relative;\n word-wrap: break-word;\n white-space: pre-wrap;\n white-space: break-spaces;\n font-variant-ligatures: none;\n font-feature-settings: "liga" 0;\n &:focus {\n outline: none;\n }\n p:not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0;\n }\n h1 {\n --variable-icon-size: 28px;\n }\n h2 {\n --variable-icon-size: 24px;\n }\n h3 {\n --variable-icon-size: 20px;\n }\n h1,\n h2,\n h3 {\n --variable-icon-gap: 8px;\n }\n :where(.is-editor-empty:first-child, .is-empty):not(:where([data-type=
|
|
90
|
+
styleInject(':root {\n --placeholder-color: #adb5bd;\n --bg-color: #ffffff;\n --variable-icon-size: 12px;\n --variable-icon-gap: 4px;\n --color-token-tag: #00c951;\n --color-meta-string: #2b7fff;\n --color-attribute: #ad46ff;\n --color-tag: #313233;\n --color-meta: #313233d6;\n}\n.mly-editor .mly-prose p:where([class~=text-sm]):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n font-size: 16px;\n}\n.mly-editor .mly-prose :where(h1, h2, h3):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0;\n margin-bottom: 12px;\n}\n.mly-editor .mly-prose :where(h1):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n font-size: 36px;\n}\n.mly-editor .mly-prose :where(h2):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n font-size: 30px;\n}\n.mly-editor .mly-prose :where(h3):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n font-size: 24px;\n}\n.mly-editor .mly-prose p:not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n font-size: 15px;\n margin-bottom: 20px;\n}\n.mly-editor .mly-prose :where(h1, h2, h3, hr, table) + p:not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0;\n}\n.mly-editor .mly-prose :where(ol, ul):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0;\n margin-bottom: 20px;\n}\n.mly-editor .mly-prose li:not(:last-child):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-bottom: 8px;\n}\n.mly-editor .mly-prose li > p:not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin: 0;\n}\n.mly-editor .mly-prose :where(img, .node-logo):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0;\n margin-bottom: 32px;\n}\n.mly-editor .mly-prose hr:not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-block: 32px;\n}\n.mly-editor .mly-prose .footer:not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n display: block;\n font-size: 13px;\n margin-bottom: 20px;\n color: rgb(100, 116, 139);\n}\n.mly-editor .mly-prose .spacer + *:not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0;\n}\n.mly-editor .mly-prose p + .spacer:not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: -20px;\n}\n.mly-editor .mly-prose blockquote + .spacer:not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: -16px;\n}\n.mly-editor .mly-prose :where(h1, h2, h3) + .spacer:not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: -12px;\n}\n.mly-editor .mly-prose :where(ol, ul) + .spacer:not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: -20px;\n}\n.mly-editor .mly-prose :where(img, .node-logo) + .spacer:not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: -32px;\n}\n.mly-editor .mly-prose :where(.node-button, .node-linkCard, footer) + .spacer:not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: -20px;\n}\n.mly-editor .mly-prose :where(.node-button, .node-linkCard):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0;\n margin-bottom: 20px;\n}\n.mly-editor .mly-prose .node-image:not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n line-height: 0;\n margin-top: 0;\n margin-bottom: 32px;\n outline: none;\n}\n.mly-editor .mly-prose .node-image + .spacer:not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: -32px;\n}\n.mly-editor .mly-prose code::before,\n.mly-editor .mly-prose code::after {\n content: none;\n}\n.mly-no-scrollbar::-webkit-scrollbar {\n display: none;\n}\n.mly-no-scrollbar {\n -ms-overflow-style: none;\n scrollbar-width: none;\n}\n.mly-editor .react-colorful__alpha {\n border-radius: 0;\n}\n.mly-editor .react-colorful__saturation,\n.mly-editor .react-colorful__hue,\n.mly-editor .react-colorful__alpha {\n border-radius: 8px;\n}\n.mly-editor .react-colorful__hue,\n.mly-editor .react-colorful__alpha {\n height: 16px;\n}\n.mly-editor .react-colorful__pointer {\n width: 16px;\n height: 16px;\n}\n.mly-editable .ProseMirror-selectednode::after {\n content: "";\n position: absolute;\n inset: -2px;\n pointer-events: none;\n border-radius: 6px;\n background: rgba(35, 131, 226, 0.14);\n}\n.mly-prose {\n strong {\n color: currentColor;\n }\n}\n.ProseMirror {\n position: relative;\n word-wrap: break-word;\n white-space: pre-wrap;\n white-space: break-spaces;\n font-variant-ligatures: none;\n font-feature-settings: "liga" 0;\n &:focus {\n outline: none;\n }\n p:not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0;\n }\n h1 {\n --variable-icon-size: 28px;\n }\n h2 {\n --variable-icon-size: 24px;\n }\n h3 {\n --variable-icon-size: 20px;\n }\n h1,\n h2,\n h3 {\n --variable-icon-gap: 8px;\n }\n :where(.is-editor-empty:first-child, .is-empty):not(:where([data-type=columns], [data-type=section], ul, li, ol))::before {\n content: attr(data-placeholder);\n float: left;\n color: var(--placeholder-color);\n pointer-events: none;\n height: 0;\n }\n .is-empty:where(.node-htmlCodeBlock):not([data-active-tab=preview])::before,\n .is-editor-empty:first-child:where(.node-htmlCodeBlock):not([data-active-tab=preview])::before {\n float: none !important;\n position: absolute;\n left: 9px;\n top: 8px;\n }\n .is-empty:where(.node-htmlCodeBlock):not([data-active-tab=code])::before,\n .is-editor-empty:first-child:where(.node-htmlCodeBlock):not([data-active-tab=code])::before {\n content: "";\n }\n [data-type=columns] .is-empty::before,\n [data-type=section] .is-empty::before {\n --l-threshold: 0.66;\n --diff: calc(var(--l-threshold) - l);\n color: oklch(from var(--bg-color) clamp(0.05, max(min(var(--diff) * infinity, 1), 0), 0.95) c h) !important;\n opacity: 0.6;\n }\n [data-type=columns] {\n display: flex;\n margin: 0;\n padding: 0;\n &.has-focus [data-type=column],\n &:hover [data-type=column] {\n outline: 1.5px solid #e9ecef;\n outline-style: dashed;\n }\n [data-type=column].has-focus {\n outline-style: solid;\n }\n }\n [data-type=column] {\n display: table-cell;\n flex-basis: 0;\n flex-grow: 1;\n overflow: auto;\n & > *:first-child {\n margin-top: 0;\n }\n & > *:last-child {\n margin-bottom: 0;\n }\n }\n [data-type=section] {\n margin: 0;\n padding: 0;\n [data-type=section-cell] {\n padding: 0;\n & > *:first-child {\n margin-top: 0;\n }\n & > *:last-child {\n margin-bottom: 0;\n }\n }\n }\n [data-type=repeat] {\n [data-node-view-content] > div {\n & > *:first-child {\n margin-top: 0;\n }\n & > *:last-child {\n margin-bottom: 0;\n }\n }\n }\n .node-repeat.has-focus [data-repeat-indicator] {\n opacity: 1;\n }\n [data-type=show] {\n [data-node-view-content] > div {\n & > *:first-child {\n margin-top: 0;\n }\n & > *:last-child {\n margin-bottom: 0;\n }\n }\n }\n *:has(+ .ProseMirror-gapcursor) {\n margin-bottom: 0 !important;\n }\n .ProseMirror-gapcursor {\n &::after {\n border: 1.5px solid gray;\n width: 24px;\n }\n & + * {\n margin-top: 0 !important;\n }\n }\n pre {\n code {\n background: none;\n color: inherit;\n }\n .hljs-comment,\n .hljs-quote {\n color: #616161;\n }\n .hljs-variable,\n .hljs-template-variable,\n .hljs-attribute,\n .hljs-regexp,\n .hljs-link,\n .hljs-selector-id,\n .hljs-selector-class {\n color: var(--color-token-tag);\n }\n .hljs-tag {\n color: var(--color-tag);\n }\n .hljs-name {\n color: var(--color-token-tag);\n }\n .hljs-number,\n .hljs-built_in,\n .hljs-builtin-name,\n .hljs-literal,\n .hljs-type,\n .hljs-params {\n color: var(--color-meta-string);\n }\n .hljs-meta,\n .hljs-keyword {\n color: var(--color-meta);\n }\n .hljs-string,\n .hljs-symbol,\n .hljs-bullet {\n color: var(--color-meta-string);\n }\n .hljs-title,\n .hljs-section {\n color: #faf594;\n }\n .hljs-emphasis {\n font-style: italic;\n }\n .hljs-strong {\n font-weight: 700;\n }\n .hljs-attr {\n color: var(--color-attribute);\n }\n .hljs-selector-tag {\n color: var(--color-meta-string);\n }\n }\n}\n.hide-number-controls {\n &::-webkit-outer-spin-button,\n &::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n &[type=number] {\n -moz-appearance: textfield;\n }\n}\n.hide-scrollbars {\n scrollbar-width: none;\n -ms-overflow-style: none;\n &::-webkit-scrollbar {\n display: none;\n }\n}\n');
|
|
91
91
|
|
|
92
92
|
// src/styles/preflight.css
|
|
93
|
-
styleInject(':where(.mly-editor),\n:where(.mly-editor) ::before,\n:where(.mly-editor) ::after {\n box-sizing: border-box;\n border-width: 0;\n border-style: solid;\n border-color: #e5e7eb;\n}\n:where(.mly-editor) ::before,\n:where(.mly-editor) ::after {\n --tw-content: "";\n}\n:where(.mly-editor) html {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n -moz-tab-size: 4;\n -o-tab-size: 4;\n tab-size: 4;\n font-family:\n ui-sans-serif,\n system-ui,\n sans-serif,\n "Apple Color Emoji",\n "Segoe UI Emoji",\n "Segoe UI Symbol",\n "Noto Color Emoji";\n font-feature-settings: normal;\n font-variation-settings: normal;\n}\n:where(.mly-editor) body {\n margin: 0;\n line-height: inherit;\n}\n:where(.mly-editor) hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n}\n:where(.mly-editor) abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n:where(.mly-editor) h1,\n:where(.mly-editor) h2,\n:where(.mly-editor) h3,\n:where(.mly-editor) h4,\n:where(.mly-editor) h5,\n:where(.mly-editor) h6 {\n font-size: inherit;\n font-weight: inherit;\n}\n:where(.mly-editor) a {\n color: inherit;\n text-decoration: inherit;\n}\n:where(.mly-editor) b,\n:where(.mly-editor) strong {\n font-weight: bolder;\n}\n:where(.mly-editor) code,\n:where(.mly-editor) kbd,\n:where(.mly-editor) samp,\n:where(.mly-editor) pre {\n font-family:\n ui-monospace,\n SFMono-Regular,\n Menlo,\n Monaco,\n Consolas,\n "Liberation Mono",\n "Courier New",\n monospace;\n font-size: 1em;\n}\n:where(.mly-editor) small {\n font-size: 80%;\n}\n:where(.mly-editor) sub,\n:where(.mly-editor) sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n:where(.mly-editor) sub {\n bottom: -0.25em;\n}\n:where(.mly-editor) sup {\n top: -0.5em;\n}\n:where(.mly-editor) table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n}\n:where(.mly-editor) button,\n:where(.mly-editor) input,\n:where(.mly-editor) optgroup,\n:where(.mly-editor) select,\n:where(.mly-editor) textarea {\n font-family: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n font-size: 100%;\n font-weight: inherit;\n line-height: inherit;\n color: inherit;\n margin: 0;\n padding: 0;\n}\n:where(.mly-editor) button,\n:where(.mly-editor) select {\n text-transform: none;\n}\n:where(.mly-editor) button,\n:where(.mly-editor) [type=button],\n:where(.mly-editor) [type=reset],\n:where(.mly-editor) [type=submit] {\n -webkit-appearance: button;\n background-image: none;\n}\n:where(.mly-editor) :-moz-focusring {\n outline: auto;\n}\n:where(.mly-editor) :-moz-ui-invalid {\n box-shadow: none;\n}\n:where(.mly-editor) progress {\n vertical-align: baseline;\n}\n:where(.mly-editor) ::-webkit-inner-spin-button,\n:where(.mly-editor) ::-webkit-outer-spin-button {\n height: auto;\n}\n:where(.mly-editor) [type=search] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n}\n:where(.mly-editor) ::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n:where(.mly-editor) ::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n}\n:where(.mly-editor) summary {\n display: list-item;\n}\n:where(.mly-editor) blockquote,\n:where(.mly-editor) dl,\n:where(.mly-editor) dd,\n:where(.mly-editor) h1,\n:where(.mly-editor) h2,\n:where(.mly-editor) h3,\n:where(.mly-editor) h4,\n:where(.mly-editor) h5,\n:where(.mly-editor) h6,\n:where(.mly-editor) hr,\n:where(.mly-editor) figure,\n:where(.mly-editor) p,\n:where(.mly-editor) pre {\n margin: 0;\n}\n:where(.mly-editor) fieldset {\n margin: 0;\n padding: 0;\n}\n:where(.mly-editor) legend {\n padding: 0;\n}\n:where(.mly-editor) ol,\n:where(.mly-editor) ul,\n:where(.mly-editor) menu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n:where(.mly-editor) dialog {\n padding: 0;\n}\n:where(.mly-editor) textarea {\n resize: vertical;\n}\n:where(.mly-editor) input::-moz-placeholder,\n:where(.mly-editor) textarea::-moz-placeholder {\n opacity: 1;\n color: #9ca3af;\n}\n:where(.mly-editor) input::placeholder,\n:where(.mly-editor) textarea::placeholder {\n opacity: 1;\n color: #9ca3af;\n}\n:where(.mly-editor) button,\n:where(.mly-editor) [role=button] {\n cursor: pointer;\n}\n:where(.mly-editor) :disabled {\n cursor: default;\n}\n:where(.mly-editor) img,\n:where(.mly-editor) svg,\n:where(.mly-editor) video,\n:where(.mly-editor) canvas,\n:where(.mly-editor) audio,\n:where(.mly-editor) iframe,\n:where(.mly-editor) embed,\n:where(.mly-editor) object {\n display: block;\n vertical-align: middle;\n}\n:where(.mly-editor) img,\n:where(.mly-editor) video {\n max-width: 100%;\n height: auto;\n}\n:where(.mly-editor) [hidden] {\n display: none;\n}\n');
|
|
93
|
+
styleInject(':where(.mly-editor),\n:where(.mly-editor) ::before,\n:where(.mly-editor) ::after {\n box-sizing: border-box;\n border-width: 0;\n border-style: solid;\n border-color: #e5e7eb;\n}\n:where(.mly-editor) ::before,\n:where(.mly-editor) ::after {\n --mly-tw-content: "";\n}\n:where(.mly-editor) html {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n -moz-tab-size: 4;\n -o-tab-size: 4;\n tab-size: 4;\n font-family:\n ui-sans-serif,\n system-ui,\n sans-serif,\n "Apple Color Emoji",\n "Segoe UI Emoji",\n "Segoe UI Symbol",\n "Noto Color Emoji";\n font-feature-settings: normal;\n font-variation-settings: normal;\n}\n:where(.mly-editor) body {\n margin: 0;\n line-height: inherit;\n}\n:where(.mly-editor) hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n}\n:where(.mly-editor) abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n:where(.mly-editor) h1,\n:where(.mly-editor) h2,\n:where(.mly-editor) h3,\n:where(.mly-editor) h4,\n:where(.mly-editor) h5,\n:where(.mly-editor) h6 {\n font-size: inherit;\n font-weight: inherit;\n}\n:where(.mly-editor) a {\n color: inherit;\n text-decoration: inherit;\n}\n:where(.mly-editor) b,\n:where(.mly-editor) strong {\n font-weight: bolder;\n}\n:where(.mly-editor) code,\n:where(.mly-editor) kbd,\n:where(.mly-editor) samp,\n:where(.mly-editor) pre {\n font-family:\n ui-monospace,\n SFMono-Regular,\n Menlo,\n Monaco,\n Consolas,\n "Liberation Mono",\n "Courier New",\n monospace;\n font-size: 1em;\n}\n:where(.mly-editor) small {\n font-size: 80%;\n}\n:where(.mly-editor) sub,\n:where(.mly-editor) sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n:where(.mly-editor) sub {\n bottom: -0.25em;\n}\n:where(.mly-editor) sup {\n top: -0.5em;\n}\n:where(.mly-editor) table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n}\n:where(.mly-editor) button,\n:where(.mly-editor) input,\n:where(.mly-editor) optgroup,\n:where(.mly-editor) select,\n:where(.mly-editor) textarea {\n font-family: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n font-size: 100%;\n font-weight: inherit;\n line-height: inherit;\n color: inherit;\n margin: 0;\n padding: 0;\n}\n:where(.mly-editor) button,\n:where(.mly-editor) select {\n text-transform: none;\n}\n:where(.mly-editor) button,\n:where(.mly-editor) [type=button],\n:where(.mly-editor) [type=reset],\n:where(.mly-editor) [type=submit] {\n -webkit-appearance: button;\n background-image: none;\n}\n:where(.mly-editor) :-moz-focusring {\n outline: auto;\n}\n:where(.mly-editor) :-moz-ui-invalid {\n box-shadow: none;\n}\n:where(.mly-editor) progress {\n vertical-align: baseline;\n}\n:where(.mly-editor) ::-webkit-inner-spin-button,\n:where(.mly-editor) ::-webkit-outer-spin-button {\n height: auto;\n}\n:where(.mly-editor) [type=search] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n}\n:where(.mly-editor) ::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n:where(.mly-editor) ::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n}\n:where(.mly-editor) summary {\n display: list-item;\n}\n:where(.mly-editor) blockquote,\n:where(.mly-editor) dl,\n:where(.mly-editor) dd,\n:where(.mly-editor) h1,\n:where(.mly-editor) h2,\n:where(.mly-editor) h3,\n:where(.mly-editor) h4,\n:where(.mly-editor) h5,\n:where(.mly-editor) h6,\n:where(.mly-editor) hr,\n:where(.mly-editor) figure,\n:where(.mly-editor) p,\n:where(.mly-editor) pre {\n margin: 0;\n}\n:where(.mly-editor) fieldset {\n margin: 0;\n padding: 0;\n}\n:where(.mly-editor) legend {\n padding: 0;\n}\n:where(.mly-editor) ol,\n:where(.mly-editor) ul,\n:where(.mly-editor) menu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n:where(.mly-editor) dialog {\n padding: 0;\n}\n:where(.mly-editor) textarea {\n resize: vertical;\n}\n:where(.mly-editor) input::-moz-placeholder,\n:where(.mly-editor) textarea::-moz-placeholder {\n opacity: 1;\n color: #9ca3af;\n}\n:where(.mly-editor) input::placeholder,\n:where(.mly-editor) textarea::placeholder {\n opacity: 1;\n color: #9ca3af;\n}\n:where(.mly-editor) button,\n:where(.mly-editor) [role=button] {\n cursor: pointer;\n}\n:where(.mly-editor) :disabled {\n cursor: default;\n}\n:where(.mly-editor) img,\n:where(.mly-editor) svg,\n:where(.mly-editor) video,\n:where(.mly-editor) canvas,\n:where(.mly-editor) audio,\n:where(.mly-editor) iframe,\n:where(.mly-editor) embed,\n:where(.mly-editor) object {\n display: block;\n vertical-align: middle;\n}\n:where(.mly-editor) img,\n:where(.mly-editor) video {\n max-width: 100%;\n height: auto;\n}\n:where(.mly-editor) [hidden] {\n display: none;\n}\n');
|
|
94
94
|
|
|
95
95
|
// src/styles/tailwind.css
|
|
96
|
-
styleInject('*,\n::before,\n::after {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}\n::backdrop {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}\n* {\n scrollbar-color: initial;\n scrollbar-width: initial;\n}\n.mly-prose {\n color: var(--tw-prose-body);\n max-width: 65ch;\n}\n.mly-prose :where(p):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 1.25em;\n margin-bottom: 1.25em;\n}\n.mly-prose :where([class~=lead]):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: var(--tw-prose-lead);\n font-size: 1.25em;\n line-height: 1.6;\n margin-top: 1.2em;\n margin-bottom: 1.2em;\n}\n.mly-prose :where(a):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: var(--tw-prose-links);\n text-decoration: underline;\n font-weight: 500;\n}\n.mly-prose :where(strong):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: var(--tw-prose-bold);\n font-weight: 600;\n}\n.mly-prose :where(a strong):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: inherit;\n}\n.mly-prose :where(blockquote strong):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: inherit;\n}\n.mly-prose :where(thead th strong):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: inherit;\n}\n.mly-prose :where(ol):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n list-style-type: decimal;\n margin-top: 1.25em;\n margin-bottom: 1.25em;\n padding-inline-start: 1.625em;\n}\n.mly-prose :where(ol[type=A]):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n list-style-type: upper-alpha;\n}\n.mly-prose :where(ol[type=a]):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n list-style-type: lower-alpha;\n}\n.mly-prose :where(ol[type=A s]):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n list-style-type: upper-alpha;\n}\n.mly-prose :where(ol[type=a s]):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n list-style-type: lower-alpha;\n}\n.mly-prose :where(ol[type=I]):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n list-style-type: upper-roman;\n}\n.mly-prose :where(ol[type=i]):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n list-style-type: lower-roman;\n}\n.mly-prose :where(ol[type=I s]):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n list-style-type: upper-roman;\n}\n.mly-prose :where(ol[type=i s]):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n list-style-type: lower-roman;\n}\n.mly-prose :where(ol[type="1"]):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n list-style-type: decimal;\n}\n.mly-prose :where(ul):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n list-style-type: disc;\n margin-top: 1.25em;\n margin-bottom: 1.25em;\n padding-inline-start: 1.625em;\n}\n.mly-prose :where(ol > li):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *))::marker {\n font-weight: 400;\n color: var(--tw-prose-counters);\n}\n.mly-prose :where(ul > li):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *))::marker {\n color: var(--tw-prose-bullets);\n}\n.mly-prose :where(dt):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: var(--tw-prose-headings);\n font-weight: 600;\n margin-top: 1.25em;\n}\n.mly-prose :where(hr):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n border-color: var(--tw-prose-hr);\n border-top-width: 1px;\n margin-top: 3em;\n margin-bottom: 3em;\n}\n.mly-prose :where(blockquote):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n font-weight: 500;\n font-style: italic;\n color: var(--tw-prose-quotes);\n border-inline-start-width: 0.25rem;\n border-inline-start-color: var(--tw-prose-quote-borders);\n quotes: "\\201c""\\201d""\\2018""\\2019";\n margin-top: 1.6em;\n margin-bottom: 1.6em;\n padding-inline-start: 1em;\n}\n.mly-prose :where(blockquote p:first-of-type):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *))::before {\n content: open-quote;\n}\n.mly-prose :where(blockquote p:last-of-type):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *))::after {\n content: close-quote;\n}\n.mly-prose :where(h1):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: var(--tw-prose-headings);\n font-weight: 800;\n font-size: 2.25em;\n margin-top: 0;\n margin-bottom: 0.8888889em;\n line-height: 1.1111111;\n}\n.mly-prose :where(h1 strong):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n font-weight: 900;\n color: inherit;\n}\n.mly-prose :where(h2):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: var(--tw-prose-headings);\n font-weight: 700;\n font-size: 1.5em;\n margin-top: 2em;\n margin-bottom: 1em;\n line-height: 1.3333333;\n}\n.mly-prose :where(h2 strong):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n font-weight: 800;\n color: inherit;\n}\n.mly-prose :where(h3):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: var(--tw-prose-headings);\n font-weight: 600;\n font-size: 1.25em;\n margin-top: 1.6em;\n margin-bottom: 0.6em;\n line-height: 1.6;\n}\n.mly-prose :where(h3 strong):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n font-weight: 700;\n color: inherit;\n}\n.mly-prose :where(h4):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: var(--tw-prose-headings);\n font-weight: 600;\n margin-top: 1.5em;\n margin-bottom: 0.5em;\n line-height: 1.5;\n}\n.mly-prose :where(h4 strong):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n font-weight: 700;\n color: inherit;\n}\n.mly-prose :where(img):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 2em;\n margin-bottom: 2em;\n}\n.mly-prose :where(picture):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n display: block;\n margin-top: 2em;\n margin-bottom: 2em;\n}\n.mly-prose :where(video):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 2em;\n margin-bottom: 2em;\n}\n.mly-prose :where(kbd):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n font-weight: 500;\n font-family: inherit;\n color: var(--tw-prose-kbd);\n box-shadow: 0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%);\n font-size: 0.875em;\n border-radius: 0.3125rem;\n padding-top: 0.1875em;\n padding-inline-end: 0.375em;\n padding-bottom: 0.1875em;\n padding-inline-start: 0.375em;\n}\n.mly-prose :where(code):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: var(--tw-prose-code);\n font-weight: 600;\n font-size: 0.875em;\n}\n.mly-prose :where(code):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *))::before {\n content: "`";\n}\n.mly-prose :where(code):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *))::after {\n content: "`";\n}\n.mly-prose :where(a code):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: inherit;\n}\n.mly-prose :where(h1 code):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: inherit;\n}\n.mly-prose :where(h2 code):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: inherit;\n font-size: 0.875em;\n}\n.mly-prose :where(h3 code):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: inherit;\n font-size: 0.9em;\n}\n.mly-prose :where(h4 code):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: inherit;\n}\n.mly-prose :where(blockquote code):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: inherit;\n}\n.mly-prose :where(thead th code):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: inherit;\n}\n.mly-prose :where(pre):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: var(--tw-prose-pre-code);\n background-color: var(--tw-prose-pre-bg);\n overflow-x: auto;\n font-weight: 400;\n font-size: 0.875em;\n line-height: 1.7142857;\n margin-top: 1.7142857em;\n margin-bottom: 1.7142857em;\n border-radius: 0.375rem;\n padding-top: 0.8571429em;\n padding-inline-end: 1.1428571em;\n padding-bottom: 0.8571429em;\n padding-inline-start: 1.1428571em;\n}\n.mly-prose :where(pre code):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n background-color: transparent;\n border-width: 0;\n border-radius: 0;\n padding: 0;\n font-weight: inherit;\n color: inherit;\n font-size: inherit;\n font-family: inherit;\n line-height: inherit;\n}\n.mly-prose :where(pre code):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *))::before {\n content: none;\n}\n.mly-prose :where(pre code):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *))::after {\n content: none;\n}\n.mly-prose :where(table):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n width: 100%;\n table-layout: auto;\n margin-top: 2em;\n margin-bottom: 2em;\n font-size: 0.875em;\n line-height: 1.7142857;\n}\n.mly-prose :where(thead):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n border-bottom-width: 1px;\n border-bottom-color: var(--tw-prose-th-borders);\n}\n.mly-prose :where(thead th):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: var(--tw-prose-headings);\n font-weight: 600;\n vertical-align: bottom;\n padding-inline-end: 0.5714286em;\n padding-bottom: 0.5714286em;\n padding-inline-start: 0.5714286em;\n}\n.mly-prose :where(tbody tr):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n border-bottom-width: 1px;\n border-bottom-color: var(--tw-prose-td-borders);\n}\n.mly-prose :where(tbody tr:last-child):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n border-bottom-width: 0;\n}\n.mly-prose :where(tbody td):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n vertical-align: baseline;\n}\n.mly-prose :where(tfoot):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n border-top-width: 1px;\n border-top-color: var(--tw-prose-th-borders);\n}\n.mly-prose :where(tfoot td):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n vertical-align: top;\n}\n.mly-prose :where(th, td):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n text-align: start;\n}\n.mly-prose :where(figure > *):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0;\n margin-bottom: 0;\n}\n.mly-prose :where(figcaption):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: var(--tw-prose-captions);\n font-size: 0.875em;\n line-height: 1.4285714;\n margin-top: 0.8571429em;\n}\n.mly-prose {\n --tw-prose-body: #374151;\n --tw-prose-headings: #111827;\n --tw-prose-lead: #4b5563;\n --tw-prose-links: #111827;\n --tw-prose-bold: #111827;\n --tw-prose-counters: #6b7280;\n --tw-prose-bullets: #d1d5db;\n --tw-prose-hr: #e5e7eb;\n --tw-prose-quotes: #111827;\n --tw-prose-quote-borders: #e5e7eb;\n --tw-prose-captions: #6b7280;\n --tw-prose-kbd: #111827;\n --tw-prose-kbd-shadows: 17 24 39;\n --tw-prose-code: #111827;\n --tw-prose-pre-code: #e5e7eb;\n --tw-prose-pre-bg: #1f2937;\n --tw-prose-th-borders: #d1d5db;\n --tw-prose-td-borders: #e5e7eb;\n --tw-prose-invert-body: #d1d5db;\n --tw-prose-invert-headings: #fff;\n --tw-prose-invert-lead: #9ca3af;\n --tw-prose-invert-links: #fff;\n --tw-prose-invert-bold: #fff;\n --tw-prose-invert-counters: #9ca3af;\n --tw-prose-invert-bullets: #4b5563;\n --tw-prose-invert-hr: #374151;\n --tw-prose-invert-quotes: #f3f4f6;\n --tw-prose-invert-quote-borders: #374151;\n --tw-prose-invert-captions: #9ca3af;\n --tw-prose-invert-kbd: #fff;\n --tw-prose-invert-kbd-shadows: 255 255 255;\n --tw-prose-invert-code: #fff;\n --tw-prose-invert-pre-code: #d1d5db;\n --tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);\n --tw-prose-invert-th-borders: #4b5563;\n --tw-prose-invert-td-borders: #374151;\n font-size: 1rem;\n line-height: 1.75;\n}\n.mly-prose :where(picture > img):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0;\n margin-bottom: 0;\n}\n.mly-prose :where(li):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0.5em;\n margin-bottom: 0.5em;\n}\n.mly-prose :where(ol > li):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n padding-inline-start: 0.375em;\n}\n.mly-prose :where(ul > li):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n padding-inline-start: 0.375em;\n}\n.mly-prose :where(.mly-prose > ul > li p):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0.75em;\n margin-bottom: 0.75em;\n}\n.mly-prose :where(.mly-prose > ul > li > p:first-child):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 1.25em;\n}\n.mly-prose :where(.mly-prose > ul > li > p:last-child):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-bottom: 1.25em;\n}\n.mly-prose :where(.mly-prose > ol > li > p:first-child):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 1.25em;\n}\n.mly-prose :where(.mly-prose > ol > li > p:last-child):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-bottom: 1.25em;\n}\n.mly-prose :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0.75em;\n margin-bottom: 0.75em;\n}\n.mly-prose :where(dl):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 1.25em;\n margin-bottom: 1.25em;\n}\n.mly-prose :where(dd):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0.5em;\n padding-inline-start: 1.625em;\n}\n.mly-prose :where(hr + *):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0;\n}\n.mly-prose :where(h2 + *):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0;\n}\n.mly-prose :where(h3 + *):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0;\n}\n.mly-prose :where(h4 + *):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0;\n}\n.mly-prose :where(thead th:first-child):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n padding-inline-start: 0;\n}\n.mly-prose :where(thead th:last-child):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n padding-inline-end: 0;\n}\n.mly-prose :where(tbody td, tfoot td):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n padding-top: 0.5714286em;\n padding-inline-end: 0.5714286em;\n padding-bottom: 0.5714286em;\n padding-inline-start: 0.5714286em;\n}\n.mly-prose :where(tbody td:first-child, tfoot td:first-child):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n padding-inline-start: 0;\n}\n.mly-prose :where(tbody td:last-child, tfoot td:last-child):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n padding-inline-end: 0;\n}\n.mly-prose :where(figure):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 2em;\n margin-bottom: 2em;\n}\n.mly-prose :where(.mly-prose > :first-child):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0;\n}\n.mly-prose :where(.mly-prose > :last-child):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-bottom: 0;\n}\n.mly-pointer-events-none {\n pointer-events: none;\n}\n.mly-visible {\n visibility: visible;\n}\n.mly-absolute {\n position: absolute;\n}\n.mly-relative {\n position: relative;\n}\n.mly-inset-0 {\n inset: 0px;\n}\n.mly-inset-y-0 {\n top: 0px;\n bottom: 0px;\n}\n.mly-left-0 {\n left: 0px;\n}\n.mly-left-1\\.5 {\n left: 0.375rem;\n}\n.mly-left-2 {\n left: 0.5rem;\n}\n.mly-right-0 {\n right: 0px;\n}\n.mly-right-1 {\n right: 0.25rem;\n}\n.mly-top-0 {\n top: 0px;\n}\n.mly-top-8 {\n top: 2rem;\n}\n.mly-isolate {\n isolation: isolate;\n}\n.mly-z-0 {\n z-index: 0;\n}\n.mly-z-10 {\n z-index: 10;\n}\n.mly-z-20 {\n z-index: 20;\n}\n.mly-z-50 {\n z-index: 50;\n}\n.mly-z-\\[1\\] {\n z-index: 1;\n}\n.mly-z-\\[9999\\] {\n z-index: 9999;\n}\n.\\!mly-my-0 {\n margin-top: 0px !important;\n margin-bottom: 0px !important;\n}\n.-mly-mx-4 {\n margin-left: -1rem;\n margin-right: -1rem;\n}\n.mly--mx-1 {\n margin-left: -0.25rem;\n margin-right: -0.25rem;\n}\n.mly-mx-0 {\n margin-left: 0px;\n margin-right: 0px;\n}\n.mly-mx-0\\.5 {\n margin-left: 0.125rem;\n margin-right: 0.125rem;\n}\n.mly-mx-1\\.5 {\n margin-left: 0.375rem;\n margin-right: 0.375rem;\n}\n.mly-my-0 {\n margin-top: 0px;\n margin-bottom: 0px;\n}\n.mly-my-0\\.5 {\n margin-top: 0.125rem;\n margin-bottom: 0.125rem;\n}\n.mly-my-1 {\n margin-top: 0.25rem;\n margin-bottom: 0.25rem;\n}\n.mly-my-2 {\n margin-top: 0.5rem;\n margin-bottom: 0.5rem;\n}\n.mly-my-4 {\n margin-top: 1rem;\n margin-bottom: 1rem;\n}\n.\\!mly-mb-0 {\n margin-bottom: 0px !important;\n}\n.\\!mly-mb-1\\.5 {\n margin-bottom: 0.375rem !important;\n}\n.-mly-ms-px {\n margin-inline-start: -1px;\n}\n.mly-mb-1\\.5 {\n margin-bottom: 0.375rem;\n}\n.mly-mb-2 {\n margin-bottom: 0.5rem;\n}\n.mly-mb-4 {\n margin-bottom: 1rem;\n}\n.mly-ml-1 {\n margin-left: 0.25rem;\n}\n.mly-ml-auto {\n margin-left: auto;\n}\n.mly-mt-1 {\n margin-top: 0.25rem;\n}\n.mly-mt-2 {\n margin-top: 0.5rem;\n}\n.mly-mt-4 {\n margin-top: 1rem;\n}\n.mly-block {\n display: block;\n}\n.mly-inline-block {\n display: inline-block;\n}\n.mly-inline {\n display: inline;\n}\n.mly-flex {\n display: flex;\n}\n.mly-inline-flex {\n display: inline-flex;\n}\n.mly-grid {\n display: grid;\n}\n.mly-inline-grid {\n display: inline-grid;\n}\n.mly-hidden {\n display: none;\n}\n.mly-aspect-\\[2\\.5\\] {\n aspect-ratio: 2.5;\n}\n.mly-aspect-square {\n aspect-ratio: 1 / 1;\n}\n.\\!mly-size-5 {\n width: 1.25rem !important;\n height: 1.25rem !important;\n}\n.\\!mly-size-7 {\n width: 1.75rem !important;\n height: 1.75rem !important;\n}\n.mly-size-3 {\n width: 0.75rem;\n height: 0.75rem;\n}\n.mly-size-3\\.5 {\n width: 0.875rem;\n height: 0.875rem;\n}\n.mly-size-4 {\n width: 1rem;\n height: 1rem;\n}\n.mly-size-5 {\n width: 1.25rem;\n height: 1.25rem;\n}\n.mly-size-6 {\n width: 1.5rem;\n height: 1.5rem;\n}\n.mly-size-7 {\n width: 1.75rem;\n height: 1.75rem;\n}\n.mly-size-\\[15px\\] {\n width: 15px;\n height: 15px;\n}\n.mly-size-\\[var\\(--variable-icon-size\\)\\] {\n width: var(--variable-icon-size);\n height: var(--variable-icon-size);\n}\n.\\!mly-h-7 {\n height: 1.75rem !important;\n}\n.mly-h-10 {\n height: 2.5rem;\n}\n.mly-h-11 {\n height: 2.75rem;\n}\n.mly-h-3 {\n height: 0.75rem;\n}\n.mly-h-4 {\n height: 1rem;\n}\n.mly-h-5 {\n height: 1.25rem;\n}\n.mly-h-6 {\n height: 1.5rem;\n}\n.mly-h-7 {\n height: 1.75rem;\n}\n.mly-h-8 {\n height: 2rem;\n}\n.mly-h-9 {\n height: 2.25rem;\n}\n.mly-h-\\[2px\\] {\n height: 2px;\n}\n.mly-h-auto {\n height: auto;\n}\n.mly-h-full {\n height: 100%;\n}\n.mly-h-px {\n height: 1px;\n}\n.mly-max-h-52 {\n max-height: 13rem;\n}\n.mly-max-h-\\[330px\\] {\n max-height: 330px;\n}\n.mly-min-h-24 {\n min-height: 6rem;\n}\n.mly-min-h-7 {\n min-height: 1.75rem;\n}\n.mly-min-h-\\[42px\\] {\n min-height: 42px;\n}\n.\\!mly-w-full {\n width: 100% !important;\n}\n.mly-w-10 {\n width: 2.5rem;\n}\n.mly-w-3 {\n width: 0.75rem;\n}\n.mly-w-32 {\n width: 8rem;\n}\n.mly-w-36 {\n width: 9rem;\n}\n.mly-w-4 {\n width: 1rem;\n}\n.mly-w-40 {\n width: 10rem;\n}\n.mly-w-5 {\n width: 1.25rem;\n}\n.mly-w-52 {\n width: 13rem;\n}\n.mly-w-6 {\n width: 1.5rem;\n}\n.mly-w-64 {\n width: 16rem;\n}\n.mly-w-7 {\n width: 1.75rem;\n}\n.mly-w-72 {\n width: 18rem;\n}\n.mly-w-9 {\n width: 2.25rem;\n}\n.mly-w-96 {\n width: 24rem;\n}\n.mly-w-\\[1\\.5px\\] {\n width: 1.5px;\n}\n.mly-w-\\[160px\\] {\n width: 160px;\n}\n.mly-w-\\[300px\\] {\n width: 300px;\n}\n.mly-w-fit {\n width: -moz-fit-content;\n width: fit-content;\n}\n.mly-w-full {\n width: 100%;\n}\n.mly-w-max {\n width: -moz-max-content;\n width: max-content;\n}\n.mly-w-px {\n width: 1px;\n}\n.mly-min-w-0 {\n min-width: 0px;\n}\n.mly-min-w-28 {\n min-width: 7rem;\n}\n.mly-min-w-\\[260px\\] {\n min-width: 260px;\n}\n.mly-min-w-\\[8rem\\] {\n min-width: 8rem;\n}\n.mly-min-w-full {\n min-width: 100%;\n}\n.mly-max-w-12 {\n max-width: 3rem;\n}\n.mly-max-w-20 {\n max-width: 5rem;\n}\n.mly-max-w-28 {\n max-width: 7rem;\n}\n.mly-max-w-\\[260px\\] {\n max-width: 260px;\n}\n.mly-max-w-\\[285px\\] {\n max-width: 285px;\n}\n.mly-max-w-max {\n max-width: -moz-max-content;\n max-width: max-content;\n}\n.mly-max-w-xs {\n max-width: 20rem;\n}\n.mly-shrink-0 {\n flex-shrink: 0;\n}\n.mly-grow {\n flex-grow: 1;\n}\n.mly-table-fixed {\n table-layout: fixed;\n}\n.mly-border-separate {\n border-collapse: separate;\n}\n.mly-translate-x-full {\n --tw-translate-x: 100%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.mly-transform {\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n@keyframes mly-spin {\n to {\n transform: rotate(360deg);\n }\n}\n.mly-animate-spin {\n animation: mly-spin 1s linear infinite;\n}\n.mly-cursor-default {\n cursor: default;\n}\n.mly-cursor-grab {\n cursor: grab;\n}\n.mly-cursor-pointer {\n cursor: pointer;\n}\n.mly-select-none {\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n.mly-appearance-none {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n.mly-grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n}\n.mly-grid-cols-\\[12px_1fr\\] {\n grid-template-columns: 12px 1fr;\n}\n.mly-flex-col {\n flex-direction: column;\n}\n.mly-flex-wrap {\n flex-wrap: wrap;\n}\n.mly-items-center {\n align-items: center;\n}\n.mly-items-stretch {\n align-items: stretch;\n}\n.mly-justify-start {\n justify-content: flex-start;\n}\n.mly-justify-center {\n justify-content: center;\n}\n.mly-justify-between {\n justify-content: space-between;\n}\n.mly-gap-0\\.5 {\n gap: 0.125rem;\n}\n.mly-gap-1 {\n gap: 0.25rem;\n}\n.mly-gap-1\\.5 {\n gap: 0.375rem;\n}\n.mly-gap-2 {\n gap: 0.5rem;\n}\n.mly-gap-3 {\n gap: 0.75rem;\n}\n.mly-gap-4 {\n gap: 1rem;\n}\n.mly-gap-\\[1px\\] {\n gap: 1px;\n}\n.mly-gap-\\[var\\(--variable-icon-gap\\)\\] {\n gap: var(--variable-icon-gap);\n}\n.mly-space-x-0\\.5 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-x-reverse: 0;\n margin-right: calc(0.125rem * var(--tw-space-x-reverse));\n margin-left: calc(0.125rem * calc(1 - var(--tw-space-x-reverse)));\n}\n.mly-space-y-0\\.5 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-y-reverse: 0;\n margin-top: calc(0.125rem * calc(1 - var(--tw-space-y-reverse)));\n margin-bottom: calc(0.125rem * var(--tw-space-y-reverse));\n}\n.mly-space-y-1 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-y-reverse: 0;\n margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));\n margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));\n}\n.mly-overflow-hidden {\n overflow: hidden;\n}\n.mly-overflow-y-auto {\n overflow-y: auto;\n}\n.mly-scroll-smooth {\n scroll-behavior: smooth;\n}\n.mly-truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.\\!mly-rounded {\n border-radius: 0.25rem !important;\n}\n.\\!mly-rounded-full {\n border-radius: 9999px !important;\n}\n.\\!mly-rounded-md {\n border-radius: 0.375rem !important;\n}\n.\\!mly-rounded-none {\n border-radius: 0px !important;\n}\n.mly-rounded {\n border-radius: 0.25rem;\n}\n.mly-rounded-full {\n border-radius: 9999px;\n}\n.mly-rounded-lg {\n border-radius: 0.5rem;\n}\n.mly-rounded-md {\n border-radius: 0.375rem;\n}\n.mly-rounded-none {\n border-radius: 0px;\n}\n.mly-rounded-sm {\n border-radius: 0.125rem;\n}\n.mly-rounded-xl {\n border-radius: 0.75rem;\n}\n.mly-rounded-s-lg {\n border-start-start-radius: 0.5rem;\n border-end-start-radius: 0.5rem;\n}\n.mly-rounded-s-none {\n border-start-start-radius: 0px;\n border-end-start-radius: 0px;\n}\n.mly-rounded-t-lg {\n border-top-left-radius: 0.5rem;\n border-top-right-radius: 0.5rem;\n}\n.mly-border {\n border-width: 1px;\n}\n.mly-border-0 {\n border-width: 0px;\n}\n.mly-border-2 {\n border-width: 2px;\n}\n.mly-border-\\[1\\.5px\\] {\n border-width: 1.5px;\n}\n.mly-border-b {\n border-bottom-width: 1px;\n}\n.mly-border-l-4 {\n border-left-width: 4px;\n}\n.mly-border-t {\n border-top-width: 1px;\n}\n.mly-border-none {\n border-style: none;\n}\n.mly-border-\\[var\\(--button-var-border-color\\)\\] {\n border-color: var(--button-var-border-color);\n}\n.mly-border-gray-200 {\n --tw-border-opacity: 1;\n border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));\n}\n.mly-border-gray-300 {\n --tw-border-opacity: 1;\n border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));\n}\n.mly-border-gray-700 {\n --tw-border-opacity: 1;\n border-color: rgb(55 65 81 / var(--tw-border-opacity, 1));\n}\n.mly-border-rose-400 {\n --tw-border-opacity: 1;\n border-color: rgb(251 113 133 / var(--tw-border-opacity, 1));\n}\n.mly-border-slate-200 {\n --tw-border-opacity: 1;\n border-color: rgb(226 232 240 / var(--tw-border-opacity, 1));\n}\n.mly-border-white {\n --tw-border-opacity: 1;\n border-color: rgb(255 255 255 / var(--tw-border-opacity, 1));\n}\n.\\!mly-bg-transparent {\n background-color: transparent !important;\n}\n.mly-bg-\\[\\#efefef\\] {\n --tw-bg-opacity: 1;\n background-color: rgb(239 239 239 / var(--tw-bg-opacity, 1));\n}\n.mly-bg-gray-100 {\n --tw-bg-opacity: 1;\n background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));\n}\n.mly-bg-gray-200 {\n --tw-bg-opacity: 1;\n background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));\n}\n.mly-bg-gray-50 {\n --tw-bg-opacity: 1;\n background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));\n}\n.mly-bg-gray-900 {\n --tw-bg-opacity: 1;\n background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));\n}\n.mly-bg-red-100 {\n --tw-bg-opacity: 1;\n background-color: rgb(254 226 226 / var(--tw-bg-opacity, 1));\n}\n.mly-bg-red-500 {\n --tw-bg-opacity: 1;\n background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1));\n}\n.mly-bg-rose-100 {\n --tw-bg-opacity: 1;\n background-color: rgb(255 228 230 / var(--tw-bg-opacity, 1));\n}\n.mly-bg-rose-300 {\n --tw-bg-opacity: 1;\n background-color: rgb(253 164 175 / var(--tw-bg-opacity, 1));\n}\n.mly-bg-rose-50 {\n --tw-bg-opacity: 1;\n background-color: rgb(255 241 242 / var(--tw-bg-opacity, 1));\n}\n.mly-bg-rose-500 {\n --tw-bg-opacity: 1;\n background-color: rgb(244 63 94 / var(--tw-bg-opacity, 1));\n}\n.mly-bg-soft-gray {\n --tw-bg-opacity: 1;\n background-color: rgb(244 245 246 / var(--tw-bg-opacity, 1));\n}\n.mly-bg-soft-gray\\/40 {\n background-color: rgb(244 245 246 / 0.4);\n}\n.mly-bg-soft-gray\\/60 {\n background-color: rgb(244 245 246 / 0.6);\n}\n.mly-bg-transparent {\n background-color: transparent;\n}\n.mly-bg-white {\n --tw-bg-opacity: 1;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));\n}\n.mly-bg-yellow-200 {\n --tw-bg-opacity: 1;\n background-color: rgb(254 240 138 / var(--tw-bg-opacity, 1));\n}\n.mly-stroke-midnight-gray {\n stroke: #333333;\n}\n.mly-stroke-\\[1\\.2\\] {\n stroke-width: 1.2;\n}\n.mly-stroke-\\[1\\] {\n stroke-width: 1;\n}\n.mly-stroke-\\[2\\.5\\] {\n stroke-width: 2.5;\n}\n.mly-object-cover {\n -o-object-fit: cover;\n object-fit: cover;\n}\n.\\!mly-p-0 {\n padding: 0px !important;\n}\n.\\!mly-p-0\\.5 {\n padding: 0.125rem !important;\n}\n.mly-p-0 {\n padding: 0px;\n}\n.mly-p-0\\.5 {\n padding: 0.125rem;\n}\n.mly-p-1 {\n padding: 0.25rem;\n}\n.mly-p-2 {\n padding: 0.5rem;\n}\n.mly-p-3 {\n padding: 0.75rem;\n}\n.mly-p-4 {\n padding: 1rem;\n}\n.mly-px-0\\.5 {\n padding-left: 0.125rem;\n padding-right: 0.125rem;\n}\n.mly-px-1 {\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n}\n.mly-px-1\\.5 {\n padding-left: 0.375rem;\n padding-right: 0.375rem;\n}\n.mly-px-2 {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n}\n.mly-px-2\\.5 {\n padding-left: 0.625rem;\n padding-right: 0.625rem;\n}\n.mly-px-3 {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n.mly-px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n}\n.mly-px-8 {\n padding-left: 2rem;\n padding-right: 2rem;\n}\n.mly-px-\\[26px\\] {\n padding-left: 26px;\n padding-right: 26px;\n}\n.mly-py-0\\.5 {\n padding-top: 0.125rem;\n padding-bottom: 0.125rem;\n}\n.mly-py-1 {\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n}\n.mly-py-1\\.5 {\n padding-top: 0.375rem;\n padding-bottom: 0.375rem;\n}\n.mly-py-2 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n.mly-py-3 {\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n}\n.mly-pe-8 {\n padding-inline-end: 2rem;\n}\n.mly-pl-1 {\n padding-left: 0.25rem;\n}\n.mly-pl-4 {\n padding-left: 1rem;\n}\n.mly-pl-7 {\n padding-left: 1.75rem;\n}\n.mly-pl-8 {\n padding-left: 2rem;\n}\n.mly-pl-\\[26px\\] {\n padding-left: 26px;\n}\n.mly-pr-1\\.5 {\n padding-right: 0.375rem;\n}\n.mly-pr-6 {\n padding-right: 1.5rem;\n}\n.mly-pr-7 {\n padding-right: 1.75rem;\n}\n.mly-ps-3 {\n padding-inline-start: 0.75rem;\n}\n.mly-text-left {\n text-align: left;\n}\n.mly-text-center {\n text-align: center;\n}\n.mly-font-mono {\n font-family:\n ui-monospace,\n SFMono-Regular,\n Menlo,\n Monaco,\n Consolas,\n "Liberation Mono",\n "Courier New",\n monospace;\n}\n.\\!mly-text-base {\n font-size: 1rem !important;\n line-height: 1.5rem !important;\n}\n.\\!mly-text-lg {\n font-size: 1.125rem !important;\n line-height: 1.75rem !important;\n}\n.mly-text-\\[10px\\] {\n font-size: 10px;\n}\n.mly-text-\\[13px\\] {\n font-size: 13px;\n}\n.mly-text-sm {\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n.mly-text-xs {\n font-size: 0.75rem;\n line-height: 1rem;\n}\n.mly-font-medium {\n font-weight: 500;\n}\n.mly-font-normal {\n font-weight: 400;\n}\n.mly-font-semibold {\n font-weight: 600;\n}\n.mly-uppercase {\n text-transform: uppercase;\n}\n.mly-capitalize {\n text-transform: capitalize;\n}\n.mly-tabular-nums {\n --tw-numeric-spacing: tabular-nums;\n font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);\n}\n.mly-leading-none {\n line-height: 1;\n}\n.mly-tracking-normal {\n letter-spacing: 0em;\n}\n.mly-tracking-widest {\n letter-spacing: 0.1em;\n}\n.mly-text-black {\n --tw-text-opacity: 1;\n color: rgb(0 0 0 / var(--tw-text-opacity, 1));\n}\n.mly-text-gray-400 {\n --tw-text-opacity: 1;\n color: rgb(156 163 175 / var(--tw-text-opacity, 1));\n}\n.mly-text-gray-50 {\n --tw-text-opacity: 1;\n color: rgb(249 250 251 / var(--tw-text-opacity, 1));\n}\n.mly-text-gray-500 {\n --tw-text-opacity: 1;\n color: rgb(107 114 128 / var(--tw-text-opacity, 1));\n}\n.mly-text-gray-600 {\n --tw-text-opacity: 1;\n color: rgb(75 85 99 / var(--tw-text-opacity, 1));\n}\n.mly-text-gray-700 {\n --tw-text-opacity: 1;\n color: rgb(55 65 81 / var(--tw-text-opacity, 1));\n}\n.mly-text-gray-900 {\n --tw-text-opacity: 1;\n color: rgb(17 24 39 / var(--tw-text-opacity, 1));\n}\n.mly-text-gray-950 {\n --tw-text-opacity: 1;\n color: rgb(3 7 18 / var(--tw-text-opacity, 1));\n}\n.mly-text-midnight-gray {\n --tw-text-opacity: 1;\n color: rgb(51 51 51 / var(--tw-text-opacity, 1));\n}\n.mly-text-midnight-gray\\/60 {\n color: rgb(51 51 51 / 0.6);\n}\n.mly-text-red-500 {\n --tw-text-opacity: 1;\n color: rgb(239 68 68 / var(--tw-text-opacity, 1));\n}\n.mly-text-red-600 {\n --tw-text-opacity: 1;\n color: rgb(220 38 38 / var(--tw-text-opacity, 1));\n}\n.mly-text-rose-600 {\n --tw-text-opacity: 1;\n color: rgb(225 29 72 / var(--tw-text-opacity, 1));\n}\n.mly-text-rose-800 {\n --tw-text-opacity: 1;\n color: rgb(159 18 57 / var(--tw-text-opacity, 1));\n}\n.mly-text-slate-400 {\n --tw-text-opacity: 1;\n color: rgb(148 163 184 / var(--tw-text-opacity, 1));\n}\n.mly-text-slate-500 {\n --tw-text-opacity: 1;\n color: rgb(100 116 139 / var(--tw-text-opacity, 1));\n}\n.mly-text-slate-600 {\n --tw-text-opacity: 1;\n color: rgb(71 85 105 / var(--tw-text-opacity, 1));\n}\n.mly-text-slate-700 {\n --tw-text-opacity: 1;\n color: rgb(51 65 85 / var(--tw-text-opacity, 1));\n}\n.mly-no-underline {\n text-decoration-line: none;\n}\n.mly-underline-offset-4 {\n text-underline-offset: 4px;\n}\n.mly-antialiased {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n.mly-opacity-60 {\n opacity: 0.6;\n}\n.mly-shadow {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);\n box-shadow:\n var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000),\n var(--tw-shadow);\n}\n.mly-shadow-lg {\n --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);\n box-shadow:\n var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000),\n var(--tw-shadow);\n}\n.mly-shadow-md {\n --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);\n box-shadow:\n var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000),\n var(--tw-shadow);\n}\n.mly-shadow-none {\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n box-shadow:\n var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000),\n var(--tw-shadow);\n}\n.mly-shadow-sm {\n --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);\n --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);\n box-shadow:\n var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000),\n var(--tw-shadow);\n}\n.mly-outline-none {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n.mly-ring-offset-white {\n --tw-ring-offset-color: #fff;\n}\n.mly-drop-shadow-md {\n --tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / 0.07)) drop-shadow(0 2px 2px rgb(0 0 0 / 0.06));\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n.mly-transition-all {\n transition-property: all;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.mly-transition-colors {\n transition-property:\n color,\n background-color,\n border-color,\n text-decoration-color,\n fill,\n stroke;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.mly-transition-shadow {\n transition-property: box-shadow;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.mly-ease-out {\n transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n}\n@keyframes enter {\n from {\n opacity: var(--tw-enter-opacity, 1);\n transform: translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0) scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0));\n }\n}\n@keyframes exit {\n to {\n opacity: var(--tw-exit-opacity, 1);\n transform: translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0));\n }\n}\n.mly-animate-in {\n animation-name: enter;\n animation-duration: 150ms;\n --tw-enter-opacity: initial;\n --tw-enter-scale: initial;\n --tw-enter-rotate: initial;\n --tw-enter-translate-x: initial;\n --tw-enter-translate-y: initial;\n}\n.mly-fade-in-0 {\n --tw-enter-opacity: 0;\n}\n.mly-zoom-in-95 {\n --tw-enter-scale: .95;\n}\n.mly-ease-out {\n animation-timing-function: cubic-bezier(0, 0, 0.2, 1);\n}\n.mly-scrollbar-thin::-webkit-scrollbar-track {\n background-color: var(--scrollbar-track);\n border-radius: var(--scrollbar-track-radius);\n}\n.mly-scrollbar-thin::-webkit-scrollbar-track:hover {\n background-color: var(--scrollbar-track-hover, var(--scrollbar-track));\n}\n.mly-scrollbar-thin::-webkit-scrollbar-track:active {\n background-color: var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)));\n}\n.mly-scrollbar-thin::-webkit-scrollbar-thumb {\n background-color: var(--scrollbar-thumb);\n border-radius: var(--scrollbar-thumb-radius);\n}\n.mly-scrollbar-thin::-webkit-scrollbar-thumb:hover {\n background-color: var(--scrollbar-thumb-hover, var(--scrollbar-thumb));\n}\n.mly-scrollbar-thin::-webkit-scrollbar-thumb:active {\n background-color: var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)));\n}\n.mly-scrollbar-thin::-webkit-scrollbar-corner {\n background-color: var(--scrollbar-corner);\n border-radius: var(--scrollbar-corner-radius);\n}\n.mly-scrollbar-thin::-webkit-scrollbar-corner:hover {\n background-color: var(--scrollbar-corner-hover, var(--scrollbar-corner));\n}\n.mly-scrollbar-thin::-webkit-scrollbar-corner:active {\n background-color: var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)));\n}\n.mly-scrollbar-thin {\n scrollbar-width: thin;\n scrollbar-color: var(--scrollbar-thumb, initial) var(--scrollbar-track, initial);\n}\n.mly-scrollbar-thin::-webkit-scrollbar {\n display: block;\n width: 8px;\n height: 8px;\n}\n.mly-scrollbar-track-transparent {\n --scrollbar-track: transparent !important;\n}\n.mly-scrollbar-thumb-gray-200 {\n --scrollbar-thumb: #e5e7eb !important;\n}\n.\\[text-align\\:revert-layer\\] {\n text-align: revert-layer;\n}\n.file\\:mly-border-0::file-selector-button {\n border-width: 0px;\n}\n.file\\:mly-bg-transparent::file-selector-button {\n background-color: transparent;\n}\n.file\\:mly-text-sm::file-selector-button {\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n.file\\:mly-font-medium::file-selector-button {\n font-weight: 500;\n}\n.placeholder\\:mly-text-gray-400::-moz-placeholder {\n --tw-text-opacity: 1;\n color: rgb(156 163 175 / var(--tw-text-opacity, 1));\n}\n.placeholder\\:mly-text-gray-400::placeholder {\n --tw-text-opacity: 1;\n color: rgb(156 163 175 / var(--tw-text-opacity, 1));\n}\n.placeholder\\:mly-text-gray-500::-moz-placeholder {\n --tw-text-opacity: 1;\n color: rgb(107 114 128 / var(--tw-text-opacity, 1));\n}\n.placeholder\\:mly-text-gray-500::placeholder {\n --tw-text-opacity: 1;\n color: rgb(107 114 128 / var(--tw-text-opacity, 1));\n}\n.mly-peer:disabled ~ .peer-disabled\\:mly-opacity-50 {\n opacity: 0.5;\n}\n.data-\\[disabled\\]\\:mly-pointer-events-none[data-disabled] {\n pointer-events: none;\n}\n.data-\\[state\\=open\\]\\:mly-bg-rose-100[data-state=open] {\n --tw-bg-opacity: 1;\n background-color: rgb(255 228 230 / var(--tw-bg-opacity, 1));\n}\n.data-\\[state\\=open\\]\\:mly-bg-soft-gray[data-state=open] {\n --tw-bg-opacity: 1;\n background-color: rgb(244 245 246 / var(--tw-bg-opacity, 1));\n}\n.data-\\[state\\=true\\]\\:mly-bg-soft-gray[data-state=true] {\n --tw-bg-opacity: 1;\n background-color: rgb(244 245 246 / var(--tw-bg-opacity, 1));\n}\n.data-\\[state\\=true\\]\\:mly-text-gray-900[data-state=true] {\n --tw-text-opacity: 1;\n color: rgb(17 24 39 / var(--tw-text-opacity, 1));\n}\n.data-\\[disabled\\]\\:mly-opacity-50[data-disabled] {\n opacity: 0.5;\n}\n.hover\\:mly-bg-gray-100:hover {\n --tw-bg-opacity: 1;\n background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));\n}\n.hover\\:mly-bg-gray-100\\/80:hover {\n background-color: rgb(243 244 246 / 0.8);\n}\n.hover\\:mly-bg-red-200:hover {\n --tw-bg-opacity: 1;\n background-color: rgb(254 202 202 / var(--tw-bg-opacity, 1));\n}\n.hover\\:mly-bg-red-500\\/90:hover {\n background-color: rgb(239 68 68 / 0.9);\n}\n.hover\\:mly-bg-rose-100:hover {\n --tw-bg-opacity: 1;\n background-color: rgb(255 228 230 / var(--tw-bg-opacity, 1));\n}\n.hover\\:mly-bg-soft-gray:hover {\n --tw-bg-opacity: 1;\n background-color: rgb(244 245 246 / var(--tw-bg-opacity, 1));\n}\n.hover\\:mly-bg-soft-gray\\/60:hover {\n background-color: rgb(244 245 246 / 0.6);\n}\n.hover\\:mly-text-black:hover {\n --tw-text-opacity: 1;\n color: rgb(0 0 0 / var(--tw-text-opacity, 1));\n}\n.hover\\:mly-text-gray-900:hover {\n --tw-text-opacity: 1;\n color: rgb(17 24 39 / var(--tw-text-opacity, 1));\n}\n.hover\\:mly-text-midnight-gray:hover {\n --tw-text-opacity: 1;\n color: rgb(51 51 51 / var(--tw-text-opacity, 1));\n}\n.hover\\:mly-underline:hover {\n text-decoration-line: underline;\n}\n.focus\\:mly-z-10:focus {\n z-index: 10;\n}\n.focus\\:mly-bg-gray-100:focus {\n --tw-bg-opacity: 1;\n background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));\n}\n.focus\\:mly-bg-red-200:focus {\n --tw-bg-opacity: 1;\n background-color: rgb(254 202 202 / var(--tw-bg-opacity, 1));\n}\n.focus\\:mly-bg-soft-gray:focus {\n --tw-bg-opacity: 1;\n background-color: rgb(244 245 246 / var(--tw-bg-opacity, 1));\n}\n.focus\\:mly-outline-none:focus {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n.focus\\:mly-ring-1:focus {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow:\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow, 0 0 #0000);\n}\n.focus\\:mly-ring-midnight-gray\\/50:focus {\n --tw-ring-color: rgb(51 51 51 / 0.5);\n}\n.focus-visible\\:mly-relative:focus-visible {\n position: relative;\n}\n.focus-visible\\:mly-z-10:focus-visible {\n z-index: 10;\n}\n.focus-visible\\:mly-border-gray-400:focus-visible {\n --tw-border-opacity: 1;\n border-color: rgb(156 163 175 / var(--tw-border-opacity, 1));\n}\n.focus-visible\\:mly-outline-none:focus-visible {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n.focus-visible\\:mly-ring-2:focus-visible {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow:\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow, 0 0 #0000);\n}\n.focus-visible\\:mly-ring-gray-400:focus-visible {\n --tw-ring-opacity: 1;\n --tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity, 1));\n}\n.focus-visible\\:mly-ring-offset-2:focus-visible {\n --tw-ring-offset-width: 2px;\n}\n.active\\:mly-bg-soft-gray:active {\n --tw-bg-opacity: 1;\n background-color: rgb(244 245 246 / var(--tw-bg-opacity, 1));\n}\n.disabled\\:mly-pointer-events-none:disabled {\n pointer-events: none;\n}\n.disabled\\:mly-cursor-not-allowed:disabled {\n cursor: not-allowed;\n}\n.disabled\\:mly-opacity-50:disabled {\n opacity: 0.5;\n}\n.\\[\\&_svg\\]\\:mly-pointer-events-none svg {\n pointer-events: none;\n}\n');
|
|
96
|
+
styleInject(':root {\n --mly-tw-border-spacing-x: 0;\n --mly-tw-border-spacing-y: 0;\n --mly-tw-translate-x: 0;\n --mly-tw-translate-y: 0;\n --mly-tw-rotate: 0;\n --mly-tw-skew-x: 0;\n --mly-tw-skew-y: 0;\n --mly-tw-scale-x: 1;\n --mly-tw-scale-y: 1;\n --mly-tw-pan-x: ;\n --mly-tw-pan-y: ;\n --mly-tw-pinch-zoom: ;\n --mly-tw-scroll-snap-strictness: proximity;\n --mly-tw-gradient-from-position: ;\n --mly-tw-gradient-via-position: ;\n --mly-tw-gradient-to-position: ;\n --mly-tw-ordinal: ;\n --mly-tw-slashed-zero: ;\n --mly-tw-numeric-figure: ;\n --mly-tw-numeric-spacing: ;\n --mly-tw-numeric-fraction: ;\n --mly-tw-ring-inset: ;\n --mly-tw-ring-offset-width: 0px;\n --mly-tw-ring-offset-color: #fff;\n --mly-tw-ring-color: rgb(59 130 246 / 0.5);\n --mly-tw-ring-offset-shadow: 0 0 #0000;\n --mly-tw-ring-shadow: 0 0 #0000;\n --mly-tw-shadow: 0 0 #0000;\n --mly-tw-shadow-colored: 0 0 #0000;\n --mly-tw-blur: ;\n --mly-tw-brightness: ;\n --mly-tw-contrast: ;\n --mly-tw-grayscale: ;\n --mly-tw-hue-rotate: ;\n --mly-tw-invert: ;\n --mly-tw-saturate: ;\n --mly-tw-sepia: ;\n --mly-tw-drop-shadow: ;\n --mly-tw-backdrop-blur: ;\n --mly-tw-backdrop-brightness: ;\n --mly-tw-backdrop-contrast: ;\n --mly-tw-backdrop-grayscale: ;\n --mly-tw-backdrop-hue-rotate: ;\n --mly-tw-backdrop-invert: ;\n --mly-tw-backdrop-opacity: ;\n --mly-tw-backdrop-saturate: ;\n --mly-tw-backdrop-sepia: ;\n --mly-tw-contain-size: ;\n --mly-tw-contain-layout: ;\n --mly-tw-contain-paint: ;\n --mly-tw-contain-style: ;\n}\n::backdrop {\n --mly-tw-border-spacing-x: 0;\n --mly-tw-border-spacing-y: 0;\n --mly-tw-translate-x: 0;\n --mly-tw-translate-y: 0;\n --mly-tw-rotate: 0;\n --mly-tw-skew-x: 0;\n --mly-tw-skew-y: 0;\n --mly-tw-scale-x: 1;\n --mly-tw-scale-y: 1;\n --mly-tw-pan-x: ;\n --mly-tw-pan-y: ;\n --mly-tw-pinch-zoom: ;\n --mly-tw-scroll-snap-strictness: proximity;\n --mly-tw-gradient-from-position: ;\n --mly-tw-gradient-via-position: ;\n --mly-tw-gradient-to-position: ;\n --mly-tw-ordinal: ;\n --mly-tw-slashed-zero: ;\n --mly-tw-numeric-figure: ;\n --mly-tw-numeric-spacing: ;\n --mly-tw-numeric-fraction: ;\n --mly-tw-ring-inset: ;\n --mly-tw-ring-offset-width: 0px;\n --mly-tw-ring-offset-color: #fff;\n --mly-tw-ring-color: rgb(59 130 246 / 0.5);\n --mly-tw-ring-offset-shadow: 0 0 #0000;\n --mly-tw-ring-shadow: 0 0 #0000;\n --mly-tw-shadow: 0 0 #0000;\n --mly-tw-shadow-colored: 0 0 #0000;\n --mly-tw-blur: ;\n --mly-tw-brightness: ;\n --mly-tw-contrast: ;\n --mly-tw-grayscale: ;\n --mly-tw-hue-rotate: ;\n --mly-tw-invert: ;\n --mly-tw-saturate: ;\n --mly-tw-sepia: ;\n --mly-tw-drop-shadow: ;\n --mly-tw-backdrop-blur: ;\n --mly-tw-backdrop-brightness: ;\n --mly-tw-backdrop-contrast: ;\n --mly-tw-backdrop-grayscale: ;\n --mly-tw-backdrop-hue-rotate: ;\n --mly-tw-backdrop-invert: ;\n --mly-tw-backdrop-opacity: ;\n --mly-tw-backdrop-saturate: ;\n --mly-tw-backdrop-sepia: ;\n --mly-tw-contain-size: ;\n --mly-tw-contain-layout: ;\n --mly-tw-contain-paint: ;\n --mly-tw-contain-style: ;\n}\n* {\n scrollbar-color: initial;\n scrollbar-width: initial;\n}\n.mly-prose {\n color: var(--mly-tw-prose-body);\n max-width: 65ch;\n}\n.mly-prose :where(p):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 1.25em;\n margin-bottom: 1.25em;\n}\n.mly-prose :where([class~=lead]):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: var(--mly-tw-prose-lead);\n font-size: 1.25em;\n line-height: 1.6;\n margin-top: 1.2em;\n margin-bottom: 1.2em;\n}\n.mly-prose :where(a):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: var(--mly-tw-prose-links);\n text-decoration: underline;\n font-weight: 500;\n}\n.mly-prose :where(strong):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: var(--mly-tw-prose-bold);\n font-weight: 600;\n}\n.mly-prose :where(a strong):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: inherit;\n}\n.mly-prose :where(blockquote strong):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: inherit;\n}\n.mly-prose :where(thead th strong):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: inherit;\n}\n.mly-prose :where(ol):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n list-style-type: decimal;\n margin-top: 1.25em;\n margin-bottom: 1.25em;\n padding-inline-start: 1.625em;\n}\n.mly-prose :where(ol[type=A]):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n list-style-type: upper-alpha;\n}\n.mly-prose :where(ol[type=a]):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n list-style-type: lower-alpha;\n}\n.mly-prose :where(ol[type=A s]):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n list-style-type: upper-alpha;\n}\n.mly-prose :where(ol[type=a s]):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n list-style-type: lower-alpha;\n}\n.mly-prose :where(ol[type=I]):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n list-style-type: upper-roman;\n}\n.mly-prose :where(ol[type=i]):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n list-style-type: lower-roman;\n}\n.mly-prose :where(ol[type=I s]):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n list-style-type: upper-roman;\n}\n.mly-prose :where(ol[type=i s]):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n list-style-type: lower-roman;\n}\n.mly-prose :where(ol[type="1"]):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n list-style-type: decimal;\n}\n.mly-prose :where(ul):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n list-style-type: disc;\n margin-top: 1.25em;\n margin-bottom: 1.25em;\n padding-inline-start: 1.625em;\n}\n.mly-prose :where(ol > li):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *))::marker {\n font-weight: 400;\n color: var(--mly-tw-prose-counters);\n}\n.mly-prose :where(ul > li):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *))::marker {\n color: var(--mly-tw-prose-bullets);\n}\n.mly-prose :where(dt):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: var(--mly-tw-prose-headings);\n font-weight: 600;\n margin-top: 1.25em;\n}\n.mly-prose :where(hr):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n border-color: var(--mly-tw-prose-hr);\n border-top-width: 1px;\n margin-top: 3em;\n margin-bottom: 3em;\n}\n.mly-prose :where(blockquote):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n font-weight: 500;\n font-style: italic;\n color: var(--mly-tw-prose-quotes);\n border-inline-start-width: 0.25rem;\n border-inline-start-color: var(--mly-tw-prose-quote-borders);\n quotes: "\\201c""\\201d""\\2018""\\2019";\n margin-top: 1.6em;\n margin-bottom: 1.6em;\n padding-inline-start: 1em;\n}\n.mly-prose :where(blockquote p:first-of-type):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *))::before {\n content: open-quote;\n}\n.mly-prose :where(blockquote p:last-of-type):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *))::after {\n content: close-quote;\n}\n.mly-prose :where(h1):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: var(--mly-tw-prose-headings);\n font-weight: 800;\n font-size: 2.25em;\n margin-top: 0;\n margin-bottom: 0.8888889em;\n line-height: 1.1111111;\n}\n.mly-prose :where(h1 strong):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n font-weight: 900;\n color: inherit;\n}\n.mly-prose :where(h2):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: var(--mly-tw-prose-headings);\n font-weight: 700;\n font-size: 1.5em;\n margin-top: 2em;\n margin-bottom: 1em;\n line-height: 1.3333333;\n}\n.mly-prose :where(h2 strong):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n font-weight: 800;\n color: inherit;\n}\n.mly-prose :where(h3):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: var(--mly-tw-prose-headings);\n font-weight: 600;\n font-size: 1.25em;\n margin-top: 1.6em;\n margin-bottom: 0.6em;\n line-height: 1.6;\n}\n.mly-prose :where(h3 strong):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n font-weight: 700;\n color: inherit;\n}\n.mly-prose :where(h4):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: var(--mly-tw-prose-headings);\n font-weight: 600;\n margin-top: 1.5em;\n margin-bottom: 0.5em;\n line-height: 1.5;\n}\n.mly-prose :where(h4 strong):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n font-weight: 700;\n color: inherit;\n}\n.mly-prose :where(img):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 2em;\n margin-bottom: 2em;\n}\n.mly-prose :where(picture):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n display: block;\n margin-top: 2em;\n margin-bottom: 2em;\n}\n.mly-prose :where(video):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 2em;\n margin-bottom: 2em;\n}\n.mly-prose :where(kbd):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n font-weight: 500;\n font-family: inherit;\n color: var(--mly-tw-prose-kbd);\n box-shadow: 0 0 0 1px rgb(var(--mly-tw-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--mly-tw-prose-kbd-shadows) / 10%);\n font-size: 0.875em;\n border-radius: 0.3125rem;\n padding-top: 0.1875em;\n padding-inline-end: 0.375em;\n padding-bottom: 0.1875em;\n padding-inline-start: 0.375em;\n}\n.mly-prose :where(code):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: var(--mly-tw-prose-code);\n font-weight: 600;\n font-size: 0.875em;\n}\n.mly-prose :where(code):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *))::before {\n content: "`";\n}\n.mly-prose :where(code):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *))::after {\n content: "`";\n}\n.mly-prose :where(a code):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: inherit;\n}\n.mly-prose :where(h1 code):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: inherit;\n}\n.mly-prose :where(h2 code):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: inherit;\n font-size: 0.875em;\n}\n.mly-prose :where(h3 code):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: inherit;\n font-size: 0.9em;\n}\n.mly-prose :where(h4 code):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: inherit;\n}\n.mly-prose :where(blockquote code):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: inherit;\n}\n.mly-prose :where(thead th code):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: inherit;\n}\n.mly-prose :where(pre):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: var(--mly-tw-prose-pre-code);\n background-color: var(--mly-tw-prose-pre-bg);\n overflow-x: auto;\n font-weight: 400;\n font-size: 0.875em;\n line-height: 1.7142857;\n margin-top: 1.7142857em;\n margin-bottom: 1.7142857em;\n border-radius: 0.375rem;\n padding-top: 0.8571429em;\n padding-inline-end: 1.1428571em;\n padding-bottom: 0.8571429em;\n padding-inline-start: 1.1428571em;\n}\n.mly-prose :where(pre code):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n background-color: transparent;\n border-width: 0;\n border-radius: 0;\n padding: 0;\n font-weight: inherit;\n color: inherit;\n font-size: inherit;\n font-family: inherit;\n line-height: inherit;\n}\n.mly-prose :where(pre code):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *))::before {\n content: none;\n}\n.mly-prose :where(pre code):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *))::after {\n content: none;\n}\n.mly-prose :where(table):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n width: 100%;\n table-layout: auto;\n margin-top: 2em;\n margin-bottom: 2em;\n font-size: 0.875em;\n line-height: 1.7142857;\n}\n.mly-prose :where(thead):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n border-bottom-width: 1px;\n border-bottom-color: var(--mly-tw-prose-th-borders);\n}\n.mly-prose :where(thead th):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: var(--mly-tw-prose-headings);\n font-weight: 600;\n vertical-align: bottom;\n padding-inline-end: 0.5714286em;\n padding-bottom: 0.5714286em;\n padding-inline-start: 0.5714286em;\n}\n.mly-prose :where(tbody tr):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n border-bottom-width: 1px;\n border-bottom-color: var(--mly-tw-prose-td-borders);\n}\n.mly-prose :where(tbody tr:last-child):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n border-bottom-width: 0;\n}\n.mly-prose :where(tbody td):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n vertical-align: baseline;\n}\n.mly-prose :where(tfoot):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n border-top-width: 1px;\n border-top-color: var(--mly-tw-prose-th-borders);\n}\n.mly-prose :where(tfoot td):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n vertical-align: top;\n}\n.mly-prose :where(th, td):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n text-align: start;\n}\n.mly-prose :where(figure > *):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0;\n margin-bottom: 0;\n}\n.mly-prose :where(figcaption):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n color: var(--mly-tw-prose-captions);\n font-size: 0.875em;\n line-height: 1.4285714;\n margin-top: 0.8571429em;\n}\n.mly-prose {\n --mly-tw-prose-body: #374151;\n --mly-tw-prose-headings: #111827;\n --mly-tw-prose-lead: #4b5563;\n --mly-tw-prose-links: #111827;\n --mly-tw-prose-bold: #111827;\n --mly-tw-prose-counters: #6b7280;\n --mly-tw-prose-bullets: #d1d5db;\n --mly-tw-prose-hr: #e5e7eb;\n --mly-tw-prose-quotes: #111827;\n --mly-tw-prose-quote-borders: #e5e7eb;\n --mly-tw-prose-captions: #6b7280;\n --mly-tw-prose-kbd: #111827;\n --mly-tw-prose-kbd-shadows: 17 24 39;\n --mly-tw-prose-code: #111827;\n --mly-tw-prose-pre-code: #e5e7eb;\n --mly-tw-prose-pre-bg: #1f2937;\n --mly-tw-prose-th-borders: #d1d5db;\n --mly-tw-prose-td-borders: #e5e7eb;\n --mly-tw-prose-invert-body: #d1d5db;\n --mly-tw-prose-invert-headings: #fff;\n --mly-tw-prose-invert-lead: #9ca3af;\n --mly-tw-prose-invert-links: #fff;\n --mly-tw-prose-invert-bold: #fff;\n --mly-tw-prose-invert-counters: #9ca3af;\n --mly-tw-prose-invert-bullets: #4b5563;\n --mly-tw-prose-invert-hr: #374151;\n --mly-tw-prose-invert-quotes: #f3f4f6;\n --mly-tw-prose-invert-quote-borders: #374151;\n --mly-tw-prose-invert-captions: #9ca3af;\n --mly-tw-prose-invert-kbd: #fff;\n --mly-tw-prose-invert-kbd-shadows: 255 255 255;\n --mly-tw-prose-invert-code: #fff;\n --mly-tw-prose-invert-pre-code: #d1d5db;\n --mly-tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);\n --mly-tw-prose-invert-th-borders: #4b5563;\n --mly-tw-prose-invert-td-borders: #374151;\n font-size: 1rem;\n line-height: 1.75;\n}\n.mly-prose :where(picture > img):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0;\n margin-bottom: 0;\n}\n.mly-prose :where(li):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0.5em;\n margin-bottom: 0.5em;\n}\n.mly-prose :where(ol > li):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n padding-inline-start: 0.375em;\n}\n.mly-prose :where(ul > li):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n padding-inline-start: 0.375em;\n}\n.mly-prose :where(.mly-prose > ul > li p):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0.75em;\n margin-bottom: 0.75em;\n}\n.mly-prose :where(.mly-prose > ul > li > p:first-child):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 1.25em;\n}\n.mly-prose :where(.mly-prose > ul > li > p:last-child):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-bottom: 1.25em;\n}\n.mly-prose :where(.mly-prose > ol > li > p:first-child):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 1.25em;\n}\n.mly-prose :where(.mly-prose > ol > li > p:last-child):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-bottom: 1.25em;\n}\n.mly-prose :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0.75em;\n margin-bottom: 0.75em;\n}\n.mly-prose :where(dl):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 1.25em;\n margin-bottom: 1.25em;\n}\n.mly-prose :where(dd):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0.5em;\n padding-inline-start: 1.625em;\n}\n.mly-prose :where(hr + *):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0;\n}\n.mly-prose :where(h2 + *):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0;\n}\n.mly-prose :where(h3 + *):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0;\n}\n.mly-prose :where(h4 + *):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0;\n}\n.mly-prose :where(thead th:first-child):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n padding-inline-start: 0;\n}\n.mly-prose :where(thead th:last-child):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n padding-inline-end: 0;\n}\n.mly-prose :where(tbody td, tfoot td):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n padding-top: 0.5714286em;\n padding-inline-end: 0.5714286em;\n padding-bottom: 0.5714286em;\n padding-inline-start: 0.5714286em;\n}\n.mly-prose :where(tbody td:first-child, tfoot td:first-child):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n padding-inline-start: 0;\n}\n.mly-prose :where(tbody td:last-child, tfoot td:last-child):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n padding-inline-end: 0;\n}\n.mly-prose :where(figure):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 2em;\n margin-bottom: 2em;\n}\n.mly-prose :where(.mly-prose > :first-child):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-top: 0;\n}\n.mly-prose :where(.mly-prose > :last-child):not(:where([class~=mly-not-prose], [class~=mly-not-prose] *)) {\n margin-bottom: 0;\n}\n.mly-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n.mly-pointer-events-none {\n pointer-events: none;\n}\n.mly-visible {\n visibility: visible;\n}\n.mly-absolute {\n position: absolute;\n}\n.mly-relative {\n position: relative;\n}\n.mly-inset-0 {\n inset: 0px;\n}\n.mly-inset-y-0 {\n top: 0px;\n bottom: 0px;\n}\n.mly-left-0 {\n left: 0px;\n}\n.mly-left-1\\.5 {\n left: 0.375rem;\n}\n.mly-left-2 {\n left: 0.5rem;\n}\n.mly-right-0 {\n right: 0px;\n}\n.mly-right-1 {\n right: 0.25rem;\n}\n.mly-top-0 {\n top: 0px;\n}\n.mly-top-8 {\n top: 2rem;\n}\n.mly-isolate {\n isolation: isolate;\n}\n.mly-z-0 {\n z-index: 0;\n}\n.mly-z-10 {\n z-index: 10;\n}\n.mly-z-20 {\n z-index: 20;\n}\n.mly-z-50 {\n z-index: 50;\n}\n.mly-z-\\[1\\] {\n z-index: 1;\n}\n.mly-z-\\[9999\\] {\n z-index: 9999;\n}\n.\\!mly-my-0 {\n margin-top: 0px !important;\n margin-bottom: 0px !important;\n}\n.-mly-mx-4 {\n margin-left: -1rem;\n margin-right: -1rem;\n}\n.mly--mx-1 {\n margin-left: -0.25rem;\n margin-right: -0.25rem;\n}\n.mly-mx-0 {\n margin-left: 0px;\n margin-right: 0px;\n}\n.mly-mx-0\\.5 {\n margin-left: 0.125rem;\n margin-right: 0.125rem;\n}\n.mly-mx-1\\.5 {\n margin-left: 0.375rem;\n margin-right: 0.375rem;\n}\n.mly-my-0 {\n margin-top: 0px;\n margin-bottom: 0px;\n}\n.mly-my-0\\.5 {\n margin-top: 0.125rem;\n margin-bottom: 0.125rem;\n}\n.mly-my-1 {\n margin-top: 0.25rem;\n margin-bottom: 0.25rem;\n}\n.mly-my-2 {\n margin-top: 0.5rem;\n margin-bottom: 0.5rem;\n}\n.mly-my-4 {\n margin-top: 1rem;\n margin-bottom: 1rem;\n}\n.\\!mly-mb-0 {\n margin-bottom: 0px !important;\n}\n.\\!mly-mb-1\\.5 {\n margin-bottom: 0.375rem !important;\n}\n.-mly-ms-px {\n margin-inline-start: -1px;\n}\n.mly-mb-1\\.5 {\n margin-bottom: 0.375rem;\n}\n.mly-mb-2 {\n margin-bottom: 0.5rem;\n}\n.mly-mb-4 {\n margin-bottom: 1rem;\n}\n.mly-ml-1 {\n margin-left: 0.25rem;\n}\n.mly-ml-auto {\n margin-left: auto;\n}\n.mly-mt-1 {\n margin-top: 0.25rem;\n}\n.mly-mt-2 {\n margin-top: 0.5rem;\n}\n.mly-mt-4 {\n margin-top: 1rem;\n}\n.mly-block {\n display: block;\n}\n.mly-inline-block {\n display: inline-block;\n}\n.mly-inline {\n display: inline;\n}\n.mly-flex {\n display: flex;\n}\n.mly-inline-flex {\n display: inline-flex;\n}\n.mly-grid {\n display: grid;\n}\n.mly-inline-grid {\n display: inline-grid;\n}\n.mly-hidden {\n display: none;\n}\n.mly-aspect-\\[2\\.5\\] {\n aspect-ratio: 2.5;\n}\n.mly-aspect-square {\n aspect-ratio: 1 / 1;\n}\n.\\!mly-size-5 {\n width: 1.25rem !important;\n height: 1.25rem !important;\n}\n.\\!mly-size-7 {\n width: 1.75rem !important;\n height: 1.75rem !important;\n}\n.mly-size-3 {\n width: 0.75rem;\n height: 0.75rem;\n}\n.mly-size-3\\.5 {\n width: 0.875rem;\n height: 0.875rem;\n}\n.mly-size-4 {\n width: 1rem;\n height: 1rem;\n}\n.mly-size-5 {\n width: 1.25rem;\n height: 1.25rem;\n}\n.mly-size-6 {\n width: 1.5rem;\n height: 1.5rem;\n}\n.mly-size-7 {\n width: 1.75rem;\n height: 1.75rem;\n}\n.mly-size-\\[15px\\] {\n width: 15px;\n height: 15px;\n}\n.mly-size-\\[var\\(--variable-icon-size\\)\\] {\n width: var(--variable-icon-size);\n height: var(--variable-icon-size);\n}\n.\\!mly-h-7 {\n height: 1.75rem !important;\n}\n.mly-h-10 {\n height: 2.5rem;\n}\n.mly-h-11 {\n height: 2.75rem;\n}\n.mly-h-3 {\n height: 0.75rem;\n}\n.mly-h-4 {\n height: 1rem;\n}\n.mly-h-5 {\n height: 1.25rem;\n}\n.mly-h-6 {\n height: 1.5rem;\n}\n.mly-h-7 {\n height: 1.75rem;\n}\n.mly-h-8 {\n height: 2rem;\n}\n.mly-h-9 {\n height: 2.25rem;\n}\n.mly-h-\\[2px\\] {\n height: 2px;\n}\n.mly-h-auto {\n height: auto;\n}\n.mly-h-full {\n height: 100%;\n}\n.mly-h-px {\n height: 1px;\n}\n.mly-max-h-52 {\n max-height: 13rem;\n}\n.mly-max-h-\\[330px\\] {\n max-height: 330px;\n}\n.mly-min-h-24 {\n min-height: 6rem;\n}\n.mly-min-h-7 {\n min-height: 1.75rem;\n}\n.mly-min-h-\\[42px\\] {\n min-height: 42px;\n}\n.\\!mly-w-full {\n width: 100% !important;\n}\n.mly-w-10 {\n width: 2.5rem;\n}\n.mly-w-3 {\n width: 0.75rem;\n}\n.mly-w-32 {\n width: 8rem;\n}\n.mly-w-36 {\n width: 9rem;\n}\n.mly-w-4 {\n width: 1rem;\n}\n.mly-w-40 {\n width: 10rem;\n}\n.mly-w-5 {\n width: 1.25rem;\n}\n.mly-w-52 {\n width: 13rem;\n}\n.mly-w-6 {\n width: 1.5rem;\n}\n.mly-w-64 {\n width: 16rem;\n}\n.mly-w-7 {\n width: 1.75rem;\n}\n.mly-w-72 {\n width: 18rem;\n}\n.mly-w-9 {\n width: 2.25rem;\n}\n.mly-w-96 {\n width: 24rem;\n}\n.mly-w-\\[1\\.5px\\] {\n width: 1.5px;\n}\n.mly-w-\\[160px\\] {\n width: 160px;\n}\n.mly-w-\\[300px\\] {\n width: 300px;\n}\n.mly-w-fit {\n width: -moz-fit-content;\n width: fit-content;\n}\n.mly-w-full {\n width: 100%;\n}\n.mly-w-max {\n width: -moz-max-content;\n width: max-content;\n}\n.mly-w-px {\n width: 1px;\n}\n.mly-min-w-0 {\n min-width: 0px;\n}\n.mly-min-w-28 {\n min-width: 7rem;\n}\n.mly-min-w-\\[260px\\] {\n min-width: 260px;\n}\n.mly-min-w-\\[8rem\\] {\n min-width: 8rem;\n}\n.mly-min-w-full {\n min-width: 100%;\n}\n.mly-max-w-12 {\n max-width: 3rem;\n}\n.mly-max-w-20 {\n max-width: 5rem;\n}\n.mly-max-w-28 {\n max-width: 7rem;\n}\n.mly-max-w-\\[260px\\] {\n max-width: 260px;\n}\n.mly-max-w-\\[285px\\] {\n max-width: 285px;\n}\n.mly-max-w-max {\n max-width: -moz-max-content;\n max-width: max-content;\n}\n.mly-max-w-xs {\n max-width: 20rem;\n}\n.mly-shrink-0 {\n flex-shrink: 0;\n}\n.mly-grow {\n flex-grow: 1;\n}\n.mly-table-fixed {\n table-layout: fixed;\n}\n.mly-border-separate {\n border-collapse: separate;\n}\n.mly-translate-x-full {\n --mly-tw-translate-x: 100%;\n transform: translate(var(--mly-tw-translate-x), var(--mly-tw-translate-y)) rotate(var(--mly-tw-rotate)) skewX(var(--mly-tw-skew-x)) skewY(var(--mly-tw-skew-y)) scaleX(var(--mly-tw-scale-x)) scaleY(var(--mly-tw-scale-y));\n}\n.mly-transform {\n transform: translate(var(--mly-tw-translate-x), var(--mly-tw-translate-y)) rotate(var(--mly-tw-rotate)) skewX(var(--mly-tw-skew-x)) skewY(var(--mly-tw-skew-y)) scaleX(var(--mly-tw-scale-x)) scaleY(var(--mly-tw-scale-y));\n}\n@keyframes mly-spin {\n to {\n transform: rotate(360deg);\n }\n}\n.mly-animate-spin {\n animation: mly-spin 1s linear infinite;\n}\n.mly-cursor-default {\n cursor: default;\n}\n.mly-cursor-grab {\n cursor: grab;\n}\n.mly-cursor-pointer {\n cursor: pointer;\n}\n.mly-select-none {\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n.mly-appearance-none {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n.mly-grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n}\n.mly-grid-cols-\\[12px_1fr\\] {\n grid-template-columns: 12px 1fr;\n}\n.mly-flex-col {\n flex-direction: column;\n}\n.mly-flex-wrap {\n flex-wrap: wrap;\n}\n.mly-items-center {\n align-items: center;\n}\n.mly-items-stretch {\n align-items: stretch;\n}\n.mly-justify-start {\n justify-content: flex-start;\n}\n.mly-justify-center {\n justify-content: center;\n}\n.mly-justify-between {\n justify-content: space-between;\n}\n.mly-gap-0\\.5 {\n gap: 0.125rem;\n}\n.mly-gap-1 {\n gap: 0.25rem;\n}\n.mly-gap-1\\.5 {\n gap: 0.375rem;\n}\n.mly-gap-2 {\n gap: 0.5rem;\n}\n.mly-gap-3 {\n gap: 0.75rem;\n}\n.mly-gap-4 {\n gap: 1rem;\n}\n.mly-gap-\\[1px\\] {\n gap: 1px;\n}\n.mly-gap-\\[var\\(--variable-icon-gap\\)\\] {\n gap: var(--variable-icon-gap);\n}\n.mly-space-x-0\\.5 > :not([hidden]) ~ :not([hidden]) {\n --mly-tw-space-x-reverse: 0;\n margin-right: calc(0.125rem * var(--mly-tw-space-x-reverse));\n margin-left: calc(0.125rem * calc(1 - var(--mly-tw-space-x-reverse)));\n}\n.mly-space-y-0\\.5 > :not([hidden]) ~ :not([hidden]) {\n --mly-tw-space-y-reverse: 0;\n margin-top: calc(0.125rem * calc(1 - var(--mly-tw-space-y-reverse)));\n margin-bottom: calc(0.125rem * var(--mly-tw-space-y-reverse));\n}\n.mly-space-y-1 > :not([hidden]) ~ :not([hidden]) {\n --mly-tw-space-y-reverse: 0;\n margin-top: calc(0.25rem * calc(1 - var(--mly-tw-space-y-reverse)));\n margin-bottom: calc(0.25rem * var(--mly-tw-space-y-reverse));\n}\n.mly-overflow-hidden {\n overflow: hidden;\n}\n.mly-overflow-y-auto {\n overflow-y: auto;\n}\n.mly-scroll-smooth {\n scroll-behavior: smooth;\n}\n.mly-truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.\\!mly-rounded {\n border-radius: 0.25rem !important;\n}\n.\\!mly-rounded-full {\n border-radius: 9999px !important;\n}\n.\\!mly-rounded-md {\n border-radius: 0.375rem !important;\n}\n.\\!mly-rounded-none {\n border-radius: 0px !important;\n}\n.mly-rounded {\n border-radius: 0.25rem;\n}\n.mly-rounded-full {\n border-radius: 9999px;\n}\n.mly-rounded-lg {\n border-radius: 0.5rem;\n}\n.mly-rounded-md {\n border-radius: 0.375rem;\n}\n.mly-rounded-none {\n border-radius: 0px;\n}\n.mly-rounded-sm {\n border-radius: 0.125rem;\n}\n.mly-rounded-xl {\n border-radius: 0.75rem;\n}\n.mly-rounded-s-lg {\n border-start-start-radius: 0.5rem;\n border-end-start-radius: 0.5rem;\n}\n.mly-rounded-s-none {\n border-start-start-radius: 0px;\n border-end-start-radius: 0px;\n}\n.mly-rounded-t-lg {\n border-top-left-radius: 0.5rem;\n border-top-right-radius: 0.5rem;\n}\n.mly-border {\n border-width: 1px;\n}\n.mly-border-0 {\n border-width: 0px;\n}\n.mly-border-2 {\n border-width: 2px;\n}\n.mly-border-\\[1\\.5px\\] {\n border-width: 1.5px;\n}\n.mly-border-b {\n border-bottom-width: 1px;\n}\n.mly-border-l-4 {\n border-left-width: 4px;\n}\n.mly-border-t {\n border-top-width: 1px;\n}\n.mly-border-none {\n border-style: none;\n}\n.mly-border-\\[var\\(--button-var-border-color\\)\\] {\n border-color: var(--button-var-border-color);\n}\n.mly-border-gray-200 {\n --mly-tw-border-opacity: 1;\n border-color: rgb(229 231 235 / var(--mly-tw-border-opacity, 1));\n}\n.mly-border-gray-300 {\n --mly-tw-border-opacity: 1;\n border-color: rgb(209 213 219 / var(--mly-tw-border-opacity, 1));\n}\n.mly-border-gray-700 {\n --mly-tw-border-opacity: 1;\n border-color: rgb(55 65 81 / var(--mly-tw-border-opacity, 1));\n}\n.mly-border-rose-400 {\n --mly-tw-border-opacity: 1;\n border-color: rgb(251 113 133 / var(--mly-tw-border-opacity, 1));\n}\n.mly-border-slate-200 {\n --mly-tw-border-opacity: 1;\n border-color: rgb(226 232 240 / var(--mly-tw-border-opacity, 1));\n}\n.mly-border-white {\n --mly-tw-border-opacity: 1;\n border-color: rgb(255 255 255 / var(--mly-tw-border-opacity, 1));\n}\n.\\!mly-bg-transparent {\n background-color: transparent !important;\n}\n.mly-bg-\\[\\#efefef\\] {\n --mly-tw-bg-opacity: 1;\n background-color: rgb(239 239 239 / var(--mly-tw-bg-opacity, 1));\n}\n.mly-bg-gray-100 {\n --mly-tw-bg-opacity: 1;\n background-color: rgb(243 244 246 / var(--mly-tw-bg-opacity, 1));\n}\n.mly-bg-gray-200 {\n --mly-tw-bg-opacity: 1;\n background-color: rgb(229 231 235 / var(--mly-tw-bg-opacity, 1));\n}\n.mly-bg-gray-50 {\n --mly-tw-bg-opacity: 1;\n background-color: rgb(249 250 251 / var(--mly-tw-bg-opacity, 1));\n}\n.mly-bg-gray-900 {\n --mly-tw-bg-opacity: 1;\n background-color: rgb(17 24 39 / var(--mly-tw-bg-opacity, 1));\n}\n.mly-bg-red-100 {\n --mly-tw-bg-opacity: 1;\n background-color: rgb(254 226 226 / var(--mly-tw-bg-opacity, 1));\n}\n.mly-bg-red-500 {\n --mly-tw-bg-opacity: 1;\n background-color: rgb(239 68 68 / var(--mly-tw-bg-opacity, 1));\n}\n.mly-bg-rose-100 {\n --mly-tw-bg-opacity: 1;\n background-color: rgb(255 228 230 / var(--mly-tw-bg-opacity, 1));\n}\n.mly-bg-rose-300 {\n --mly-tw-bg-opacity: 1;\n background-color: rgb(253 164 175 / var(--mly-tw-bg-opacity, 1));\n}\n.mly-bg-rose-50 {\n --mly-tw-bg-opacity: 1;\n background-color: rgb(255 241 242 / var(--mly-tw-bg-opacity, 1));\n}\n.mly-bg-rose-500 {\n --mly-tw-bg-opacity: 1;\n background-color: rgb(244 63 94 / var(--mly-tw-bg-opacity, 1));\n}\n.mly-bg-soft-gray {\n --mly-tw-bg-opacity: 1;\n background-color: rgb(244 245 246 / var(--mly-tw-bg-opacity, 1));\n}\n.mly-bg-soft-gray\\/40 {\n background-color: rgb(244 245 246 / 0.4);\n}\n.mly-bg-soft-gray\\/60 {\n background-color: rgb(244 245 246 / 0.6);\n}\n.mly-bg-transparent {\n background-color: transparent;\n}\n.mly-bg-white {\n --mly-tw-bg-opacity: 1;\n background-color: rgb(255 255 255 / var(--mly-tw-bg-opacity, 1));\n}\n.mly-bg-yellow-200 {\n --mly-tw-bg-opacity: 1;\n background-color: rgb(254 240 138 / var(--mly-tw-bg-opacity, 1));\n}\n.mly-stroke-midnight-gray {\n stroke: #333333;\n}\n.mly-stroke-\\[1\\.2\\] {\n stroke-width: 1.2;\n}\n.mly-stroke-\\[1\\] {\n stroke-width: 1;\n}\n.mly-stroke-\\[2\\.5\\] {\n stroke-width: 2.5;\n}\n.mly-object-cover {\n -o-object-fit: cover;\n object-fit: cover;\n}\n.\\!mly-p-0 {\n padding: 0px !important;\n}\n.\\!mly-p-0\\.5 {\n padding: 0.125rem !important;\n}\n.mly-p-0 {\n padding: 0px;\n}\n.mly-p-0\\.5 {\n padding: 0.125rem;\n}\n.mly-p-1 {\n padding: 0.25rem;\n}\n.mly-p-2 {\n padding: 0.5rem;\n}\n.mly-p-3 {\n padding: 0.75rem;\n}\n.mly-p-4 {\n padding: 1rem;\n}\n.mly-px-0\\.5 {\n padding-left: 0.125rem;\n padding-right: 0.125rem;\n}\n.mly-px-1 {\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n}\n.mly-px-1\\.5 {\n padding-left: 0.375rem;\n padding-right: 0.375rem;\n}\n.mly-px-2 {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n}\n.mly-px-2\\.5 {\n padding-left: 0.625rem;\n padding-right: 0.625rem;\n}\n.mly-px-3 {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n.mly-px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n}\n.mly-px-8 {\n padding-left: 2rem;\n padding-right: 2rem;\n}\n.mly-px-\\[26px\\] {\n padding-left: 26px;\n padding-right: 26px;\n}\n.mly-py-0\\.5 {\n padding-top: 0.125rem;\n padding-bottom: 0.125rem;\n}\n.mly-py-1 {\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n}\n.mly-py-1\\.5 {\n padding-top: 0.375rem;\n padding-bottom: 0.375rem;\n}\n.mly-py-2 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n.mly-py-3 {\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n}\n.mly-pe-8 {\n padding-inline-end: 2rem;\n}\n.mly-pl-1 {\n padding-left: 0.25rem;\n}\n.mly-pl-4 {\n padding-left: 1rem;\n}\n.mly-pl-7 {\n padding-left: 1.75rem;\n}\n.mly-pl-8 {\n padding-left: 2rem;\n}\n.mly-pl-\\[26px\\] {\n padding-left: 26px;\n}\n.mly-pr-1\\.5 {\n padding-right: 0.375rem;\n}\n.mly-pr-6 {\n padding-right: 1.5rem;\n}\n.mly-pr-7 {\n padding-right: 1.75rem;\n}\n.mly-ps-3 {\n padding-inline-start: 0.75rem;\n}\n.mly-text-left {\n text-align: left;\n}\n.mly-text-center {\n text-align: center;\n}\n.mly-font-mono {\n font-family:\n ui-monospace,\n SFMono-Regular,\n Menlo,\n Monaco,\n Consolas,\n "Liberation Mono",\n "Courier New",\n monospace;\n}\n.\\!mly-text-base {\n font-size: 1rem !important;\n line-height: 1.5rem !important;\n}\n.\\!mly-text-lg {\n font-size: 1.125rem !important;\n line-height: 1.75rem !important;\n}\n.mly-text-\\[10px\\] {\n font-size: 10px;\n}\n.mly-text-\\[13px\\] {\n font-size: 13px;\n}\n.mly-text-sm {\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n.mly-text-xs {\n font-size: 0.75rem;\n line-height: 1rem;\n}\n.mly-font-medium {\n font-weight: 500;\n}\n.mly-font-normal {\n font-weight: 400;\n}\n.mly-font-semibold {\n font-weight: 600;\n}\n.mly-uppercase {\n text-transform: uppercase;\n}\n.mly-capitalize {\n text-transform: capitalize;\n}\n.mly-tabular-nums {\n --mly-tw-numeric-spacing: tabular-nums;\n font-variant-numeric: var(--mly-tw-ordinal) var(--mly-tw-slashed-zero) var(--mly-tw-numeric-figure) var(--mly-tw-numeric-spacing) var(--mly-tw-numeric-fraction);\n}\n.mly-leading-none {\n line-height: 1;\n}\n.mly-tracking-normal {\n letter-spacing: 0em;\n}\n.mly-tracking-widest {\n letter-spacing: 0.1em;\n}\n.mly-text-black {\n --mly-tw-text-opacity: 1;\n color: rgb(0 0 0 / var(--mly-tw-text-opacity, 1));\n}\n.mly-text-gray-400 {\n --mly-tw-text-opacity: 1;\n color: rgb(156 163 175 / var(--mly-tw-text-opacity, 1));\n}\n.mly-text-gray-50 {\n --mly-tw-text-opacity: 1;\n color: rgb(249 250 251 / var(--mly-tw-text-opacity, 1));\n}\n.mly-text-gray-500 {\n --mly-tw-text-opacity: 1;\n color: rgb(107 114 128 / var(--mly-tw-text-opacity, 1));\n}\n.mly-text-gray-600 {\n --mly-tw-text-opacity: 1;\n color: rgb(75 85 99 / var(--mly-tw-text-opacity, 1));\n}\n.mly-text-gray-700 {\n --mly-tw-text-opacity: 1;\n color: rgb(55 65 81 / var(--mly-tw-text-opacity, 1));\n}\n.mly-text-gray-900 {\n --mly-tw-text-opacity: 1;\n color: rgb(17 24 39 / var(--mly-tw-text-opacity, 1));\n}\n.mly-text-gray-950 {\n --mly-tw-text-opacity: 1;\n color: rgb(3 7 18 / var(--mly-tw-text-opacity, 1));\n}\n.mly-text-midnight-gray {\n --mly-tw-text-opacity: 1;\n color: rgb(51 51 51 / var(--mly-tw-text-opacity, 1));\n}\n.mly-text-midnight-gray\\/60 {\n color: rgb(51 51 51 / 0.6);\n}\n.mly-text-red-500 {\n --mly-tw-text-opacity: 1;\n color: rgb(239 68 68 / var(--mly-tw-text-opacity, 1));\n}\n.mly-text-red-600 {\n --mly-tw-text-opacity: 1;\n color: rgb(220 38 38 / var(--mly-tw-text-opacity, 1));\n}\n.mly-text-rose-600 {\n --mly-tw-text-opacity: 1;\n color: rgb(225 29 72 / var(--mly-tw-text-opacity, 1));\n}\n.mly-text-rose-800 {\n --mly-tw-text-opacity: 1;\n color: rgb(159 18 57 / var(--mly-tw-text-opacity, 1));\n}\n.mly-text-slate-400 {\n --mly-tw-text-opacity: 1;\n color: rgb(148 163 184 / var(--mly-tw-text-opacity, 1));\n}\n.mly-text-slate-500 {\n --mly-tw-text-opacity: 1;\n color: rgb(100 116 139 / var(--mly-tw-text-opacity, 1));\n}\n.mly-text-slate-600 {\n --mly-tw-text-opacity: 1;\n color: rgb(71 85 105 / var(--mly-tw-text-opacity, 1));\n}\n.mly-text-slate-700 {\n --mly-tw-text-opacity: 1;\n color: rgb(51 65 85 / var(--mly-tw-text-opacity, 1));\n}\n.mly-no-underline {\n text-decoration-line: none;\n}\n.mly-underline-offset-4 {\n text-underline-offset: 4px;\n}\n.mly-antialiased {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n.mly-opacity-60 {\n opacity: 0.6;\n}\n.mly-shadow {\n --mly-tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --mly-tw-shadow-colored: 0 1px 3px 0 var(--mly-tw-shadow-color), 0 1px 2px -1px var(--mly-tw-shadow-color);\n box-shadow:\n var(--mly-tw-ring-offset-shadow, 0 0 #0000),\n var(--mly-tw-ring-shadow, 0 0 #0000),\n var(--mly-tw-shadow);\n}\n.mly-shadow-lg {\n --mly-tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);\n --mly-tw-shadow-colored: 0 10px 15px -3px var(--mly-tw-shadow-color), 0 4px 6px -4px var(--mly-tw-shadow-color);\n box-shadow:\n var(--mly-tw-ring-offset-shadow, 0 0 #0000),\n var(--mly-tw-ring-shadow, 0 0 #0000),\n var(--mly-tw-shadow);\n}\n.mly-shadow-md {\n --mly-tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);\n --mly-tw-shadow-colored: 0 4px 6px -1px var(--mly-tw-shadow-color), 0 2px 4px -2px var(--mly-tw-shadow-color);\n box-shadow:\n var(--mly-tw-ring-offset-shadow, 0 0 #0000),\n var(--mly-tw-ring-shadow, 0 0 #0000),\n var(--mly-tw-shadow);\n}\n.mly-shadow-none {\n --mly-tw-shadow: 0 0 #0000;\n --mly-tw-shadow-colored: 0 0 #0000;\n box-shadow:\n var(--mly-tw-ring-offset-shadow, 0 0 #0000),\n var(--mly-tw-ring-shadow, 0 0 #0000),\n var(--mly-tw-shadow);\n}\n.mly-shadow-sm {\n --mly-tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);\n --mly-tw-shadow-colored: 0 1px 2px 0 var(--mly-tw-shadow-color);\n box-shadow:\n var(--mly-tw-ring-offset-shadow, 0 0 #0000),\n var(--mly-tw-ring-shadow, 0 0 #0000),\n var(--mly-tw-shadow);\n}\n.mly-outline-none {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n.mly-ring-offset-white {\n --mly-tw-ring-offset-color: #fff;\n}\n.mly-drop-shadow-md {\n --mly-tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / 0.07)) drop-shadow(0 2px 2px rgb(0 0 0 / 0.06));\n filter: var(--mly-tw-blur) var(--mly-tw-brightness) var(--mly-tw-contrast) var(--mly-tw-grayscale) var(--mly-tw-hue-rotate) var(--mly-tw-invert) var(--mly-tw-saturate) var(--mly-tw-sepia) var(--mly-tw-drop-shadow);\n}\n.mly-transition-all {\n transition-property: all;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.mly-transition-colors {\n transition-property:\n color,\n background-color,\n border-color,\n text-decoration-color,\n fill,\n stroke;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.mly-transition-shadow {\n transition-property: box-shadow;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.mly-ease-out {\n transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n}\n@keyframes enter {\n from {\n opacity: var(--mly-tw-enter-opacity, 1);\n transform: translate3d(var(--mly-tw-enter-translate-x, 0), var(--mly-tw-enter-translate-y, 0), 0) scale3d(var(--mly-tw-enter-scale, 1), var(--mly-tw-enter-scale, 1), var(--mly-tw-enter-scale, 1)) rotate(var(--mly-tw-enter-rotate, 0));\n }\n}\n@keyframes exit {\n to {\n opacity: var(--mly-tw-exit-opacity, 1);\n transform: translate3d(var(--mly-tw-exit-translate-x, 0), var(--mly-tw-exit-translate-y, 0), 0) scale3d(var(--mly-tw-exit-scale, 1), var(--mly-tw-exit-scale, 1), var(--mly-tw-exit-scale, 1)) rotate(var(--mly-tw-exit-rotate, 0));\n }\n}\n.mly-animate-in {\n animation-name: enter;\n animation-duration: 150ms;\n --mly-tw-enter-opacity: initial;\n --mly-tw-enter-scale: initial;\n --mly-tw-enter-rotate: initial;\n --mly-tw-enter-translate-x: initial;\n --mly-tw-enter-translate-y: initial;\n}\n.mly-fade-in-0 {\n --mly-tw-enter-opacity: 0;\n}\n.mly-zoom-in-95 {\n --mly-tw-enter-scale: .95;\n}\n.mly-ease-out {\n animation-timing-function: cubic-bezier(0, 0, 0.2, 1);\n}\n.mly-scrollbar-thin::-webkit-scrollbar-track {\n background-color: var(--scrollbar-track);\n border-radius: var(--scrollbar-track-radius);\n}\n.mly-scrollbar-thin::-webkit-scrollbar-track:hover {\n background-color: var(--scrollbar-track-hover, var(--scrollbar-track));\n}\n.mly-scrollbar-thin::-webkit-scrollbar-track:active {\n background-color: var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)));\n}\n.mly-scrollbar-thin::-webkit-scrollbar-thumb {\n background-color: var(--scrollbar-thumb);\n border-radius: var(--scrollbar-thumb-radius);\n}\n.mly-scrollbar-thin::-webkit-scrollbar-thumb:hover {\n background-color: var(--scrollbar-thumb-hover, var(--scrollbar-thumb));\n}\n.mly-scrollbar-thin::-webkit-scrollbar-thumb:active {\n background-color: var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)));\n}\n.mly-scrollbar-thin::-webkit-scrollbar-corner {\n background-color: var(--scrollbar-corner);\n border-radius: var(--scrollbar-corner-radius);\n}\n.mly-scrollbar-thin::-webkit-scrollbar-corner:hover {\n background-color: var(--scrollbar-corner-hover, var(--scrollbar-corner));\n}\n.mly-scrollbar-thin::-webkit-scrollbar-corner:active {\n background-color: var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)));\n}\n.mly-scrollbar-thin {\n scrollbar-width: thin;\n scrollbar-color: var(--scrollbar-thumb, initial) var(--scrollbar-track, initial);\n}\n.mly-scrollbar-thin::-webkit-scrollbar {\n display: block;\n width: 8px;\n height: 8px;\n}\n.mly-scrollbar-track-transparent {\n --scrollbar-track: transparent !important;\n}\n.mly-scrollbar-thumb-gray-200 {\n --scrollbar-thumb: #e5e7eb !important;\n}\n.\\[text-align\\:revert-layer\\] {\n text-align: revert-layer;\n}\n.file\\:mly-border-0::file-selector-button {\n border-width: 0px;\n}\n.file\\:mly-bg-transparent::file-selector-button {\n background-color: transparent;\n}\n.file\\:mly-text-sm::file-selector-button {\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n.file\\:mly-font-medium::file-selector-button {\n font-weight: 500;\n}\n.placeholder\\:mly-text-gray-400::-moz-placeholder {\n --mly-tw-text-opacity: 1;\n color: rgb(156 163 175 / var(--mly-tw-text-opacity, 1));\n}\n.placeholder\\:mly-text-gray-400::placeholder {\n --mly-tw-text-opacity: 1;\n color: rgb(156 163 175 / var(--mly-tw-text-opacity, 1));\n}\n.placeholder\\:mly-text-gray-500::-moz-placeholder {\n --mly-tw-text-opacity: 1;\n color: rgb(107 114 128 / var(--mly-tw-text-opacity, 1));\n}\n.placeholder\\:mly-text-gray-500::placeholder {\n --mly-tw-text-opacity: 1;\n color: rgb(107 114 128 / var(--mly-tw-text-opacity, 1));\n}\n.mly-peer:disabled ~ .peer-disabled\\:mly-opacity-50 {\n opacity: 0.5;\n}\n.data-\\[disabled\\]\\:mly-pointer-events-none[data-disabled] {\n pointer-events: none;\n}\n.data-\\[state\\=open\\]\\:mly-bg-rose-100[data-state=open] {\n --mly-tw-bg-opacity: 1;\n background-color: rgb(255 228 230 / var(--mly-tw-bg-opacity, 1));\n}\n.data-\\[state\\=open\\]\\:mly-bg-soft-gray[data-state=open] {\n --mly-tw-bg-opacity: 1;\n background-color: rgb(244 245 246 / var(--mly-tw-bg-opacity, 1));\n}\n.data-\\[state\\=true\\]\\:mly-bg-soft-gray[data-state=true] {\n --mly-tw-bg-opacity: 1;\n background-color: rgb(244 245 246 / var(--mly-tw-bg-opacity, 1));\n}\n.data-\\[state\\=true\\]\\:mly-text-gray-900[data-state=true] {\n --mly-tw-text-opacity: 1;\n color: rgb(17 24 39 / var(--mly-tw-text-opacity, 1));\n}\n.data-\\[disabled\\]\\:mly-opacity-50[data-disabled] {\n opacity: 0.5;\n}\n.hover\\:mly-bg-gray-100:hover {\n --mly-tw-bg-opacity: 1;\n background-color: rgb(243 244 246 / var(--mly-tw-bg-opacity, 1));\n}\n.hover\\:mly-bg-gray-100\\/80:hover {\n background-color: rgb(243 244 246 / 0.8);\n}\n.hover\\:mly-bg-red-200:hover {\n --mly-tw-bg-opacity: 1;\n background-color: rgb(254 202 202 / var(--mly-tw-bg-opacity, 1));\n}\n.hover\\:mly-bg-red-500\\/90:hover {\n background-color: rgb(239 68 68 / 0.9);\n}\n.hover\\:mly-bg-rose-100:hover {\n --mly-tw-bg-opacity: 1;\n background-color: rgb(255 228 230 / var(--mly-tw-bg-opacity, 1));\n}\n.hover\\:mly-bg-soft-gray:hover {\n --mly-tw-bg-opacity: 1;\n background-color: rgb(244 245 246 / var(--mly-tw-bg-opacity, 1));\n}\n.hover\\:mly-bg-soft-gray\\/60:hover {\n background-color: rgb(244 245 246 / 0.6);\n}\n.hover\\:mly-text-black:hover {\n --mly-tw-text-opacity: 1;\n color: rgb(0 0 0 / var(--mly-tw-text-opacity, 1));\n}\n.hover\\:mly-text-gray-900:hover {\n --mly-tw-text-opacity: 1;\n color: rgb(17 24 39 / var(--mly-tw-text-opacity, 1));\n}\n.hover\\:mly-text-midnight-gray:hover {\n --mly-tw-text-opacity: 1;\n color: rgb(51 51 51 / var(--mly-tw-text-opacity, 1));\n}\n.hover\\:mly-underline:hover {\n text-decoration-line: underline;\n}\n.focus\\:mly-z-10:focus {\n z-index: 10;\n}\n.focus\\:mly-bg-gray-100:focus {\n --mly-tw-bg-opacity: 1;\n background-color: rgb(243 244 246 / var(--mly-tw-bg-opacity, 1));\n}\n.focus\\:mly-bg-red-200:focus {\n --mly-tw-bg-opacity: 1;\n background-color: rgb(254 202 202 / var(--mly-tw-bg-opacity, 1));\n}\n.focus\\:mly-bg-soft-gray:focus {\n --mly-tw-bg-opacity: 1;\n background-color: rgb(244 245 246 / var(--mly-tw-bg-opacity, 1));\n}\n.focus\\:mly-outline-none:focus {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n.focus\\:mly-ring-1:focus {\n --mly-tw-ring-offset-shadow: var(--mly-tw-ring-inset) 0 0 0 var(--mly-tw-ring-offset-width) var(--mly-tw-ring-offset-color);\n --mly-tw-ring-shadow: var(--mly-tw-ring-inset) 0 0 0 calc(1px + var(--mly-tw-ring-offset-width)) var(--mly-tw-ring-color);\n box-shadow:\n var(--mly-tw-ring-offset-shadow),\n var(--mly-tw-ring-shadow),\n var(--mly-tw-shadow, 0 0 #0000);\n}\n.focus\\:mly-ring-midnight-gray\\/50:focus {\n --mly-tw-ring-color: rgb(51 51 51 / 0.5);\n}\n.focus-visible\\:mly-relative:focus-visible {\n position: relative;\n}\n.focus-visible\\:mly-z-10:focus-visible {\n z-index: 10;\n}\n.focus-visible\\:mly-border-gray-400:focus-visible {\n --mly-tw-border-opacity: 1;\n border-color: rgb(156 163 175 / var(--mly-tw-border-opacity, 1));\n}\n.focus-visible\\:mly-outline-none:focus-visible {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n.focus-visible\\:mly-ring-2:focus-visible {\n --mly-tw-ring-offset-shadow: var(--mly-tw-ring-inset) 0 0 0 var(--mly-tw-ring-offset-width) var(--mly-tw-ring-offset-color);\n --mly-tw-ring-shadow: var(--mly-tw-ring-inset) 0 0 0 calc(2px + var(--mly-tw-ring-offset-width)) var(--mly-tw-ring-color);\n box-shadow:\n var(--mly-tw-ring-offset-shadow),\n var(--mly-tw-ring-shadow),\n var(--mly-tw-shadow, 0 0 #0000);\n}\n.focus-visible\\:mly-ring-gray-400:focus-visible {\n --mly-tw-ring-opacity: 1;\n --mly-tw-ring-color: rgb(156 163 175 / var(--mly-tw-ring-opacity, 1));\n}\n.focus-visible\\:mly-ring-offset-2:focus-visible {\n --mly-tw-ring-offset-width: 2px;\n}\n.active\\:mly-bg-soft-gray:active {\n --mly-tw-bg-opacity: 1;\n background-color: rgb(244 245 246 / var(--mly-tw-bg-opacity, 1));\n}\n.disabled\\:mly-pointer-events-none:disabled {\n pointer-events: none;\n}\n.disabled\\:mly-cursor-not-allowed:disabled {\n cursor: not-allowed;\n}\n.disabled\\:mly-opacity-50:disabled {\n opacity: 0.5;\n}\n.\\[\\&_svg\\]\\:mly-pointer-events-none svg {\n pointer-events: none;\n}\n');
|
|
97
97
|
|
|
98
98
|
// src/editor/index.tsx
|
|
99
99
|
var import_react64 = require("@tiptap/react");
|
|
@@ -823,7 +823,7 @@ var text = {
|
|
|
823
823
|
var heading1 = {
|
|
824
824
|
title: "Heading 1",
|
|
825
825
|
description: "Big heading.",
|
|
826
|
-
searchTerms: ["title", "big", "large"],
|
|
826
|
+
searchTerms: ["h1", "title", "big", "large"],
|
|
827
827
|
icon: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_lucide_react7.Heading1, { className: "mly-h-4 mly-w-4" }),
|
|
828
828
|
command: ({ editor, range }) => {
|
|
829
829
|
editor.chain().focus().deleteRange(range).setNode("heading", { level: 1 }).run();
|
|
@@ -832,7 +832,7 @@ var heading1 = {
|
|
|
832
832
|
var heading2 = {
|
|
833
833
|
title: "Heading 2",
|
|
834
834
|
description: "Medium heading.",
|
|
835
|
-
searchTerms: ["subtitle", "medium"],
|
|
835
|
+
searchTerms: ["h2", "subtitle", "medium"],
|
|
836
836
|
icon: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_lucide_react7.Heading2, { className: "mly-h-4 mly-w-4" }),
|
|
837
837
|
command: ({ editor, range }) => {
|
|
838
838
|
editor.chain().focus().deleteRange(range).setNode("heading", { level: 2 }).run();
|
|
@@ -841,7 +841,7 @@ var heading2 = {
|
|
|
841
841
|
var heading3 = {
|
|
842
842
|
title: "Heading 3",
|
|
843
843
|
description: "Small heading.",
|
|
844
|
-
searchTerms: ["subtitle", "small"],
|
|
844
|
+
searchTerms: ["h3", "subtitle", "small"],
|
|
845
845
|
icon: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_lucide_react7.Heading3, { className: "mly-h-4 mly-w-4" }),
|
|
846
846
|
command: ({ editor, range }) => {
|
|
847
847
|
editor.chain().focus().deleteRange(range).setNode("heading", { level: 3 }).run();
|
|
@@ -1682,7 +1682,7 @@ var DefaultRenderVariable = (props) => {
|
|
|
1682
1682
|
"span",
|
|
1683
1683
|
{
|
|
1684
1684
|
tabIndex: -1,
|
|
1685
|
-
className: "mly-inline-flex mly-items-center mly-gap-[var(--variable-icon-gap)] mly-rounded-full mly-border mly-px-1.5 mly-py-0.5 mly-leading-none",
|
|
1685
|
+
className: "mly-inline-flex mly-items-center mly-gap-[var(--variable-icon-gap)] mly-rounded-full mly-border mly-border-gray-200 mly-px-1.5 mly-py-0.5 mly-leading-none",
|
|
1686
1686
|
children: [
|
|
1687
1687
|
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_lucide_react10.Braces, { className: "mly-size-[var(--variable-icon-size)] mly-shrink-0 mly-stroke-[2.5] mly-text-rose-600" }),
|
|
1688
1688
|
name,
|
|
@@ -1835,7 +1835,7 @@ function VariableIcon(props) {
|
|
|
1835
1835
|
"div",
|
|
1836
1836
|
{
|
|
1837
1837
|
className: cn(
|
|
1838
|
-
"mly-flex mly-size-5 mly-items-center mly-justify-center mly-rounded-md mly-border",
|
|
1838
|
+
"mly-flex mly-size-5 mly-items-center mly-justify-center mly-rounded-md mly-border mly-border-gray-200",
|
|
1839
1839
|
className
|
|
1840
1840
|
),
|
|
1841
1841
|
children
|
|
@@ -2202,15 +2202,15 @@ function Select(props) {
|
|
|
2202
2202
|
iconClassName
|
|
2203
2203
|
} = props;
|
|
2204
2204
|
const selectId = `mly${(0, import_react9.useId)()}`;
|
|
2205
|
-
const content = /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "relative", children: [
|
|
2206
|
-
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("label", { htmlFor: selectId, className: "sr-only", children: label }),
|
|
2205
|
+
const content = /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "mly-relative", children: [
|
|
2206
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("label", { htmlFor: selectId, className: "mly-sr-only", children: label }),
|
|
2207
2207
|
Icon && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "mly-pointer-events-none mly-absolute mly-inset-y-0 mly-left-2 mly-z-20 mly-flex mly-items-center", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Icon, { className: cn("mly-size-3", iconClassName) }) }),
|
|
2208
2208
|
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
2209
2209
|
"select",
|
|
2210
2210
|
{
|
|
2211
2211
|
id: selectId,
|
|
2212
2212
|
className: cn(
|
|
2213
|
-
"mly-flex mly-min-h-7 mly-max-w-max mly-appearance-none mly-items-center mly-rounded-md mly-px-1.5 mly-py-0.5 mly-pr-7 mly-text-sm mly-text-midnight-gray mly-ring-offset-white mly-transition-colors hover:mly-bg-soft-gray focus-visible:mly-relative focus-visible:mly-z-10 focus-visible:mly-outline-none focus-visible:mly-ring-2 focus-visible:mly-ring-gray-400 focus-visible:mly-ring-offset-2 active:mly-bg-soft-gray",
|
|
2213
|
+
"mly-flex mly-min-h-7 mly-max-w-max mly-appearance-none mly-items-center mly-rounded-md mly-bg-white mly-px-1.5 mly-py-0.5 mly-pr-7 mly-text-sm mly-text-midnight-gray mly-ring-offset-white mly-transition-colors hover:mly-bg-soft-gray focus-visible:mly-relative focus-visible:mly-z-10 focus-visible:mly-outline-none focus-visible:mly-ring-2 focus-visible:mly-ring-gray-400 focus-visible:mly-ring-offset-2 active:mly-bg-soft-gray",
|
|
2214
2214
|
!!Icon && "mly-pl-7",
|
|
2215
2215
|
className
|
|
2216
2216
|
),
|
|
@@ -2412,7 +2412,7 @@ function ColumnsBubbleMenu(props) {
|
|
|
2412
2412
|
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
2413
2413
|
import_react10.BubbleMenu,
|
|
2414
2414
|
__spreadProps(__spreadValues({}, bubbleMenuProps), {
|
|
2415
|
-
className: "mly-rounded-lg mly-border mly-border-
|
|
2415
|
+
className: "mly-rounded-lg mly-border mly-border-gray-200 mly-bg-white mly-p-0.5 mly-shadow-md",
|
|
2416
2416
|
children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ColumnsBubbleMenuContent, { editor })
|
|
2417
2417
|
})
|
|
2418
2418
|
);
|
|
@@ -3104,7 +3104,7 @@ var EditorMenuBar = (props) => {
|
|
|
3104
3104
|
children: groups.map((group, index) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
3105
3105
|
"div",
|
|
3106
3106
|
{
|
|
3107
|
-
className: "mly-flex mly-items-center mly-gap-1 mly-rounded-md mly-border mly-bg-white mly-p-1",
|
|
3107
|
+
className: "mly-flex mly-items-center mly-gap-1 mly-rounded-md mly-border mly-border-gray-200 mly-bg-white mly-p-1",
|
|
3108
3108
|
children: items.filter((item) => item.group === group).map((item, index2) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(BubbleMenuButton, __spreadValues({}, item), index2))
|
|
3109
3109
|
},
|
|
3110
3110
|
index
|
|
@@ -3192,7 +3192,7 @@ function RepeatBubbleMenu(props) {
|
|
|
3192
3192
|
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
3193
3193
|
import_react16.BubbleMenu,
|
|
3194
3194
|
__spreadProps(__spreadValues({}, bubbleMenuProps), {
|
|
3195
|
-
className: "mly-flex mly-items-stretch mly-rounded-lg mly-border mly-border-
|
|
3195
|
+
className: "mly-flex mly-items-stretch mly-rounded-lg mly-border mly-border-gray-200 mly-bg-white mly-p-0.5 mly-shadow-md",
|
|
3196
3196
|
children: /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(TooltipProvider, { children: [
|
|
3197
3197
|
/* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "mly-flex mly-items-center mly-gap-1.5 mly-px-1.5 mly-text-sm mly-leading-none", children: [
|
|
3198
3198
|
"Repeat",
|
|
@@ -3290,278 +3290,9 @@ function RepeatBubbleMenu(props) {
|
|
|
3290
3290
|
);
|
|
3291
3291
|
}
|
|
3292
3292
|
|
|
3293
|
-
// src/editor/components/image-menu/image-bubble-menu.tsx
|
|
3294
|
-
var import_react28 = require("@tiptap/react");
|
|
3295
|
-
var import_lucide_react23 = require("lucide-react");
|
|
3296
|
-
|
|
3297
|
-
// src/editor/components/alignment-switch.tsx
|
|
3298
|
-
var import_lucide_react20 = require("lucide-react");
|
|
3299
|
-
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
3300
|
-
function AlignmentSwitch(props) {
|
|
3301
|
-
const { alignment = "left", onAlignmentChange } = props;
|
|
3302
|
-
const alignments = {
|
|
3303
|
-
left: {
|
|
3304
|
-
icon: import_lucide_react20.AlignLeft,
|
|
3305
|
-
tooltip: "Align Left",
|
|
3306
|
-
onClick: () => {
|
|
3307
|
-
onAlignmentChange("left");
|
|
3308
|
-
}
|
|
3309
|
-
},
|
|
3310
|
-
center: {
|
|
3311
|
-
icon: import_lucide_react20.AlignCenter,
|
|
3312
|
-
tooltip: "Align Center",
|
|
3313
|
-
onClick: () => {
|
|
3314
|
-
onAlignmentChange("center");
|
|
3315
|
-
}
|
|
3316
|
-
},
|
|
3317
|
-
right: {
|
|
3318
|
-
icon: import_lucide_react20.AlignRight,
|
|
3319
|
-
tooltip: "Align Right",
|
|
3320
|
-
onClick: () => {
|
|
3321
|
-
onAlignmentChange("right");
|
|
3322
|
-
}
|
|
3323
|
-
}
|
|
3324
|
-
};
|
|
3325
|
-
const activeAlignment = alignments[alignment];
|
|
3326
|
-
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(Popover, { children: [
|
|
3327
|
-
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(Tooltip, { children: [
|
|
3328
|
-
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3329
|
-
PopoverTrigger,
|
|
3330
|
-
{
|
|
3331
|
-
className: cn(
|
|
3332
|
-
"mly-flex mly-size-7 mly-items-center mly-justify-center mly-gap-1 mly-rounded-md mly-px-1.5 mly-text-sm data-[state=open]:mly-bg-soft-gray hover:mly-bg-soft-gray focus-visible:mly-relative focus-visible:mly-z-10 focus-visible:mly-outline-none focus-visible:mly-ring-2 focus-visible:mly-ring-gray-400 focus-visible:mly-ring-offset-2"
|
|
3333
|
-
),
|
|
3334
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(activeAlignment.icon, { className: "mly-h-3 mly-w-3 mly-stroke-[2.5]" })
|
|
3335
|
-
}
|
|
3336
|
-
) }),
|
|
3337
|
-
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(TooltipContent, { sideOffset: 8, children: "Alignment" })
|
|
3338
|
-
] }),
|
|
3339
|
-
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3340
|
-
PopoverContent,
|
|
3341
|
-
{
|
|
3342
|
-
className: "mly-flex mly-w-max mly-gap-0.5 mly-rounded-lg !mly-p-0.5",
|
|
3343
|
-
side: "top",
|
|
3344
|
-
sideOffset: 8,
|
|
3345
|
-
align: "center",
|
|
3346
|
-
onOpenAutoFocus: (e) => {
|
|
3347
|
-
e.preventDefault();
|
|
3348
|
-
},
|
|
3349
|
-
onCloseAutoFocus: (e) => {
|
|
3350
|
-
e.preventDefault();
|
|
3351
|
-
},
|
|
3352
|
-
children: Object.entries(alignments).map(([key, value]) => {
|
|
3353
|
-
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3354
|
-
BubbleMenuButton,
|
|
3355
|
-
{
|
|
3356
|
-
icon: value.icon,
|
|
3357
|
-
tooltip: value.tooltip,
|
|
3358
|
-
command: value.onClick,
|
|
3359
|
-
isActive: () => key === alignment
|
|
3360
|
-
},
|
|
3361
|
-
key
|
|
3362
|
-
);
|
|
3363
|
-
})
|
|
3364
|
-
}
|
|
3365
|
-
)
|
|
3366
|
-
] });
|
|
3367
|
-
}
|
|
3368
|
-
|
|
3369
|
-
// src/editor/components/ui/link-input-popover.tsx
|
|
3370
|
-
var import_lucide_react21 = require("lucide-react");
|
|
3371
|
-
var import_react18 = require("react");
|
|
3372
|
-
var import_react19 = require("react");
|
|
3373
|
-
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
3374
|
-
var LINK_PROTOCOL_REGEX = /https?:\/\//;
|
|
3375
|
-
function LinkInputPopover(props) {
|
|
3376
|
-
var _a;
|
|
3377
|
-
const {
|
|
3378
|
-
defaultValue = "",
|
|
3379
|
-
onValueChange,
|
|
3380
|
-
tooltip,
|
|
3381
|
-
icon: Icon = import_lucide_react21.Link,
|
|
3382
|
-
editor,
|
|
3383
|
-
isVariable
|
|
3384
|
-
} = props;
|
|
3385
|
-
const defaultProtocol = (_a = defaultValue.match(LINK_PROTOCOL_REGEX)) == null ? void 0 : _a[0];
|
|
3386
|
-
const defaultUrlWithoutProtocol = defaultValue.replace(
|
|
3387
|
-
LINK_PROTOCOL_REGEX,
|
|
3388
|
-
""
|
|
3389
|
-
);
|
|
3390
|
-
const [isOpen, setIsOpen] = (0, import_react18.useState)(false);
|
|
3391
|
-
const [protocol, setProtocol] = (0, import_react18.useState)(defaultProtocol || "https://");
|
|
3392
|
-
const [isEditing, setIsEditing] = (0, import_react18.useState)(!isVariable);
|
|
3393
|
-
const linkInputRef = (0, import_react18.useRef)(null);
|
|
3394
|
-
const {
|
|
3395
|
-
variables = [],
|
|
3396
|
-
variableTriggerCharacter = DEFAULT_VARIABLE_TRIGGER_CHAR,
|
|
3397
|
-
renderVariable = DEFAULT_RENDER_VARIABLE_FUNCTION,
|
|
3398
|
-
placeholderUrl = DEFAULT_PLACEHOLDER_URL
|
|
3399
|
-
} = useMailyContext();
|
|
3400
|
-
const autoCompleteOptions = (0, import_react19.useMemo)(() => {
|
|
3401
|
-
const withoutTrigger = defaultUrlWithoutProtocol.replace(
|
|
3402
|
-
new RegExp(variableTriggerCharacter, "g"),
|
|
3403
|
-
""
|
|
3404
|
-
);
|
|
3405
|
-
return processVariables(variables, {
|
|
3406
|
-
query: withoutTrigger || "",
|
|
3407
|
-
from: "bubble-variable",
|
|
3408
|
-
editor
|
|
3409
|
-
}).map((variable) => variable.name);
|
|
3410
|
-
}, [variables, defaultUrlWithoutProtocol, editor]);
|
|
3411
|
-
const popoverButton = /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
3412
|
-
BaseButton,
|
|
3413
|
-
{
|
|
3414
|
-
variant: "ghost",
|
|
3415
|
-
size: "sm",
|
|
3416
|
-
type: "button",
|
|
3417
|
-
className: "mly-size-7",
|
|
3418
|
-
"data-state": !!defaultUrlWithoutProtocol,
|
|
3419
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Icon, { className: "mly-h-3 mly-w-3 mly-shrink-0 mly-stroke-[2.5] mly-text-midnight-gray" })
|
|
3420
|
-
}
|
|
3421
|
-
) });
|
|
3422
|
-
const normalizeProtocol = (value, p = protocol) => {
|
|
3423
|
-
value = value == null ? void 0 : value.replace(LINK_PROTOCOL_REGEX, "");
|
|
3424
|
-
return p + value;
|
|
3425
|
-
};
|
|
3426
|
-
return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(Popover, { open: isOpen, onOpenChange: setIsOpen, children: [
|
|
3427
|
-
tooltip ? /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(Tooltip, { children: [
|
|
3428
|
-
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(TooltipTrigger, { asChild: true, children: popoverButton }),
|
|
3429
|
-
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(TooltipContent, { sideOffset: 8, children: tooltip })
|
|
3430
|
-
] }) : popoverButton,
|
|
3431
|
-
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
3432
|
-
PopoverContent,
|
|
3433
|
-
{
|
|
3434
|
-
align: "end",
|
|
3435
|
-
side: "top",
|
|
3436
|
-
className: "mly-w-max mly-rounded-none mly-border-none mly-bg-transparent !mly-p-0 mly-shadow-none",
|
|
3437
|
-
sideOffset: 8,
|
|
3438
|
-
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
3439
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
3440
|
-
"form",
|
|
3441
|
-
{
|
|
3442
|
-
onSubmit: (e) => {
|
|
3443
|
-
e.preventDefault();
|
|
3444
|
-
const input = linkInputRef.current;
|
|
3445
|
-
if (!input) {
|
|
3446
|
-
return;
|
|
3447
|
-
}
|
|
3448
|
-
let value = normalizeProtocol(input.value);
|
|
3449
|
-
onValueChange == null ? void 0 : onValueChange(value);
|
|
3450
|
-
setIsOpen(false);
|
|
3451
|
-
},
|
|
3452
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "mly-isolate mly-flex mly-rounded-lg", children: [
|
|
3453
|
-
!isEditing && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "mly-flex mly-h-8 mly-items-center mly-rounded-lg mly-border mly-border-gray-300 mly-bg-white mly-px-0.5", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
3454
|
-
"button",
|
|
3455
|
-
{
|
|
3456
|
-
onClick: () => {
|
|
3457
|
-
setIsEditing(true);
|
|
3458
|
-
setTimeout(() => {
|
|
3459
|
-
var _a2;
|
|
3460
|
-
(_a2 = linkInputRef.current) == null ? void 0 : _a2.focus();
|
|
3461
|
-
}, 0);
|
|
3462
|
-
},
|
|
3463
|
-
children: renderVariable({
|
|
3464
|
-
variable: {
|
|
3465
|
-
name: defaultUrlWithoutProtocol,
|
|
3466
|
-
valid: true
|
|
3467
|
-
},
|
|
3468
|
-
fallback: "",
|
|
3469
|
-
from: "bubble-variable",
|
|
3470
|
-
editor
|
|
3471
|
-
})
|
|
3472
|
-
}
|
|
3473
|
-
) }),
|
|
3474
|
-
isEditing && /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_jsx_runtime33.Fragment, { children: [
|
|
3475
|
-
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "mly-relative", children: [
|
|
3476
|
-
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
|
3477
|
-
"select",
|
|
3478
|
-
{
|
|
3479
|
-
className: "hover:text-accent-foreground mly-peer mly-inline-flex mly-h-full mly-appearance-none mly-items-center mly-rounded-none mly-rounded-s-lg mly-border mly-border-gray-300 mly-bg-gray-50 mly-pe-8 mly-ps-3 mly-text-sm mly-text-gray-700 mly-transition-shadow hover:mly-bg-gray-100 focus:mly-z-10 focus-visible:mly-outline-none disabled:mly-pointer-events-none disabled:mly-cursor-not-allowed disabled:mly-opacity-50",
|
|
3480
|
-
"aria-label": "Protocol",
|
|
3481
|
-
value: protocol,
|
|
3482
|
-
onChange: (e) => {
|
|
3483
|
-
var _a2;
|
|
3484
|
-
const protocol2 = e.target.value;
|
|
3485
|
-
setProtocol(protocol2);
|
|
3486
|
-
const newValue = normalizeProtocol(
|
|
3487
|
-
((_a2 = linkInputRef.current) == null ? void 0 : _a2.value) || "",
|
|
3488
|
-
protocol2
|
|
3489
|
-
);
|
|
3490
|
-
onValueChange == null ? void 0 : onValueChange(newValue);
|
|
3491
|
-
},
|
|
3492
|
-
children: [
|
|
3493
|
-
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)("option", { value: "https://", children: "https://" }),
|
|
3494
|
-
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)("option", { value: "http://", children: "http://" })
|
|
3495
|
-
]
|
|
3496
|
-
}
|
|
3497
|
-
),
|
|
3498
|
-
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "mly-pointer-events-none mly-absolute mly-inset-y-0 mly-right-0 mly-z-10 mly-flex mly-h-full mly-w-9 mly-items-center mly-justify-center mly-text-gray-600 peer-disabled:mly-opacity-50", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
3499
|
-
import_lucide_react21.ChevronDownIcon,
|
|
3500
|
-
{
|
|
3501
|
-
size: 16,
|
|
3502
|
-
strokeWidth: 2,
|
|
3503
|
-
"aria-hidden": "true",
|
|
3504
|
-
role: "img"
|
|
3505
|
-
}
|
|
3506
|
-
) })
|
|
3507
|
-
] }),
|
|
3508
|
-
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
3509
|
-
InputAutocomplete,
|
|
3510
|
-
{
|
|
3511
|
-
value: defaultUrlWithoutProtocol,
|
|
3512
|
-
onValueChange: (value) => {
|
|
3513
|
-
let newValue = normalizeProtocol(value);
|
|
3514
|
-
onValueChange == null ? void 0 : onValueChange(newValue);
|
|
3515
|
-
},
|
|
3516
|
-
autoCompleteOptions,
|
|
3517
|
-
ref: linkInputRef,
|
|
3518
|
-
placeholder: placeholderUrl,
|
|
3519
|
-
className: "-mly-ms-px mly-block mly-h-8 mly-w-52 mly-rounded-lg mly-rounded-s-none mly-border mly-border-gray-300 mly-px-2 mly-py-1.5 mly-pr-6 mly-text-sm mly-shadow-sm mly-outline-none placeholder:mly-text-gray-400",
|
|
3520
|
-
triggerChar: variableTriggerCharacter,
|
|
3521
|
-
onSelectOption: (value) => {
|
|
3522
|
-
var _a2;
|
|
3523
|
-
const isVariable2 = (_a2 = autoCompleteOptions.includes(value)) != null ? _a2 : false;
|
|
3524
|
-
if (isVariable2) {
|
|
3525
|
-
setIsEditing(false);
|
|
3526
|
-
} else {
|
|
3527
|
-
value = normalizeProtocol(value);
|
|
3528
|
-
}
|
|
3529
|
-
onValueChange == null ? void 0 : onValueChange(value, isVariable2);
|
|
3530
|
-
setIsOpen(false);
|
|
3531
|
-
}
|
|
3532
|
-
}
|
|
3533
|
-
)
|
|
3534
|
-
] })
|
|
3535
|
-
] })
|
|
3536
|
-
}
|
|
3537
|
-
)
|
|
3538
|
-
}
|
|
3539
|
-
)
|
|
3540
|
-
] });
|
|
3541
|
-
}
|
|
3542
|
-
|
|
3543
|
-
// src/editor/components/image-menu/image-size.tsx
|
|
3544
|
-
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
3545
|
-
function ImageSize(props) {
|
|
3546
|
-
const { value, onValueChange, dimension } = props;
|
|
3547
|
-
return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("label", { className: "mly-relative mly-flex mly-items-center", children: [
|
|
3548
|
-
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "mly-absolute mly-inset-y-0 mly-left-2 mly-flex mly-items-center mly-text-xs mly-leading-none mly-text-gray-400", children: dimension === "width" ? "W" : "H" }),
|
|
3549
|
-
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
3550
|
-
"input",
|
|
3551
|
-
__spreadProps(__spreadValues({}, AUTOCOMPLETE_PASSWORD_MANAGERS_OFF), {
|
|
3552
|
-
className: "hide-number-controls mly-h-auto mly-max-w-20 mly-appearance-none mly-border-0 mly-border-none mly-p-1 mly-px-[26px] mly-text-sm mly-uppercase mly-tabular-nums mly-outline-none focus-visible:mly-outline-none",
|
|
3553
|
-
type: "number",
|
|
3554
|
-
value,
|
|
3555
|
-
onChange: (e) => onValueChange(e.target.value)
|
|
3556
|
-
})
|
|
3557
|
-
),
|
|
3558
|
-
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "mly-absolute mly-inset-y-0 mly-right-1 mly-flex mly-items-center mly-text-xs mly-leading-none mly-text-gray-400", children: "PX" })
|
|
3559
|
-
] });
|
|
3560
|
-
}
|
|
3561
|
-
|
|
3562
3293
|
// src/editor/nodes/logo/logo.ts
|
|
3563
3294
|
var import_extension_image = __toESM(require("@tiptap/extension-image"));
|
|
3564
|
-
var
|
|
3295
|
+
var import_react24 = require("@tiptap/react");
|
|
3565
3296
|
|
|
3566
3297
|
// src/editor/nodes/section/section.ts
|
|
3567
3298
|
var import_core5 = require("@tiptap/core");
|
|
@@ -3862,18 +3593,18 @@ var SectionExtension = import_core5.Node.create({
|
|
|
3862
3593
|
});
|
|
3863
3594
|
|
|
3864
3595
|
// src/editor/nodes/logo/logo-view.tsx
|
|
3865
|
-
var
|
|
3866
|
-
var
|
|
3867
|
-
var
|
|
3596
|
+
var import_react21 = require("@tiptap/react");
|
|
3597
|
+
var import_react22 = require("react");
|
|
3598
|
+
var import_react23 = require("react");
|
|
3868
3599
|
|
|
3869
3600
|
// src/editor/utils/use-event.ts
|
|
3870
|
-
var
|
|
3601
|
+
var import_react18 = require("react");
|
|
3871
3602
|
var useEvent = (handler) => {
|
|
3872
|
-
const handlerRef = (0,
|
|
3873
|
-
(0,
|
|
3603
|
+
const handlerRef = (0, import_react18.useRef)(null);
|
|
3604
|
+
(0, import_react18.useLayoutEffect)(() => {
|
|
3874
3605
|
handlerRef.current = handler;
|
|
3875
3606
|
}, [handler]);
|
|
3876
|
-
return (0,
|
|
3607
|
+
return (0, import_react18.useCallback)((...args) => {
|
|
3877
3608
|
if (handlerRef.current === null) {
|
|
3878
3609
|
throw new Error("Handler is not assigned");
|
|
3879
3610
|
}
|
|
@@ -3882,18 +3613,18 @@ var useEvent = (handler) => {
|
|
|
3882
3613
|
};
|
|
3883
3614
|
|
|
3884
3615
|
// src/editor/nodes/image/image-view.tsx
|
|
3885
|
-
var
|
|
3886
|
-
var
|
|
3887
|
-
var
|
|
3888
|
-
var
|
|
3616
|
+
var import_react19 = require("@tiptap/react");
|
|
3617
|
+
var import_lucide_react20 = require("lucide-react");
|
|
3618
|
+
var import_react20 = require("react");
|
|
3619
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
3889
3620
|
var MIN_WIDTH = 20;
|
|
3890
3621
|
var MAX_WIDTH = 600;
|
|
3891
3622
|
function ImageView(props) {
|
|
3892
3623
|
const { node, updateAttributes: updateAttributes2, selected, editor } = props;
|
|
3893
|
-
const [status, setStatus] = (0,
|
|
3894
|
-
const wrapperRef = (0,
|
|
3895
|
-
const imgRef = (0,
|
|
3896
|
-
const [resizingStyle, setResizingStyle] = (0,
|
|
3624
|
+
const [status, setStatus] = (0, import_react20.useState)("idle");
|
|
3625
|
+
const wrapperRef = (0, import_react20.useRef)(null);
|
|
3626
|
+
const imgRef = (0, import_react20.useRef)(null);
|
|
3627
|
+
const [resizingStyle, setResizingStyle] = (0, import_react20.useState)();
|
|
3897
3628
|
const handleMouseDown = useEvent(
|
|
3898
3629
|
(event) => {
|
|
3899
3630
|
const imageParent = document.querySelector(
|
|
@@ -3936,7 +3667,7 @@ function ImageView(props) {
|
|
|
3936
3667
|
}
|
|
3937
3668
|
);
|
|
3938
3669
|
function dragCornerButton(direction) {
|
|
3939
|
-
return /* @__PURE__ */ (0,
|
|
3670
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3940
3671
|
"div",
|
|
3941
3672
|
{
|
|
3942
3673
|
role: "button",
|
|
@@ -3967,7 +3698,7 @@ function ImageView(props) {
|
|
|
3967
3698
|
"showIfKey"
|
|
3968
3699
|
]);
|
|
3969
3700
|
const hasImageSrc = !!attrs.src;
|
|
3970
|
-
(0,
|
|
3701
|
+
(0, import_react20.useEffect)(() => {
|
|
3971
3702
|
if (!src) {
|
|
3972
3703
|
return;
|
|
3973
3704
|
}
|
|
@@ -4001,15 +3732,15 @@ function ImageView(props) {
|
|
|
4001
3732
|
img.onerror = null;
|
|
4002
3733
|
};
|
|
4003
3734
|
}, [src]);
|
|
4004
|
-
return /* @__PURE__ */ (0,
|
|
4005
|
-
|
|
3735
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
3736
|
+
import_react19.NodeViewWrapper,
|
|
4006
3737
|
{
|
|
4007
3738
|
as: "div",
|
|
4008
3739
|
draggable: editor.isEditable,
|
|
4009
3740
|
"data-drag-handle": editor.isEditable,
|
|
4010
3741
|
style: __spreadValues(__spreadProps(__spreadValues({}, hasImageSrc && status === "loaded" ? __spreadValues({
|
|
4011
|
-
width: `${width}px
|
|
4012
|
-
height: `${height}px`
|
|
3742
|
+
width: width ? `${width}px` : void 0,
|
|
3743
|
+
height: height ? `${height}px` : void 0
|
|
4013
3744
|
}, resizingStyle) : {}), {
|
|
4014
3745
|
overflow: "hidden",
|
|
4015
3746
|
position: "relative",
|
|
@@ -4023,12 +3754,12 @@ function ImageView(props) {
|
|
|
4023
3754
|
}[alignment] || {}),
|
|
4024
3755
|
ref: wrapperRef,
|
|
4025
3756
|
children: [
|
|
4026
|
-
!hasImageSrc && /* @__PURE__ */ (0,
|
|
4027
|
-
hasImageSrc && isSrcVariable && /* @__PURE__ */ (0,
|
|
4028
|
-
hasImageSrc && status === "loading" && !isSrcVariable && /* @__PURE__ */ (0,
|
|
4029
|
-
hasImageSrc && status === "error" && !isSrcVariable && /* @__PURE__ */ (0,
|
|
4030
|
-
hasImageSrc && status === "loaded" && !isSrcVariable && /* @__PURE__ */ (0,
|
|
4031
|
-
/* @__PURE__ */ (0,
|
|
3757
|
+
!hasImageSrc && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ImageStatusLabel, { status: "idle", minHeight: height }),
|
|
3758
|
+
hasImageSrc && isSrcVariable && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ImageStatusLabel, { status: "variable", minHeight: height }),
|
|
3759
|
+
hasImageSrc && status === "loading" && !isSrcVariable && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ImageStatusLabel, { status: "loading", minHeight: height }),
|
|
3760
|
+
hasImageSrc && status === "error" && !isSrcVariable && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ImageStatusLabel, { status: "error", minHeight: height }),
|
|
3761
|
+
hasImageSrc && status === "loaded" && !isSrcVariable && /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_jsx_runtime32.Fragment, { children: [
|
|
3762
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
4032
3763
|
"img",
|
|
4033
3764
|
__spreadProps(__spreadValues({}, attrs), {
|
|
4034
3765
|
ref: imgRef,
|
|
@@ -4039,13 +3770,13 @@ function ImageView(props) {
|
|
|
4039
3770
|
draggable: editor.isEditable
|
|
4040
3771
|
})
|
|
4041
3772
|
),
|
|
4042
|
-
selected && editor.isEditable && /* @__PURE__ */ (0,
|
|
3773
|
+
selected && editor.isEditable && /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_jsx_runtime32.Fragment, { children: [
|
|
4043
3774
|
[
|
|
4044
3775
|
{ left: 0, top: 0, height: "100%", width: "1px" },
|
|
4045
3776
|
{ right: 0, top: 0, height: "100%", width: "1px" },
|
|
4046
3777
|
{ top: 0, left: 0, width: "100%", height: "1px" },
|
|
4047
3778
|
{ bottom: 0, left: 0, width: "100%", height: "1px" }
|
|
4048
|
-
].map((style, i) => /* @__PURE__ */ (0,
|
|
3779
|
+
].map((style, i) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
4049
3780
|
"div",
|
|
4050
3781
|
{
|
|
4051
3782
|
className: "mly-bg-rose-500",
|
|
@@ -4067,7 +3798,7 @@ function ImageView(props) {
|
|
|
4067
3798
|
}
|
|
4068
3799
|
function ImageStatusLabel(props) {
|
|
4069
3800
|
const { status, minHeight } = props;
|
|
4070
|
-
return /* @__PURE__ */ (0,
|
|
3801
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
4071
3802
|
"div",
|
|
4072
3803
|
{
|
|
4073
3804
|
className: cn(
|
|
@@ -4081,21 +3812,21 @@ function ImageStatusLabel(props) {
|
|
|
4081
3812
|
minHeight
|
|
4082
3813
|
} : {}),
|
|
4083
3814
|
children: [
|
|
4084
|
-
status === "idle" && /* @__PURE__ */ (0,
|
|
4085
|
-
/* @__PURE__ */ (0,
|
|
4086
|
-
/* @__PURE__ */ (0,
|
|
3815
|
+
status === "idle" && /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_jsx_runtime32.Fragment, { children: [
|
|
3816
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_lucide_react20.ImageOffIcon, { className: "mly-size-4 mly-stroke-[2.5]" }),
|
|
3817
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { children: "No image selected" })
|
|
4087
3818
|
] }),
|
|
4088
|
-
status === "loading" && /* @__PURE__ */ (0,
|
|
4089
|
-
/* @__PURE__ */ (0,
|
|
4090
|
-
/* @__PURE__ */ (0,
|
|
3819
|
+
status === "loading" && /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_jsx_runtime32.Fragment, { children: [
|
|
3820
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_lucide_react20.Loader2, { className: "mly-size-4 mly-animate-spin mly-stroke-[2.5]" }),
|
|
3821
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { children: "Loading image..." })
|
|
4091
3822
|
] }),
|
|
4092
|
-
status === "error" && /* @__PURE__ */ (0,
|
|
4093
|
-
/* @__PURE__ */ (0,
|
|
4094
|
-
/* @__PURE__ */ (0,
|
|
3823
|
+
status === "error" && /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_jsx_runtime32.Fragment, { children: [
|
|
3824
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_lucide_react20.Ban, { className: "mly-size-4 mly-stroke-[2.5]" }),
|
|
3825
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { children: "Error loading image" })
|
|
4095
3826
|
] }),
|
|
4096
|
-
status === "variable" && /* @__PURE__ */ (0,
|
|
4097
|
-
/* @__PURE__ */ (0,
|
|
4098
|
-
/* @__PURE__ */ (0,
|
|
3827
|
+
status === "variable" && /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_jsx_runtime32.Fragment, { children: [
|
|
3828
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_lucide_react20.BracesIcon, { className: "mly-size-4 mly-stroke-[2.5]" }),
|
|
3829
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { children: "Variable Image URL" })
|
|
4099
3830
|
] })
|
|
4100
3831
|
]
|
|
4101
3832
|
}
|
|
@@ -4103,10 +3834,10 @@ function ImageStatusLabel(props) {
|
|
|
4103
3834
|
}
|
|
4104
3835
|
|
|
4105
3836
|
// src/editor/nodes/logo/logo-view.tsx
|
|
4106
|
-
var
|
|
3837
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
4107
3838
|
function LogoView(props) {
|
|
4108
3839
|
const { node, editor } = props;
|
|
4109
|
-
const [status, setStatus] = (0,
|
|
3840
|
+
const [status, setStatus] = (0, import_react23.useState)("idle");
|
|
4110
3841
|
let {
|
|
4111
3842
|
alignment = "center",
|
|
4112
3843
|
src: logoSrc,
|
|
@@ -4114,7 +3845,7 @@ function LogoView(props) {
|
|
|
4114
3845
|
size = "sm"
|
|
4115
3846
|
} = node.attrs || {};
|
|
4116
3847
|
const hasImageSrc = !!logoSrc;
|
|
4117
|
-
(0,
|
|
3848
|
+
(0, import_react22.useEffect)(() => {
|
|
4118
3849
|
if (!logoSrc) {
|
|
4119
3850
|
return;
|
|
4120
3851
|
}
|
|
@@ -4134,8 +3865,8 @@ function LogoView(props) {
|
|
|
4134
3865
|
};
|
|
4135
3866
|
}, [logoSrc]);
|
|
4136
3867
|
const logoSize = logoSizes[size];
|
|
4137
|
-
return /* @__PURE__ */ (0,
|
|
4138
|
-
|
|
3868
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
|
3869
|
+
import_react21.NodeViewWrapper,
|
|
4139
3870
|
{
|
|
4140
3871
|
as: "div",
|
|
4141
3872
|
draggable: editor.isEditable,
|
|
@@ -4148,11 +3879,11 @@ function LogoView(props) {
|
|
|
4148
3879
|
display: "block"
|
|
4149
3880
|
},
|
|
4150
3881
|
children: [
|
|
4151
|
-
!hasImageSrc && /* @__PURE__ */ (0,
|
|
4152
|
-
hasImageSrc && isSrcVariable && /* @__PURE__ */ (0,
|
|
4153
|
-
hasImageSrc && status === "loading" && !isSrcVariable && /* @__PURE__ */ (0,
|
|
4154
|
-
hasImageSrc && status === "error" && !isSrcVariable && /* @__PURE__ */ (0,
|
|
4155
|
-
hasImageSrc && status === "loaded" && !isSrcVariable && /* @__PURE__ */ (0,
|
|
3882
|
+
!hasImageSrc && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ImageStatusLabel, { status: "idle", minHeight: logoSize }),
|
|
3883
|
+
hasImageSrc && isSrcVariable && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ImageStatusLabel, { status: "variable", minHeight: logoSize }),
|
|
3884
|
+
hasImageSrc && status === "loading" && !isSrcVariable && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ImageStatusLabel, { status: "loading", minHeight: logoSize }),
|
|
3885
|
+
hasImageSrc && status === "error" && !isSrcVariable && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ImageStatusLabel, { status: "error", minHeight: logoSize }),
|
|
3886
|
+
hasImageSrc && status === "loaded" && !isSrcVariable && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
4156
3887
|
"img",
|
|
4157
3888
|
{
|
|
4158
3889
|
src: logoSrc,
|
|
@@ -4271,12 +4002,282 @@ var LogoExtension = import_extension_image.default.extend({
|
|
|
4271
4002
|
];
|
|
4272
4003
|
},
|
|
4273
4004
|
addNodeView() {
|
|
4274
|
-
return (0,
|
|
4005
|
+
return (0, import_react24.ReactNodeViewRenderer)(LogoView, {
|
|
4275
4006
|
className: "mly-relative"
|
|
4276
4007
|
});
|
|
4277
4008
|
}
|
|
4278
4009
|
});
|
|
4279
4010
|
|
|
4011
|
+
// src/editor/components/image-menu/image-bubble-menu.tsx
|
|
4012
|
+
var import_react28 = require("@tiptap/react");
|
|
4013
|
+
var import_lucide_react23 = require("lucide-react");
|
|
4014
|
+
var import_tippy4 = require("tippy.js");
|
|
4015
|
+
|
|
4016
|
+
// src/editor/components/alignment-switch.tsx
|
|
4017
|
+
var import_lucide_react21 = require("lucide-react");
|
|
4018
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
4019
|
+
function AlignmentSwitch(props) {
|
|
4020
|
+
const { alignment = "left", onAlignmentChange } = props;
|
|
4021
|
+
const alignments = {
|
|
4022
|
+
left: {
|
|
4023
|
+
icon: import_lucide_react21.AlignLeft,
|
|
4024
|
+
tooltip: "Align Left",
|
|
4025
|
+
onClick: () => {
|
|
4026
|
+
onAlignmentChange("left");
|
|
4027
|
+
}
|
|
4028
|
+
},
|
|
4029
|
+
center: {
|
|
4030
|
+
icon: import_lucide_react21.AlignCenter,
|
|
4031
|
+
tooltip: "Align Center",
|
|
4032
|
+
onClick: () => {
|
|
4033
|
+
onAlignmentChange("center");
|
|
4034
|
+
}
|
|
4035
|
+
},
|
|
4036
|
+
right: {
|
|
4037
|
+
icon: import_lucide_react21.AlignRight,
|
|
4038
|
+
tooltip: "Align Right",
|
|
4039
|
+
onClick: () => {
|
|
4040
|
+
onAlignmentChange("right");
|
|
4041
|
+
}
|
|
4042
|
+
}
|
|
4043
|
+
};
|
|
4044
|
+
const activeAlignment = alignments[alignment];
|
|
4045
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(Popover, { children: [
|
|
4046
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(Tooltip, { children: [
|
|
4047
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
4048
|
+
PopoverTrigger,
|
|
4049
|
+
{
|
|
4050
|
+
className: cn(
|
|
4051
|
+
"mly-flex mly-size-7 mly-items-center mly-justify-center mly-gap-1 mly-rounded-md mly-px-1.5 mly-text-sm data-[state=open]:mly-bg-soft-gray hover:mly-bg-soft-gray focus-visible:mly-relative focus-visible:mly-z-10 focus-visible:mly-outline-none focus-visible:mly-ring-2 focus-visible:mly-ring-gray-400 focus-visible:mly-ring-offset-2"
|
|
4052
|
+
),
|
|
4053
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(activeAlignment.icon, { className: "mly-h-3 mly-w-3 mly-stroke-[2.5]" })
|
|
4054
|
+
}
|
|
4055
|
+
) }),
|
|
4056
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(TooltipContent, { sideOffset: 8, children: "Alignment" })
|
|
4057
|
+
] }),
|
|
4058
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
4059
|
+
PopoverContent,
|
|
4060
|
+
{
|
|
4061
|
+
className: "mly-flex mly-w-max mly-gap-0.5 mly-rounded-lg !mly-p-0.5",
|
|
4062
|
+
side: "top",
|
|
4063
|
+
sideOffset: 8,
|
|
4064
|
+
align: "center",
|
|
4065
|
+
onOpenAutoFocus: (e) => {
|
|
4066
|
+
e.preventDefault();
|
|
4067
|
+
},
|
|
4068
|
+
onCloseAutoFocus: (e) => {
|
|
4069
|
+
e.preventDefault();
|
|
4070
|
+
},
|
|
4071
|
+
children: Object.entries(alignments).map(([key, value]) => {
|
|
4072
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
4073
|
+
BubbleMenuButton,
|
|
4074
|
+
{
|
|
4075
|
+
icon: value.icon,
|
|
4076
|
+
tooltip: value.tooltip,
|
|
4077
|
+
command: value.onClick,
|
|
4078
|
+
isActive: () => key === alignment
|
|
4079
|
+
},
|
|
4080
|
+
key
|
|
4081
|
+
);
|
|
4082
|
+
})
|
|
4083
|
+
}
|
|
4084
|
+
)
|
|
4085
|
+
] });
|
|
4086
|
+
}
|
|
4087
|
+
|
|
4088
|
+
// src/editor/components/ui/link-input-popover.tsx
|
|
4089
|
+
var import_lucide_react22 = require("lucide-react");
|
|
4090
|
+
var import_react25 = require("react");
|
|
4091
|
+
var import_react26 = require("react");
|
|
4092
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
4093
|
+
var LINK_PROTOCOL_REGEX = /https?:\/\//;
|
|
4094
|
+
function LinkInputPopover(props) {
|
|
4095
|
+
var _a;
|
|
4096
|
+
const {
|
|
4097
|
+
defaultValue = "",
|
|
4098
|
+
onValueChange,
|
|
4099
|
+
tooltip,
|
|
4100
|
+
icon: Icon = import_lucide_react22.Link,
|
|
4101
|
+
editor,
|
|
4102
|
+
isVariable
|
|
4103
|
+
} = props;
|
|
4104
|
+
const defaultProtocol = (_a = defaultValue.match(LINK_PROTOCOL_REGEX)) == null ? void 0 : _a[0];
|
|
4105
|
+
const defaultUrlWithoutProtocol = defaultValue.replace(
|
|
4106
|
+
LINK_PROTOCOL_REGEX,
|
|
4107
|
+
""
|
|
4108
|
+
);
|
|
4109
|
+
const [isOpen, setIsOpen] = (0, import_react25.useState)(false);
|
|
4110
|
+
const [protocol, setProtocol] = (0, import_react25.useState)(defaultProtocol || "https://");
|
|
4111
|
+
const [isEditing, setIsEditing] = (0, import_react25.useState)(!isVariable);
|
|
4112
|
+
const linkInputRef = (0, import_react25.useRef)(null);
|
|
4113
|
+
const {
|
|
4114
|
+
variables = [],
|
|
4115
|
+
variableTriggerCharacter = DEFAULT_VARIABLE_TRIGGER_CHAR,
|
|
4116
|
+
renderVariable = DEFAULT_RENDER_VARIABLE_FUNCTION,
|
|
4117
|
+
placeholderUrl = DEFAULT_PLACEHOLDER_URL
|
|
4118
|
+
} = useMailyContext();
|
|
4119
|
+
const autoCompleteOptions = (0, import_react26.useMemo)(() => {
|
|
4120
|
+
const withoutTrigger = defaultUrlWithoutProtocol.replace(
|
|
4121
|
+
new RegExp(variableTriggerCharacter, "g"),
|
|
4122
|
+
""
|
|
4123
|
+
);
|
|
4124
|
+
return processVariables(variables, {
|
|
4125
|
+
query: withoutTrigger || "",
|
|
4126
|
+
from: "bubble-variable",
|
|
4127
|
+
editor
|
|
4128
|
+
}).map((variable) => variable.name);
|
|
4129
|
+
}, [variables, defaultUrlWithoutProtocol, editor]);
|
|
4130
|
+
const popoverButton = /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
4131
|
+
BaseButton,
|
|
4132
|
+
{
|
|
4133
|
+
variant: "ghost",
|
|
4134
|
+
size: "sm",
|
|
4135
|
+
type: "button",
|
|
4136
|
+
className: "mly-size-7",
|
|
4137
|
+
"data-state": !!defaultUrlWithoutProtocol,
|
|
4138
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Icon, { className: "mly-h-3 mly-w-3 mly-shrink-0 mly-stroke-[2.5] mly-text-midnight-gray" })
|
|
4139
|
+
}
|
|
4140
|
+
) });
|
|
4141
|
+
const normalizeProtocol = (value, p = protocol) => {
|
|
4142
|
+
value = value == null ? void 0 : value.replace(LINK_PROTOCOL_REGEX, "");
|
|
4143
|
+
return p + value;
|
|
4144
|
+
};
|
|
4145
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(Popover, { open: isOpen, onOpenChange: setIsOpen, children: [
|
|
4146
|
+
tooltip ? /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(Tooltip, { children: [
|
|
4147
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(TooltipTrigger, { asChild: true, children: popoverButton }),
|
|
4148
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(TooltipContent, { sideOffset: 8, children: tooltip })
|
|
4149
|
+
] }) : popoverButton,
|
|
4150
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
4151
|
+
PopoverContent,
|
|
4152
|
+
{
|
|
4153
|
+
align: "end",
|
|
4154
|
+
side: "top",
|
|
4155
|
+
className: "mly-w-max mly-rounded-none mly-border-none mly-bg-transparent !mly-p-0 mly-shadow-none",
|
|
4156
|
+
sideOffset: 8,
|
|
4157
|
+
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
4158
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
4159
|
+
"form",
|
|
4160
|
+
{
|
|
4161
|
+
onSubmit: (e) => {
|
|
4162
|
+
e.preventDefault();
|
|
4163
|
+
const input = linkInputRef.current;
|
|
4164
|
+
if (!input) {
|
|
4165
|
+
return;
|
|
4166
|
+
}
|
|
4167
|
+
let value = normalizeProtocol(input.value);
|
|
4168
|
+
onValueChange == null ? void 0 : onValueChange(value);
|
|
4169
|
+
setIsOpen(false);
|
|
4170
|
+
},
|
|
4171
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "mly-isolate mly-flex mly-rounded-lg", children: [
|
|
4172
|
+
!isEditing && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "mly-flex mly-h-8 mly-items-center mly-rounded-lg mly-border mly-border-gray-300 mly-bg-white mly-px-0.5", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
4173
|
+
"button",
|
|
4174
|
+
{
|
|
4175
|
+
onClick: () => {
|
|
4176
|
+
setIsEditing(true);
|
|
4177
|
+
setTimeout(() => {
|
|
4178
|
+
var _a2;
|
|
4179
|
+
(_a2 = linkInputRef.current) == null ? void 0 : _a2.focus();
|
|
4180
|
+
}, 0);
|
|
4181
|
+
},
|
|
4182
|
+
children: renderVariable({
|
|
4183
|
+
variable: {
|
|
4184
|
+
name: defaultUrlWithoutProtocol,
|
|
4185
|
+
valid: true
|
|
4186
|
+
},
|
|
4187
|
+
fallback: "",
|
|
4188
|
+
from: "bubble-variable",
|
|
4189
|
+
editor
|
|
4190
|
+
})
|
|
4191
|
+
}
|
|
4192
|
+
) }),
|
|
4193
|
+
isEditing && /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_jsx_runtime35.Fragment, { children: [
|
|
4194
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "mly-relative", children: [
|
|
4195
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
|
|
4196
|
+
"select",
|
|
4197
|
+
{
|
|
4198
|
+
className: "hover:text-accent-foreground mly-peer mly-inline-flex mly-h-full mly-appearance-none mly-items-center mly-rounded-none mly-rounded-s-lg mly-border mly-border-gray-300 mly-bg-gray-50 mly-pe-8 mly-ps-3 mly-text-sm mly-text-gray-700 mly-transition-shadow hover:mly-bg-gray-100 focus:mly-z-10 focus-visible:mly-outline-none disabled:mly-pointer-events-none disabled:mly-cursor-not-allowed disabled:mly-opacity-50",
|
|
4199
|
+
"aria-label": "Protocol",
|
|
4200
|
+
value: protocol,
|
|
4201
|
+
onChange: (e) => {
|
|
4202
|
+
var _a2;
|
|
4203
|
+
const protocol2 = e.target.value;
|
|
4204
|
+
setProtocol(protocol2);
|
|
4205
|
+
const newValue = normalizeProtocol(
|
|
4206
|
+
((_a2 = linkInputRef.current) == null ? void 0 : _a2.value) || "",
|
|
4207
|
+
protocol2
|
|
4208
|
+
);
|
|
4209
|
+
onValueChange == null ? void 0 : onValueChange(newValue);
|
|
4210
|
+
},
|
|
4211
|
+
children: [
|
|
4212
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("option", { value: "https://", children: "https://" }),
|
|
4213
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("option", { value: "http://", children: "http://" })
|
|
4214
|
+
]
|
|
4215
|
+
}
|
|
4216
|
+
),
|
|
4217
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", { className: "mly-pointer-events-none mly-absolute mly-inset-y-0 mly-right-0 mly-z-10 mly-flex mly-h-full mly-w-9 mly-items-center mly-justify-center mly-text-gray-600 peer-disabled:mly-opacity-50", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
4218
|
+
import_lucide_react22.ChevronDownIcon,
|
|
4219
|
+
{
|
|
4220
|
+
size: 16,
|
|
4221
|
+
strokeWidth: 2,
|
|
4222
|
+
"aria-hidden": "true",
|
|
4223
|
+
role: "img"
|
|
4224
|
+
}
|
|
4225
|
+
) })
|
|
4226
|
+
] }),
|
|
4227
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
4228
|
+
InputAutocomplete,
|
|
4229
|
+
{
|
|
4230
|
+
value: defaultUrlWithoutProtocol,
|
|
4231
|
+
onValueChange: (value) => {
|
|
4232
|
+
let newValue = normalizeProtocol(value);
|
|
4233
|
+
onValueChange == null ? void 0 : onValueChange(newValue);
|
|
4234
|
+
},
|
|
4235
|
+
autoCompleteOptions,
|
|
4236
|
+
ref: linkInputRef,
|
|
4237
|
+
placeholder: placeholderUrl,
|
|
4238
|
+
className: "-mly-ms-px mly-block mly-h-8 mly-w-52 mly-rounded-lg mly-rounded-s-none mly-border mly-border-gray-300 mly-px-2 mly-py-1.5 mly-pr-6 mly-text-sm mly-shadow-sm mly-outline-none placeholder:mly-text-gray-400",
|
|
4239
|
+
triggerChar: variableTriggerCharacter,
|
|
4240
|
+
onSelectOption: (value) => {
|
|
4241
|
+
var _a2;
|
|
4242
|
+
const isVariable2 = (_a2 = autoCompleteOptions.includes(value)) != null ? _a2 : false;
|
|
4243
|
+
if (isVariable2) {
|
|
4244
|
+
setIsEditing(false);
|
|
4245
|
+
} else {
|
|
4246
|
+
value = normalizeProtocol(value);
|
|
4247
|
+
}
|
|
4248
|
+
onValueChange == null ? void 0 : onValueChange(value, isVariable2);
|
|
4249
|
+
setIsOpen(false);
|
|
4250
|
+
}
|
|
4251
|
+
}
|
|
4252
|
+
)
|
|
4253
|
+
] })
|
|
4254
|
+
] })
|
|
4255
|
+
}
|
|
4256
|
+
)
|
|
4257
|
+
}
|
|
4258
|
+
)
|
|
4259
|
+
] });
|
|
4260
|
+
}
|
|
4261
|
+
|
|
4262
|
+
// src/editor/components/image-menu/image-size.tsx
|
|
4263
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
4264
|
+
function ImageSize(props) {
|
|
4265
|
+
const { value, onValueChange, dimension } = props;
|
|
4266
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("label", { className: "mly-relative mly-flex mly-items-center", children: [
|
|
4267
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)("span", { className: "mly-absolute mly-inset-y-0 mly-left-2 mly-flex mly-items-center mly-text-xs mly-leading-none mly-text-gray-400", children: dimension === "width" ? "W" : "H" }),
|
|
4268
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
4269
|
+
"input",
|
|
4270
|
+
__spreadProps(__spreadValues({}, AUTOCOMPLETE_PASSWORD_MANAGERS_OFF), {
|
|
4271
|
+
className: "hide-number-controls mly-h-auto mly-max-w-20 mly-appearance-none mly-border-0 mly-border-none mly-p-1 mly-px-[26px] mly-text-sm mly-uppercase mly-tabular-nums mly-outline-none focus-visible:mly-outline-none",
|
|
4272
|
+
type: "number",
|
|
4273
|
+
value,
|
|
4274
|
+
onChange: (e) => onValueChange(e.target.value)
|
|
4275
|
+
})
|
|
4276
|
+
),
|
|
4277
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)("span", { className: "mly-absolute mly-inset-y-0 mly-right-1 mly-flex mly-items-center mly-text-xs mly-leading-none mly-text-gray-400", children: "PX" })
|
|
4278
|
+
] });
|
|
4279
|
+
}
|
|
4280
|
+
|
|
4280
4281
|
// src/editor/components/image-menu/use-image-state.tsx
|
|
4281
4282
|
var import_react27 = require("@tiptap/react");
|
|
4282
4283
|
var import_fast_deep_equal3 = __toESM(require("fast-deep-equal"));
|
|
@@ -4286,8 +4287,8 @@ var useImageState = (editor) => {
|
|
|
4286
4287
|
selector: ({ editor: editor2 }) => {
|
|
4287
4288
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
|
|
4288
4289
|
return {
|
|
4289
|
-
width: editor2.getAttributes("image").width,
|
|
4290
|
-
height: editor2.getAttributes("image").height,
|
|
4290
|
+
width: String(editor2.getAttributes("image").width),
|
|
4291
|
+
height: String(editor2.getAttributes("image").height),
|
|
4291
4292
|
isImageActive: editor2.isActive("image"),
|
|
4292
4293
|
isLogoActive: editor2.isActive("logo"),
|
|
4293
4294
|
alignment: ((_a = editor2.getAttributes("image")) == null ? void 0 : _a.alignment) || ((_b = editor2.getAttributes("logo")) == null ? void 0 : _b.alignment),
|
|
@@ -4305,7 +4306,6 @@ var useImageState = (editor) => {
|
|
|
4305
4306
|
};
|
|
4306
4307
|
|
|
4307
4308
|
// src/editor/components/image-menu/image-bubble-menu.tsx
|
|
4308
|
-
var import_tippy4 = require("tippy.js");
|
|
4309
4309
|
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
4310
4310
|
function ImageBubbleMenu(props) {
|
|
4311
4311
|
var _a, _b, _c, _d;
|
|
@@ -4333,7 +4333,7 @@ function ImageBubbleMenu(props) {
|
|
|
4333
4333
|
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
4334
4334
|
import_react28.BubbleMenu,
|
|
4335
4335
|
__spreadProps(__spreadValues({}, bubbleMenuProps), {
|
|
4336
|
-
className: "mly-flex mly-rounded-lg mly-border mly-border-
|
|
4336
|
+
className: "mly-flex mly-rounded-lg mly-border mly-border-gray-200 mly-bg-white mly-p-0.5 mly-shadow-md",
|
|
4337
4337
|
children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(TooltipProvider, { children: [
|
|
4338
4338
|
state.isLogoActive && state.imageSrc && /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_jsx_runtime37.Fragment, { children: [
|
|
4339
4339
|
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
@@ -4414,9 +4414,9 @@ function ImageBubbleMenu(props) {
|
|
|
4414
4414
|
ImageSize,
|
|
4415
4415
|
{
|
|
4416
4416
|
dimension: "width",
|
|
4417
|
-
value: (_c = state == null ? void 0 : state.width) != null ? _c :
|
|
4417
|
+
value: (_c = state == null ? void 0 : state.width) != null ? _c : "",
|
|
4418
4418
|
onValueChange: (value) => {
|
|
4419
|
-
editor == null ? void 0 : editor.chain().updateAttributes("image", { width: value }).run();
|
|
4419
|
+
editor == null ? void 0 : editor.chain().updateAttributes("image", { width: value || null }).run();
|
|
4420
4420
|
}
|
|
4421
4421
|
}
|
|
4422
4422
|
),
|
|
@@ -4424,9 +4424,9 @@ function ImageBubbleMenu(props) {
|
|
|
4424
4424
|
ImageSize,
|
|
4425
4425
|
{
|
|
4426
4426
|
dimension: "height",
|
|
4427
|
-
value: (_d = state == null ? void 0 : state.height) != null ? _d :
|
|
4427
|
+
value: (_d = state == null ? void 0 : state.height) != null ? _d : "",
|
|
4428
4428
|
onValueChange: (value) => {
|
|
4429
|
-
editor == null ? void 0 : editor.chain().updateAttributes("image", { height: value }).run();
|
|
4429
|
+
editor == null ? void 0 : editor.chain().updateAttributes("image", { height: value || null }).run();
|
|
4430
4430
|
}
|
|
4431
4431
|
}
|
|
4432
4432
|
)
|
|
@@ -4593,7 +4593,7 @@ function ColorPicker(props) {
|
|
|
4593
4593
|
{
|
|
4594
4594
|
className: "mly-w-full mly-rounded-none mly-border-0 !mly-bg-transparent !mly-p-0 mly-shadow-none mly-drop-shadow-md",
|
|
4595
4595
|
sideOffset: 8,
|
|
4596
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "mly-min-w-[260px] mly-rounded-xl mly-border mly-bg-white mly-p-4", children: [
|
|
4596
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "mly-min-w-[260px] mly-rounded-xl mly-border mly-border-gray-200 mly-bg-white mly-p-4", children: [
|
|
4597
4597
|
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
4598
4598
|
import_react_colorful.HexColorPicker,
|
|
4599
4599
|
{
|
|
@@ -4608,7 +4608,7 @@ function ColorPicker(props) {
|
|
|
4608
4608
|
alpha: true,
|
|
4609
4609
|
color,
|
|
4610
4610
|
onChange: handleColorChange,
|
|
4611
|
-
className: "mly-mt-4 mly-w-full mly-min-w-0 mly-rounded-lg mly-border mly-px-2 mly-py-1.5 mly-text-sm mly-uppercase focus-visible:mly-border-gray-400 focus-visible:mly-outline-none",
|
|
4611
|
+
className: "mly-mt-4 mly-w-full mly-min-w-0 mly-rounded-lg mly-border mly-border-gray-200 mly-px-2 mly-py-1.5 mly-text-sm mly-uppercase focus-visible:mly-border-gray-400 focus-visible:mly-outline-none",
|
|
4612
4612
|
prefixed: true
|
|
4613
4613
|
}
|
|
4614
4614
|
),
|
|
@@ -4689,13 +4689,17 @@ function SectionBubbleMenu(props) {
|
|
|
4689
4689
|
}, [editor]);
|
|
4690
4690
|
const bubbleMenuProps = __spreadProps(__spreadValues(__spreadValues({}, props), appendTo ? { appendTo: appendTo.current } : {}), {
|
|
4691
4691
|
shouldShow: ({ editor: editor2 }) => {
|
|
4692
|
-
var _a;
|
|
4692
|
+
var _a, _b;
|
|
4693
4693
|
const activeSectionNode = getClosestNodeByName(editor2, "section");
|
|
4694
4694
|
const repeatNodeChildren = activeSectionNode ? (_a = (0, import_react30.findChildren)(activeSectionNode == null ? void 0 : activeSectionNode.node, (node) => {
|
|
4695
4695
|
return node.type.name === "repeat";
|
|
4696
4696
|
})) == null ? void 0 : _a[0] : null;
|
|
4697
|
+
const inlineImageNodeChildren = activeSectionNode ? (_b = (0, import_react30.findChildren)(activeSectionNode == null ? void 0 : activeSectionNode.node, (node) => {
|
|
4698
|
+
return node.type.name === "inlineImage";
|
|
4699
|
+
})) == null ? void 0 : _b[0] : null;
|
|
4697
4700
|
const hasActiveRepeatNodeChildren = repeatNodeChildren && editor2.isActive("repeat");
|
|
4698
|
-
|
|
4701
|
+
const hasActiveInlineImageNodeChildren = inlineImageNodeChildren && editor2.isActive("inlineImage");
|
|
4702
|
+
if (isTextSelected(editor2) || hasActiveRepeatNodeChildren || hasActiveInlineImageNodeChildren || !editor2.isEditable) {
|
|
4699
4703
|
return false;
|
|
4700
4704
|
}
|
|
4701
4705
|
return editor2.isActive("section");
|
|
@@ -4722,7 +4726,7 @@ function SectionBubbleMenu(props) {
|
|
|
4722
4726
|
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
4723
4727
|
import_react30.BubbleMenu,
|
|
4724
4728
|
__spreadProps(__spreadValues({}, bubbleMenuProps), {
|
|
4725
|
-
className: "mly-flex mly-items-stretch mly-rounded-lg mly-border mly-border-
|
|
4729
|
+
className: "mly-flex mly-items-stretch mly-rounded-lg mly-border mly-border-gray-200 mly-bg-white mly-p-0.5 mly-shadow-md",
|
|
4726
4730
|
children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(TooltipProvider, { children: [
|
|
4727
4731
|
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
4728
4732
|
AlignmentSwitch,
|
|
@@ -4995,7 +4999,7 @@ function SpacerBubbleMenu(props) {
|
|
|
4995
4999
|
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
4996
5000
|
import_react33.BubbleMenu,
|
|
4997
5001
|
__spreadProps(__spreadValues({}, bubbleMenuProps), {
|
|
4998
|
-
className: "mly-flex mly-gap-0.5 mly-rounded-lg mly-border mly-border-
|
|
5002
|
+
className: "mly-flex mly-gap-0.5 mly-rounded-lg mly-border mly-border-gray-200 mly-bg-white mly-p-0.5 mly-shadow-md",
|
|
4999
5003
|
children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(TooltipProvider, { children: [
|
|
5000
5004
|
items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
5001
5005
|
BubbleMenuButton,
|
|
@@ -6341,18 +6345,24 @@ var ImageExtension = import_extension_image2.default.extend({
|
|
|
6341
6345
|
width: {
|
|
6342
6346
|
default: "auto",
|
|
6343
6347
|
parseHTML: (element) => {
|
|
6344
|
-
|
|
6345
|
-
return width ?
|
|
6348
|
+
var _a2, _b, _c;
|
|
6349
|
+
return element.getAttribute("width") || ((_c = ((_a2 = element.style) == null ? void 0 : _a2.width) || ((_b = element.style) == null ? void 0 : _b.inlineSize)) == null ? void 0 : _c.replace(
|
|
6350
|
+
"px",
|
|
6351
|
+
""
|
|
6352
|
+
)) || null;
|
|
6346
6353
|
},
|
|
6347
|
-
renderHTML: ({ width }) => ({
|
|
6354
|
+
renderHTML: ({ width }) => ({ width })
|
|
6348
6355
|
},
|
|
6349
6356
|
height: {
|
|
6350
6357
|
default: "auto",
|
|
6351
6358
|
parseHTML: (element) => {
|
|
6352
|
-
|
|
6353
|
-
return height ?
|
|
6359
|
+
var _a2, _b, _c;
|
|
6360
|
+
return element.getAttribute("height") || ((_c = ((_a2 = element.style) == null ? void 0 : _a2.height) || ((_b = element.style) == null ? void 0 : _b.blockSize)) == null ? void 0 : _c.replace(
|
|
6361
|
+
"px",
|
|
6362
|
+
""
|
|
6363
|
+
)) || null;
|
|
6354
6364
|
},
|
|
6355
|
-
renderHTML: ({ height }) => ({
|
|
6365
|
+
renderHTML: ({ height }) => ({ height })
|
|
6356
6366
|
},
|
|
6357
6367
|
alignment: {
|
|
6358
6368
|
default: "center",
|
|
@@ -7055,14 +7065,14 @@ var CommandList = (0, import_react50.forwardRef)(function CommandList2(props, re
|
|
|
7055
7065
|
),
|
|
7056
7066
|
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "mly-border-t mly-border-gray-200 mly-px-1 mly-py-3 mly-pl-4", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "mly-flex mly-items-center", children: [
|
|
7057
7067
|
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("p", { className: "mly-text-center mly-text-xs mly-text-gray-400", children: [
|
|
7058
|
-
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("kbd", { className: "mly-rounded mly-border mly-p-1 mly-px-2 mly-font-medium", children: "\u2191" }),
|
|
7059
|
-
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("kbd", { className: "mly-ml-1 mly-rounded mly-border mly-p-1 mly-px-2 mly-font-medium", children: "\u2193" }),
|
|
7068
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("kbd", { className: "mly-rounded mly-border mly-border-gray-200 mly-p-1 mly-px-2 mly-font-medium", children: "\u2191" }),
|
|
7069
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("kbd", { className: "mly-ml-1 mly-rounded mly-border mly-border-gray-200 mly-p-1 mly-px-2 mly-font-medium", children: "\u2193" }),
|
|
7060
7070
|
" ",
|
|
7061
7071
|
"to navigate"
|
|
7062
7072
|
] }),
|
|
7063
7073
|
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { "aria-hidden": "true", className: "mly-select-none mly-px-1", children: "\xB7" }),
|
|
7064
7074
|
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("p", { className: "mly-text-center mly-text-xs mly-text-gray-400", children: [
|
|
7065
|
-
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("kbd", { className: "mly-rounded mly-border mly-p-1 mly-px-1.5 mly-font-medium", children: "Enter" }),
|
|
7075
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("kbd", { className: "mly-rounded mly-border mly-border-gray-200 mly-p-1 mly-px-1.5 mly-font-medium", children: "Enter" }),
|
|
7066
7076
|
" ",
|
|
7067
7077
|
"to select"
|
|
7068
7078
|
] })
|
|
@@ -7904,7 +7914,7 @@ function TextBubbleMenu(props) {
|
|
|
7904
7914
|
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
7905
7915
|
import_react57.BubbleMenu,
|
|
7906
7916
|
__spreadProps(__spreadValues({}, bubbleMenuProps), {
|
|
7907
|
-
className: "mly-flex mly-gap-0.5 mly-rounded-lg mly-border mly-border-
|
|
7917
|
+
className: "mly-flex mly-gap-0.5 mly-rounded-lg mly-border mly-border-gray-200 mly-bg-white mly-p-0.5 mly-shadow-md",
|
|
7908
7918
|
children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(TooltipProvider, { children: [
|
|
7909
7919
|
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(TurnIntoBlock, { options: turnIntoBlockOptions }),
|
|
7910
7920
|
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Divider, { className: "mly-mx-0" }),
|
|
@@ -8060,7 +8070,7 @@ function HTMLBubbleMenu(props) {
|
|
|
8060
8070
|
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
8061
8071
|
import_react60.BubbleMenu,
|
|
8062
8072
|
__spreadProps(__spreadValues({}, bubbleMenuProps), {
|
|
8063
|
-
className: "mly-flex mly-items-stretch mly-rounded-lg mly-border mly-border-
|
|
8073
|
+
className: "mly-flex mly-items-stretch mly-rounded-lg mly-border mly-border-gray-200 mly-bg-white mly-p-0.5 mly-shadow-md",
|
|
8064
8074
|
children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(TooltipProvider, { children: [
|
|
8065
8075
|
/* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "flex items-center mly-h-7 mly-rounded-md mly-bg-soft-gray mly-px-0.5", children: [
|
|
8066
8076
|
/* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(Tooltip, { children: [
|
|
@@ -8177,7 +8187,7 @@ function InlineImageBubbleMenu(props) {
|
|
|
8177
8187
|
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
8178
8188
|
import_react63.BubbleMenu,
|
|
8179
8189
|
__spreadProps(__spreadValues({}, bubbleMenuProps), {
|
|
8180
|
-
className: "mly-flex mly-rounded-lg mly-border mly-border-
|
|
8190
|
+
className: "mly-flex mly-rounded-lg mly-border mly-border-gray-200 mly-bg-white mly-p-0.5 mly-shadow-md",
|
|
8181
8191
|
children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(TooltipProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "mly-flex mly-space-x-0.5", children: [
|
|
8182
8192
|
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
8183
8193
|
LinkInputPopover,
|
|
@@ -8217,8 +8227,8 @@ function InlineImageBubbleMenu(props) {
|
|
|
8217
8227
|
value: state == null ? void 0 : state.height,
|
|
8218
8228
|
onValueChange: (value) => {
|
|
8219
8229
|
editor == null ? void 0 : editor.chain().updateAttributes("inlineImage", {
|
|
8220
|
-
width: value,
|
|
8221
|
-
height: value
|
|
8230
|
+
width: value || DEFAULT_INLINE_IMAGE_WIDTH,
|
|
8231
|
+
height: value || DEFAULT_INLINE_IMAGE_HEIGHT
|
|
8222
8232
|
}).run();
|
|
8223
8233
|
}
|
|
8224
8234
|
}
|
|
@@ -8324,7 +8334,7 @@ function Editor11(props) {
|
|
|
8324
8334
|
"div",
|
|
8325
8335
|
{
|
|
8326
8336
|
className: cn(
|
|
8327
|
-
"mly-mt-4 mly-rounded mly-border mly-bg-white mly-p-4",
|
|
8337
|
+
"mly-mt-4 mly-rounded mly-border mly-border-gray-200 mly-bg-white mly-p-4",
|
|
8328
8338
|
bodyClassName
|
|
8329
8339
|
),
|
|
8330
8340
|
children: [
|