! ! ! {"files":{"app.css":{"size":316980,"offset":"0"},"app.js":{"size":2388581,"offset":"316980"},"enhance.js":{"size":13839,"offset":"2705561"},"help.html":{"size":580,"offset":"2719400"},"help.js":{"size":176248,"offset":"2719980"},"i18n":{"files":{"ar.json":{"size":101471,"offset":"2979761"},"be.json":{"size":97899,"offset":"3081232"},"bg.json":{"size":99317,"offset":"3179131"},"bn.json":{"size":97901,"offset":"3278448"},"ca.json":{"size":97901,"offset":"3376349"},"cs.json":{"size":102834,"offset":"3474250"},"da.json":{"size":103349,"offset":"3577084"},"de.json":{"size":109953,"offset":"3680433"},"el.json":{"size":97855,"offset":"3790386"},"en.json":{"size":97901,"offset":"3888241"},"es.json":{"size":102776,"offset":"3986142"},"eu.json":{"size":97899,"offset":"4088918"},"fa.json":{"size":120218,"offset":"4186817"},"fr.json":{"size":113103,"offset":"4307035"},"hi.json":{"size":102905,"offset":"4420138"},"id.json":{"size":103316,"offset":"4523043"},"it.json":{"size":106267,"offset":"4626359"},"ja.json":{"size":126594,"offset":"4732626"},"ko.json":{"size":112258,"offset":"4859220"},"ml.json":{"size":97906,"offset":"4971478"},"ms.json":{"size":70678,"offset":"5069384"},"nl.json":{"size":104141,"offset":"5140062"},"no.json":{"size":98602,"offset":"5244203"},"oc.json":{"size":97901,"offset":"5342805"},"pl.json":{"size":107571,"offset":"5440706"},"pt-BR.json":{"size":107100,"offset":"5548277"},"pt.json":{"size":106389,"offset":"5655377"},"ro.json":{"size":102920,"offset":"5761766"},"ru.json":{"size":147066,"offset":"5864686"},"se.json":{"size":98149,"offset":"6011752"},"sk.json":{"size":97938,"offset":"6109901"},"sq.json":{"size":108407,"offset":"6207839"},"sr.json":{"size":99152,"offset":"6316246"},"ta.json":{"size":97977,"offset":"6415398"},"th.json":{"size":147950,"offset":"6513375"},"tr.json":{"size":108214,"offset":"6661325"},"uk.json":{"size":144030,"offset":"6769539"},"ur.json":{"size":97938,"offset":"6913569"},"vi.json":{"size":103676,"offset":"7011507"},"zh-TW.json":{"size":97746,"offset":"7115183"},"zh.json":{"size":99129,"offset":"7212929"}}},"i18n.js":{"size":83533,"offset":"2896228"},"icon.png":{"size":14492,"offset":"7312058"},"index.html":{"size":1401,"offset":"7326550"},"lib":{"files":{"codemirror":{"files":{"cm-addons.js":{"size":60479,"offset":"7327951"},"codemirror.js":{"size":410008,"offset":"7388430"},"markdown.js":{"size":42232,"offset":"7798438"},"meta.min.js":{"size":12792,"offset":"7840670"},"modes.min.js":{"size":562891,"offset":"7853462"},"overlay.js":{"size":3189,"offset":"8416353"},"vim.js":{"size":244963,"offset":"8419542"}}},"i18next.min.js":{"size":41341,"offset":"8664505"},"mathjax":{"files":{"a11y":{"files":{"assistive-mml.js":{"size":6460,"offset":"8705846"},"complexity.js":{"size":18034,"offset":"8712306"},"explorer.js":{"size":36348,"offset":"8730340"},"semantic-enrich.js":{"size":8084,"offset":"8766688"},"sre.js":{"size":337064,"offset":"8774772"}}},"output":{"files":{"chtml":{"files":{"fonts":{"files":{"tex.js":{"size":104800,"offset":"9111836"},"woff-v2":{"files":{"MathJax_AMS-Regular.woff":{"size":40808,"offset":"9216636"},"MathJax_Calligraphic-Bold.woff":{"size":9908,"offset":"9257444"},"MathJax_Calligraphic-Regular.woff":{"size":9600,"offset":"9267352"},"MathJax_Fraktur-Bold.woff":{"size":22340,"offset":"9276952"},"MathJax_Fraktur-Regular.woff":{"size":21480,"offset":"9299292"},"MathJax_Main-Bold.woff":{"size":34464,"offset":"9320772"},"MathJax_Main-Italic.woff":{"size":20832,"offset":"9355236"},"MathJax_Main-Regular.woff":{"size":34160,"offset":"9376068"},"MathJax_Math-BoldItalic.woff":{"size":19776,"offset":"9410228"},"MathJax_Math-Italic.woff":{"size":19360,"offset":"9430004"},"MathJax_Math-Regular.woff":{"size":19288,"offset":"9449364"},"MathJax_SansSerif-Bold.woff":{"size":15944,"offset":"9468652"},"MathJax_SansSerif-Italic.woff":{"size":14628,"offset":"9484596"},"MathJax_SansSerif-Regular.woff":{"size":12660,"offset":"9499224"},"MathJax_Script-Regular.woff":{"size":11852,"offset":"9511884"},"MathJax_Size1-Regular.woff":{"size":5792,"offset":"9523736"},"MathJax_Size2-Regular.woff":{"size":5464,"offset":"9529528"},"MathJax_Size3-Regular.woff":{"size":3244,"offset":"9534992"},"MathJax_Size4-Regular.woff":{"size":5148,"offset":"9538236"},"MathJax_Typewriter-Regular.woff":{"size":17604,"offset":"9543384"},"MathJax_Vector-Bold.woff":{"size":1116,"offset":"9560988"},"MathJax_Vector-Regular.woff":{"size":1136,"offset":"9562104"},"MathJax_Zero.woff":{"size":1368,"offset":"9563240"}}}}}}}}},"tex-chtml-full.js":{"size":1327555,"offset":"9564608"}}},"mermaid.min.js":{"size":900212,"offset":"10892163"},"moment.min.js":{"size":369009,"offset":"11792375"},"nspell.min.js":{"size":8612,"offset":"12161384"},"pdf.min.js":{"size":238205,"offset":"12169996"},"pdf.worker.min.js":{"size":1041789,"offset":"12408201"},"pixi.min.js":{"size":702155,"offset":"13449990"},"prism.min.js":{"size":561283,"offset":"14152145"},"purify.min.js":{"size":20392,"offset":"14713428"},"reveal":{"files":{"black.css":{"size":7336,"offset":"14733820"},"reveal.css":{"size":46732,"offset":"14741156"},"reveal.js":{"size":89699,"offset":"14787888"},"white.css":{"size":7323,"offset":"14877587"}}},"scrypt.js":{"size":18366,"offset":"14884910"},"turndown.js":{"size":10607,"offset":"14903276"}}},"main.js":{"size":54186,"offset":"14913883"},"package-lock.json":{"size":77,"offset":"14968069"},"package.json":{"size":320,"offset":"14968146"},"public":{"files":{"fonts":{"files":{"05b618077343fbbd92b7.ttf":{"size":155288,"offset":"14968466"},"2d5198822ab091ce4305.woff2":{"size":104332,"offset":"15123754"},"454577c22304619db035.ttf":{"size":161376,"offset":"15228086"},"4bb6ac751d1c5478ff3a.woff2":{"size":7876,"offset":"15389462"},"52ac8f3034507f1d9e53.ttf":{"size":191568,"offset":"15397338"},"535a6cf662596b3bd6a6.woff2":{"size":111708,"offset":"15588906"},"70cc7ff27245e82ad414.ttf":{"size":192740,"offset":"15700614"},"72505e6a122c6acd5471.woff2":{"size":104232,"offset":"15893354"},"853ff76f08786ae44ca0.woff":{"size":8616,"offset":"15997586"},"94f2f163d4b698242fef.otf":{"size":66800,"offset":"16006202"},"b5f0f109bc88052d4000.woff2":{"size":105804,"offset":"16073002"},"c8ba52b05a9ef10f4758.woff2":{"size":98868,"offset":"16178806"},"cb10ffd7684cd9836a05.woff2":{"size":106876,"offset":"16277674"},"cbe0ae49c52c920fd563.woff2":{"size":106108,"offset":"16384550"}}},"images":{"files":{"7877465e5f8197b19e8e.gif":{"size":46,"offset":"16490658"},"874d8b8e340f75575caa.svg":{"size":317,"offset":"16490704"},"93db313be3615c54d0a9.gif":{"size":120741,"offset":"16491021"}}}}},"sandbox":{"files":{"Adventurer":{"files":{"From plain-text note-taking.md":{"size":545,"offset":"16611762"},"From standard note-taking.md":{"size":642,"offset":"16612307"},"No prior experience.md":{"size":711,"offset":"16612949"}}},"Formatting":{"files":{"Blockquote.md":{"size":458,"offset":"16613660"},"Callout.md":{"size":2486,"offset":"16614118"},"Code block.md":{"size":671,"offset":"16616604"},"Comment.md":{"size":438,"offset":"16617275"},"Diagram.md":{"size":1393,"offset":"16617713"},"Embeds.md":{"size":181,"offset":"16619106"},"Emphasis.md":{"size":324,"offset":"16619287"},"Footnote.md":{"size":775,"offset":"16619611"},"Format your notes.md":{"size":458,"offset":"16620386"},"Heading.md":{"size":320,"offset":"16620844"},"Highlighting.md":{"size":100,"offset":"16621164"},"Horizontal divider.md":{"size":115,"offset":"16621264"},"Images.md":{"size":329,"offset":"16621379"},"Inline code.md":{"size":141,"offset":"16621708"},"Internal link.md":{"size":70,"offset":"16621849"},"Links.md":{"size":1283,"offset":"16621919"},"Lists.md":{"size":234,"offset":"16623202"},"Math.md":{"size":389,"offset":"16623436"},"Strikethrough.md":{"size":162,"offset":"16623825"},"Table.md":{"size":1240,"offset":"16623987"},"Task.md":{"size":626,"offset":"16625227"}}},"Guides":{"files":{"Create a vault.md":{"size":826,"offset":"16625853"},"Create your first note.md":{"size":1206,"offset":"16626679"},"Get started with Obsidian.md":{"size":611,"offset":"16627885"},"Link notes.md":{"size":2687,"offset":"16628496"}}},"Plugins make Obsidian special for you.md":{"size":1137,"offset":"16631183"},"Start Here.md":{"size":989,"offset":"16632320"},"Vault is just a local folder.md":{"size":1663,"offset":"16633309"}}},"sim.js":{"size":17679,"offset":"16634972"},"spellcheck":{"files":{"en_US.aff":{"size":3295,"offset":"16652651"},"en_US.dic":{"size":600811,"offset":"16655946"}}},"starter.html":{"size":583,"offset":"17256757"},"starter.js":{"size":210998,"offset":"17257340"},"worker.js":{"size":224625,"offset":"17468338"}}} /* Obsidian theme variables */
/* ------------------------ */
body {
/* Animations */
--anim-duration-none: 0;
--anim-duration-superfast: 70ms;
--anim-duration-fast: 140ms;
--anim-duration-moderate: 300ms;
--anim-duration-slow: 560ms;
--anim-motion-smooth: cubic-bezier(0.45, 0.05, 0.55, 0.95);
--anim-motion-delay: cubic-bezier(0.65, 0.05, 0.36, 1);
--anim-motion-jumpy: cubic-bezier(0.68, -0.55, 0.27, 1.55);
--anim-motion-swing: cubic-bezier(0, 0.55, 0.45, 1);
/* Blockquotes */
--blockquote-border-thickness: 2px;
--blockquote-border-color: var(--interactive-accent);
--blockquote-font-style: normal;
--blockquote-color: inherit;
--blockquote-background-color: transparent;
/* Bold */
--bold-weight: var(--font-semibold);
--bold-color: inherit;
/* Borders */
--border-width: 1px;
/* Buttons */
--button-radius: var(--input-radius);
/* Callouts */
--callout-border-width: 0px;
--callout-border-opacity: 0.25;
--callout-padding: var(--size-4-3) var(--size-4-3) var(--size-4-3) var(--size-4-6);
--callout-radius: var(--radius-s);
--callout-blend-mode: var(--highlight-mix-blend-mode);
--callout-title-color: inherit;
--callout-title-padding: 0;
--callout-title-size: inherit;
--callout-content-padding: 0;
--callout-content-background: transparent;
--callout-bug: var(--color-red-rgb);
--callout-default: var(--color-blue-rgb);
--callout-error: var(--color-red-rgb);
--callout-example: var(--color-purple-rgb);
--callout-fail: var(--color-red-rgb);
--callout-important: var(--color-cyan-rgb);
--callout-info: var(--color-blue-rgb);
--callout-question: var(--color-yellow-rgb);
--callout-success: var(--color-green-rgb);
--callout-summary: var(--color-cyan-rgb);
--callout-tip: var(--color-cyan-rgb);
--callout-todo: var(--color-blue-rgb);
--callout-warning: var(--color-orange-rgb);
--callout-quote: 158, 158, 158;
/* Canvas */
--canvas-background: var(--background-primary);
--canvas-card-label-color: var(--text-faint);
--canvas-color-1: var(--color-red-rgb);
--canvas-color-2: var(--color-orange-rgb);
--canvas-color-3: var(--color-yellow-rgb);
--canvas-color-4: var(--color-green-rgb);
--canvas-color-5: var(--color-cyan-rgb);
--canvas-color-6: var(--color-purple-rgb);
--canvas-dot-pattern: var(--color-base-30);
/* Checkboxes */
--checkbox-radius: var(--radius-s);
--checkbox-size: var(--font-text-size);
--checkbox-marker-color: var(--background-primary);
--checkbox-color: var(--interactive-accent);
--checkbox-color-hover: var(--interactive-accent-hover);
--checkbox-border-color: var(--text-faint);
--checkbox-border-color-hover: var(--text-muted);
--checklist-done-decoration: line-through;
--checklist-done-color: var(--text-muted);
/* Code */
--code-white-space: pre-wrap;
--code-size: var(--font-smaller);
--code-background: var(--background-primary-alt);
--code-normal: var(--text-muted);
--code-comment: var(--text-faint);
--code-function: var(--color-yellow);
--code-important: var(--color-orange);
--code-keyword: var(--color-pink);
--code-operator: var(--color-red);
--code-property: var(--color-cyan);
--code-punctuation: var(--text-muted);
--code-string: var(--color-green);
--code-tag: var(--color-red);
--code-value: var(--color-purple);
/* Collapse icons */
--collapse-icon-color: var(--text-faint);
--collapse-icon-color-collapsed: var(--text-accent);
/* Cursor */
--cursor: default;
--cursor-link: pointer;
/* Dialogs - e.g. small modals, confirmations */
--dialog-width: 560px;
--dialog-max-width: 80vw;
--dialog-max-height: 85vh;
/* Dividers — between panes */
--divider-color: var(--background-modifier-border);
--divider-color-hover: var(--interactive-accent);
--divider-width: 1px;
--divider-width-hover: 3px;
--divider-vertical-height: calc(100% - var(--header-height));
/* Dragging */
--drag-ghost-background: rgba(0, 0, 0, 0.85);
--drag-ghost-text-color: #fff;
/* Embeds */
--embed-max-height: 4000px;
--embed-canvas-max-height: 400px;
--embed-background: inherit;
--embed-border-left: 2px solid var(--interactive-accent);
--embed-border-right: none;
--embed-border-top: none;
--embed-border-bottom: none;
--embed-padding: 0 0 0 var(--size-4-6);
--embed-font-style: inherit;
/* Blocks */
--embed-block-shadow-hover: 0 0 0 1px var(--background-modifier-border),
inset 0 0 0 1px var(--background-modifier-border);
/* File layout */
--file-line-width: 700px;
--file-folding-offset: 24px;
--file-margins: var(--size-4-8);
--file-header-font-size: var(--font-ui-small);
--file-header-font-weight: 400;
--file-header-border: var(--border-width) solid transparent;
--file-header-justify: center;
/* Relative font sizes */
--font-smallest: 0.8em;
--font-smaller: 0.875em;
--font-small: 0.933em;
/* UI font sizes */
--font-ui-smaller: 12px;
--font-ui-small: 13px;
--font-ui-medium: 15px;
--font-ui-large: 20px;
/* Font weights */
--font-thin: 100;
--font-extralight: 200;
--font-light: 300;
--font-normal: 400;
--font-medium: 500;
--font-semibold: 600;
--font-bold: 700;
--font-extrabold: 800;
--font-black: 900;
/* Footnotes */
--footnote-size: var(--font-smaller);
/* Graphs */
--graph-controls-width: 240px;
--graph-text: var(--text-normal);
--graph-line: var(--color-base-35, var(--background-modifier-border-focus));
--graph-node: var(--text-muted);
--graph-node-unresolved: var(--text-faint);
--graph-node-focused: var(--text-accent);
--graph-node-tag: var(--color-green);
--graph-node-attachment: var(--color-yellow);
/* Headings */
--heading-formatting: var(--text-faint);
--h1-color: inherit;
--h2-color: inherit;
--h3-color: inherit;
--h4-color: inherit;
--h5-color: inherit;
--h6-color: inherit;
--h1-font: inherit;
--h2-font: inherit;
--h3-font: inherit;
--h4-font: inherit;
--h5-font: inherit;
--h6-font: inherit;
--h1-line-height: 1.2;
--h2-line-height: 1.2;
--h3-line-height: 1.3;
--h4-line-height: 1.4;
--h5-line-height: var(--line-height-normal);
--h6-line-height: var(--line-height-normal);
--h1-size: 2em;
--h2-size: 1.6em;
--h3-size: 1.37em;
--h4-size: 1.25em;
--h5-size: 1.12em;
--h6-size: 1.12em;
--h1-style: normal;
--h2-style: normal;
--h3-style: normal;
--h4-style: normal;
--h5-style: normal;
--h6-style: normal;
--h1-variant: normal;
--h2-variant: normal;
--h3-variant: normal;
--h4-variant: normal;
--h5-variant: normal;
--h6-variant: normal;
--h1-weight: 700;
--h2-weight: 600;
--h3-weight: 600;
--h4-weight: 600;
--h5-weight: 600;
--h6-weight: 600;
/* View header */
--header-height: 40px;
/* Horizontal rules */
--hr-color: var(--background-modifier-border);
--hr-thickness: 2px;
/* Icons */
--icon-size: var(--icon-m);
--icon-stroke: var(--icon-m-stroke-width);
--icon-xs: 14px;
--icon-s: 16px;
--icon-m: 18px;
--icon-l: 18px;
--icon-xl: 32px;
--icon-xs-stroke-width: 2px;
--icon-s-stroke-width: 2px;
--icon-m-stroke-width: 1.75px;
--icon-l-stroke-width: 1.75px;
--icon-xl-stroke-width: 1.25px;
--icon-color: var(--text-muted);
--icon-color-hover: var(--text-muted);
--icon-color-active: var(--text-accent);
--icon-color-focused: var(--text-normal);
--icon-opacity: 0.85;
--icon-opacity-hover: 1;
--icon-opacity-active: 1;
--clickable-icon-radius: var(--radius-s);
/* Indentation guide */
--indentation-guide-width: 1px;
--indentation-guide-color: rgba(var(--mono-rgb-100), 0.12);
--indentation-guide-color-active: rgba(var(--mono-rgb-100), 0.3);
/* Inline title */
--inline-title-color: var(--h1-color);
--inline-title-font: var(--h1-font);
--inline-title-line-height: var(--h1-line-height);
--inline-title-size: var(--h1-size);
--inline-title-style: var(--h1-style);
--inline-title-variant: var(--h1-variant);
--inline-title-weight: var(--h1-weight);
/* Inputs */
--input-height: 30px;
--input-radius: 5px;
--input-font-weight: var(--font-normal);
--input-border-width: 1px;
/* Italic */
--italic-color: inherit;
/* Z-index */
--layer-cover: 5;
--layer-sidedock: 10;
--layer-status-bar: 15;
--layer-popover: 30;
--layer-slides: 45;
--layer-modal: 50;
--layer-notice: 60;
--layer-menu: 65;
--layer-tooltip: 70;
--layer-dragged-item: 80;
/* Line heights */
--line-height-normal: 1.5;
--line-height-tight: 1.3;
/* Links */
--link-color: var(--text-accent);
--link-color-hover: var(--text-accent-hover);
--link-decoration: underline;
--link-decoration-hover: underline;
--link-decoration-thickness: auto;
--link-external-color: var(--text-accent);
--link-external-color-hover: var(--text-accent-hover);
--link-external-decoration: underline;
--link-external-decoration-hover: underline;
--link-external-filter: none;
--link-unresolved-color: var(--text-accent);
--link-unresolved-opacity: 0.7;
--link-unresolved-filter: none;
--link-unresolved-decoration-style: solid;
--link-unresolved-decoration-color: hsla(var(--interactive-accent-hsl), 0.3);
/* Lists */
--list-indent: 2em;
--list-spacing: 0.075em;
--list-marker-color: var(--text-faint);
--list-marker-color-hover: var(--text-muted);
--list-marker-color-collapsed: var(--text-accent);
--list-bullet-border: none;
--list-bullet-radius: 50%;
--list-bullet-size: 0.3em;
--list-bullet-transform: none;
--list-numbered-style: decimal;
/* File navigator */
--nav-item-size: var(--font-ui-small);
--nav-item-color: var(--text-muted);
--nav-item-color-hover: var(--text-normal);
--nav-item-color-active: var(--text-normal);
--nav-item-color-selected: var(--text-normal);
--nav-item-color-highlighted: var(--text-accent-hover);
--nav-item-background-hover: var(--background-modifier-hover);
--nav-item-background-active: var(--background-modifier-hover);
--nav-item-background-selected: hsla(var(--color-accent-hsl), 0.15);
--nav-item-padding: var(--size-4-1) var(--size-4-2);
--nav-item-parent-padding: var(--nav-item-padding);
--nav-item-children-padding-left: var(--size-4-2);
--nav-item-children-margin-left: var(--size-4-3);
--nav-item-weight: inherit;
--nav-item-weight-hover: inherit;
--nav-item-weight-active: inherit;
--nav-item-white-space: nowrap;
--nav-indentation-guide-width: var(--indentation-guide-width);
--nav-indentation-guide-color: var(--indentation-guide-color);
--nav-collapse-icon-color: var(--collapse-icon-color);
--nav-collapse-icon-color-collapsed: var(--text-faint);
/* Modals - e.g. settings, community themes, community plugins */
--modal-background: var(--background-primary);
--modal-width: 90vw;
--modal-height: 85vh;
--modal-max-width: 1100px;
--modal-max-height: 1000px;
--modal-max-width-narrow: 800px;
--modal-border-width: var(--border-width);
--modal-border-color: var(--color-base-40, var(--background-modifier-border-focus));
--modal-radius: var(--radius-l);
--modal-community-sidebar-width: 280px;
/* Popovers - file previews */
--popover-width: 450px;
--popover-height: 400px;
--popover-max-height: 70vh;
--popover-pdf-width: 600px;
--popover-pdf-height: 800px;
--popover-font-size: var(--font-text-size);
/* Prompts - e.g. quick switcher, command palette */
--prompt-width: 700px;
--prompt-max-width: 80vw;
--prompt-max-height: 70vh;
--prompt-border-width: var(--border-width);
--prompt-border-color: var(--color-base-40, var(--background-modifier-border-focus));
/* Radiuses */
--radius-s: 4px;
--radius-m: 8px;
--radius-l: 10px;
--radius-xl: 16px;
/* Ribbon */
--ribbon-background: var(--background-secondary);
--ribbon-background-collapsed: var(--background-primary);
--ribbon-width: 44px;
--ribbon-padding: var(--size-4-2) var(--size-4-1) var(--size-4-3);
/* Scrollbars */
--scrollbar-active-thumb-bg: rgba(var(--mono-rgb-100), 0.2);
--scrollbar-bg: rgba(var(--mono-rgb-100), 0.05);
--scrollbar-thumb-bg: rgba(var(--mono-rgb-100), 0.1);
/* Search */
--search-clear-button-color: var(--text-muted);
--search-clear-button-size: 13px;
--search-icon-color: var(--text-muted);
--search-icon-size: 18px;
--search-result-background: var(--background-primary);
/* Layout sizing - for padding and margins */
--size-2-1: 2px;
--size-2-2: 4px;
--size-2-3: 6px;
--size-4-1: 4px;
--size-4-2: 8px;
--size-4-3: 12px;
--size-4-4: 16px;
--size-4-5: 20px;
--size-4-6: 24px;
--size-4-8: 32px;
--size-4-9: 36px;
--size-4-12: 48px;
--size-4-16: 64px;
--size-4-18: 72px;
/* Sidebar */
--sidebar-markdown-font-size: calc(var(--font-text-size) * 0.9);
--sidebar-tab-text-display: none;
/* Sliders */
--slider-thumb-border-width: 1px;
--slider-thumb-border-color: var(--background-modifier-border-hover);
--slider-thumb-height: 18px;
--slider-thumb-width: 18px;
--slider-thumb-y: -6px;
--slider-thumb-radius: 50%;
--slider-s-thumb-size: 15px;
--slider-s-thumb-position: -5px;
--slider-track-background: var(--background-modifier-border);
--slider-track-height: 3px;
/* Status bar */
--status-bar-background: var(--background-secondary);
--status-bar-border-color: var(--divider-color);
--status-bar-border-width: 1px 0 0 1px;
--status-bar-font-size: var(--font-ui-smaller);
--status-bar-text-color: var(--text-muted);
--status-bar-position: fixed;
--status-bar-radius: var(--radius-m) 0 0 0;
--status-bar-scroll-padding: calc(var(--status-bar-font-size) + 18px);
/* Swatch for color inputs */
--swatch-radius: 14px;
--swatch-height: 24px;
--swatch-width: 24px;
--swatch-shadow: inset 0 0 0 1px rgba(var(--mono-rgb-100), 0.15);
/* Tabs */
--tab-background-active: var(--background-primary);
--tab-text-color: var(--text-faint);
--tab-text-color-active: var(--text-muted);
--tab-text-color-focused: var(--text-muted);
--tab-text-color-focused-active: var(--text-muted);
--tab-text-color-focused-highlighted: var(--text-accent);
--tab-text-color-focused-active-current: var(--text-normal);
--tab-font-size: var(--font-ui-small);
--tab-font-weight: inherit;
--tab-container-background: var(--background-secondary);
--tab-divider-color: var(--background-modifier-border-hover);
--tab-outline-color: var(--divider-color);
--tab-outline-width: 1px;
--tab-curve: 6px;
--tab-radius: var(--radius-s);
--tab-radius-active: 6px 6px 0 0;
--tab-width: 200px;
--tab-max-width: 320px;
/* Stacked tabs */
--tab-stacked-pane-width: 700px;
--tab-stacked-header-width: var(--header-height);
--tab-stacked-font-size: var(--font-ui-small);
--tab-stacked-font-weight: 400;
--tab-stacked-text-align: left;
--tab-stacked-text-transform: rotate(0deg);
--tab-stacked-text-writing-mode: vertical-lr;
--tab-stacked-shadow: -8px 0 8px 0 rgba(0, 0, 0, 0.05);
/* Tables */
--table-background: transparent;
--table-border-width: 1px;
--table-border-color: var(--background-modifier-border);
--table-white-space: normal;
--table-header-background: var(--table-background);
--table-header-background-hover: inherit;
--table-header-border-width: var(--table-border-width);
--table-header-border-color: var(--table-border-color);
--table-header-font: inherit;
--table-header-size: var(--font-text-size);
--table-header-weight: var(--bold-weight);
--table-header-color: var(--text-normal);
--table-text-size: inherit;
--table-text-color: inherit;
--table-column-max-width: none;
--table-column-alt-background: var(--table-background);
--table-column-first-border-width: var(--table-border-width);
--table-column-last-border-width: var(--table-border-width);
--table-row-background-hover: var(--table-background);
--table-row-alt-background: var(--table-background);
--table-row-last-border-width: var(--table-border-width);
/* Tags */
--tag-size: var(--font-smaller);
--tag-color: var(--text-accent);
--tag-color-hover: var(--text-accent);
--tag-decoration: none;
--tag-decoration-hover: none;
--tag-background: hsla(var(--interactive-accent-hsl), 0.1);
--tag-background-hover: hsla(var(--interactive-accent-hsl), 0.2);
--tag-border-color: hsla(var(--interactive-accent-hsl), 0.15);
--tag-border-color-hover: hsla(var(--interactive-accent-hsl), 0.15);
--tag-border-width: 0px;
--tag-padding-x: 0.65em;
--tag-padding-y: 0.25em;
--tag-radius: 2em;
/* Window frame */
--titlebar-background: var(--background-secondary);
--titlebar-background-focused: var(--background-secondary-alt);
--titlebar-border-width: 0px;
--titlebar-border-color: var(--background-modifier-border);
--titlebar-text-color: var(--text-muted);
--titlebar-text-color-focused: var(--text-normal);
--titlebar-text-weight: var(--font-bold);
/* Toggles */
--toggle-border-width: 2px;
--toggle-width: 40px;
--toggle-radius: 18px;
--toggle-thumb-color: white;
--toggle-thumb-radius: 18px;
--toggle-thumb-height: 18px;
--toggle-thumb-width: 18px;
--toggle-s-border-width: 2px;
--toggle-s-width: 34px;
--toggle-s-thumb-height: 15px;
--toggle-s-thumb-width: 15px;
/* Vault name */
--vault-name-font-size: var(--font-ui-small);
--vault-name-font-weight: var(--font-medium);
--vault-name-color: var(--text-normal);
/* Workspace */
--workspace-background-translucent: rgba(var(--mono-rgb-0), 0.6);
/* Color mappings ------------------------ */
/* Accent HSL values */
--accent-h: 254;
--accent-s: 80%;
--accent-l: 68%;
/* Backgrounds */
--background-primary: var(--color-base-00);
--background-primary-alt: var(--color-base-10);
--background-secondary: var(--color-base-20);
--background-modifier-hover: rgba(var(--mono-rgb-100), 0.075);
--background-modifier-active-hover: hsla(var(--interactive-accent-hsl), 0.15);
--background-modifier-border: var(--color-base-30);
--background-modifier-border-hover: var(--color-base-35);
--background-modifier-border-focus: var(--color-base-40);
--background-modifier-error-rgb: var(--color-red-rgb);
--background-modifier-error: var(--color-red);
--background-modifier-error-hover: var(--color-red);
--background-modifier-success-rgb: var(--color-green-rgb);
--background-modifier-success: var(--color-green);
--background-modifier-message: rgba(0, 0, 0, 0.9);
/* Inputs */
--background-modifier-form-field: var(--color-base-00);
/* Text */
--text-normal: var(--color-base-100);
--text-muted: var(--color-base-70);
--text-faint: var(--color-base-50);
--text-on-accent: white;
--text-on-accent-inverted: black;
--text-error: var(--color-red);
--text-success: var(--color-green);
--text-selection: hsla(var(--color-accent-hsl), 0.2);
--text-accent: var(--color-accent);
--text-accent-hover: var(--color-accent-2);
--interactive-normal: var(--color-base-00);
--interactive-hover: var(--color-base-10);
--interactive-accent-hsl: var(--color-accent-hsl);
--interactive-accent: var(--color-accent-1);
--interactive-accent-hover: var(--color-accent-2);
}
.theme-light {
color-scheme: light;
--highlight-mix-blend-mode: darken;
--mono-rgb-0: 255, 255, 255;
--mono-rgb-100: 0, 0, 0;
--color-red-rgb: 233, 49, 71;
--color-red: #E93147;
--color-green-rgb: 8, 185, 78;
--color-green: #08B94E;
--color-orange-rgb: 236, 117, 0;
--color-orange: #ec7500;
--color-yellow-rgb: 224, 172, 0;
--color-yellow: #e0ac00;
--color-cyan-rgb: 0, 191, 188;
--color-cyan: #00bfbc;
--color-blue-rgb: 8, 109, 221;
--color-blue: #086DDD;
--color-purple-rgb: 120, 82, 238;
--color-purple: #7852EE;
--color-pink-rgb: 213, 57, 132;
--color-pink: #D53984;
--color-base-00: #ffffff;
--color-base-05: #fcfcfc;
--color-base-10: #fafafa;
--color-base-20: #f6f6f6;
--color-base-25: #e3e3e3;
--color-base-30: #e0e0e0;
--color-base-35: #d4d4d4;
--color-base-40: #bdbdbd;
--color-base-50: #ababab;
--color-base-60: #707070;
--color-base-70: #5a5a5a;
--color-base-100: #222222;
--color-accent-hsl: var(--accent-h),
var(--accent-s),
var(--accent-l);
--color-accent: hsl(var(--accent-h), var(--accent-s), var(--accent-l));
--color-accent-1: hsl(var(--accent-h), var(--accent-s), calc(var(--accent-l) + 2.5%));
--color-accent-2: hsl(var(--accent-h), var(--accent-s), calc(var(--accent-l) + 5%));
--background-secondary-alt: var(--color-base-05);
--background-modifier-box-shadow: rgba(0, 0, 0, 0.1);
--background-modifier-cover: rgba(220, 220, 220, 0.4);
--text-highlight-bg: rgba(255, 208, 0, 0.4);
--text-highlight-bg-active: rgba(255, 128, 0, 0.4);
--input-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12),
0 2px 3px 0 rgba(0,0,0,.05),
0 1px 1.5px 0 rgba(0,0,0,.03),
0 1px 2px 0 rgba(0,0,0,.04),
0 0 0 0 transparent;
--input-shadow-hover: inset 0 0 0 1px rgba(0, 0, 0, 0.17),
0 2px 3px 0 rgba(0,0,0,.1),
0 1px 1.5px 0 rgba(0,0,0,.03),
0 1px 2px 0 rgba(0,0,0,.04),
0 0 0 0 transparent;
--shadow-s: 0px 1px 2px rgba(0, 0, 0, 0.028),
0px 3.4px 6.7px rgba(0, 0, 0, .042),
0px 15px 30px rgba(0, 0, 0, .07);
--shadow-l: 0px 1.8px 7.3px rgba(0, 0, 0, 0.071),
0px 6.3px 24.7px rgba(0, 0, 0, 0.112),
0px 30px 90px rgba(0, 0, 0, 0.2);
}
.theme-dark {
color-scheme: dark;
--highlight-mix-blend-mode: lighten;
--mono-rgb-0: 0, 0, 0;
--mono-rgb-100: 255, 255, 255;
--color-red-rgb: 251, 70, 76;
--color-red: #fb464c;
--color-orange-rgb: 233, 151, 63;
--color-orange: #E9973F;
--color-yellow-rgb: 224, 222, 113;
--color-yellow: #E0DE71;
--color-green-rgb: 68, 207, 110;
--color-green: #44CF6E;
--color-cyan-rgb: 83, 223, 221;
--color-cyan: #53DFDD;
--color-blue-rgb: 2, 122, 255;
--color-blue: #027aff;
--color-purple-rgb: 168, 130, 255;
--color-purple: #a882ff;
--color-pink-rgb: 250, 153, 205;
--color-pink: #FA99CD;
--color-base-00: #1e1e1e;
--color-base-10: #242424;
--color-base-20: #262626;
--color-base-25: #2a2a2a;
--color-base-30: #363636;
--color-base-35: #3F3F3F;
--color-base-40: #555;
--color-base-50: #666;
--color-base-60: #999;
--color-base-70: #bababa;
--color-base-100: #dadada;
--color-accent-hsl: var(--accent-h),
var(--accent-s),
var(--accent-l);
--color-accent: hsl(var(--accent-h), var(--accent-s), var(--accent-l));
--color-accent-1: hsl(var(--accent-h), var(--accent-s), calc(var(--accent-l) - 3.8%));
--color-accent-2: hsl(var(--accent-h), var(--accent-s), calc(var(--accent-l) + 3.8%));
--background-modifier-form-field: var(--color-base-25);
--background-secondary-alt: var(--color-base-30);
--interactive-normal: var(--color-base-30);
--interactive-hover: var(--color-base-35);
--background-modifier-box-shadow: rgba(0, 0, 0, 0.3);
--background-modifier-cover: rgba(10, 10, 10, 0.4);
--text-highlight-bg: rgba(255, 208, 0, 0.4);
--text-highlight-bg-active: rgba(255, 128, 0, 0.4);
--text-selection: hsla(var(--interactive-accent-hsl), 0.25);
--input-shadow: inset 0 0.5px 0.5px 0.5px rgba(255, 255, 255, 0.09),
0 2px 4px 0 rgba(0,0,0,.15),
0 1px 1.5px 0 rgba(0,0,0,.1),
0 1px 2px 0 rgba(0,0,0,.2),
0 0 0 0 transparent;
--input-shadow-hover: inset 0 0.5px 1px 0.5px rgba(255, 255, 255, 0.16),
0 2px 3px 0 rgba(0,0,0,.3),
0 1px 1.5px 0 rgba(0,0,0,.2),
0 1px 2px 0 rgba(0,0,0,.4),
0 0 0 0 transparent;
--shadow-s: 0px 1px 2px rgba(0, 0, 0, 0.121),
0px 3.4px 6.7px rgba(0, 0, 0, 0.179),
0px 15px 30px rgba(0, 0, 0, 0.3);
--shadow-l: 0px 1.8px 7.3px rgba(0, 0, 0, 0.071),
0px 6.3px 24.7px rgba(0, 0, 0, 0.112),
0px 30px 90px rgba(0, 0, 0, 0.2);
}
iframe {
color-scheme: normal;
}
@media print {
.theme-dark {
--highlight-mix-blend-mode: darken;
}
}
@font-face {
font-family: 'Avenir Next';
font-weight: normal;
font-style: normal;
font-display: swap;
src: url(public/fonts/94f2f163d4b698242fef.otf);
}
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 200;
font-display: swap;
src: url(public/fonts/72505e6a122c6acd5471.woff2) format('woff2');
}
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 300;
font-display: swap;
src: url(public/fonts/2d5198822ab091ce4305.woff2) format('woff2');
}
@font-face {
font-family: 'Inter';
font-weight: 400;
font-style: normal;
font-display: swap;
src: url(public/fonts/c8ba52b05a9ef10f4758.woff2);
}
@font-face {
font-family: 'Inter';
font-weight: 400;
font-style: italic;
font-display: swap;
src: url(public/fonts/cb10ffd7684cd9836a05.woff2);
}
@font-face {
font-family: 'Inter';
font-weight: 600;
font-style: normal;
font-display: swap;
src: url(public/fonts/b5f0f109bc88052d4000.woff2);
}
@font-face {
font-family: 'Inter';
font-weight: 800;
font-style: normal;
font-display: swap;
src: url(public/fonts/cbe0ae49c52c920fd563.woff2);
}
@font-face {
font-family: 'Inter';
font-weight: 800;
font-style: italic;
font-display: swap;
src: url(public/fonts/535a6cf662596b3bd6a6.woff2);
}
@font-face {
font-family: 'Source Code Pro';
font-weight: normal;
font-style: normal;
font-display: swap;
src: url(public/fonts/70cc7ff27245e82ad414.ttf);
}
@font-face {
font-family: 'Source Code Pro';
font-weight: normal;
font-style: italic;
font-display: swap;
src: url(public/fonts/454577c22304619db035.ttf);
}
@font-face {
font-family: 'Source Code Pro';
font-weight: bold;
font-style: normal;
font-display: swap;
src: url(public/fonts/52ac8f3034507f1d9e53.ttf);
}
@font-face {
font-family: 'Source Code Pro';
font-weight: bold;
font-style: italic;
font-display: swap;
src: url(public/fonts/05b618077343fbbd92b7.ttf);
}
@font-face {
font-family: 'Flow Circular';
font-display: swap;
src: url(public/fonts/4bb6ac751d1c5478ff3a.woff2);
}
@font-face {
font-family: '??';
unicode-range: U+0;
}
body {
--font-default: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Microsoft YaHei Light", sans-serif;
--font-monospace-default: Menlo, SFMono-Regular, Consolas, "Roboto Mono", 'Source Code Pro', monospace;
--font-interface-override: '??';
--font-interface-theme: '??';
--font-interface: var(--font-interface-override), var(--font-interface-theme), var(--default-font, '??'), var(--font-default);
--font-text-override: '??';
--font-text-theme: '??';
--font-text: var(--font-text-override), var(--font-text-theme), var(--font-interface);
--font-monospace-override: '??';
--font-monospace-theme: '??';
--font-monospace: var(--font-monospace-override), var(--font-monospace-theme), var(--font-monospace-default);
--font-text-size: 16px;
--font-mermaid: var(--font-text);
}
@media print {
html,
body {
padding-top: 0 !important;
overflow: auto !important;
height: auto !important;
}
iframe,
.titlebar,
.app-container,
.progress-bar,
.popover,
.markdown-embed-link {
display: none !important;
}
body > :not(.print) {
display: none !important;
}
.print .markdown-preview-view {
-webkit-print-color-adjust: exact;
color: initial;
}
.print .markdown-preview-view mark {
color: initial;
}
.print .markdown-preview-view .frontmatter-container {
display: none;
}
.print .markdown-preview-view .markdown-embed-content {
max-height: none;
overflow: visible;
}
.print .markdown-preview-view .callout-content {
display: inherit !important;
}
.print .external-link {
background: none;
padding-right: 0;
}
* {
text-shadow: none !important;
}
webview {
display: none;
}
::-webkit-scrollbar {
display: none;
}
body {
--font-text: 'Inter' !important;
}
}
* {
box-sizing: border-box;
}
html,
body {
margin: 0;
padding: 0;
height: 100%;
width: 100%;
overflow: hidden;
}
body {
text-rendering: optimizeLegibility;
font-family: var(--font-interface);
line-height: var(--line-height-tight);
font-size: var(--font-ui-medium);
background-color: var(--background-primary);
color: var(--text-normal);
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}
body.is-translucent {
background-color: transparent;
}
body {
user-select: none;
-webkit-user-select: none;
overflow: hidden;
}
body [contenteditable="true"],
body [contenteditable=""] {
user-select: text;
-webkit-user-select: text;
}
body.is-grabbing,
body.is-grabbing *:not(.workspace-leaf-resize-handle) {
cursor: -moz-grabbing !important;
cursor: -webkit-grabbing !important;
cursor: grabbing !important;
}
body.is-grabbing iframe:not(.is-controlled),
body.is-grabbing webview {
pointer-events: none;
}
.app-container {
display: flex;
height: 100%;
width: 100%;
position: relative;
flex-direction: column;
}
.app-container.no-transition * {
transition: none !important;
}
.horizontal-main-container {
width: 100%;
display: flex;
overflow: hidden;
flex: 1 0 0;
}
:focus {
outline: none;
}
.is-text-garbled * {
font-family: 'Flow Circular', sans-serif !important;
line-height: 1.45em !important;
}
/* START OF ORIGINAL FILE, DO NOT MODIFY */
/* BASICS */
.CodeMirror {
/* Set height, width, borders, and global font properties here */
font-family: monospace;
height: 300px;
color: black;
direction: ltr;
}
/* PADDING */
.CodeMirror-lines {
padding: 4px 0;
/* Vertical padding around content */
}
.CodeMirror .CodeMirror-line,
.CodeMirror .CodeMirror-line-like {
padding: 0 4px;
/* Horizontal padding of content */
}
.CodeMirror-scrollbar-filler,
.CodeMirror-gutter-filler {
background-color: white;
/* The little square between H and V scrollbars */
}
/* GUTTER */
.CodeMirror-gutters {
border-right: 1px solid #ddd;
background-color: #f7f7f7;
white-space: nowrap;
}
.CodeMirror-linenumber {
padding: 0 3px 0 5px;
min-width: 20px;
text-align: right;
color: #999;
white-space: nowrap;
}
.CodeMirror-guttermarker {
color: black;
}
.CodeMirror-guttermarker-subtle {
color: #999;
}
/* CURSOR */
.CodeMirror-cursor {
border-left: 1px solid black;
border-right: none;
width: 0;
}
/* Shown when moving in bi-directional text */
.CodeMirror div.CodeMirror-secondarycursor {
border-left: 1px solid silver;
}
.cm-fat-cursor .CodeMirror-cursor {
width: auto;
border: 0 !important;
background: var(--interactive-accent);
color: var(--text-on-accent);
}
.cm-fat-cursor div.CodeMirror-cursors {
z-index: 1;
}
.cm-fat-cursor-mark {
background-color: rgba(20, 255, 20, 0.5);
-webkit-animation: blink 1.06s steps(1) infinite;
-moz-animation: blink 1.06s steps(1) infinite;
animation: blink 1.06s steps(1) infinite;
}
.cm-animate-fat-cursor {
width: auto;
border: 0;
-webkit-animation: blink 1.06s steps(1) infinite;
-moz-animation: blink 1.06s steps(1) infinite;
animation: blink 1.06s steps(1) infinite;
background: var(--interactive-accent);
color: var(--text-on-accent);
}
@-moz-keyframes blink {
50% {
background-color: transparent;
}
}
@-webkit-keyframes blink {
50% {
background-color: transparent;
}
}
@keyframes blink {
50% {
background-color: transparent;
}
}
/* Can style cursor different in overwrite (non-insert) mode */
.cm-tab {
display: inline-block;
text-decoration: inherit;
}
.CodeMirror-rulers {
position: absolute;
left: 0;
right: 0;
top: -50px;
bottom: 0;
overflow: hidden;
}
.CodeMirror-ruler {
border-left: 1px solid #ccc;
top: 0;
bottom: 0;
position: absolute;
}
/* DEFAULT THEME */
.cm-negative {
color: var(--text-error);
}
.cm-positive {
color: var(--text-success);
}
.cm-strikethrough {
text-decoration: line-through;
}
.cm-invalidchar {
color: var(--text-error);
}
.CodeMirror-composing {
border-bottom: 2px solid;
}
/* Default styles for common addons */
div.CodeMirror span.CodeMirror-matchingbracket {
color: #0b0;
}
div.CodeMirror span.CodeMirror-nonmatchingbracket {
color: #a22;
}
.CodeMirror-matchingtag {
background: rgba(255, 150, 0, 0.3);
}
.CodeMirror-activeline-background {
background: #e8f2ff;
}
/* STOP */
/* The rest of this file contains styles related to the mechanics of
the editor. You probably shouldn't touch them. */
.CodeMirror {
position: relative;
overflow: hidden;
background: white;
}
.CodeMirror-scroll {
overflow: scroll !important;
/* Things will break if this is overridden */
/* 50px is the magic margin used to hide the element's real scrollbars */
/* See overflow: hidden in .CodeMirror */
margin-bottom: -50px;
margin-right: -50px;
padding-bottom: 50px;
height: 100%;
outline: none;
/* Prevent dragging from highlighting the element */
position: relative;
}
.CodeMirror-sizer {
position: relative;
border-right: 50px solid transparent;
}
/* The fake, visible scrollbars. Used to force redraw during scrolling
before actual scrolling happens, thus preventing shaking and
flickering artifacts. */
.CodeMirror-vscrollbar,
.CodeMirror-hscrollbar,
.CodeMirror-scrollbar-filler,
.CodeMirror-gutter-filler {
position: absolute;
z-index: 6;
display: none;
outline: none;
}
.CodeMirror-vscrollbar {
right: 0;
top: 0;
overflow-x: hidden;
overflow-y: scroll;
}
.CodeMirror-hscrollbar {
bottom: 0;
left: 0;
overflow-y: hidden;
overflow-x: scroll;
}
.CodeMirror-scrollbar-filler {
right: 0;
bottom: 0;
}
.CodeMirror-gutter-filler {
left: 0;
bottom: 0;
}
.CodeMirror-gutters {
position: absolute;
left: 0;
top: 0;
min-height: 100%;
z-index: 3;
}
.CodeMirror-gutter {
white-space: normal;
height: 100%;
display: inline-block;
vertical-align: top;
margin-bottom: -50px;
}
.CodeMirror-gutter-wrapper {
position: absolute;
z-index: 4;
background: none !important;
border: none !important;
}
.CodeMirror-gutter-background {
position: absolute;
top: 0;
bottom: 0;
z-index: 4;
}
.CodeMirror-gutter-elt {
position: absolute;
cursor: default;
z-index: 4;
}
.CodeMirror-gutter-wrapper ::selection {
background-color: transparent;
}
.CodeMirror-gutter-wrapper ::-moz-selection {
background-color: transparent;
}
.CodeMirror-lines {
cursor: text;
min-height: 1px;
/* prevents collapsing before first draw */
}
.CodeMirror .CodeMirror-line,
.CodeMirror .CodeMirror-line-like {
/* Reset some styles that the rest of the page might have set */
-moz-border-radius: 0;
-webkit-border-radius: 0;
border-radius: 0;
border-width: 0;
background: transparent;
font-family: inherit;
margin: 0;
white-space: pre;
word-wrap: normal;
line-height: inherit;
color: inherit;
z-index: 2;
position: relative;
overflow: visible;
-webkit-tap-highlight-color: transparent;
-webkit-font-variant-ligatures: contextual;
font-variant-ligatures: contextual;
}
.CodeMirror-wrap .CodeMirror-line,
.CodeMirror-wrap .CodeMirror-line-like {
word-wrap: break-word;
white-space: pre-wrap;
word-break: normal;
}
.CodeMirror-linebackground {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
z-index: 0;
}
.CodeMirror-linewidget {
position: relative;
z-index: 2;
padding: 0.1px;
/* Force widget margins to stay inside of the container */
}
.CodeMirror-rtl pre {
direction: rtl;
}
.CodeMirror-code {
outline: none;
}
/* Force content-box sizing for the elements where we expect it */
.CodeMirror-scroll,
.CodeMirror-sizer,
.CodeMirror-gutter,
.CodeMirror-gutters,
.CodeMirror-linenumber {
-moz-box-sizing: content-box;
box-sizing: content-box;
}
.CodeMirror-measure {
position: absolute;
width: 100%;
height: 0;
overflow: hidden;
visibility: hidden;
}
.CodeMirror-cursor {
position: absolute;
pointer-events: none;
}
.CodeMirror-measure pre {
position: static;
}
div.CodeMirror-cursors {
visibility: hidden;
position: relative;
z-index: 3;
}
div.CodeMirror-dragcursors {
visibility: visible;
}
.CodeMirror-focused div.CodeMirror-cursors {
visibility: visible;
}
.CodeMirror-selected {
background: #d9d9d9;
}
.CodeMirror-focused .CodeMirror-selected {
background: #d7d4f0;
}
.CodeMirror-crosshair {
cursor: crosshair;
}
.CodeMirror-line::selection,
.CodeMirror-line > span::selection,
.CodeMirror-line > span > span::selection {
background: #d7d4f0;
}
.CodeMirror-line::-moz-selection,
.CodeMirror-line > span::-moz-selection,
.CodeMirror-line > span > span::-moz-selection {
background: #d7d4f0;
}
.cm-searching {
background-color: #ffa;
background-color: rgba(255, 255, 0, 0.4);
}
/* Used to force a border model for a node */
.cm-force-border {
padding-right: 0.1px;
}
@media print {
/* Hide the cursor when printing */
.CodeMirror div.CodeMirror-cursors {
visibility: hidden;
}
}
/* See issue #2901 */
.cm-tab-wrap-hack:after {
content: '';
}
/* Help users use markselection to safely style text background */
span.CodeMirror-selectedtext {
background: none;
}
/* END OF ORIGINAL FILE, DO NOT MODIFY */
/* START OF CUSTOM DEFINED STYLES FOR OBSIDIAN */
.markdown-source-view {
font-size: var(--font-text-size);
font-family: var(--font-text);
}
.markdown-source-view.mod-cm5 {
height: 100%;
}
.workspace-leaf-content.is-read-mode .markdown-source-view {
z-index: 0;
}
.CodeMirror {
height: 100%;
font-family: unset;
color: unset;
}
.markdown-source-view.is-readable-line-width .CodeMirror {
max-width: var(--file-line-width);
margin-left: auto;
margin-right: auto;
}
.CodeMirror-lines {
padding: 20px 0;
}
.CodeMirror-scrollbar-filler,
.CodeMirror-gutter-filler {
background-color: transparent;
}
.CodeMirror-gutters {
border-right: unset;
background-color: unset;
}
.CodeMirror-guttermarker-subtle {
color: var(--text-faint);
}
.CodeMirror-cursor {
border-left: 1px solid var(--text-normal);
}
.CodeMirror-cursor,
.cm-s-obsidian .cm-cursor,
.cm-s-obsidian .cm-dropCursor {
border-left-color: var(--text-normal);
}
.cm-tab {
display: unset;
}
.CodeMirror-activeline-background {
background: transparent;
}
.CodeMirror {
background: unset;
}
.CodeMirror-vscrollbar,
.CodeMirror-hscrollbar,
.CodeMirror-scrollbar-filler,
.CodeMirror-gutter-filler {
z-index: unset;
outline: unset;
}
.CodeMirror-vscrollbar {
outline: 0;
}
.CodeMirror-hscrollbar {
outline: 0;
z-index: 3;
}
.CodeMirror-gutter {
margin-bottom: -30px;
}
.CodeMirror-selected {
background-color: var(--text-selection);
}
.CodeMirror-focused .CodeMirror-selected {
background-color: var(--text-selection);
}
.CodeMirror-line::selection,
.CodeMirror-line > span::selection,
.CodeMirror-line > span > span::selection {
background-color: var(--text-selection);
}
.CodeMirror-line::-moz-selection,
.CodeMirror-line > span::-moz-selection,
.CodeMirror-line > span > span::-moz-selection {
background-color: var(--text-selection);
}
.CodeMirror-foldmarker {
color: var(--text-accent);
cursor: var(--cursor);
display: inline-block;
margin-left: 8px;
}
.CodeMirror-foldgutter {
width: 0.7em;
}
.CodeMirror-foldgutter-open,
.CodeMirror-foldgutter-folded {
cursor: var(--cursor);
font-size: 18px;
}
.CodeMirror-foldgutter-open:after {
content: "\25BE";
}
.CodeMirror-foldgutter-folded:after {
content: "\25B8";
}
.CodeMirror-dialog {
position: absolute;
left: 0;
right: 0;
background: inherit;
z-index: 15;
padding: 0.1em 0.8em;
overflow: hidden;
color: inherit;
display: flex;
align-items: center;
background-color: var(--background-primary);
}
.CodeMirror-dialog span:first-child {
flex-grow: 1;
}
.CodeMirror-dialog-top {
border-bottom: 1px solid var(--background-modifier-border);
top: 0;
}
.CodeMirror-dialog-bottom {
border-top: 1px solid var(--background-modifier-border);
bottom: 0;
}
.CodeMirror-dialog input {
border: none;
outline: none;
background: transparent;
width: 20em;
color: inherit;
font-family: var(--font-monospace);
}
.CodeMirror-dialog button {
font-size: 70%;
}
.CodeMirror .cm-spell-error {
background-image: url(public/images/7877465e5f8197b19e8e.gif);
background-position: bottom;
background-repeat: repeat-x;
}
.CodeMirror textarea {
border: 0;
border-radius: 0;
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
.CodeMirror-gutter.CodeMirror-linenumbers,
.CodeMirror-gutter.CodeMirror-foldgutter {
background-color: var(--background-primary);
}
.drag-ghost {
position: fixed;
font-size: var(--font-ui-small);
color: var(--drag-ghost-text-color);
padding: var(--size-2-3) var(--size-4-2);
border-radius: var(--radius-s);
background-color: var(--drag-ghost-background);
box-shadow: 0 2px 8px var(--background-modifier-box-shadow);
z-index: var(--layer-dragged-item);
max-width: 300px;
font-weight: var(--font-medium);
pointer-events: none;
}
.drag-ghost.mod-leaf {
display: flex;
z-index: var(--layer-tooltip);
}
.drag-ghost-icon {
margin-right: var(--size-2-3);
position: relative;
}
.drag-reorder-ghost {
position: fixed;
border-radius: var(--radius-s);
background-color: var(--background-primary);
box-shadow: 0 2px 8px var(--background-modifier-box-shadow);
z-index: var(--layer-dragged-item);
pointer-events: none;
}
.drag-ghost-self {
display: flex;
}
.drag-ghost-self > .svg-icon {
--icon-size: var(--icon-xs);
--icon-stroke: var(--icon-xs-stroke-width);
opacity: 0.7;
vertical-align: middle;
align-self: center;
margin-right: var(--size-2-2);
flex-shrink: 0;
}
.drag-ghost-self span {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.drag-ghost-action {
padding: var(--size-2-1) 0 0 0;
font-size: var(--font-ui-smaller);
opacity: 0.7;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.drag-ghost-hidden {
visibility: hidden;
position: relative;
}
.drag-ghost-hidden:before {
content: ' ';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
visibility: visible;
border-radius: 5px;
background-color: hsla(var(--interactive-accent-hsl), 0.3);
}
.markdown-source-view.mod-cm6 {
height: 100%;
display: flex;
flex-direction: column;
}
.markdown-source-view.mod-cm6 ::selection {
background-color: var(--text-selection);
}
.markdown-source-view.mod-cm6 .cm-line .cm-selection,
.markdown-source-view.mod-cm6 .cm-line .cm-inline-code .cm-selection {
background-color: var(--text-selection);
}
.markdown-source-view.mod-cm6 .cm-selectionBackground {
background-color: var(--text-selection);
}
.markdown-source-view.mod-cm6.is-readable-line-width .cm-sizer {
max-width: var(--file-line-width);
margin-left: auto;
margin-right: auto;
}
.markdown-source-view.mod-cm6.is-readable-line-width .cm-content {
max-width: var(--file-line-width);
}
.markdown-source-view.mod-cm6.is-readable-line-width .cm-line {
max-width: var(--file-line-width);
}
.markdown-source-view.mod-cm6.is-readable-line-width .cm-line.HyperMD-table-row {
max-width: 100%;
}
.markdown-source-view.mod-cm6 .cm-editor {
flex: 1 1 0;
min-height: 0;
}
.markdown-source-view.mod-cm6 .cm-editor.cm-focused {
outline: none;
}
.markdown-source-view.mod-cm6 .cm-editor .cm-selectionBackground {
background: var(--text-selection);
}
.markdown-source-view.mod-cm6 .cm-scroller {
font-family: var(--font-text);
line-height: var(--line-height-normal);
scroll-padding-block-end: var(--status-bar-scroll-padding);
}
.markdown-source-view.mod-cm6 .cm-sizer {
display: flex;
flex-direction: column;
align-items: stretch;
width: 100%;
min-height: 100%;
}
.markdown-source-view.mod-cm6 .cm-contentContainer {
flex: 1 1 auto;
display: flex;
align-items: stretch;
overflow-x: visible;
}
.markdown-source-view.mod-cm6 .cm-content {
flex-basis: unset !important;
width: 0;
caret-color: var(--text-normal);
min-height: unset;
}
.is-mobile.is-ios .markdown-source-view.mod-cm6 .cm-content {
-webkit-user-modify: read-write;
}
.markdown-source-view.mod-cm6 .cm-content > * {
margin: 0 !important;
display: block;
}
.markdown-source-view.mod-cm6 .cm-content > [contenteditable=false] {
contain: paint !important;
}
.markdown-source-view.mod-cm6 .cm-gutters {
flex: 0 0 auto;
background-color: transparent;
color: var(--text-faint) !important;
border-right: none !important;
padding-inline-end: var(--file-folding-offset);
font-size: var(--font-ui-smaller);
z-index: 1;
font-variant: tabular-nums;
}
.markdown-source-view.mod-cm6 .cm-line > * {
text-indent: 0;
}
.markdown-source-view.mod-cm6 .cm-transparent {
color: transparent;
}
.markdown-source-view.mod-cm6 .cm-html-embed,
.markdown-source-view.mod-cm6 .cm-callout,
.markdown-source-view.mod-cm6 .cm-table-widget {
white-space: normal;
overflow-wrap: normal;
word-break: normal;
}
.markdown-source-view.mod-cm6 .cm-line {
position: relative;
padding: 0;
}
.markdown-source-view.mod-cm6 .edit-block-button {
padding: var(--size-2-2) var(--size-2-3);
position: absolute;
top: var(--size-2-2);
right: var(--size-2-2);
display: flex;
opacity: 0;
color: var(--text-muted);
border-radius: var(--radius-s);
cursor: var(--cursor);
}
@media (hover: hover) {
.markdown-source-view.mod-cm6 .edit-block-button:hover {
background-color: var(--background-modifier-hover);
}
}
.markdown-source-view.mod-cm6 .cm-panels {
background-color: inherit;
color: inherit;
}
.markdown-source-view.mod-cm6 img.cm-widgetBuffer {
display: inline !important;
width: 0 !important;
border: 0 !important;
margin: 0 !important;
padding: 0 !important;
}
.view-content > .markdown-source-view.mod-cm6 > .cm-editor > .cm-scroller {
padding: var(--file-margins);
}
.empty-state {
position: absolute;
height: 100%;
width: 100%;
top: 0;
left: 0;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.empty-state-container {
max-width: 480px;
max-height: 280px;
margin: 20px;
text-align: center;
}
.empty-state-title {
margin: 20px 0;
font-weight: var(--h2-weight);
font-size: var(--h2-size);
line-height: var(--line-height-tight);
position: relative;
}
.empty-state-action-list {
font-size: var(--font-text-size);
line-height: var(--line-height-tight);
color: var(--text-muted);
margin-top: 20px;
}
.empty-state-action {
cursor: var(--cursor);
line-height: 36px;
color: var(--text-accent);
}
@media (hover: hover) {
.empty-state-action:hover {
color: var(--text-accent-hover);
}
}
/* Can be removed since it is redundant with Close link */
.empty-state-close-button {
display: none;
}
/*
OS-dependent rules to make space for traffic lights buttons,
window buttons and sidebar toggles.
---
Scenarios to account for:
Window frame styles
- Hidden
- Custom
- Native
- Full screen
Sidebar states
- Left sidebar open
- Left sidebar closed
- Right sidebar open
- Right sidebar closed
- Pop-out (no sidebars)
*/
body {
--zoom-factor: 1;
--titlebar-height: 30px;
}
.mod-macos {
--frame-left-space: calc(80px - var(--ribbon-width));
--frame-right-space: 0px;
}
.mod-macos.is-popout-window {
--frame-left-space: 80px;
}
.mod-windows,
.mod-linux {
--frame-left-space: 0px;
--frame-right-space: 126px;
}
body.is-frameless:not(.is-hidden-frameless) {
padding-top: calc(var(--titlebar-height) / var(--zoom-factor));
}
body.is-frameless:not(.is-hidden-frameless) .titlebar {
height: var(--titlebar-height);
zoom: calc(1 / var(--zoom-factor));
}
body.is-frameless:not(.is-hidden-frameless):not(.is-maximized) .titlebar {
padding-top: 2px;
}
body.is-frameless.is-hidden-frameless .titlebar {
height: calc(var(--header-height) - 1px);
}
body.is-frameless.is-hidden-frameless.starter .titlebar {
height: var(--titlebar-height);
}
.is-fullscreen .titlebar {
display: none;
}
.sidebar-toggle-button,
.workspace-tabs.mod-top {
--tab-container-background: var(--titlebar-background);
}
body.is-focused .titlebar,
body.is-focused .workspace-ribbon.mod-left {
--titlebar-background: var(--titlebar-background-focused);
}
body.is-focused .sidebar-toggle-button,
body.is-focused .workspace-tabs.mod-top {
--tab-container-background: var(--titlebar-background-focused);
}
.is-hidden-frameless {
--divider-vertical-height: 100%;
}
.workspace-ribbon .sidebar-toggle-button {
position: absolute;
top: 0;
left: 0;
width: var(--ribbon-width);
justify-content: center;
}
.titlebar-button.mod-logo {
width: var(--ribbon-width);
justify-content: center;
}
.is-hidden-frameless:not(.starter) .titlebar {
-webkit-app-region: no-drag;
}
.is-hidden-frameless .titlebar-button.mod-logo {
display: none;
}
.is-hidden-frameless:not(.is-fullscreen) .workspace-tab-header-container {
transition: padding-left 275ms var(--anim-motion-swing), padding-right 275ms var(--anim-motion-swing);
}
.is-hidden-frameless:not(.is-fullscreen) .workspace-tabs.mod-top-left-space .workspace-tab-header-container {
padding-left: var(--frame-left-space);
}
.is-hidden-frameless:not(.is-fullscreen) .workspace-tabs.mod-top-left-space .workspace-tab-header-container:before {
-webkit-app-region: no-drag;
content: '';
height: 100%;
left: 0;
top: 0;
position: absolute;
width: var(--frame-left-space);
}
.is-hidden-frameless:not(.is-fullscreen) .workspace-tabs.mod-top-right-space .workspace-tab-header-container {
padding-right: var(--frame-right-space);
}
.is-hidden-frameless:not(.is-fullscreen) .workspace-tabs.mod-top-right-space .workspace-tab-header-container:after {
-webkit-app-region: no-drag;
content: '';
height: 100%;
right: 0;
top: 0;
position: absolute;
width: var(--frame-right-space);
}
.is-hidden-frameless:not(.is-fullscreen) .titlebar-button-container.mod-right {
background-color: var(--titlebar-background);
}
.is-hidden-frameless:not(.is-fullscreen).is-focused .titlebar-button-container.mod-right {
background-color: var(--titlebar-background-focused);
}
.titlebar-button.mod-logo:hover .logo-wireframe,
.titlebar-button.mod-logo:not(:hover) .logo-full {
display: none;
}
body.is-frameless:not(.mod-macos) > .app-container ~ * {
-webkit-app-region: no-drag;
}
body.is-frameless:not(.mod-macos) .modal-container,
body.is-frameless:not(.mod-macos) .suggestion-bg {
-webkit-app-region: initial;
}
body.is-frameless:not(.mod-macos) .modal {
-webkit-app-region: no-drag;
}
.loader-cube {
width: 40px;
height: 40px;
margin: 100px auto;
}
.loader-cube .sk-cube {
width: 33%;
height: 33%;
background-color: var(--interactive-accent);
float: left;
-webkit-animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
}
.loader-cube .sk-cube1 {
-webkit-animation-delay: 0.2s;
animation-delay: 0.2s;
}
.loader-cube .sk-cube2 {
-webkit-animation-delay: 0.3s;
animation-delay: 0.3s;
}
.loader-cube .sk-cube3 {
-webkit-animation-delay: 0.4s;
animation-delay: 0.4s;
}
.loader-cube .sk-cube4 {
-webkit-animation-delay: 0.1s;
animation-delay: 0.1s;
}
.loader-cube .sk-cube5 {
-webkit-animation-delay: 0.2s;
animation-delay: 0.2s;
}
.loader-cube .sk-cube6 {
-webkit-animation-delay: 0.3s;
animation-delay: 0.3s;
}
.loader-cube .sk-cube7 {
-webkit-animation-delay: 0s;
animation-delay: 0s;
}
.loader-cube .sk-cube8 {
-webkit-animation-delay: 0.1s;
animation-delay: 0.1s;
}
.loader-cube .sk-cube9 {
-webkit-animation-delay: 0.2s;
animation-delay: 0.2s;
}
@-webkit-keyframes sk-cubeGridScaleDelay {
0%,
70%,
100% {
-webkit-transform: scale3D(1, 1, 1);
transform: scale3D(1, 1, 1);
}
35% {
-webkit-transform: scale3D(0, 0, 1);
transform: scale3D(0, 0, 1);
}
}
@keyframes sk-cubeGridScaleDelay {
0%,
70%,
100% {
-webkit-transform: scale3D(1, 1, 1);
transform: scale3D(1, 1, 1);
}
35% {
-webkit-transform: scale3D(0, 0, 1);
transform: scale3D(0, 0, 1);
}
}
.is-loading {
position: relative;
}
.is-loading:before {
content: ' ';
position: absolute;
top: 0;
width: 0;
height: 3px;
background-color: var(--interactive-accent);
animation: 1000ms ease-in-out 300ms infinite progress-bar;
}
.pane-empty {
color: var(--text-faint);
font-size: var(--font-ui-small);
margin: var(--size-4-2) auto;
text-align: center;
}
.view-header {
height: var(--header-height);
display: none;
border-bottom: var(--file-header-border);
background-color: var(--background-primary);
z-index: 1;
position: relative;
gap: var(--size-4-2);
padding: 0 var(--size-4-3);
}
body.is-phone .view-header,
.show-view-header .view-header {
display: flex;
}
.is-focused .workspace-leaf.mod-active .view-header {
background-color: var(--background-primary);
}
.workspace-split.mod-left-split .view-header,
.workspace-split.mod-right-split .view-header,
.workspace-fake-target-overlay.is-in-sidebar .view-header {
display: none;
}
.view-header.is-highlighted:after {
content: ' ';
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
background-color: hsla(var(--interactive-accent-hsl), 0.5);
}
.view-header .view-header-icon {
display: none;
padding: var(--size-2-2);
margin-right: var(--size-2-3);
color: var(--text-muted);
align-self: center;
cursor: grab;
}
.view-header .view-header-icon:active {
cursor: grabbing;
}
.view-header-title {
font-size: var(--file-header-font-size);
font-weight: var(--file-header-font-weight);
flex: 1 1 0;
max-width: max-content;
overflow: auto;
padding: 0 var(--size-4-1);
white-space: pre;
word-wrap: normal;
color: var(--text-muted);
scroll-padding-inline-end: 20px;
}
.is-focused .workspace-leaf.mod-active .view-header-title {
color: var(--text-normal);
}
.view-header-title::-webkit-scrollbar {
display: none;
}
.view-header-title-container {
flex-grow: 1;
overflow: hidden;
position: relative;
justify-content: var(--file-header-justify);
display: flex;
align-items: center;
gap: 0;
white-space: nowrap;
}
.view-header-title-container:not(.mod-at-start):before {
content: ' ';
position: absolute;
top: 0;
left: 0;
width: 30px;
height: 100%;
background: linear-gradient(to right, var(--background-primary), transparent);
}
.view-header-title-container:not(.mod-at-end):after {
content: ' ';
position: absolute;
top: 0;
right: 0;
width: 30px;
height: 100%;
background: linear-gradient(to right, transparent, var(--background-primary));
}
.view-header-title-parent {
font-size: var(--file-header-font-size);
color: var(--text-muted);
min-width: 0;
display: flex;
gap: 0;
overflow: hidden;
}
.view-header-title-parent .view-header-breadcrumb {
padding: 2px 4px;
border-radius: var(--radius-s);
}
@media (hover: hover) {
.view-header-title-parent .view-header-breadcrumb:hover {
background-color: var(--background-modifier-hover);
color: var(--text-normal);
}
}
.view-header-title-parent .view-header-breadcrumb-separator {
padding: 2px 1px;
color: var(--text-faint);
}
.view-content {
width: 100%;
height: calc(100% - var(--header-height));
}
.workspace-split.mod-root .view-content {
background-color: var(--background-primary);
}
.workspace-split.mod-root .workspace-fake-target-overlay .view-content {
background-color: transparent;
}
.workspace-split.mod-left-split .view-content,
.workspace-split.mod-right-split .view-content {
height: 100%;
overflow: auto;
}
.inline-title {
font-weight: var(--inline-title-weight);
font-size: var(--inline-title-size);
line-height: var(--inline-title-line-height);
font-style: var(--inline-title-style);
font-variant: var(--inline-title-variant);
font-family: var(--inline-title-font);
padding-bottom: 0.5em;
letter-spacing: -0.015em;
color: var(--inline-title-color);
}
.hover-popover .inline-title,
.inline-embed .inline-title {
display: none;
}
body:not(.show-inline-title) .inline-title:not([data-level]) {
display: none;
}
::selection {
background-color: var(--text-selection);
}
.markdown-reading-view {
display: flex;
flex-direction: column;
}
.markdown-preview-view {
font-size: var(--font-text-size);
font-family: var(--font-text);
line-height: var(--line-height-normal);
width: 100%;
height: 100%;
padding: var(--file-margins);
position: relative;
overflow-y: auto;
overflow-wrap: break-word;
color: var(--text-normal);
user-select: text;
-webkit-user-select: text;
}
.workspace-leaf-content.is-read-mode .markdown-preview-view {
width: 100%;
left: 0;
background-color: var(--background-primary);
}
.markdown-preview-view.is-readable-line-width .markdown-preview-sizer {
max-width: var(--file-line-width);
margin-left: auto;
margin-right: auto;
}
.markdown-rendered.rtl {
direction: rtl;
}
/* Ribbon */
/* Add background to top left corner space above ribbon */
.workspace-ribbon.mod-left {
margin-top: var(--header-height);
/* Add the tab background in the top left corner */
}
.workspace-ribbon.mod-left:before {
position: absolute;
left: 0;
top: 0;
background-color: var(--titlebar-background);
content: " ";
border-bottom: var(--tab-outline-width) solid var(--tab-outline-color);
height: calc(var(--header-height) - var(--tab-outline-width));
width: var(--ribbon-width);
}
.workspace-ribbon {
width: var(--ribbon-width);
flex: 0 0 var(--ribbon-width);
display: flex;
flex-direction: column;
overflow: hidden;
background-color: var(--ribbon-background);
z-index: var(--layer-sidedock);
color: var(--text-muted);
padding: var(--ribbon-padding);
gap: var(--size-4-1);
border-right: var(--divider-width) solid var(--divider-color);
}
.workspace-ribbon.mod-left.is-collapsed {
transition: background-color 250ms 95ms ease-in-out;
background-color: var(--ribbon-background-collapsed);
border-right-color: var(--divider-color);
}
.workspace-ribbon.mod-right {
display: none;
}
.workspace-ribbon.is-hidden {
display: none;
}
.workspace-ribbon.is-collapsed {
background-color: var(--background-secondary);
}
.side-dock-settings,
.side-dock-actions {
flex-direction: column;
}
.side-dock-settings .side-dock-ribbon-action,
.side-dock-actions .side-dock-ribbon-action {
margin: 0 auto;
}
.side-dock-settings {
margin-top: auto;
}
.release-notes-view {
padding: var(--file-margins);
}
.release-notes-view .markdown-preview-view {
overflow: visible;
}
.release-notes-view .is-readable-line-width {
max-width: var(--file-line-width);
margin-left: auto;
margin-right: auto;
}
.setting {
display: flex;
align-items: center;
}
.setting-text {
flex-grow: 1;
}
.setting-title {
font-size: var(--font-ui-large);
line-height: var(--line-height-normal);
}
.setting-explanation {
color: var(--text-muted);
}
.modal.mod-new-editor {
max-width: 600px;
}
.modal.mod-trust-folder {
max-width: 700px;
}
.modal.mod-settings .vertical-tab-header {
flex: 0 0 25%;
min-width: 180px;
max-width: 250px;
overflow: auto;
border-right: 1px solid var(--divider-color);
}
.modal.mod-settings .modal-content {
margin-top: 0;
overflow: hidden;
}
.modal.mod-plugin-options .modal-content {
margin: var(--size-4-6) 0;
}
.setting-item {
display: flex;
align-items: center;
padding: 0.75em 0;
border-top: 1px solid var(--background-modifier-border);
/* Add extra space for setting heading if it starts a new section */
}
.setting-item + .setting-item-heading {
margin-top: 0.75em;
}
.setting-item:first-child {
padding-top: 0;
border-top: none;
}
.setting-item > *:first-child {
margin-right: var(--size-4-4);
}
.setting-item > *:last-child {
margin-right: 0;
}
.setting-item.mod-cta {
justify-content: center;
}
.setting-item-heading {
font-weight: var(--font-semibold);
border-top: none;
}
.setting-item-heading .setting-item-info {
flex-grow: 0;
margin-right: 0;
}
.setting-item-heading .setting-item-description {
font-weight: var(--font-normal);
}
.setting-item-info {
flex: 1 1 auto;
}
.setting-item-description {
color: var(--text-muted);
font-size: var(--font-ui-smaller);
padding-top: var(--size-4-1);
line-height: var(--line-height-tight);
}
.setting-item-description:empty {
display: none;
}
.setting-item-description code {
font-family: var(--font-monospace);
font-size: var(--font-smaller);
border-radius: var(--radius-s);
padding: 0 3px 2px 3px;
position: relative;
bottom: 1px;
}
.setting-item-description ul {
margin: var(--size-4-1) 0;
padding-left: var(--size-4-6);
}
.setting-item-name {
color: var(--text-normal);
font-size: var(--font-ui-medium);
line-height: var(--line-height-tight);
}
.setting-item-control {
flex: 1 1 auto;
text-align: right;
display: flex;
justify-content: flex-end;
align-items: center;
gap: var(--size-4-2);
}
.setting-item-control.mod-vertical {
flex-direction: column;
}
.setting-item-control.mod-vertical > *:not(:last-child) {
margin-bottom: 10px;
margin-right: 0;
}
.setting-item-control.mod-hotkey {
padding-top: 0;
cursor: default;
}
.setting-item-control.mod-hotkey input {
font-family: var(--font-monospace);
font-size: var(--font-smaller);
}
.setting-item-control.mod-hotkey input:focus {
background-color: var(--interactive-accent);
color: var(--text-on-accent);
}
.setting-item-control select {
width: inherit;
max-width: 400px;
}
.setting-command-hotkeys {
display: flex;
flex-direction: column;
}
.setting-hotkey {
font-family: -apple-system, BlinkMacSystemFont, var(--font-monospace);
font-size: var(--font-ui-small);
background-color: var(--background-modifier-hover);
border-radius: 4px;
padding: 2px 4px 2px 8px;
align-self: flex-end;
white-space: nowrap;
display: flex;
align-items: center;
gap: 4px;
}
.theme-dark .setting-hotkey.has-conflict,
.theme-light .setting-hotkey.has-conflict {
background-color: var(--background-modifier-error);
color: var(--text-on-accent);
}
.setting-hotkey.mod-active {
background-color: var(--interactive-accent);
color: var(--text-on-accent);
}
.setting-hotkey.mod-empty {
padding-right: var(--size-4-2);
}
.setting-hotkey:not(:first-child) {
margin-top: var(--size-4-2);
}
.setting-hotkey-icon {
display: flex;
align-items: center;
cursor: var(--cursor);
border-radius: 50%;
line-height: 1;
text-align: center;
}
.setting-hotkey-icon .svg-icon {
width: 16px;
height: 16px;
stroke-width: 2px;
opacity: 0.6;
}
@media (hover: hover) {
.setting-hotkey-icon:hover .svg-icon {
opacity: 1;
}
}
@media (hover: hover) {
.setting-delete-hotkey:hover {
background-color: var(--background-modifier-error);
color: var(--text-on-accent);
}
}
.setting-add-hotkey-button,
.setting-restore-hotkey-button {
padding: var(--size-2-2);
border-radius: var(--radius-s);
color: var(--text-faint);
cursor: var(--cursor);
height: calc(var(--icon-l) + var(--size-2-2) + var(--size-2-2));
}
.setting-add-hotkey-button.mod-active,
.setting-restore-hotkey-button.mod-active {
color: var(--text-accent);
}
@media (hover: hover) {
.setting-add-hotkey-button:hover,
.setting-restore-hotkey-button:hover {
background-color: var(--background-modifier-hover);
color: var(--text-normal);
}
}
.setting-editor-extra-setting-button {
line-height: 0;
}
.setting-message {
font-size: var(--font-ui-small);
}
.setting-font-list {
margin: 1.5em 0 0.75em 0;
}
.hotkey-settings-container {
display: flex;
flex-direction: column;
}
.hotkey-settings-container .setting-item-description {
padding-top: 0;
}
.hotkey-settings-container hr {
margin: 20px 0 10px 0;
}
.hotkey-list-container {
overflow: auto;
}
.hotkey-search-container {
padding-bottom: 20px;
display: flex;
flex-wrap: wrap;
}
.modal.mod-image-lightbox {
max-width: 90vw;
max-height: 90vh;
padding: 0;
}
.modal.mod-image-lightbox .modal-content {
padding: var(--size-4-12) var(--size-4-3) var(--size-4-2) var(--size-4-3);
text-align: center;
}
.login-field {
max-width: 500px;
margin: 1em auto;
}
.spellchecker-dictionary-container {
max-height: 60vh;
overflow: auto;
}
.spellchecker-dictionary-item {
display: flex;
margin-bottom: 10px;
}
.spellchecker-dictionary-word {
flex-grow: 1;
}
.spellchecker-dictionary-remove-button {
cursor: var(--cursor);
color: var(--text-muted);
margin-right: 10px;
}
@media (hover: hover) {
.spellchecker-dictionary-remove-button:hover {
color: var(--text-normal);
}
}
.modal.mod-new-editor .card,
.modal.mod-restricted-mode .card {
flex: 1 0 0;
}
.mod-macos .community-modal-controls {
-webkit-app-region: drag;
}
.mod-community-modal .modal-sidebar .setting-item {
max-width: var(--modal-community-sidebar-width);
padding: 0 var(--size-4-3) var(--size-4-1);
border: none;
gap: var(--size-4-2);
}
.mod-community-modal .modal-sidebar .setting-item:first-child {
max-width: 500px;
gap: 0;
margin-bottom: var(--size-4-2);
}
.mod-community-modal .modal-sidebar .setting-item-name {
font-size: var(--font-ui-small);
padding-left: var(--size-4-1);
}
.mod-community-modal .modal-sidebar .setting-item-info {
margin: 0;
flex-grow: 0;
}
.mod-community-modal .modal-sidebar .search-input-container {
width: 100%;
}
.mod-community-modal .modal-sidebar button.clickable-icon {
padding: 6px 10px;
display: flex;
align-items: center;
color: var(--text-normal);
}
.community-modal-details-empty-state {
padding: 0;
text-align: center;
}
.community-modal-search-summary {
font-size: var(--font-ui-small);
padding: var(--size-4-1) var(--size-4-3) var(--size-4-3) var(--size-4-4);
}
.community-modal-search-results-wrapper {
flex: 1 0 auto;
overflow: auto;
border-top: var(--border-width) solid var(--divider-color);
scroll-padding: var(--size-4-3);
/* This helps with performance of the app */
contain: strict;
}
.community-modal-search-results {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
gap: var(--size-4-3);
padding: var(--size-4-3);
}
.community-item {
position: relative;
background-color: var(--background-primary);
padding: var(--size-4-3);
cursor: var(--cursor);
border-radius: var(--radius-m);
border: 1px solid var(--background-modifier-border);
display: flex;
flex-direction: column;
gap: var(--size-2-1);
}
.community-item:last-child {
margin-bottom: 0;
}
.community-item .suggestion-highlight {
background-color: var(--text-highlight-bg);
}
.community-item.is-selected,
.community-item.is-selected:hover {
border-color: var(--interactive-accent);
background-color: var(--interactive-accent);
color: var(--text-on-accent);
}
.community-item.is-selected .community-item-author,
.community-item.is-selected:hover .community-item-author,
.community-item.is-selected .community-item-repo,
.community-item.is-selected:hover .community-item-repo,
.community-item.is-selected .community-item-downloads,
.community-item.is-selected:hover .community-item-downloads,
.community-item.is-selected .community-item-updated,
.community-item.is-selected:hover .community-item-updated {
color: var(--text-on-accent);
opacity: 0.8;
}
.community-item.is-selected .flair,
.community-item.is-selected:hover .flair {
color: var(--text-on-accent);
background-color: transparent;
}
@media (hover: hover) {
.community-item:hover {
border-color: var(--background-modifier-border-hover);
}
}
.is-mobile .community-item {
max-width: 500px;
}
.community-item .flair {
margin-left: var(--size-4-1);
background-color: var(--tag-background);
color: var(--tag-color);
vertical-align: middle;
top: -1px;
}
.community-item-name {
font-size: var(--font-ui-medium);
line-height: var(--line-height-tight);
font-weight: var(--font-medium);
}
.community-item-author {
font-size: var(--font-ui-smaller);
line-height: var(--line-height-tight);
color: var(--text-muted);
}
.community-item-downloads {
font-size: var(--font-ui-smaller);
color: var(--text-muted);
--icon-color: var(--text-faint);
--icon-size: var(--icon-xs);
--icon-stroke: var(--icon-xs-stroke-width);
}
.community-item-downloads svg {
vertical-align: text-bottom;
}
.community-item-updated {
font-size: var(--font-ui-smaller);
color: var(--text-muted);
margin-bottom: var(--size-4-2);
}
.community-item-downloads-text {
margin-left: var(--size-2-2);
}
.community-item-desc {
font-size: var(--font-ui-small);
line-height: var(--line-height-tight);
margin-top: 4px;
}
.community-item-badge.mod-update {
--icon-size: var(--icon-xs);
--icon-stroke: var(--icon-xs-stroke-width);
color: var(--interactive-accent);
position: absolute;
top: var(--size-4-3);
right: var(--size-4-3);
}
.community-item-screenshot {
max-width: 100%;
margin-top: auto;
object-fit: cover;
border-radius: var(--radius-s);
aspect-ratio: 16/9;
image-rendering: -webkit-optimize-contrast;
margin-top: var(--size-4-1);
}
.community-item-screenshot.mod-unavailable {
text-align: center;
color: var(--text-muted);
}
.community-item-screenshot .placeholder-icon {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
}
.community-item-screenshot .placeholder-icon .svg-icon {
color: var(--text-faint);
width: var(--size-4-8);
height: var(--size-4-8);
}
.community-modal-info-name {
font-size: var(--h2-size);
font-weight: var(--font-semibold);
line-height: var(--line-height-tight);
margin-bottom: var(--size-4-6);
}
.community-modal-info-author,
.community-modal-info-repo,
.community-modal-info-version {
font-size: var(--font-ui-small);
line-height: var(--line-height-tight);
color: var(--text-muted);
}
.community-modal-info-desc {
font-size: var(--font-ui-small);
line-height: var(--line-height-tight);
margin-top: 4px;
}
.community-modal-details {
flex: 1 1 calc(var(--modal-max-width) - var(--modal-community-sidebar-width));
overflow: auto;
display: flex;
flex-direction: column;
border-left: 1px solid var(--divider-color);
}
.community-modal-info {
flex: 1 1 0;
overflow-y: auto;
padding: var(--size-4-8) var(--size-4-16);
scroll-padding: var(--size-4-4);
}
.community-readme {
overflow-y: visible;
height: auto;
padding: var(--size-4-4) 0;
}
.community-readme video,
.community-readme img {
max-width: 100%;
}
.community-modal-info-desc {
font-size: var(--font-ui-medium);
line-height: var(--line-height-tight);
margin-top: var(--size-4-2);
}
.community-modal-button-container {
display: flex;
flex-wrap: wrap;
gap: var(--size-4-2);
margin: 1.5em 0;
}
.community-modal-info-downloads {
color: var(--text-muted);
margin-top: var(--size-4-1);
display: inline-block;
--icon-size: var(--icon-xs);
--icon-stroke: var(--icon-xs-stroke-width);
}
.community-modal-info-downloads-text {
margin-left: var(--size-4-1);
position: relative;
top: -1px;
}
.community-modal-readme {
font-size: var(--font-text-size);
font-family: var(--font-text);
line-height: var(--line-height-normal);
overflow-wrap: break-word;
color: var(--text-normal);
user-select: text;
-webkit-user-select: text;
}
.installed-plugins-container {
padding-top: var(--size-4-4);
border-top: 1px solid var(--background-modifier-border);
}
.community-modal-grid-button-container {
position: absolute;
top: var(--size-4-4);
right: var(--size-4-12);
display: flex;
gap: var(--size-4-2);
}
.status-bar {
position: var(--status-bar-position);
width: auto;
bottom: 0;
right: 0;
border-radius: var(--status-bar-radius);
border-style: solid;
border-width: var(--status-bar-border-width);
border-color: var(--status-bar-border-color);
background-color: var(--status-bar-background);
color: var(--status-bar-text-color);
display: flex;
font-size: var(--status-bar-font-size);
justify-content: flex-end;
min-height: 18px;
padding: var(--size-4-1);
gap: var(--size-2-1);
user-select: none;
z-index: var(--layer-status-bar);
font-variant-numeric: tabular-nums;
}
.status-bar-item {
border-radius: var(--radius-s);
display: inline-flex;
align-items: center;
padding: 3px var(--size-2-2);
line-height: 1;
}
.status-bar-item.mod-clickable {
cursor: var(--cursor);
}
@media (hover: hover) {
.status-bar-item.mod-clickable:hover {
background-color: var(--background-modifier-hover);
color: var(--text-normal);
}
}
.status-bar-item.plugin-editor-status,
.status-bar-item.plugin-sync {
padding: 0 var(--size-2-2);
}
@media (hover: hover) {
.status-bar-item.plugin-editor-status:hover,
.status-bar-item.plugin-sync:hover {
background-color: var(--background-modifier-hover);
}
}
.status-bar-item-icon {
vertical-align: middle;
display: flex;
align-items: center;
}
.status-bar-item-segment {
margin-right: var(--size-4-2);
}
.status-bar-item-segment:last-child {
margin-right: 0;
}
.is-screenshotting .status-bar {
display: none;
}
.titlebar {
-webkit-app-region: drag;
position: fixed;
top: 0;
left: 0;
right: 0;
display: flex;
background-color: var(--titlebar-background);
border-bottom: var(--titlebar-border-width) solid var(--titlebar-border-color);
}
.titlebar-inner {
color: var(--titlebar-text-color);
font-weight: var(--titlebar-text-weight);
width: 100%;
display: flex;
}
.is-focused .titlebar-inner {
color: var(--titlebar-text-color-focused);
}
.titlebar-text {
opacity: 0.85;
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
flex-grow: 1;
font-size: var(--font-ui-small);
text-align: center;
display: flex;
justify-content: center;
align-items: center;
padding: 0 125px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.titlebar-button-container {
display: flex;
position: absolute;
top: 0;
}
.mod-macos .titlebar-button-container {
top: 8px;
}
.titlebar-button-container.mod-left {
left: 0;
}
.mod-macos .titlebar-button-container.mod-left {
left: calc(80px / var(--zoom-factor));
}
.titlebar-button-container .mod-back,
.titlebar-button-container .mod-forward {
color: var(--icon-color);
}
.titlebar-button-container .mod-back .svg-icon,
.titlebar-button-container .mod-forward .svg-icon {
width: 14px;
height: 14px;
stroke-width: 2.25px;
}
@media (hover: hover) {
.titlebar-button-container .mod-back:hover,
.titlebar-button-container .mod-forward:hover {
color: var(--icon-color-hover);
}
}
.titlebar-button-container.mod-right {
right: 0;
}
.titlebar-button {
-webkit-app-region: no-drag;
padding: var(--size-2-2) var(--size-2-3);
cursor: var(--cursor);
display: inline-flex;
align-items: center;
}
@media (hover: hover) {
.titlebar-button:hover {
opacity: 1;
background-color: var(--background-modifier-hover);
}
.titlebar-button.mod-close:hover {
background-color: var(--background-modifier-error);
}
}
.mod-macos .titlebar-button {
border-radius: var(--radius-s);
}
/* Hidden titlebar interferes with mouse */
body.is-frameless.is-hidden-frameless {
padding-top: 0 !important;
}
.is-hidden-frameless.mod-macos .titlebar {
display: none;
}
.is-hidden-frameless.mod-windows .titlebar,
.is-hidden-frameless.mod-linux .titlebar {
background: transparent;
border: none;
z-index: var(--layer-popover);
pointer-events: none;
}
.is-hidden-frameless.mod-windows .titlebar-button.mod-back,
.is-hidden-frameless.mod-linux .titlebar-button.mod-back,
.is-hidden-frameless.mod-windows .titlebar-button.mod-forward,
.is-hidden-frameless.mod-linux .titlebar-button.mod-forward,
.is-hidden-frameless.mod-windows .titlebar-text,
.is-hidden-frameless.mod-linux .titlebar-text {
display: none;
}
.is-hidden-frameless.mod-windows .titlebar-button-container,
.is-hidden-frameless.mod-linux .titlebar-button-container {
pointer-events: auto;
}
.mod-linux .titlebar-button-container,
.mod-windows .titlebar-button-container {
height: 100%;
}
.mod-linux .titlebar-button,
.mod-windows .titlebar-button {
padding: 0 16px;
display: flex;
align-items: center;
}
.mod-linux .titlebar-button.mod-logo,
.mod-windows .titlebar-button.mod-logo {
padding: 4px 8px;
}
@media (hover: hover) {
.mod-linux .titlebar-button.mod-close:hover,
.mod-windows .titlebar-button.mod-close:hover {
background-color: var(--background-modifier-error);
}
.mod-linux .titlebar-button.mod-close:hover .svg-icon,
.mod-windows .titlebar-button.mod-close:hover .svg-icon {
fill: white;
stroke: white;
}
}
@media screen and (max-width: 300px) {
.titlebar-text {
display: none;
}
}
.is-translucent:not(.is-fullscreen) {
--nav-collapse-icon-color: rgba(var(--mono-rgb-100), 0.3);
--nav-collapse-icon-color-collapsed: rgba(var(--mono-rgb-100), 0.3);
--divider-color: rgba(0, 0, 0, 0.15);
}
.is-translucent:not(.is-fullscreen) .titlebar,
.is-translucent:not(.is-fullscreen) .app-container {
background-color: var(--workspace-background-translucent);
}
.is-translucent:not(.is-fullscreen) .workspace-ribbon.mod-left,
.is-translucent:not(.is-fullscreen) .workspace-tabs,
.is-translucent:not(.is-fullscreen) .workspace-split.mod-root,
.is-translucent:not(.is-fullscreen) .sidebar-toggle-button,
.is-translucent:not(.is-fullscreen) .mod-left-split .workspace-tab-header-container,
.is-translucent:not(.is-fullscreen) .mod-right-split .workspace-tab-header-container,
.is-translucent:not(.is-fullscreen) .mod-top .workspace-tab-header-container,
.is-translucent:not(.is-fullscreen) .workspace-tabs .workspace-leaf,
.is-translucent:not(.is-fullscreen) .workspace-ribbon.mod-left:before {
background-color: transparent !important;
}
.workspace {
background-color: var(--background-primary);
display: flex;
flex: 1 0 0;
transition: padding-left 100ms ease-in;
overflow: hidden;
height: 100%;
}
.is-translucent .workspace {
background-color: transparent;
}
.workspace-split {
display: flex;
position: relative;
}
.workspace-split.mod-vertical > .workspace-split:last-child {
padding-right: 0;
}
.workspace-split:last-child:not(.mod-right-split) > .workspace-leaf-resize-handle {
display: none;
}
.workspace-split.mod-vertical {
flex-direction: row;
}
.workspace-split.mod-horizontal {
flex-direction: column;
}
.workspace-split.mod-root {
background-color: var(--background-primary);
}
.workspace-leaf {
display: flex;
flex-direction: column;
position: relative;
contain: strict !important;
overflow: hidden;
isolation: isolate;
}
.workspace-split.mod-root .workspace-leaf:last-child .workspace-leaf-resize-handle {
display: none;
}
.workspace-leaf.is-highlighted:before {
content: ' ';
position: absolute;
height: 100%;
width: 100%;
top: 0;
left: 0;
background-color: hsla(var(--interactive-accent-hsl), 0.25);
z-index: var(--layer-popover);
pointer-events: none;
}
.workspace > .workspace-leaf,
.workspace > .workspace-split {
height: 100%;
width: 100%;
}
/* Resize handles */
.workspace-split.mod-root > .workspace-leaf-resize-handle {
display: none;
}
.workspace-leaf-resize-handle {
-webkit-app-region: no-drag;
position: absolute;
z-index: var(--layer-cover);
background-color: transparent;
transition: background-color 200ms ease-in-out, border-color 200ms ease-in-out, opacity 200ms ease-in-out;
border-color: var(--divider-color);
border-top: 0;
border-width: var(--divider-width);
margin: 0;
}
@media (hover: hover) {
.workspace-leaf-resize-handle:hover {
background-color: var(--divider-color-hover);
border-color: var(--divider-color-hover);
}
.is-translucent .workspace-leaf-resize-handle:hover {
background-color: var(--divider-color-hover);
border-color: var(--divider-color-hover);
}
}
.workspace-split.mod-horizontal > * > .workspace-leaf-resize-handle {
bottom: 0;
left: 0;
border-bottom-style: solid;
border-bottom-width: var(--divider-width);
height: var(--divider-width-hover);
width: 100%;
cursor: row-resize;
}
.workspace-split.mod-vertical > * > .workspace-leaf-resize-handle,
.workspace-split.mod-left-split > .workspace-leaf-resize-handle,
.workspace-split.mod-right-split > .workspace-leaf-resize-handle {
right: 0;
bottom: 0;
width: var(--divider-width-hover);
height: var(--divider-vertical-height);
cursor: col-resize;
}
.workspace-split.mod-right-split > .workspace-leaf-resize-handle {
border-left-style: solid;
border-left-width: var(--divider-width);
}
.workspace-split.mod-vertical > * > .workspace-leaf-resize-handle,
.workspace-split.mod-left-split > .workspace-leaf-resize-handle {
border-right-style: solid;
border-right-width: var(--divider-width);
}
.workspace-split.mod-right-split > .workspace-leaf-resize-handle {
right: unset;
left: 0;
}
.workspace-split.mod-vertical > * {
height: 100%;
flex: 1 0 0;
width: 0;
}
.workspace-split.mod-horizontal > * {
width: 100%;
flex: 1 0 0;
height: 0;
}
.workspace-split.mod-left-split,
.workspace-split.mod-right-split {
flex: 0 0 auto;
}
.is-translucent .workspace-split.mod-left-split.is-sidedock-collapsed .workspace-tabs,
.is-translucent .workspace-split.mod-right-split.is-sidedock-collapsed .workspace-tabs {
visibility: hidden;
}
.workspace-split.mod-left-split > .workspace-leaf-resize-handle,
.workspace-split.mod-right-split > .workspace-leaf-resize-handle {
z-index: var(--layer-status-bar);
height: var(--divider-vertical-height);
top: unset;
bottom: 0;
}
.view-header-nav-buttons {
--icon-size: var(--icon-s);
align-items: center;
display: flex;
margin-right: var(--size-4-1);
}
body.is-phone .view-header-nav-buttons {
display: none;
}
.workspace-leaf-content {
width: 100%;
height: 100%;
overflow: hidden;
position: relative;
display: flex;
flex-direction: column;
}
.workspace-leaf-content .view-content {
padding: var(--size-4-4);
overflow: auto;
}
.workspace-leaf-content[data-type='markdown'] .view-content {
padding: 0;
overflow: hidden;
}
.workspace-leaf-content[data-type='backlink'] .view-content,
.workspace-leaf-content[data-type='outgoing-link'] .view-content {
padding: 0;
overflow: hidden;
display: flex;
flex-direction: column;
}
.workspace-leaf-content .image-container,
.workspace-leaf-content .audio-container,
.workspace-leaf-content .video-container {
text-align: center;
}
.workspace-leaf-content img:not([width]),
.workspace-leaf-content audio,
.workspace-leaf-content video {
max-width: 100%;
}
.workspace-fake-target-overlay,
.workspace-drop-overlay {
will-change: transform, width, height;
position: fixed;
left: 0;
top: 0;
width: 0;
height: 0;
transform: translate(0, 0);
transition: all 100ms ease-in-out;
z-index: var(--layer-cover);
pointer-events: none;
}
.workspace-drop-overlay:before {
content: ' ';
position: absolute;
width: calc(100% - 6px);
height: calc(100% - 6px);
top: 0;
left: 0;
bottom: 0;
right: 0;
margin: auto;
background-color: var(--interactive-accent);
border-radius: var(--radius-m);
opacity: 0.5;
}
.workspace-fake-target-container {
visibility: hidden;
position: absolute;
pointer-events: none;
top: 0;
left: 0;
}
.workspace-fake-target-overlay {
visibility: visible;
overflow: hidden;
background-color: var(--background-primary);
/*
&.is-in-sidebar {
background-color: var(--background-secondary);
.workspace-leaf {
background-color: var(--background-secondary);
}
}*/
}
.workspace-fake-target-overlay > * {
width: 100%;
height: 100%;
}
.workspace-tabs {
overflow: hidden;
display: flex;
flex-direction: column;
position: relative;
}
.workspace-tabs > * {
flex: 1 0 0;
}
.workspace-tabs .workspace-leaf {
height: 100%;
}
.workspace-split.mod-right-split .workspace-tabs {
padding-right: 0;
}
.workspace-tabs:last-child .workspace-leaf-resize-handle {
display: none;
}
.workspace-fake-target-overlay:not(.is-in-sidebar) .workspace-tabs .workspace-leaf,
.mod-root .workspace-tabs .workspace-leaf {
background-color: var(--background-primary);
}
.workspace-tabs .workspace-leaf {
background-color: var(--background-secondary);
}
.workspace-tabs .workspace-leaf .view-content {
height: 100%;
}
.workspace-tab-header-container {
display: flex;
background-color: var(--tab-container-background);
height: var(--header-height);
border-bottom: var(--tab-outline-width) solid var(--tab-outline-color);
flex: 0 0 auto;
padding-left: 0;
padding-right: var(--size-4-2);
position: relative;
}
.is-phone .workspace-tab-header-container {
display: none;
}
.workspace-tab-header-container-inner {
display: flex;
flex: 0 1 auto;
overflow: auto;
margin: 6px -5px calc(var(--tab-outline-width) * -1);
padding: 1px 15px 0;
}
.mod-root .workspace-tab-header-container-inner {
padding: 1px 15px 0;
}
.workspace-tab-header-container-inner::-webkit-scrollbar,
.workspace-tab-header-container-inner::-webkit-scrollbar-thumb {
display: none;
}
.workspace-tab-header-inner-icon {
flex: 0 0 auto;
display: flex;
}
/* Hide tab icon if it's a note */
.mod-root .workspace-tab-header[data-type="markdown"] .workspace-tab-header-inner-icon,
.mod-root .workspace-tab-header[data-type="empty"] .workspace-tab-header-inner-icon {
display: none;
}
.is-focused .workspace-tab-header {
color: var(--tab-text-color-focused);
}
.is-focused .workspace-tab-header.is-active {
color: var(--tab-text-color-focused-active);
}
.is-focused .mod-active .workspace-tab-header.is-active .workspace-tab-header-inner-icon,
.is-focused .mod-active .workspace-tab-header.is-active .workspace-tab-header-inner-title {
color: var(--tab-text-color-focused-active-current);
}
.is-focused .mod-active .workspace-tab-header.is-active.is-highlighted .workspace-tab-header-inner-icon,
.is-focused .mod-active .workspace-tab-header.is-active.is-highlighted .workspace-tab-header-inner-title {
color: var(--tab-text-color-focused-highlighted);
}
.is-focused .workspace-tab-header.active.is-highlighted .workspace-tab-header-inner-icon,
.is-focused .workspace-tab-header.is-highlighted .workspace-tab-header-inner-icon,
.is-focused .workspace-tab-header.active.is-highlighted .workspace-tab-header-inner-title,
.is-focused .workspace-tab-header.is-highlighted .workspace-tab-header-inner-title {
color: var(--tab-text-color-focused-highlighted);
}
.workspace-tab-header {
-webkit-app-region: no-drag;
color: var(--tab-text-color);
display: flex;
position: relative;
padding: 1px 4px 3.5px;
scroll-margin-inline-start: var(--size-2-3);
scroll-margin-inline-end: var(--size-4-1);
text-align: center;
border-radius: var(--tab-radius-active);
/* Decorative curves */
}
.workspace-tab-header:not(.is-active):hover .workspace-tab-header-inner {
background-color: var(--background-modifier-hover);
}
.workspace-tab-header::before,
.workspace-tab-header::after {
position: absolute;
bottom: 0;
content: '';
width: calc(var(--tab-curve) * 2);
height: calc(var(--tab-curve) * 2);
border-radius: 100%;
box-shadow: 0 0 0 calc(var(--tab-curve) * 3) transparent;
}
.workspace-tab-header::before {
left: calc(var(--tab-curve) * -2);
clip-path: inset(50% calc(var(--tab-curve) * -1) 0 50%);
}
.workspace-tab-header::after {
right: calc(var(--tab-curve) * -2);
clip-path: inset(50% 50% 0 calc(var(--tab-curve) * -1));
}
.workspace-tab-header.is-active {
box-shadow: 0 0 0 var(--tab-outline-width) var(--tab-outline-color);
color: var(--tab-text-color-active);
background-color: var(--tab-background-active);
}
.workspace-split.mod-root .workspace-tab-header.is-active::before,
.workspace-split.mod-root .workspace-tab-header.is-active::after {
box-shadow: inset 0 0 0 var(--tab-outline-width) var(--tab-outline-color), 0 0 0 calc(var(--tab-curve) * 4) var(--tab-background-active);
}
.workspace-tab-header.is-active .workspace-tab-header-inner::after {
opacity: 0;
}
.workspace-tab-container {
display: flex;
overflow: hidden;
}
.workspace-tab-container > * {
flex: 1 0 0;
}
.workspace-tab-header-inner {
align-items: center;
display: flex;
gap: var(--size-2-1);
height: 100%;
border-radius: var(--tab-radius);
overflow: hidden;
padding: 0 8px;
width: 100%;
}
.workspace-tab-header-inner .workspace-tab-header-inner-icon {
color: var(--icon-color);
opacity: var(--icon-opacity);
}
@media (hover: hover) {
.workspace-tab-header-inner:hover .workspace-tab-header-inner-icon {
color: var(--icon-color-hover);
opacity: var(--icon-opacity-hover);
}
}
.mod-root .workspace-tab-header-inner {
padding: 0 3px 0 6px;
}
.workspace-tab-header-inner-title {
flex: 1 1 auto;
font-size: var(--tab-font-size);
font-weight: var(--tab-font-weight);
overflow: hidden;
text-align: left;
text-overflow: ellipsis;
white-space: nowrap;
width: 100%;
}
.workspace-tab-header-status-container {
display: flex;
flex-shrink: 0;
gap: var(--size-2-1);
justify-content: center;
}
.workspace-tab-header-status-container:empty {
display: none;
}
.workspace-tab-header-status-icon,
.workspace-tab-header-inner-close-button {
cursor: var(--cursor);
padding: var(--size-2-1);
border-radius: var(--radius-s);
display: flex;
align-items: center;
--icon-size: var(--icon-xs);
--icon-stroke: var(--icon-xs-stroke-width);
}
@media (hover: hover) {
.workspace-tab-header.is-active .workspace-tab-header-status-icon:hover,
.workspace-tab-header.is-active .workspace-tab-header-inner-close-button:hover {
background-color: var(--background-modifier-hover);
}
.mod-root .workspace-tab-header.is-active .workspace-tab-header-status-icon.mod-linked:hover,
.mod-root .workspace-tab-header.is-active .workspace-tab-header-inner-close-button.mod-linked:hover,
.mod-root .workspace-tab-header.is-active .workspace-tab-header-status-icon.mod-pinned:hover,
.mod-root .workspace-tab-header.is-active .workspace-tab-header-inner-close-button.mod-pinned:hover {
background-color: var(--background-modifier-active-hover);
}
}
.workspace-tab-header.is-active .workspace-tab-header-status-icon::after,
.workspace-tab-header.is-active .workspace-tab-header-inner-close-button::after {
background-color: transparent;
}
@media (hover: hover) {
.workspace-tab-header-inner-close-button:hover {
color: var(--tab-text-color-focused-active-current);
}
}
.workspace-tab-header:hover .workspace-tab-header-inner-close-button {
color: var(--tab-text-color-focused);
}
@media (hover: hover) {
.workspace-tab-header:hover .workspace-tab-header-inner-close-button:hover {
color: var(--tab-text-color-focused-active-current);
}
}
.workspace-tab-header.is-active .workspace-tab-header-inner-close-button {
color: var(--tab-text-color-focused);
}
@media (hover: hover) {
.workspace-tab-header.is-active .workspace-tab-header-inner-close-button:hover {
color: var(--tab-text-color-focused-active-current);
}
}
.workspace-sidedock-empty-state {
font-size: var(--font-ui-small);
padding: 20px 30px;
}
.workspace-tab-header.is-before-active .workspace-tab-header-inner {
border-bottom-right-radius: 10px;
}
.workspace-tab-header-spacer {
display: flex;
flex-grow: 1;
}
body:not(.is-grabbing):not(.is-fullscreen) .workspace-tabs.mod-top .workspace-tab-header-spacer {
-webkit-app-region: drag;
}
body:not(.is-grabbing):not(.is-fullscreen).is-hidden-frameless .mod-top .workspace-tab-header-container {
-webkit-app-region: drag;
}
.workspace-tab-header-tab-list,
.workspace-tab-header-new-tab {
-webkit-app-region: no-drag;
display: none;
z-index: 1;
align-items: center;
}
.titlebar .workspace-tab-header-tab-list,
.titlebar .workspace-tab-header-new-tab,
.mod-root .workspace-tab-header-tab-list,
.mod-root .workspace-tab-header-new-tab {
display: flex;
}
.workspace-tab-header-tab-list .clickable-icon,
.workspace-tab-header-new-tab .clickable-icon {
color: var(--icon-color);
padding: var(--size-2-2);
--icon-size: var(--icon-m);
--icon-stroke: var(--icon-m-stroke-width);
align-items: center;
}
.workspace-tab-header-new-tab {
padding: var(--size-4-2) 0 var(--size-2-3);
margin-right: var(--size-4-3);
margin-left: -4px;
}
.workspace-tab-header-tab-list {
margin-right: var(--size-4-1);
padding: var(--size-4-2) 0 var(--size-2-3);
}
/* Remove tab titles in sidebar */
.workspace-fake-target-overlay.is-in-sidebar .workspace-tab-header-inner-title,
.mod-left-split .workspace-tab-header-inner-title,
.mod-right-split .workspace-tab-header-inner-title {
display: var(--sidebar-tab-text-display);
}
.workspace-fake-target-overlay.is-in-sidebar .workspace-tab-header-inner-close-button,
.mod-left-split .workspace-tab-header-inner-close-button,
.mod-right-split .workspace-tab-header-inner-close-button {
display: none;
}
body > .workspace-split {
height: 100%;
}
.mod-root .workspace-tabs > .workspace-leaf .view-header-title {
white-space: normal;
}
.mod-root .workspace-tab-header-status-icon {
color: var(--text-accent);
}
.mod-root .workspace-tab-header-status-icon,
.mod-root .workspace-tab-header-inner-icon {
--icon-size: var(--icon-xs);
--icon-stroke: var(--icon-xs-stroke-width);
}
.mod-root .mod-pinned,
.mod-root .workspace-tab-header-inner-close-button {
--icon-size: var(--icon-s);
--icon-stroke: var(--icon-s-stroke-width);
}
.mod-right-split .markdown-preview-view,
.mod-left-split .markdown-preview-view,
.mod-right-split .markdown-source-view.mod-cm6 .cm-scroller,
.mod-left-split .markdown-source-view.mod-cm6 .cm-scroller {
--file-margins: var(--size-4-5);
}
.mod-right-split .markdown-preview-view,
.mod-left-split .markdown-preview-view,
.mod-right-split .markdown-source-view,
.mod-left-split .markdown-source-view {
font-size: var(--sidebar-markdown-font-size);
}
/* Sidebar tabs */
.mod-left-split .workspace-tab-header-container-inner,
.mod-right-split .workspace-tab-header-container-inner {
padding: 1px 8px 7px;
margin: 6px 0 0 0;
gap: 3px;
}
.mod-left-split .workspace-tab-header,
.mod-right-split .workspace-tab-header {
box-shadow: none;
background-color: transparent;
padding: 0;
margin: 0;
border-radius: var(--radius-s);
}
.mod-left-split .workspace-tab-header:before,
.mod-right-split .workspace-tab-header:before,
.mod-left-split .workspace-tab-header:after,
.mod-right-split .workspace-tab-header:after {
display: none;
}
.mod-left-split .workspace-tab-header:active .workspace-tab-header-inner-icon,
.mod-right-split .workspace-tab-header:active .workspace-tab-header-inner-icon {
color: var(--icon-color-focused);
}
.mod-left-split .workspace-tab-header.has-active-menu,
.mod-right-split .workspace-tab-header.has-active-menu,
.mod-left-split .workspace-tab-header.is-active,
.mod-right-split .workspace-tab-header.is-active {
background-color: var(--background-modifier-hover);
}
@media (hover: hover) {
.mod-left-split .workspace-tab-header.has-active-menu:hover,
.mod-right-split .workspace-tab-header.has-active-menu:hover,
.mod-left-split .workspace-tab-header.is-active:hover,
.mod-right-split .workspace-tab-header.is-active:hover {
background-color: var(--background-modifier-hover);
}
}
.mod-left-split .workspace-tab-header.has-active-menu .workspace-tab-header-inner-icon,
.mod-right-split .workspace-tab-header.has-active-menu .workspace-tab-header-inner-icon,
.mod-left-split .workspace-tab-header.is-active .workspace-tab-header-inner-icon,
.mod-right-split .workspace-tab-header.is-active .workspace-tab-header-inner-icon {
opacity: var(--icon-opacity-active);
color: var(--icon-color-focused);
}
.workspace .mod-root .workspace-tab-header {
-webkit-app-region: no-drag;
flex: 1 1 0;
width: var(--tab-width);
min-width: 0;
max-width: var(--tab-max-width);
padding: 1px 3px 3.5px;
}
.workspace .mod-root .workspace-tab-header .workspace-tab-header-status-container {
position: sticky;
right: 0;
}
.workspace .mod-root .workspace-tab-header .workspace-tab-header-inner-close-button {
position: sticky;
right: 0;
}
.workspace .mod-root .workspace-tab-header.is-active:hover .workspace-tab-header-inner-close-button,
.workspace .mod-root .workspace-tab-header.is-active .workspace-tab-header-inner-close-button {
pointer-events: all;
opacity: 1;
}
.workspace .mod-root .workspace-tab-header.is-active:hover .workspace-tab-header-inner-close-button svg,
.workspace .mod-root .workspace-tab-header.is-active .workspace-tab-header-inner-close-button svg {
opacity: 1;
}
.workspace .mod-root .workspace-tab-header.is-active .workspace-tab-header-inner-close-button::after {
background-color: transparent;
}
.workspace .mod-root .workspace-tab-header-inner::after {
position: absolute;
right: -0.5px;
width: 1px;
background-color: var(--tab-divider-color);
content: '';
height: 20px;
}
.workspace .mod-root .workspace-tab-header-inner-icon {
display: flex;
padding-right: 4px;
}
.workspace .mod-root .workspace-tab-header[data-type="markdown"] .workspace-tab-header-inner-icon,
.workspace .mod-root .workspace-tab-header[data-type="empty"] .workspace-tab-header-inner-icon {
display: none;
}
.workspace .mod-root .workspace-tab-header-inner-title {
text-overflow: ellipsis;
width: 100%;
}
.workspace .mod-root .workspace-tab-header-status-container.mod-linked {
display: none;
}
.workspace .mod-root .workspace-tab-header-spacer {
flex-shrink: 1;
}
/* Stacked tabs */
.workspace .mod-root .workspace-tabs.mod-stacked .workspace-tab-header-container-inner {
padding: 0 0 0 var(--size-4-3);
margin: 0;
}
.workspace .mod-root .workspace-tabs.mod-stacked .workspace-tab-container {
overflow-x: auto;
overflow-y: hidden;
position: relative;
display: flex;
flex-direction: row;
}
.workspace .mod-root .workspace-tabs.mod-stacked .workspace-tab-container > * {
flex: 0 0 auto;
position: sticky;
}
.workspace .mod-root .workspace-tabs.mod-stacked .workspace-tab-container .workspace-tab-header {
width: var(--tab-stacked-header-width);
writing-mode: var(--tab-stacked-text-writing-mode);
text-orientation: sideways;
background-color: var(--background-primary);
padding: 0;
border-radius: 0;
box-shadow: -1px 0 0 0 var(--tab-outline-color), var(--tab-stacked-shadow);
--no-tooltip: true;
}
.workspace .mod-root .workspace-tabs.mod-stacked .workspace-tab-container .workspace-tab-header:before,
.workspace .mod-root .workspace-tabs.mod-stacked .workspace-tab-container .workspace-tab-header:after {
display: none;
}
.workspace .mod-root .workspace-tabs.mod-stacked .workspace-tab-container .workspace-tab-header:hover .workspace-tab-header-inner {
background-color: transparent;
}
.workspace .mod-root .workspace-tabs.mod-stacked .workspace-tab-container .workspace-tab-header-inner {
padding: var(--size-4-2) var(--size-4-2) var(--size-4-4);
border-radius: 0;
}
.workspace .mod-root .workspace-tabs.mod-stacked .workspace-tab-container .workspace-tab-header-inner:after {
display: none;
}
.workspace .mod-root .workspace-tabs.mod-stacked .workspace-tab-container .workspace-tab-header-inner-title {
order: 3;
width: auto;
-webkit-mask-image: unset;
padding: var(--size-4-1) 0;
transform: var(--tab-stacked-text-transform);
text-align: var(--tab-stacked-text-align);
font-weight: var(--tab-stacked-font-weight);
font-size: var(--tab-stacked-font-size);
text-orientation: mixed;
}
.workspace .mod-root .workspace-tabs.mod-stacked .workspace-tab-container .workspace-tab-header-inner-icon {
order: 2;
cursor: grab;
display: flex;
padding: var(--size-2-2);
border-radius: var(--radius-s);
}
@media (hover: hover) {
.workspace .mod-root .workspace-tabs.mod-stacked .workspace-tab-container .workspace-tab-header-inner-icon:hover {
background-color: var(--background-modifier-hover);
}
}
.workspace .mod-root .workspace-tabs.mod-stacked .workspace-tab-container .workspace-tab-header-inner-icon:active {
cursor: grabbing;
}
.workspace .mod-root .workspace-tabs.mod-stacked .workspace-tab-container .workspace-tab-header-inner-close-button {
color: var(--tab-text-color-focused);
}
@media (hover: hover) {
.workspace .mod-root .workspace-tabs.mod-stacked .workspace-tab-container .workspace-tab-header-inner-close-button:hover {
background-color: var(--background-modifier-hover);
}
}
.workspace .mod-root .workspace-tabs.mod-stacked .workspace-tab-container .workspace-leaf {
width: var(--tab-stacked-pane-width);
/* This is here for performance reasons - it helps the engine know
what's out of view and avoid rendering them */
contain: strict;
}
.workspace .mod-root .workspace-tabs.mod-stacked .workspace-tab-container .workspace-leaf.is-hidden > * {
display: none;
}
.sidebar-toggle-button {
height: calc(var(--header-height) - 1px);
display: flex;
justify-content: center;
padding: var(--size-4-2) 0 7px 0;
-webkit-app-region: no-drag;
--icon-size: var(--icon-l);
--icon-stroke: var(--icon-l-stroke-width);
}
/* Smoother animation for right sidebar button positioning during close */
.mod-macos.is-hidden-frameless:not(.is-popout-window) .sidebar-toggle-button.mod-right {
background-color: var(--tab-container-background);
position: fixed;
top: 0;
right: 0;
padding-right: var(--size-4-2);
z-index: var(--layer-popover);
}
.mod-macos.is-hidden-frameless:not(.is-popout-window) .workspace .workspace-tabs.mod-top-right-space .workspace-tab-header-container {
padding-right: 38px;
}
.button-container {
margin-top: 20px;
}
button {
-webkit-app-region: no-drag;
display: inline-flex;
align-items: center;
justify-content: center;
color: var(--text-normal);
font-size: var(--font-ui-small);
border-radius: var(--button-radius);
border: 0;
padding: var(--size-4-1) var(--size-4-3);
height: var(--input-height);
font-weight: var(--input-font-weight);
cursor: var(--cursor);
font-family: inherit;
outline: none;
user-select: none;
white-space: nowrap;
}
button:not(.clickable-icon) {
background-color: var(--interactive-normal);
box-shadow: var(--input-shadow);
}
@media (hover: hover) {
button:hover {
background-color: var(--interactive-hover);
box-shadow: var(--input-shadow-hover);
}
}
button[aria-disabled='true'] {
background-color: var(--interactive-normal);
}
button:focus-visible {
box-shadow: 0 0 0 3px var(--background-modifier-border-focus);
}
button[disabled="true"] {
cursor: not-allowed;
}
button.mod-cta {
background-color: var(--interactive-accent);
color: var(--text-on-accent);
}
@media (hover: hover) {
button.mod-cta:hover {
background-color: var(--interactive-accent-hover);
}
}
button.mod-cta:focus-visible {
box-shadow: 0 0 0 3px var(--background-modifier-border-focus);
}
button.mod-muted {
background-color: var(--background-secondary);
color: var(--text-muted);
}
@media (hover: hover) {
button.mod-muted:hover {
background-color: var(--background-secondary);
}
}
button.mod-warning {
background-color: var(--background-modifier-error);
color: var(--text-on-accent);
}
@media (hover: hover) {
button.mod-warning:hover {
background-color: var(--background-modifier-error-hover);
}
}
.icon-button-group {
display: inline-block;
}
.icon-button {
display: inline-block;
color: var(--interactive-normal);
}
.rich-button {
width: auto;
padding-top: 5px;
}
.rich-button-icon {
position: relative;
top: 6px;
}
.horizontal-preference-group {
display: flex;
}
.horizontal-preference-group button {
border-radius: 0;
margin: 0 -1px;
}
.horizontal-preference-group button:first-child {
border-top-left-radius: var(--input-radius);
border-bottom-left-radius: var(--input-radius);
}
.horizontal-preference-group button:last-child {
border-top-right-radius: var(--input-radius);
border-bottom-right-radius: var(--input-radius);
}
.horizontal-preference-group button.is-selected {
background-color: var(--interactive-accent);
color: var(--text-on-accent);
}
@media (hover: hover) {
.horizontal-preference-group button.is-selected:hover {
background-color: var(--interactive-accent-hover);
}
}
.card-container {
display: flex;
}
.card-container.mod-horizontal {
flex-direction: column;
}
.card {
background-color: var(--background-secondary-alt);
border-radius: 4px;
border: 1px solid var(--background-modifier-border);
margin: 0 10px;
padding: 15px 30px;
display: flex;
flex-direction: column;
flex-grow: 1;
}
.card ul {
padding: 0;
}
.card .button-container {
margin: 10px 0;
}
.card-container.mod-horizontal .card {
margin: 10px 0;
}
.card-container.mod-horizontal .card ul {
padding-left: 24px;
}
.card li {
margin: 5px 0;
}
.card.u-clickable {
cursor: var(--cursor);
}
@media (hover: hover) {
.card.u-clickable:hover {
border: 1px solid var(--interactive-accent);
background-color: hsla(var(--interactive-accent-hsl), 0.1);
}
}
.card.is-selected {
border: 1px solid var(--interactive-accent);
background-color: hsla(var(--interactive-accent-hsl), 0.2);
}
.card-title {
text-align: center;
font-size: 20px;
line-height: 30px;
color: var(--text-muted);
margin-bottom: 8px;
}
.card-description {
color: var(--text-muted);
font-size: var(--font-ui-small);
line-height: 20px;
flex-grow: 1;
}
/* Only used in Format Converter so far */
.changelog-item {
margin: var(--size-4-2) 0;
font-size: var(--font-ui-medium);
line-height: var(--line-height);
}
.changelog-item:before {
content: attr(data-label);
width: 50px;
border-radius: var(--radius-m);
font-size: var(--font-ui-small);
display: inline-block;
text-align: center;
margin-right: 14px;
text-transform: uppercase;
letter-spacing: 1px;
line-height: 22px;
}
.changelog-item.mod-success:before {
background-color: var(--background-modifier-success);
}
.changelog-item.mod-highlighted:before {
background-color: var(--interactive-accent);
}
.page-container {
width: 50vw;
max-width: 1000px;
margin: 0 auto;
padding: 50px 0;
background-color: var(--background-primary);
}
.page-title {
font-weight: var(--font-extrabold);
font-size: 46px;
}
[contenteditable] {
outline: none;
}
.rich-link {
color: var(--text-accent);
position: relative;
padding-left: 30px;
}
.rich-link-icon {
position: absolute;
left: 5px;
top: 3px;
}
.horizontal-link-group {
text-align: center;
}
.horizontal-link-group a,
.horizontal-link-group span {
margin: 0 10px;
}
.footer-link-group {
list-style: none;
display: inline-block;
margin: 0 30px;
padding: 0;
}
.footer-header {
font-size: 22px;
line-height: 30px;
margin-bottom: 10px;
}
.footer-link {
margin: 4px 0;
}
.components-container .menu {
position: relative;
display: inline-block;
}
.list-item {
display: flex;
padding: 0;
margin: 8px 0;
gap: var(--size-4-2);
align-items: center;
}
.list-item-part.mod-extended {
flex-grow: 1;
overflow-wrap: anywhere;
}
.list-item-part.clickable-icon {
display: flex;
align-items: center;
justify-content: center;
padding: var(--size-2-2);
cursor: var(--cursor);
border-radius: var(--radius-s);
color: var(--icon-color);
}
.list-item-part.clickable-icon:hover,
.list-item-part.clickable-icon:active {
color: var(--icon-color-hover);
background-color: var(--background-modifier-hover);
}
.lightbox {
display: none;
position: fixed;
z-index: 999;
width: 100%;
height: 100%;
text-align: center;
top: 0;
left: 0;
background: rgba(0, 0, 0, 0.8);
}
.lightbox img {
max-width: 90vw;
max-height: 90vh;
margin-top: 5vh;
}
.lightbox:target {
display: block;
}
.u-center-text {
text-align: center;
}
.u-faded-text {
color: var(--text-muted);
}
.u-pop {
color: var(--text-accent);
font-weight: var(--font-semibold);
}
.u-muted {
color: var(--text-muted);
}
.u-small {
font-size: 0.8em;
}
.u-clickable {
cursor: var(--cursor);
}
.u-pop-bg {
background-color: var(--interactive-accent);
color: var(--text-on-accent);
display: inline-block;
padding: 3px 16px;
border-radius: 20px;
opacity: 0.6;
cursor: default;
}
@media (hover: hover) {
.u-pop-bg:hover {
opacity: 1;
}
}
.components-container h3 {
font-weight: var(--font-semibold);
font-size: 30px;
margin: 60px 0 25px 0;
}
.components-container .vertical-tabs-container {
height: 300px;
}
.components-container .checkbox-demo {
margin: 10px 0;
}
.components-container .checkbox-demo label {
display: inline-block;
width: 300px;
}
.components-container .prompt {
position: static;
}
@keyframes node-inserted {
from {
outline-color: #fff;
}
to {
outline-color: #000;
}
}
.node-insert-event {
animation-duration: 0.01s;
animation-name: node-inserted;
}
/* In file recovery */
.diff-view {
height: 100%;
overflow: auto;
user-select: text;
}
.diff-line {
padding: 0 var(--size-4-2);
}
.diff-line.mod-left {
background-color: rgba(var(--background-modifier-error-rgb), 0.2);
}
.diff-line.mod-left .diff-changed {
background-color: rgba(var(--background-modifier-error-rgb), 0.4);
}
.diff-line.mod-right {
background-color: rgba(var(--background-modifier-success-rgb), 0.2);
}
.diff-line.mod-right .diff-changed {
background-color: rgba(var(--background-modifier-success-rgb), 0.4);
}
.diff-collapsed {
text-align: center;
color: var(--text-muted);
cursor: pointer;
font-size: var(--font-ui-small);
margin: var(--size-4-2) 0;
}
.diff-collapsed:hover {
color: var(--text-accent);
}
/* Document search and replace */
/*
Moves search to the top
#todo move this into DOM */
.markdown-reading-view.is-searching,
.markdown-source-view.is-replacing,
.markdown-source-view.is-searching {
flex-direction: column-reverse;
}
/* Container for dcoument search/replace UI */
.mod-active .document-search-container {
background-color: var(--background-primary);
}
.document-search-container {
display: flex;
flex-direction: column;
padding: var(--size-4-2) 0;
margin: 0 var(--size-4-4);
gap: var(--size-4-2);
z-index: var(--layer-popover);
}
.document-search,
.document-replace {
width: 100%;
max-width: var(--file-line-width);
margin: 0 auto;
display: flex;
padding: 0 var(--size-4-2);
gap: var(--size-4-2);
}
.document-replace {
display: none;
}
.document-search-container.mod-replace-mode .document-replace {
display: flex;
}
input.document-search-input,
input.document-replace-input {
flex-grow: 1;
}
input.document-search-input.mod-no-match,
input.document-replace-input.mod-no-match {
background-color: rgba(var(--background-modifier-error-rgb), 0.2);
}
@media (hover: hover) {
input.document-search-input.mod-no-match:hover,
input.document-replace-input.mod-no-match:hover {
background-color: rgba(var(--background-modifier-error-rgb), 0.2);
}
}
.document-replace-buttons,
.document-search-buttons {
display: flex;
gap: var(--size-4-2);
align-items: center;
}
.document-search-button {
font-size: var(--font-ui-small);
padding: 0 var(--size-4-2);
color: var(--text-muted);
}
.document-search-close-button {
cursor: var(--cursor);
position: relative;
top: 2px;
font-size: 24px;
line-height: 20px;
height: 24px;
width: 24px;
padding: 0 var(--size-2-2);
border-radius: var(--radius-s);
color: var(--text-muted);
}
.document-search-close-button:before {
font-family: Inter, sans-serif;
content: "\d7";
font-weight: 300;
}
@media (hover: hover) {
.document-search-close-button:hover {
background-color: var(--background-modifier-hover);
color: var(--text-normal);
}
}
/* Read */
.markdown-rendered .search-highlight > div {
position: absolute;
pointer-events: none;
box-shadow: 0 0 0px 2px var(--text-normal);
opacity: 0.3;
mix-blend-mode: var(--highlight-mix-blend-mode);
border-radius: 2px;
}
.markdown-rendered .search-highlight > div.is-active {
box-shadow: 0 0 0px 3px var(--text-accent);
opacity: 1;
}
.cm-s-obsidian span.obsidian-search-match-highlight {
box-shadow: 0 0 0px 3px var(--text-accent);
mix-blend-mode: var(--highlight-mix-blend-mode);
border-radius: 2px;
}
/* Edit */
.markdown-source-view.mod-cm5 {
position: relative;
padding-left: 20px;
padding-right: 30px;
}
.workspace-leaf-content.is-read-mode .markdown-source-view.mod-cm5 {
z-index: 0;
}
.markdown-source-view.mod-cm5 .document-search-container {
position: absolute;
top: 0;
left: 0;
width: 100%;
z-index: 5;
}
.markdown-source-view.mod-cm6 .document-search-container {
flex: 0 0 auto;
}
.cm-s-obsidian span.cm-highlight.obsidian-search-match-highlight {
background-color: var(--text-selection);
}
.is-flashing {
transition: all 0.25s ease;
background-color: var(--text-highlight-bg);
color: var(--text-normal);
mix-blend-mode: var(--highlight-mix-blend-mode);
border-radius: var(--radius-s);
}
/* Support for rtl text, explicit support for Arabic and Hebrew */
*[dir="rtl"] .dropdown,
:root:lang(ar) .dropdown,
:root:lang(iw) .dropdown {
background-position: left 0.7em top 50%, 0 0;
padding: 0.6em 0.8em 0.5em 1.4em;
}
/* class applies to select element itself, not a wrapper element */
select,
.dropdown {
-webkit-app-region: no-drag;
height: var(--input-height);
font-size: var(--font-ui-small);
font-family: inherit;
font-weight: var(--input-font-weight);
color: var(--text-normal);
line-height: var(--line-height-tight);
padding: 0 1.9em 0 0.8em;
max-width: 100%;
/* useful when width is set to anything other than 100% */
box-sizing: border-box;
margin: 0;
border: 0;
box-shadow: var(--input-shadow);
border-radius: var(--input-radius);
-webkit-appearance: none;
appearance: none;
background-color: var(--interactive-normal);
background-repeat: no-repeat, repeat;
/* arrow icon position (1em from the right, 50% vertical) , then gradient position*/
background-position: right 0.7em top 50%, 0 0;
/* icon size, then gradient */
background-size: 0.65em auto, 100%;
}
@media (hover: hover) {
select:hover,
.dropdown:hover {
box-shadow: var(--input-shadow-hover);
background-color: var(--interactive-hover);
}
}
select:focus,
.dropdown:focus {
box-shadow: 0 0 0px 3px var(--background-modifier-border-focus);
outline: none;
}
.dropdown {
background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="292.4" height="292.4"%3E%3Cpath fill="%23000" opacity="0.4" d="M287 69.4a17.6 17.6 0 0 0-13-5.4H18.4c-5 0-9.3 1.8-12.9 5.4A17.6 17.6 0 0 0 0 82.2c0 5 1.8 9.3 5.4 12.9l128 127.9c3.6 3.6 7.8 5.4 12.8 5.4s9.2-1.8 12.8-5.4L287 95c3.5-3.5 5.4-7.8 5.4-12.8 0-5-1.9-9.2-5.5-12.8z"/%3E%3C/svg%3E');
}
.theme-dark .dropdown {
background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="292.4" height="292.4"%3E%3Cpath fill="%23FFF" opacity="0.4" d="M287 69.4a17.6 17.6 0 0 0-13-5.4H18.4c-5 0-9.3 1.8-12.9 5.4A17.6 17.6 0 0 0 0 82.2c0 5 1.8 9.3 5.4 12.9l128 127.9c3.6 3.6 7.8 5.4 12.8 5.4s9.2-1.8 12.8-5.4L287 95c3.5-3.5 5.4-7.8 5.4-12.8 0-5-1.9-9.2-5.5-12.8z"/%3E%3C/svg%3E');
}
/* Set options to normal weight */
.dropdown option {
font-weight: normal;
background-color: var(--background-primary);
}
.flair {
background-color: var(--interactive-normal);
border-radius: var(--radius-s);
color: var(--text-normal);
font-size: 10px;
letter-spacing: 0.05em;
margin-left: var(--size-4-2);
padding: var(--size-2-1) var(--size-2-2);
position: relative;
text-transform: uppercase;
white-space: nowrap;
vertical-align: middle;
}
.flair.mod-flat {
vertical-align: top;
}
.flair.mod-pop {
background-color: var(--interactive-accent);
color: var(--text-on-accent);
}
.markdown-preview-view:not(.allow-fold-lists) .list-collapse-indicator,
.markdown-preview-view:not(.allow-fold-headings) .heading-collapse-indicator {
display: none;
}
/* #todo Reduce specificity here */
.cm-fold-indicator .collapse-indicator,
.cm-gutterElement .collapse-indicator,
.collapse-indicator,
.fold-gutter {
opacity: 0;
}
/*
.is-mobile & .cm-fold-indicator .collapse-indicator {
opacity: 1;
}*/
h1:hover .collapse-indicator,
h2:hover .collapse-indicator,
h3:hover .collapse-indicator,
h4:hover .collapse-indicator,
h5:hover .collapse-indicator,
h6:hover .collapse-indicator,
.collapse-indicator:hover,
.is-collapsed .collapse-indicator,
.cm-fold-indicator.is-collapsed .collapse-indicator,
.cm-gutterElement:hover .collapse-indicator,
.cm-gutterElement .is-collapsed .collapse-indicator,
.cm-line:hover .cm-fold-indicator .collapse-indicator,
.fold-gutter.is-collapsed,
.fold-gutter:hover {
opacity: 1;
}
.view-content .list-collapse-indicator svg.svg-icon,
.view-content .collapse-indicator svg.svg-icon {
color: var(--collapse-icon-color);
}
.view-content .is-collapsed .list-collapse-indicator svg.svg-icon,
.view-content .is-collapsed .collapse-indicator svg.svg-icon {
color: var(--collapse-icon-color-collapsed);
}
.collapse-icon {
display: flex;
align-items: center;
}
.collapse-icon:before {
content: "\200B";
}
.collapse-icon svg.svg-icon {
color: var(--nav-collapse-icon-color);
stroke-width: 4px;
width: 10px;
height: 10px;
transition: transform 100ms ease-in-out;
}
.is-collapsed .collapse-icon svg.svg-icon {
transform: rotate(-90deg);
color: var(--nav-collapse-icon-color-collapsed);
}
.rtl .is-collapsed .collapse-icon svg.svg-icon {
transform: rotate(90deg);
}
.markdown-preview-view .collapse-indicator {
float: left;
cursor: var(--cursor);
}
.markdown-preview-view .collapse-indicator .svg-icon {
vertical-align: middle;
}
.markdown-preview-view .list-collapse-indicator {
margin-left: -3em;
padding: 0 8px;
}
.markdown-preview-view li.is-collapsed > ul,
.markdown-preview-view li.is-collapsed > ol {
display: none;
}
.markdown-preview-view .heading-collapse-indicator {
margin-left: -22px;
padding: 0 6px;
}
.markdown-source-view.mod-cm6 .cm-fold-indicator .collapse-indicator {
opacity: 0;
}
.markdown-source-view.mod-cm6 .cm-line:hover .cm-fold-indicator .collapse-indicator,
.markdown-source-view.mod-cm6 .cm-fold-indicator.is-collapsed .collapse-indicator {
opacity: 1;
}
.markdown-source-view.mod-cm6 .cm-foldPlaceholder {
color: var(--text-faint);
background-color: transparent;
border: none;
margin-left: 8px;
}
.markdown-source-view.mod-cm6 .cm-fold-indicator {
display: inline-block;
position: relative;
z-index: 1;
}
.markdown-source-view.mod-cm6 .cm-fold-indicator .collapse-indicator {
position: absolute;
top: 0;
right: 0;
height: 100%;
cursor: var(--cursor);
padding-right: 5px;
}
/* Consistency for hover states across all icon buttons */
svg.svg-icon {
height: var(--icon-size);
width: var(--icon-size);
stroke-width: var(--icon-stroke);
}
/* Parent container of button rows */
.nav-buttons-container,
.view-actions,
.workspace-tab-header-inner,
.side-dock-settings,
.side-dock-actions {
display: flex;
justify-content: center;
}
.side-dock-settings,
.side-dock-actions {
gap: var(--size-2-3);
}
.view-actions {
gap: 0;
align-items: center;
--icon-size: var(--icon-s);
}
.nav-buttons-container {
flex-wrap: wrap;
gap: var(--size-2-1);
}
.nav-file-icon .svg-icon,
.suggestion-flair .svg-icon,
.menu-item-icon .svg-icon,
.status-bar-item .svg-icon {
--icon-size: var(--icon-s);
--icon-stroke: var(--icon-s-stroke-width);
}
.clickable-icon.side-dock-ribbon-action .svg-icon,
.mod-left-split .workspace-tab-header-inner-icon .svg-icon,
.mod-right-split .workspace-tab-header-inner-icon .svg-icon {
--icon-size: var(--icon-l);
--icon-stroke: var(--icon-l-stroke-width);
}
.clickable-icon.side-dock-ribbon-action:active,
.mod-left-split .workspace-tab-header-inner-icon:active,
.mod-right-split .workspace-tab-header-inner-icon:active {
color: var(--icon-color-focused);
}
/* Parent button containers for SVG button icons */
.clickable-icon {
-webkit-app-region: no-drag;
background-color: transparent;
display: flex;
align-items: center;
justify-content: center;
padding: var(--size-2-2) var(--size-2-3);
cursor: var(--cursor);
border-radius: var(--clickable-icon-radius);
color: var(--icon-color);
opacity: var(--icon-opacity);
transition: opacity 0.15s ease-in-out;
height: auto;
}
@media (hover: hover) {
.clickable-icon:hover {
box-shadow: none;
opacity: var(--icon-opacity-hover);
color: var(--icon-color-hover);
background-color: var(--background-modifier-hover);
}
.clickable-icon.has-active-menu,
.clickable-icon:active {
opacity: var(--icon-opacity-hover);
color: var(--icon-color-focused);
background-color: var(--background-modifier-hover);
}
}
.clickable-icon.is-active {
opacity: var(--icon-opacity-hover);
color: var(--icon-color-active);
background-color: var(--background-modifier-active-hover);
}
@media (hover: hover) {
.clickable-icon.is-active:hover {
background-color: var(--background-modifier-active-hover);
}
}
.clickable-icon[aria-disabled='true'] {
background-color: unset;
color: var(--text-muted);
opacity: 0.4;
}
@media (hover: hover) {
.clickable-icon[aria-disabled='true']:hover {
background-color: unset;
}
}
.clickable-icon.mod-warning {
color: var(--text-error);
}
.setting-item-control .clickable-icon {
padding: var(--size-2-2);
}
.markdown-rendered.show-indentation-guide li > ul,
.markdown-rendered.show-indentation-guide li > ol {
position: relative;
}
.markdown-rendered.show-indentation-guide li > ul::before,
.markdown-rendered.show-indentation-guide li > ol::before {
content: "\200B";
position: absolute;
display: block;
left: -1em;
top: 0;
bottom: 0;
border-right: var(--indentation-guide-width) solid var(--indentation-guide-color);
}
.markdown-source-view.mod-cm6 .cm-indent {
display: inline-block;
}
.markdown-source-view.mod-cm6 .cm-indent::before {
content: "\200B";
display: block;
width: 1px;
border-right: var(--indentation-guide-width) solid var(--indentation-guide-color);
color: transparent;
position: absolute;
top: 0;
bottom: 0;
transform: translateX(0.15em);
}
.markdown-source-view.mod-cm6 .cm-active-indent::before {
border-color: var(--indentation-guide-color-active);
}
.input-label {
display: inline-block;
width: 150px;
text-align: right;
margin-right: var(--size-4-2);
}
.input-button {
padding: 6px 14px;
margin-left: 14px;
color: var(--text-muted);
font-size: var(--font-ui-medium);
position: relative;
top: -1px;
}
@media (hover: hover) {
.input-button:hover {
color: var(--text-normal);
}
}
textarea,
input[type='text'],
input[type='search'],
input[type='email'],
input[type='password'],
input[type='number'] {
-webkit-app-region: no-drag;
background: var(--background-modifier-form-field);
border: var(--input-border-width) solid var(--background-modifier-border);
color: var(--text-normal);
font-family: inherit;
padding: var(--size-4-1) var(--size-4-2);
font-size: var(--font-ui-small);
border-radius: var(--input-radius);
outline: none;
}
@media (hover: hover) {
textarea:hover,
input[type='text']:hover,
input[type='search']:hover,
input[type='email']:hover,
input[type='password']:hover,
input[type='number']:hover {
border-color: var(--background-modifier-border-hover);
transition: box-shadow 0.15s ease-in-out, border 0.15s ease-in-out;
}
}
textarea:active,
input[type='text']:active,
input[type='search']:active,
input[type='email']:active,
input[type='password']:active,
input[type='number']:active,
textarea:focus,
input[type='text']:focus,
input[type='search']:focus,
input[type='email']:focus,
input[type='password']:focus,
input[type='number']:focus {
border-color: var(--background-modifier-border-focus);
transition: box-shadow 0.15s ease-in-out, border 0.15s ease-in-out;
}
textarea:active,
input[type='text']:active,
input[type='search']:active,
input[type='email']:active,
input[type='password']:active,
input[type='number']:active,
textarea:focus,
input[type='text']:focus,
input[type='search']:focus,
input[type='email']:focus,
input[type='password']:focus,
input[type='number']:focus,
textarea:focus-visible,
input[type='text']:focus-visible,
input[type='search']:focus-visible,
input[type='email']:focus-visible,
input[type='password']:focus-visible,
input[type='number']:focus-visible {
box-shadow: 0 0 0 2px var(--background-modifier-border-focus);
}
textarea::placeholder,
input[type='text']::placeholder,
input[type='search']::placeholder,
input[type='email']::placeholder,
input[type='password']::placeholder,
input[type='number']::placeholder {
color: var(--text-faint);
}
input[type='text'],
input[type='search'],
input[type='email'],
input[type='password'],
input[type='number'] {
height: var(--input-height);
}
/* Textarea */
textarea {
line-height: var(--line-height-tight);
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
display: none;
pointer-events: none;
}
input[type=number]::-webkit-inner-spin-button {
-webkit-appearance: none;
}
/* Range slider */
input[type='range'] {
width: 100px;
-webkit-appearance: none;
background-color: var(--slider-track-background);
border-radius: var(--slider-track-height);
height: var(--slider-track-height);
padding: 0;
}
body:not(.is-mobile) input[type=range]:focus {
box-shadow: none;
}
input[type='range']::-webkit-slider-runnable-track {
height: 6px;
-webkit-appearance: none;
}
input[type='range']::-webkit-slider-thumb {
-webkit-appearance: none;
height: var(--slider-thumb-height);
width: var(--slider-thumb-width);
border-radius: var(--slider-thumb-radius);
cursor: default;
background: #FFF;
border: var(--slider-thumb-border-width) solid var(--slider-thumb-border-color);
position: relative;
top: var(--slider-thumb-y);
transition: all 0.1s linear;
box-shadow: 0 1px 1px 0px rgba(0, 0, 0, 0.05), 0 2px 2px 0px rgba(0, 0, 0, 0.1);
}
input[type=range]::-webkit-slider-thumb:hover,
input[type=range]::-webkit-slider-thumb:active {
background: white;
border-color: var(--background-modifier-border-focus);
box-shadow: 0 1px 2px 0px rgba(0, 0, 0, 0.1), 0 2px 3px 0px rgba(0, 0, 0, 0.2);
transition: all 0.1s linear;
}
input[type='range'] {
outline: none;
}
body:not(.is-mobile) input[type=range]:focus::-webkit-slider-thumb {
box-shadow: 0 1px 2px 0px rgba(0, 0, 0, 0.05), 0 2px 3px 0px rgba(0, 0, 0, 0.2);
}
body:not(.is-mobile) input[type=range]:focus-visible::-webkit-slider-thumb {
border-color: var(--background-modifier-border-focus);
box-shadow: 0 1px 2px 0px rgba(0, 0, 0, 0.05), 0 2px 3px 0px rgba(0, 0, 0, 0.2), 0 0 0px 2px var(--background-modifier-border-focus);
}
/* Color inputs */
input[type="color"] {
-webkit-appearance: none;
width: calc(var(--swatch-width) + 4px);
background-color: transparent;
border: none;
cursor: var(--cursor);
padding: 0;
}
input[type="color"]::-webkit-color-swatch-wrapper {
padding: 2px;
}
input[type="color"]::-webkit-color-swatch {
border: 0px;
box-shadow: var(--swatch-shadow);
border-radius: var(--swatch-radius);
height: var(--swatch-height);
width: var(--swatch-width);
align-self: center;
}
@media (hover: hover) {
input[type="color"]::-webkit-color-swatch:hover {
box-shadow: inset 0 0 0 1px rgba(var(--mono-rgb-100), 0.25), 0 0 0 3px var(--background-modifier-border-hover);
}
}
input[type="color"]:focus-visible::-webkit-color-swatch,
input[type="color"]:focus::-webkit-color-swatch {
box-shadow: var(--swatch-shadow), 0 0 0 3px var(--background-modifier-border-focus);
}
select.mod-hidden {
display: none;
}
.notice-container {
z-index: var(--layer-notice);
position: fixed;
top: 22px;
right: 0;
padding: 10px;
overflow: hidden;
}
.notice {
background-color: var(--background-modifier-message);
border-radius: var(--radius-m);
box-shadow: 0 2px 8px var(--background-modifier-box-shadow);
color: #FAFAFA;
font-size: var(--font-ui-small);
line-height: var(--line-height-tight);
padding: 0.75em 1em 0.75em 1em;
max-width: 300px;
margin-bottom: 14px;
white-space: pre-wrap;
overflow-wrap: anywhere;
word-break: break-word;
cursor: var(--cursor);
}
.menu {
padding: var(--size-2-3);
border: 1px solid var(--background-modifier-border-hover);
background-color: var(--background-secondary);
border-radius: var(--radius-m);
box-shadow: var(--shadow-s);
position: fixed;
z-index: var(--layer-menu);
user-select: none;
max-height: calc(100% - var(--header-height));
overflow: hidden;
}
.menu.mod-no-icon .menu-item-icon:first-child {
display: none;
}
.menu-separator {
height: 0;
margin: var(--size-2-3) calc(var(--size-2-3) * -1);
border-bottom: 1px solid var(--background-modifier-border);
}
.menu-separator:last-child,
.menu-separator:first-child {
display: none;
}
.menu-separator + .menu-separator {
display: none;
}
.menu-item {
display: flex;
align-items: center;
gap: var(--size-4-2);
padding: var(--size-4-1) var(--size-4-2);
cursor: var(--cursor);
font-size: var(--font-ui-small);
border-radius: var(--radius-s);
white-space: nowrap;
}
.menu-item.is-disabled {
cursor: default;
color: var(--text-faint);
}
.menu-item.is-warning.selected {
color: var(--text-error);
}
.menu-item.is-label {
cursor: default;
pointer-events: none;
font-size: var(--font-ui-medium);
color: var(--text-muted);
white-space: pre-wrap;
overflow-wrap: anywhere;
word-break: break-word;
}
@media (hover: hover) {
.menu-item.is-warning:hover {
color: var(--text-error);
}
.menu-item:hover:not(.is-disabled):not(.is-label) {
background-color: var(--background-modifier-hover);
}
}
.menu-item.selected:not(.is-disabled):not(.is-label) {
background-color: var(--background-modifier-hover);
}
.menu-item-icon {
flex: 0 1 auto;
display: flex;
color: var(--text-muted);
}
.menu-item.is-warning.selected .menu-item-icon,
.menu-item.is-warning:hover .menu-item-icon {
color: var(--text-error);
}
.menu-item-icon .mod-submenu {
color: var(--text-faint);
}
.menu-item-title {
flex: 1 0 0;
}
.menu.mod-tab-list .menu-item-title {
max-width: 300px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
vertical-align: bottom;
}
.debug-textarea {
width: 100%;
height: 50vh;
max-height: 80vh;
font-family: var(--font-monospace);
tab-size: 4;
resize: none;
}
.modal-container {
display: flex;
align-items: center;
justify-content: center;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: var(--layer-modal);
}
.modal-container.mod-dim .modal {
box-shadow: var(--shadow-l);
}
.modal-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: var(--background-modifier-cover);
}
.modal {
--checkbox-size: var(--font-ui-medium);
background-color: var(--modal-background);
border-radius: var(--modal-radius);
border: var(--modal-border-width) solid var(--modal-border-color);
padding: var(--size-4-4);
position: relative;
min-height: 100px;
width: var(--dialog-width);
max-width: var(--dialog-max-width);
max-height: var(--dialog-max-height);
display: flex;
flex-direction: column;
overflow: auto;
}
.modal.mod-sidebar-layout {
padding: 0;
width: var(--modal-width);
height: var(--modal-height);
max-width: var(--modal-max-width);
max-height: var(--modal-max-height);
overflow: hidden;
display: flex;
flex-direction: column;
}
.modal.mod-sidebar-layout .modal-content {
display: flex;
}
.modal-sidebar {
background-color: var(--background-secondary);
flex: 1 1 var(--modal-community-sidebar-width);
min-width: var(--modal-community-sidebar-width);
padding: var(--size-4-3) 0 0 0;
display: flex;
flex-direction: column;
}
body:not(.native-scrollbars) .modal-close-button {
right: 12px;
}
.modal-close-button {
cursor: var(--cursor);
position: absolute;
top: var(--size-2-3);
right: var(--size-2-3);
font-size: 24px;
line-height: 20px;
height: 24px;
width: 24px;
padding: 0 var(--size-2-2);
border-radius: var(--radius-s);
color: var(--text-muted);
}
@media (hover: hover) {
.modal-close-button:hover {
background-color: var(--background-modifier-hover);
color: var(--text-normal);
}
}
.modal-close-button:before {
font-family: Inter, sans-serif;
content: '\D7';
font-weight: 300;
}
.modal-title {
font-size: 1.2em;
margin-bottom: 0.75em;
font-weight: var(--font-semibold);
text-align: left;
line-height: var(--line-height-tight);
}
.mod-sidebar-layout .modal-title {
display: none;
}
.modal-title:empty {
display: none;
}
.modal-content {
flex: 1 1 auto;
font-size: var(--font-ui-medium);
}
.modal-button-container {
margin-top: 1.5em;
display: flex;
justify-content: flex-end;
gap: var(--size-4-2);
flex-wrap: wrap;
font-size: var(--font-ui-medium);
}
.modal-button-container .mod-checkbox {
flex-grow: 1;
display: flex;
align-items: center;
gap: var(--size-4-1);
}
.modal-checkbox-label {
cursor: var(--cursor);
margin-left: 10px;
user-select: none;
}
.message-container {
margin: var(--size-4-4) 0;
}
.message {
display: inline-block;
padding: 6px 12px 6px 12px;
border-radius: var(--radius-s);
}
.message.mod-success {
background-color: var(--background-modifier-success);
color: var(--text-on-accent);
}
.message.mod-success a {
color: var(--text-normal);
}
.message.mod-info {
background-color: var(--background-modifier-info);
}
.message.mod-error {
background-color: var(--background-modifier-error);
color: var(--text-on-accent);
}
.message.mod-error a {
color: var(--text-normal);
}
.mod-warning {
color: var(--text-error);
}
.mod-success {
color: var(--text-success);
}
.mod-file-rename .rename-textarea {
overflow: hidden;
padding: var(--size-2-3) var(--size-4-2);
resize: none;
width: 100%;
}
.modal-setting-back-button {
position: absolute;
top: var(--safe-area-inset-top);
left: 0;
padding: var(--size-4-3) var(--size-4-3);
height: var(--modal-header-height);
color: var(--text-normal);
font-weight: var(--font-semibold);
}
.modal-setting-back-button-icon {
display: flex;
align-items: center;
margin-right: 6px;
}
.modal-setting-nav-bar {
display: flex;
flex: 0 1 auto;
padding: var(--size-4-3);
border-bottom: 1px solid var(--background-modifier-border);
}
.popover {
background-color: var(--background-primary);
border: 1px solid var(--background-modifier-border);
box-shadow: var(--shadow-s);
border-radius: var(--radius-m);
padding: var(--size-4-5);
position: relative;
max-height: 95vh;
}
.popover-title {
font-weight: var(--font-extrabold);
}
.popover-content {
margin: var(--size-4-2) 0;
}
.components-container .popover {
width: 300px;
margin-top: var(--size-4-5);
}
.components-container .popover .popover-content {
font-size: var(--font-ui-medium);
}
.popover.hover-popover {
position: absolute;
z-index: var(--layer-popover);
max-width: 80vw;
min-height: 100px;
width: var(--popover-width);
padding: 0;
overflow: hidden;
}
.popover.hover-popover .markdown-preview-view {
font-size: var(--popover-font-size);
}
.popover.hover-popover > .mod-empty {
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
font-size: var(--popover-font-size);
color: var(--text-muted);
}
.popover.hover-popover > .media-embed {
min-height: 0;
line-height: 0;
border: none;
}
.popover.hover-popover > .image-embed img {
max-height: 100%;
max-width: 100%;
height: auto;
}
.popover.hover-popover > .pdf-embed {
width: var(--popover-pdf-width);
height: var(--popover-pdf-height);
max-height: var(--popover-max-height);
}
.popover.hover-popover > .markdown-embed {
height: var(--popover-height);
max-height: var(--popover-max-height);
border: 0;
padding: 0;
margin: 0;
}
.popover.hover-popover > .markdown-embed > .markdown-embed-content {
height: 100%;
overflow: auto;
}
.popover.hover-popover > .markdown-embed > .markdown-embed-content > .markdown-preview-view {
padding: var(--file-margins);
}
.popover.hover-popover > .markdown-embed .mod-header + div > *:first-child {
margin-top: 0;
}
.follow-link-popover {
box-shadow: 0 2px 8px var(--background-modifier-box-shadow);
background-color: rgba(0, 0, 0, 0.9);
border-radius: var(--radius-m);
color: #ccc;
font-size: var(--font-ui-small);
line-height: 20px;
max-width: 300px;
padding: 5px 12px;
text-align: center;
z-index: var(--layer-tooltip);
white-space: pre-wrap;
top: calc(100%);
}
.follow-link-popover.mod-bottom {
top: 0;
}
@media (hover: hover) {
.follow-link-popover:hover {
background-color: #000000;
}
}
.follow-link-popover .popover-arrow {
position: absolute;
top: calc(100%);
left: 50%;
width: 0;
margin-left: -5px;
border-right: 5px solid transparent;
border-left: 5px solid transparent;
content: " ";
font-size: 0;
line-height: 0;
border-top: 5px solid rgba(0, 0, 0, 0.9);
border-bottom: 5px solid transparent;
}
.follow-link-popover.mod-bottom .popover-arrow {
border-bottom: 5px solid rgba(0, 0, 0, 0.9);
border-top: none;
top: -5px;
}
.markdown-preview-view progress,
.markdown-rendered progress,
.markdown-source-view.is-live-preview progress {
-webkit-writing-mode: horizontal-tb;
writing-mode: horizontal-tb;
appearance: none;
box-sizing: border-box;
display: inline-block;
height: 6px;
margin-bottom: 4px;
max-width: 100%;
overflow: hidden;
border-radius: 0px;
border: 0;
vertical-align: -0.2rem;
}
.markdown-preview-view progress[value]::-webkit-progress-bar,
.markdown-rendered progress[value]::-webkit-progress-bar,
.markdown-source-view.is-live-preview progress[value]::-webkit-progress-bar {
background-color: var(--background-secondary);
box-shadow: inset 0px 0px 0px 1px var(--background-modifier-border);
border-radius: 6px;
overflow: hidden;
}
.markdown-preview-view progress[value]::-webkit-progress-value,
.markdown-rendered progress[value]::-webkit-progress-value,
.markdown-source-view.is-live-preview progress[value]::-webkit-progress-value {
background-color: var(--interactive-accent);
overflow: hidden;
}
.progress-bar {
position: absolute;
height: 100vh;
width: 100vw;
top: 0;
left: 0;
background-color: var(--background-primary);
z-index: 10000;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.progress-bar-message {
margin-bottom: var(--size-4-8);
opacity: 1;
color: var(--text-muted);
}
.progress-bar-indicator {
position: relative;
height: 8px;
margin: 0 10vw;
width: 90vw;
overflow-x: hidden;
border-radius: 3px;
}
.progress-bar-line {
position: absolute;
opacity: 0.4;
background-color: var(--interactive-accent);
width: 150%;
height: 8px;
}
.progress-bar-subline {
position: absolute;
background-color: var(--interactive-accent);
height: 8px;
}
.progress-bar-subline.mod-increase {
animation: increase 2s infinite;
}
.progress-bar-subline.mod-decrease {
animation: decrease 2s 0.5s infinite;
}
.progress-bar .progress-bar-subline {
transition: width 150ms ease-in-out;
}
@keyframes increase {
from {
left: -5%;
width: 5%;
}
to {
left: 130%;
width: 100%;
}
}
@keyframes decrease {
from {
left: -80%;
width: 80%;
}
to {
left: 110%;
width: 10%;
}
}
.prompt {
display: flex;
flex-direction: column;
border-radius: var(--radius-l);
background-color: var(--background-primary);
box-shadow: var(--shadow-l);
border: var(--prompt-border-width) solid var(--prompt-border-color);
z-index: 1;
position: absolute;
top: 80px;
width: var(--prompt-width);
max-width: var(--prompt-max-width);
max-height: var(--prompt-max-height);
overflow: hidden;
}
.prompt-input-container {
display: flex;
}
input.prompt-input {
width: 100%;
padding: var(--size-4-6);
background-color: var(--background-primary);
font-size: var(--font-ui-medium);
border: none;
height: 40px;
border-radius: 0;
border-bottom: 1px solid var(--background-secondary);
}
input.prompt-input:hover,
input.prompt-input:focus,
input.prompt-input:focus-visible {
border-bottom: 1px solid var(--background-secondary);
box-shadow: none;
}
.prompt-results {
list-style: none;
margin: 0;
padding: var(--size-4-3);
overflow-y: auto;
}
.prompt-instructions {
border-top: 1px solid var(--background-secondary);
user-select: none;
font-size: var(--font-ui-smaller);
color: var(--text-muted);
padding: var(--size-4-2);
text-align: center;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: var(--size-4-3);
}
.prompt-instruction {
display: inline-block;
}
.prompt-instruction-command {
font-weight: var(--bold-weight);
margin-right: var(--size-2-2);
}
body:not(.native-scrollbars) ::-webkit-scrollbar {
background-color: var(--scrollbar-bg);
width: 12px;
height: 12px;
-webkit-border-radius: var(--radius-l);
background-color: transparent;
}
body:not(.native-scrollbars) ::-webkit-scrollbar-track {
background-color: transparent;
}
body:not(.native-scrollbars) ::-webkit-scrollbar-thumb {
background-color: var(--scrollbar-thumb-bg);
-webkit-border-radius: var(--radius-l);
background-clip: padding-box;
border: 2px solid transparent;
border-width: 3px 3px 3px 2px;
min-height: 45px;
}
body:not(.native-scrollbars) ::-webkit-scrollbar-thumb:active {
-webkit-border-radius: var(--radius-l);
}
body:not(.native-scrollbars) ::-webkit-scrollbar-thumb:hover,
body:not(.native-scrollbars) ::-webkit-scrollbar-thumb:active {
background-color: var(--scrollbar-active-thumb-bg);
}
body:not(.native-scrollbars) ::-webkit-scrollbar-corner {
background: transparent;
}
body:not(.native-scrollbars) * {
scrollbar-width: thin;
scrollbar-color: var(--scrollbar-thumb-bg) var(--scrollbar-bg);
}
/* Scroll indicator for sidebar containers
body:not(.is-translucent):not(.is-mobile) .workspace-tabs {
.item-list,
.nav-files-container,
.search-result-container,
.tag-container,
.outgoing-link-pane,
.backlink-pane {
background:
linear-gradient(
var(--background-secondary) 10%,
rgba(0, 0, 0, 0)
)
center top,
linear-gradient(
var(--background-modifier-border) 100%,
rgba(0, 0, 0, 0)
)
center top;
background-repeat: no-repeat;
background-size: 100% 40px, 91% 1px;
background-attachment: local, scroll;
}
}
*/
.suggestion-container {
position: absolute;
background-color: var(--background-primary);
max-width: 500px;
border-radius: var(--radius-m);
border: 1px solid var(--background-modifier-border);
box-shadow: var(--shadow-s);
z-index: var(--layer-notice);
}
.suggestion {
max-height: 300px;
overflow-y: auto;
padding: var(--size-2-3);
}
.suggestion-item,
.suggestion-empty {
font-size: var(--font-ui-medium);
margin-bottom: 1px;
}
.suggestion-empty {
color: var(--text-muted);
padding: var(--size-4-2);
padding-top: var(--size-4-3);
text-align: center;
}
.suggestion-item {
cursor: var(--cursor);
padding: var(--size-2-3) var(--size-4-3);
padding-left: 12px;
white-space: pre-wrap;
border-radius: var(--radius-s);
}
.suggestion-item.is-selected {
background-color: var(--background-modifier-hover);
}
.suggestion-item.mod-downranked {
color: var(--text-muted);
}
.suggestion-item.mod-complex {
align-items: baseline;
display: flex;
justify-content: space-between;
}
.suggestion-item.mod-complex .suggestion-title {
overflow-wrap: break-word;
}
.suggestion-item.mod-complex .suggestion-content {
display: flex;
flex-direction: column;
overflow: hidden;
text-overflow: ellipsis;
margin-right: auto;
}
.suggestion-item.mod-complex .suggestion-prefix:after {
content: ': ';
}
.suggestion-item.mod-complex .suggestion-highlight {
font-weight: bold;
}
.suggestion-item.mod-complex .suggestion-note {
font-size: 0.8em;
color: var(--text-muted);
width: 100%;
flex-basis: 100%;
overflow-wrap: break-word;
}
.suggestion-item.mod-complex .suggestion-aux {
display: flex;
align-items: center;
align-self: center;
flex-shrink: 0;
}
.suggestion-item.mod-complex .suggestion-hotkey {
font-size: var(--font-ui-smaller);
font-family: var(--font-interface);
padding: 2px 6px;
}
.suggestion-item.mod-complex .suggestion-hotkey:not(:last-child) {
margin-left: 10px;
}
.suggestion-item.mod-complex .suggestion-flair {
color: var(--text-muted);
opacity: var(--icon-opacity);
margin: 0 4px 0 12px;
display: flex;
align-items: center;
}
.suggestion-item.mod-complex .suggestion-flair:not(:last-child) {
margin-left: 6px;
}
.suggestion-highlight {
font-weight: bold;
}
.suggestion-bg {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: var(--background-modifier-cover);
z-index: var(--layer-popover);
}
.horizontal-tab-header {
display: flex;
}
.horizontal-tab-nav-item,
.vertical-tab-nav-item {
padding: var(--size-4-1) var(--size-4-2);
user-select: none;
cursor: var(--cursor);
font-size: calc(var(--font-ui-small) + 1px);
border-radius: var(--radius-s);
}
.horizontal-tab-nav-item.is-active,
.vertical-tab-nav-item.is-active {
background-color: var(--interactive-accent);
color: var(--text-on-accent);
}
@media (hover: hover) {
.horizontal-tab-nav-item.is-active:hover,
.vertical-tab-nav-item.is-active:hover {
background-color: var(--interactive-accent);
}
}
@media (hover: hover) {
.horizontal-tab-nav-item:hover,
.vertical-tab-nav-item:hover {
background-color: var(--background-modifier-hover);
}
}
.vertical-tab-nav-item {
margin-bottom: var(--size-2-1);
}
.vertical-tab-nav-item-chevron {
display: none;
}
.horizontal-tab-content,
.vertical-tab-content {
background-color: var(--background-primary);
padding-left: var(--size-4-12);
padding-right: var(--size-4-12);
}
.vertical-tabs-container {
display: flex;
}
.vertical-tab-header {
padding: var(--size-4-3);
background-color: var(--background-secondary);
}
.vertical-tab-header-group-items {
display: flex;
flex-direction: column;
}
.vertical-tab-header-group-title {
font-size: var(--font-ui-smaller);
color: var(--text-faint);
font-weight: var(--font-semibold);
padding: var(--size-4-2);
user-select: none;
}
.vertical-tab-header-group {
padding: var(--size-4-3) 0;
}
.vertical-tab-content-container {
overflow: hidden;
flex-grow: 1;
}
.vertical-tab-content {
overflow-y: auto;
height: 100%;
padding-top: var(--size-4-8);
padding-bottom: var(--size-4-16);
}
.vertical-tab-content h2 {
font-size: var(--font-ui-medium);
font-weight: var(--font-semibold);
}
.checkbox-container {
-webkit-app-region: no-drag;
cursor: var(--cursor);
background-color: var(--background-modifier-border-hover);
border-radius: var(--toggle-radius);
display: inline-block;
flex-shrink: 0;
height: calc(var(--toggle-thumb-height) + var(--toggle-border-width) * 2);
position: relative;
user-select: none;
width: var(--toggle-width);
box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.07), inset 0 0 1px rgba(0, 0, 0, 0.21);
transition: box-shadow 0.15s ease-in-out, outline 0.15s ease-in-out, border 0.15s ease-in-out, opacity 0.15s ease-in-out;
outline: 0 solid var(--background-modifier-border-focus);
}
.checkbox-container input[type='checkbox'] {
position: absolute;
opacity: 0;
left: 0;
}
.checkbox-container:focus-within {
outline: var(--toggle-border-width) solid var(--background-modifier-border-focus);
}
@media (hover: hover) {
.checkbox-container:hover {
box-shadow: inset 0 6px 20px rgba(0, 0, 0, 0.14), inset 0 0 1px rgba(0, 0, 0, 0.28);
}
}
.checkbox-container.is-enabled {
background-color: var(--interactive-accent);
}
.checkbox-container.is-enabled:after {
transform: translate3d(calc(var(--toggle-width) - var(--toggle-thumb-width) - var(--toggle-border-width)), 0, 0);
}
.checkbox-container.is-enabled:active:after {
left: -4px;
}
.checkbox-container:before {
content: '';
display: block;
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
opacity: 0;
}
.checkbox-container:after {
pointer-events: none;
content: '';
display: block;
position: absolute;
background-color: var(--toggle-thumb-color);
width: var(--toggle-thumb-width);
height: var(--toggle-thumb-height);
margin: var(--toggle-border-width) 0 0 0;
border-radius: var(--toggle-thumb-radius);
transition: transform 0.15s ease-in-out, width 0.1s ease-in-out, left 0.1s ease-in-out;
left: 0;
transform: translate3d(var(--toggle-border-width), 0, 0);
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.checkbox-container:active:after {
width: calc(var(--toggle-thumb-width) + var(--toggle-border-width));
}
.checkbox-container.mod-small {
width: var(--toggle-s-width);
height: calc(var(--toggle-s-thumb-height) + var(--toggle-s-border-width) * 2);
}
.checkbox-container.mod-small:focus-within {
outline: var(--toggle-s-border-width) solid var(--background-modifier-border-focus);
}
.checkbox-container.mod-small:after {
width: var(--toggle-s-thumb-width);
height: var(--toggle-s-thumb-height);
margin: var(--toggle-s-border-width) 0 0 0;
transform: translate3d(var(--toggle-s-border-width), 0, 0);
}
.checkbox-container.mod-small.is-enabled:after {
transform: translate3d(calc(var(--toggle-s-width) - var(--toggle-s-thumb-width) - var(--toggle-s-border-width)), 0, 0);
}
.checkbox-container.mod-small:active:after {
width: calc(var(--toggle-s-thumb-width) + var(--toggle-s-border-width));
}
/* Add this attribute to the element that needs a tooltip */
.tooltip {
animation: pop-down 200ms forwards ease-in-out;
box-shadow: 0 2px 8px var(--background-modifier-box-shadow);
background-color: var(--background-modifier-message);
border-radius: var(--radius-s);
color: #FAFAFA;
font-size: var(--font-ui-smaller);
font-weight: var(--font-medium);
left: 50%;
line-height: var(--line-height-tight);
max-width: 300px;
padding: 4px 8px;
position: fixed;
text-align: center;
transform: translateX(-50%);
z-index: var(--layer-tooltip);
pointer-events: none;
white-space: pre-wrap;
word-break: normal;
overflow-wrap: anywhere;
}
.tooltip.mod-right {
animation: pop-right 200ms forwards ease-in-out;
transform: translateY(-50%);
}
.tooltip.mod-left {
animation: pop-right 200ms forwards ease-in-out;
transform: translateY(-50%);
}
.tooltip.mod-error {
width: 200px;
background-color: var(--background-modifier-error);
color: var(--text-on-accent);
}
.tooltip.mod-wide {
max-width: 450px;
width: 400px;
}
/* Triangle hack to make tooltip look like a speech bubble */
.tooltip .tooltip-arrow {
position: absolute;
top: -5px;
left: 50%;
width: 0;
margin-left: -5px;
border-bottom: 5px solid var(--background-modifier-message);
border-right: 5px solid transparent;
border-left: 5px solid transparent;
content: " ";
font-size: 0;
line-height: 0;
}
.tooltip.mod-right .tooltip-arrow {
top: calc(50% - 5px);
left: -5px;
border-right: 5px solid var(--background-modifier-message);
border-top: 5px solid transparent;
border-bottom: 5px solid transparent;
}
.tooltip.mod-left .tooltip-arrow {
top: calc(50% - 5px);
left: calc(100% + 5px);
border-left: 5px solid var(--background-modifier-message);
border-top: 5px solid transparent;
border-bottom: 5px solid transparent;
}
.tooltip.mod-top .tooltip-arrow {
top: calc(100%);
border-top: 5px solid var(--background-modifier-message);
border-bottom: 5px solid transparent;
}
.tooltip.mod-error .tooltip-arrow {
border-bottom-color: var(--background-modifier-error);
}
.tooltip.mod-error.mod-right .tooltip-arrow {
border-right-color: var(--background-modifier-error);
border-bottom: 5px solid transparent;
}
.tooltip.mod-error.mod-left .tooltip-arrow {
border-left-color: var(--background-modifier-error);
border-bottom: 5px solid transparent;
}
[aria-label] .svg-icon {
pointer-events: none;
}
@keyframes pop-down {
0% {
opacity: 0;
transform: translateX(-50%) scale(1);
}
20% {
opacity: 0.7;
transform: translateX(-50%) scale(1.02);
}
40% {
opacity: 1;
transform: translateX(-50%) scale(1.05);
}
100% {
opacity: 1;
transform: translateX(-50%) scale(1);
}
}
@keyframes pop-right {
0% {
opacity: 0;
transform: translateY(-50%) scale(1);
}
20% {
opacity: 0.7;
transform: translateY(-50%) scale(1.02);
}
40% {
opacity: 1;
transform: translateY(-50%) scale(1.05);
}
100% {
opacity: 1;
transform: translateY(-50%) scale(1);
}
}
.tree-item-self {
padding: var(--nav-item-padding);
margin-bottom: 1px;
display: flex;
align-items: baseline;
border-radius: var(--radius-s);
font-size: var(--nav-item-size);
font-weight: var(--nav-item-weight);
color: var(--nav-item-color);
}
.tree-item-self.mod-collapsible {
padding: var(--nav-item-parent-padding);
}
.tree-item-self.is-clickable {
cursor: var(--cursor);
}
@media (hover: hover) {
.tree-item-self.is-clickable:hover {
background-color: var(--nav-item-background-hover);
color: var(--nav-item-color-hover);
font-weight: var(--nav-item-weight-hover);
}
}
.tree-item-self .tree-item-icon {
display: flex;
align-items: center;
padding-inline-end: var(--size-2-3);
opacity: var(--icon-opacity);
color: var(--icon-color);
flex: 0 0 auto;
}
.tree-item-self .tree-item-icon .svg-icon:not(.right-triangle) {
--icon-size: var(--icon-s);
--icon-stroke: var(--icon-s-stroke-width);
}
.tree-item-flair-outer {
flex: 0 0 auto;
margin-left: var(--size-4-1);
display: flex;
align-items: center;
}
.tree-item-flair {
font-size: var(--font-ui-smaller);
color: var(--text-faint);
line-height: 1;
border-radius: var(--radius-s);
}
.tree-item-self:hover .tree-item-flair {
color: var(--text-muted);
}
.tree-item-inner {
flex: 1 1 auto;
line-height: var(--line-height-tight);
}
.tree-item-inner-subtext {
color: var(--text-faint);
font-size: 85%;
}
.tree-item-children {
padding-left: var(--nav-item-children-padding-left);
margin-left: var(--nav-item-children-margin-left);
margin-bottom: 1px;
border-left: var(--nav-indentation-guide-width) solid var(--nav-indentation-guide-color);
}
audio {
outline: none;
}
.markdown-rendered audio {
max-width: 100%;
outline: none;
}
audio {
width: 100%;
height: 42px;
}
audio::-webkit-media-controls-enclosure {
border-radius: calc(var(--radius-m) - 1px);
border: 1px solid var(--background-modifier-border);
background-color: var(--background-primary-alt);
}
audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display {
font-family: var(--font-interface);
}
iframe {
border: 0;
}
kbd {
color: var(--code-normal);
font-family: var(--font-monospace);
background-color: var(--code-background);
border-radius: var(--radius-s);
font-size: var(--code-size);
padding: 0.1em 0.25em;
}
.workspace-leaf-content[data-type=pdf] .view-content {
padding: 0;
overflow: hidden;
}
.pdf-container {
height: 100%;
padding: 0 10px;
position: relative;
}
.pdf-scroll-container {
overflow-y: auto;
height: 100%;
}
.pdf-canvas {
width: 100%;
margin: 6px 0;
}
.pdf-controls {
position: absolute;
top: 30px;
left: calc(50% - 50px);
height: 30px;
background-color: var(--background-secondary);
opacity: 0;
border-radius: 6px;
box-shadow: inset 8px 0 8px -10px var(--background-modifier-box-shadow);
transition: opacity 200ms ease-in-out;
text-align: center;
font-size: var(--font-ui-medium);
line-height: 30px;
padding: 0 30px;
}
.pdf-controls.mod-visible {
opacity: 0.75;
}
@media (hover: hover) {
.pdf-container:hover .pdf-controls {
opacity: 0.75;
}
.pdf-container:hover .pdf-controls:hover {
opacity: 0.9;
}
}
.pdf-controls-pager {
position: absolute;
top: 3px;
cursor: var(--cursor);
}
.pdf-controls-pager.mod-previous {
left: 8px;
}
.pdf-controls-pager.mod-next {
right: 8px;
}
.markdown-rendered video {
max-width: 100%;
outline: none;
}
.markdown-rendered blockquote {
color: var(--blockquote-color);
font-style: var(--blockquote-font-style);
background-color: var(--blockquote-background-color);
border-left: var(--blockquote-border-thickness) solid var(--blockquote-border-color);
padding: 0 0 0 var(--size-4-6);
margin-inline-start: 0;
margin-inline-end: 0;
}
.markdown-rendered blockquote > :first-child {
margin-top: 0;
}
.markdown-rendered blockquote > :last-child {
margin-bottom: 0;
}
.cm-s-obsidian span.cm-quote {
color: var(--blockquote-color);
}
.cm-s-obsidian span.cm-formatting-quote {
color: var(--text-faint);
}
.cm-s-obsidian .hmd-inactive-line span.cm-formatting-quote {
color: transparent;
}
.markdown-source-view.mod-cm6.is-live-preview .HyperMD-quote:before,
.markdown-source-view.mod-cm6 .cm-blockquote-border:before {
content: "\200b";
display: block;
width: 1px;
border-left: var(--blockquote-border-thickness) solid var(--blockquote-border-color);
color: transparent;
position: absolute;
top: 0;
bottom: 0;
}
.markdown-source-view.mod-cm6.is-live-preview .HyperMD-quote {
font-style: var(--blockquote-style);
background-color: var(--blockquote-background-color);
}
.markdown-source-view.mod-cm6.is-live-preview .HyperMD-quote:before {
left: 0;
}
.markdown-source-view.mod-cm6 .cm-blockquote-border {
display: inline-block;
}
.callout {
--callout-color: var(--callout-default);
--callout-icon: lucide-pencil;
}
.callout[data-callout="abstract"],
.callout[data-callout="summary"],
.callout[data-callout="tldr"] {
--callout-color: var(--callout-summary);
--callout-icon: lucide-clipboard-list;
}
.callout[data-callout="info"] {
--callout-color: var(--callout-info);
--callout-icon: lucide-info;
}
.callout[data-callout="todo"] {
--callout-color: var(--callout-todo);
--callout-icon: lucide-check-circle-2;
}
.callout[data-callout="important"] {
--callout-color: var(--callout-important);
--callout-icon: lucide-flame;
}
.callout[data-callout="tip"],
.callout[data-callout="hint"] {
--callout-color: var(--callout-tip);
--callout-icon: lucide-flame;
}
.callout[data-callout="success"],
.callout[data-callout="check"],
.callout[data-callout="done"] {
--callout-color: var(--callout-success);
--callout-icon: lucide-check;
}
.callout[data-callout="question"],
.callout[data-callout="help"],
.callout[data-callout="faq"] {
--callout-color: var(--callout-question);
--callout-icon: help-circle;
}
.callout[data-callout="warning"],
.callout[data-callout="caution"],
.callout[data-callout="attention"] {
--callout-color: var(--callout-warning);
--callout-icon: lucide-alert-triangle;
}
.callout[data-callout="failure"],
.callout[data-callout="fail"],
.callout[data-callout="missing"] {
--callout-color: var(--callout-fail);
--callout-icon: lucide-x;
}
.callout[data-callout="danger"],
.callout[data-callout="error"] {
--callout-color: var(--callout-error);
--callout-icon: lucide-zap;
}
.callout[data-callout="bug"] {
--callout-color: var(--callout-bug);
--callout-icon: lucide-bug;
}
.callout[data-callout="example"] {
--callout-color: var(--callout-example);
--callout-icon: lucide-list;
}
.callout[data-callout="quote"],
.callout[data-callout="cite"] {
--callout-color: var(--callout-quote);
--callout-icon: quote-glyph;
}
.callout {
overflow: hidden;
border-style: solid;
border-color: rgba(var(--callout-color), var(--callout-border-opacity));
border-width: var(--callout-border-width);
border-radius: var(--callout-radius);
margin: 1em 0;
mix-blend-mode: var(--callout-blend-mode);
background-color: rgba(var(--callout-color), 0.1);
padding: var(--callout-padding);
}
.callout.is-collapsible .callout-title {
cursor: var(--cursor);
}
.callout-title {
padding: var(--callout-title-padding);
display: flex;
gap: var(--size-4-1);
font-size: var(--callout-title-size);
color: rgb(var(--callout-color));
line-height: var(--line-height-tight);
}
.callout-content {
overflow-x: auto;
padding: var(--callout-content-padding);
background-color: var(--callout-content-background);
}
.callout-icon {
flex: 0 0 auto;
display: flex;
margin-top: 0.15em;
align-self: flex-start;
}
.callout-icon .svg-icon {
color: rgb(var(--callout-color));
}
.callout-title-inner {
font-weight: var(--bold-weight);
color: var(--callout-title-color);
}
.callout-fold {
display: flex;
margin-top: 0.15em;
align-self: flex-start;
padding-right: var(--size-4-2);
}
.callout-fold .svg-icon {
transition: transform 100ms ease-in-out;
}
.callout.is-collapsed .callout-fold .svg-icon {
transform: rotate(-90deg);
}
.markdown-source-view.mod-cm6 .callout {
margin: 0;
}
.markdown-rendered code {
color: var(--code-normal);
font-family: var(--font-monospace);
background-color: var(--code-background);
border-radius: var(--radius-s);
font-size: var(--code-size);
padding: 0.1em 0.25em;
}
.cm-s-obsidian span.cm-inline-code {
color: var(--code-normal);
font-size: var(--code-size);
background-color: var(--code-background);
vertical-align: baseline;
}
.cm-s-obsidian span.cm-inline-code span.cm-inline-code.cm-hmd-indented-code {
background-color: transparent;
}
.cm-s-obsidian span.cm-inline-code span.cm-inline-code:not(.cm-formatting):not(.cm-hmd-indented-code):not(.obsidian-search-match-highlight) {
background-color: var(--code-background);
vertical-align: baseline;
}
.cm-s-obsidian span.cm-inline-code span.cm-inline-code.hmd-hidden-token {
font-size: 0;
}
.cm-s-obsidian span.cm-inline-code.CodeMirror div.HyperMD-hover > .HyperMD-hover-content code {
display: inline-block;
font-size: var(--code-size);
border: 1px solid #999;
border-radius: 2px;
padding: 0px 4px;
}
.markdown-rendered pre {
position: relative;
padding: var(--size-4-2) var(--size-4-4);
min-height: 38px;
background-color: var(--code-background);
border-radius: var(--radius-s);
white-space: var(--code-white-space);
overflow-x: auto;
}
.markdown-rendered pre code {
border: none;
padding: 0;
background-color: transparent;
}
.markdown-rendered pre:not(:hover) > button.copy-code-button {
display: none;
}
.markdown-rendered button.copy-code-button {
margin: 6px;
padding: 6px 8px;
height: auto;
background-color: transparent;
box-shadow: none;
color: var(--text-muted);
font-size: var(--font-ui-smaller);
font-family: var(--font-interface);
position: absolute;
top: 0;
right: 0;
}
@media (hover: hover) {
.markdown-rendered button.copy-code-button:hover {
background-color: var(--background-modifier-hover);
}
}
.markdown-source-view.mod-cm6 .cm-preview-code-block pre {
margin: 0;
}
.markdown-source-view.mod-cm6 .code-block-flair {
position: absolute;
right: 6px;
top: 6px;
z-index: 1;
display: inline-block;
padding: var(--size-4-1) var(--size-4-2);
border-radius: var(--radius-s);
font-family: var(--font-interface);
font-size: var(--font-ui-smaller);
color: var(--text-muted);
cursor: var(--cursor);
}
@media (hover: hover) {
.markdown-source-view.mod-cm6 .code-block-flair:hover {
background-color: var(--background-modifier-hover);
}
}
.markdown-source-view.mod-cm6 .cm-line.HyperMD-codeblock {
padding-left: var(--size-4-4);
color: var(--code-normal);
}
.cm-s-obsidian .HyperMD-codeblock {
font-family: var(--font-monospace);
font-size: var(--code-size);
}
.cm-s-obsidian .HyperMD-codeblock-begin,
.cm-s-obsidian .HyperMD-codeblock-end {
color: var(--code-normal);
}
.cm-s-obsidian .HyperMD-codeblock span.cm-inline-code {
background-color: inherit;
border: inherit;
padding: inherit;
font-size: inherit;
}
.cm-s-obsidian div.HyperMD-codeblock-bg {
left: 0;
right: 0;
background-color: var(--code-background);
}
.cm-s-obsidian div.HyperMD-codeblock-begin-bg {
border-top-left-radius: 4px;
border-top-right-radius: 4px;
}
.cm-s-obsidian div.HyperMD-codeblock-end-bg {
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
}
.cm-s-obsidian div.HyperMD-codeblock-begin-bg,
.cm-s-obsidian div.HyperMD-codeblock-end-bg {
background-color: var(--code-background);
}
code[class*="language-"],
pre[class*="language-"] {
color: var(--code-normal);
background: none;
word-wrap: break-word;
white-space: pre-wrap;
word-break: normal;
font-family: var(--font-monospace);
text-align: left;
word-spacing: normal;
line-height: var(--line-height-normal);
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}
@media print {
code[class*="language-"],
pre[class*="language-"] {
text-shadow: none;
}
}
:not(pre) > code[class*="language-"],
pre[class*="language-"] {
background: var(--code-background);
}
/* Code blocks */
pre[class*="language-"] {
overflow: hidden;
}
code[class*="language-"] {
display: block;
padding: 1em;
overflow: auto;
}
/* Inline code */
:not(pre) > code[class*="language-"] {
padding: 0.1em;
border-radius: 0.3em;
white-space: normal;
}
.token.important,
.token.bold {
font-weight: bold;
}
.token.italic {
font-style: italic;
}
.token.entity {
cursor: help;
}
/* Syntax highlighting */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: var(--code-comment);
}
.token.namespace {
opacity: 0.7;
}
.token.tag,
.token.constant,
.token.symbol,
.token.deleted {
color: var(--code-tag);
}
.token.punctuation {
color: var(--code-punctuation);
}
.token.boolean,
.token.number {
color: var(--code-value);
}
.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.inserted {
color: var(--code-string);
}
.token.operator {
color: var(--code-operator);
}
.token.entity,
.token.parameter,
.token.property,
.token.url,
.language-css .token.string,
.style .token.string,
.token.variable {
color: var(--code-property);
}
.token.atrule,
.token.attr-value,
.token.builtin,
.token.function,
.token.class-name,
.token.property-access {
color: var(--code-function);
}
.token.keyword {
color: var(--code-keyword);
}
.token.regex,
.token.important {
color: var(--code-important);
}
.cm-inline-code,
.cm-math {
color: var(--code-normal);
}
.cm-comment,
.cm-meta {
color: var(--code-comment);
}
.cm-tag {
color: var(--code-tag);
}
.cm-punctuation,
.cm-bracket,
.cm-hr {
color: var(--code-punctuation);
}
.cm-number {
color: var(--code-value);
}
.cm-qualifier,
.cm-string,
.cm-string-2 {
color: var(--code-string);
}
.cm-operator {
color: var(--code-operator);
}
.cm-link,
.cm-variable,
.cm-variable-2,
.cm-variable-3 {
color: var(--code-property);
}
.cm-builtin,
.cm-property,
.cm-attribute,
.cm-type {
color: var(--code-function);
}
.cm-keyword {
color: var(--code-keyword);
}
.markdown-preview-view .markdown-embed .markdown-preview-view {
--file-folding-offset: 0px;
height: 100%;
padding: 0;
}
.markdown-preview-view .markdown-embed .markdown-preview-view .markdown-preview-pusher h1,
.markdown-preview-view .markdown-embed .markdown-preview-view .markdown-preview-pusher h2,
.markdown-preview-view .markdown-embed .markdown-preview-view .markdown-preview-pusher h3,
.markdown-preview-view .markdown-embed .markdown-preview-view .markdown-preview-pusher h4,
.markdown-preview-view .markdown-embed .markdown-preview-view .markdown-preview-pusher h5,
.markdown-preview-view .markdown-embed .markdown-preview-view .markdown-preview-pusher h6 {
margin-top: 0;
}
.pdf-embed,
.markdown-source-view .pdf-embed {
width: 100%;
height: 800px;
}
.markdown-embed,
.file-embed {
position: relative;
}
.markdown-embed-link,
.file-embed-link {
position: absolute;
top: 4px;
right: 4px;
color: var(--icon-color);
opacity: var(--icon-opacity);
cursor: var(--cursor-link);
padding: var(--size-2-2);
border-radius: var(--radius-s);
display: flex;
align-items: center;
--icon-size: var(--icon-s);
--icon-stroke: var(--icon-s-stroke-width);
}
@media (hover: hover) {
.markdown-embed-link:hover,
.file-embed-link:hover {
color: var(--icon-color-hover);
opacity: var(--icon-opacity-hover);
background: var(--background-modifier-hover);
}
}
.file-embed-title {
display: flex;
align-items: center;
justify-content: center;
gap: var(--size-4-2);
}
.file-embed-icon {
color: var(--text-muted);
display: flex;
}
.file-embed {
display: flex;
justify-content: center;
border-radius: var(--radius-m);
background-color: var(--background-primary-alt);
}
.file-embed.mod-generic,
.file-embed.mod-empty {
cursor: var(--cursor-link);
padding: var(--size-4-2);
color: var(--text-muted);
text-align: center;
font-size: var(--font-smaller);
}
@media (hover: hover) {
.file-embed.mod-generic:hover,
.file-embed.mod-empty:hover {
color: var(--text-normal);
background-color: var(--background-secondary);
}
}
.markdown-embed-content {
height: 100%;
}
.embed-title {
align-items: center;
display: flex;
gap: var(--size-4-1);
font-size: var(--font-text-size);
font-weight: var(--bold-weight);
text-align: left;
text-overflow: ellipsis;
white-space: nowrap;
padding: 0 0 var(--size-4-2) 0;
}
.markdown-embed {
font-style: var(--embed-font-style);
background-color: var(--embed-background);
border-top: var(--embed-border-top);
border-right: var(--embed-border-right);
border-bottom: var(--embed-border-bottom);
border-left: var(--embed-border-left);
margin: 0;
padding: var(--embed-padding);
}
.markdown-embed .markdown-preview-view {
padding: 0;
}
.internal-embed:not(.image-embed) {
display: block;
}
.internal-embed img:not([width]),
.internal-embed audio,
.internal-embed video {
max-width: 100%;
}
.inline-embed .markdown-embed-content {
height: fit-content;
max-height: var(--embed-max-height);
overflow: auto;
}
.inline-embed .markdown-embed-content p:first-child {
margin-top: 0;
}
.inline-embed .markdown-source-view.mod-cm6 .cm-editor {
min-height: unset;
}
.embed-iframe {
width: 100%;
height: 100%;
}
.markdown-source-view.mod-cm6 .internal-embed {
white-space: normal;
}
.markdown-source-view.mod-cm6 .cm-embed-block {
position: relative;
white-space: normal;
overflow-wrap: normal;
word-break: normal;
}
@media (hover: hover) {
.markdown-source-view.mod-cm6 .cm-embed-block:hover {
box-shadow: var(--embed-block-shadow-hover);
border-radius: var(--radius-s);
overflow: hidden;
cursor: text;
}
.markdown-source-view.mod-cm6 .cm-embed-block:hover .edit-block-button {
opacity: 1;
}
.markdown-source-view.mod-cm6 .cm-embed-block:hover .edit-block-button:hover {
background-color: var(--background-modifier-hover);
}
}
.markdown-source-view.mod-cm6 .cm-embed-block pre {
margin: 0;
}
.markdown-source-view.mod-inside-iframe > .cm-editor > .cm-scroller {
flex-direction: column;
padding: 0 var(--size-4-4);
}
.markdown-source-view.mod-inside-iframe > .cm-editor > .cm-scroller::before,
.markdown-source-view.mod-inside-iframe > .cm-editor > .cm-scroller::after {
content: " ";
display: block;
min-height: min(calc(10vh - 3px), var(--size-4-4));
max-height: var(--size-4-4);
flex: 1 1 0;
}
.markdown-source-view.mod-inside-iframe > .cm-editor > .cm-scroller > .cm-sizer {
min-height: unset;
flex: 1 0 0;
}
.footnote-link {
text-decoration: none;
}
.footnotes {
font-size: var(--footnote-size);
}
.footnote-ref {
vertical-align: top;
}
.footnote-backref {
color: var(--text-faint);
text-decoration: none;
}
@media (hover: hover) {
.footnote-backref:hover {
color: var(--text-accent);
text-decoration: none;
}
}
.cm-s-obsidian .cm-line.HyperMD-footnote {
font-size: var(--footnote-size);
padding-left: 8px;
}
.cm-s-obsidian .cm-line.HyperMD-footnote span.cm-hmd-footnote {
color: var(--text-faint);
cursor: text;
}
.cm-s-obsidian .cm-line.HyperMD-footnote span.cm-hmd-footnote .cm-underline {
text-decoration: none;
}
@media (hover: hover) {
.cm-s-obsidian .cm-line.HyperMD-footnote span.cm-hmd-footnote:hover {
color: var(--text-accent);
}
}
.markdown-preview-view:not(.show-frontmatter) .frontmatter-container {
display: none;
}
.markdown-rendered .frontmatter.mod-failed {
position: relative;
}
.markdown-rendered .frontmatter.mod-failed .mod-error {
color: var(--text-error);
font-size: var(--font-smaller);
}
.markdown-rendered .frontmatter.mod-failed:after {
content: '';
position: absolute;
top: 0;
right: 0;
width: 100%;
height: 100%;
background-color: var(--background-modifier-error);
opacity: 0.3;
mix-blend-mode: var(--highlight-mix-blend-mode);
}
.frontmatter-container {
padding: var(--size-4-2) 0 var(--size-4-4);
color: var(--text-muted);
position: relative;
/*.tag,
.frontmatter-alias {
text-decoration: none;
background-color: var(--background-secondary);
border-radius: 30px;
color: var(--text-muted);
padding: var(--size-2-2) var(--size-4-2);
line-height: 1;
white-space: nowrap;
}
*/
}
.markdown-embed-content .frontmatter-container {
display: none;
}
.frontmatter-container.is-collapsed .frontmatter-section {
display: none;
}
.frontmatter-container .frontmatter-collapse-indicator {
margin-right: 6px;
align-self: center;
display: none;
}
.frontmatter-container .frontmatter-container-header {
color: var(--text-normal);
font-size: var(--font-smaller);
user-select: none;
-webkit-user-select: none;
cursor: var(--cursor);
font-weight: var(--font-medium);
display: flex;
content: 'Metadata';
border-bottom: 1px solid var(--background-modifier-border);
padding-bottom: var(--size-4-2);
margin-bottom: var(--size-4-2);
}
.frontmatter-container.is-collapsed .frontmatter-container-header {
color: var(--text-faint);
}
@media (hover: hover) {
.frontmatter-container.is-collapsed .frontmatter-container-header:hover {
color: var(--text-muted);
}
}
.frontmatter-container .frontmatter-section-label {
padding-right: 0.5em;
flex-basis: 4em;
flex-shrink: 0;
font-size: var(--font-smaller);
text-transform: capitalize;
}
.frontmatter-container .frontmatter-alias {
font-size: var(--font-smaller);
color: var(--text-normal);
cursor: default;
display: inline-flex;
align-items: center;
line-height: 1;
white-space: nowrap;
padding-right: 4px;
}
.frontmatter-container .frontmatter-alias-icon {
margin-right: var(--size-2-1);
color: var(--text-accent);
display: flex;
align-items: center;
}
.frontmatter-container .frontmatter-alias-icon .svg-icon {
width: 12px;
height: 12px;
stroke-width: 2.5px;
}
.frontmatter-container .frontmatter-section {
display: flex;
align-items: center;
margin-bottom: var(--size-2-3);
}
.frontmatter-container .frontmatter-section:last-child {
margin-bottom: 0;
}
.frontmatter-container .frontmatter-section-data {
display: inline-flex;
flex-wrap: wrap;
align-items: center;
gap: var(--size-2-2);
}
/* Edit mode */
.cm-hmd-frontmatter {
font-size: var(--font-smaller);
color: var(--text-muted);
}
.cm-hmd-frontmatter.cm-hmd-frontmatter.cm-def {
color: var(--text-muted);
}
.markdown-rendered h1,
.markdown-rendered h2,
.markdown-rendered h3,
.markdown-rendered h4,
.markdown-rendered h5,
.markdown-rendered h6 {
margin: 15px 0;
}
.markdown-rendered li h1,
.markdown-rendered li h2,
.markdown-rendered li h3,
.markdown-rendered li h4,
.markdown-rendered li h5 {
margin-top: 0;
margin-bottom: 0;
}
h1,
.markdown-rendered h1 {
font-variant: var(--h1-variant);
letter-spacing: -0.015em;
line-height: var(--h1-line-height);
font-size: var(--h1-size);
color: var(--h1-color);
font-weight: var(--h1-weight);
font-style: var(--h1-style);
font-family: var(--h1-font);
}
h1 a,
.markdown-rendered h1 a {
font-weight: inherit;
}
h2,
.markdown-rendered h2 {
font-variant: var(--h2-variant);
letter-spacing: -0.015em;
line-height: var(--h2-line-height);
font-size: var(--h2-size);
color: var(--h2-color);
font-weight: var(--h2-weight);
font-style: var(--h2-style);
font-family: var(--h2-font);
}
h2 a,
.markdown-rendered h2 a {
font-weight: inherit;
}
h3,
.markdown-rendered h3 {
font-variant: var(--h3-variant);
letter-spacing: -0.015em;
line-height: var(--h3-line-height);
font-size: var(--h3-size);
color: var(--h3-color);
font-weight: var(--h3-weight);
font-style: var(--h3-style);
font-family: var(--h3-font);
}
h3 a,
.markdown-rendered h3 a {
font-weight: inherit;
}
h4,
.markdown-rendered h4 {
font-variant: var(--h4-variant);
letter-spacing: 0.01em;
line-height: var(--h4-line-height);
font-size: var(--h4-size);
color: var(--h4-color);
font-weight: var(--h4-weight);
font-style: var(--h4-style);
font-family: var(--h4-font);
}
h4 a,
.markdown-rendered h4 a {
font-weight: inherit;
}
h5,
.markdown-rendered h5 {
font-variant: var(--h5-variant);
letter-spacing: 0.015em;
font-size: var(--h5-size);
line-height: var(--h5-line-height);
color: var(--h5-color);
font-weight: var(--h5-weight);
font-style: var(--h5-style);
font-family: var(--h5-font);
}
h5 a,
.markdown-rendered h5 a {
font-weight: inherit;
}
h6,
.markdown-rendered h6 {
font-variant: var(--h6-variant);
letter-spacing: 0.015em;
font-size: var(--h6-size);
line-height: var(--h6-line-height);
color: var(--h6-color);
font-weight: var(--h6-weight);
font-style: var(--h6-style);
font-family: var(--h6-font);
}
h6 a,
.markdown-rendered h6 a {
font-weight: inherit;
}
.cm-formatting-header {
color: var(--text-faint);
}
.cm-s-obsidian .HyperMD-header {
padding-bottom: 0.25em;
}
.HyperMD-header-1,
.inline-title[data-level='1'],
.HyperMD-list-line .cm-header-1 {
font-variant: var(--h1-variant);
letter-spacing: -0.015em;
line-height: var(--h1-line-height);
font-size: var(--h1-size);
color: var(--h1-color);
font-weight: var(--h1-weight);
font-style: var(--h1-style);
font-family: var(--h1-font);
}
.HyperMD-header-1 a,
.inline-title[data-level='1'] a,
.HyperMD-list-line .cm-header-1 a {
font-weight: inherit;
}
.HyperMD-header-2,
.inline-title[data-level='2'],
.HyperMD-list-line .cm-header-2 {
font-variant: var(--h2-variant);
letter-spacing: -0.015em;
line-height: var(--h2-line-height);
font-size: var(--h2-size);
color: var(--h2-color);
font-weight: var(--h2-weight);
font-style: var(--h2-style);
font-family: var(--h2-font);
}
.HyperMD-header-2 a,
.inline-title[data-level='2'] a,
.HyperMD-list-line .cm-header-2 a {
font-weight: inherit;
}
.HyperMD-header-3,
.inline-title[data-level='3'],
.HyperMD-list-line .cm-header-3 {
font-variant: var(--h3-variant);
letter-spacing: -0.015em;
line-height: var(--h3-line-height);
font-size: var(--h3-size);
color: var(--h3-color);
font-weight: var(--h3-weight);
font-style: var(--h3-style);
font-family: var(--h3-font);
}
.HyperMD-header-3 a,
.inline-title[data-level='3'] a,
.HyperMD-list-line .cm-header-3 a {
font-weight: inherit;
}
.HyperMD-header-4,
.inline-title[data-level='4'],
.HyperMD-list-line .cm-header-4 {
font-variant: var(--h4-variant);
letter-spacing: 0.015em;
line-height: var(--h4-line-height);
font-size: var(--h4-size);
color: var(--h4-color);
font-weight: var(--h4-weight);
font-style: var(--h4-style);
font-family: var(--h4-font);
}
.HyperMD-header-4 a,
.inline-title[data-level='4'] a,
.HyperMD-list-line .cm-header-4 a {
font-weight: inherit;
}
.HyperMD-header-5,
.inline-title[data-level='5'],
.HyperMD-list-line .cm-header-5 {
font-variant: var(--h5-variant);
letter-spacing: 0.015em;
font-size: var(--h5-size);
line-height: var(--h5-line-height);
color: var(--h5-color);
font-weight: var(--h5-weight);
font-style: var(--h5-style);
font-family: var(--h5-font);
}
.HyperMD-header-5 a,
.inline-title[data-level='5'] a,
.HyperMD-list-line .cm-header-5 a {
font-weight: inherit;
}
.HyperMD-header-6,
.inline-title[data-level='6'],
.HyperMD-list-line .cm-header-6 {
font-variant: var(--h6-variant);
letter-spacing: 0.015em;
font-size: var(--h6-size);
line-height: var(--h6-line-height);
color: var(--h6-color);
font-weight: var(--h6-weight);
font-style: var(--h6-style);
font-family: var(--h6-font);
}
.HyperMD-header-6 a,
.inline-title[data-level='6'] a,
.HyperMD-list-line .cm-header-6 a {
font-weight: inherit;
}
.HyperMD-header .cm-header-1,
.HyperMD-header .cm-header-2,
.HyperMD-header .cm-header-3,
.HyperMD-header .cm-header-4,
.HyperMD-header .cm-header-5,
.HyperMD-header .cm-header-6 {
font-size: inherit !important;
}
hr {
border: none;
border-top: var(--hr-thickness) solid;
border-color: var(--hr-color);
margin: 1.5em 0;
}
.markdown-rendered hr {
border: none;
border-top: var(--hr-thickness) solid;
border-color: var(--hr-color);
}
.cm-s-obsidian .hmd-inactive-line.HyperMD-hr {
color: transparent;
background-color: transparent;
}
.markdown-source-view.mod-cm6 .hr {
display: flex;
align-items: center;
}
.markdown-source-view.mod-cm6 hr {
margin: 0;
flex: 1 0 0;
}
.cm-s-obsidian .hmd-fold-html-stub,
.cm-s-obsidian .hmd-fold-code-stub {
display: inline-block;
font-size: 67%;
color: #999;
vertical-align: middle;
border: 1px solid #999;
padding: 0 0.2em;
border-radius: 5px;
margin: 0 0.5em;
background-color: var(--background-primary-alt);
cursor: var(--cursor);
}
.cm-s-obsidian .hmd-fold-html-stub.omittable,
.cm-s-obsidian .omittable.hmd-fold-code-stub {
display: none;
}
.cm-s-obsidian .hmd-fold-html-stub:hover,
.cm-s-obsidian .hmd-fold-code-stub:hover,
.cm-s-obsidian .hmd-fold-html-stub.highlight,
.cm-s-obsidian .highlight.hmd-fold-code-stub {
color: #FFF;
border-color: #C30;
background: #F40;
}
.cm-s-obsidian .hmd-fold-html {
position: relative;
border: 1px solid #FFF;
}
@media (hover: hover) {
.cm-s-obsidian .hmd-fold-html:hover {
border: 1px dashed #999;
}
}
.cm-s-obsidian .hmd-fold-html:hover .hmd-fold-html-stub.omittable,
.cm-s-obsidian .hmd-fold-html:hover .omittable.hmd-fold-code-stub {
display: block;
right: 0;
bottom: 100%;
margin: 0;
position: absolute;
z-index: 100;
}
.markdown-preview-view img,
.markdown-rendered img {
-webkit-touch-callout: default;
image-rendering: -webkit-optimize-contrast;
}
.markdown-preview-view img:not([width]),
.markdown-rendered img:not([width]) {
max-width: 100%;
outline: none;
}
.cm-s-obsidian .CodeMirror-linewidget a > img,
.cm-s-obsidian .hmd-fold-html a > img {
border: 0;
}
.cm-s-obsidian img.hmd-image {
vertical-align: middle;
width: auto;
max-width: 100%;
height: auto;
}
.cm-s-obsidian img.hmd-image.hmd-image-loading,
.cm-s-obsidian img.hmd-image.hmd-image-error {
min-width: 24px;
min-height: 24px;
}
.markdown-source-view.mod-cm6 .cm-line .internal-embed.image-embed {
display: inline;
}
.internal-query {
margin: 0;
border-top: 1px solid var(--background-modifier-border);
}
.internal-query .search-result-container {
padding: var(--size-4-2);
max-height: 800px;
overflow: auto;
border: 1px solid var(--background-modifier-border);
background-color: var(--background-secondary);
border-radius: var(--radius-m);
}
.internal-query .internal-query-header {
text-align: center;
padding: var(--size-4-3) 0 var(--size-4-3) var(--size-4-1);
color: var(--text-normal);
display: flex;
justify-content: flex-start;
align-items: center;
}
.internal-query .internal-query-header-icon {
color: var(--text-faint);
margin-right: var(--size-4-1);
display: flex;
}
.internal-query .internal-query-header-title {
font-weight: var(--font-medium);
}
.internal-query .internal-query-header-title:before,
.internal-query .internal-query-header-title:after {
content: '"';
}
/* Default markers */
ul ul,
ol ul,
ol ol ul,
ol ul ul,
ul ol ul,
ul ul ul {
list-style-type: disc;
}
ol {
list-style-type: var(--list-numbered-style);
}
ol > li::marker,
ul > li::marker {
color: var(--list-marker-color);
}
ol > li.is-collapsed::marker,
ul > li.is-collapsed::marker {
color: var(--list-marker-color-collapsed);
}
/* Indent depth
Consistency in horizontal positioning of lists
*/
.markdown-rendered ul,
.markdown-rendered ol {
padding-inline-start: var(--list-indent);
}
/* Space between list items */
.markdown-rendered ol > li,
.markdown-rendered ul > li {
padding-top: var(--list-spacing);
padding-bottom: var(--list-spacing);
}
.cm-formatting-list-ol {
font-variant-numeric: tabular-nums;
}
.cm-s-obsidian .cm-formatting-list {
color: var(--list-marker-color);
}
.cm-s-obsidian .is-collapsed ~ .cm-formatting-list {
color: var(--list-marker-color-collapsed);
}
/* Indent depth
Consistency in horizontal positioning of lists
*/
.cm-line.HyperMD-list-line {
tab-size: var(--list-indent);
}
.markdown-source-view.mod-cm6 .cm-content > .cm-line.HyperMD-list-line {
margin-left: 0.5em;
}
/* Space between list items */
.markdown-source-view ol > li,
.markdown-source-view ul > li,
.markdown-preview-view ol > li,
.markdown-preview-view ul > li,
.mod-cm6 .HyperMD-list-line.cm-line {
padding-top: var(--list-spacing);
padding-bottom: var(--list-spacing);
}
/* Allow clicking on the bullet to collapse */
/* #todo move this into folding.less */
.markdown-rendered .list-collapse-indicator {
margin-left: -3em;
padding-right: 2em;
}
.markdown-rendered .list-bullet {
float: left;
margin-left: -1em;
}
.markdown-rendered .task-list-item > .list-bullet {
display: none;
}
/* Remove default bullets so we can replace them */
.markdown-rendered ul.has-list-bullet {
list-style-type: '\200B';
}
.markdown-rendered ul.has-list-bullet > li::marker {
color: transparent;
}
.markdown-rendered ul.has-list-bullet li p:first-of-type {
margin-block-start: 0;
}
.markdown-rendered ul.has-list-bullet li p:last-of-type {
margin-block-end: 0;
}
.list-bullet {
/* hide bullet when editing the marker */
color: transparent;
position: relative;
display: inline-flex;
justify-content: center;
align-items: center;
}
.list-bullet:before {
content: '\200B';
}
.list-bullet:after {
position: absolute;
content: '\200B';
pointer-events: none;
color: var(--list-marker-color);
border-radius: var(--list-bullet-radius);
width: var(--list-bullet-size);
height: var(--list-bullet-size);
border: var(--list-bullet-border);
transform: var(--list-bullet-transform);
background-color: var(--list-marker-color);
transition: transform 0.15s, box-shadow 0.15s;
}
@media (hover: hover) {
.list-collapse-indicator:hover ~ .list-bullet:after,
.cm-fold-indicator:hover ~ .list-bullet:after,
.list-collapse-indicator:hover ~ .cm-formatting-list .list-bullet:after,
.cm-fold-indicator:hover ~ .cm-formatting-list .list-bullet:after {
background-color: var(--list-marker-color-hover);
box-shadow: 0 0 0 4px var(--background-modifier-hover);
}
li.is-collapsed .list-collapse-indicator:hover ~ .list-bullet:after,
li.is-collapsed .cm-fold-indicator:hover ~ .list-bullet:after,
.list-collapse-indicator:hover.is-collapsed ~ .list-bullet:after,
.cm-fold-indicator:hover.is-collapsed ~ .list-bullet:after,
li.is-collapsed .list-collapse-indicator:hover ~ .cm-formatting-list .list-bullet:after,
li.is-collapsed .cm-fold-indicator:hover ~ .cm-formatting-list .list-bullet:after,
.list-collapse-indicator:hover.is-collapsed ~ .cm-formatting-list .list-bullet:after,
.cm-fold-indicator:hover.is-collapsed ~ .cm-formatting-list .list-bullet:after {
background-color: var(--list-marker-color-collapsed);
box-shadow: 0 0 0 4px var(--background-modifier-active-hover);
}
}
li.is-collapsed .list-bullet:after,
.is-collapsed ~ .cm-formatting-list .list-bullet:after {
background-color: var(--list-marker-color-collapsed);
box-shadow: 0 0 0 4px var(--background-modifier-active-hover);
}
/* Allow clicking on the bullet to collapse */
/* #todo move this into folding.less */
.markdown-source-view.mod-cm6 {
/* only allow this if line is not active, so that it's still editable */
}
.markdown-source-view.mod-cm6 .cm-fold-indicator .collapse-indicator {
padding-right: 0.5rem;
}
.markdown-source-view.mod-cm6 .cm-line:not(.cm-active):not(.HyperMD-header):not(.HyperMD-task-line) .cm-fold-indicator .collapse-indicator {
padding-right: 1em;
right: -0.5em;
}
@media (hover: hover) {
.list-collapse-indicator:hover ~ .list-bullet:after,
.cm-fold-indicator:hover ~ .list-bullet:after,
.list-collapse-indicator:hover ~ .cm-formatting-list .list-bullet:after,
.cm-fold-indicator:hover ~ .cm-formatting-list .list-bullet:after {
background-color: var(--list-marker-color-hover);
box-shadow: 0 0 0 4px var(--background-modifier-hover);
}
li.is-collapsed .list-collapse-indicator:hover ~ .list-bullet:after,
li.is-collapsed .cm-fold-indicator:hover ~ .list-bullet:after,
.list-collapse-indicator:hover.is-collapsed ~ .list-bullet:after,
.cm-fold-indicator:hover.is-collapsed ~ .list-bullet:after,
li.is-collapsed .list-collapse-indicator:hover ~ .cm-formatting-list .list-bullet:after,
li.is-collapsed .cm-fold-indicator:hover ~ .cm-formatting-list .list-bullet:after,
.list-collapse-indicator:hover.is-collapsed ~ .cm-formatting-list .list-bullet:after,
.cm-fold-indicator:hover.is-collapsed ~ .cm-formatting-list .list-bullet:after {
background-color: var(--list-marker-color-collapsed);
box-shadow: 0 0 0 4px var(--background-modifier-active-hover);
}
}
.cm-s-obsidian .HyperMD-list-line.HyperMD-list-line-nobullet {
padding-top: initial;
}
.markdown-source-view.mod-cm6 .cm-hmd-list-indent {
display: inline-block;
}
.markdown-source-view.mod-cm6 .cm-formatting-list-ul,
.markdown-source-view.mod-cm6 .cm-formatting-list-ol {
white-space: pre;
}
a {
color: var(--link-color);
outline: none;
text-decoration-line: var(--link-decoration);
text-decoration-thickness: var(--link-decoration-thickness);
cursor: var(--cursor-link);
}
@media (hover: hover) {
a:hover {
color: var(--link-color-hover);
text-decoration-line: var(--link-decoration-hover);
}
}
.external-link {
color: var(--link-external-color);
text-decoration-line: var(--link-external-decoration);
background-position: center right;
background-repeat: no-repeat;
background-image: linear-gradient(transparent, transparent), url(public/images/874d8b8e340f75575caa.svg);
background-size: 13px;
padding-right: 16px;
background-position-y: 4px;
cursor: var(--cursor-link);
filter: var(--link-external-filter);
}
@media (hover: hover) {
.external-link:hover {
color: var(--link-external-color-hover);
text-decoration-line: var(--link-external-decoration-hover);
}
}
.markdown-rendered .internal-link {
cursor: var(--cursor-link);
text-decoration-line: var(--link-decoration);
}
@media (hover: hover) {
.markdown-rendered .internal-link:hover {
text-decoration-line: var(--link-decoration-hover);
}
}
.markdown-rendered .internal-link.is-unresolved {
color: var(--link-unresolved-color);
opacity: var(--link-unresolved-opacity);
filter: var(--link-unresolved-filter);
text-decoration-style: var(--link-unresolved-decoration-style);
text-decoration-color: var(--link-unresolved-decoration-color);
}
@media (hover: hover) {
.markdown-rendered .internal-link.is-unresolved:hover {
opacity: 1;
color: var(--link-color-hover);
text-decoration-color: var(--link-color-hover);
text-decoration-line: var(--link-decoration-hover);
}
}
.cm-s-obsidian span.cm-hmd-internal-link {
color: var(--link-color);
}
.cm-s-obsidian span.cm-hmd-internal-link:hover {
text-decoration-line: var(--link-decoration-hover);
color: var(--link-color-hover);
}
.cm-s-obsidian span.cm-link {
color: var(--link-external-color);
word-break: break-word;
}
@media (hover: hover) {
.cm-s-obsidian span.cm-link:hover {
color: var(--link-external-color-hover);
text-decoration-line: var(--link-external-decoration-hover);
}
}
.cm-s-obsidian span.cm-formatting-link.cm-url,
.cm-s-obsidian span.cm-url {
color: var(--link-external-color);
text-decoration-line: var(--link-external-decoration);
filter: var(--link-external-filter);
word-break: break-all;
}
@media (hover: hover) {
.cm-s-obsidian span.cm-formatting-link.cm-url:hover,
.cm-s-obsidian span.cm-url:hover {
color: var(--link-external-color-hover);
text-decoration-line: var(--link-external-decoration-hover);
}
}
.cm-s-obsidian span.cm-formatting-link {
color: var(--text-faint);
}
.cm-s-obsidian span.hmd-link-icon {
width: 20px;
height: 16px;
display: inline-block;
vertical-align: middle;
opacity: 0.4;
}
@media (hover: hover) {
.cm-s-obsidian span.hmd-link-icon:hover {
opacity: 1;
}
}
.cm-s-obsidian span.hmd-link-icon:after {
content: "";
}
.markdown-source-view.mod-cm6 .is-unresolved {
color: var(--link-unresolved-color);
opacity: var(--link-unresolved-opacity);
filter: var(--link-unresolved-filter);
}
@media (hover: hover) {
.markdown-source-view.mod-cm6 .is-unresolved:hover {
opacity: 1;
color: var(--link-color-hover);
text-decoration-color: var(--link-color-hover);
}
}
.markdown-source-view.mod-cm6 .is-unresolved .cm-underline {
text-decoration-line: var(--link-decoration);
text-decoration-style: var(--link-unresolved-decoration-style);
text-decoration-color: var(--link-unresolved-decoration-color);
}
.markdown-source-view.mod-cm6 .cm-underline {
text-decoration-line: var(--link-decoration);
text-decoration-thickness: var(--link-decoration-thickness);
}
body.is-mobile .markdown-source-view.mod-cm6 .cm-underline {
-webkit-user-select: text;
}
.markdown-source-view.mod-cm6.is-live-preview .cm-hashtag.cm-meta,
.markdown-source-view.mod-cm6 .cm-hmd-internal-link .cm-underline,
.markdown-source-view.mod-cm6 .cm-link .cm-underline,
.markdown-source-view.mod-cm6 .cm-url .cm-underline {
cursor: var(--cursor-link);
}
@media (hover: hover) {
.markdown-source-view.mod-cm6 .cm-hmd-internal-link .cm-underline:hover {
text-decoration-line: var(--link-decoration-hover);
}
}
.markdown-source-view.mod-cm6 .cm-link .cm-underline,
.markdown-source-view.mod-cm6 .cm-url .cm-underline {
text-decoration-line: var(--link-external-decoration);
}
@media (hover: hover) {
.markdown-source-view.mod-cm6 .cm-link .cm-underline:hover,
.markdown-source-view.mod-cm6 .cm-url .cm-underline:hover {
color: var(--link-external-color-hover);
text-decoration-line: var(--link-external-decoration-hover);
}
}
.cm-s-obsidian.HyperMD-with-alt span.cm-url,
.cm-s-obsidian.HyperMD-with-alt span.cm-link,
.cm-s-obsidian.HyperMD-with-alt .cm-link + .CodeMirror-widget,
.cm-s-obsidian.HyperMD-with-alt span.cm-hashtag,
.cm-s-obsidian.HyperMD-with-ctrl span.cm-url,
.cm-s-obsidian.HyperMD-with-ctrl span.cm-link,
.cm-s-obsidian.HyperMD-with-ctrl .cm-link + .CodeMirror-widget,
.cm-s-obsidian.HyperMD-with-ctrl span.cm-hashtag {
cursor: var(--cursor-link);
}
.inline-block {
display: inline-block;
vertical-align: middle;
}
.hidden-token {
display: inline;
font-size: 1px !important;
letter-spacing: -1ch;
font-family: monospace;
color: transparent;
}
.cm-s-obsidian {
/* tooltip for addon/hover */
/* gutter for addon/click */
/* addon/fold */
/* addon/fold-emoji */
}
.cm-s-obsidian span.hmd-hidden-token.cm-formatting-em,
.cm-s-obsidian span.hmd-hidden-token.cm-formatting-strong,
.cm-s-obsidian span.hmd-hidden-token.cm-formatting-strikethrough,
.cm-s-obsidian span.hmd-hidden-token.cm-formatting-code,
.cm-s-obsidian span.hmd-hidden-token.cm-formatting-link {
display: inline;
font-size: 1px !important;
letter-spacing: -1ch;
font-family: monospace;
color: transparent;
}
.cm-s-obsidian div.HyperMD-hover > .HyperMD-hover-content {
background-color: #fff;
color: #000;
border: 1px solid #000;
padding: 0.5em;
}
.cm-s-obsidian div.HyperMD-hover > .HyperMD-hover-content p {
margin: 0.2em 0;
}
.cm-s-obsidian .HyperMD-goback {
width: 1px;
}
.cm-s-obsidian div.HyperMD-goback-button {
background-color: #ddd;
color: #333;
text-align: center;
cursor: var(--cursor);
}
.cm-s-obsidian .hmd-link-icon:after {
content: "🔗»";
color: #009;
text-shadow: 0 0 2px #69F;
}
.cm-s-obsidian img.hmd-emoji {
height: 1.2em;
vertical-align: middle;
}
.mod-cm5 .cm-s-obsidian .HyperMD-table-row > :last-child {
padding-right: 52px !important;
}
.cm-s-obsidian {
line-height: var(--line-height-normal);
}
.cm-s-obsidian .hmd-fold-html-stub,
.cm-s-obsidian .hmd-fold-code-stub,
.cm-s-obsidian.CodeMirror .HyperMD-hover > .HyperMD-hover-content code,
.cm-s-obsidian .cm-inline-code,
.cm-s-obsidian .HyperMD-codeblock,
.cm-s-obsidian .HyperMD-hr,
.cm-s-obsidian .cm-hmd-frontmatter,
.cm-s-obsidian .cm-hmd-orgmode-markup,
.cm-s-obsidian .cm-formatting-code,
.cm-s-obsidian .cm-math,
.cm-s-obsidian span.hmd-fold-math-placeholder,
.cm-s-obsidian .CodeMirror-linewidget kbd,
.cm-s-obsidian .hmd-fold-html kbd {
font-family: var(--font-monospace);
}
.cm-s-obsidian .CodeMirror-matchingbracket {
outline: 1px solid grey;
color: black !important;
}
.cm-s-obsidian .CodeMirror-linenumber {
color: var(--text-faint);
}
.cm-s-obsidian .CodeMirror-gutters {
padding-right: 5px;
}
.cm-s-obsidian .CodeMirror-line {
padding: 0 5px;
}
.cm-s-obsidian .CodeMirror-line * {
text-indent: 0;
}
.cm-s-obsidian .CodeMirror-code {
padding-right: 10px;
}
.cm-s-obsidian span.cm-hmd-toc {
font-size: 24pt;
color: #999;
}
.cm-s-obsidian .HyperMD-header-line {
color: var(--text-muted);
}
.cm-s-obsidian span.cm-hmd-escape-backslash {
color: #CAA;
}
.cm-s-obsidian span.cm-hmd-escape-char {
color: #666;
}
.cm-s-obsidian span.cm-footref,
.cm-s-obsidian span.cm-blockid {
display: inline-block;
font-size: var(--font-smallest);
vertical-align: text-top;
color: var(--text-muted);
margin-top: -0.2em;
}
.cm-s-obsidian .hmd-file-uploading {
outline: 2px dashed #CCC;
outline-offset: -2px;
animation: hmd-file-uploading-ani 1.5s linear infinite;
}
.cm-s-obsidian .hmd-file-uploaded {
outline: 2px solid #6C3;
outline-offset: -2px;
}
.cm-s-obsidian .HyperMD-goback {
width: 1px;
}
.cm-s-obsidian div.HyperMD-goback-button {
padding-right: 15px;
border-radius: 0 10px 10px 0;
display: inline-block;
text-align: center;
background-color: #8daed9;
color: #f7f7f7;
cursor: var(--cursor);
}
.cm-s-obsidian .hmd-fold-code-image {
text-align: center;
}
.cm-s-obsidian .HyperMD-header,
.cm-s-obsidian .HyperMD-footnote,
.cm-s-obsidian .HyperMD-codeblock,
.cm-s-obsidian .HyperMD-hr {
clear: left;
}
.cm-s-obsidian .cm-s-obsidian span.hmd-hidden-token.cm-formatting-task {
color: transparent !important;
}
.cm-s-obsidian .hmd-inactive-line span.cm-hmd-escape-backslash,
.cm-s-obsidian .hmd-inactive-line span.cm-formatting-header {
font-size: 0 !important;
display: inline;
}
.cm-s-obsidian .hmd-inactive-line span.cm-hmd-list-indent {
border-right: 0;
}
.cm-s-obsidian.CodeMirror div.HyperMD-hover > .HyperMD-hover-content {
background-color: #000;
background-color: rgba(0, 0, 0, 0.7);
border: 0;
color: #fff;
border-radius: 5px;
padding: 5px 10px;
font-size: 95%;
min-width: 200px;
}
.cm-s-obsidian.CodeMirror div.HyperMD-hover > .HyperMD-hover-content a {
color: inherit;
}
.cm-s-obsidian.CodeMirror div.HyperMD-hover > .HyperMD-hover-content p {
margin: 0.2em 0;
}
.cm-s-obsidian.CodeMirror div.HyperMD-hover > .HyperMD-hover-indicator {
content: " ";
display: block;
width: 0px;
margin-bottom: -5px;
border: 5px solid transparent;
border-top-color: #000;
border-top-color: rgba(0, 0, 0, 0.7);
}
@keyframes hmd-file-uploading-ani {
0%,
100% {
opacity: 0.4;
}
50% {
opacity: 0.7;
}
}
@media (hover: hover) {
.cm-s-obsidian div.HyperMD-goback-button:hover {
color: transparent;
text-align: left;
}
.cm-s-obsidian div.HyperMD-goback-button:hover:before {
position: absolute;
padding-left: 5px;
content: "Back";
color: #f7f7f7;
}
}
mjx-container {
outline: none;
}
.cm-s-obsidian {
/* addon/fold-math */
}
.cm-s-obsidian .hmd-fold-math {
display: inline-block;
vertical-align: middle;
}
.cm-s-obsidian .hmd-fold-math.hmd-fold-math.math-2 {
width: 100%;
}
.cm-s-obsidian span.cm-math,
.cm-s-obsidian span.hmd-fold-math-placeholder {
font-style: italic;
}
.cm-s-obsidian span.cm-formatting-math {
color: var(--text-accent);
font-weight: inherit;
}
.cm-s-obsidian span.cm-math-2 {
font-size: 13.2pt;
}
.markdown-source-view.mod-cm6 .math-block > mjx-container {
margin: 0;
padding: 1em 0;
overflow-x: auto;
}
/* Tables */
.markdown-rendered table {
border-collapse: collapse;
margin-block-start: 1em;
margin-block-end: 1em;
}
.markdown-rendered td,
.markdown-rendered th {
padding: var(--size-2-2) var(--size-4-2);
border: var(--table-border-width) solid var(--table-border-color);
max-width: var(--table-column-max-width);
}
.markdown-rendered td {
font-size: var(--table-text-size);
color: var(--table-text-color);
}
.markdown-rendered th {
font-size: var(--table-header-size);
font-weight: var(--table-header-weight);
color: var(--table-header-color);
font-family: var(--table-header-font);
text-align: left;
line-height: var(--line-height-tight);
}
.markdown-rendered th[align="center"] {
text-align: center;
}
.markdown-rendered th[align="right"] {
text-align: right;
}
.markdown-rendered thead > tr > th,
.markdown-rendered tbody > tr > td {
white-space: var(--table-white-space);
text-overflow: ellipsis;
overflow: hidden;
}
.markdown-rendered tbody tr {
background-color: var(--table-background);
}
@media (hover: hover) {
.markdown-rendered tbody tr:hover {
background-color: var(--table-row-background-hover);
}
}
.markdown-rendered tbody tr:nth-child(odd) {
background-color: var(--table-row-alt-background);
}
@media (hover: hover) {
.markdown-rendered tbody tr:nth-child(odd):hover {
background-color: var(--table-row-background-hover);
}
}
.markdown-rendered tbody tr > td:nth-child(2n+2) {
background-color: var(--table-column-alt-background);
}
.markdown-rendered tbody tr:last-child > td {
border-bottom-width: var(--table-row-last-border-width);
}
.markdown-rendered tbody tr > td:first-child {
border-left-width: var(--table-column-first-border-width);
}
.markdown-rendered tbody tr > td:last-child {
border-right-width: var(--table-column-last-border-width);
}
.markdown-rendered thead tr {
background-color: var(--table-header-background);
}
@media (hover: hover) {
.markdown-rendered thead tr:hover {
background-color: var(--table-header-background-hover);
}
}
.markdown-rendered thead tr > th {
border-width: var(--table-header-border-width);
border-color: var(--table-header-border-color);
}
.markdown-rendered thead tr > th:nth-child(2n+2) {
background-color: var(--table-column-alt-background);
}
.markdown-rendered thead tr > th:first-child {
border-left-width: var(--table-column-first-border-width);
}
.markdown-rendered thead tr > th:last-child {
border-right-width: var(--table-column-last-border-width);
}
.cm-s-obsidian {
/* addon/table-align */
}
.cm-s-obsidian .HyperMD-table-row {
white-space: pre;
word-break: normal;
overflow-wrap: normal;
font-size: 0.95em;
font-family: var(--font-monospace);
}
.cm-s-obsidian .hmd-table-column,
.cm-s-obsidian .hmd-table-column-content {
display: inline-block;
}
.cm-s-obsidian .hmd-table-column-left {
text-align: left;
}
.cm-s-obsidian .hmd-table-column-center {
text-align: center;
}
.cm-s-obsidian .hmd-table-column-right {
text-align: right;
}
.cm-s-obsidian .HyperMD-table-row span.cm-hmd-table-sep,
.cm-s-obsidian .HyperMD-table-row-1 {
color: var(--text-faint);
}
.cm-s-obsidian .HyperMD-table-row-0 {
color: var(--table-header-color);
}
.cm-s-obsidian .CodeMirror-linewidget table,
.cm-s-obsidian .hmd-fold-html table {
border-collapse: collapse;
}
.cm-s-obsidian .CodeMirror-linewidget table td,
.cm-s-obsidian .cm-s-obsidian .CodeMirror-linewidget table th,
.cm-s-obsidian .hmd-fold-html table td,
.cm-s-obsidian .hmd-fold-html table th {
padding: 10px;
border: 1px solid #ccc;
}
.cm-s-obsidian .hmd-inactive-line.HyperMD-table-row-1 {
color: transparent;
text-shadow: none;
}
.cm-s-obsidian .hmd-inactive-line.HyperMD-table-row-1 > span {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAQAAAAziH6sAAAADklEQVR42mOc+Z9x5n8ACTkDM4ikM1IAAAAASUVORK5CYII=) repeat-x 0px center;
}
.cm-s-obsidian .hmd-inactive-line.HyperMD-table-row span.cm-hmd-table-sep {
color: transparent;
}
.markdown-source-view.mod-cm6 .cm-line.HyperMD-table-row {
min-width: max-content;
}
.markdown-source-view.mod-cm6 .cm-table-widget table {
margin-bottom: 0;
}
a.tag {
background-color: var(--tag-background);
border: var(--tag-border-width) solid var(--tag-border-color);
border-radius: var(--tag-radius);
color: var(--tag-color);
font-size: var(--tag-size);
text-decoration: var(--tag-decoration);
padding: var(--tag-padding-y) var(--tag-padding-x);
line-height: 1;
}
@media (hover: hover) {
a.tag:hover {
background-color: var(--tag-background-hover);
border: var(--tag-border-width) solid var(--tag-border-color-hover);
color: var(--tag-color-hover);
text-decoration: var(--tag-decoration-hover);
}
}
a.tag {
background-color: var(--tag-background);
border: var(--tag-border-width) solid var(--tag-border-color);
border-radius: var(--tag-radius);
color: var(--tag-color);
font-size: var(--tag-size);
text-decoration: var(--tag-decoration);
padding: var(--tag-padding-y) var(--tag-padding-x);
line-height: 1;
}
@media (hover: hover) {
a.tag:hover {
background-color: var(--tag-background-hover);
border: var(--tag-border-width) solid var(--tag-border-color-hover);
color: var(--tag-color-hover);
text-decoration: var(--tag-decoration-hover);
}
}
.cm-hashtag {
color: var(--tag-color);
background-color: var(--tag-background);
border: var(--tag-border-width) solid var(--tag-border-color);
font-size: var(--tag-size);
vertical-align: baseline;
border-left: none;
border-right: none;
padding-top: var(--tag-padding-y);
padding-bottom: var(--tag-padding-y);
}
.cm-hashtag.cm-hashtag-begin {
border-top-left-radius: var(--tag-radius);
border-bottom-left-radius: var(--tag-radius);
border-right: none;
border-left: var(--tag-border-width) solid var(--tag-border-color);
padding-left: var(--tag-padding-x);
}
.cm-hashtag.cm-hashtag-end {
border-top-right-radius: var(--tag-radius);
border-bottom-right-radius: var(--tag-radius);
border-left: none;
border-right: var(--tag-border-width) solid var(--tag-border-color);
padding-right: var(--tag-padding-x);
}
.cm-s-obsidian span.cm-hashtag.cm-hmd-escape-backslash {
color: #FCC;
}
input[type=checkbox] {
-webkit-appearance: none;
appearance: none;
border-radius: var(--checkbox-radius);
border: 1px solid var(--checkbox-border-color);
flex-shrink: 0;
padding: 0;
margin: 0 6px 0 0;
width: var(--checkbox-size);
height: var(--checkbox-size);
position: relative;
transition: box-shadow 0.15s ease-in-out;
}
input[type=checkbox]:hover,
input[type=checkbox]:active,
input[type=checkbox]:focus {
outline: 0;
border-color: var(--checkbox-border-color-hover);
}
input[type=checkbox]:focus-visible {
box-shadow: 0 0 0 2px var(--background-modifier-border-focus);
}
input[type=checkbox]:checked:after {
content: "";
top: -1px;
left: -1px;
position: absolute;
width: var(--checkbox-size);
height: var(--checkbox-size);
display: block;
background-color: var(--checkbox-marker-color);
-webkit-mask-position: 52% 52%;
-webkit-mask-size: 65%;
-webkit-mask-repeat: no-repeat;
-webkit-mask-image: url('data:image/svg+xml; utf8, ');
}
input[type=checkbox]:checked {
background-color: var(--checkbox-color);
border-color: var(--checkbox-color);
}
@media (hover: hover) {
input[type=checkbox]:checked:hover {
background-color: var(--checkbox-color-hover);
border-color: var(--checkbox-color-hover);
}
}
.task-list-item-checkbox {
width: var(--checkbox-size);
height: var(--checkbox-size);
}
.markdown-preview-view .task-list-item-checkbox {
position: relative;
top: 0.2em;
margin-right: 0.6em;
}
ul > li.task-list-item {
list-style: none;
}
ul > li.task-list-item .task-list-item-checkbox {
margin-inline-start: calc(var(--checkbox-size) * -1.5);
}
ul > li.task-list-item[data-task="x"],
ul > li.task-list-item[data-task="X"] {
text-decoration: var(--checklist-done-decoration);
color: var(--checklist-done-color);
}
.cm-s-obsidian span.cm-formatting-task {
white-space: pre;
height: 1em;
line-height: 1em;
min-width: 1em;
text-align: center;
color: var(--text-muted);
background-size: 1em;
font-family: var(--font-monospace);
}
.cm-s-obsidian span.hmd-hidden-token.cm-formatting-task {
color: transparent !important;
}
.markdown-source-view.mod-cm6 .task-list-label {
padding: 0;
margin-left: -0.25em;
}
.markdown-source-view.mod-cm6 .task-list-item-checkbox {
top: -0.1em;
vertical-align: middle;
margin-left: 2px;
}
.markdown-source-view.mod-cm6 .HyperMD-task-line[data-task="x"],
.markdown-source-view.mod-cm6 .HyperMD-task-line[data-task="X"] {
text-decoration: var(--checklist-done-decoration);
color: var(--checklist-done-color);
}
b,
strong {
font-weight: var(--bold-weight);
color: var(--bold-color);
}
i,
em {
font-style: italic;
color: var(--italic-color);
}
/* Highlights */
.markdown-rendered mark {
background-color: var(--text-highlight-bg);
color: var(--text-normal);
}
.markdown-rendered mark .internal-link {
color: var(--text-normal);
}
.cm-s-obsidian span.cm-formatting-highlight,
.cm-s-obsidian span.cm-highlight {
background-color: var(--text-highlight-bg);
color: var(--text-normal);
}
.cm-strong {
font-weight: var(--bold-weight);
color: var(--bold-color);
}
.cm-em {
font-style: italic;
color: var(--italic-color);
}
.cm-s-obsidian span.cm-error {
color: #f00;
}
/* Backlinks in Preview */
.embedded-backlinks {
border-top: 1px solid var(--background-modifier-border);
}
.markdown-preview-view .embedded-backlinks {
margin-top: 3em;
}
.embedded-backlinks .backlink-pane {
padding: var(--size-4-3) 0 0 0;
}
.embedded-backlinks .backlink-pane .search-empty-state,
.embedded-backlinks .backlink-pane .tree-item-self {
/* Use quotes because Less overrides CSS math */
font-size: max(var(--font-ui-small),var(--font-smaller));
align-items: center;
}
.embedded-backlinks .backlink-pane > .tree-item-self {
font-size: max(var(--font-ui-small),1em);
gap: var(--size-2-3);
width: fit-content;
}
.embedded-backlinks .backlink-pane .tree-item-flair {
font-size: max(var(--font-ui-small),var(--font-smallest));
}
.embedded-backlinks .nav-header {
padding: 0;
position: relative;
}
.embedded-backlinks .nav-header ~ .search-input-container {
width: calc(100% - 150px);
margin: var(--size-4-3) 0 0 0;
}
.embedded-backlinks .nav-buttons-container {
position: absolute;
right: 0;
top: 14px;
z-index: 1;
}
.nav-header {
padding: var(--size-4-2);
}
.nav-buttons-container.has-separator {
border-bottom: 1px solid var(--background-modifier-border);
padding-bottom: var(--size-2-3);
margin-bottom: var(--size-4-2);
}
.nav-files-container {
flex-grow: 1;
overflow-y: auto;
overflow-x: hidden;
padding: 0 var(--size-4-3) var(--size-4-6) var(--size-4-3);
scroll-padding-block: var(--size-4-2);
}
/* Vault name */
.nav-folder.mod-root > .nav-folder-title {
font-size: var(--vault-name-font-size);
color: var(--vault-name-color);
font-weight: var(--vault-name-font-weight);
cursor: default;
}
@media (hover: hover) {
.nav-folder.mod-root > .nav-folder-title:hover {
background-color: inherit;
font-weight: var(--vault-name-font-weight);
}
}
.nav-folder.mod-root > .nav-folder-title.is-being-dragged-over {
background-color: hsla(var(--interactive-accent-hsl), 0.2);
}
.nav-folder.mod-root > .nav-folder-title .nav-folder-collapse-indicator {
display: none;
}
/* Style children
The first level of folders and files
needs slightly different styling */
.nav-folder.mod-root .nav-folder > .nav-folder-children {
padding-left: var(--nav-item-children-padding-left);
margin: 0 0 0 var(--nav-item-children-margin-left);
border-left: var(--nav-indentation-guide-width) solid var(--nav-indentation-guide-color);
}
.nav-file {
border-radius: var(--radius-s);
}
/* Folders and files */
.nav-folder-title {
padding: var(--nav-item-parent-padding);
}
.nav-file-title {
padding: var(--nav-item-padding);
}
.nav-file-title,
.nav-folder-title {
margin-bottom: var(--size-2-1);
display: flex;
border-radius: var(--radius-s);
cursor: var(--cursor);
color: var(--nav-item-color);
font-size: var(--nav-item-size);
font-weight: var(--nav-item-weight);
line-height: var(--line-height-tight);
}
@media (hover: hover) {
body:not(.is-grabbing) .nav-file-title:hover,
body:not(.is-grabbing) .nav-folder-title:hover {
background-color: var(--nav-item-background-hover);
color: var(--nav-item-color-hover);
font-weight: var(--nav-item-weight-hover);
}
}
body:not(.is-grabbing) .nav-file-title.is-active:hover,
body:not(.is-grabbing) .nav-folder-title.is-active:hover,
.nav-file-title.is-active,
.nav-folder-title.is-active {
color: var(--nav-item-color-active);
background-color: var(--nav-item-background-active);
font-weight: var(--nav-item-weight-active);
}
body:not(.is-grabbing) .nav-file-title.is-selected:hover,
body:not(.is-grabbing) .nav-folder-title.is-selected:hover,
.nav-file-title.is-selected,
.nav-folder-title.is-selected {
color: var(--nav-item-color-selected);
background-color: var(--nav-item-background-selected);
}
body:not(.is-grabbing) .nav-file-title.is-being-dragged,
body:not(.is-grabbing) .nav-folder-title.is-being-dragged,
.nav-file-title.is-being-dragged,
.nav-folder-title.is-being-dragged {
background-color: var(--interactive-accent);
color: var(--text-on-accent);
}
body:not(.is-grabbing) .nav-file-title.is-being-dragged .nav-folder-collapse-indicator,
body:not(.is-grabbing) .nav-folder-title.is-being-dragged .nav-folder-collapse-indicator,
.nav-file-title.is-being-dragged .nav-folder-collapse-indicator,
.nav-folder-title.is-being-dragged .nav-folder-collapse-indicator {
color: var(--text-on-accent);
}
body:not(.is-grabbing) .nav-file-title.is-being-dragged .nav-file-tag,
body:not(.is-grabbing) .nav-folder-title.is-being-dragged .nav-file-tag,
.nav-file-title.is-being-dragged .nav-file-tag,
.nav-folder-title.is-being-dragged .nav-file-tag {
color: var(--text-normal);
}
.workspace-leaf.mod-active .nav-folder.has-focus > .nav-folder-title,
.workspace-leaf.mod-active .nav-file.has-focus > .nav-file-title {
border-radius: var(--radius-s);
box-shadow: 0 0 0 2px var(--background-modifier-border-focus);
}
.workspace-leaf.mod-active .nav-folder.has-focus > .nav-folder-title:focus-within,
.workspace-leaf.mod-active .nav-file.has-focus > .nav-file-title:focus-within {
box-shadow: 0 0 0 2px var(--interactive-accent);
}
.nav-folder-collapse-indicator {
width: 16px;
flex-shrink: 0;
}
.nav-file-tag {
background-color: var(--background-modifier-hover);
border-radius: var(--radius-s);
font-size: 9px;
font-weight: var(--font-semibold);
letter-spacing: 0.05em;
line-height: var(--line-height-normal);
margin-left: var(--size-2-3);
padding: 0 var(--size-4-1);
text-transform: uppercase;
align-self: center;
}
.nav-file-icon {
display: inline-flex;
align-items: center;
margin-right: var(--size-2-3);
position: relative;
color: var(--icon-color);
opacity: var(--icon-opacity);
}
.nav-files-container:not(.show-unsupported) .is-unsupported {
display: none;
}
.nav-file-title-content,
.nav-folder-title-content {
display: inline-block;
overflow-wrap: anywhere;
overflow: hidden;
white-space: var(--nav-item-white-space);
text-overflow: ellipsis;
}
.nav-file-title-content.is-being-renamed,
.nav-folder-title-content.is-being-renamed {
flex-grow: 1;
white-space: normal;
cursor: text;
}
.nav-folder-title.is-being-dragged-over {
border-radius: var(--radius-s);
color: var(--nav-item-color-highlighted);
background: hsla(var(--interactive-accent-hsl), 0.1);
}
.nav-folder-title.is-being-dragged-over .collapse-icon {
color: var(--nav-item-color-highlighted);
}
.item-list {
flex-grow: 1;
padding: 0 var(--size-4-3) var(--size-4-6) var(--size-4-3);
overflow-y: auto;
}
.drop-indicator {
position: absolute;
left: 0;
width: 100%;
height: 0;
border: 2px solid var(--interactive-accent);
pointer-events: none;
}
.drop-indicator:not(.is-active) {
display: none;
}
/* 2022-07 Only used for Publish AFAIK */
.file-tree-item-checkbox,
.file-tree-item-icon {
flex-shrink: 0;
}
.file-tree-item-title {
flex-grow: 1;
word-break: break-word;
}
.file-tree-item-icon {
--icon-size: var(--icon-s);
--icon-stroke: var(--icon-s-stroke-width);
margin-right: var(--size-4-1);
color: var(--icon-color);
position: relative;
top: var(--size-2-1);
}
.file-tree .tree-item-inner {
display: flex;
align-items: center;
position: relative;
}
.file-tree .tree-item-flair {
line-height: 1;
padding: var(--size-2-1) var(--size-2-3);
color: var(--text-on-accent);
}
.file-tree .is-selected {
color: var(--text-normal);
}
.file-tree .mod-changed.is-selected {
background-color: hsla(var(--interactive-accent-hsl), 0.2);
}
.file-tree .mod-changed .tree-item-flair {
color: var(--text-accent-hover);
}
.file-tree .mod-new.is-selected {
background-color: rgba(var(--background-modifier-success-rgb), 0.2);
}
.file-tree .mod-new .tree-item-flair {
color: var(--text-success);
}
.file-tree .mod-deleted.is-selected,
.file-tree .mod-to-delete.is-selected {
background-color: rgba(var(--background-modifier-error-rgb), 0.2);
}
.file-tree .mod-deleted .tree-item-flair,
.file-tree .mod-to-delete .tree-item-flair {
color: var(--text-error);
}
.file-tree .mod-to-delete .tree-item-flair {
display: none;
}
.file-tree .mod-to-delete.is-selected .tree-item-flair {
display: block;
}
.file-tree .clickable-icon {
display: flex;
--icon-size: var(--icon-s);
--icon-stroke: var(--icon-s-stroke-width);
}
.graph-view.color-fill {
color: var(--graph-node);
}
.graph-view.color-fill-focused {
color: var(--graph-node-focused);
}
.graph-view.color-fill-tag {
color: var(--graph-node-tag);
}
.graph-view.color-fill-attachment {
color: var(--graph-node-attachment);
}
.graph-view.color-fill-unresolved {
color: var(--graph-node-unresolved);
opacity: 0.5;
}
.graph-view.color-fill-1 {
color: var(--text-muted);
}
.graph-view.color-fill-2 {
color: var(--text-muted);
}
.graph-view.color-fill-3 {
color: var(--text-muted);
}
.graph-view.color-fill-4 {
color: var(--text-muted);
}
.graph-view.color-fill-5 {
color: var(--text-muted);
}
.graph-view.color-fill-6 {
color: var(--text-muted);
}
.graph-view.color-arrow {
color: var(--text-normal);
opacity: 0.5;
}
.graph-view.color-circle {
color: var(--graph-node-focused);
}
.graph-view.color-line {
color: var(--graph-line);
}
.graph-view.color-text {
color: var(--graph-text);
}
.graph-view.color-fill-highlight {
color: var(--interactive-accent);
}
.graph-view.color-line-highlight {
color: var(--interactive-accent);
}
.graph-controls {
border-radius: var(--radius-m);
position: absolute;
right: var(--size-4-3);
top: var(--size-4-3);
padding: 0;
background-color: var(--background-primary);
width: var(--graph-controls-width);
overflow: auto;
}
.graph-controls:not(.is-close) {
max-height: calc(100% - var(--size-4-4));
border: 1px solid var(--background-modifier-border);
box-shadow: var(--shadow-s);
}
.graph-controls.is-close {
min-width: inherit;
width: auto;
background-color: var(--background-primary);
border: 1px solid transparent;
padding: var(--size-2-3);
}
.graph-controls.is-close > .graph-control-section {
display: none;
}
.workspace-split:not(.mod-root) .graph-controls.is-close {
background-color: var(--background-secondary);
}
.graph-controls input[type='text'],
.graph-controls input[type='range'] {
width: 100%;
font-size: var(--font-ui-small);
}
.graph-controls .mod-cta {
margin-top: var(--size-2-3);
width: 100%;
}
.graph-controls .setting-item {
padding: var(--size-2-3) 0;
border: none;
}
.graph-controls .setting-item .setting-item-info {
display: flex;
align-items: center;
}
.graph-controls .setting-item:first-of-type {
border-top: none;
}
.graph-controls .setting-item.mod-slider {
flex-direction: column;
}
.graph-controls .setting-item.mod-slider > * {
width: 100%;
}
.graph-controls .setting-item.mod-slider .setting-item-info {
margin-right: 0;
}
.graph-controls .setting-item.mod-slider .setting-item-control {
padding-top: var(--size-4-3);
}
.graph-controls .setting-item.mod-toggle .setting-item-control {
padding-top: 0;
}
.graph-controls .setting-item.mod-search-setting .setting-item-info {
margin-right: 0;
}
.graph-controls .setting-item-name {
font-size: var(--font-ui-small);
}
.graph-controls::-webkit-scrollbar,
.graph-controls::-webkit-scrollbar-thumb {
display: none;
}
.graph-color-group {
--swatch-height: 18px;
--swatch-width: 18px;
position: relative;
display: flex;
align-items: center;
padding: 0 0 6px 0;
transition: top 200ms ease-in-out;
}
.graph-color-group input[type="color"] {
margin: 0 2px 0 6px;
}
.graph-color-group .clickable-icon {
padding: var(--size-2-2);
}
.graph-color-button-container {
text-align: center;
margin-bottom: 10px;
}
.graph-color-button-container button {
margin: 0;
width: 100%;
}
.graph-color-group.drag-ghost {
position: fixed;
display: flex;
max-width: unset;
border: none;
box-shadow: none;
background-color: var(--background-primary-alt);
padding: 0;
transition: none;
pointer-events: none;
}
.graph-color-group.drag-ghost input[type='text'] {
width: 100%;
}
.graph-color-group.drag-ghost input[type='color'] {
margin-left: 6px;
}
.graph-control-section.mod-color-groups .tree-item-children.is-grabbing .graph-color-groups-container {
padding-bottom: 40px;
}
.graph-controls-button {
display: none;
z-index: 1;
}
.graph-controls-button.mod-close,
.graph-controls-button.mod-reset {
position: absolute;
top: var(--size-4-2);
right: var(--size-4-2);
padding: var(--size-2-2);
}
.graph-controls:not(.is-close) .graph-controls-button.mod-close,
.graph-controls:not(.is-close) .graph-controls-button.mod-reset {
display: flex;
}
.graph-controls-button.mod-reset {
right: 36px;
}
.graph-controls.is-close .graph-controls-button.mod-open {
display: flex;
}
.graph-controls-button.mod-animate {
margin-top: var(--size-4-2);
}
.graph-controls.is-close .graph-controls-button.mod-animate {
display: flex;
}
.setting-item.mod-search-setting .setting-item-info {
display: none;
}
.setting-item.mod-search-setting .setting-item-control .search-input-container {
position: relative;
flex-grow: 1;
margin: 0;
}
.setting-item.mod-search-setting.is-loading .setting-item-control:before {
background-color: var(--interactive-accent);
animation: 1000ms ease-in-out 300ms infinite progress-bar;
}
.graph-control-section-header {
font-weight: var(--font-semibold);
font-size: var(--font-ui-small);
color: var(--text-normal);
}
.graph-control-section {
padding: var(--size-2-3) var(--size-4-3);
border-bottom: 1px solid var(--background-modifier-border);
}
.graph-control-section:last-child {
border-bottom: none;
}
.graph-control-section:last-child .tree-item-children {
padding-bottom: var(--size-4-4);
}
.graph-control-section > .tree-item-self {
padding-left: var(--size-4-1);
}
.graph-control-section .tree-item-children {
margin: 0;
padding: var(--size-4-1) 0;
border-left: none;
}
.graph-control-section.mod-display .setting-item:not(.mod-slider):last-child .setting-item-info {
display: none;
}
.workspace-leaf-content[data-type='outline'] .view-content {
padding: 0;
}
.outline {
padding: var(--size-4-3) var(--size-4-3) var(--size-4-8);
}
.modal.mod-publish {
height: var(--modal-height);
width: var(--modal-width);
max-width: var(--modal-max-width-narrow);
padding: var(--size-4-4) 0 0 0;
position: relative;
overflow: hidden;
}
.modal.mod-publish .modal-title {
padding: 0 var(--size-4-4);
}
.modal.mod-publish .modal-content {
overflow: auto;
padding: 0 var(--size-4-4) var(--size-4-4);
margin-bottom: calc(var(--input-height) + var(--size-4-8));
border-top: var(--border-width) solid var(--background-modifier-border);
}
.modal.mod-publish .modal-button-container {
margin: 0 0 0 calc(var(--size-4-4) * -1);
padding: var(--size-4-4);
gap: var(--size-4-2);
position: absolute;
bottom: 0;
background-color: var(--background-primary);
border-top: var(--border-width) solid var(--background-modifier-border);
width: 100%;
}
.publish-section {
margin-bottom: var(--size-4-1);
}
.publish-change-list {
padding: var(--size-4-2) 0 var(--size-4-2) 0;
}
.site-list-site-id-setting {
margin-top: var(--size-4-4);
}
.publish-section-header-text,
.publish-section-header-toggle-collapsed-button,
.publish-section-header-action {
cursor: var(--cursor);
}
@media (hover: hover) {
.publish-section-header-text:hover,
.publish-section-header-toggle-collapsed-button:hover,
.publish-section-header-action:hover {
color: var(--text-accent-hover);
}
}
.publish-section-header {
border-bottom: 1px solid var(--background-modifier-border);
font-size: var(--font-ui-small);
line-height: 1.1;
color: var(--text-muted);
display: flex;
padding: var(--size-4-2) 0;
align-items: center;
}
.publish-section-header-text {
flex-grow: 1;
font-size: var(--font-ui-medium);
color: var(--text-normal);
line-height: var(--line-height-tight);
font-weight: var(--font-medium);
}
.publish-changes-switch-site {
margin-left: var(--size-4-2);
display: flex;
flex-direction: row;
flex-grow: 1;
font-size: var(--font-ui-small);
position: relative;
gap: var(--size-2-1);
top: 2px;
}
.publish-changes-switch-site .clickable-icon {
--icon-size: var(--icon-s);
--icon-stroke: var(--icon-s-stroke-width);
padding: var(--size-2-2);
}
.upload-progress-container {
max-height: 60vh;
overflow: auto;
}
.upload-progress-container.is-finished {
max-height: calc(60vh - 200px);
}
.publish-changes-current-site-name {
margin-left: var(--size-2-3);
text-decoration: underline;
}
.publish-changes-info {
display: flex;
align-items: center;
margin-bottom: 20px;
}
.publish-changes-info button {
margin-right: 0;
margin-left: var(--size-4-2);
}
.publish-changes-info .search-input-container {
margin: 0;
width: 0;
flex: 1 0 auto;
}
.publish-section-header-toggle-collapsed-button {
margin-right: var(--size-4-1);
color: var(--text-faint);
width: 9px;
height: 9px;
}
.publish-section-header-action {
color: var(--text-faint);
margin-left: var(--size-4-3);
}
.publish-upload-item-title {
word-break: break-word;
font-size: var(--nav-item-size);
line-height: var(--line-height-tight);
}
.publish-changes-buttons {
text-align: right;
padding-bottom: var(--size-4-4);
}
.publish-upload-item {
position: relative;
padding: var(--size-4-1) var(--size-4-2);
}
.publish-upload-item .flair {
background-color: transparent;
text-transform: unset;
letter-spacing: normal;
font-size: var(--font-ui-smaller);
}
.publish-upload-item .list-item-part {
--icon-size: var(--icon-s);
--icon-stroke: var(--icon-s-stroke-width);
display: flex;
align-items: center;
}
.publish-upload-item:before {
content: ' ';
position: absolute;
top: 0;
left: 0;
width: 0;
height: 100%;
transition: width 150ms ease-in-out;
background-color: rgba(var(--background-modifier-success-rgb), 0.2);
z-index: 0;
border-radius: var(--radius-s);
}
.publish-upload-item.mod-failed {
color: var(--text-error);
}
.publish-upload-item.mod-failed:before {
background-color: rgba(var(--background-modifier-error-rgb), 0.2);
}
.publish-upload-item.mod-completed {
color: var(--text-success);
}
.publish-upload-item.mod-completed > * {
position: relative;
}
.publish-upload-item.mod-completed:before {
width: 100%;
}
.site-list-container {
border-top: 1px solid var(--background-modifier-border);
margin-bottom: var(--size-4-4);
}
.site-list-container .list-item:last-child {
padding-top: var(--size-4-4);
}
.site-list-item-name {
flex-grow: 1;
}
.slug-input {
text-transform: lowercase;
}
.passwords-container {
margin-bottom: var(--size-4-4);
}
.password-item {
border-radius: var(--radius-s);
padding: var(--size-4-2) var(--size-4-4);
margin: var(--size-4-1) 0;
}
@media (hover: hover) {
.password-item:hover {
background-color: var(--background-primary);
}
}
.nav-header ~ .search-input-container {
padding: 0;
width: calc(100% - var(--size-4-8));
margin: 4px auto;
}
.search-input-container {
margin: 0;
position: relative;
}
.search-input-container:before {
top: calc((var(--input-height) - var(--search-icon-size))/2);
left: 8px;
position: absolute;
content: '';
height: var(--search-icon-size);
width: var(--search-icon-size);
display: block;
background-color: var(--search-icon-color);
-webkit-mask-image: url("data:image/svg+xml,");
-webkit-mask-repeat: no-repeat;
}
.search-input-container input {
display: block;
width: 100%;
padding-right: 28px;
padding-left: 36px;
}
.search-input-clear-button {
position: absolute;
background: transparent;
border-radius: 50%;
color: var(--search-clear-button-color);
cursor: var(--cursor);
top: 0px;
right: 2px;
bottom: 0px;
line-height: 0;
height: var(--input-height);
width: 28px;
margin: auto;
padding: 0 0;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
transition: color 0.15s ease-in-out;
}
.search-input-clear-button:after {
content: '';
height: var(--search-clear-button-size);
width: var(--search-clear-button-size);
display: block;
background-color: currentColor;
-webkit-mask-image: url("data:image/svg+xml,");
-webkit-mask-repeat: no-repeat;
}
.search-input-clear-button:hover,
.search-input-clear-button:active {
color: var(--text-normal);
transition: color 0.15s ease-in-out;
}
.search-input-suggest-button {
position: absolute;
left: 0;
top: 0;
color: var(--text-faint);
cursor: var(--cursor);
padding: var(--size-4-1) var(--size-4-2);
opacity: 0;
z-index: 10;
}
@media (hover: hover) {
.search-input-suggest-button:hover {
color: var(--text-muted);
}
}
.backlink-pane,
.outgoing-link-pane {
overflow-y: auto;
padding: var(--size-4-3) var(--size-4-3) var(--size-4-8);
flex: 1 0 0;
/* #todo This should be removed and make the DOM changes instead
Section headers for linked/unlinked mentions
*/
}
.backlink-pane .search-result-container,
.outgoing-link-pane .search-result-container {
padding: var(--size-4-1) 1px var(--size-4-4);
}
.backlink-pane > .tree-item-self,
.outgoing-link-pane > .tree-item-self {
color: var(--text-normal);
}
.backlink-pane > .tree-item-self .tree-item-inner,
.outgoing-link-pane > .tree-item-self .tree-item-inner {
font-weight: var(--font-medium);
}
.backlink-pane > .tree-item-self.is-collapsed,
.outgoing-link-pane > .tree-item-self.is-collapsed {
color: var(--text-faint);
}
@media (hover: hover) {
.backlink-pane > .tree-item-self.is-collapsed:hover,
.outgoing-link-pane > .tree-item-self.is-collapsed:hover {
color: var(--text-muted);
}
}
.backlink-pane > .tree-item-self .collapse-icon,
.outgoing-link-pane > .tree-item-self .collapse-icon {
display: none;
}
.search-result-container {
padding: var(--size-4-3) var(--size-4-3) var(--size-4-4);
position: relative;
flex: 1 0 0;
}
.search-result-container.mod-global-search {
overflow-y: auto;
}
.search-result-container:before {
content: ' ';
position: absolute;
top: 0;
width: 0;
height: 3px;
}
.search-result-container.is-loading:before {
background-color: var(--interactive-accent);
animation: 1000ms ease-in-out 300ms infinite progress-bar;
}
.search-suggest-info-text {
color: var(--text-muted);
margin-left: 4px;
}
.search-suggest-icon {
padding: 4px;
border-radius: var(--radius-s);
}
@media (hover: hover) {
.search-suggest-icon:hover {
background-color: var(--background-modifier-hover);
}
}
.suggestion-container.mod-search-suggestion {
max-width: unset;
background-color: var(--background-secondary);
border-color: var(--prompt-border-color);
}
.suggestion-container.mod-search-suggestion .suggestion {
max-height: 600px;
padding: var(--size-2-3);
background-color: var(--background-secondary);
border-radius: var(--radius-m);
}
.search-suggest-icon {
align-items: center;
display: flex;
}
.search-suggest-item {
padding: var(--size-4-1) var(--size-4-2);
border-radius: var(--radius-s);
}
.search-suggest-item.suggestion-item {
font-size: var(--font-ui-small);
}
.search-suggest-item.mod-group {
align-items: center;
margin: 0;
color: var(--text-muted);
padding: 0 0 0 var(--size-4-2);
cursor: default;
font-weight: var(--font-semibold);
font-size: var(--font-ui-smaller);
border-radius: 0;
}
.search-suggest-item.mod-group:not(:first-child) {
border-top: 1px solid var(--background-modifier-border);
margin-top: 6px;
padding: 6px 6px 0px 14px;
margin-left: -6px;
margin-right: -6px;
}
.search-suggest-item.mod-group:hover,
.search-suggest-item.mod-group.is-selected {
background-color: initial;
}
@keyframes progress-bar {
0% {
width: 0;
left: 0;
}
5% {
width: 0;
left: 0;
}
50% {
width: 100%;
right: 0;
}
95% {
width: 0;
right: 0;
}
100% {
width: 0;
right: 0;
}
}
.search-empty-state {
color: var(--text-faint);
font-size: var(--font-ui-small);
margin: 0 0 var(--size-4-3);
padding-left: var(--size-4-2);
}
.search-result {
word-break: break-word;
}
.search-result:not(.is-collapsed) .search-result-file-title {
color: var(--nav-item-color-active);
}
.search-result-file-matches {
font-size: var(--font-ui-smaller);
line-height: var(--line-height-tight);
background-color: var(--search-result-background);
border-radius: var(--radius-s);
overflow: hidden;
margin: var(--size-4-1) 0 var(--size-4-2);
color: var(--text-muted);
box-shadow: 0 0 0 1px var(--background-modifier-border);
}
.search-info-more-matches {
color: var(--text-faint);
}
.search-result-file-match {
cursor: var(--cursor);
position: relative;
padding: var(--size-4-2) var(--size-4-5) var(--size-4-2) var(--size-4-3);
white-space: pre-wrap;
width: 100%;
border-bottom: 1px solid var(--background-modifier-border);
}
.search-result-file-match:last-child {
border-bottom: none;
}
@media (hover: hover) {
.search-result-file-match:hover {
color: var(--text-normal);
background-color: var(--text-selection);
}
}
.search-result-file-match:hover .search-result-file-match-replace-button {
display: block;
}
.search-result-file-match-replace-button {
display: none;
position: absolute;
height: auto;
bottom: 5px;
right: 24px;
padding: var(--size-4-1) var(--size-4-2);
color: var(--text-muted);
font-size: var(--font-ui-smaller);
}
@media (hover: hover) {
.search-result-file-match-replace-button:hover {
color: var(--text-normal);
}
}
.search-result-hover-button {
position: absolute;
display: flex;
right: 2px;
border-radius: var(--radius-s);
color: var(--text-faint);
padding: 1px 3px;
}
@media (hover: hover) {
.search-result-hover-button:hover {
opacity: 1;
background-color: var(--background-modifier-hover);
}
}
.search-result-hover-button.mod-top {
top: 2px;
}
.search-result-hover-button.mod-bottom {
bottom: 2px;
}
.search-result-file-matched-text {
color: var(--text-normal);
background-color: var(--text-highlight-bg);
}
.search-info-container {
color: var(--text-muted);
padding: var(--size-4-1) var(--size-4-4) var(--size-4-1);
font-size: var(--font-ui-smaller);
}
.search-info-children {
padding-left: 20px;
border-left: 1px solid var(--background-modifier-border);
margin: 1px 0;
}
.copy-search-result-container {
display: flex;
flex-direction: column;
}
.copy-search-result-textarea {
height: 300px;
max-height: 20vh;
resize: none;
}
.copy-search-result-textarea + .setting-item {
border-top: none;
}
.search-result-file-match-destination-file-container {
margin-top: var(--size-2-3);
}
.search-result-file-match-destination-file {
display: inline-flex;
background-color: var(--interactive-normal);
border-radius: var(--radius-s);
box-shadow: var(--input-shadow);
color: var(--text-muted);
padding: var(--size-2-2) var(--size-2-3);
margin-bottom: var(--size-2-1);
}
@media (hover: hover) {
.search-result-file-match:hover .search-result-file-match-destination-file {
background-color: var(--background-secondary);
}
.search-result-file-match:hover .search-result-file-match-destination-file:hover {
background-color: var(--interactive-hover);
box-shadow: var(--input-shadow-hover);
color: var(--text-normal);
}
}
.search-result-file-match-destination-file-icon {
--icon-size: var(--icon-xs);
--icon-stroke: var(--icon-xs-stroke-width);
margin-right: var(--size-4-1);
display: flex;
color: var(--text-faint);
}
.search-result-file-match-destination-file-icon .svg-icon {
align-self: center;
}
.search-result-file-match-destination-file-name {
white-space: pre-wrap;
word-break: break-all;
}
.workspace-leaf.mod-active .search-result.has-focus .tree-item-self,
.workspace-leaf.mod-active .search-result-file-match.has-focus {
border-radius: var(--radius-s);
box-shadow: inset 0 0 0 2px var(--background-modifier-border-focus);
}
.slides-container {
position: fixed;
top: 0;
left: 0;
height: 100vh;
width: 100vw;
transition: -webkit-transform 0.8s ease 0s;
background-color: #191919;
z-index: var(--layer-slides);
border: none;
}
.slides-container li .collapse-indicator {
display: none;
}
.slides-close-btn {
display: inline-block;
position: absolute;
top: var(--size-4-2);
right: var(--size-4-2);
color: var(--text-faint);
cursor: var(--cursor);
z-index: 1;
}
@media (hover: hover) {
.slides-close-btn:hover {
color: var(--text-muted);
}
}
.reveal input[type='checkbox'] {
width: 24px;
height: 24px;
}
.reveal .task-list-item,
.reveal .footnote-item {
list-style: none;
}
.reveal .task-list-item {
margin-left: -1.5em;
}
.vault-list-item {
margin: 6px 0;
display: flex;
}
.vault-list-item.is-connected .vault-list-item-title {
color: var(--text-normal);
}
.vault-list-item-icon {
color: var(--text-muted);
position: relative;
top: 1px;
}
.vault-list-item-title {
color: var(--text-muted);
user-select: none;
}
.vault-list-item-creation-time {
color: var(--text-faint);
font-size: var(--font-ui-small);
}
.sync-status-icon {
display: flex;
align-items: center;
cursor: var(--cursor);
}
.sync-status-icon.mod-success {
color: var(--text-success);
}
.sync-status-icon.mod-working {
color: var(--interactive-accent);
}
.sync-status-icon.mod-error {
color: var(--text-error);
}
.sync-history-list-container {
display: flex;
flex-direction: column;
flex-basis: 250px;
flex-shrink: 0;
border-right: 1px solid var(--background-modifier-border);
}
.sync-history-list {
overflow: auto;
padding: var(--size-4-3);
flex-grow: 1;
display: flex;
flex-direction: column;
}
.sync-history-list .search-input-container {
width: 100%;
}
.sync-history-list-item-container {
overflow: auto;
flex: 1 1 0;
}
.sync-history-list-item {
padding: var(--size-4-2) var(--size-4-3);
margin-bottom: var(--size-4-2);
cursor: var(--cursor);
font-size: var(--font-ui-small);
border-radius: var(--radius-s);
transition: background-color 200ms ease-in-out, color 200ms ease-in-out;
}
.sync-history-list-item:last-child {
margin-bottom: 0;
}
.sync-history-list-item.is-active,
.sync-history-list-item.is-active:hover {
background-color: var(--interactive-accent);
color: var(--text-on-accent);
}
.sync-history-list-item.is-active .u-muted,
.sync-history-list-item.is-active:hover .u-muted {
color: var(--text-on-accent);
opacity: 0.8;
}
@media (hover: hover) {
.sync-history-list-item:hover {
background-color: var(--background-modifier-hover);
}
}
.sync-history-content-container {
background-color: var(--background-primary);
padding: 0;
height: auto;
display: flex;
flex-direction: column;
width: 0;
flex: 1 1 auto;
}
.sync-history-content-container .modal-button-container {
border-top: 1px solid var(--background-modifier-border);
margin: 0;
padding: 12px;
justify-content: center;
}
.sync-history-content-container textarea {
resize: none;
border: none;
box-shadow: none;
}
.sync-history-content-container textarea:hover,
.sync-history-content-container textarea:active,
.sync-history-content-container textarea:focus {
border: none;
box-shadow: none;
}
.sync-history-content-empty {
display: none;
}
.sync-history-content-container.mod-empty .sync-history-content-empty {
display: block;
text-align: center;
padding: 24px;
}
.sync-history-content {
display: flex;
flex-direction: column;
flex-grow: 1;
overflow: hidden;
padding: 0;
}
.sync-history-content .setting-item:first-child {
padding: var(--size-4-4) var(--size-4-6) var(--size-4-4);
border-bottom: 1px solid var(--background-modifier-border);
}
.sync-history-content .setting-item-info {
flex-grow: 0;
font-weight: var(--bold-weight);
}
.sync-history-content .setting-item-control {
justify-content: flex-start;
}
.sync-history-text,
.sync-history-diff {
flex: 1 0 auto;
padding: var(--size-4-6);
}
.sync-history-content-other {
flex-grow: 1;
padding: var(--size-4-6);
text-align: center;
}
.sync-history-content-other img {
max-width: 100%;
}
.sync-history-content-container.mod-empty .sync-history-content,
.sync-history-content-container.mod-empty .sync-history-content-buttons {
display: none;
}
.sync-history-content-buttons {
border-top: 1px solid var(--background-modifier-border);
margin: 0;
padding: var(--size-4-3);
}
.mod-selectable {
cursor: var(--cursor);
padding: var(--size-4-2) var(--size-4-4);
border-radius: var(--radius-m);
}
@media (hover: hover) {
.mod-selectable:hover {
background-color: var(--background-modifier-hover);
}
}
.sync-history-load-more-button {
height: 38px;
text-align: center;
line-height: 38px;
cursor: var(--cursor);
color: var(--text-muted);
}
@media (hover: hover) {
.sync-history-load-more-button:hover {
color: var(--text-normal);
}
}
/* Sync log */
.modal.mod-sync-log {
height: var(--modal-height);
width: var(--modal-width);
max-width: var(--modal-max-width-narrow);
padding: var(--size-4-4) 0 0 0;
}
.modal.mod-sync-log .modal-title {
padding: 0 var(--size-4-4);
}
.modal.mod-sync-log .modal-content {
display: flex;
flex-direction: column;
overflow: hidden;
}
.modal.mod-sync-log .modal-button-container {
margin: 0;
padding: var(--size-4-4);
}
.modal.mod-sync-log .setting-item.mod-toggle {
padding: 0 var(--size-4-4) var(--size-4-4);
}
.modal.mod-sync-log .sync-log-container {
overflow: auto;
flex-grow: 1;
font-family: var(--font-monospace);
font-size: var(--font-ui-smaller);
color: var(--text-muted);
border-top: 1px solid var(--background-modifier-border);
border-bottom: 1px solid var(--background-modifier-border);
padding: var(--size-4-4);
background-color: var(--background-secondary);
}
.modal.mod-sync-log .sync-log-container .list-item {
line-height: var(--line-height-normal);
margin: 0;
}
.modal.mod-sync-log .sync-log-container .list-item.mod-error {
color: var(--text-error);
}
.sync-file-tree-container {
max-height: calc(90vh - 250px);
overflow: auto;
}
.sync-exclude-folder {
display: flex;
margin: var(--size-4-3) 0;
}
.sync-exclude-folder > * {
align-self: center;
display: flex;
}
.sync-exclude-folder-name {
flex-grow: 1;
}
.sync-exclude-folder-remove {
visibility: hidden;
margin-right: 6px;
}
.sync-exclude-folder:hover .sync-exclude-folder-remove {
visibility: visible;
}
.tag-pane-tag.is-active {
background-color: var(--interactive-accent);
color: var(--text-on-accent);
}
.tag-pane-tag.is-active .tag-pane-tag-count {
background-color: var(--background-modifier-hover);
color: var(--text-normal);
}
@media (hover: hover) {
.tag-pane-tag.is-active:hover {
background-color: var(--interactive-accent);
color: var(--text-on-accent);
}
}
.tag-pane-tag-text,
.tag-pane-tag-count {
display: inline-block;
}
.tag-pane-tag-text {
word-break: break-word;
flex-grow: 1;
}
.tag-container {
font-size: var(--font-ui-small);
padding: var(--size-4-3) var(--size-4-3) var(--size-4-8);
overflow: auto;
}
.tree-item-children .tag-pane-tag .tag-pane-tag-parent {
display: none;
}
.workspace-leaf.mod-active .tree-item.has-focus > .tag-pane-tag {
border-radius: var(--radius-s);
box-shadow: 0 0 0 2px var(--background-modifier-border-focus);
}
.mod-canvas-color-1 {
--canvas-color: var(--canvas-color-1);
}
.mod-canvas-color-2 {
--canvas-color: var(--canvas-color-2);
}
.mod-canvas-color-3 {
--canvas-color: var(--canvas-color-3);
}
.mod-canvas-color-4 {
--canvas-color: var(--canvas-color-4);
}
.mod-canvas-color-5 {
--canvas-color: var(--canvas-color-5);
}
.mod-canvas-color-6 {
--canvas-color: var(--canvas-color-6);
}
.workspace-leaf-content[data-type='canvas'] .view-content {
padding: 0;
position: relative;
}
body {
--canvas-color: 192, 192, 192;
}
body.theme-dark {
--canvas-color: 126, 126, 126;
}
.canvas-wrapper {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
--resizer-size: 20px;
--shadow-stationary: 0px 0.5px 1px 0.5px rgba(0, 0, 0, 0.1);
--shadow-drag: 0px 2px 10px rgba(0, 0, 0, 0.1);
--shadow-border-accent: 0 0 0 2px var(--color-accent);
--zoom-multiplier: 1;
background-color: var(--canvas-background);
overflow: hidden;
contain: strict;
touch-action: none;
user-select: none;
}
.canvas-wrapper.is-dragging {
cursor: grabbing;
}
.canvas-wrapper.is-dragging iframe:not(.is-controlled),
.canvas-wrapper.is-dragging webview {
pointer-events: none;
}
.canvas-wrapper.is-screenshotting {
z-index: 999999;
}
.canvas-wrapper.is-screenshotting .canvas-card-menu,
.canvas-wrapper.is-screenshotting .canvas-controls {
display: none !important;
}
.canvas-wrapper.is-screenshotting * {
pointer-events: none !important;
}
.canvas-mover {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
cursor: grab;
}
.canvas-mover:active {
cursor: grabbing;
}
.canvas-background {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
pointer-events: none;
}
.canvas-background circle {
fill: var(--canvas-dot-pattern);
}
.canvas {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
transform-origin: 0 0;
pointer-events: none;
}
.canvas > * {
pointer-events: initial;
}
.canvas-selection {
pointer-events: none;
position: absolute;
background-color: hsla(var(--color-accent-hsl), 0.1);
border: 2px solid var(--color-accent);
z-index: -1;
}
.canvas-selection.mod-group-selection {
border-width: 3px;
border-radius: 3px;
background-color: hsla(var(--color-accent-hsl), 0.03);
border-color: hsla(var(--color-accent-hsl), 0.3);
pointer-events: initial;
}
.canvas-wrapper:not(.mod-readonly) .canvas-selection.mod-group-selection {
cursor: grab;
}
.canvas-wrapper:not(.mod-readonly) .canvas-selection.mod-group-selection:active {
cursor: grabbing;
}
.canvas-selection.mod-node-highlight {
border-radius: var(--radius-m);
}
.canvas-controls,
.canvas-card-menu {
display: flex;
position: absolute;
z-index: var(--layer-cover);
font-size: var(--font-ui-medium);
}
.canvas-card-menu {
background-color: var(--background-primary);
border-radius: var(--radius-s);
box-shadow: var(--input-shadow);
bottom: var(--size-4-4);
left: 50%;
transform: translatex(-50%);
align-items: stretch;
}
.is-phone .canvas-card-menu,
.mod-toolbar-open .canvas-card-menu {
display: none;
}
.theme-dark .canvas-card-menu {
background-color: var(--background-secondary);
}
.canvas-card-menu .canvas-card-menu-divider {
width: 1px;
background-color: var(--background-modifier-border);
}
.canvas-card-menu .canvas-card-menu-button {
color: var(--text-muted);
height: auto;
display: flex;
line-height: 1;
align-items: center;
justify-content: center;
padding: var(--size-4-2);
--icon-size: var(--icon-xl);
--icon-stroke: var(--icon-xl-stroke-width);
}
@media (hover: hover) {
.canvas-card-menu .canvas-card-menu-button:hover {
color: var(--color-accent);
}
}
.canvas-card-menu .canvas-card-menu-button svg {
fill: var(--background-primary);
}
.theme-dark .canvas-card-menu .canvas-card-menu-button svg {
fill: var(--background-secondary);
}
.canvas-card-menu .canvas-card-menu-button.mod-draggable {
cursor: grab;
}
.canvas-card-menu .canvas-card-menu-button.mod-draggable:active {
cursor: grabbing;
}
.canvas-card-menu .canvas-card-menu-button.mod-draggable svg {
transition: 90ms transform ease-out;
}
@media (hover: hover) {
.canvas-card-menu .canvas-card-menu-button.mod-draggable:hover svg {
transform: translateY(-6px);
filter: drop-shadow(0px 6px 2px rgba(0, 0, 0, 0.1));
}
}
.canvas-controls {
right: var(--size-4-2);
top: var(--size-4-2);
gap: var(--size-4-2);
display: flex;
flex-direction: column;
}
.canvas-control-group {
border-radius: var(--radius-s);
background-color: var(--background-primary);
border: 1px solid var(--background-modifier-border);
box-shadow: var(--input-shadow);
display: flex;
flex-direction: column;
overflow: hidden;
}
.canvas-control-item {
border-radius: 0;
box-shadow: none;
height: auto;
display: flex;
line-height: 1;
font-size: inherit;
align-items: center;
justify-content: center;
cursor: var(--cursor);
padding: var(--size-4-2);
border-bottom: 1px solid var(--background-modifier-border);
color: var(--text-muted);
background-color: var(--interactive-normal);
--icon-size: var(--icon-s);
--icon-stroke: var(--icon-s-stroke-width);
}
.canvas-control-item:last-child {
border-bottom: none;
}
@media (hover: hover) {
.canvas-control-item:hover {
color: var(--text-normal);
background-color: var(--interactive-hover);
}
}
.canvas-control-item.is-active {
color: var(--color-accent);
}
.canvas-control-item.is-disabled svg {
color: var(--text-faint);
}
.canvas-control-item svg {
pointer-events: none;
}
.canvas-node-container {
background-color: var(--background-primary);
border-radius: var(--radius-m);
border: 2px solid rgb(var(--canvas-color));
contain: strict;
display: flex;
flex-direction: column;
overflow: hidden;
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
box-shadow: var(--shadow-stationary);
}
.canvas-wrapper:not(.mod-readonly) .canvas-node:not(.is-editing) .canvas-node-container {
cursor: grab;
}
.canvas-wrapper:not(.mod-readonly) .canvas-node:not(.is-editing) .canvas-node-container:active {
cursor: grabbing;
}
.canvas-node-label {
position: absolute;
left: 0;
top: calc(-1 * var(--size-4-1) * var(--zoom-multiplier));
transform: translate(0, -100%) scale(var(--zoom-multiplier));
transform-origin: bottom left;
max-width: calc(100% / var(--zoom-multiplier));
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: var(--canvas-card-label-color);
--icon-size: 1em;
}
body:not(.is-ios) .canvas-wrapper.mod-animating .canvas-node-label {
transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
.canvas-node-label svg {
position: relative;
top: 2px;
margin-right: var(--size-4-1);
}
.canvas-node-label.mod-hover-label {
opacity: 0;
}
@media (hover: hover) {
.canvas-node-label:hover {
color: var(--text-muted);
}
.canvas-node:hover .canvas-node-label.mod-hover-label {
opacity: 1;
}
}
@media (hover: none) {
.canvas-node.is-focused .canvas-node-label.mod-hover-label {
opacity: 1;
}
}
.canvas-wrapper.mod-zoomed-out .canvas-node-label {
display: none;
}
.canvas-node-placeholder {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
width: 100%;
height: 100%;
overflow: hidden;
overflow-wrap: anywhere;
padding: var(--size-4-6);
font-size: 32px;
font-weight: var(--font-semibold);
}
.canvas-node-placeholder::after {
border-radius: var(--radius-s);
content: ' ';
display: block;
position: absolute;
top: var(--size-4-4);
right: var(--size-4-4);
bottom: var(--size-4-4);
left: var(--size-4-4);
background-color: rgba(var(--canvas-color), 0.1);
}
.canvas-icon-placeholder {
display: flex;
width: 40%;
height: 40%;
}
.canvas-icon-placeholder svg {
opacity: 0.3;
color: rgb(var(--canvas-color));
width: 100%;
height: 100%;
}
.canvas-node-interaction-layer {
position: absolute;
width: 0;
height: 0;
pointer-events: none;
}
.canvas-node-interaction-layer > * {
pointer-events: initial;
}
.canvas-node {
--shadow-border-themed-inset: inset 0 0 0 1px rgb(var(--canvas-color));
--shadow-border-themed: 0 0 0 2px rgb(var(--canvas-color));
position: absolute;
width: 0;
height: 0;
}
.canvas-node.is-dragging {
pointer-events: none;
}
.canvas-node.is-dragging .canvas-node-container {
box-shadow: var(--shadow-drag);
}
.canvas-node.is-selected,
.canvas-node.is-focused {
touch-action: initial;
}
.canvas-node.is-selected .canvas-node-label,
.canvas-node.is-focused .canvas-node-label {
color: var(--text-muted);
}
.canvas-node.is-selected .canvas-node-container,
.canvas-node.is-focused .canvas-node-container {
border-color: var(--color-accent);
box-shadow: var(--shadow-stationary), var(--shadow-border-accent);
}
.canvas-node.is-selected.is-dragging .canvas-node-container,
.canvas-node.is-focused.is-dragging .canvas-node-container {
box-shadow: var(--shadow-drag), var(--shadow-border-accent);
}
.canvas-node.is-themed .canvas-node-container {
border-color: rgba(var(--canvas-color), 0.7);
box-shadow: inset 0 0 0 1px rgba(var(--canvas-color), 0.7), var(--shadow-stationary);
}
.canvas-node.is-selected.is-themed .canvas-node-container,
.canvas-node.is-focused.is-themed .canvas-node-container {
border-color: rgb(var(--canvas-color));
box-shadow: var(--shadow-border-themed-inset), var(--shadow-border-themed);
}
.canvas-node.is-selected.is-themed.is-dragging .canvas-node-container,
.canvas-node.is-focused.is-themed.is-dragging .canvas-node-container {
box-shadow: var(--shadow-border-themed-inset), var(--shadow-border-themed);
}
.canvas-node.is-dummy {
cursor: grabbing;
}
.canvas-node.is-dummy .canvas-node-container {
border: 4px solid var(--color-accent);
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
background-color: hsla(var(--color-accent-hsl), 0.2);
}
.canvas-node.is-focused:not(.is-dragging) .canvas-node-content-blocker {
display: none;
}
.canvas-node-content-blocker {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
}
.canvas-node-group:not(.is-focused):not(.is-selected) {
pointer-events: none;
}
.canvas-node-group .canvas-node-resizer {
pointer-events: initial;
}
.canvas-node-group .canvas-node-container {
background-color: transparent;
}
.canvas-node-group .canvas-node-content {
background-color: rgba(var(--canvas-color), 0.07);
}
.canvas-group-label {
position: absolute;
left: 0;
top: calc(-1 * var(--size-4-1) * var(--zoom-multiplier));
transform: translate(0, -100%) scale(var(--zoom-multiplier));
transform-origin: bottom left;
max-width: calc(100% / var(--zoom-multiplier));
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
pointer-events: initial;
font-size: 1.5em;
padding: var(--size-4-1) var(--size-4-2);
border-radius: var(--radius-s);
color: var(--text-muted);
background-color: rgba(var(--canvas-color), 0.1);
line-height: 1;
}
body:not(.is-ios) .canvas-wrapper.mod-animating .canvas-group-label {
transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
.canvas-wrapper:not(.mod-readonly) .canvas-group-label {
cursor: grab;
}
.canvas-wrapper:not(.mod-readonly) .canvas-group-label:active {
cursor: grabbing;
}
.canvas-group-label[contenteditable="true"] {
cursor: text;
background-color: var(--background-primary);
box-shadow: 0 0 0 2px rgb(var(--canvas-color));
color: var(--text-normal);
text-overflow: initial;
}
.canvas-node-group.is-themed .canvas-group-label:not([contenteditable="true"]) {
background-color: rgb(var(--canvas-color));
}
.canvas-node-group.is-themed .canvas-group-label:not([contenteditable="true"]).mod-foreground-light {
color: var(--text-on-accent);
}
.canvas-node-group.is-themed .canvas-group-label:not([contenteditable="true"]).mod-foreground-dark {
color: var(--text-on-accent-inverted);
}
.canvas-node-content {
backface-visibility: hidden;
width: 100%;
height: 100%;
overflow: hidden;
position: relative;
}
.canvas-node-content.markdown-embed {
border: none;
padding: 0;
}
.canvas-node-content.markdown-embed .inline-title {
cursor: text;
}
.canvas-node-content.markdown-embed > .markdown-embed-content > .markdown-preview-view {
padding: 0 var(--size-4-6);
display: flex;
flex-direction: column;
}
.canvas-wrapper:not(.mod-readonly) .canvas-node-content.markdown-embed > .markdown-embed-content > .markdown-preview-view {
user-select: none;
-webkit-user-select: none;
}
.canvas-node-content.markdown-embed > .markdown-embed-content > .markdown-preview-view::before,
.canvas-node-content.markdown-embed > .markdown-embed-content > .markdown-preview-view::after {
content: " ";
display: block;
min-height: min(calc(var(--canvas-node-height) * 0.1 - 3px), var(--size-4-6));
max-height: var(--size-4-4);
flex: 1 1 0;
}
.canvas-node-content.markdown-embed > .markdown-embed-content > .markdown-preview-view > .markdown-preview-sizer {
flex: 1 0 0;
}
.canvas-node-content.markdown-embed > .markdown-embed-content > .markdown-preview-view .callout {
mix-blend-mode: normal;
}
.canvas-node-content.markdown-embed > .markdown-embed-content > .markdown-preview-view .markdown-preview-pusher + div > *:first-child {
margin-top: 0;
}
.canvas-node-content.markdown-embed > .markdown-embed-content > .markdown-preview-view .mod-header + div > *:first-child {
margin-top: 0;
}
.canvas-node-content.markdown-embed > .markdown-embed-content > .markdown-preview-view .markdown-preview-sizer > div:last-child > *:last-child {
margin-bottom: 0;
}
.is-focused .canvas-node-content.markdown-embed > .markdown-embed-content > .markdown-preview-view {
transform: translateZ(0);
}
.canvas-node.is-themed .canvas-node-content {
background-color: rgba(var(--canvas-color), 0.07);
}
.canvas-node-content.media-embed {
justify-content: center;
align-items: center;
display: flex;
}
.canvas-node-content.media-embed img,
.canvas-node-content.media-embed video,
.canvas-node-content.media-embed audio {
flex-shrink: 0;
flex-grow: 1;
}
.canvas-node-content.media-embed img:not([width]),
.canvas-node-content.media-embed video,
.canvas-node-content.media-embed audio {
max-width: 100%;
}
.canvas-node-resizer {
position: absolute;
height: calc(var(--resizer-size) * var(--zoom-multiplier));
width: calc(var(--resizer-size) * var(--zoom-multiplier));
}
.is-selected .canvas-node-resizer {
pointer-events: none;
}
body.is-mobile .canvas-node-resizer {
--zoom-multiplier: 1;
}
.canvas-wrapper.mod-readonly .canvas-node-resizer {
display: none;
}
.canvas-node-resizer[data-resize='top'] {
left: 0;
right: 0;
width: auto;
top: calc(var(--resizer-size) * var(--zoom-multiplier) * -0.5);
cursor: ns-resize;
}
.canvas-node-resizer[data-resize='bottom'] {
left: 0;
right: 0;
width: auto;
bottom: calc(var(--resizer-size) * var(--zoom-multiplier) * -0.5);
cursor: ns-resize;
}
.canvas-node-resizer[data-resize='left'] {
top: 0;
bottom: 0;
height: auto;
left: calc(var(--resizer-size) * var(--zoom-multiplier) * -0.5);
cursor: ew-resize;
}
.canvas-node-resizer[data-resize='right'] {
top: 0;
bottom: 0;
height: auto;
right: calc(var(--resizer-size) * var(--zoom-multiplier) * -0.5);
cursor: ew-resize;
}
.canvas-node-resizer[data-resize='topright'] {
right: calc(var(--resizer-size) * var(--zoom-multiplier) * -0.5);
top: calc(var(--resizer-size) * var(--zoom-multiplier) * -0.5);
cursor: nesw-resize;
}
.canvas-node-resizer[data-resize='bottomright'] {
right: calc(var(--resizer-size) * var(--zoom-multiplier) * -0.5);
bottom: calc(var(--resizer-size) * var(--zoom-multiplier) * -0.5);
cursor: nwse-resize;
}
.canvas-node-resizer[data-resize='topleft'] {
left: calc(var(--resizer-size) * var(--zoom-multiplier) * -0.5);
top: calc(var(--resizer-size) * var(--zoom-multiplier) * -0.5);
cursor: nwse-resize;
}
.canvas-node-resizer[data-resize='bottomleft'] {
left: calc(var(--resizer-size) * var(--zoom-multiplier) * -0.5);
bottom: calc(var(--resizer-size) * var(--zoom-multiplier) * -0.5);
cursor: nesw-resize;
}
.is-mobile .canvas-node-resizer {
pointer-events: none;
}
.is-mobile .canvas-wrapper:not(.mod-readonly) .canvas-node-interaction-layer .canvas-node-resizer[data-resize='topright'],
.is-mobile .canvas-wrapper:not(.mod-readonly) .canvas-node-interaction-layer .canvas-node-resizer[data-resize='bottomright'],
.is-mobile .canvas-wrapper:not(.mod-readonly) .canvas-node-interaction-layer .canvas-node-resizer[data-resize='topleft'],
.is-mobile .canvas-wrapper:not(.mod-readonly) .canvas-node-interaction-layer .canvas-node-resizer[data-resize='bottomleft'] {
pointer-events: all;
width: 20px;
height: 20px;
display: block;
background-color: var(--background-primary);
border: 2px solid var(--color-accent);
border-radius: 3px;
}
.canvas-node-connection-point {
width: calc(var(--resizer-size) * var(--zoom-multiplier));
height: calc(var(--resizer-size) * var(--zoom-multiplier));
position: absolute;
pointer-events: all;
cursor: pointer;
}
.canvas-node-connection-point[data-side='top'] {
top: 1px;
left: calc(50% - var(--resizer-size) * var(--zoom-multiplier) / 2);
}
.canvas-node-connection-point[data-side='right'] {
right: 1px;
top: calc(50% - var(--resizer-size) * var(--zoom-multiplier) / 2);
}
.canvas-node-connection-point[data-side='bottom'] {
bottom: 1px;
left: calc(50% - var(--resizer-size) * var(--zoom-multiplier) / 2);
}
.canvas-node-connection-point[data-side='left'] {
left: 1px;
top: calc(50% - var(--resizer-size) * var(--zoom-multiplier) / 2);
}
.canvas-node-connection-point::after {
content: ' ';
background-color: var(--color-accent);
border-radius: 50%;
border: 3px solid var(--background-modifier-border);
box-sizing: border-box;
display: block;
height: calc(var(--resizer-size) * var(--zoom-multiplier));
opacity: 0;
position: relative;
width: calc(var(--resizer-size) * var(--zoom-multiplier));
left: 0;
top: 0;
}
.is-mobile .canvas-node-interaction-layer .canvas-node-connection-point::after,
.canvas-node-resizer:hover .canvas-node-connection-point::after {
opacity: 1;
}
.canvas-snaps {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
overflow: visible;
pointer-events: none;
opacity: 0.6;
}
.canvas-snaps line {
stroke-width: 1px;
stroke: var(--color-accent);
}
.canvas-snaps circle {
fill: var(--color-accent);
}
.canvas-edges {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
overflow: visible;
pointer-events: none;
}
.canvas-edges > * {
pointer-events: initial;
}
.canvas-edges path.canvas-display-path {
pointer-events: none;
stroke-width: calc(3px * var(--zoom-multiplier));
stroke: rgb(var(--canvas-color));
fill: none;
transition: stroke-width 100ms ease-out;
}
.canvas-edges path.canvas-interaction-path {
pointer-events: stroke;
stroke-width: calc(24px * var(--zoom-multiplier));
stroke-linecap: round;
stroke: transparent;
fill: none;
transition: stroke 100ms ease-out;
}
.canvas-wrapper:not(.mod-readonly) .canvas-edges path.canvas-interaction-path {
cursor: grab;
}
.canvas-wrapper:not(.mod-readonly) .canvas-edges path.canvas-interaction-path:active {
cursor: grabbing;
}
.canvas-edges polygon.canvas-path-end {
pointer-events: none;
stroke: rgb(var(--canvas-color));
fill: rgb(var(--canvas-color));
stroke-linecap: round;
stroke-linejoin: round;
stroke-width: 1px;
transform-box: fill-box;
transform: scale(var(--zoom-multiplier));
transform-origin: center top;
}
.canvas-edges g.is-focused path.canvas-display-path,
.canvas:not(.is-connecting) .canvas-edges g:hover path.canvas-display-path {
stroke-width: calc(5.5px * var(--zoom-multiplier));
}
.canvas-edges g.is-focused path.canvas-interaction-path,
.canvas:not(.is-connecting) .canvas-edges g:hover path.canvas-interaction-path {
stroke: rgba(var(--canvas-color), 0.1);
}
.canvas-path-label-wrapper {
position: absolute;
width: fit-content;
height: fit-content;
}
.canvas-path-label {
font-size: calc(var(--font-ui-large) * var(--zoom-multiplier));
background-color: var(--background-primary);
border-radius: var(--radius-s);
padding: calc(var(--size-2-3) * var(--zoom-multiplier));
line-height: var(--line-height-tight);
white-space: pre-wrap;
transform: translate(-50%, -50%);
text-align: center;
max-width: calc(17em * var(--zoom-multiplier));
}
.canvas-path-label.is-editing {
border-color: rgb(var(--canvas-color));
box-shadow: var(--shadow-stationary), 0 0 0 calc(3px * var(--zoom-multiplier)) rgb(var(--canvas-color));
}
.canvas-menu-container {
position: absolute;
width: 0;
height: 0;
top: 0;
left: 0;
}
.canvas-menu {
position: relative;
width: fit-content;
height: fit-content;
line-height: 1;
background-color: var(--background-primary);
border: 1px solid var(--background-modifier-border);
border-radius: var(--radius-s);
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.07);
display: flex;
padding: var(--size-2-1);
gap: 1px;
}
.canvas-menu .clickable-icon {
padding: var(--size-2-3) var(--size-4-2);
}
.canvas-submenu {
display: flex;
position: absolute;
top: calc(100% + 5px);
left: 50%;
transform: translateX(-50%);
padding: var(--size-4-2);
border: 1px solid var(--background-modifier-border);
background-color: var(--background-primary);
border-radius: var(--radius-s);
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.07);
overflow: hidden;
gap: 1px;
}
.canvas-submenu .clickable-icon {
padding: var(--size-2-2) var(--size-2-3);
}
.canvas-color-picker-item {
cursor: var(--cursor);
width: 24px;
height: 24px;
margin: 2px;
border-radius: 12px;
border: 2px solid var(--background-primary);
background-color: rgb(var(--canvas-color));
}
.canvas-color-picker-item.is-active {
box-shadow: 0 0 0 2px rgb(var(--canvas-color));
}
@media (hover: hover) {
.canvas-color-picker-item:hover {
box-shadow: 0 0 0 2px rgb(var(--canvas-color));
}
}
.canvas-color-picker-item input[type="color"] {
margin: -4px 0 0 -2px;
--swatch-width: 20px;
--swatch-height: 20px;
opacity: 0;
}
.canvas-color-picker-item.canvas-color-picker-custom:not(.is-active) {
background: conic-gradient(var(--color-red), var(--color-yellow), var(--color-green), var(--color-blue), var(--color-purple), var(--color-red));
}
@media (hover: hover) {
.canvas-color-picker-item.canvas-color-picker-custom:not(.is-active):hover {
box-shadow: 0 0 0 2px var(--background-modifier-border-hover);
}
}
.canvas-empty-embed-container {
align-items: center;
display: flex;
flex-direction: column;
gap: var(--size-4-6);
justify-content: center;
height: 100%;
padding: var(--size-4-3);
text-align: center;
}
.canvas-empty-embed-action-list {
display: flex;
flex-direction: column;
gap: var(--size-4-3);
}
.canvas-empty-embed-action-list button {
font-size: var(--font-text-size);
padding: var(--size-4-5) var(--size-4-9);
}
.canvas-help {
display: flex;
flex-direction: column;
gap: var(--size-4-3);
}
.canvas-instruction {
display: flex;
justify-content: space-between;
}
.canvas-instruction-desc {
display: flex;
gap: var(--size-4-1);
}
.canvas-instruction-desc .setting-hotkey {
display: inline;
align-self: unset;
padding: var(--size-4-1);
margin: 0;
line-height: 1;
}
.canvas-placeholder-message {
max-width: 70vw;
background: hsla(var(--color-accent-hsl), 0.1);
border-radius: var(--radius-m);
color: var(--color-accent);
font-size: var(--font-ui-large);
line-height: var(--line-height-normal);
padding: var(--size-4-4) var(--size-4-6);
pointer-events: none;
position: absolute;
text-align: center;
transform: translate(-50%, -50%);
}
.canvas-minimap {
width: 100%;
height: 100%;
padding: var(--size-4-1);
}
.inline-embed > .canvas-minimap {
max-height: var(--embed-canvas-max-height);
}
.canvas-minimap rect {
stroke-width: 5px;
stroke: var(--background-modifier-border);
fill: var(--background-modifier-border);
fill-opacity: 0.65;
}
.canvas-minimap rect.is-themed {
stroke: rgb(var(--canvas-color));
fill: rgb(var(--canvas-color));
fill-opacity: 0.5;
}
.canvas-minimap path {
stroke: #c0c0c0;
fill: none;
}
.canvas-minimap path.is-themed {
stroke: rgb(var(--canvas-color));
}
.canvas-cursor {
position: absolute;
width: 1px;
height: 1px;
border: 5px solid var(--color-accent);
border-radius: 5px;
pointer-events: none;
}
.canvas-watermark * {
font-family: var(--font-default) !important;
}
.mod-macos.starter {
-webkit-app-region: drag;
}
.starter {
-webkit-user-select: none;
padding-top: 0! important;
}
.starter .titlebar {
background-color: transparent;
border: none;
}
.starter .titlebar-inner .titlebar-text {
display: none;
}
.starter-screen {
display: flex;
flex-direction: column;
background-color: var(--background-primary);
width: 100%;
height: 100%;
}
.starter-screen-inner {
flex-grow: 1;
display: flex;
height: calc(100% - 24px);
}
.splash {
align-items: center;
background-color: var(--background-primary);
display: flex;
flex-direction: column;
justify-content: center;
flex: 1 1 auto;
text-align: center;
padding: 36px 0 0;
}
.splash-brand {
flex: 0 0 content;
padding: 20px;
}
.splash-brand-name {
margin-top: 20px;
flex-grow: 1;
font-size: 30px;
text-transform: uppercase;
font-family: 'Avenir Next', sans-serif;
letter-spacing: 2px;
line-height: 26px;
}
.splash-brand-version {
color: var(--text-muted);
margin-top: 6px;
font-size: var(--font-ui-small);
}
.help-options-container {
flex: 1 0 0;
overflow: auto;
width: 100%;
max-width: 82%;
text-align: left;
padding: var(--size-4-6) 0;
}
.help-options-container::-webkit-scrollbar {
display: none;
}
.help-options-container .setting-item-description {
max-width: 30em;
padding-right: 12px;
}
.help-options-container .setting-icon .svg-icon {
stroke-width: 1px;
--icon-size: 48px;
color: var(--text-faint);
}
.open-vault-options-container {
flex: 1 0 0;
overflow: auto;
width: 100%;
position: relative;
}
.open-vault-options-container::-webkit-scrollbar {
display: none;
}
.open-vault-options {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
padding: 12px 36px;
text-align: left;
overflow-y: auto;
display: flex;
flex-direction: column;
}
.open-vault-options input[type='text'] {
width: 150px;
}
.open-vault-options .setting-item-control button {
width: 100px;
}
.open-vault-options .back-button {
display: flex;
align-items: center;
-webkit-app-region: no-drag;
color: var(--text-muted);
user-select: none;
cursor: var(--cursor);
}
@media (hover: hover) {
.open-vault-options .back-button:hover {
color: var(--text-normal);
}
}
.open-vault-options .setting-item-description {
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
.open-vault-options.mod-login {
justify-content: flex-start;
}
.open-vault-options.mod-login input[type='text'] {
width: 250px;
}
.quick-start-container {
margin-bottom: 10px;
}
.quick-start-container button {
font-size: var(--font-ui-medium);
padding: 8px 60px;
}
.quick-start-container + .setting-item {
border-top: none;
}
.open-folder-input[type='text'] {
font-size: var(--font-ui-small);
width: 200px;
height: 28px;
}
.browse-folder-button {
margin-left: 10px;
}
.open-folder-button {
margin-top: 14px;
padding: 6px 36px;
}
.starter .notice {
top: 38px;
}
.setting-item.mod-change-language {
-webkit-app-region: no-drag;
}
.setting-item.mod-change-language .setting-item-info {
flex-grow: 0;
}
.setting-item.mod-change-language .setting-item-control {
flex-grow: 1;
justify-content: flex-start;
}
.setting-item.mod-change-language select {
width: 100%;
max-width: 100%;
}
.setting-item.mod-change-language .setting-item-name {
color: var(--text-faint);
position: relative;
top: 3px;
cursor: var(--cursor);
}
@media (hover: hover) {
.setting-item.mod-change-language .setting-item-name:hover {
color: var(--text-muted);
}
}
.setting-icon {
display: flex;
color: var(--text-muted);
margin-right: 24px;
}
.choose-vault-clickable-area {
text-align: center;
padding: 40px 60px;
border: 5px dashed var(--interactive-accent);
border-radius: 10px;
cursor: var(--cursor);
}
@media (hover: hover) {
.choose-vault-clickable-area:hover {
background-color: hsla(var(--interactive-accent-hsl), 0.4);
border: 5px solid hsla(var(--interactive-accent-hsl), 0.4);
}
}
.choose-vault-label-welcome {
line-height: 46px;
color: var(--text-muted);
}
.choose-vault-label-choose {
font-weight: var(--font-extrabold);
font-size: 32px;
}
.recent-vaults {
background-color: var(--background-secondary);
border-right: 1px solid var(--background-modifier-border);
padding: var(--size-4-8) var(--size-4-3) var(--size-4-2) var(--size-4-3);
flex-shrink: 0;
width: 280px;
overflow-y: hidden;
height: 100%;
}
.recent-vaults-header {
height: 30px;
line-height: 30px;
font-size: 18px;
color: var(--text-muted);
}
.recent-vaults-list {
overflow-y: auto;
height: 100%;
}
.recent-vaults-list-item {
-webkit-app-region: no-drag;
border-radius: var(--radius-s);
margin-bottom: var(--size-4-1);
padding: var(--size-4-2) var(--size-4-6) var(--size-4-2) var(--size-4-3);
cursor: var(--cursor);
position: relative;
}
@media (hover: hover) {
.recent-vaults-list-item:hover {
background-color: var(--background-modifier-hover);
color: var(--text-on-accent);
}
}
.recent-vaults-list-item-name,
.recent-vaults-list-item-path {
word-break: break-all;
}
.recent-vaults-list-item-name {
border-radius: 2px;
border: 1px solid transparent;
}
.recent-vaults-list-item-name[contenteditable] {
cursor: text;
border-color: var(--interactive-accent);
background-color: var(--background-modifier-hover);
font-size: 0.9em;
padding: 0 var(--size-4-1);
}
.recent-vaults-list-item-path {
font-size: var(--font-ui-smaller);
color: var(--text-muted);
line-height: 16px;
}
.recent-vaults-list-item-option-button {
position: absolute;
top: var(--size-4-3);
right: var(--size-4-1);
color: var(--text-faint);
width: 30px;
height: 30px;
line-height: 36px;
text-align: center;
transition: background-color 200ms ease-in-out;
}
.recent-vaults-list-item-option-button:hover {
color: var(--text-normal);
}
:root {
--safe-area-inset-top: env(safe-area-inset-top);
--safe-area-inset-bottom: env(safe-area-inset-bottom);
--safe-area-inset-left: env(safe-area-inset-left);
--safe-area-inset-right: env(safe-area-inset-right);
}
.is-mobile {
--ribbon-width: 58px;
--view-header-height: 50px;
--mobile-toolbar-height: 40px;
--caret-color: var(--text-accent);
--font-ui-smaller: calc(var(--font-text-size) * 0.8);
--font-ui-small: calc(var(--font-text-size) * 0.937);
--font-ui-medium: var(--font-text-size);
--font-ui-large: calc(var(--font-text-size) * 1.2);
--icon-s: 18px;
--icon-m: 20px;
--icon-l: 24px;
--icon-l-stroke-width: 1.8px;
--icon-opacity: 1;
--input-height: 40px;
--input-shadow: none;
--input-shadow-hover: none;
--input-font-weight: var(--font-medium);
--input-border-width: 0px;
--interactive-normal: var(--background-secondary);
--mobile-sidebar-width: 340px;
--mobile-sidebar-max-width: 500px;
--nav-item-padding: var(--size-2-3) var(--size-4-2);
--nav-item-color: var(--text-normal);
--search-clear-button-size: 16px;
--search-icon-size: 20px;
--settings-home-background: var(--background-secondary);
--slider-thumb-border-width: 0px;
--slider-thumb-height: 24px;
--slider-thumb-width: 24px;
--slider-thumb-y: -9px;
--slider-track-height: 6px;
--swatch-shadow: none;
--swatch-height: 40px;
--swatch-width: 40px;
--swatch-radius: 40px;
--toggle-width: 48px;
--toggle-radius: 26px;
--toggle-thumb-radius: 26px;
--toggle-thumb-height: 26px;
--toggle-thumb-width: 26px;
--file-margins: var(--size-4-2) var(--size-4-5);
--background-modifier-cover: rgba(0, 0, 0, 0.25);
--background-modifier-form-field: var(--background-secondary);
--keyboard-background: var(--background-primary);
--checkbox-size: 17px;
}
.is-mobile.theme-dark {
--color-base-00: #000;
--color-base-10: #111;
--color-base-20: #1e1e1e;
--tag-background: hsla(var(--interactive-accent-hsl), 0.2);
--modal-background: var(--background-secondary);
--search-result-background: var(--background-secondary);
--background-modifier-form-field: var(--background-modifier-border);
--background-modifier-cover: rgba(0, 0, 0, 0.5);
--background-modifier-hover: rgba(var(--mono-rgb-100), 0.15);
--settings-home-background: var(--background-primary);
}
.is-tablet {
--nav-item-padding: var(--size-2-3) var(--size-4-3);
--tab-font-size: var(--font-ui-smaller);
}
.is-tablet.theme-dark {
--titlebar-background: var(--background-primary);
--titlebar-background-focused: var(--background-primary);
--interactive-normal: var(--background-modifier-border);
}
.is-phone {
--border-width: 0.5pt;
--divider-width: 0.5pt;
--tab-outline-width: 0.5pt;
--modal-header-height: 44px;
--modal-community-sidebar-width: 100%;
--nav-item-size: var(--font-ui-medium);
}
body.is-mobile {
height: 100vh;
width: 100vw;
caret-color: var(--caret-color);
padding-bottom: 50px;
}
.is-mobile .markdown-source-view.mod-cm6 .cm-content,
.is-mobile .mod-cm6 .cm-line {
caret-color: var(--caret-color);
}
.is-mobile .markdown-source-view.mod-cm6 .cm-gutters {
margin-left: -18px;
}
.is-mobile .workspace > .mod-root {
padding-left: var(--safe-area-inset-left);
}
body.is-mobile {
padding: var(--safe-area-inset-top) 0 0 0;
-webkit-text-size-adjust: 100%;
}
.is-mobile .workspace-split.mod-left-split,
.is-mobile .workspace-split.mod-right-split {
display: none;
}
.is-mobile .tree-item .tree-item-self {
padding-right: var(--size-4-2);
}
.is-mobile .input-label {
display: block;
text-align: left;
color: var(--text-muted);
margin-bottom: 8px;
}
.is-mobile input[type='text'] {
display: block;
width: 100%;
padding: 8px 12px;
height: auto;
}
.is-mobile .markdown-rendered pre:not(:hover) > button.copy-code-button {
display: block;
}
.is-mobile .markdown-rendered button.copy-code-button {
width: auto;
}
.is-mobile .empty-state-action-list {
margin-top: 40px;
}
.is-mobile .empty-state-action {
background-color: var(--background-primary-alt);
margin: 12px 0;
padding: 6px 30px;
border-radius: var(--button-radius);
text-align: center;
}
.is-mobile .login-field {
width: 100%;
margin: 0.5em 0 0.5em 0;
}
.is-mobile .login-field input {
width: 100%;
}
.is-mobile .markdown-rendered .frontmatter-container {
margin-top: 20px;
}
.is-mobile .markdown-rendered .heading-collapse-indicator {
margin-left: -20px;
}
.is-mobile .markdown-rendered ul,
.is-mobile .markdown-rendered ol {
padding-inline-start: 25px;
}
.is-mobile .message-container {
text-align: center;
margin: 8px 0;
}
.is-mobile .search-result-file-match-replace-button {
display: block;
position: relative;
padding: 6px 10px;
right: 0;
margin-top: 6px;
background-color: var(--background-secondary-alt);
}
.is-mobile .suggestion-flair {
position: relative;
margin-right: 6px;
left: 0;
top: 0;
}
.is-mobile .document-search-container {
height: auto;
margin-left: 0;
margin-right: 0;
padding: 0 var(--size-4-4) var(--size-4-2);
border-bottom: var(--border-width) solid var(--background-modifier-border);
}
.is-mobile .document-search-container.mod-replace-mode {
height: auto;
}
.is-mobile .document-search,
.is-mobile .document-replace {
height: auto;
padding: 0;
}
.is-mobile .document-search .document-search-button,
.is-mobile .document-replace .document-search-button {
height: auto;
padding: 6px 0;
background-color: transparent;
color: var(--text-accent);
}
.is-mobile .document-search input,
.is-mobile .document-replace input,
.is-mobile .document-search button,
.is-mobile .document-replace button {
width: auto;
flex-grow: 1;
}
.is-mobile .document-search .document-search-buttons,
.is-mobile .document-replace .document-search-buttons,
.is-mobile .document-search .document-replace-buttons,
.is-mobile .document-replace .document-replace-buttons {
display: flex;
flex-grow: 1;
}
.is-mobile .document-search .document-search-close-button,
.is-mobile .document-replace .document-search-close-button {
height: 34px;
line-height: 34px;
top: 0;
}
.is-tablet .mod-left-split-toggle {
display: none;
}
.is-tablet button:not(.clickable-icon) {
padding: var(--size-4-1) var(--size-4-5);
}
.is-phone button {
width: 100%;
}
.is-phone .vault-list-item-creation-time {
display: none;
}
.is-phone .vault-list-item {
padding: 5px 0;
}
.is-phone .vault-list-item .flair {
display: none;
}
.is-phone .vault-list-item-title {
flex: 1 0 auto;
}
.is-phone .vault-list-item-button {
margin-right: 0;
}
.suggestion-bg {
display: none;
}
body.is-phone .suggestion-bg {
display: block;
}
@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes fadeOut {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
.mobile-image-viewer {
position: absolute;
height: 100%;
width: 100%;
top: 0;
left: 0;
background-color: var(--background-modifier-cover);
display: flex;
justify-content: center;
overflow: hidden;
z-index: var(--layer-modal);
}
.mobile-image-viewer img {
align-self: center;
max-height: 100%;
max-width: 100%;
}
.mod-tappable {
transition: opacity 0.15s ease-in-out;
}
.mod-tappable.mod-tap {
opacity: 0.5;
}
.is-mobile .document-search-container {
height: auto;
margin-left: 0;
margin-right: 0;
padding: 0 var(--size-4-4) var(--size-4-2);
border-bottom: var(--border-width) solid var(--background-modifier-border);
}
.is-mobile .document-search-container.mod-replace-mode {
height: auto;
}
.is-mobile .document-search,
.is-mobile .document-replace {
height: auto;
padding: 0;
}
.is-mobile .document-search .document-search-button,
.is-mobile .document-replace .document-search-button {
height: auto;
padding: 6px 0;
background-color: transparent;
color: var(--text-accent);
}
.is-mobile .document-search input,
.is-mobile .document-replace input,
.is-mobile .document-search button,
.is-mobile .document-replace button {
width: auto;
flex-grow: 1;
}
.is-mobile .document-search .document-search-buttons,
.is-mobile .document-replace .document-search-buttons,
.is-mobile .document-search .document-replace-buttons,
.is-mobile .document-replace .document-replace-buttons {
display: flex;
flex-grow: 1;
}
.is-mobile .document-search .document-search-close-button,
.is-mobile .document-replace .document-search-close-button {
height: 34px;
line-height: 34px;
top: 0;
}
.is-mobile .view-header {
border-top: none;
height: var(--view-header-height);
}
.is-mobile .workspace-split.mod-root > .workspace-leaf:first-of-type .workspace-leaf-content,
.is-mobile .workspace-split.mod-root > .workspace-leaf:last-of-type .workspace-leaf-content {
border-radius: 0;
}
.is-mobile .view-header-title {
padding-right: 0px;
}
.is-mobile .view-header-title-container {
padding-left: 24px;
}
.is-mobile .view-header-title-container:after {
display: none;
}
.is-mobile .view-header-icon {
padding: 10px;
}
.is-mobile .inline-title {
padding-top: 0.25em;
}
.is-mobile .horizontal-main-container {
position: relative;
}
.is-mobile .view-header-title-container {
height: 50px;
}
.is-mobile .view-actions {
padding: var(--size-4-2) 0;
gap: var(--size-2-1);
}
.is-mobile .view-header-nav-buttons,
.is-mobile .view-header .view-action {
--icon-color: var(--interactive-accent);
--icon-color-hover: var(--interactive-accent);
--icon-color-active: var(--interactive-accent-hover);
--icon-color-focus: var(--interactive-accent-hover);
--icon-size: var(--icon-l);
--icon-stroke: var(--icon-l-stroke-width);
}
.is-mobile .view-action {
margin: auto 0;
width: auto;
}
.is-phone .view-header-title-parent,
.is-phone .view-header-title {
display: block;
text-overflow: ellipsis;
opacity: 0.7;
}
.is-phone .view-header-title-parent:focus-within,
.is-phone .view-header-title:focus-within {
text-overflow: unset;
opacity: 1;
}
.is-mobile .hotkey-list-container .setting-item {
flex-direction: column;
align-items: stretch;
}
.is-mobile .hotkey-list-container .setting-item-control {
margin-top: 10px;
align-items: flex-start;
}
.is-mobile .hotkey-list-container .setting-command-hotkeys {
flex: 1 0 auto;
}
.is-mobile .hotkey-list-container .setting-hotkey {
align-self: flex-start;
}
.is-tablet .horizontal-tab-nav-item,
.is-tablet .vertical-tab-nav-item {
padding: var(--size-4-2) var(--size-4-3);
}
.is-tablet .modal.mod-settings .vertical-tab-header {
max-width: none;
}
.is-tablet.theme-dark .community-item,
.is-tablet.theme-dark .vertical-tab-content {
background-color: var(--background-secondary);
}
.is-phone.theme-dark .modal.mod-settings {
background-color: var(--background-primary);
}
.is-phone.theme-dark .modal.mod-settings .vertical-tab-header {
background-color: var(--background-primary);
}
.is-phone.theme-dark .modal.mod-settings .vertical-tab-nav-item {
background-color: var(--background-secondary);
}
.is-phone.theme-dark .modal.mod-settings .vertical-tab-header-title {
background-color: var(--background-primary);
}
.is-phone .setting-item-heading {
margin-top: 1.5em;
}
.is-phone .vertical-tab-header-group {
margin: 0 auto;
width: calc(100% - var(--size-4-8));
}
.is-phone .vertical-tab-header-group-title {
padding-bottom: 1em;
}
.is-phone .vertical-tab-header-group-title,
.is-phone .setting-item-heading .setting-item-name {
color: var(--text-normal);
font-weight: var(--font-bold);
font-size: var(--font-ui-large);
}
.is-phone .setting-item {
padding: 1em 0;
border-width: var(--border-width) 0 0 0;
gap: var(--size-4-1);
}
.is-phone .setting-item-name {
font-weight: var(--font-medium);
}
.is-phone .setting-item-info {
min-width: 0;
}
.is-phone .setting-item:not(.mod-toggle):not(.setting-item-heading) {
flex-direction: column;
align-items: flex-start;
}
.is-phone .setting-item:not(.mod-toggle):not(.setting-item-heading) .setting-item-control {
margin-top: 12px;
width: 100%;
}
.is-phone .setting-icon {
margin-right: 10px;
display: inline-flex;
vertical-align: middle;
}
.is-phone .setting-item-control select,
.is-phone .setting-item-control input,
.is-phone .setting-item-control button {
width: 100%;
margin: 0;
}
.is-phone .setting-item-control button {
padding: 10px;
}
.is-phone .setting-item-control select {
max-width: 100%;
}
.is-phone .modal.mod-settings {
background-color: var(--background-secondary);
}
.is-phone .modal.mod-settings .modal-title {
border-bottom: var(--border-width) solid var(--background-modifier-border);
}
.is-phone .modal.mod-settings .vertical-tabs-container {
display: block;
overflow-y: auto;
}
.is-phone .modal.mod-settings .vertical-tab-header {
background-color: var(--background-secondary);
border-right: none;
flex-grow: 1;
height: 100%;
min-width: 100%;
padding: var(--size-4-4);
width: 100%;
}
.is-phone .modal.mod-settings .vertical-tab-content {
background-color: var(--background-primary);
padding: var(--size-4-5) max(var(--size-4-5), var(--safe-area-inset-right)) 100px max(var(--size-4-5), var(--safe-area-inset-left));
}
.is-phone .modal.mod-settings .vertical-tab-header-group-items {
border-radius: var(--radius-m);
overflow: hidden;
}
.is-phone .modal.mod-settings .vertical-tab-nav-item {
display: flex;
align-items: center;
height: 44px;
background-color: var(--background-primary);
padding: 0 var(--size-4-2) 0 var(--size-4-3);
margin: 0;
border-radius: 0;
border-bottom: var(--border-width) solid var(--background-modifier-border);
transition: background-color 200ms ease-in-out, color 200ms ease-in-out;
}
.is-phone .modal.mod-settings .vertical-tab-nav-item.is-active {
background-color: var(--interactive-accent);
}
.is-phone .modal.mod-settings .vertical-tab-nav-item:last-child {
border-bottom: none;
}
.is-phone .modal.mod-settings .vertical-tab-nav-item-chevron {
display: flex;
margin-left: auto;
color: var(--text-faint);
}
.is-phone .vertical-tab-header-title {
font-weight: var(--font-semibold);
}
.is-phone .community-modal {
width: 100%;
margin-bottom: 10px;
}
.is-phone .modal.mod-community-theme {
min-height: unset;
}
.is-phone .community-modal-sidebar {
background-color: var(--background-primary);
}
.is-phone .community-modal-controls {
background-color: transparent;
}
.is-phone .community-modal-controls .setting-item {
flex: 0 0 auto;
padding: 0.25em 0;
}
.is-phone .community-modal-controls .setting-item-control {
flex-direction: column;
align-items: flex-end;
}
.is-phone .community-modal-controls .search-input-container {
width: 100%;
}
.is-phone .community-modal-search-results {
gap: 0;
padding: 0;
}
.is-phone .community-modal-info {
padding: var(--size-4-4);
}
.is-phone .community-item {
border-width: 0 0 var(--border-width) 0;
border-radius: 0;
padding: var(--size-4-4);
}
.is-phone .community-item-info {
padding: 20px;
}
.is-phone .community-modal-details {
background-color: var(--background-primary);
border: none;
}
.is-phone .community-modal-readme {
padding: 20px 0;
}
.is-phone .community-modal-controls {
padding: 0 var(--size-4-4);
}
.is-phone .community-modal-search-summary {
padding: var(--size-4-1) var(--size-4-1) var(--size-4-4);
}
.is-phone .mod-community-theme .community-item {
display: grid;
grid-template-columns: 1fr 160px;
grid-auto-flow: column dense;
}
.is-phone .mod-community-theme .community-item .community-item-name {
grid-column: 1 / 2;
}
.is-phone .mod-community-theme .community-item .community-item-author {
grid-column: 1 / 2;
}
.is-phone .mod-community-theme .community-item .community-item-badge.mod-update {
position: static;
grid-row: 4;
}
.is-phone .mod-community-theme .community-item .community-item-downloads {
grid-column: 1 / 2;
}
.is-phone .mod-community-theme .community-item .community-item-screenshot {
grid-row: 1 / span 4;
height: 90px;
}
.is-phone .mod-community-plugin .community-item {
display: grid;
grid-template-columns: 3fr 1fr;
grid-auto-flow: column dense;
}
.is-phone .mod-community-plugin .community-item .community-item-name {
grid-column: 1 / 2;
}
.is-phone .mod-community-plugin .community-item .community-item-author {
grid-column: 1 / 2;
}
.is-phone .mod-community-plugin .community-item .community-item-badge.mod-update {
position: static;
grid-row: 4;
}
.is-phone .mod-community-plugin .community-item .community-item-downloads {
grid-column: 2 / 2;
text-align: right;
color: var(--text-faint);
}
.is-phone .mod-community-plugin .community-item .community-item-desc {
grid-column: 1 / span 2;
}
.is-phone .community-modal-button-container {
flex-direction: column;
}
.mobile-option-setting-item {
font-size: var(--font-ui-medium);
display: flex;
align-items: center;
margin: 8px 0;
gap: var(--size-4-1);
transition: transform 1000ms ease-in-out;
color: var(--text-muted);
}
.mobile-option-setting-item:first-of-type:last-of-type .mobile-option-setting-drag-icon {
display: none;
}
.mobile-option-setting-item-name {
flex: 1 0 0;
color: var(--text-normal);
}
.mobile-option-setting-item-option-icon {
display: flex;
align-items: center;
justify-content: center;
padding: 4px 4px;
cursor: var(--cursor);
border-radius: var(--radius-s);
}
:not(.is-mobile) .mobile-option-setting-item-option-icon:hover,
:not(.is-mobile) .mobile-option-setting-item-option-icon:active {
background-color: var(--background-modifier-hover);
}
.mobile-option-setting-item-option-icon.mobile-option-setting-drag-icon {
cursor: grab;
}
.mobile-option-setting-item-option-icon.mobile-option-setting-drag-icon:active {
cursor: grabbing;
}
.mobile-option-setting-item-remove-icon {
color: var(--text-error);
display: flex;
}
.mobile-option-setting-item-add-icon {
color: var(--text-success);
display: flex;
}
.is-mobile .status-bar {
display: none;
}
.workspace-drawer {
position: fixed;
top: 0;
bottom: 0;
display: flex;
overflow: hidden;
font-size: var(--font-ui-small);
min-width: var(--mobile-sidebar-width);
max-width: var(--mobile-sidebar-max-width);
width: 85vw;
z-index: var(--layer-popover);
margin: 0;
border-radius: 0;
padding-top: var(--safe-area-inset-top);
background-color: var(--background-primary);
}
.workspace-drawer .nav-folder.mod-root > .nav-folder-title {
display: none;
}
.workspace-drawer .nav-header {
margin-top: auto;
padding-bottom: max(var(--size-4-2), var(--safe-area-inset-bottom));
order: 10;
}
.workspace-drawer .nav-header ~ .search-input-container {
width: calc(100% - var(--size-4-9));
}
.workspace-drawer .workspace-leaf {
background-color: transparent;
}
.theme-dark .workspace-drawer {
background-color: var(--background-secondary);
}
.workspace-drawer.is-pinned {
height: 100%;
position: relative;
max-width: var(--mobile-sidebar-width);
z-index: var(--layer-cover);
border-radius: 0;
margin: 0;
box-shadow: none;
}
.workspace-drawer.mod-left {
left: 0;
padding-left: var(--safe-area-inset-left);
border-top-right-radius: var(--radius-xl);
border-bottom-right-radius: var(--radius-xl);
}
.workspace-drawer.mod-left.is-pinned {
border-right: var(--divider-width) solid var(--divider-color);
border-radius: 0;
}
body.is-tablet .workspace-drawer.mod-left .workspace-drawer-inner {
padding-left: var(--ribbon-width);
}
.workspace-drawer.mod-right {
right: 0;
padding-right: var(--safe-area-inset-right);
border-top-left-radius: var(--radius-xl);
border-bottom-left-radius: var(--radius-xl);
}
.workspace-drawer.mod-right.is-pinned {
border-left: var(--divider-width) solid var(--divider-color);
border-radius: 0;
}
.workspace-drawer.is-collapsed {
overflow: hidden;
}
.workspace-drawer .nav-buttons-container {
padding-left: var(--size-4-3);
padding-right: var(--size-4-3);
--icon-size: var(--icon-l);
--icon-stroke: var(--icon-l-stroke-width);
--icon-color: var(--interactive-accent);
--icon-color-hover: var(--interactive-accent);
--icon-color-active: var(--interactive-accent);
--icon-color-focus: var(--interactive-accent-hover);
}
.workspace-drawer .nav-buttons-container .nav-action-button {
flex-grow: 1;
}
.workspace-drawer .workspace-drawer-actions,
.workspace-drawer .nav-buttons-container {
overflow: auto;
flex-wrap: nowrap;
}
.workspace-drawer .workspace-drawer-actions::-webkit-scrollbar,
.workspace-drawer .nav-buttons-container::-webkit-scrollbar,
.workspace-drawer .workspace-drawer-actions::-webkit-scrollbar-thumb,
.workspace-drawer .nav-buttons-container::-webkit-scrollbar-thumb {
visibility: hidden;
}
.workspace-drawer .side-dock-settings {
margin-bottom: 0;
}
.workspace-drawer-inner {
flex: 1 1 auto;
overflow: hidden;
display: flex;
flex-direction: column;
background-color: var(--background-primary);
position: relative;
transition: width ease-out 150ms;
}
.theme-dark .workspace-drawer-inner {
background-color: var(--background-secondary);
}
.workspace-drawer.is-collapsed .workspace-drawer-inner {
padding: 0;
width: 0;
}
.workspace-drawer-backdrop {
display: block;
position: fixed;
z-index: var(--layer-cover);
width: 100%;
height: 100%;
background-color: var(--background-modifier-cover);
top: 0;
left: 0;
opacity: 1;
transition: opacity ease-out 150ms;
}
.workspace-drawer.is-collapsed .workspace-drawer-backdrop {
display: none;
opacity: 0;
}
.workspace-drawer-ribbon {
position: absolute;
left: 0;
top: 0;
height: 100%;
overflow: auto;
width: var(--ribbon-width);
padding: var(--size-4-1) 0 var(--safe-area-inset-bottom);
}
.workspace-drawer-ribbon::-webkit-scrollbar,
.workspace-drawer-ribbon::-webkit-scrollbar-thumb {
visibility: hidden;
width: 0;
}
.workspace-drawer-ribbon .side-dock-actions {
padding: var(--size-4-2) 0;
}
.workspace-drawer-ribbon .side-dock-actions,
.workspace-drawer-ribbon .side-dock-settings {
gap: var(--size-4-2);
}
.workspace-drawer-ribbon .side-dock-ribbon-action {
padding: var(--size-4-2);
}
.workspace-drawer-header {
padding: var(--size-4-2) var(--size-4-5) 0 var(--size-4-5);
display: flex;
align-items: flex-start;
}
.workspace-drawer.is-pinned .workspace-drawer-header {
padding-top: 0;
}
.workspace-drawer-header-left {
display: flex;
flex-direction: column;
flex: 1 1 auto;
overflow: hidden;
}
.workspace-drawer-header-name {
display: flex;
}
.workspace-drawer-header-switcher {
display: flex;
flex: 0 1 auto;
position: relative;
}
.workspace-drawer-header-switcher select {
opacity: 0;
position: absolute;
}
.workspace-drawer-header-name-text {
text-overflow: ellipsis;
overflow: hidden;
font-size: var(--font-ui-large);
font-weight: var(--font-semibold);
}
.workspace-drawer-header-name-chevron {
--icon-size: var(--icon-m);
--icon-stroke: 2.25px;
color: var(--text-faint);
display: flex;
align-items: center;
margin-left: var(--size-2-1);
}
.workspace-drawer-header-name-action-icon {
color: var(--text-muted);
margin-left: var(--size-4-2);
display: flex;
align-items: center;
}
.workspace-drawer-header-info {
color: var(--text-muted);
margin: var(--size-4-1) 0 var(--size-4-4) 0;
font-size: var(--font-ui-small);
}
.workspace-drawer-header-icon {
--icon-size: var(--icon-l);
--icon-stroke: var(--icon-l-stroke-width);
padding-top: var(--size-2-2);
color: var(--interactive-accent);
margin-left: var(--size-4-3);
}
.workspace-drawer-actions {
margin: var(--size-4-4) 0 var(--size-4-3) 0;
display: flex;
color: var(--text-muted);
}
.workspace-drawer-action-item {
flex: 0 0 70px;
display: flex;
flex-direction: column;
align-items: center;
overflow: hidden;
}
.workspace-drawer-action-icon {
color: var(--text-faint);
}
.workspace-drawer-action-short-name {
font-size: var(--font-ui-small);
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
max-width: 80px;
}
.workspace-drawer-separator {
margin: 0 0 12px 0;
}
.workspace-drawer-tab-option-item {
display: flex;
align-items: center;
margin: var(--size-4-5);
gap: var(--size-4-2);
}
.workspace-drawer-active-tab-icon,
.workspace-drawer-tab-option-item-icon {
--icon-size: var(--icon-l);
--icon-stroke: var(--icon-l-stroke-width);
color: var(--text-normal);
display: flex;
}
.workspace-drawer-active-tab-icon:last-child {
color: var(--interactive-accent);
order: 2;
}
.workspace-drawer-active-tab-back-icon {
--icon-size: var(--icon-l);
--icon-stroke: var(--icon-l-stroke-width);
display: flex;
color: var(--interactive-accent);
order: 1;
margin-right: var(--size-4-1);
}
.workspace-drawer-tab-option-item-title,
.workspace-drawer-active-tab-title {
color: var(--text-normal);
font-weight: var(--font-medium);
font-size: var(--font-ui-medium);
flex: 1 0 0;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.workspace-drawer-active-tab-header {
display: flex;
align-items: center;
padding: var(--size-4-3) var(--size-4-5) var(--size-4-4);
margin: 0;
gap: var(--size-4-2);
}
.workspace-drawer-tab-container {
overflow: hidden;
position: relative;
flex: 1 0 0;
}
.workspace-drawer-tab-container > * {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.workspace-drawer-active-tab-icon.mod-exit-fullscreen {
display: none;
}
.workspace-drawer-active-tab-container {
display: flex;
flex-direction: column;
}
.theme-dark .workspace-drawer-active-tab-container.is-fullscreen {
background-color: var(--background-secondary);
}
.workspace-drawer-active-tab-container .workspace-drawer-active-tab-content .nav-files-container {
padding-top: var(--size-4-3);
}
.workspace-drawer-active-tab-container.is-fullscreen {
position: fixed;
width: 100%;
top: 0;
left: 0;
background-color: var(--background-primary);
margin: 0 env(safe-area-inset-right, 20px) 0 env(safe-area-inset-left, 20px);
padding: env(safe-area-inset-top, 20px) 0 0;
}
.workspace-drawer-active-tab-container.is-fullscreen .workspace-drawer-active-tab-back-icon {
display: none;
}
.workspace-drawer-active-tab-container.is-fullscreen .workspace-leaf {
width: 100%;
}
.workspace-drawer-active-tab-container.is-fullscreen .workspace-drawer-active-tab-header {
margin: 0 env(safe-area-inset-right, 20px) 0 env(safe-area-inset-left, 20px);
padding: var(--size-4-4) var(--size-4-6);
}
.workspace-drawer-active-tab-content {
flex: 1 0 0;
overflow: auto;
display: flex;
}
.workspace-drawer-active-tab-content > * {
flex: 1 0 0;
width: 100%;
height: 100%;
}
.workspace-drawer-active-tab-content .view-header {
display: none !important;
}
.workspace-drawer-active-tab-content .view-content {
padding-top: 4px;
height: 100%;
}
.workspace-drawer-active-tab-content .graph-controls {
display: none;
}
.workspace-drawer-active-tab-content .outline {
font-size: var(--font-ui-medium);
}
.is-phone .side-dock-ribbon {
display: none;
}
.is-phone .workspace-drawer .workspace-drawer-header-icon.mod-pin {
display: none;
}
.is-phone .mod-root .workspace-split:not(.mod-visible),
.is-phone .mod-root .workspace-tabs:not(.mod-visible) {
display: none;
}
.is-tablet .workspace-drawer .workspace-drawer-header-icon.mod-settings {
display: none;
}
body.is-tablet .sidebar-toggle-button {
padding-left: var(--size-4-2);
--icon-color: var(--interactive-accent);
--icon-color-hover: var(--interactive-accent);
--icon-color-active: var(--interactive-accent-hover);
--icon-color-focus: var(--interactive-accent-hover);
--icon-size: var(--icon-l);
--icon-stroke: var(--icon-l-stroke-width);
}
.is-mobile .menu {
border: none;
max-width: 100%;
}
.is-phone .menu {
background-color: var(--background-secondary);
max-height: 60vh;
width: calc(100% - var(--safe-area-inset-left) - var(--safe-area-inset-right));
min-width: unset;
position: absolute;
padding-bottom: var(--safe-area-inset-bottom);
margin-left: var(--safe-area-inset-left);
margin-right: var(--safe-area-inset-right);
border-radius: var(--radius-l) var(--radius-l) 0 0;
bottom: 0;
left: 0;
right: 0;
margin: 0 auto;
top: unset !important;
overflow-y: auto;
}
.is-phone .menu-item {
padding: var(--size-4-3) var(--size-4-3);
height: unset;
line-height: unset;
}
.is-mobile .modal {
border: none;
}
.is-mobile .modal-button-container {
display: flex;
flex-direction: column;
}
.is-mobile .community-modal {
width: 100%;
margin-bottom: 10px;
}
.is-mobile .modal.mod-community-theme {
min-height: unset;
}
.is-mobile .mod-confirmation .modal-close-button {
display: none;
}
.is-phone .modal,
.is-phone .prompt,
.is-phone .suggestion-container {
border-radius: 0;
border: none;
max-height: 100vh;
width: 100vw;
max-width: 100vw;
min-width: unset;
position: absolute;
bottom: unset;
padding: 0;
left: 0;
right: 0;
}
.is-phone .modal {
transition: max-height 0.2s ease, height 0.2s ease;
border-radius: var(--radius-m);
bottom: 0;
height: 100%;
max-height: 66vh;
margin: 0;
padding: 0 var(--safe-area-inset-right) 0 var(--safe-area-inset-left);
width: 100vw;
}
.is-phone .modal .modal-close-button {
top: var(--size-4-3);
}
.is-phone .modal:focus-within {
max-height: calc(100vh - var(--safe-area-inset-top));
}
.is-phone .modal .modal-title {
display: block;
font-size: var(--font-ui-medium);
margin-bottom: 0;
padding-top: var(--size-4-3);
text-align: center;
}
.is-phone .modal-sidebar {
background-color: var(--background-primary);
}
.is-phone .modal-content {
display: flex;
position: relative;
flex-direction: column;
margin-top: 0;
overflow: auto;
padding: var(--size-4-3);
}
.is-phone .modal-button-container {
width: 100%;
padding: var(--size-4-3);
margin-top: 0;
margin-bottom: var(--safe-area-inset-bottom);
}
.is-phone .modal.mod-lg {
max-height: 100%;
}
.is-phone .modal.mod-lg .modal-title {
padding-top: calc(env(safe-area-inset-top) + var(--size-4-3));
padding-bottom: var(--size-4-3);
}
.is-phone .modal.mod-lg .modal-close-button,
.is-phone .modal.mod-sidebar-layout .modal-close-button {
top: calc(var(--safe-area-inset-top) + 10px);
right: var(--size-4-5);
}
.is-phone .modal.mod-sidebar-layout {
bottom: 0;
top: 0;
border-radius: 0;
height: 100%;
max-height: 100%;
margin: 0;
padding: 0 var(--safe-area-inset-right) 0 var(--safe-area-inset-left);
width: 100vw;
}
.is-phone .modal.mod-sidebar-layout .search-input-container {
flex-grow: 1;
}
.is-phone .modal.mod-sidebar-layout .modal-title {
display: block;
padding-top: calc(env(safe-area-inset-top) + var(--size-4-3));
padding-bottom: var(--size-4-3);
margin-bottom: 0;
}
.is-phone .modal.mod-sidebar-layout .modal-content > * {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
right: 0;
padding: 0 var(--safe-area-inset-right) 0 var(--safe-area-inset-left);
}
.mobile-navbar {
background-color: var(--background-primary);
padding: 0 max(var(--safe-area-inset-right), var(--size-4-4)) 0 max(var(--safe-area-inset-left), var(--size-4-4));
position: absolute;
left: 0;
right: 0;
bottom: 0;
}
body.is-tablet .mobile-navbar {
display: none;
}
.mobile-navbar-text {
font-size: var(--font-ui-small);
padding: var(--size-4-1) 0;
white-space: nowrap;
text-overflow: clip;
width: 100%;
-webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0) var(--size-4-4), #000000 var(--size-4-8));
}
.mobile-navbar-actions {
--icon-size: var(--icon-l);
--icon-stroke: var(--icon-l-stroke-width);
--icon-color: var(--interactive-accent);
--icon-color-hover: var(--interactive-accent);
--icon-color-active: var(--interactive-accent-hover);
--icon-color-focus: var(--interactive-accent-hover);
display: flex;
align-items: center;
justify-content: space-between;
padding: var(--size-4-2) 0 max(var(--size-4-2), var(--safe-area-inset-bottom)) 0;
}
.mobile-navbar-tabs-action {
align-items: center;
border-radius: var(--clickable-icon-radius);
border: 2px solid var(--icon-color);
display: flex;
font-size: calc(var(--icon-size) * 0.6);
font-weight: var(--bold-weight);
justify-content: center;
height: 20px;
width: var(--icon-size);
}
.mobile-navbar-action.has-longpress-menu {
position: relative;
}
.mobile-navbar-action.has-longpress-menu .navbar-action-flair {
--icon-size: 12px;
--icon-stroke: 3px;
color: var(--interactive-accent);
position: absolute;
left: -6px;
top: 0;
height: 100%;
align-items: center;
display: flex;
}
.is-phone .notice-container {
padding: 0;
top: max(var(--size-4-1), var(--safe-area-inset-top));
left: 0;
right: 0;
max-width: 96%;
margin: 0 auto;
}
.is-phone .notice {
background-color: var(--interactive-accent);
color: var(--text-on-accent);
margin: 0 auto var(--size-4-1);
text-align: center;
border-radius: 30px;
max-width: none;
box-shadow: none;
}
.is-mobile .prompt {
border: none;
}
.theme-dark.is-mobile .prompt {
background-color: var(--background-secondary);
}
.theme-dark.is-mobile .prompt input.prompt-input {
background-color: var(--background-secondary);
}
.is-mobile .prompt-input[type=text] {
padding: var(--size-4-4);
}
.is-phone .prompt {
position: relative;
margin: 0 auto;
width: calc(100% - var(--safe-area-inset-left) - var(--safe-area-inset-right));
}
.is-phone .prompt .suggestion-hotkey {
display: none;
}
.is-phone .prompt {
--mobile-height: 100vh;
--prompt-bottom: 0px;
--prompt-top: calc(var(--safe-area-inset-top) + var(--header-height) + var(--size-4-2));
border-radius: var(--radius-l) var(--radius-l) 0 0;
min-width: unset;
margin-bottom: var(--prompt-bottom);
margin-top: var(--prompt-top);
box-shadow: none;
top: 0;
height: calc(var(--mobile-height) - var(--prompt-top) - var(--prompt-bottom));
}
.is-phone .prompt-input-container {
border-bottom: var(--border-width) solid var(--background-modifier-border);
}
.is-phone .prompt-input[type=text] {
border: none;
}
.is-phone .prompt-input-cta {
--icon-color: var(--interactive-accent);
display: flex;
align-items: center;
padding: 0 var(--size-4-3);
flex: 0 1 auto;
}
.is-phone .prompt-instructions {
display: none;
}
.pull-action {
position: absolute;
background-color: var(--background-secondary);
z-index: var(--layer-popover);
color: var(--text-muted);
font-size: 90%;
transition: background-color ease-in-out 150ms;
}
.pull-action.mod-activated {
background-color: var(--interactive-accent);
color: var(--text-on-accent);
}
.pull-down-action {
top: 0;
left: 0;
right: 0;
width: 96%;
max-width: 500px;
margin: var(--safe-area-inset-top) auto 0 auto;
padding: var(--size-4-3) var(--size-4-4);
text-align: center;
border-radius: 40px;
}
.pull-out-action {
top: 50%;
padding: var(--size-4-3) var(--size-4-4);
border-radius: 40px;
margin: 0 var(--size-4-4);
}
.mobile-toolbar {
-webkit-app-region: drag;
flex: 0 0 auto;
width: 100%;
overflow-y: hidden;
background-color: var(--background-primary);
bottom: 0;
z-index: var(--layer-menu);
}
.mobile-toolbar-options-container {
height: var(--mobile-toolbar-height);
display: flex;
overflow-x: auto;
overflow-y: hidden;
width: 100%;
padding: 0 10px;
scrollbar-width: none !important;
/* Firefox */
-ms-overflow-style: none !important;
/* Internet Explorer 10+ */
}
.mobile-toolbar-options-container::-webkit-scrollbar {
width: 0 !important;
height: 0 !important;
}
.mobile-toolbar-option {
display: flex;
font-size: var(--font-ui-medium);
color: var(--text-muted);
font-family: var(--font-monospace);
justify-content: center;
align-items: center;
min-width: 50px;
position: relative;
left: 0;
transition: left 200ms ease-in-out;
}
.mobile-toolbar-option.mod-ghost {
position: absolute;
transition: left 250ms ease-in-out;
}
.mobile-toolbar-option.mod-ghost:before {
content: ' ';
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
border-radius: 6px;
background-color: var(--interactive-accent);
}
.mobile-toolbar-done-button {
position: fixed;
margin-top: var(--size-4-2);
margin-right: var(--size-4-3);
top: env(safe-area-inset-top, 20px);
right: env(safe-area-inset-right, 20px);
z-index: var(--layer-status-bar);
}
.is-mobile .suggestion-item {
padding: var(--size-4-2) var(--size-4-3);
}
.is-tablet.theme-dark .suggestion-container {
background-color: var(--background-secondary);
}
.is-phone .suggestion-container {
margin: 0 auto;
padding-bottom: calc(var(--safe-area-inset-bottom) + var(--mobile-toolbar-height));
width: calc(100% - var(--safe-area-inset-left) - var(--safe-area-inset-right));
border-top: 1px solid var(--background-modifier-border);
background-color: var(--background-primary);
box-shadow: none;
border-radius: 0;
bottom: 0;
overflow: auto;
max-height: 35vh;
}
.is-phone .suggestion {
position: relative;
}
.is-phone .suggestion-item.mod-group {
border-radius: 0;
}
.is-mobile .modal.mod-publish {
background-color: var(--modal-background);
border-radius: 0;
height: 100%;
margin: 0;
padding-top: var(--safe-area-inset-top);
width: 100vw;
}
.is-mobile .publish-changes-info-publishing-to {
display: none;
}
.is-mobile .publish-changes-add-linked-btn {
width: auto;
}
.is-phone .modal.mod-publish .modal-button-container {
background-color: var(--modal-background);
position: fixed;
}
.is-phone .modal.mod-publish .modal-content {
display: unset;
}
.is-mobile .sync-history-list {
padding: 0;
}
.is-mobile .sync-history-list-item {
padding: 12px 16px;
}
.is-mobile .sync-history-content-container {
display: flex;
flex-direction: column;
max-width: unset;
}
.is-mobile .sync-history-content {
flex: 1 1 auto;
padding: 10px;
border-radius: 0;
border: none;
}
.is-phone .sync-log-container {
flex: 1 1 auto;
}
.is-phone .modal.mod-sync-history .search-input-container {
width: 100%;
margin-bottom: 0;
}
.mobile-vault-chooser {
width: 100%;
height: 100%;
background-color: var(--background-secondary);
position: relative;
}
.mobile-vault-chooser hr {
margin: 12px 0;
}
.mobile-vault-chooser-screen {
display: flex;
flex-direction: column;
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
}
.mobile-vault-chooser-header {
display: flex;
background-color: var(--background-secondary-alt);
border-bottom: 1px solid var(--background-primary);
color: var(--text-muted);
flex: 0 0 50px;
font-size: 18px;
align-items: center;
}
.mobile-vault-chooser-header-icon {
display: flex;
margin: 0 6px 0 10px;
}
.mobile-vault-chooser-content {
flex: 1 0 0;
padding: 20px;
height: 100%;
overflow-y: auto;
}
.mobile-vault-chooser-logo-container {
margin: 40px 0;
text-align: center;
color: var(--text-muted);
}
.mobile-vault-chooser-logo {
font-size: 32px;
text-transform: uppercase;
font-family: 'Avenir Next', sans-serif;
letter-spacing: 2px;
margin-bottom: 10px;
}
.mobile-vault-chooser-version {
font-size: var(--font-ui-small);
}
.mobile-vault-chooser-empty-state {
margin: 20px 0;
font-size: 17px;
color: var(--text-muted);
}
.mobile-vault-chooser-action-icon {
color: var(--text-muted);
display: flex;
padding: 10px;
margin: -10px 0;
}
.mobile-vault-chooser-action {
display: flex;
padding: 14px 0;
align-items: center;
font-size: 20px;
}
.mobile-vault-chooser-action-name {
flex: 1 0 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.mobile-vault-chooser-action-description {
color: var(--text-muted);
font-size: 17px;
overflow: hidden;
text-overflow: ellipsis;
max-width: calc(100vw - 110px);
white-space: nowrap;
}
.mobile-vault-chooser-field-name {
color: var(--text-muted);
margin: 20px 0 10px 0;
font-size: 18px;
}
input.mobile-vault-chooser-field-input {
width: 100%;
font-size: var(--font-ui-medium);
padding: 8px 12px;
height: auto;
}
.mobile-vault-chooser-button-container {
margin: 20px 0;
}
.mobile-vault-chooser-button-container button {
padding: 10px 20px;
font-size: var(--font-ui-medium);
width: 100%;
}
(()=>{var e={9742:(e,t)=>{"use strict";t.byteLength=function(e){var t=l(e),n=t[0],i=t[1];return 3*(n+i)/4-i},t.toByteArray=function(e){var t,n,o=l(e),a=o[0],s=o[1],c=new r(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),u=0,h=s>0?a-4:a;for(n=0;n>16&255,c[u++]=t>>8&255,c[u++]=255&t;2===s&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,c[u++]=255&t);1===s&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t);return c},t.fromByteArray=function(e){for(var t,i=e.length,r=i%3,o=[],a=16383,s=0,l=i-r;sl?l:s+a));1===r?(t=e[i-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===r&&(t=(e[i-2]<<8)+e[i-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return o.join("")};for(var n=[],i=[],r="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function c(e,t,i){for(var r,o,a=[],s=t;s>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},932:e=>{"use strict";e.exports=function(e,t){var n,i=String(e),r=0;if("string"!=typeof t||1!==t.length)throw new Error("Expected character");n=i.indexOf(t);for(;-1!==n;)r++,n=i.indexOf(t,n+1);return r}},5848:e=>{"use strict";e.exports=JSON.parse('{"nbsp":" ","iexcl":"¡","cent":"¢","pound":"£","curren":"¤","yen":"¥","brvbar":"¦","sect":"§","uml":"¨","copy":"©","ordf":"ª","laquo":"«","not":"¬","shy":"","reg":"®","macr":"¯","deg":"°","plusmn":"±","sup2":"²","sup3":"³","acute":"´","micro":"µ","para":"¶","middot":"·","cedil":"¸","sup1":"¹","ordm":"º","raquo":"»","frac14":"¼","frac12":"½","frac34":"¾","iquest":"¿","Agrave":"À","Aacute":"Á","Acirc":"Â","Atilde":"Ã","Auml":"Ä","Aring":"Å","AElig":"Æ","Ccedil":"Ç","Egrave":"È","Eacute":"É","Ecirc":"Ê","Euml":"Ë","Igrave":"Ì","Iacute":"Í","Icirc":"Î","Iuml":"Ï","ETH":"Ð","Ntilde":"Ñ","Ograve":"Ò","Oacute":"Ó","Ocirc":"Ô","Otilde":"Õ","Ouml":"Ö","times":"×","Oslash":"Ø","Ugrave":"Ù","Uacute":"Ú","Ucirc":"Û","Uuml":"Ü","Yacute":"Ý","THORN":"Þ","szlig":"ß","agrave":"à","aacute":"á","acirc":"â","atilde":"ã","auml":"ä","aring":"å","aelig":"æ","ccedil":"ç","egrave":"è","eacute":"é","ecirc":"ê","euml":"ë","igrave":"ì","iacute":"í","icirc":"î","iuml":"ï","eth":"ð","ntilde":"ñ","ograve":"ò","oacute":"ó","ocirc":"ô","otilde":"õ","ouml":"ö","divide":"÷","oslash":"ø","ugrave":"ù","uacute":"ú","ucirc":"û","uuml":"ü","yacute":"ý","thorn":"þ","yuml":"ÿ","fnof":"ƒ","Alpha":"Α","Beta":"Β","Gamma":"Γ","Delta":"Δ","Epsilon":"Ε","Zeta":"Ζ","Eta":"Η","Theta":"Θ","Iota":"Ι","Kappa":"Κ","Lambda":"Λ","Mu":"Μ","Nu":"Ν","Xi":"Ξ","Omicron":"Ο","Pi":"Π","Rho":"Ρ","Sigma":"Σ","Tau":"Τ","Upsilon":"Υ","Phi":"Φ","Chi":"Χ","Psi":"Ψ","Omega":"Ω","alpha":"α","beta":"β","gamma":"γ","delta":"δ","epsilon":"ε","zeta":"ζ","eta":"η","theta":"θ","iota":"ι","kappa":"κ","lambda":"λ","mu":"μ","nu":"ν","xi":"ξ","omicron":"ο","pi":"π","rho":"ρ","sigmaf":"ς","sigma":"σ","tau":"τ","upsilon":"υ","phi":"φ","chi":"χ","psi":"ψ","omega":"ω","thetasym":"ϑ","upsih":"ϒ","piv":"ϖ","bull":"•","hellip":"…","prime":"′","Prime":"″","oline":"‾","frasl":"⁄","weierp":"℘","image":"ℑ","real":"ℜ","trade":"™","alefsym":"ℵ","larr":"←","uarr":"↑","rarr":"→","darr":"↓","harr":"↔","crarr":"↵","lArr":"⇐","uArr":"⇑","rArr":"⇒","dArr":"⇓","hArr":"⇔","forall":"∀","part":"∂","exist":"∃","empty":"∅","nabla":"∇","isin":"∈","notin":"∉","ni":"∋","prod":"∏","sum":"∑","minus":"−","lowast":"∗","radic":"√","prop":"∝","infin":"∞","ang":"∠","and":"∧","or":"∨","cap":"∩","cup":"∪","int":"∫","there4":"∴","sim":"∼","cong":"≅","asymp":"≈","ne":"≠","equiv":"≡","le":"≤","ge":"≥","sub":"⊂","sup":"⊃","nsub":"⊄","sube":"⊆","supe":"⊇","oplus":"⊕","otimes":"⊗","perp":"⊥","sdot":"⋅","lceil":"⌈","rceil":"⌉","lfloor":"⌊","rfloor":"⌋","lang":"〈","rang":"〉","loz":"◊","spades":"♠","clubs":"♣","hearts":"♥","diams":"♦","quot":"\\"","amp":"&","lt":"<","gt":">","OElig":"Œ","oelig":"œ","Scaron":"Š","scaron":"š","Yuml":"Ÿ","circ":"ˆ","tilde":"˜","ensp":" ","emsp":" ","thinsp":" ","zwnj":"","zwj":"","lrm":"","rlm":"","ndash":"–","mdash":"—","lsquo":"‘","rsquo":"’","sbquo":"‚","ldquo":"“","rdquo":"”","bdquo":"„","dagger":"†","Dagger":"‡","permil":"‰","lsaquo":"‹","rsaquo":"›","euro":"€"}')},6588:e=>{"use strict";e.exports=JSON.parse('{"AElig":"Æ","AMP":"&","Aacute":"Á","Acirc":"Â","Agrave":"À","Aring":"Å","Atilde":"Ã","Auml":"Ä","COPY":"©","Ccedil":"Ç","ETH":"Ð","Eacute":"É","Ecirc":"Ê","Egrave":"È","Euml":"Ë","GT":">","Iacute":"Í","Icirc":"Î","Igrave":"Ì","Iuml":"Ï","LT":"<","Ntilde":"Ñ","Oacute":"Ó","Ocirc":"Ô","Ograve":"Ò","Oslash":"Ø","Otilde":"Õ","Ouml":"Ö","QUOT":"\\"","REG":"®","THORN":"Þ","Uacute":"Ú","Ucirc":"Û","Ugrave":"Ù","Uuml":"Ü","Yacute":"Ý","aacute":"á","acirc":"â","acute":"´","aelig":"æ","agrave":"à","amp":"&","aring":"å","atilde":"ã","auml":"ä","brvbar":"¦","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","curren":"¤","deg":"°","divide":"÷","eacute":"é","ecirc":"ê","egrave":"è","eth":"ð","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","iacute":"í","icirc":"î","iexcl":"¡","igrave":"ì","iquest":"¿","iuml":"ï","laquo":"«","lt":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","ntilde":"ñ","oacute":"ó","ocirc":"ô","ograve":"ò","ordf":"ª","ordm":"º","oslash":"ø","otilde":"õ","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","raquo":"»","reg":"®","sect":"§","shy":"","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","thorn":"þ","times":"×","uacute":"ú","ucirc":"û","ugrave":"ù","uml":"¨","uuml":"ü","yacute":"ý","yen":"¥","yuml":"ÿ"}')},3407:e=>{"use strict";e.exports=JSON.parse('{"AEli":"Æ","AElig":"Æ","AM":"&","AMP":"&","Aacut":"Á","Aacute":"Á","Abreve":"Ă","Acir":"Â","Acirc":"Â","Acy":"А","Afr":"𝔄","Agrav":"À","Agrave":"À","Alpha":"Α","Amacr":"Ā","And":"⩓","Aogon":"Ą","Aopf":"𝔸","ApplyFunction":"","Arin":"Å","Aring":"Å","Ascr":"𝒜","Assign":"≔","Atild":"Ã","Atilde":"Ã","Aum":"Ä","Auml":"Ä","Backslash":"∖","Barv":"⫧","Barwed":"⌆","Bcy":"Б","Because":"∵","Bernoullis":"ℬ","Beta":"Β","Bfr":"𝔅","Bopf":"𝔹","Breve":"˘","Bscr":"ℬ","Bumpeq":"≎","CHcy":"Ч","COP":"©","COPY":"©","Cacute":"Ć","Cap":"⋒","CapitalDifferentialD":"ⅅ","Cayleys":"ℭ","Ccaron":"Č","Ccedi":"Ç","Ccedil":"Ç","Ccirc":"Ĉ","Cconint":"∰","Cdot":"Ċ","Cedilla":"¸","CenterDot":"·","Cfr":"ℭ","Chi":"Χ","CircleDot":"⊙","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","Colon":"∷","Colone":"⩴","Congruent":"≡","Conint":"∯","ContourIntegral":"∮","Copf":"ℂ","Coproduct":"∐","CounterClockwiseContourIntegral":"∳","Cross":"⨯","Cscr":"𝒞","Cup":"⋓","CupCap":"≍","DD":"ⅅ","DDotrahd":"⤑","DJcy":"Ђ","DScy":"Ѕ","DZcy":"Џ","Dagger":"‡","Darr":"↡","Dashv":"⫤","Dcaron":"Ď","Dcy":"Д","Del":"∇","Delta":"Δ","Dfr":"𝔇","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","Diamond":"⋄","DifferentialD":"ⅆ","Dopf":"𝔻","Dot":"¨","DotDot":"⃜","DotEqual":"≐","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrow":"↓","DownArrowBar":"⤓","DownArrowUpArrow":"⇵","DownBreve":"̑","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVector":"↽","DownLeftVectorBar":"⥖","DownRightTeeVector":"⥟","DownRightVector":"⇁","DownRightVectorBar":"⥗","DownTee":"⊤","DownTeeArrow":"↧","Downarrow":"⇓","Dscr":"𝒟","Dstrok":"Đ","ENG":"Ŋ","ET":"Ð","ETH":"Ð","Eacut":"É","Eacute":"É","Ecaron":"Ě","Ecir":"Ê","Ecirc":"Ê","Ecy":"Э","Edot":"Ė","Efr":"𝔈","Egrav":"È","Egrave":"È","Element":"∈","Emacr":"Ē","EmptySmallSquare":"◻","EmptyVerySmallSquare":"▫","Eogon":"Ę","Eopf":"𝔼","Epsilon":"Ε","Equal":"⩵","EqualTilde":"≂","Equilibrium":"⇌","Escr":"ℰ","Esim":"⩳","Eta":"Η","Eum":"Ë","Euml":"Ë","Exists":"∃","ExponentialE":"ⅇ","Fcy":"Ф","Ffr":"𝔉","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","Fopf":"𝔽","ForAll":"∀","Fouriertrf":"ℱ","Fscr":"ℱ","GJcy":"Ѓ","G":">","GT":">","Gamma":"Γ","Gammad":"Ϝ","Gbreve":"Ğ","Gcedil":"Ģ","Gcirc":"Ĝ","Gcy":"Г","Gdot":"Ġ","Gfr":"𝔊","Gg":"⋙","Gopf":"𝔾","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","Gt":"≫","HARDcy":"Ъ","Hacek":"ˇ","Hat":"^","Hcirc":"Ĥ","Hfr":"ℌ","HilbertSpace":"ℋ","Hopf":"ℍ","HorizontalLine":"─","Hscr":"ℋ","Hstrok":"Ħ","HumpDownHump":"≎","HumpEqual":"≏","IEcy":"Е","IJlig":"IJ","IOcy":"Ё","Iacut":"Í","Iacute":"Í","Icir":"Î","Icirc":"Î","Icy":"И","Idot":"İ","Ifr":"ℑ","Igrav":"Ì","Igrave":"Ì","Im":"ℑ","Imacr":"Ī","ImaginaryI":"ⅈ","Implies":"⇒","Int":"∬","Integral":"∫","Intersection":"⋂","InvisibleComma":"","InvisibleTimes":"","Iogon":"Į","Iopf":"𝕀","Iota":"Ι","Iscr":"ℐ","Itilde":"Ĩ","Iukcy":"І","Ium":"Ï","Iuml":"Ï","Jcirc":"Ĵ","Jcy":"Й","Jfr":"𝔍","Jopf":"𝕁","Jscr":"𝒥","Jsercy":"Ј","Jukcy":"Є","KHcy":"Х","KJcy":"Ќ","Kappa":"Κ","Kcedil":"Ķ","Kcy":"К","Kfr":"𝔎","Kopf":"𝕂","Kscr":"𝒦","LJcy":"Љ","L":"<","LT":"<","Lacute":"Ĺ","Lambda":"Λ","Lang":"⟪","Laplacetrf":"ℒ","Larr":"↞","Lcaron":"Ľ","Lcedil":"Ļ","Lcy":"Л","LeftAngleBracket":"⟨","LeftArrow":"←","LeftArrowBar":"⇤","LeftArrowRightArrow":"⇆","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVector":"⇃","LeftDownVectorBar":"⥙","LeftFloor":"⌊","LeftRightArrow":"↔","LeftRightVector":"⥎","LeftTee":"⊣","LeftTeeArrow":"↤","LeftTeeVector":"⥚","LeftTriangle":"⊲","LeftTriangleBar":"⧏","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVector":"↿","LeftUpVectorBar":"⥘","LeftVector":"↼","LeftVectorBar":"⥒","Leftarrow":"⇐","Leftrightarrow":"⇔","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","LessLess":"⪡","LessSlantEqual":"⩽","LessTilde":"≲","Lfr":"𝔏","Ll":"⋘","Lleftarrow":"⇚","Lmidot":"Ŀ","LongLeftArrow":"⟵","LongLeftRightArrow":"⟷","LongRightArrow":"⟶","Longleftarrow":"⟸","Longleftrightarrow":"⟺","Longrightarrow":"⟹","Lopf":"𝕃","LowerLeftArrow":"↙","LowerRightArrow":"↘","Lscr":"ℒ","Lsh":"↰","Lstrok":"Ł","Lt":"≪","Map":"⤅","Mcy":"М","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","MinusPlus":"∓","Mopf":"𝕄","Mscr":"ℳ","Mu":"Μ","NJcy":"Њ","Nacute":"Ń","Ncaron":"Ň","Ncedil":"Ņ","Ncy":"Н","NegativeMediumSpace":"","NegativeThickSpace":"","NegativeThinSpace":"","NegativeVeryThinSpace":"","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","Nfr":"𝔑","NoBreak":"","NonBreakingSpace":" ","Nopf":"ℕ","Not":"⫬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","NotLeftTriangle":"⋪","NotLeftTriangleBar":"⧏̸","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangle":"⋫","NotRightTriangleBar":"⧐̸","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","Nscr":"𝒩","Ntild":"Ñ","Ntilde":"Ñ","Nu":"Ν","OElig":"Œ","Oacut":"Ó","Oacute":"Ó","Ocir":"Ô","Ocirc":"Ô","Ocy":"О","Odblac":"Ő","Ofr":"𝔒","Ograv":"Ò","Ograve":"Ò","Omacr":"Ō","Omega":"Ω","Omicron":"Ο","Oopf":"𝕆","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","Or":"⩔","Oscr":"𝒪","Oslas":"Ø","Oslash":"Ø","Otild":"Õ","Otilde":"Õ","Otimes":"⨷","Oum":"Ö","Ouml":"Ö","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","PartialD":"∂","Pcy":"П","Pfr":"𝔓","Phi":"Φ","Pi":"Π","PlusMinus":"±","Poincareplane":"ℌ","Popf":"ℙ","Pr":"⪻","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","Prime":"″","Product":"∏","Proportion":"∷","Proportional":"∝","Pscr":"𝒫","Psi":"Ψ","QUO":"\\"","QUOT":"\\"","Qfr":"𝔔","Qopf":"ℚ","Qscr":"𝒬","RBarr":"⤐","RE":"®","REG":"®","Racute":"Ŕ","Rang":"⟫","Rarr":"↠","Rarrtl":"⤖","Rcaron":"Ř","Rcedil":"Ŗ","Rcy":"Р","Re":"ℜ","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","Rfr":"ℜ","Rho":"Ρ","RightAngleBracket":"⟩","RightArrow":"→","RightArrowBar":"⇥","RightArrowLeftArrow":"⇄","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVector":"⇂","RightDownVectorBar":"⥕","RightFloor":"⌋","RightTee":"⊢","RightTeeArrow":"↦","RightTeeVector":"⥛","RightTriangle":"⊳","RightTriangleBar":"⧐","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVector":"↾","RightUpVectorBar":"⥔","RightVector":"⇀","RightVectorBar":"⥓","Rightarrow":"⇒","Ropf":"ℝ","RoundImplies":"⥰","Rrightarrow":"⇛","Rscr":"ℛ","Rsh":"↱","RuleDelayed":"⧴","SHCHcy":"Щ","SHcy":"Ш","SOFTcy":"Ь","Sacute":"Ś","Sc":"⪼","Scaron":"Š","Scedil":"Ş","Scirc":"Ŝ","Scy":"С","Sfr":"𝔖","ShortDownArrow":"↓","ShortLeftArrow":"←","ShortRightArrow":"→","ShortUpArrow":"↑","Sigma":"Σ","SmallCircle":"∘","Sopf":"𝕊","Sqrt":"√","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","Sscr":"𝒮","Star":"⋆","Sub":"⋐","Subset":"⋐","SubsetEqual":"⊆","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","SuchThat":"∋","Sum":"∑","Sup":"⋑","Superset":"⊃","SupersetEqual":"⊇","Supset":"⋑","THOR":"Þ","THORN":"Þ","TRADE":"™","TSHcy":"Ћ","TScy":"Ц","Tab":"\\t","Tau":"Τ","Tcaron":"Ť","Tcedil":"Ţ","Tcy":"Т","Tfr":"𝔗","Therefore":"∴","Theta":"Θ","ThickSpace":" ","ThinSpace":" ","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","Topf":"𝕋","TripleDot":"⃛","Tscr":"𝒯","Tstrok":"Ŧ","Uacut":"Ú","Uacute":"Ú","Uarr":"↟","Uarrocir":"⥉","Ubrcy":"Ў","Ubreve":"Ŭ","Ucir":"Û","Ucirc":"Û","Ucy":"У","Udblac":"Ű","Ufr":"𝔘","Ugrav":"Ù","Ugrave":"Ù","Umacr":"Ū","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","Uopf":"𝕌","UpArrow":"↑","UpArrowBar":"⤒","UpArrowDownArrow":"⇅","UpDownArrow":"↕","UpEquilibrium":"⥮","UpTee":"⊥","UpTeeArrow":"↥","Uparrow":"⇑","Updownarrow":"⇕","UpperLeftArrow":"↖","UpperRightArrow":"↗","Upsi":"ϒ","Upsilon":"Υ","Uring":"Ů","Uscr":"𝒰","Utilde":"Ũ","Uum":"Ü","Uuml":"Ü","VDash":"⊫","Vbar":"⫫","Vcy":"В","Vdash":"⊩","Vdashl":"⫦","Vee":"⋁","Verbar":"‖","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","Vopf":"𝕍","Vscr":"𝒱","Vvdash":"⊪","Wcirc":"Ŵ","Wedge":"⋀","Wfr":"𝔚","Wopf":"𝕎","Wscr":"𝒲","Xfr":"𝔛","Xi":"Ξ","Xopf":"𝕏","Xscr":"𝒳","YAcy":"Я","YIcy":"Ї","YUcy":"Ю","Yacut":"Ý","Yacute":"Ý","Ycirc":"Ŷ","Ycy":"Ы","Yfr":"𝔜","Yopf":"𝕐","Yscr":"𝒴","Yuml":"Ÿ","ZHcy":"Ж","Zacute":"Ź","Zcaron":"Ž","Zcy":"З","Zdot":"Ż","ZeroWidthSpace":"","Zeta":"Ζ","Zfr":"ℨ","Zopf":"ℤ","Zscr":"𝒵","aacut":"á","aacute":"á","abreve":"ă","ac":"∾","acE":"∾̳","acd":"∿","acir":"â","acirc":"â","acut":"´","acute":"´","acy":"а","aeli":"æ","aelig":"æ","af":"","afr":"𝔞","agrav":"à","agrave":"à","alefsym":"ℵ","aleph":"ℵ","alpha":"α","amacr":"ā","amalg":"⨿","am":"&","amp":"&","and":"∧","andand":"⩕","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsd":"∡","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","aogon":"ą","aopf":"𝕒","ap":"≈","apE":"⩰","apacir":"⩯","ape":"≊","apid":"≋","apos":"\'","approx":"≈","approxeq":"≊","arin":"å","aring":"å","ascr":"𝒶","ast":"*","asymp":"≈","asympeq":"≍","atild":"ã","atilde":"ã","aum":"ä","auml":"ä","awconint":"∳","awint":"⨑","bNot":"⫭","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","barvee":"⊽","barwed":"⌅","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","beta":"β","beth":"ℶ","between":"≬","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bnot":"⌐","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxDL":"╗","boxDR":"╔","boxDl":"╖","boxDr":"╓","boxH":"═","boxHD":"╦","boxHU":"╩","boxHd":"╤","boxHu":"╧","boxUL":"╝","boxUR":"╚","boxUl":"╜","boxUr":"╙","boxV":"║","boxVH":"╬","boxVL":"╣","boxVR":"╠","boxVh":"╫","boxVl":"╢","boxVr":"╟","boxbox":"⧉","boxdL":"╕","boxdR":"╒","boxdl":"┐","boxdr":"┌","boxh":"─","boxhD":"╥","boxhU":"╨","boxhd":"┬","boxhu":"┴","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxuL":"╛","boxuR":"╘","boxul":"┘","boxur":"└","boxv":"│","boxvH":"╪","boxvL":"╡","boxvR":"╞","boxvh":"┼","boxvl":"┤","boxvr":"├","bprime":"‵","breve":"˘","brvba":"¦","brvbar":"¦","bscr":"𝒷","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsol":"\\\\","bsolb":"⧅","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","bumpeq":"≏","cacute":"ć","cap":"∩","capand":"⩄","capbrcup":"⩉","capcap":"⩋","capcup":"⩇","capdot":"⩀","caps":"∩︀","caret":"⁁","caron":"ˇ","ccaps":"⩍","ccaron":"č","ccedi":"ç","ccedil":"ç","ccirc":"ĉ","ccups":"⩌","ccupssm":"⩐","cdot":"ċ","cedi":"¸","cedil":"¸","cemptyv":"⦲","cen":"¢","cent":"¢","centerdot":"·","cfr":"𝔠","chcy":"ч","check":"✓","checkmark":"✓","chi":"χ","cir":"○","cirE":"⧃","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledR":"®","circledS":"Ⓢ","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","clubs":"♣","clubsuit":"♣","colon":":","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","conint":"∮","copf":"𝕔","coprod":"∐","cop":"©","copy":"©","copysr":"℗","crarr":"↵","cross":"✗","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cup":"∪","cupbrcap":"⩈","cupcap":"⩆","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curre":"¤","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dArr":"⇓","dHar":"⥥","dagger":"†","daleth":"ℸ","darr":"↓","dash":"‐","dashv":"⊣","dbkarow":"⤏","dblac":"˝","dcaron":"ď","dcy":"д","dd":"ⅆ","ddagger":"‡","ddarr":"⇊","ddotseq":"⩷","de":"°","deg":"°","delta":"δ","demptyv":"⦱","dfisht":"⥿","dfr":"𝔡","dharl":"⇃","dharr":"⇂","diam":"⋄","diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","digamma":"ϝ","disin":"⋲","div":"÷","divid":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","dopf":"𝕕","dot":"˙","doteq":"≐","doteqdot":"≑","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","downarrow":"↓","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","dscr":"𝒹","dscy":"ѕ","dsol":"⧶","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","dzcy":"џ","dzigrarr":"⟿","eDDot":"⩷","eDot":"≑","eacut":"é","eacute":"é","easter":"⩮","ecaron":"ě","ecir":"ê","ecirc":"ê","ecolon":"≕","ecy":"э","edot":"ė","ee":"ⅇ","efDot":"≒","efr":"𝔢","eg":"⪚","egrav":"è","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","emacr":"ē","empty":"∅","emptyset":"∅","emptyv":"∅","emsp13":" ","emsp14":" ","emsp":" ","eng":"ŋ","ensp":" ","eogon":"ę","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","equals":"=","equest":"≟","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erDot":"≓","erarr":"⥱","escr":"ℯ","esdot":"≐","esim":"≂","eta":"η","et":"ð","eth":"ð","eum":"ë","euml":"ë","euro":"€","excl":"!","exist":"∃","expectation":"ℰ","exponentiale":"ⅇ","fallingdotseq":"≒","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","ffr":"𝔣","filig":"fi","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","fopf":"𝕗","forall":"∀","fork":"⋔","forkv":"⫙","fpartint":"⨍","frac1":"¼","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac3":"¾","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","gE":"≧","gEl":"⪌","gacute":"ǵ","gamma":"γ","gammad":"ϝ","gap":"⪆","gbreve":"ğ","gcirc":"ĝ","gcy":"г","gdot":"ġ","ge":"≥","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","ges":"⩾","gescc":"⪩","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","gfr":"𝔤","gg":"≫","ggg":"⋙","gimel":"ℷ","gjcy":"ѓ","gl":"≷","glE":"⪒","gla":"⪥","glj":"⪤","gnE":"≩","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gneq":"⪈","gneqq":"≩","gnsim":"⋧","gopf":"𝕘","grave":"`","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","g":">","gt":">","gtcc":"⪧","gtcir":"⩺","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","hArr":"⇔","hairsp":" ","half":"½","hamilt":"ℋ","hardcy":"ъ","harr":"↔","harrcir":"⥈","harrw":"↭","hbar":"ℏ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","horbar":"―","hscr":"𝒽","hslash":"ℏ","hstrok":"ħ","hybull":"⁃","hyphen":"‐","iacut":"í","iacute":"í","ic":"","icir":"î","icirc":"î","icy":"и","iecy":"е","iexc":"¡","iexcl":"¡","iff":"⇔","ifr":"𝔦","igrav":"ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","ijlig":"ij","imacr":"ī","image":"ℑ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","imof":"⊷","imped":"Ƶ","in":"∈","incare":"℅","infin":"∞","infintie":"⧝","inodot":"ı","int":"∫","intcal":"⊺","integers":"ℤ","intercal":"⊺","intlarhk":"⨗","intprod":"⨼","iocy":"ё","iogon":"į","iopf":"𝕚","iota":"ι","iprod":"⨼","iques":"¿","iquest":"¿","iscr":"𝒾","isin":"∈","isinE":"⋹","isindot":"⋵","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"","itilde":"ĩ","iukcy":"і","ium":"ï","iuml":"ï","jcirc":"ĵ","jcy":"й","jfr":"𝔧","jmath":"ȷ","jopf":"𝕛","jscr":"𝒿","jsercy":"ј","jukcy":"є","kappa":"κ","kappav":"ϰ","kcedil":"ķ","kcy":"к","kfr":"𝔨","kgreen":"ĸ","khcy":"х","kjcy":"ќ","kopf":"𝕜","kscr":"𝓀","lAarr":"⇚","lArr":"⇐","lAtail":"⤛","lBarr":"⤎","lE":"≦","lEg":"⪋","lHar":"⥢","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","lambda":"λ","lang":"⟨","langd":"⦑","langle":"⟨","lap":"⪅","laqu":"«","laquo":"«","larr":"←","larrb":"⇤","larrbfs":"⤟","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","lat":"⪫","latail":"⤙","late":"⪭","lates":"⪭︀","lbarr":"⤌","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","lcaron":"ľ","lcedil":"ļ","lceil":"⌈","lcub":"{","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","leftarrow":"←","leftarrowtail":"↢","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","leftthreetimes":"⋋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","les":"⩽","lescc":"⪨","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","lessgtr":"≶","lesssim":"≲","lfisht":"⥼","lfloor":"⌊","lfr":"𝔩","lg":"≶","lgE":"⪑","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","ljcy":"љ","ll":"≪","llarr":"⇇","llcorner":"⌞","llhard":"⥫","lltri":"◺","lmidot":"ŀ","lmoust":"⎰","lmoustache":"⎰","lnE":"≨","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","longleftrightarrow":"⟷","longmapsto":"⟼","longrightarrow":"⟶","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","lstrok":"ł","l":"<","lt":"<","ltcc":"⪦","ltcir":"⩹","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltrPar":"⦖","ltri":"◃","ltrie":"⊴","ltrif":"◂","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","mDDot":"∺","mac":"¯","macr":"¯","male":"♂","malt":"✠","maltese":"✠","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","mcy":"м","mdash":"—","measuredangle":"∡","mfr":"𝔪","mho":"℧","micr":"µ","micro":"µ","mid":"∣","midast":"*","midcir":"⫰","middo":"·","middot":"·","minus":"−","minusb":"⊟","minusd":"∸","minusdu":"⨪","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","mopf":"𝕞","mp":"∓","mscr":"𝓂","mstpos":"∾","mu":"μ","multimap":"⊸","mumap":"⊸","nGg":"⋙̸","nGt":"≫⃒","nGtv":"≫̸","nLeftarrow":"⇍","nLeftrightarrow":"⇎","nLl":"⋘̸","nLt":"≪⃒","nLtv":"≪̸","nRightarrow":"⇏","nVDash":"⊯","nVdash":"⊮","nabla":"∇","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natur":"♮","natural":"♮","naturals":"ℕ","nbs":" ","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","ncaron":"ň","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","ncy":"н","ndash":"–","ne":"≠","neArr":"⇗","nearhk":"⤤","nearr":"↗","nearrow":"↗","nedot":"≐̸","nequiv":"≢","nesear":"⤨","nesim":"≂̸","nexist":"∄","nexists":"∄","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","ngsim":"≵","ngt":"≯","ngtr":"≯","nhArr":"⇎","nharr":"↮","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","njcy":"њ","nlArr":"⇍","nlE":"≦̸","nlarr":"↚","nldr":"‥","nle":"≰","nleftarrow":"↚","nleftrightarrow":"↮","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nlsim":"≴","nlt":"≮","nltri":"⋪","nltrie":"⋬","nmid":"∤","nopf":"𝕟","no":"¬","not":"¬","notin":"∉","notinE":"⋹̸","notindot":"⋵̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","npar":"∦","nparallel":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","npre":"⪯̸","nprec":"⊀","npreceq":"⪯̸","nrArr":"⇏","nrarr":"↛","nrarrc":"⤳̸","nrarrw":"↝̸","nrightarrow":"↛","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","ntild":"ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","nu":"ν","num":"#","numero":"№","numsp":" ","nvDash":"⊭","nvHarr":"⤄","nvap":"≍⃒","nvdash":"⊬","nvge":"≥⃒","nvgt":">⃒","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwArr":"⇖","nwarhk":"⤣","nwarr":"↖","nwarrow":"↖","nwnear":"⤧","oS":"Ⓢ","oacut":"ó","oacute":"ó","oast":"⊛","ocir":"ô","ocirc":"ô","ocy":"о","odash":"⊝","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","oelig":"œ","ofcir":"⦿","ofr":"𝔬","ogon":"˛","ograv":"ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","omacr":"ō","omega":"ω","omicron":"ο","omid":"⦶","ominus":"⊖","oopf":"𝕠","opar":"⦷","operp":"⦹","oplus":"⊕","or":"∨","orarr":"↻","ord":"º","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oscr":"ℴ","oslas":"ø","oslash":"ø","osol":"⊘","otild":"õ","otilde":"õ","otimes":"⊗","otimesas":"⨶","oum":"ö","ouml":"ö","ovbar":"⌽","par":"¶","para":"¶","parallel":"∥","parsim":"⫳","parsl":"⫽","part":"∂","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","pfr":"𝔭","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plus":"+","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plusdo":"∔","plusdu":"⨥","pluse":"⩲","plusm":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","pointint":"⨕","popf":"𝕡","poun":"£","pound":"£","pr":"≺","prE":"⪳","prap":"⪷","prcue":"≼","pre":"⪯","prec":"≺","precapprox":"⪷","preccurlyeq":"≼","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","precsim":"≾","prime":"′","primes":"ℙ","prnE":"⪵","prnap":"⪹","prnsim":"⋨","prod":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","propto":"∝","prsim":"≾","prurel":"⊰","pscr":"𝓅","psi":"ψ","puncsp":" ","qfr":"𝔮","qint":"⨌","qopf":"𝕢","qprime":"⁗","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quo":"\\"","quot":"\\"","rAarr":"⇛","rArr":"⇒","rAtail":"⤜","rBarr":"⤏","rHar":"⥤","race":"∽̱","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","rangd":"⦒","range":"⦥","rangle":"⟩","raqu":"»","raquo":"»","rarr":"→","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","rarrtl":"↣","rarrw":"↝","ratail":"⤚","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","rcaron":"ř","rcedil":"ŗ","rceil":"⌉","rcub":"}","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","rect":"▭","re":"®","reg":"®","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","rhard":"⇁","rharu":"⇀","rharul":"⥬","rho":"ρ","rhov":"ϱ","rightarrow":"→","rightarrowtail":"↣","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","rightthreetimes":"⋌","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"","rmoust":"⎱","rmoustache":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","roplus":"⨮","rotimes":"⨵","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","rsaquo":"›","rscr":"𝓇","rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","ruluhar":"⥨","rx":"℞","sacute":"ś","sbquo":"‚","sc":"≻","scE":"⪴","scap":"⪸","scaron":"š","sccue":"≽","sce":"⪰","scedil":"ş","scirc":"ŝ","scnE":"⪶","scnap":"⪺","scnsim":"⋩","scpolint":"⨓","scsim":"≿","scy":"с","sdot":"⋅","sdotb":"⊡","sdote":"⩦","seArr":"⇘","searhk":"⤥","searr":"↘","searrow":"↘","sec":"§","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","sfr":"𝔰","sfrown":"⌢","sharp":"♯","shchcy":"щ","shcy":"ш","shortmid":"∣","shortparallel":"∥","sh":"","shy":"","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","softcy":"ь","sol":"/","solb":"⧄","solbar":"⌿","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","squ":"□","square":"□","squarf":"▪","squf":"▪","srarr":"→","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","subE":"⫅","subdot":"⪽","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","subseteq":"⊆","subseteqq":"⫅","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succ":"≻","succapprox":"⪸","succcurlyeq":"≽","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","sum":"∑","sung":"♪","sup":"⊃","sup1":"¹","sup2":"²","sup3":"³","supE":"⫆","supdot":"⪾","supdsub":"⫘","supe":"⊇","supedot":"⫄","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swArr":"⇙","swarhk":"⤦","swarr":"↙","swarrow":"↙","swnwar":"⤪","szli":"ß","szlig":"ß","target":"⌖","tau":"τ","tbrk":"⎴","tcaron":"ť","tcedil":"ţ","tcy":"т","tdot":"⃛","telrec":"⌕","tfr":"𝔱","there4":"∴","therefore":"∴","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","thinsp":" ","thkap":"≈","thksim":"∼","thor":"þ","thorn":"þ","tilde":"˜","time":"×","times":"×","timesb":"⊠","timesbar":"⨱","timesd":"⨰","tint":"∭","toea":"⤨","top":"⊤","topbot":"⌶","topcir":"⫱","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","tscr":"𝓉","tscy":"ц","tshcy":"ћ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","uArr":"⇑","uHar":"⥣","uacut":"ú","uacute":"ú","uarr":"↑","ubrcy":"ў","ubreve":"ŭ","ucir":"û","ucirc":"û","ucy":"у","udarr":"⇅","udblac":"ű","udhar":"⥮","ufisht":"⥾","ufr":"𝔲","ugrav":"ù","ugrave":"ù","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","umacr":"ū","um":"¨","uml":"¨","uogon":"ų","uopf":"𝕦","uparrow":"↑","updownarrow":"↕","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","upsi":"υ","upsih":"ϒ","upsilon":"υ","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","uring":"ů","urtri":"◹","uscr":"𝓊","utdot":"⋰","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","uum":"ü","uuml":"ü","uwangle":"⦧","vArr":"⇕","vBar":"⫨","vBarv":"⫩","vDash":"⊨","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vcy":"в","vdash":"⊢","vee":"∨","veebar":"⊻","veeeq":"≚","vellip":"⋮","verbar":"|","vert":"|","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","vopf":"𝕧","vprop":"∝","vrtri":"⊳","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","vzigzag":"⦚","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","wedgeq":"≙","weierp":"℘","wfr":"𝔴","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","xfr":"𝔵","xhArr":"⟺","xharr":"⟷","xi":"ξ","xlArr":"⟸","xlarr":"⟵","xmap":"⟼","xnis":"⋻","xodot":"⨀","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrArr":"⟹","xrarr":"⟶","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","yacut":"ý","yacute":"ý","yacy":"я","ycirc":"ŷ","ycy":"ы","ye":"¥","yen":"¥","yfr":"𝔶","yicy":"ї","yopf":"𝕪","yscr":"𝓎","yucy":"ю","yum":"ÿ","yuml":"ÿ","zacute":"ź","zcaron":"ž","zcy":"з","zdot":"ż","zeetrf":"ℨ","zeta":"ζ","zfr":"𝔷","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","zscr":"𝓏","zwj":"","zwnj":""}')},6852:e=>{"use strict";e.exports=JSON.parse('{"0":"�","128":"€","130":"‚","131":"ƒ","132":"„","133":"…","134":"†","135":"‡","136":"ˆ","137":"‰","138":"Š","139":"‹","140":"Œ","142":"Ž","145":"‘","146":"’","147":"“","148":"”","149":"•","150":"–","151":"—","152":"˜","153":"™","154":"š","155":"›","156":"œ","158":"ž","159":"Ÿ"}')},9357:e=>{"use strict";e.exports=function(e){return String(e).replace(/\s+/g," ")}},6851:(e,t)=>{"use strict";t.P=function(e,t){var n=t||{},i=!1===n.padLeft?"":" ",r=n.padRight?" ":"";""===e[e.length-1]&&(e=e.concat(""));return e.join(r+","+i).trim()}},1586:(e,t,n)=>{var i=n(1721);e.exports=function(e){var t={},n=new i(e);t.trackNumber=n.nextUIntV(),t.timecode=n.nextInt16BE();var r=n.nextUInt8();t.invisible=!!(8&r),t.keyframe=!!(128&r),t.discardable=!!(1&r);var o=(6&r)>>1;return t.frames=function(e,t){if(!t)return[e.nextBuffer()];var n,i,r=[],o=e.nextUInt8()+1;if(2===t){if(e.length%o!=0)throw new Error("Fixed-Size Lacing Error");for(i=e.length/o,n=0;n{var i=n(8826);function r(e){this.buffer=e,this.offset=0}r.prototype.nextInt16BE=function(){var e=this.buffer.readInt16BE(this.offset);return this.offset+=2,e},r.prototype.nextUInt8=function(){var e=this.buffer.readUInt8(this.offset);return this.offset+=1,e},r.prototype.nextUIntV=function(){var e=i(this.buffer,this.offset);return this.offset+=e.length,e.value},r.prototype.nextIntV=function(){var e=i(this.buffer,this.offset,!0);return this.offset+=e.length,e.value},r.prototype.nextBuffer=function(e){var t=e?this.buffer.slice(this.offset,this.offset+e):this.buffer.slice(this.offset);return this.offset+=e||this.length,t},Object.defineProperty(r.prototype,"length",{get:function(){return this.buffer.length-this.offset}}),e.exports=r},8826:e=>{e.exports=function(e,t,n){t=t||0;for(var i=1;i<=8&&!(e[t]>=Math.pow(2,8-i));i++);if(i>8)throw new Error("Unrepresentable length: "+i+" "+e.toString("hex",t,t+i));if(t+i>e.length)return null;var r,o=e[t]&(1<<8-i)-1;for(r=1;r=Math.pow(2,45)&&e[t+7]>0)return{length:i,value:-1};o*=Math.pow(2,8),o+=e[t+r]}return n&&(o-=Math.pow(2,7*i-1)-1),{length:i,value:o}}},7187:e=>{"use strict";var t,n="object"==typeof Reflect?Reflect:null,i=n&&"function"==typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var r=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise((function(n,i){function r(n){e.removeListener(t,o),i(n)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",r),n([].slice.call(arguments))}m(e,t,o,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&m(e,"error",t,n)}(e,r,{once:!0})}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var a=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function c(e,t,n,i){var r,o,a,c;if(s(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"==typeof a?a=o[t]=i?[n,a]:[a,n]:i?a.unshift(n):a.push(n),(r=l(e))>0&&a.length>r&&!a.warned){a.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=a.length,c=u,console&&console.warn&&console.warn(c)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(e,t,n){var i={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},r=u.bind(i);return r.listener=n,i.wrapFn=r,r}function p(e,t,n){var i=e._events;if(void 0===i)return[];var r=i[t];return void 0===r?[]:"function"==typeof r?n?[r.listener||r]:[r]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=o[e];if(void 0===l)return!1;if("function"==typeof l)i(l,this,t);else{var c=l.length,u=f(l,c);for(n=0;n=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,r=o;break}if(r<0)return this;0===r?n.shift():function(e,t){for(;t+1=0;i--)this.removeListener(e,t[i]);return this},o.prototype.listeners=function(e){return p(this,e,!0)},o.prototype.rawListeners=function(e){return p(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):d.call(e,t)},o.prototype.listenerCount=d,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},8909:e=>{"use strict";e.exports=function(e,t){var n;if(null!=t&&"string"!=typeof t&&("object"!=typeof t||0===t.length))throw new Error("Expected `string` or `Array.` for `tagNames`, not `"+t+"`");if(!e||"object"!=typeof e||"element"!==e.type||"string"!=typeof e.tagName)return!1;if(null==t)return!0;if(n=e.tagName,"string"==typeof t)return n===t;return-1!==t.indexOf(n)}},773:(e,t,n)=>{"use strict";e.exports=n(5204)},5802:(e,t,n)=>{"use strict";var i=n(1878);e.exports=function(e,t){var n=t&&t.children,r=n&&n.length,o=-1,a=[];for(;++o{"use strict";var i=n(7529),r=n(4860);e.exports=function(e,t){var n=t.value;if(e.bogusComments)return""+r(n,i(e.entities,{subset:s}))+">";return"\x3c!--"+n.replace(o,(function(t){return r(t,i(e.entities,{subset:a}))}))+"--\x3e"};var o=/^>|^->||--!>|"],s=[">"]},5966:e=>{"use strict";var t="\0",n="&",i="`",r='"',o="'",a=[" ","\t","\n","\r","\f"],s=a.concat(n,"/",">","="),l=a.concat(n,">"),c=l.concat(t,r,o,"<","=",i),u=[n,o],h=[n,r];e.exports={name:[[s,s.concat(r,o,i)],[s.concat(t,r,o,"<"),s.concat(t,r,o,"<",i)]],unquoted:[[l,c],[c,c]],single:[[u,u.concat(r,i)],[u.concat(t),u.concat(t,r,i)]],double:[[h,h.concat(o,i)],[h.concat(t),h.concat(t,o,i)]]}},5842:(e,t,n)=>{"use strict";var i=n(7529),r=n(932),o=n(4860);e.exports=function(e,t){var n=e.upperDoctype?s:a,i=e.tightDoctype?"":" ",r=t.name,o=t.public,c=t.system,u=[""};var a="doctype",s=a.toUpperCase();function l(e,t){var n=e.quote,a=e.alternative,s=String(t),l=r(s,n)>r(s,a)?a:n;return l+o(s,i(e.entities,{subset:["<","&",l]}))+l}},4307:(e,t,n)=>{"use strict";var i=n(7529),r=n(1218),o=n(9560),a=n(6582).P,s=n(6851).P,l=n(4860),c=n(932),u=n(5802),h=n(5966);e.exports=function(e,t,n,i){var o,a,s,l,c,h,p=e.schema,f=t.tagName,m="",g=t;"html"===p.space&&"svg"===f&&(e.schema=r);c=function(e,t){var n,i,r,o,a,s,l=[];for(n in t)null!=(i=t[n])&&(r=d(e,n,i))&&l.push(r);o=l.length,a=-1;for(;++a");m+=l,o||s&&s.closing(t,n,i)||(m+=""+f+">");return e.schema=p,m};var p="'";function d(e,t,n){var r=e.schema,u=o(r,t),d=u.attribute;return!u.overloadedBoolean||n!==d&&""!==n?(u.boolean||u.overloadedBoolean&&"string"!=typeof n)&&(n=Boolean(n)):n=!0,null==n||!1===n||"number"==typeof n&&isNaN(n)?"":(d=function(e,t){var n="html"===e.schema.space?e.valid:1,r=h.name[n][e.safe];return l(t,i(e.entities,{subset:r}))}(e,d),!0===n?d:d+function(e,t,n,r){var o,u,d=e.entities,f=e.quote,m=e.alternative,g=e.smart;"object"==typeof n&&"length"in n&&(n=(r.commaSeparated?s:a)(n,{padLeft:!e.tightLists}));!(n=String(n))&&e.collapseEmpty||(o=n,e.unquoted&&(u=h.unquoted[e.valid][e.safe],o=l(n,i(d,{subset:u,attribute:!0}))),e.unquoted&&o===n||(g&&c(n,f)>c(n,m)&&(f=m),u=(u=f===p?h.single:h.double)["html"===e.schema.space?e.valid:1][e.safe],n=f+(n=l(n,i(d,{subset:u,attribute:!0})))+f),n=n?"="+n:n);return n}(e,0,n,u))}},5204:(e,t,n)=>{"use strict";var i=n(7247),r=n(1218),o=n(4318),a=n(1600),s=n(1878);e.exports=function(e,t){var n=t||{},u=n.quote||l,h=u===l?"'":l,p=n.quoteSmart,d=e&&"object"==typeof e&&"length"in e?{type:"root",children:e}:e;if(u!==l&&"'"!==u)throw new Error("Invalid quote `"+u+"`, expected `'` or `"+'"`');void 0!==n.allowDangerousHTML&&(c||(c=!0,console.warn("Deprecation warning: `allowDangerousHTML` is a nonstandard option, use `allowDangerousHtml` instead")));return s({valid:n.allowParseErrors?0:1,safe:n.allowDangerousCharacters?0:1,schema:"svg"===n.space?r:i,omit:n.omitOptionalTags&&a,quote:u,alternative:h,smart:p,unquoted:Boolean(n.preferUnquoted),tight:n.tightAttributes,upperDoctype:Boolean(n.upperDoctype),tightDoctype:Boolean(n.tightDoctype),bogusComments:Boolean(n.bogusComments),tightLists:n.tightCommaSeparatedLists,tightClose:n.tightSelfClosing,collapseEmpty:n.collapseEmptyAttributes,dangerous:n.allowDangerousHtml||n.allowDangerousHTML,voids:n.voids||o.concat(),entities:n.entities||{},close:n.closeSelfClosing,closeEmpty:n.closeEmptyElements},d)};var l='"',c=!1},8639:(e,t,n)=>{"use strict";var i=n(8145),r=n(8909),o=n(8115),a=n(3370).e,s=n(5254),l=i("comment"),c="optgroup",u=["option"].concat(c),h=["dt","dd"],p=["menuitem","hr","menu"],d=["rp","rt"],f=["tbody","tfoot"],m=["td","th"],g=["a","audio","del","ins","map","noscript","video"],v=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","menu","nav","ol","p","pre","section","table","ul"];function y(e,t,n){var i=a(n,t,!0);return!i||!l(i)&&!o(i)}function b(e,t,n){var i=a(n,t);return!i||r(i,d)}function w(e,t,n){var i=a(n,t);return!i||r(i,m)}e.exports=s({html:function(e,t,n){var i=a(n,t);return!i||!l(i)},head:y,body:function(e,t,n){var i=a(n,t);return!i||!l(i)},p:function(e,t,n){var i=a(n,t);return i?r(i,v):!n||!r(n,g)},li:function(e,t,n){var i=a(n,t);return!i||r(i,"li")},dt:function(e,t,n){var i=a(n,t);return i&&r(i,h)},dd:function(e,t,n){var i=a(n,t);return!i||r(i,h)},rt:b,rp:b,optgroup:function(e,t,n){var i=a(n,t);return!i||r(i,c)},option:function(e,t,n){var i=a(n,t);return!i||r(i,u)},menuitem:function(e,t,n){var i=a(n,t);return!i||r(i,p)},colgroup:y,caption:y,thead:function(e,t,n){var i=a(n,t);return i&&r(i,f)},tbody:function(e,t,n){var i=a(n,t);return!i||r(i,f)},tfoot:function(e,t,n){return!a(n,t)},tr:function(e,t,n){var i=a(n,t);return!i||r(i,"tr")},td:w,th:w})},1600:(e,t,n)=>{"use strict";t.opening=n(6014),t.closing=n(8639)},5254:e=>{"use strict";e.exports=function(e){return function(n,i,r){var o=n.tagName;return!!t.call(e,o)&&e[o](n,i,r)}};var t={}.hasOwnProperty},6014:(e,t,n)=>{"use strict";var i=n(8145),r=n(8909),o=n(3370).b,a=n(4414),s=n(4997),l=n(8115),c=n(8639),u=n(5254),h=i("comment"),p=["title","base"],d=["meta","link","script","style","template"],f=["thead","tbody"];e.exports=u({html:function(e){var t=a(e);return!t||!h(t)},head:function(e){var t,n,i=e.children,o=i.length,a=[],s=-1;for(;++s{"use strict";var i=n(3370).e;e.exports=function(e,t){return i(e,-1,t)}},4997:e=>{"use strict";e.exports=function(e,t){return e&&e.children&&e.children.indexOf(t)}},3370:(e,t,n)=>{"use strict";var i=n(3560);function r(e){return function(t,n,r){var o=t&&t.children,a=n+e,s=o&&o[a];if(!r)for(;s&&i(s);)s=o[a+=e];return s}}t.b=r(-1),t.e=r(1)},8115:(e,t,n)=>{"use strict";var i=n(8145),r=n(3560);e.exports=function(e){return o(e)&&r(e.value.charAt(0))};var o=i("text")},1878:(e,t,n)=>{"use strict";e.exports=function(e,t,n,o){var a=t&&t.type;if(!a)throw new Error("Expected node, not `"+t+"`");if(!i.call(r,a))throw new Error("Cannot compile unknown node `"+a+"`");return r[a](e,t,n,o)};var i={}.hasOwnProperty,r={};r.root=n(5802),r.text=n(9514),r.element=n(4307),r.doctype=n(5842),r.comment=n(1928),r.raw=n(9044)},9044:(e,t,n)=>{"use strict";var i=n(9514);e.exports=function(e,t){return e.dangerous?t.value:i(e,t)}},9514:(e,t,n)=>{"use strict";var i=n(7529),r=n(4860);e.exports=function(e,t,n,o){var a=t.value;return function(e){return e&&("script"===e.tagName||"style"===e.tagName)}(o)?a:r(a,i(e.entities,{subset:["<","&"]}))}},3560:e=>{"use strict";e.exports=function(e){var n;if(e&&"object"==typeof e&&"text"===e.type)n=e.value||"";else{if("string"!=typeof e)return!1;n=e}return""===n.replace(t,"")};var t=/[ \t\n\f\r]/g},4318:e=>{"use strict";e.exports=JSON.parse('["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"]')},645:(e,t)=>{t.read=function(e,t,n,i,r){var o,a,s=8*r-i-1,l=(1<>1,u=-7,h=n?r-1:0,p=n?-1:1,d=e[t+h];for(h+=p,o=d&(1<<-u)-1,d>>=-u,u+=s;u>0;o=256*o+e[t+h],h+=p,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=i;u>0;a=256*a+e[t+h],h+=p,u-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,i),o-=c}return(d?-1:1)*a*Math.pow(2,o-i)},t.write=function(e,t,n,i,r,o){var a,s,l,c=8*o-r-1,u=(1<>1,p=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,d=i?0:o-1,f=i?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+h>=1?p/l:p*Math.pow(2,1-h))*l>=2&&(a++,l/=2),a+h>=u?(s=0,a=u):a+h>=1?(s=(t*l-1)*Math.pow(2,r),a+=h):(s=t*Math.pow(2,h-1)*Math.pow(2,r),a=0));r>=8;e[n+d]=255&s,d+=f,s/=256,r-=8);for(a=a<0;e[n+d]=255&a,d+=f,a/=256,c-=8);e[n+d-f]|=128*m}},5717:e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},1166:function(e,t){!function(e){var t,n="undefined",i=n!==typeof Buffer&&Buffer,r=n!==typeof Uint8Array&&Uint8Array,o=n!==typeof ArrayBuffer&&ArrayBuffer,a=[0,0,0,0,0,0,0,0],s=Array.isArray||function(e){return!!e&&"[object Array]"==Object.prototype.toString.call(e)},l=4294967296;function c(s,c,w){var k=c?0:4,C=c?4:0,x=c?0:3,E=c?1:2,S=c?2:1,M=c?3:0,T=c?g:y,D=c?v:b,A=I.prototype,L="is"+s,P="_"+L;return A.buffer=void 0,A.offset=0,A[P]=!0,A.toNumber=F,A.toString=function(e){var t=this.buffer,n=this.offset,i=B(t,n+k),r=B(t,n+C),o="",a=!w&&2147483648&i;a&&(i=~i,r=l-r);e=e||10;for(;;){var s=i%e*l+r;if(i=Math.floor(i/e),r=Math.floor(s/e),o=(s%e).toString(e)+o,!i&&!r)break}a&&(o="-"+o);return o},A.toJSON=F,A.toArray=u,i&&(A.toBuffer=h),r&&(A.toArrayBuffer=p),I[L]=function(e){return!(!e||!e[P])},e[s]=I,I;function I(e,s,c,u){return this instanceof I?function(e,s,c,u,h){r&&o&&(s instanceof o&&(s=new r(s)),u instanceof o&&(u=new r(u)));if(!(s||c||u||t))return void(e.buffer=m(a,0));if(!d(s,c)){var p=t||Array;h=c,u=s,c=0,s=t===i?i.alloc(8):new p(8)}if(e.buffer=s,e.offset=c|=0,n===typeof u)return;"string"==typeof u?function(e,t,n,i){var r=0,o=n.length,a=0,s=0;"-"===n[0]&&r++;var c=r;for(;r=0))break;s=s*i+u,a=a*i+Math.floor(s/l),s%=l}c&&(a=~a,s?s=l-s:a++);O(e,t+k,a),O(e,t+C,s)}(s,c,u,h||10):d(u,h)?f(s,c,u,h):"number"==typeof h?(O(s,c+k,u),O(s,c+C,h)):u>0?T(s,c,u):u<0?D(s,c,u):f(s,c,a,0)}(this,e,s,c,u):new I(e,s,c,u)}function F(){var e=this.buffer,t=this.offset,n=B(e,t+k),i=B(e,t+C);return w||(n|=0),n?n*l+i:i}function O(e,t,n){e[t+M]=255&n,n>>=8,e[t+S]=255&n,n>>=8,e[t+E]=255&n,n>>=8,e[t+x]=255&n}function B(e,t){return 16777216*e[t+x]+(e[t+E]<<16)+(e[t+S]<<8)+e[t+M]}}function u(e){var n=this.buffer,i=this.offset;return t=null,!1!==e&&s(n)?8===n.length?n:n.slice(i,i+8):m(n,i)}function h(e){var n=this.buffer,r=this.offset;return t=i,!1!==e&&i.isBuffer(n)?8===n.length?n:n.slice(r,r+8):i.from(p.call(this,e))}function p(e){var n=this.buffer,i=this.offset,a=n.buffer;if(t=r,!1!==e&&!n.offset&&a instanceof o)return 8===a.byteLength?a:a.slice(i,i+8);var s=new r(8);return f(s,0,n,i),s.buffer}function d(e,t){var n=e&&e.length;return t|=0,n&&t+8<=n&&"string"!=typeof e[t]}function f(e,t,n,i){t|=0,i|=0;for(var r=0;r<8;r++)e[t++]=255&n[i++]}function m(e,t){return Array.prototype.slice.call(e,t,t+8)}function g(e,t,n){for(var i=t+8;i>t;)e[--i]=255&n,n/=256}function v(e,t,n){var i=t+8;for(n++;i>t;)e[--i]=255&-n^255,n/=256}function y(e,t,n){for(var i=t+8;t{"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}},7961:(e,t,n)=>{"use strict";var i=n(6260),r=n(6195);e.exports=function(e){return i(e)||r(e)}},8738:e=>{e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},6195:e=>{"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},9480:e=>{"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},2139:e=>{"use strict";e.exports=function(e){return n.test("number"==typeof e?t(e):e.charAt(0))};var t=String.fromCharCode,n=/\s/},3017:e=>{"use strict";e.exports=function(e){return n.test("number"==typeof e?t(e):e.charAt(0))};var t=String.fromCharCode,n=/\w/},2123:e=>{"use strict";e.exports=r;var t=["\\","`","*","{","}","[","]","(",")","#","+","-",".","!","_",">"],n=t.concat(["~","|"]),i=n.concat(["\n",'"',"$","%","&","'",",","/",":",";","<","=","?","@","^"]);function r(e){var r=e||{};return r.commonmark?i:r.gfm?n:t}r.default=t,r.gfm=n,r.commonmark=i},6630:(e,t,n)=>{"use strict";var i=n(2854);e.exports=function(e,t){return function(e){return t;function t(t){var n=t&&o(t);return n&&r.call(e,n)?e[n]:null}}(function(e){var t={};if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return i(e,"definition",n),t;function n(e){var n=o(e.identifier);r.call(t,n)||(t[n]=e)}}(e))};var r={}.hasOwnProperty;function o(e){return e.toUpperCase()}},5426:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,r,o=t.children||[],a=o.length,s=[],l=-1;for(;++l{"use strict";e.exports=function(e){var t,n,a,s,l=e.footnoteById,c=e.footnoteOrder,u=c.length,h=-1,p=[];for(;++h{"use strict";e.exports=function(e,t){return e(t,"blockquote",i(r(e,t),!0))};var i=n(6115),r=n(5426)},3562:(e,t,n)=>{"use strict";e.exports=function(e,t){return[e(t,"br"),i("text","\n")]};var i=n(914)},7891:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,r=t.value?t.value+"\n":"",o=t.lang&&t.lang.match(/^[^ \t]+(?=[ \t]|$)/),a={};o&&(a.className=["language-"+o]);n=e(t,"code",a,[i("text",r)]),t.meta&&(n.data={meta:t.meta});return e(t.position,"pre",[n])};var i=n(914)},9381:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"del",i(e,t))};var i=n(5426)},790:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"em",i(e,t))};var i=n(5426)},8235:(e,t,n)=>{"use strict";e.exports=function(e,t){var n=e.footnoteOrder,r=String(t.identifier);-1===n.indexOf(r)&&n.push(r);return e(t.position,"sup",{id:"fnref-"+r},[e(t,"a",{href:"#fn-"+r,className:["footnote-ref"]},[i("text",t.label||r)])])};var i=n(914)},5758:(e,t,n)=>{"use strict";e.exports=function(e,t){var n=e.footnoteById,r=e.footnoteOrder,o=1;for(;o in n;)o++;return o=String(o),r.push(o),n[o]={type:"footnoteDefinition",identifier:o,children:[{type:"paragraph",children:t.children}],position:t.position},i(e,{type:"footnoteReference",identifier:o,position:t.position})};var i=n(8235)},4890:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"h"+t.depth,i(e,t))};var i=n(5426)},2202:(e,t,n)=>{"use strict";e.exports=function(e,t){return e.dangerous?e.augment(t,i("raw",t.value)):null};var i=n(914)},1454:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,o=e.definition(t.identifier);if(!o)return r(e,t);n={src:i(o.url||""),alt:t.alt},null!==o.title&&void 0!==o.title&&(n.title=o.title);return e(t,"img",n)};var i=n(729),r=n(713)},5037:(e,t,n)=>{"use strict";var i=n(729);e.exports=function(e,t){var n={src:i(t.url),alt:t.alt};null!==t.title&&void 0!==t.title&&(n.title=t.title);return e(t,"img",n)}},4617:(e,t,n)=>{"use strict";function i(){return null}e.exports={blockquote:n(4590),break:n(3562),code:n(7891),delete:n(9381),emphasis:n(790),footnoteReference:n(8235),footnote:n(5758),heading:n(4890),html:n(2202),imageReference:n(1454),image:n(5037),inlineCode:n(8409),linkReference:n(9266),link:n(404),listItem:n(4463),list:n(7888),paragraph:n(8346),root:n(8100),strong:n(4970),table:n(2605),text:n(989),thematicBreak:n(7552),toml:i,yaml:i,definition:i,footnoteDefinition:i}},8409:(e,t,n)=>{"use strict";e.exports=function(e,t){var n=t.value.replace(/\r?\n|\r/g," ");return e(t,"code",[i("text",n)])};var i=n(914)},9266:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,a=e.definition(t.identifier);if(!a)return r(e,t);n={href:i(a.url||"")},null!==a.title&&void 0!==a.title&&(n.title=a.title);return e(t,"a",n,o(e,t))};var i=n(729),r=n(713),o=n(5426)},404:(e,t,n)=>{"use strict";var i=n(729),r=n(5426);e.exports=function(e,t){var n={href:i(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);return e(t,"a",n,r(e,t))}},4463:(e,t,n)=>{"use strict";e.exports=function(e,t,n){var a,s,l,c=r(e,t),u=c[0],h=n?function(e){var t=e.spread,n=e.children,i=n.length,r=-1;for(;!t&&++r0&&u.children.unshift(i("text"," ")),u.children.unshift(e(null,"input",{type:"checkbox",checked:t.checked,disabled:!0})),p.className=["task-list-item"]);a=c.length,s=-1;for(;++s1:t}},7888:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,o,a={},s=t.ordered?"ol":"ul",l=-1;"number"==typeof t.start&&1!==t.start&&(a.start=t.start);n=r(e,t),o=n.length;for(;++l{"use strict";e.exports=function(e,t){return e(t,"p",i(e,t))};var i=n(5426)},8100:(e,t,n)=>{"use strict";e.exports=function(e,t){return e.augment(t,i("root",r(o(e,t))))};var i=n(914),r=n(6115),o=n(5426)},4970:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"strong",i(e,t))};var i=n(5426)},2605:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,a,s,l,c,u=t.children,h=u.length,p=t.align||[],d=p.length,f=[];for(;h--;){for(a=u[h].children,l=0===h?"th":"td",n=d||a.length,s=[];n--;)c=a[n],s[n]=e(c,l,{align:p[n]},c?o(e,c):[]);f[h]=e(u[h],"tr",r(s,!0))}return e(t,"table",r([e(f[0].position,"thead",r([f[0]],!0))].concat(f[1]?e({start:i.start(f[1]),end:i.end(f[f.length-1])},"tbody",r(f.slice(1),!0)):[]),!0))};var i=n(7361),r=n(6115),o=n(5426)},989:(e,t,n)=>{"use strict";e.exports=function(e,t){return e.augment(t,i("text",String(t.value).replace(/[ \t]*(\r?\n|\r)[ \t]*/g,"$1")))};var i=n(914)},7552:e=>{"use strict";e.exports=function(e,t){return e(t,"hr")}},719:(e,t,n)=>{"use strict";e.exports=function(e,t,n){var i,r=t&&t.type;if(!r)throw new Error("Expected node, got `"+t+"`");i=o.call(e.handlers,r)?e.handlers[r]:e.passThrough&&e.passThrough.indexOf(r)>-1?s:e.unknownHandler;return("function"==typeof i?i:a)(e,t,n)};var i=n(914),r=n(5426),o={}.hasOwnProperty;function a(e,t){return function(e){var t=e.data||{};if(o.call(t,"hName")||o.call(t,"hProperties")||o.call(t,"hChildren"))return!1;return"value"in e}(t)?e.augment(t,i("text",t.value)):e(t,"div",r(e,t))}function s(e,t){var n;return t.children?((n=Object.assign({},t)).children=r(e,t),n):t}},713:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,o,a,s=t.referenceType,l="]";"collapsed"===s?l+="[]":"full"===s&&(l+="["+(t.label||t.identifier)+"]");if("imageReference"===t.type)return i("text","!["+t.alt+l);n=r(e,t),(o=n[0])&&"text"===o.type?o.value="["+o.value:n.unshift(i("text","["));(a=n[n.length-1])&&"text"===a.type?a.value+=l:n.push(i("text",l));return n};var i=n(914),r=n(5426)},6115:(e,t,n)=>{"use strict";e.exports=function(e,t){var n=[],r=-1,o=e.length;t&&n.push(i("text","\n"));for(;++r0&&n.push(i("text","\n"));return n};var i=n(914)},729:e=>{"use strict";var t={};function n(e,i,r){var o,a,s,l,c,u="";for("string"!=typeof i&&(r=i,i=n.defaultChars),void 0===r&&(r=!0),c=function(e){var n,i,r=t[e];if(r)return r;for(r=t[e]=[],n=0;n<128;n++)i=String.fromCharCode(n),/^[0-9a-z]$/i.test(i)?r.push(i):r.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2));for(n=0;n=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1=56320&&l<=57343){u+=encodeURIComponent(e[o]+e[o+1]),o++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[o]);return u}n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",e.exports=n},7621:(e,t,n)=>{"use strict";var i=n(3407);e.exports=function(e){return!!r.call(i,e)&&i[e]};var r={}.hasOwnProperty},7574:(e,t,n)=>{"use strict";var i=n(6588),r=n(6852),o=n(6195),a=n(9480),s=n(7961),l=n(7621);e.exports=function(e,t){var n,o,a={};t||(t={});for(o in p)n=t[o],a[o]=null==n?p[o]:n;(a.position.indent||a.position.start)&&(a.indent=a.position.indent||[],a.position=a.position.start);return function(e,t){var n,o,a,p,k,C,x,E,S,M,T,D,A,L,P,I,F,O,B,N=t.additional,R=t.nonTerminated,H=t.text,V=t.reference,z=t.warning,q=t.textContext,U=t.referenceContext,_=t.warningContext,j=t.position,W=t.indent||[],G=e.length,K=0,Y=-1,X=j.column||1,$=j.line||1,Z="",Q=[];"string"==typeof N&&(N=N.charCodeAt(0));I=J(),E=z?ee:h,K--,G++;for(;++K65535&&(M+=u((C-=65536)>>>10|55296),C=56320|1023&C),C=M+u(C))):L!==d&&E(4,O)),C?(te(),I=J(),K=B-1,X+=B-A+1,Q.push(C),(F=J()).offset++,V&&V.call(U,C,{start:I,end:F},e.slice(A-1,B)),I=F):(p=e.slice(A-1,B),Z+=p,X+=p.length,K=B-1)}else 10===k&&($++,Y++,X=0),k==k?(Z+=u(k),X++):te();return Q.join("");function J(){return{line:$,column:X,offset:K+(j.offset||0)}}function ee(e,t){var n=J();n.column+=t,n.offset+=t,z.call(_,y[e],n,e)}function te(){Z&&(Q.push(Z),H&&H.call(q,Z,{start:I,end:J()}),Z="")}}(e,a)};var c={}.hasOwnProperty,u=String.fromCharCode,h=Function.prototype,p={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},d="named",f="hexadecimal",m="decimal",g={hexadecimal:16,decimal:10},v={};v.named=s,v[m]=o,v[f]=a;var y={};function b(e){return e>=55296&&e<=57343||e>1114111}function w(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}y[1]="Named character references must be terminated by a semicolon",y[2]="Numeric character references must be terminated by a semicolon",y[3]="Named character references cannot be empty",y[4]="Numeric character references cannot be empty",y[5]="Named character references must be known",y[6]="Numeric character references cannot be disallowed",y[7]="Numeric character references cannot be outside the permissible Unicode range"},9560:(e,t,n)=>{"use strict";var i=n(6632),r=n(8805),o=n(7643),a="data";e.exports=function(e,t){var n=i(t),p=t,d=o;if(n in e.normal)return e.property[e.normal[n]];n.length>4&&n.slice(0,4)===a&&s.test(t)&&("-"===t.charAt(4)?p=function(e){var t=e.slice(5).replace(l,h);return a+t.charAt(0).toUpperCase()+t.slice(1)}(t):t=function(e){var t=e.slice(4);if(l.test(t))return e;"-"!==(t=t.replace(c,u)).charAt(0)&&(t="-"+t);return a+t}(t),d=r);return new d(p,t)};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,c=/[A-Z]/g;function u(e){return"-"+e.toLowerCase()}function h(e){return e.charAt(1).toUpperCase()}},7247:(e,t,n)=>{"use strict";var i=n(9940),r=n(8289),o=n(5812),a=n(4397),s=n(7716),l=n(1805);e.exports=i([o,r,a,s,l])},7716:(e,t,n)=>{"use strict";var i=n(7e3),r=n(7596),o=i.booleanish,a=i.number,s=i.spaceSeparated;e.exports=r({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:o,ariaAutoComplete:null,ariaBusy:o,ariaChecked:o,ariaColCount:a,ariaColIndex:a,ariaColSpan:a,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:o,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:o,ariaFlowTo:s,ariaGrabbed:o,ariaHasPopup:null,ariaHidden:o,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:a,ariaLive:null,ariaModal:o,ariaMultiLine:o,ariaMultiSelectable:o,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:a,ariaPressed:o,ariaReadOnly:o,ariaRelevant:null,ariaRequired:o,ariaRoleDescription:s,ariaRowCount:a,ariaRowIndex:a,ariaRowSpan:a,ariaSelected:o,ariaSetSize:a,ariaSort:null,ariaValueMax:a,ariaValueMin:a,ariaValueNow:a,ariaValueText:null,role:null}})},1805:(e,t,n)=>{"use strict";var i=n(7e3),r=n(7596),o=n(855),a=i.boolean,s=i.overloadedBoolean,l=i.booleanish,c=i.number,u=i.spaceSeparated,h=i.commaSeparated;e.exports=r({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:o,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:h,acceptCharset:u,accessKey:u,action:null,allow:null,allowFullScreen:a,allowPaymentRequest:a,allowUserMedia:a,alt:null,as:null,async:a,autoCapitalize:null,autoComplete:u,autoFocus:a,autoPlay:a,capture:a,charSet:null,checked:a,cite:null,className:u,cols:c,colSpan:null,content:null,contentEditable:l,controls:a,controlsList:u,coords:c|h,crossOrigin:null,data:null,dateTime:null,decoding:null,default:a,defer:a,dir:null,dirName:null,disabled:a,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:a,formTarget:null,headers:u,height:c,hidden:a,high:c,href:null,hrefLang:null,htmlFor:u,httpEquiv:u,id:null,imageSizes:null,imageSrcSet:h,inputMode:null,integrity:null,is:null,isMap:a,itemId:null,itemProp:u,itemRef:u,itemScope:a,itemType:u,kind:null,label:null,lang:null,language:null,list:null,loop:a,low:c,manifest:null,max:null,maxLength:c,media:null,method:null,min:null,minLength:c,multiple:a,muted:a,name:null,nonce:null,noModule:a,noValidate:a,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:a,optimum:c,pattern:null,ping:u,placeholder:null,playsInline:a,poster:null,preload:null,readOnly:a,referrerPolicy:null,rel:u,required:a,reversed:a,rows:c,rowSpan:c,sandbox:u,scope:null,scoped:a,seamless:a,selected:a,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:h,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:a,useMap:null,value:l,width:c,wrap:null,align:null,aLink:null,archive:u,axis:null,background:null,bgColor:null,border:c,borderColor:null,bottomMargin:c,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:a,declare:a,event:null,face:null,frame:null,frameBorder:null,hSpace:c,leftMargin:c,link:null,longDesc:null,lowSrc:null,marginHeight:c,marginWidth:c,noResize:a,noHref:a,noShade:a,noWrap:a,object:null,profile:null,prompt:null,rev:null,rightMargin:c,rules:null,scheme:null,scrolling:l,standby:null,summary:null,text:null,topMargin:c,valueType:null,version:null,vAlign:null,vLink:null,vSpace:c,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:a,disableRemotePlayback:a,prefix:null,property:null,results:c,security:null,unselectable:null}})},5789:(e,t,n)=>{"use strict";var i=n(7e3),r=n(7596),o=n(8740),a=i.boolean,s=i.number,l=i.spaceSeparated,c=i.commaSeparated,u=i.commaOrSpaceSeparated;e.exports=r({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:o,properties:{about:u,accentHeight:s,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:s,amplitude:s,arabicForm:null,ascent:s,attributeName:null,attributeType:null,azimuth:s,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:s,by:null,calcMode:null,capHeight:s,className:l,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:s,diffuseConstant:s,direction:null,display:null,dur:null,divisor:s,dominantBaseline:null,download:a,dx:null,dy:null,edgeMode:null,editable:null,elevation:s,enableBackground:null,end:null,event:null,exponent:s,externalResourcesRequired:null,fill:null,fillOpacity:s,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:c,g2:c,glyphName:c,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:s,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:s,horizOriginX:s,horizOriginY:s,id:null,ideographic:s,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:s,k:s,k1:s,k2:s,k3:s,k4:s,kernelMatrix:u,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:s,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:s,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:s,overlineThickness:s,paintOrder:null,panose1:null,path:null,pathLength:s,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:l,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:s,pointsAtY:s,pointsAtZ:s,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:u,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:u,rev:u,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:u,requiredFeatures:u,requiredFonts:u,requiredFormats:u,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:s,specularExponent:s,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:s,strikethroughThickness:s,string:null,stroke:null,strokeDashArray:u,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:s,strokeOpacity:s,strokeWidth:null,style:null,surfaceScale:s,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:u,tabIndex:s,tableValues:null,target:null,targetX:s,targetY:s,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:u,to:null,transform:null,u1:null,u2:null,underlinePosition:s,underlineThickness:s,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:s,values:null,vAlphabetic:s,vMathematical:s,vectorEffect:null,vHanging:s,vIdeographic:s,version:null,vertAdvY:s,vertOriginX:s,vertOriginY:s,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:s,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}})},855:(e,t,n)=>{"use strict";var i=n(8740);e.exports=function(e,t){return i(e,t.toLowerCase())}},8740:e=>{"use strict";e.exports=function(e,t){return t in e?e[t]:t}},7596:(e,t,n)=>{"use strict";var i=n(6632),r=n(9607),o=n(8805);e.exports=function(e){var t,n,a=e.space,s=e.mustUseProperty||[],l=e.attributes||{},c=e.properties,u=e.transform,h={},p={};for(t in c)n=new o(t,u(l,t),c[t],a),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),h[t]=n,p[i(t)]=t,p[i(n.attribute)]=t;return new r(h,p,a)}},8805:(e,t,n)=>{"use strict";var i=n(7643),r=n(7e3);e.exports=s,s.prototype=new i,s.prototype.defined=!0;var o=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],a=o.length;function s(e,t,n,s){var c,u=-1;for(l(this,"space",s),i.call(this,e,t);++u{"use strict";e.exports=n;var t=n.prototype;function n(e,t){this.property=e,this.attribute=t}t.space=null,t.attribute=null,t.property=null,t.boolean=!1,t.booleanish=!1,t.overloadedBoolean=!1,t.number=!1,t.commaSeparated=!1,t.spaceSeparated=!1,t.commaOrSpaceSeparated=!1,t.mustUseProperty=!1,t.defined=!1},9940:(e,t,n)=>{"use strict";var i=n(7529),r=n(9607);e.exports=function(e){var t,n,o=e.length,a=[],s=[],l=-1;for(;++l{"use strict";e.exports=n;var t=n.prototype;function n(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}t.space=null,t.normal={},t.property={}},7e3:(e,t)=>{"use strict";var n=0;function i(){return Math.pow(2,++n)}t.boolean=i(),t.booleanish=i(),t.overloadedBoolean=i(),t.number=i(),t.spaceSeparated=i(),t.commaSeparated=i(),t.commaOrSpaceSeparated=i()},8289:(e,t,n)=>{"use strict";var i=n(7596);e.exports=i({space:"xlink",transform:function(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}})},5812:(e,t,n)=>{"use strict";var i=n(7596);e.exports=i({space:"xml",transform:function(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}})},4397:(e,t,n)=>{"use strict";var i=n(7596),r=n(855);e.exports=i({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:r,properties:{xmlns:null,xmlnsXLink:null}})},6632:e=>{"use strict";e.exports=function(e){return e.toLowerCase()}},1218:(e,t,n)=>{"use strict";var i=n(9940),r=n(8289),o=n(5812),a=n(4397),s=n(7716),l=n(5789);e.exports=i([o,r,a,s,l])},6464:e=>{"use strict";var t,n="";e.exports=function(e,i){if("string"!=typeof e)throw new TypeError("expected a string");if(1===i)return e;if(2===i)return e+e;var r=e.length*i;if(t!==e||void 0===t)t=e,n="";else if(n.length>=r)return n.substr(0,r);for(;r>n.length&&i>1;)1&i&&(n+=e),i>>=1,e+=e;return n=(n+=e).substr(0,r)}},6582:(e,t)=>{"use strict";t.P=function(e){return e.join(" ").trim()};var n=/[ \t\n\r\f]+/g},78:e=>{"use strict";e.exports=function(e,t,n){return function(){var i=n||this,r=i[e];return i[e]=!t,o;function o(){i[e]=r}}}},832:e=>{"use strict";e.exports=JSON.parse('["cent","copy","divide","gt","lt","not","para","times"]')},4860:(e,t,n)=>{"use strict";var i=n(5848),r=n(6588),o=n(9480),a=n(6195),s=n(7961),l=n(832);e.exports=f,f.escape=function(e){return f(e,{escapeOnly:!0,useNamedReferences:!0})};var c={}.hasOwnProperty,u=function(){var e,t={};for(e in i)t[i[e]]=e;return t}(),h=v(['"',"'","<",">","&","`"]),p=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g;function f(e,t){var n=t||{},i=n.subset,o=i?v(i):h,a=n.escapeOnly,f=n.omitOptionalSemicolons;return e=e.replace(o,y),i||a?e:e.replace(p,(function(e,t,n){return m(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536,n.charCodeAt(t+2),f)})).replace(d,y);function y(e,t,i){return function(e,t,n){var i,o,a,h,p=n.useShortestReferences,d=n.omitOptionalSemicolons;(p||n.useNamedReferences)&&c.call(u,e)&&(i=function(e,t,n,i){var o="&"+e;if(n&&c.call(r,e)&&-1===l.indexOf(e)&&(!i||t&&61!==t&&!s(t)))return o;return o+";"}(u[e],t,d,n.attribute));!p&&i||(a=m(o=e.charCodeAt(0),t,d),p&&(h=g(o,t,d)).length{"use strict";e.exports=function(e){var t=String(e),n=t.length;for(;"\n"===t.charAt(--n););return t.slice(0,n+1)}},2745:(e,t)=>{(t=e.exports=function(e){return e.replace(/^\s*|\s*$/g,"")}).left=function(e){return e.replace(/^\s*/,"")},t.right=function(e){return e.replace(/\s*$/,"")}},3278:(e,t,n)=>{"use strict";var i=n(7529),r=n(5717);e.exports=function(e){var t,n,o;for(n in r(s,e),r(a,s),t=s.prototype)(o=t[n])&&"object"==typeof o&&(t[n]="concat"in o?o.concat():i(o));return s;function a(t){return e.apply(this,t)}function s(){return this instanceof s?e.apply(this,arguments):new a(arguments)}}},914:e=>{"use strict";e.exports=function(e,t,n){var i;null!=n||"object"==typeof t&&!Array.isArray(t)||(n=t,t={});i=Object.assign({type:String(e)},t),Array.isArray(n)?i.children=n:null!=n&&(i.value=String(n));return i}},1744:e=>{"use strict";function t(e){return e&&"object"==typeof e?e:{}}e.exports=function(e){var n=t(t(e).position),i=t(n.start),r=t(n.end);return!(i.line&&i.column&&r.line&&r.column)}},8145:e=>{"use strict";function t(e){if("string"==typeof e)return function(e){return t;function t(t){return Boolean(t&&t.type===e)}}(e);if(null==e)return r;if("object"==typeof e)return("length"in e?i:n)(e);if("function"==typeof e)return e;throw new Error("Expected function, string, or object as test")}function n(e){return function(t){var n;for(n in e)if(t[n]!==e[n])return!1;return!0}}function i(e){var n=function(e){for(var n=[],i=e.length,r=-1;++r{"use strict";var t=r("start"),n=r("end");function i(e){return{start:t(e),end:n(e)}}function r(e){return t.displayName=e,t;function t(t){var n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:isNaN(n.offset)?null:n.offset}}}e.exports=i,i.start=t,i.end=n},3183:(e,t,n)=>{"use strict";var i=n(2854);function r(e){delete e.position}function o(e){e.position=void 0}e.exports=function(e,t){return i(e,t?r:o),e}},5432:e=>{"use strict";var t={}.hasOwnProperty;function n(e){return e&&"object"==typeof e||(e={}),r(e.line)+":"+r(e.column)}function i(e){return e&&"object"==typeof e||(e={}),n(e.start)+"-"+n(e.end)}function r(e){return e&&"number"==typeof e?e:1}e.exports=function(e){if(!e||"object"!=typeof e)return"";if(t.call(e,"position")||t.call(e,"type"))return i(e.position);if(t.call(e,"start")||t.call(e,"end"))return i(e);if(t.call(e,"line")||t.call(e,"column"))return n(e);return""}},6750:e=>{e.exports=function(e){return e}},9294:(e,t,n)=>{"use strict";e.exports=s;var i=n(8145),r=n(6750),o="skip",a=!1;function s(e,t,n,s){var p;function d(e,i,c){var f,m=h(e)?e:{};return u(m.type)&&(f=u(m.tagName)?m.tagName:u(m.name)?m.name:void 0,g.displayName="node ("+r(m.type+(f?"<"+f+">":""))+")"),g;function g(){var r,u=[];return(t&&!p(e,i,c[c.length-1]||null)||(u=l(n(e,c)))[0]!==a)&&e.children&&u[0]!==o&&(r=l(function(e,t){var n,i=-1,r=s?-1:1,o=(s?e.length:i)+r;for(;o>i&&o{"use strict";e.exports=s;var i=n(9294),r=i.CONTINUE,o=i.SKIP,a=i.EXIT;function s(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null),i(e,t,(function(e,t){var i=t[t.length-1],r=i?i.children.indexOf(e):null;return n(e,r,i)}),r)}s.CONTINUE=r,s.SKIP=o,s.EXIT=a},4787:e=>{"use strict";e.exports=function(e){var t=String(e),n=[],i=/\r?\n|\r/g;for(;i.exec(t);)n.push(i.lastIndex);return n.push(t.length+1),{toPoint:r,toPosition:r,toOffset:function(e){var t,i=e&&e.line,r=e&&e.column;isNaN(i)||isNaN(r)||!(i-1 in n)||(t=(n[i-2]||0)+r-1||0);return t>-1&&t-1&&ee)return{line:t+1,column:e-(n[t-1]||0)+1,offset:e};return{}}}},734:(e,t,n)=>{"use strict";var i=n(5432);function r(){}e.exports=a,r.prototype=Error.prototype,a.prototype=new r;var o=a.prototype;function a(e,t,n){var r,o,a;"string"==typeof t&&(n=t,t=null),r=function(e){var t,n=[null,null];"string"==typeof e&&(-1===(t=e.indexOf(":"))?n[1]=e:(n[0]=e.slice(0,t),n[1]=e.slice(t+1)));return n}(n),o=i(t)||"1:1",a={start:{line:null,column:null},end:{line:null,column:null}},t&&t.position&&(t=t.position),t&&(t.start?(a=t,t=t.start):a.start=t),e.stack&&(this.stack=e.stack,e=e.message),this.message=e,this.name=o,this.reason=e,this.line=t?t.line:null,this.column=t?t.column:null,this.location=a,this.source=r[0],this.ruleId=r[1]}o.file="",o.name="",o.reason="",o.message="",o.stack="",o.fatal=null,o.column=null,o.line=null},939:(e,t,n)=>{"use strict";e.exports=n(5905)},5442:(e,t,n)=>{"use strict";var i=n(8064),r=n(4228),o=n(8738);e.exports=l;var a={}.hasOwnProperty,s=["history","path","basename","stem","extname","dirname"];function l(e){var t,n;if(e){if("string"==typeof e||o(e))e={contents:e};else if("message"in e&&"messages"in e)return e}else e={};if(!(this instanceof l))return new l(e);for(this.data={},this.messages=[],this.history=[],this.cwd=r.cwd(),n=-1;++n-1)throw new Error("`"+t+"` cannot be a path: did not expect `"+i.sep+"`")}function u(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function h(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}l.prototype.toString=function(e){return(this.contents||"").toString(e)},Object.defineProperty(l.prototype,"path",{get:function(){return this.history[this.history.length-1]},set:function(e){u(e,"path"),this.path!==e&&this.history.push(e)}}),Object.defineProperty(l.prototype,"dirname",{get:function(){return"string"==typeof this.path?i.dirname(this.path):void 0},set:function(e){h(this.path,"dirname"),this.path=i.join(e||"",this.basename)}}),Object.defineProperty(l.prototype,"basename",{get:function(){return"string"==typeof this.path?i.basename(this.path):void 0},set:function(e){u(e,"basename"),c(e,"basename"),this.path=i.join(this.dirname||"",e)}}),Object.defineProperty(l.prototype,"extname",{get:function(){return"string"==typeof this.path?i.extname(this.path):void 0},set:function(e){if(c(e,"extname"),h(this.path,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.indexOf(".",1)>-1)throw new Error("`extname` cannot contain multiple dots")}this.path=i.join(this.dirname,this.stem+(e||""))}}),Object.defineProperty(l.prototype,"stem",{get:function(){return"string"==typeof this.path?i.basename(this.path,this.extname):void 0},set:function(e){u(e,"stem"),c(e,"stem"),this.path=i.join(this.dirname||"",e+(this.extname||""))}})},5905:(e,t,n)=>{"use strict";var i=n(734),r=n(5442);e.exports=r,r.prototype.message=function(e,t,n){var r=new i(e,t,n);this.path&&(r.name=this.path+":"+r.name,r.file=this.path);return r.fatal=!1,this.messages.push(r),r},r.prototype.info=function(){var e=this.message.apply(this,arguments);return e.fatal=null,e},r.prototype.fail=function(){var e=this.message.apply(this,arguments);throw e.fatal=!0,e}},8064:(e,t)=>{"use strict";function n(e){var t,n;return i(e),t=47===e.charCodeAt(0),(n=function(e,t){var n,i,r="",o=0,a=-1,s=0,l=-1;for(;++l<=e.length;){if(l2){if((i=r.lastIndexOf("/"))!==r.length-1){i<0?(r="",o=0):o=(r=r.slice(0,i)).length-1-r.lastIndexOf("/"),a=l,s=0;continue}}else if(r.length){r="",o=0,a=l,s=0;continue}t&&(r=r.length?r+"/..":"..",o=2)}else r.length?r+="/"+e.slice(a+1,l):r=e.slice(a+1,l),o=l-a-1;a=l,s=0}else 46===n&&s>-1?s++:s=-1}return r}(e,!t)).length||t||(n="."),n.length&&47===e.charCodeAt(e.length-1)&&(n+="/"),t?"/"+n:n}function i(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}t.basename=function(e,t){var n,r,o,a,s=0,l=-1;if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');if(i(e),n=e.length,void 0===t||!t.length||t.length>e.length){for(;n--;)if(47===e.charCodeAt(n)){if(o){s=n+1;break}}else l<0&&(o=!0,l=n+1);return l<0?"":e.slice(s,l)}if(t===e)return"";r=-1,a=t.length-1;for(;n--;)if(47===e.charCodeAt(n)){if(o){s=n+1;break}}else r<0&&(o=!0,r=n+1),a>-1&&(e.charCodeAt(n)===t.charCodeAt(a--)?a<0&&(l=n):(a=-1,l=r));s===l?l=r:l<0&&(l=e.length);return e.slice(s,l)},t.dirname=function(e){var t,n,r;if(i(e),!e.length)return".";t=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(n){t=r;break}}else n||(n=!0);return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)},t.extname=function(e){var t,n,r,o=-1,a=0,s=-1,l=0;i(e),r=e.length;for(;r--;)if(47!==(n=e.charCodeAt(r)))s<0&&(t=!0,s=r+1),46===n?o<0?o=r:1!==l&&(l=1):o>-1&&(l=-1);else if(t){a=r+1;break}if(o<0||s<0||0===l||1===l&&o===s-1&&o===a+1)return"";return e.slice(o,s)},t.join=function(){var e,t=-1;for(;++t{"use strict";t.cwd=function(){return"/"}},4990:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},2800:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(1166),o=n(3210),a=n(3210),s=n(4370);!function(e){e[e.STATE_TAG=1]="STATE_TAG",e[e.STATE_SIZE=2]="STATE_SIZE",e[e.STATE_CONTENT=3]="STATE_CONTENT"}(i||(i={}));var l=function(){function e(){this._buffer=new o.Buffer(0),this._tag_stack=[],this._state=i.STATE_TAG,this._cursor=0,this._total=0,this._schema=s.byEbmlID,this._result=[]}return e.prototype.decode=function(e){this.readChunk(e);var t=this._result;return this._result=[],t},e.prototype.readChunk=function(e){for(this._buffer=a.concat([this._buffer,new o.Buffer(e)]);this._cursor=this._buffer.length)return!1;var e=(0,o.readVint)(this._buffer,this._cursor);if(null==e)return!1;var t=this._buffer.slice(this._cursor,this._cursor+e.length).reduce((function(e,t,n,i){return e+t*Math.pow(16,2*(i.length-1-n))}),0),n=this.getSchemaInfo(t),r={EBML_ID:t.toString(16),schema:n,type:n.type,name:n.name,level:n.level,tagStart:this._total,tagEnd:this._total+e.length,sizeStart:this._total+e.length,sizeEnd:null,dataStart:null,dataEnd:null,dataSize:null,data:null};return this._tag_stack.push(r),this._cursor+=e.length,this._total+=e.length,this._state=i.STATE_SIZE,!0},e.prototype.readSize=function(){if(this._cursor>=this._buffer.length)return!1;var e=(0,o.readVint)(this._buffer,this._cursor);if(null==e)return!1;var t=this._tag_stack[this._tag_stack.length-1];return t.sizeEnd=t.sizeStart+e.length,t.dataStart=t.sizeEnd,t.dataSize=e.value,-1===e.value?(t.dataEnd=-1,"m"===t.type&&(t.unknownSize=!0)):t.dataEnd=t.sizeEnd+e.value,this._cursor+=e.length,this._total+=e.length,this._state=i.STATE_CONTENT,!0},e.prototype.readContent=function(){var e=this._tag_stack[this._tag_stack.length-1];if("m"===e.type){if(e.isEnd=!1,this._result.push(e),this._state=i.STATE_TAG,0===e.dataSize){var t=Object.assign({},e,{isEnd:!0});this._result.push(t),this._tag_stack.pop()}return!0}if(this._buffer.length0;){var a=this._tag_stack[this._tag_stack.length-1];if(a.dataEnd<0)return this._tag_stack.pop(),!0;if(this._total{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(3210),r=n(3210),o=n(4370),a=function(){function e(){this._schema=o.byEbmlID,this._buffers=[],this._stack=[]}return e.prototype.encode=function(e){var t=this;return i.concat(e.reduce((function(e,n){return e.concat(t.encodeChunk(n))}),[])).buffer},e.prototype.encodeChunk=function(e){return"m"===e.type?e.isEnd?this.endTag(e):this.startTag(e):(e.data=r.Buffer.from(e.data),this.writeTag(e)),this.flush()},e.prototype.flush=function(){var e=this._buffers;return this._buffers=[],e},e.prototype.getSchemaInfo=function(e){for(var t=Object.keys(this._schema).map(Number),n=0;n0?this._stack[this._stack.length-1].children.push({tagId:n,elm:e,children:[],data:o}):this._buffers=this._buffers.concat(o)},e.prototype.startTag=function(e){var t=e.name,n=this.getSchemaInfo(t);if(null==n)throw new Error("No schema entry found for "+t);if(e.unknownSize){var o=i.encodeTag(n,new r.Buffer(0),e.unknownSize);this._buffers=this._buffers.concat(o)}else{var a={tagId:n,elm:e,children:[],data:null};this._stack.length>0&&this._stack[this._stack.length-1].children.push(a),this._stack.push(a)}},e.prototype.endTag=function(e){e.name;var t=this._stack.pop();if(null==t)throw new Error("EBML structure is broken");if(t.elm.name!==e.name)throw new Error("EBML structure is broken");var n=t.children.reduce((function(e,t){if(null===t.data)throw new Error("EBML structure is broken");return e.concat(t.data)}),[]),r=i.concat(n);"m"===t.elm.type?t.data=i.encodeTag(t.tagId,r,t.elm.unknownSize):t.data=i.encodeTag(t.tagId,r),this._stack.length<1&&(this._buffers=this._buffers.concat(t.data))},e}();t.default=a},1381:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=n(7187),a=n(3210),s=function(e){function t(){var t=e.call(this)||this;return t.logGroup="",t.hasLoggingStarted=!1,t.metadataloaded=!1,t.chunks=[],t.stack=[],t.segmentOffset=0,t.last2SimpleBlockVideoTrackTimecode=[0,0],t.last2SimpleBlockAudioTrackTimecode=[0,0],t.lastClusterTimecode=0,t.lastClusterPosition=0,t.timecodeScale=1e6,t.metadataSize=0,t.metadatas=[],t.cues=[],t.firstVideoBlockRead=!1,t.firstAudioBlockRead=!1,t.currentTrack={TrackNumber:-1,TrackType:-1,DefaultDuration:null,CodecDelay:null},t.trackTypes=[],t.trackDefaultDuration=[],t.trackCodecDelay=[],t.trackInfo={type:"nothing"},t.ended=!1,t.logging=!1,t.use_duration_every_simpleblock=!1,t.use_webp=!1,t.use_segment_info=!0,t.drop_default_duration=!0,t}return r(t,e),t.prototype.stop=function(){for(this.ended=!0,this.emit_segment_info();this.stack.length;)this.stack.pop(),this.logging&&console.groupEnd();this.logging&&this.hasLoggingStarted&&this.logGroup&&console.groupEnd()},t.prototype.emit_segment_info=function(){var e=this.chunks;if(this.chunks=[],this.metadataloaded){if(!this.use_segment_info)return;var t=this.lastClusterTimecode,n=this.duration,i=this.timecodeScale;this.emit("cluster",{timecode:t,data:e}),this.emit("duration",{timecodeScale:i,duration:n})}else{this.metadataloaded=!0,this.metadatas=e;var r=this.trackTypes.indexOf(1),o=this.trackTypes.indexOf(2);if(this.trackInfo=r>=0&&o>=0?{type:"both",trackNumber:r}:r>=0?{type:"video",trackNumber:r}:o>=0?{type:"audio",trackNumber:o}:{type:"nothing"},!this.use_segment_info)return;this.emit("metadata",{data:e,metadataSize:this.metadataSize})}},t.prototype.read=function(e){var t=this,n=!1;if(!this.ended){if("m"===e.type)if(e.isEnd)this.stack.pop();else{var i=this.stack[this.stack.length-1];if(null!=i&&i.level>=e.level){this.stack.pop(),this.logging&&console.groupEnd(),i.dataEnd=e.dataEnd,i.dataSize=e.dataEnd-i.dataStart,i.unknownSize=!1;var r=Object.assign({},i,{name:i.name,type:i.type,isEnd:!0});this.chunks.push(r)}this.stack.push(e)}if("m"===e.type&&"Segment"==e.name)0!=this.segmentOffset&&console.warn("Multiple segments detected!"),this.segmentOffset=e.dataStart,this.emit("segment_offset",this.segmentOffset);else if("b"===e.type&&"SimpleBlock"===e.name){var o=a.ebmlBlock(e.data),s=o.timecode,l=o.trackNumber,c=o.frames;if(1===this.trackTypes[l]){if(!this.firstVideoBlockRead&&(this.firstVideoBlockRead=!0,"both"===this.trackInfo.type||"video"===this.trackInfo.type)){var u=this.lastClusterTimecode+s;this.cues.push({CueTrack:l,CueClusterPosition:this.lastClusterPosition,CueTime:u}),this.emit("cue_info",{CueTrack:l,CueClusterPosition:this.lastClusterPosition,CueTime:this.lastClusterTimecode}),this.emit("cue",{CueTrack:l,CueClusterPosition:this.lastClusterPosition,CueTime:u})}this.last2SimpleBlockVideoTrackTimecode=[this.last2SimpleBlockVideoTrackTimecode[1],s]}else if(2===this.trackTypes[l]){if(!this.firstAudioBlockRead&&(this.firstAudioBlockRead=!0,"audio"===this.trackInfo.type)){u=this.lastClusterTimecode+s;this.cues.push({CueTrack:l,CueClusterPosition:this.lastClusterPosition,CueTime:u}),this.emit("cue_info",{CueTrack:l,CueClusterPosition:this.lastClusterPosition,CueTime:this.lastClusterTimecode}),this.emit("cue",{CueTrack:l,CueClusterPosition:this.lastClusterPosition,CueTime:u})}this.last2SimpleBlockAudioTrackTimecode=[this.last2SimpleBlockAudioTrackTimecode[1],s]}this.use_duration_every_simpleblock&&this.emit("duration",{timecodeScale:this.timecodeScale,duration:this.duration}),this.use_webp&&c.forEach((function(e){if("9d012a"===e.slice(3,6).toString("hex")){var n=a.VP8BitStreamToRiffWebPBuffer(e),i=new Blob([n],{type:"image/webp"}),r=t.duration;t.emit("webp",{currentTime:r,webp:i})}}))}else"m"===e.type&&"Cluster"===e.name&&!1===e.isEnd?(this.firstVideoBlockRead=!1,this.firstAudioBlockRead=!1,this.emit_segment_info(),this.emit("cluster_ptr",e.tagStart),this.lastClusterPosition=e.tagStart):"u"===e.type&&"Timecode"===e.name?this.lastClusterTimecode=e.value:"u"===e.type&&"TimecodeScale"===e.name?this.timecodeScale=e.value:"m"===e.type&&"TrackEntry"===e.name?e.isEnd?(this.trackTypes[this.currentTrack.TrackNumber]=this.currentTrack.TrackType,this.trackDefaultDuration[this.currentTrack.TrackNumber]=this.currentTrack.DefaultDuration,this.trackCodecDelay[this.currentTrack.TrackNumber]=this.currentTrack.CodecDelay):this.currentTrack={TrackNumber:-1,TrackType:-1,DefaultDuration:null,CodecDelay:null}:"u"===e.type&&"TrackType"===e.name?this.currentTrack.TrackType=e.value:"u"===e.type&&"TrackNumber"===e.name?this.currentTrack.TrackNumber=e.value:"u"===e.type&&"CodecDelay"===e.name?this.currentTrack.CodecDelay=e.value:"u"===e.type&&"DefaultDuration"===e.name?this.drop_default_duration?(console.warn("DefaultDuration detected!, remove it"),n=!0):this.currentTrack.DefaultDuration=e.value:"unknown"===e.name&&console.warn(e);!this.metadataloaded&&e.dataEnd>0&&(this.metadataSize=e.dataEnd),n||this.chunks.push(e),this.logging&&this.put(e)}},Object.defineProperty(t.prototype,"duration",{get:function(){if("nothing"===this.trackInfo.type)return console.warn("no video, no audio track"),0;var e=0,t=0,n=0,i=this.trackDefaultDuration[this.trackInfo.trackNumber];if("number"==typeof i)e=i;else if("both"===this.trackInfo.type)this.last2SimpleBlockAudioTrackTimecode[1]>this.last2SimpleBlockVideoTrackTimecode[1]?(e=(this.last2SimpleBlockAudioTrackTimecode[1]-this.last2SimpleBlockAudioTrackTimecode[0])*this.timecodeScale,"number"==typeof(r=this.trackCodecDelay[this.trackTypes.indexOf(2)])&&(t=r),n=this.last2SimpleBlockAudioTrackTimecode[1]):(e=(this.last2SimpleBlockVideoTrackTimecode[1]-this.last2SimpleBlockVideoTrackTimecode[0])*this.timecodeScale,"number"==typeof(r=this.trackCodecDelay[this.trackTypes.indexOf(1)])&&(t=r),n=this.last2SimpleBlockVideoTrackTimecode[1]);else if("video"===this.trackInfo.type){e=(this.last2SimpleBlockVideoTrackTimecode[1]-this.last2SimpleBlockVideoTrackTimecode[0])*this.timecodeScale,"number"==typeof(r=this.trackCodecDelay[this.trackInfo.trackNumber])&&(t=r),n=this.last2SimpleBlockVideoTrackTimecode[1]}else if("audio"===this.trackInfo.type){var r;e=(this.last2SimpleBlockAudioTrackTimecode[1]-this.last2SimpleBlockAudioTrackTimecode[0])*this.timecodeScale,"number"==typeof(r=this.trackCodecDelay[this.trackInfo.trackNumber])&&(t=r),n=this.last2SimpleBlockAudioTrackTimecode[1]}var o=((this.lastClusterTimecode+n)*this.timecodeScale+e-t)/this.timecodeScale;return Math.floor(o)},enumerable:!1,configurable:!0}),t.prototype.addListener=function(t,n){return e.prototype.addListener.call(this,t,n)},t.prototype.put=function(e){this.hasLoggingStarted||(this.hasLoggingStarted=!0,this.logging&&this.logGroup&&console.groupCollapsed(this.logGroup)),"m"===e.type?e.isEnd?console.groupEnd():console.group(e.name+":"+e.tagStart):"b"===e.type?console.log(e.name,e.type):console.log(e.name,e.tagStart,e.type,e.value)},t}(o.EventEmitter);t.default=s},4370:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.byEbmlID=void 0,t.byEbmlID={128:{name:"ChapterDisplay",level:4,type:"m",multiple:!0,minver:1,webm:!0,description:"Contains all possible strings to use for the chapter display."},131:{name:"TrackType",level:3,type:"u",mandatory:!0,minver:1,range:"1-254",description:"A set of track types coded on 8 bits (1: video, 2: audio, 3: complex, 0x10: logo, 0x11: subtitle, 0x12: buttons, 0x20: control)."},133:{name:"ChapString",cppname:"ChapterString",level:5,type:"8",mandatory:!0,minver:1,webm:!0,description:"Contains the string to use as the chapter atom."},134:{name:"CodecID",level:3,type:"s",mandatory:!0,minver:1,description:"An ID corresponding to the codec, see the codec page for more info."},136:{name:"FlagDefault",cppname:"TrackFlagDefault",level:3,type:"u",mandatory:!0,minver:1,default:1,range:"0-1",description:"Set if that track (audio, video or subs) SHOULD be active if no language found matches the user preference. (1 bit)"},137:{name:"ChapterTrackNumber",level:5,type:"u",mandatory:!0,multiple:!0,minver:1,webm:!1,range:"not 0",description:"UID of the Track to apply this chapter too. In the absense of a control track, choosing this chapter will select the listed Tracks and deselect unlisted tracks. Absense of this element indicates that the Chapter should be applied to any currently used Tracks."},145:{name:"ChapterTimeStart",level:4,type:"u",mandatory:!0,minver:1,webm:!0,description:"Timestamp of the start of Chapter (not scaled)."},146:{name:"ChapterTimeEnd",level:4,type:"u",minver:1,webm:!1,description:"Timestamp of the end of Chapter (timestamp excluded, not scaled)."},150:{name:"CueRefTime",level:5,type:"u",mandatory:!0,minver:2,webm:!1,description:"Timestamp of the referenced Block."},151:{name:"CueRefCluster",level:5,type:"u",mandatory:!0,webm:!1,description:"The Position of the Cluster containing the referenced Block."},152:{name:"ChapterFlagHidden",level:4,type:"u",mandatory:!0,minver:1,webm:!1,default:0,range:"0-1",description:"If a chapter is hidden (1), it should not be available to the user interface (but still to Control Tracks; see flag notes). (1 bit)"},16980:{name:"ContentCompAlgo",level:6,type:"u",mandatory:!0,minver:1,webm:!1,default:0,description:"The compression algorithm used. Algorithms that have been specified so far are: 0 - zlib, 3 - Header Stripping"},16981:{name:"ContentCompSettings",level:6,type:"b",minver:1,webm:!1,description:"Settings that might be needed by the decompressor. For Header Stripping (ContentCompAlgo=3), the bytes that were removed from the beggining of each frames of the track."},17026:{name:"DocType",level:1,type:"s",mandatory:!0,default:"matroska",minver:1,description:"A string that describes the type of document that follows this EBML header. 'matroska' in our case or 'webm' for webm files."},17029:{name:"DocTypeReadVersion",level:1,type:"u",mandatory:!0,default:1,minver:1,description:"The minimum DocType version an interpreter has to support to read this file."},17030:{name:"EBMLVersion",level:1,type:"u",mandatory:!0,default:1,minver:1,description:"The version of EBML parser used to create the file."},17031:{name:"DocTypeVersion",level:1,type:"u",mandatory:!0,default:1,minver:1,description:"The version of DocType interpreter used to create the file."},17476:{name:"SegmentFamily",level:2,type:"b",multiple:!0,minver:1,webm:!1,bytesize:16,description:"A randomly generated unique ID that all segments related to each other must use (128 bits)."},17505:{name:"DateUTC",level:2,type:"d",minver:1,description:"Date of the origin of timestamp (value 0), i.e. production date."},17540:{name:"TagDefault",level:4,type:"u",mandatory:!0,minver:1,webm:!1,default:1,range:"0-1",description:"Indication to know if this is the default/original language to use for the given tag. (1 bit)"},17541:{name:"TagBinary",level:4,type:"b",minver:1,webm:!1,description:"The values of the Tag if it is binary. Note that this cannot be used in the same SimpleTag as TagString."},17543:{name:"TagString",level:4,type:"8",minver:1,webm:!1,description:"The value of the Element."},17545:{name:"Duration",level:2,type:"f",minver:1,range:"> 0",description:"Duration of the segment (based on TimecodeScale)."},17816:{name:"ChapterFlagEnabled",level:4,type:"u",mandatory:!0,minver:1,webm:!1,default:1,range:"0-1",description:"Specify wether the chapter is enabled. It can be enabled/disabled by a Control Track. When disabled, the movie should skip all the content between the TimeStart and TimeEnd of this chapter (see flag notes). (1 bit)"},18016:{name:"FileMimeType",level:3,type:"s",mandatory:!0,minver:1,webm:!1,description:"MIME type of the file."},18017:{name:"FileUsedStartTime",level:3,type:"u",divx:!0,description:"DivX font extension"},18018:{name:"FileUsedEndTime",level:3,type:"u",divx:!0,description:"DivX font extension"},18037:{name:"FileReferral",level:3,type:"b",webm:!1,description:"A binary value that a track/codec can refer to when the attachment is needed."},20529:{name:"ContentEncodingOrder",level:5,type:"u",mandatory:!0,minver:1,webm:!1,default:0,description:"Tells when this modification was used during encoding/muxing starting with 0 and counting upwards. The decoder/demuxer has to start with the highest order number it finds and work its way down. This value has to be unique over all ContentEncodingOrder elements in the segment."},20530:{name:"ContentEncodingScope",level:5,type:"u",mandatory:!0,minver:1,webm:!1,default:1,range:"not 0",description:"A bit field that describes which elements have been modified in this way. Values (big endian) can be OR'ed. Possible values: 1 - all frame contents, 2 - the track's private data, 4 - the next ContentEncoding (next ContentEncodingOrder. Either the data inside ContentCompression and/or ContentEncryption)"},20531:{name:"ContentEncodingType",level:5,type:"u",mandatory:!0,minver:1,webm:!1,default:0,description:"A value describing what kind of transformation has been done. Possible values: 0 - compression, 1 - encryption"},20532:{name:"ContentCompression",level:5,type:"m",minver:1,webm:!1,description:"Settings describing the compression used. Must be present if the value of ContentEncodingType is 0 and absent otherwise. Each block must be decompressable even if no previous block is available in order not to prevent seeking."},20533:{name:"ContentEncryption",level:5,type:"m",minver:1,webm:!1,description:"Settings describing the encryption used. Must be present if the value of ContentEncodingType is 1 and absent otherwise."},21368:{name:"CueBlockNumber",level:4,type:"u",minver:1,default:1,range:"not 0",description:"Number of the Block in the specified Cluster."},22100:{name:"ChapterStringUID",level:4,type:"8",mandatory:!1,minver:3,webm:!0,description:"A unique string ID to identify the Chapter. Use for WebVTT cue identifier storage."},22337:{name:"WritingApp",level:2,type:"8",mandatory:!0,minver:1,description:'Writing application ("mkvmerge-0.3.3").'},22612:{name:"SilentTracks",cppname:"ClusterSilentTracks",level:2,type:"m",minver:1,webm:!1,description:"The list of tracks that are not used in that part of the stream. It is useful when using overlay tracks on seeking. Then you should decide what track to use."},25152:{name:"ContentEncoding",level:4,type:"m",mandatory:!0,multiple:!0,minver:1,webm:!1,description:"Settings for one content encoding like compression or encryption."},25188:{name:"BitDepth",cppname:"AudioBitDepth",level:4,type:"u",minver:1,range:"not 0",description:"Bits per sample, mostly used for PCM."},25906:{name:"SignedElement",level:3,type:"b",multiple:!0,webm:!1,description:"An element ID whose data will be used to compute the signature."},26148:{name:"TrackTranslate",level:3,type:"m",multiple:!0,minver:1,webm:!1,description:"The track identification for the given Chapter Codec."},26897:{name:"ChapProcessCommand",cppname:"ChapterProcessCommand",level:5,type:"m",multiple:!0,minver:1,webm:!1,description:"Contains all the commands associated to the Atom."},26914:{name:"ChapProcessTime",cppname:"ChapterProcessTime",level:6,type:"u",mandatory:!0,minver:1,webm:!1,description:"Defines when the process command should be handled (0: during the whole chapter, 1: before starting playback, 2: after playback of the chapter)."},26916:{name:"ChapterTranslate",level:2,type:"m",multiple:!0,minver:1,webm:!1,description:"A tuple of corresponding ID used by chapter codecs to represent this segment."},26931:{name:"ChapProcessData",cppname:"ChapterProcessData",level:6,type:"b",mandatory:!0,minver:1,webm:!1,description:"Contains the command information. The data should be interpreted depending on the ChapProcessCodecID value. For ChapProcessCodecID = 1, the data correspond to the binary DVD cell pre/post commands."},26948:{name:"ChapProcess",cppname:"ChapterProcess",level:4,type:"m",multiple:!0,minver:1,webm:!1,description:"Contains all the commands associated to the Atom."},26965:{name:"ChapProcessCodecID",cppname:"ChapterProcessCodecID",level:5,type:"u",mandatory:!0,minver:1,webm:!1,default:0,description:"Contains the type of the codec used for the processing. A value of 0 means native Matroska processing (to be defined), a value of 1 means the DVD command set is used. More codec IDs can be added later."},29555:{name:"Tag",level:2,type:"m",mandatory:!0,multiple:!0,minver:1,webm:!1,description:"Element containing elements specific to Tracks/Chapters."},29572:{name:"SegmentFilename",level:2,type:"8",minver:1,webm:!1,description:"A filename corresponding to this segment."},29766:{name:"AttachmentLink",cppname:"TrackAttachmentLink",level:3,type:"u",minver:1,webm:!1,range:"not 0",description:"The UID of an attachment that is used by this codec."},2459272:{name:"CodecName",level:3,type:"8",minver:1,description:"A human-readable string specifying the codec."},408125543:{name:"Segment",level:"0",type:"m",mandatory:!0,multiple:!0,minver:1,description:"This element contains all other top-level (level 1) elements. Typically a Matroska file is composed of 1 segment."},17530:{name:"TagLanguage",level:4,type:"s",mandatory:!0,minver:1,webm:!1,default:"und",description:"Specifies the language of the tag specified, in the Matroska languages form."},17827:{name:"TagName",level:4,type:"8",mandatory:!0,minver:1,webm:!1,description:"The name of the Tag that is going to be stored."},26568:{name:"SimpleTag",cppname:"TagSimple",level:3,recursive:"1",type:"m",mandatory:!0,multiple:!0,minver:1,webm:!1,description:"Contains general information about the target."},25542:{name:"TagAttachmentUID",level:4,type:"u",multiple:!0,minver:1,webm:!1,default:0,description:"A unique ID to identify the Attachment(s) the tags belong to. If the value is 0 at this level, the tags apply to all the attachments in the Segment."},25540:{name:"TagChapterUID",level:4,type:"u",multiple:!0,minver:1,webm:!1,default:0,description:"A unique ID to identify the Chapter(s) the tags belong to. If the value is 0 at this level, the tags apply to all chapters in the Segment."},25545:{name:"TagEditionUID",level:4,type:"u",multiple:!0,minver:1,webm:!1,default:0,description:"A unique ID to identify the EditionEntry(s) the tags belong to. If the value is 0 at this level, the tags apply to all editions in the Segment."},25541:{name:"TagTrackUID",level:4,type:"u",multiple:!0,minver:1,webm:!1,default:0,description:"A unique ID to identify the Track(s) the tags belong to. If the value is 0 at this level, the tags apply to all tracks in the Segment."},25546:{name:"TargetType",cppname:"TagTargetType",level:4,type:"s",minver:1,webm:!1,strong:"informational",description:'An string that can be used to display the logical level of the target like "ALBUM", "TRACK", "MOVIE", "CHAPTER", etc (see TargetType).'},26826:{name:"TargetTypeValue",cppname:"TagTargetTypeValue",level:4,type:"u",minver:1,webm:!1,default:50,description:"A number to indicate the logical level of the target (see TargetType)."},25536:{name:"Targets",cppname:"TagTargets",level:3,type:"m",mandatory:!0,minver:1,webm:!1,description:"Contain all UIDs where the specified meta data apply. It is empty to describe everything in the segment."},307544935:{name:"Tags",level:1,type:"m",multiple:!0,minver:1,webm:!1,description:"Element containing elements specific to Tracks/Chapters. A list of valid tags can be found here."},17677:{name:"ChapProcessPrivate",cppname:"ChapterProcessPrivate",level:5,type:"b",minver:1,webm:!1,description:'Some optional data attached to the ChapProcessCodecID information. For ChapProcessCodecID = 1, it is the "DVD level" equivalent.'},17278:{name:"ChapCountry",cppname:"ChapterCountry",level:5,type:"s",multiple:!0,minver:1,webm:!1,description:"The countries corresponding to the string, same 2 octets as in Internet domains."},17276:{name:"ChapLanguage",cppname:"ChapterLanguage",level:5,type:"s",mandatory:!0,multiple:!0,minver:1,webm:!0,default:"eng",description:"The languages corresponding to the string, in the bibliographic ISO-639-2 form."},143:{name:"ChapterTrack",level:4,type:"m",minver:1,webm:!1,description:"List of tracks on which the chapter applies. If this element is not present, all tracks apply"},25539:{name:"ChapterPhysicalEquiv",level:4,type:"u",minver:1,webm:!1,description:'Specify the physical equivalent of this ChapterAtom like "DVD" (60) or "SIDE" (50), see complete list of values.'},28348:{name:"ChapterSegmentEditionUID",level:4,type:"u",minver:1,webm:!1,range:"not 0",description:"The EditionUID to play from the segment linked in ChapterSegmentUID."},28263:{name:"ChapterSegmentUID",level:4,type:"b",minver:1,webm:!1,range:">0",bytesize:16,description:"A segment to play in place of this chapter. Edition ChapterSegmentEditionUID should be used for this segment, otherwise no edition is used."},29636:{name:"ChapterUID",level:4,type:"u",mandatory:!0,minver:1,webm:!0,range:"not 0",description:"A unique ID to identify the Chapter."},182:{name:"ChapterAtom",level:3,recursive:"1",type:"m",mandatory:!0,multiple:!0,minver:1,webm:!0,description:"Contains the atom information to use as the chapter atom (apply to all tracks)."},17885:{name:"EditionFlagOrdered",level:3,type:"u",minver:1,webm:!1,default:0,range:"0-1",description:"Specify if the chapters can be defined multiple times and the order to play them is enforced. (1 bit)"},17883:{name:"EditionFlagDefault",level:3,type:"u",mandatory:!0,minver:1,webm:!1,default:0,range:"0-1",description:"If a flag is set (1) the edition should be used as the default one. (1 bit)"},17853:{name:"EditionFlagHidden",level:3,type:"u",mandatory:!0,minver:1,webm:!1,default:0,range:"0-1",description:"If an edition is hidden (1), it should not be available to the user interface (but still to Control Tracks; see flag notes). (1 bit)"},17852:{name:"EditionUID",level:3,type:"u",minver:1,webm:!1,range:"not 0",description:"A unique ID to identify the edition. It's useful for tagging an edition."},17849:{name:"EditionEntry",level:2,type:"m",mandatory:!0,multiple:!0,minver:1,webm:!0,description:"Contains all information about a segment edition."},272869232:{name:"Chapters",level:1,type:"m",minver:1,webm:!0,description:"A system to define basic menus and partition data. For more detailed information, look at the Chapters Explanation."},18094:{name:"FileUID",level:3,type:"u",mandatory:!0,minver:1,webm:!1,range:"not 0",description:"Unique ID representing the file, as random as possible."},18012:{name:"FileData",level:3,type:"b",mandatory:!0,minver:1,webm:!1,description:"The data of the file."},18030:{name:"FileName",level:3,type:"8",mandatory:!0,minver:1,webm:!1,description:"Filename of the attached file."},18046:{name:"FileDescription",level:3,type:"8",minver:1,webm:!1,description:"A human-friendly name for the attached file."},24999:{name:"AttachedFile",level:2,type:"m",mandatory:!0,multiple:!0,minver:1,webm:!1,description:"An attached file."},423732329:{name:"Attachments",level:1,type:"m",minver:1,webm:!1,description:"Contain attached files."},235:{name:"CueRefCodecState",level:5,type:"u",webm:!1,default:0,description:"The position of the Codec State corresponding to this referenced element. 0 means that the data is taken from the initial Track Entry."},21343:{name:"CueRefNumber",level:5,type:"u",webm:!1,default:1,range:"not 0",description:"Number of the referenced Block of Track X in the specified Cluster."},219:{name:"CueReference",level:4,type:"m",multiple:!0,minver:2,webm:!1,description:"The Clusters containing the required referenced Blocks."},234:{name:"CueCodecState",level:4,type:"u",minver:2,webm:!1,default:0,description:"The position of the Codec State corresponding to this Cue element. 0 means that the data is taken from the initial Track Entry."},178:{name:"CueDuration",level:4,type:"u",mandatory:!1,minver:4,webm:!1,description:"The duration of the block according to the segment time base. If missing the track's DefaultDuration does not apply and no duration information is available in terms of the cues."},240:{name:"CueRelativePosition",level:4,type:"u",mandatory:!1,minver:4,webm:!1,description:"The relative position of the referenced block inside the cluster with 0 being the first possible position for an element inside that cluster.",position:"clusterRelative"},241:{name:"CueClusterPosition",level:4,type:"u",mandatory:!0,minver:1,description:"The position of the Cluster containing the required Block.",position:"segment"},247:{name:"CueTrack",level:4,type:"u",mandatory:!0,minver:1,range:"not 0",description:"The track for which a position is given."},183:{name:"CueTrackPositions",level:3,type:"m",mandatory:!0,multiple:!0,minver:1,description:"Contain positions for different tracks corresponding to the timestamp."},179:{name:"CueTime",level:3,type:"u",mandatory:!0,minver:1,description:"Absolute timestamp according to the segment time base."},187:{name:"CuePoint",level:2,type:"m",mandatory:!0,multiple:!0,minver:1,description:"Contains all information relative to a seek point in the segment."},475249515:{name:"Cues",level:1,type:"m",minver:1,description:'A top-level element to speed seeking access. All entries are local to the segment. Should be mandatory for non "live" streams.'},18406:{name:"ContentSigHashAlgo",level:6,type:"u",minver:1,webm:!1,default:0,description:"The hash algorithm used for the signature. A value of '0' means that the contents have not been signed but only encrypted. Predefined values: 1 - SHA1-160 2 - MD5"},18405:{name:"ContentSigAlgo",level:6,type:"u",minver:1,webm:!1,default:0,description:"The algorithm used for the signature. A value of '0' means that the contents have not been signed but only encrypted. Predefined values: 1 - RSA"},18404:{name:"ContentSigKeyID",level:6,type:"b",minver:1,webm:!1,description:"This is the ID of the private key the data was signed with."},18403:{name:"ContentSignature",level:6,type:"b",minver:1,webm:!1,description:"A cryptographic signature of the contents."},18402:{name:"ContentEncKeyID",level:6,type:"b",minver:1,webm:!1,description:"For public key algorithms this is the ID of the public key the the data was encrypted with."},18401:{name:"ContentEncAlgo",level:6,type:"u",minver:1,webm:!1,default:0,description:"The encryption algorithm used. The value '0' means that the contents have not been encrypted but only signed. Predefined values: 1 - DES, 2 - 3DES, 3 - Twofish, 4 - Blowfish, 5 - AES"},28032:{name:"ContentEncodings",level:3,type:"m",minver:1,webm:!1,description:"Settings for several content encoding mechanisms like compression or encryption."},196:{name:"TrickMasterTrackSegmentUID",level:3,type:"b",divx:!0,bytesize:16,description:"DivX trick track extenstions"},199:{name:"TrickMasterTrackUID",level:3,type:"u",divx:!0,description:"DivX trick track extenstions"},198:{name:"TrickTrackFlag",level:3,type:"u",divx:!0,default:0,description:"DivX trick track extenstions"},193:{name:"TrickTrackSegmentUID",level:3,type:"b",divx:!0,bytesize:16,description:"DivX trick track extenstions"},192:{name:"TrickTrackUID",level:3,type:"u",divx:!0,description:"DivX trick track extenstions"},237:{name:"TrackJoinUID",level:5,type:"u",mandatory:!0,multiple:!0,minver:3,webm:!1,range:"not 0",description:"The trackUID number of a track whose blocks are used to create this virtual track."},233:{name:"TrackJoinBlocks",level:4,type:"m",minver:3,webm:!1,description:"Contains the list of all tracks whose Blocks need to be combined to create this virtual track"},230:{name:"TrackPlaneType",level:6,type:"u",mandatory:!0,minver:3,webm:!1,description:"The kind of plane this track corresponds to (0: left eye, 1: right eye, 2: background)."},229:{name:"TrackPlaneUID",level:6,type:"u",mandatory:!0,minver:3,webm:!1,range:"not 0",description:"The trackUID number of the track representing the plane."},228:{name:"TrackPlane",level:5,type:"m",mandatory:!0,multiple:!0,minver:3,webm:!1,description:"Contains a video plane track that need to be combined to create this 3D track"},227:{name:"TrackCombinePlanes",level:4,type:"m",minver:3,webm:!1,description:"Contains the list of all video plane tracks that need to be combined to create this 3D track"},226:{name:"TrackOperation",level:3,type:"m",minver:3,webm:!1,description:"Operation that needs to be applied on tracks to create this virtual track. For more details look at the Specification Notes on the subject."},32123:{name:"ChannelPositions",cppname:"AudioPosition",level:4,type:"b",webm:!1,description:"Table of horizontal angles for each successive channel, see appendix."},159:{name:"Channels",cppname:"AudioChannels",level:4,type:"u",mandatory:!0,minver:1,default:1,range:"not 0",description:"Numbers of channels in the track."},30901:{name:"OutputSamplingFrequency",cppname:"AudioOutputSamplingFreq",level:4,type:"f",minver:1,default:"Sampling Frequency",range:"> 0",description:"Real output sampling frequency in Hz (used for SBR techniques)."},181:{name:"SamplingFrequency",cppname:"AudioSamplingFreq",level:4,type:"f",mandatory:!0,minver:1,default:8e3,range:"> 0",description:"Sampling frequency in Hz."},225:{name:"Audio",cppname:"TrackAudio",level:3,type:"m",minver:1,description:"Audio settings."},2327523:{name:"FrameRate",cppname:"VideoFrameRate",level:4,type:"f",range:"> 0",strong:"Informational",description:"Number of frames per second. only."},3126563:{name:"GammaValue",cppname:"VideoGamma",level:4,type:"f",webm:!1,range:"> 0",description:"Gamma Value."},3061028:{name:"ColourSpace",cppname:"VideoColourSpace",level:4,type:"b",minver:1,webm:!1,bytesize:4,description:"Same value as in AVI (32 bits)."},21683:{name:"AspectRatioType",cppname:"VideoAspectRatio",level:4,type:"u",minver:1,default:0,description:"Specify the possible modifications to the aspect ratio (0: free resizing, 1: keep aspect ratio, 2: fixed)."},21682:{name:"DisplayUnit",cppname:"VideoDisplayUnit",level:4,type:"u",minver:1,default:0,description:"How DisplayWidth & DisplayHeight should be interpreted (0: pixels, 1: centimeters, 2: inches, 3: Display Aspect Ratio)."},21690:{name:"DisplayHeight",cppname:"VideoDisplayHeight",level:4,type:"u",minver:1,default:"PixelHeight",range:"not 0",description:"Height of the video frames to display. The default value is only valid when DisplayUnit is 0."},21680:{name:"DisplayWidth",cppname:"VideoDisplayWidth",level:4,type:"u",minver:1,default:"PixelWidth",range:"not 0",description:"Width of the video frames to display. The default value is only valid when DisplayUnit is 0."},21725:{name:"PixelCropRight",cppname:"VideoPixelCropRight",level:4,type:"u",minver:1,default:0,description:"The number of video pixels to remove on the right of the image."},21708:{name:"PixelCropLeft",cppname:"VideoPixelCropLeft",level:4,type:"u",minver:1,default:0,description:"The number of video pixels to remove on the left of the image."},21691:{name:"PixelCropTop",cppname:"VideoPixelCropTop",level:4,type:"u",minver:1,default:0,description:"The number of video pixels to remove at the top of the image."},21674:{name:"PixelCropBottom",cppname:"VideoPixelCropBottom",level:4,type:"u",minver:1,default:0,description:"The number of video pixels to remove at the bottom of the image (for HDTV content)."},186:{name:"PixelHeight",cppname:"VideoPixelHeight",level:4,type:"u",mandatory:!0,minver:1,range:"not 0",description:"Height of the encoded video frames in pixels."},176:{name:"PixelWidth",cppname:"VideoPixelWidth",level:4,type:"u",mandatory:!0,minver:1,range:"not 0",description:"Width of the encoded video frames in pixels."},21433:{name:"OldStereoMode",level:4,type:"u",maxver:"0",webm:!1,divx:!1,description:"DEPRECATED, DO NOT USE. Bogus StereoMode value used in old versions of libmatroska. (0: mono, 1: right eye, 2: left eye, 3: both eyes)."},21440:{name:"AlphaMode",cppname:"VideoAlphaMode",level:4,type:"u",minver:3,webm:!0,default:0,description:"Alpha Video Mode. Presence of this element indicates that the BlockAdditional element could contain Alpha data."},21432:{name:"StereoMode",cppname:"VideoStereoMode",level:4,type:"u",minver:3,webm:!0,default:0,description:"Stereo-3D video mode (0: mono, 1: side by side (left eye is first), 2: top-bottom (right eye is first), 3: top-bottom (left eye is first), 4: checkboard (right is first), 5: checkboard (left is first), 6: row interleaved (right is first), 7: row interleaved (left is first), 8: column interleaved (right is first), 9: column interleaved (left is first), 10: anaglyph (cyan/red), 11: side by side (right eye is first), 12: anaglyph (green/magenta), 13 both eyes laced in one Block (left eye is first), 14 both eyes laced in one Block (right eye is first)) . There are some more details on 3D support in the Specification Notes."},154:{name:"FlagInterlaced",cppname:"VideoFlagInterlaced",level:4,type:"u",mandatory:!0,minver:2,webm:!0,default:0,range:"0-1",description:"Set if the video is interlaced. (1 bit)"},224:{name:"Video",cppname:"TrackVideo",level:3,type:"m",minver:1,description:"Video settings."},26277:{name:"TrackTranslateTrackID",level:4,type:"b",mandatory:!0,minver:1,webm:!1,description:"The binary value used to represent this track in the chapter codec data. The format depends on the ChapProcessCodecID used."},26303:{name:"TrackTranslateCodec",level:4,type:"u",mandatory:!0,minver:1,webm:!1,description:"The chapter codec using this ID (0: Matroska Script, 1: DVD-menu)."},26364:{name:"TrackTranslateEditionUID",level:4,type:"u",multiple:!0,minver:1,webm:!1,description:"Specify an edition UID on which this translation applies. When not specified, it means for all editions found in the segment."},22203:{name:"SeekPreRoll",level:3,type:"u",mandatory:!0,multiple:!1,default:0,minver:4,webm:!0,description:"After a discontinuity, SeekPreRoll is the duration in nanoseconds of the data the decoder must decode before the decoded data is valid."},22186:{name:"CodecDelay",level:3,type:"u",multiple:!1,default:0,minver:4,webm:!0,description:"CodecDelay is The codec-built-in delay in nanoseconds. This value must be subtracted from each block timestamp in order to get the actual timestamp. The value should be small so the muxing of tracks with the same actual timestamp are in the same Cluster."},28587:{name:"TrackOverlay",level:3,type:"u",multiple:!0,minver:1,webm:!1,description:"Specify that this track is an overlay track for the Track specified (in the u-integer). That means when this track has a gap (see SilentTracks) the overlay track should be used instead. The order of multiple TrackOverlay matters, the first one is the one that should be used. If not found it should be the second, etc."},170:{name:"CodecDecodeAll",level:3,type:"u",mandatory:!0,minver:2,webm:!1,default:1,range:"0-1",description:"The codec can decode potentially damaged data (1 bit)."},2536e3:{name:"CodecDownloadURL",level:3,type:"s",multiple:!0,webm:!1,description:"A URL to download about the codec used."},3883072:{name:"CodecInfoURL",level:3,type:"s",multiple:!0,webm:!1,description:"A URL to find information about the codec used."},3839639:{name:"CodecSettings",level:3,type:"8",webm:!1,description:"A string describing the encoding setting used."},25506:{name:"CodecPrivate",level:3,type:"b",minver:1,description:"Private data only known to the codec."},2274716:{name:"Language",cppname:"TrackLanguage",level:3,type:"s",minver:1,default:"eng",description:"Specifies the language of the track in the Matroska languages form."},21358:{name:"Name",cppname:"TrackName",level:3,type:"8",minver:1,description:"A human-readable track name."},21998:{name:"MaxBlockAdditionID",level:3,type:"u",mandatory:!0,minver:1,webm:!1,default:0,description:"The maximum value of BlockAdditions for this track."},21375:{name:"TrackOffset",level:3,type:"i",webm:!1,default:0,description:"A value to add to the Block's Timestamp. This can be used to adjust the playback offset of a track."},2306383:{name:"TrackTimecodeScale",level:3,type:"f",mandatory:!0,minver:1,maxver:"3",webm:!1,default:1,range:"> 0",description:"DEPRECATED, DO NOT USE. The scale to apply on this track to work at normal speed in relation with other tracks (mostly used to adjust video speed when the audio length differs)."},2313850:{name:"DefaultDecodedFieldDuration",cppname:"TrackDefaultDecodedFieldDuration",level:3,type:"u",minver:4,range:"not 0",description:"The period in nanoseconds (not scaled by TimcodeScale)\nbetween two successive fields at the output of the decoding process (see the notes)"},2352003:{name:"DefaultDuration",cppname:"TrackDefaultDuration",level:3,type:"u",minver:1,range:"not 0",description:"Number of nanoseconds (not scaled via TimecodeScale) per frame ('frame' in the Matroska sense -- one element put into a (Simple)Block)."},28152:{name:"MaxCache",cppname:"TrackMaxCache",level:3,type:"u",minver:1,webm:!1,description:"The maximum cache size required to store referenced frames in and the current frame. 0 means no cache is needed."},28135:{name:"MinCache",cppname:"TrackMinCache",level:3,type:"u",mandatory:!0,minver:1,webm:!1,default:0,description:"The minimum number of frames a player should be able to cache during playback. If set to 0, the reference pseudo-cache system is not used."},156:{name:"FlagLacing",cppname:"TrackFlagLacing",level:3,type:"u",mandatory:!0,minver:1,default:1,range:"0-1",description:"Set if the track may contain blocks using lacing. (1 bit)"},21930:{name:"FlagForced",cppname:"TrackFlagForced",level:3,type:"u",mandatory:!0,minver:1,default:0,range:"0-1",description:"Set if that track MUST be active during playback. There can be many forced track for a kind (audio, video or subs), the player should select the one which language matches the user preference or the default + forced track. Overlay MAY happen between a forced and non-forced track of the same kind. (1 bit)"},185:{name:"FlagEnabled",cppname:"TrackFlagEnabled",level:3,type:"u",mandatory:!0,minver:2,webm:!0,default:1,range:"0-1",description:"Set if the track is usable. (1 bit)"},29637:{name:"TrackUID",level:3,type:"u",mandatory:!0,minver:1,range:"not 0",description:"A unique ID to identify the Track. This should be kept the same when making a direct stream copy of the Track to another file."},215:{name:"TrackNumber",level:3,type:"u",mandatory:!0,minver:1,range:"not 0",description:"The track number as used in the Block Header (using more than 127 tracks is not encouraged, though the design allows an unlimited number)."},174:{name:"TrackEntry",level:2,type:"m",mandatory:!0,multiple:!0,minver:1,description:"Describes a track with all elements."},374648427:{name:"Tracks",level:1,type:"m",multiple:!0,minver:1,description:"A top-level block of information with many tracks described."},175:{name:"EncryptedBlock",level:2,type:"b",multiple:!0,webm:!1,description:"Similar to EncryptedBlock Structure)"},202:{name:"ReferenceTimeCode",level:4,type:"u",multiple:!1,mandatory:!0,minver:0,webm:!1,divx:!0,description:"DivX trick track extenstions"},201:{name:"ReferenceOffset",level:4,type:"u",multiple:!1,mandatory:!0,minver:0,webm:!1,divx:!0,description:"DivX trick track extenstions"},200:{name:"ReferenceFrame",level:3,type:"m",multiple:!1,minver:0,webm:!1,divx:!0,description:"DivX trick track extenstions"},207:{name:"SliceDuration",level:5,type:"u",default:0,description:"The (scaled) duration to apply to the element."},206:{name:"Delay",cppname:"SliceDelay",level:5,type:"u",default:0,description:"The (scaled) delay to apply to the element."},203:{name:"BlockAdditionID",cppname:"SliceBlockAddID",level:5,type:"u",default:0,description:"The ID of the BlockAdditional element (0 is the main Block)."},205:{name:"FrameNumber",cppname:"SliceFrameNumber",level:5,type:"u",default:0,description:"The number of the frame to generate from this lace with this delay (allow you to generate many frames from the same Block/Frame)."},204:{name:"LaceNumber",cppname:"SliceLaceNumber",level:5,type:"u",minver:1,default:0,divx:!1,description:"The reverse number of the frame in the lace (0 is the last frame, 1 is the next to last, etc). While there are a few files in the wild with this element, it is no longer in use and has been deprecated. Being able to interpret this element is not required for playback."},232:{name:"TimeSlice",level:4,type:"m",multiple:!0,minver:1,divx:!1,description:"Contains extra time information about the data contained in the Block. While there are a few files in the wild with this element, it is no longer in use and has been deprecated. Being able to interpret this element is not required for playback."},142:{name:"Slices",level:3,type:"m",minver:1,divx:!1,description:"Contains slices description."},30114:{name:"DiscardPadding",level:3,type:"i",minver:4,webm:!0,description:"Duration in nanoseconds of the silent data added to the Block (padding at the end of the Block for positive value, at the beginning of the Block for negative value). The duration of DiscardPadding is not calculated in the duration of the TrackEntry and should be discarded during playback."},164:{name:"CodecState",level:3,type:"b",minver:2,webm:!1,description:"The new codec state to use. Data interpretation is private to the codec. This information should always be referenced by a seek entry."},253:{name:"ReferenceVirtual",level:3,type:"i",webm:!1,description:"Relative position of the data that should be in position of the virtual block."},251:{name:"ReferenceBlock",level:3,type:"i",multiple:!0,minver:1,description:"Timestamp of another frame used as a reference (ie: B or P frame). The timestamp is relative to the block it's attached to."},250:{name:"ReferencePriority",cppname:"FlagReferenced",level:3,type:"u",mandatory:!0,minver:1,webm:!1,default:0,description:"This frame is referenced and has the specified cache priority. In cache only a frame of the same or higher priority can replace this frame. A value of 0 means the frame is not referenced."},155:{name:"BlockDuration",level:3,type:"u",minver:1,default:"TrackDuration",description:'The duration of the Block (based on TimecodeScale). This element is mandatory when DefaultDuration is set for the track (but can be omitted as other default values). When not written and with no DefaultDuration, the value is assumed to be the difference between the timestamp of this Block and the timestamp of the next Block in "display" order (not coding order). This element can be useful at the end of a Track (as there is not other Block available), or when there is a break in a track like for subtitle tracks. When set to 0 that means the frame is not a keyframe.'},165:{name:"BlockAdditional",level:5,type:"b",mandatory:!0,minver:1,webm:!1,description:"Interpreted by the codec as it wishes (using the BlockAddID)."},238:{name:"BlockAddID",level:5,type:"u",mandatory:!0,minver:1,webm:!1,default:1,range:"not 0",description:"An ID to identify the BlockAdditional level."},166:{name:"BlockMore",level:4,type:"m",mandatory:!0,multiple:!0,minver:1,webm:!1,description:"Contain the BlockAdditional and some parameters."},30113:{name:"BlockAdditions",level:3,type:"m",minver:1,webm:!1,description:"Contain additional blocks to complete the main one. An EBML parser that has no knowledge of the Block structure could still see and use/skip these data."},162:{name:"BlockVirtual",level:3,type:"b",webm:!1,description:"A Block with no data. It must be stored in the stream at the place the real Block should be in display order. (see Block Virtual)"},161:{name:"Block",level:3,type:"b",mandatory:!0,minver:1,description:"Block containing the actual data to be rendered and a timestamp relative to the Cluster Timecode. (see Block Structure)"},160:{name:"BlockGroup",level:2,type:"m",multiple:!0,minver:1,description:"Basic container of information containing a single Block or BlockVirtual, and information specific to that Block/VirtualBlock."},163:{name:"SimpleBlock",level:2,type:"b",multiple:!0,minver:2,webm:!0,divx:!0,description:"Similar to SimpleBlock Structure"},171:{name:"PrevSize",cppname:"ClusterPrevSize",level:2,type:"u",minver:1,description:"Size of the previous Cluster, in octets. Can be useful for backward playing.",position:"prevCluster"},167:{name:"Position",cppname:"ClusterPosition",level:2,type:"u",minver:1,webm:!1,description:"The Position of the Cluster in the segment (0 in live broadcast streams). It might help to resynchronise offset on damaged streams.",position:"segment"},22743:{name:"SilentTrackNumber",cppname:"ClusterSilentTrackNumber",level:3,type:"u",multiple:!0,minver:1,webm:!1,description:"One of the track number that are not used from now on in the stream. It could change later if not specified as silent in a further Cluster."},231:{name:"Timecode",cppname:"ClusterTimecode",level:2,type:"u",mandatory:!0,minver:1,description:"Absolute timestamp of the cluster (based on TimecodeScale)."},524531317:{name:"Cluster",level:1,type:"m",multiple:!0,minver:1,description:"The lower level element containing the (monolithic) Block structure."},19840:{name:"MuxingApp",level:2,type:"8",mandatory:!0,minver:1,description:'Muxing application or library ("libmatroska-0.4.3").'},31657:{name:"Title",level:2,type:"8",minver:1,webm:!1,description:"General name of the segment."},2807730:{name:"TimecodeScaleDenominator",level:2,type:"u",mandatory:!0,minver:4,default:"1000000000",description:"Timestamp scale numerator, see TimecodeScale."},2807729:{name:"TimecodeScale",level:2,type:"u",mandatory:!0,minver:1,default:"1000000",description:"Timestamp scale in nanoseconds (1.000.000 means all timestamps in the segment are expressed in milliseconds)."},27045:{name:"ChapterTranslateID",level:3,type:"b",mandatory:!0,minver:1,webm:!1,description:"The binary value used to represent this segment in the chapter codec data. The format depends on the ChapProcessCodecID used."},27071:{name:"ChapterTranslateCodec",level:3,type:"u",mandatory:!0,minver:1,webm:!1,description:"The chapter codec using this ID (0: Matroska Script, 1: DVD-menu)."},27132:{name:"ChapterTranslateEditionUID",level:3,type:"u",multiple:!0,minver:1,webm:!1,description:"Specify an edition UID on which this correspondance applies. When not specified, it means for all editions found in the segment."},4096955:{name:"NextFilename",level:2,type:"8",minver:1,webm:!1,description:"An escaped filename corresponding to the next segment."},4110627:{name:"NextUID",level:2,type:"b",minver:1,webm:!1,bytesize:16,description:"A unique ID to identify the next chained segment (128 bits)."},3965867:{name:"PrevFilename",level:2,type:"8",minver:1,webm:!1,description:"An escaped filename corresponding to the previous segment."},3979555:{name:"PrevUID",level:2,type:"b",minver:1,webm:!1,bytesize:16,description:"A unique ID to identify the previous chained segment (128 bits)."},29604:{name:"SegmentUID",level:2,type:"b",minver:1,webm:!1,range:"not 0",bytesize:16,description:"A randomly generated unique ID to identify the current segment between many others (128 bits)."},357149030:{name:"Info",level:1,type:"m",mandatory:!0,multiple:!0,minver:1,description:"Contains miscellaneous general information and statistics on the file."},21420:{name:"SeekPosition",level:3,type:"u",mandatory:!0,minver:1,description:"The position of the element in the segment in octets (0 = first level 1 element).",position:"segment"},21419:{name:"SeekID",level:3,type:"b",mandatory:!0,minver:1,description:"The binary ID corresponding to the element name.",type2:"ebmlID"},19899:{name:"Seek",cppname:"SeekPoint",level:2,type:"m",mandatory:!0,multiple:!0,minver:1,description:"Contains a single seek entry to an EBML element."},290298740:{name:"SeekHead",cppname:"SeekHeader",level:1,type:"m",multiple:!0,minver:1,description:"Contains the position of other level 1 elements."},32379:{name:"SignatureElementList",level:2,type:"m",multiple:!0,webm:!1,i:"Cluster|Block|BlockAdditional",description:"A list consists of a number of consecutive elements that represent one case where data is used in signature. Ex: means that the BlockAdditional of all Blocks in all Clusters is used for encryption."},32347:{name:"SignatureElements",level:1,type:"m",webm:!1,description:"Contains elements that will be used to compute the signature."},32437:{name:"Signature",level:1,type:"b",webm:!1,description:"The signature of the data (until a new."},32421:{name:"SignaturePublicKey",level:1,type:"b",webm:!1,description:"The public key to use with the algorithm (in the case of a PKI-based signature)."},32410:{name:"SignatureHash",level:1,type:"u",webm:!1,description:"Hash algorithm used (1=SHA1-160, 2=MD5)."},32394:{name:"SignatureAlgo",level:1,type:"u",webm:!1,description:"Signature algorithm used (1=RSA, 2=elliptic)."},458458727:{name:"SignatureSlot",level:-1,type:"m",multiple:!0,webm:!1,description:"Contain signature of some (coming) elements in the stream."},191:{name:"CRC-32",level:-1,type:"b",minver:1,webm:!1,description:"The CRC is computed on all the data of the Master element it's in. The CRC element should be the first in it's parent master for easier reading. All level 1 elements should include a CRC-32. The CRC in use is the IEEE CRC32 Little Endian",crc:!0},236:{name:"Void",level:-1,type:"b",minver:1,description:"Used to void damaged data, to avoid unexpected behaviors when using damaged data. The content is discarded. Also used to reserve space in a sub-element for later use."},17139:{name:"EBMLMaxSizeLength",level:1,type:"u",mandatory:!0,default:8,minver:1,description:"The maximum length of the sizes you'll find in this file (8 or less in Matroska). This does not override the element size indicated at the beginning of an element. Elements that have an indicated size which is larger than what is allowed by EBMLMaxSizeLength shall be considered invalid."},17138:{name:"EBMLMaxIDLength",level:1,type:"u",mandatory:!0,default:4,minver:1,description:"The maximum length of the IDs you'll find in this file (4 or less in Matroska)."},17143:{name:"EBMLReadVersion",level:1,type:"u",mandatory:!0,default:1,minver:1,description:"The minimum EBML version a parser has to support to read this file."},440786851:{name:"EBML",level:"0",type:"m",mandatory:!0,multiple:!0,minver:1,description:"Set the EBML characteristics of the data to follow. Each EBML document has to start with this."}}},1384:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.tools=t.Reader=t.Encoder=t.Decoder=void 0,r(n(4990),t);var o=n(2800);t.Decoder=o.default;var a=n(8031);t.Encoder=a.default;var s=n(1381);t.Reader=s.default;var l=n(3210);t.tools=l},190:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n8){var r=e.readHexString(t,n,n+i);throw new Error("Unrepresentable length: ".concat(i," ").concat(r))}if(n+i>t.length)return null;for(var o=t[n]&(1<<8-i)-1,a=1;a=Math.pow(2,8)&&t[n+7]>0)return{length:i,value:-1};o*=Math.pow(2,8),o+=t[n+a]}return{length:i,value:o}},e.writeVint=function(e){if(e<0||e>Math.pow(2,53))throw new Error("Unrepresentable value: ".concat(e));var t=1;for(t=1;t<=8&&!(e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertEBMLDateToJSDate=t.createFloatBuffer=t.createIntBuffer=t.createUIntBuffer=t.encodeValueToBuffer=t.concat=t.putRefinedMetaData=t.extractElement=t.removeElement=t.makeMetadataSeekable=t.createRIFFChunk=t.VP8BitStreamToRiffWebPBuffer=t.WebPBlockFilter=t.encodeTag=t.readBlock=t.ebmlBlock=t.writeVint=t.readVint=t.Buffer=void 0;var i=n(1166),r=n(8031),o=n(8166),a=n(190),s=n(1586);function l(e,n){var i=new t.Buffer(4);return i.writeUInt32LE(n.byteLength,0),f([new t.Buffer(e.substr(0,4),"ascii"),i,n,new t.Buffer(n.byteLength%2==0?0:1)])}function c(e,t){for(var n=-1,i=0;i=0?Array.prototype.splice.apply(e,[r+1,0].concat(n)):i?[].concat([{name:t,type:"m",isEnd:!1}],n,[{name:t,type:"m",isEnd:!0}]).reverse().forEach((function(t){e.unshift(t)})):(e.push({name:t,type:"m",isEnd:!1}),n.forEach((function(t){e.push(t)})),e.push({name:t,type:"m",isEnd:!0}))}function f(e){return t.Buffer.concat(e)}function m(e){for(var n=1;e>=Math.pow(2,8*n);n++);if(n>=7)return console.warn("7bit or more bigger uint not supported."),new i.Uint64BE(e).toBuffer();var r=new t.Buffer(n);return r.writeUIntBE(e,0,n),r}function g(e){for(var n=1;e>=Math.pow(2,8*n);n++);if(n>=7)return console.warn("7bit or more bigger uint not supported."),new i.Int64BE(e).toBuffer();var r=new t.Buffer(n);return r.writeIntBE(e,0,n),r}function v(e,n){var i;if(void 0===n&&(n=8),8===n)return(i=new t.Buffer(8)).writeDoubleBE(e,0),i;if(4===n)return(i=new t.Buffer(4)).writeFloatBE(e,0),i;throw new Error("float type bits must 4bytes or 8bytes")}t.Buffer=o.Buffer,t.readVint=a.default.readVint,t.writeVint=a.default.writeVint,t.ebmlBlock=s,t.readBlock=function(e){return(0,t.ebmlBlock)(new t.Buffer(e))},t.encodeTag=function(e,n,i){return void 0===i&&(i=!1),f([e,i?new t.Buffer("01ffffffffffffff","hex"):(0,t.writeVint)(n.length),n])},t.WebPBlockFilter=function(e){return e.reduce((function(e,n){return"b"!==n.type||"SimpleBlock"!==n.name?e:(0,t.ebmlBlock)(n.data).frames.some((function(e){return"9d012a"===e.slice(3,6).toString("hex")}))?e.concat(n):e}),[])},t.VP8BitStreamToRiffWebPBuffer=function(e){var n=l("VP8 ",e);return l("RIFF",f([new t.Buffer("WEBP","ascii"),n]))},t.createRIFFChunk=l,t.makeMetadataSeekable=function(e,n,i){var o=u("EBML",e),a=h(o)+12,s=e[e.length-1].dataEnd-a,l=u("Info",e);c("Duration",l),l.splice(1,0,{name:"Duration",type:"f",data:v(n,8)});for(var p=h(l),d=u("Tracks",e),f=h(d),g=47,y=[],b=5+15*i.length,w=[],k=-1,C=function(e){var n=g,r=n+p,o=r+f,l=o+b-s;if((y=[]).push({name:"SeekHead",type:"m",isEnd:!1}),y.push({name:"Seek",type:"m",isEnd:!1}),y.push({name:"SeekID",type:"b",data:new t.Buffer([21,73,169,102])}),y.push({name:"SeekPosition",type:"u",data:m(n)}),y.push({name:"Seek",type:"m",isEnd:!0}),y.push({name:"Seek",type:"m",isEnd:!1}),y.push({name:"SeekID",type:"b",data:new t.Buffer([22,84,174,107])}),y.push({name:"SeekPosition",type:"u",data:m(r)}),y.push({name:"Seek",type:"m",isEnd:!0}),y.push({name:"Seek",type:"m",isEnd:!1}),y.push({name:"SeekID",type:"b",data:new t.Buffer([28,83,187,107])}),y.push({name:"SeekPosition",type:"u",data:m(o)}),y.push({name:"Seek",type:"m",isEnd:!0}),y.push({name:"SeekHead",type:"m",isEnd:!0}),g=h(y),(w=[]).push({name:"Cues",type:"m",isEnd:!1}),i.forEach((function(e){var t=e.CueTrack,n=e.CueClusterPosition,i=e.CueTime;w.push({name:"CuePoint",type:"m",isEnd:!1}),w.push({name:"CueTime",type:"u",data:m(i)}),w.push({name:"CueTrackPositions",type:"m",isEnd:!1}),w.push({name:"CueTrack",type:"u",data:m(t)}),n-=a,n+=l,w.push({name:"CueClusterPosition",type:"u",data:m(n)}),w.push({name:"CueTrackPositions",type:"m",isEnd:!0}),w.push({name:"CuePoint",type:"m",isEnd:!0})})),w.push({name:"Cues",type:"m",isEnd:!0}),b=h(w),k===l)return"break";if(k=l,9===e)throw new Error("Failed to converge to a stable metadata size")},x=0;x<10;x++){if("break"===C(x))break}var E=[].concat.apply([],[o,{name:"Segment",type:"m",isEnd:!1,unknownSize:!0},y,l,d,w]);return(new r.default).encode(E)},t.removeElement=c,t.extractElement=u,t.putRefinedMetaData=function(e,n){Array.isArray(n.cueInfos)&&!Array.isArray(n.cues)&&(console.warn("putRefinedMetaData: info.cueInfos property is deprecated. please use info.cues"),n.cues=n.cueInfos);for(var i=[],o=[],a=0;a0))throw new Error("metadata dataEnd has wrong number");var l,c=o[o.length-1].dataEnd,u=i[i.length-1].dataEnd,h=(new r.default).encode(i).byteLength-u,d=c-o[0].tagStart,f=(o[0].tagStart,o[0].tagStart,new t.Buffer([24,83,128,103])),m=new t.Buffer("01ffffffffffffff","hex"),g=f.byteLength+m.byteLength,v=d;for(l=1;l<20;l++){var y=p(o,h+(u+g+v-c),n),b=(new r.default).encode(y).byteLength;if(b===v)return(new r.default).encode([].concat(i,[{type:"m",name:"Segment",isEnd:!1,unknownSize:!0}],y));v=b}throw new Error("unable to refine metadata, stable size could not be found in "+l+" iterations!")},t.concat=f,t.encodeValueToBuffer=function(e){var n=new t.Buffer(0);if("m"===e.type)return e;switch(e.type){case"u":n=m(e.value);break;case"i":n=g(e.value);break;case"f":n=v(e.value);break;case"s":n=new t.Buffer(e.value,"ascii");break;case"8":n=new t.Buffer(e.value,"utf8");break;case"b":n=e.value;break;case"d":n=new i.Int64BE(e.value.getTime().toString()).toBuffer()}return Object.assign({},e,{data:n})},t.createUIntBuffer=m,t.createIntBuffer=g,t.createFloatBuffer=v,t.convertEBMLDateToJSDate=function(e){return e instanceof Date?e:new Date(new Date("2001-01-01T00:00:00.000Z").getTime()+Number(e)/1e3/1e3)}},8246:function(e,t,n){"use strict";var i=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))},r=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]{"use strict";const i=n(9742),r=n(645),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=l,t.SlowBuffer=function(e){+e!=e&&(e=0);return l.alloc(+e)},t.INSPECT_MAX_BYTES=50;const a=2147483647;function s(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return h(e)}return c(e,t,n)}function c(e,t,n){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!l.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const n=0|m(e,t);let i=s(n);const r=i.write(e,t);r!==n&&(i=i.slice(0,r));return i}(e,t);if(ArrayBuffer.isView(e))return function(e){if(X(e,Uint8Array)){const t=new Uint8Array(e);return d(t.buffer,t.byteOffset,t.byteLength)}return p(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(X(e,ArrayBuffer)||e&&X(e.buffer,ArrayBuffer))return d(e,t,n);if("undefined"!=typeof SharedArrayBuffer&&(X(e,SharedArrayBuffer)||e&&X(e.buffer,SharedArrayBuffer)))return d(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const i=e.valueOf&&e.valueOf();if(null!=i&&i!==e)return l.from(i,t,n);const r=function(e){if(l.isBuffer(e)){const t=0|f(e.length),n=s(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!=typeof e.length||$(e.length)?s(0):p(e);if("Buffer"===e.type&&Array.isArray(e.data))return p(e.data)}(e);if(r)return r;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return l.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function h(e){return u(e),s(e<0?0:0|f(e))}function p(e){const t=e.length<0?0:0|f(e.length),n=s(t);for(let i=0;i=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function m(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||X(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const n=e.length,i=arguments.length>2&&!0===arguments[2];if(!i&&0===n)return 0;let r=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return G(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return K(e).length;default:if(r)return i?-1:G(e).length;t=(""+t).toLowerCase(),r=!0}}function g(e,t,n){let i=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return L(this,t,n);case"utf8":case"utf-8":return M(this,t,n);case"ascii":return D(this,t,n);case"latin1":case"binary":return A(this,t,n);case"base64":return S(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,n);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function v(e,t,n){const i=e[t];e[t]=e[n],e[n]=i}function y(e,t,n,i,r){if(0===e.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),$(n=+n)&&(n=r?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(r)return-1;n=e.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof t&&(t=l.from(t,i)),l.isBuffer(t))return 0===t.length?-1:b(e,t,n,i,r);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b(e,[t],n,i,r);throw new TypeError("val must be string, number or Buffer")}function b(e,t,n,i,r){let o,a=1,s=e.length,l=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(r){let i=-1;for(o=n;os&&(n=s-l),o=n;o>=0;o--){let n=!0;for(let i=0;ir&&(i=r):i=r;const o=t.length;let a;for(i>o/2&&(i=o/2),a=0;a>8,r=n%256,o.push(r),o.push(i);return o}(t,e.length-n),e,n,i)}function S(e,t,n){return 0===t&&n===e.length?i.fromByteArray(e):i.fromByteArray(e.slice(t,n))}function M(e,t,n){n=Math.min(e.length,n);const i=[];let r=t;for(;r239?4:t>223?3:t>191?2:1;if(r+a<=n){let n,i,s,l;switch(a){case 1:t<128&&(o=t);break;case 2:n=e[r+1],128==(192&n)&&(l=(31&t)<<6|63&n,l>127&&(o=l));break;case 3:n=e[r+1],i=e[r+2],128==(192&n)&&128==(192&i)&&(l=(15&t)<<12|(63&n)<<6|63&i,l>2047&&(l<55296||l>57343)&&(o=l));break;case 4:n=e[r+1],i=e[r+2],s=e[r+3],128==(192&n)&&128==(192&i)&&128==(192&s)&&(l=(15&t)<<18|(63&n)<<12|(63&i)<<6|63&s,l>65535&&l<1114112&&(o=l))}}null===o?(o=65533,a=1):o>65535&&(o-=65536,i.push(o>>>10&1023|55296),o=56320|1023&o),i.push(o),r+=a}return function(e){const t=e.length;if(t<=T)return String.fromCharCode.apply(String,e);let n="",i=0;for(;ii.length?(l.isBuffer(t)||(t=l.from(t)),t.copy(i,r)):Uint8Array.prototype.set.call(i,t,r);else{if(!l.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(i,r)}r+=t.length}return i},l.byteLength=m,l.prototype._isBuffer=!0,l.prototype.swap16=function(){const e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;tn&&(e+=" ... "),""},o&&(l.prototype[o]=l.prototype.inspect),l.prototype.compare=function(e,t,n,i,r){if(X(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),t<0||n>e.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&t>=n)return 0;if(i>=r)return-1;if(t>=n)return 1;if(this===e)return 0;let o=(r>>>=0)-(i>>>=0),a=(n>>>=0)-(t>>>=0);const s=Math.min(o,a),c=this.slice(i,r),u=e.slice(t,n);for(let e=0;e>>=0,isFinite(n)?(n>>>=0,void 0===i&&(i="utf8")):(i=n,n=void 0)}const r=this.length-t;if((void 0===n||n>r)&&(n=r),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");let o=!1;for(;;)switch(i){case"hex":return w(this,e,t,n);case"utf8":case"utf-8":return k(this,e,t,n);case"ascii":case"latin1":case"binary":return C(this,e,t,n);case"base64":return x(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const T=4096;function D(e,t,n){let i="";n=Math.min(e.length,n);for(let r=t;ri)&&(n=i);let r="";for(let i=t;in)throw new RangeError("Trying to access beyond buffer length")}function F(e,t,n,i,r,o){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>r||te.length)throw new RangeError("Index out of range")}function O(e,t,n,i,r){U(t,i,r,e,n,7);let o=Number(t&BigInt(4294967295));e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function B(e,t,n,i,r){U(t,i,r,e,n,7);let o=Number(t&BigInt(4294967295));e[n+7]=o,o>>=8,e[n+6]=o,o>>=8,e[n+5]=o,o>>=8,e[n+4]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function N(e,t,n,i,r,o){if(n+i>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function R(e,t,n,i,o){return t=+t,n>>>=0,o||N(e,0,n,4),r.write(e,t,n,i,23,4),n+4}function H(e,t,n,i,o){return t=+t,n>>>=0,o||N(e,0,n,8),r.write(e,t,n,i,52,8),n+8}l.prototype.slice=function(e,t){const n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||I(e,t,this.length);let i=this[e],r=1,o=0;for(;++o>>=0,t>>>=0,n||I(e,t,this.length);let i=this[e+--t],r=1;for(;t>0&&(r*=256);)i+=this[e+--t]*r;return i},l.prototype.readUint8=l.prototype.readUInt8=function(e,t){return e>>>=0,t||I(e,1,this.length),this[e]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||I(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||I(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||I(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||I(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readBigUInt64LE=Q((function(e){_(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||j(e,this.length-8);const i=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,r=this[++e]+256*this[++e]+65536*this[++e]+n*2**24;return BigInt(i)+(BigInt(r)<>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||j(e,this.length-8);const i=t*2**24+65536*this[++e]+256*this[++e]+this[++e],r=this[++e]*2**24+65536*this[++e]+256*this[++e]+n;return(BigInt(i)<>>=0,t>>>=0,n||I(e,t,this.length);let i=this[e],r=1,o=0;for(;++o=r&&(i-=Math.pow(2,8*t)),i},l.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||I(e,t,this.length);let i=t,r=1,o=this[e+--i];for(;i>0&&(r*=256);)o+=this[e+--i]*r;return r*=128,o>=r&&(o-=Math.pow(2,8*t)),o},l.prototype.readInt8=function(e,t){return e>>>=0,t||I(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||I(e,2,this.length);const n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){e>>>=0,t||I(e,2,this.length);const n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||I(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||I(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readBigInt64LE=Q((function(e){_(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||j(e,this.length-8);const i=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(i)<>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||j(e,this.length-8);const i=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(i)<>>=0,t||I(e,4,this.length),r.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||I(e,4,this.length),r.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||I(e,8,this.length),r.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||I(e,8,this.length),r.read(this,e,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,t,n,i){if(e=+e,t>>>=0,n>>>=0,!i){F(this,e,t,n,Math.pow(2,8*n)-1,0)}let r=1,o=0;for(this[t]=255&e;++o>>=0,n>>>=0,!i){F(this,e,t,n,Math.pow(2,8*n)-1,0)}let r=n-1,o=1;for(this[t+r]=255&e;--r>=0&&(o*=256);)this[t+r]=e/o&255;return t+n},l.prototype.writeUint8=l.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeBigUInt64LE=Q((function(e,t=0){return O(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeBigUInt64BE=Q((function(e,t=0){return B(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t>>>=0,!i){const i=Math.pow(2,8*n-1);F(this,e,t,n,i-1,-i)}let r=0,o=1,a=0;for(this[t]=255&e;++r>0)-a&255;return t+n},l.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t>>>=0,!i){const i=Math.pow(2,8*n-1);F(this,e,t,n,i-1,-i)}let r=n-1,o=1,a=0;for(this[t+r]=255&e;--r>=0&&(o*=256);)e<0&&0===a&&0!==this[t+r+1]&&(a=1),this[t+r]=(e/o>>0)-a&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeBigInt64LE=Q((function(e,t=0){return O(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeBigInt64BE=Q((function(e,t=0){return B(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeFloatLE=function(e,t,n){return R(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return R(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return H(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return H(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,i){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(r=t;r=i+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function U(e,t,n,i,r,o){if(e>n||e3?0===t||t===BigInt(0)?`>= 0${i} and < 2${i} ** ${8*(o+1)}${i}`:`>= -(2${i} ** ${8*(o+1)-1}${i}) and < 2 ** ${8*(o+1)-1}${i}`:`>= ${t}${i} and <= ${n}${i}`,new V.ERR_OUT_OF_RANGE("value",r,e)}!function(e,t,n){_(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||j(t,e.length-(n+1))}(i,r,o)}function _(e,t){if("number"!=typeof e)throw new V.ERR_INVALID_ARG_TYPE(t,"number",e)}function j(e,t,n){if(Math.floor(e)!==e)throw _(e,n),new V.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new V.ERR_BUFFER_OUT_OF_BOUNDS;throw new V.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${t}`,e)}z("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),z("ERR_INVALID_ARG_TYPE",(function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`}),TypeError),z("ERR_OUT_OF_RANGE",(function(e,t,n){let i=`The value of "${e}" is out of range.`,r=n;return Number.isInteger(n)&&Math.abs(n)>2**32?r=q(String(n)):"bigint"==typeof n&&(r=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(r=q(r)),r+="n"),i+=` It must be ${t}. Received ${r}`,i}),RangeError);const W=/[^+/0-9A-Za-z-_]/g;function G(e,t){let n;t=t||1/0;const i=e.length;let r=null;const o=[];for(let a=0;a55295&&n<57344){if(!r){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===i){(t-=3)>-1&&o.push(239,191,189);continue}r=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(t-=3)>-1&&o.push(239,191,189);if(r=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function K(e){return i.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(W,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Y(e,t,n,i){let r;for(r=0;r=t.length||r>=e.length);++r)t[r+n]=e[r];return r}function X(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function $(e){return e!=e}const Z=function(){const e="0123456789abcdef",t=new Array(256);for(let n=0;n<16;++n){const i=16*n;for(let r=0;r<16;++r)t[i+r]=e[n]+e[r]}return t}();function Q(e){return"undefined"==typeof BigInt?J:e}function J(){throw new Error("BigInt not supported")}},7529:e=>{e.exports=function(){for(var e={},n=0;n{"use strict";var i=n(3278),r=n(7529),o=n(4186);function a(e){var t=this.data("settings"),n=i(o);n.prototype.options=r(n.prototype.options,t,e),this.Parser=n}e.exports=a,a.Parser=o},8204:e=>{"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","pre","section","source","title","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},1819:(e,t,n)=>{"use strict";var i=n(7529),r=n(7574);e.exports=function(e){return n.raw=function(e,n,a){return r(e,i(a,{position:t(n),warning:o}))},n;function t(t){for(var n=e.offset,i=t.line,r=[];++i&&i in n;)r.push((n[i]||0)+1);return{start:t,indent:r}}function n(n,i,a){r(n,{position:t(i),warning:o,text:a,reference:a,textContext:e,referenceContext:e})}function o(t,n,i){3!==i&&e.file.message(t,n)}}},3114:(e,t,n)=>{"use strict";e.exports={position:!0,gfm:!0,commonmark:!1,pedantic:!1,blocks:n(8204)}},563:e=>{"use strict";e.exports=function(e,t){var n=e.indexOf("\n",t);for(;n>t&&" "===e.charAt(n-1);)n--;return n}},6497:e=>{"use strict";e.exports=function(e,t){return e.indexOf("`",t)}},3723:e=>{"use strict";e.exports=function(e,t){return e.indexOf("~~",t)}},973:(e,t,n)=>{"use strict";var i=n(6195),r=n(6260);function o(e){return i(e)||r(e)||43===e||45===e||46===e||95===e}e.exports=function e(t,n){var i,r;if(!this.options.gfm)return-1;if(-1===(i=t.indexOf("@",n)))return-1;if((r=i)===n||!o(t.charCodeAt(r-1)))return e.call(this,t,i+1);for(;r>n&&o(t.charCodeAt(r-1));)r--;return r}},2411:e=>{"use strict";e.exports=function(e,t){var n=e.indexOf("*",t),i=e.indexOf("_",t);if(-1===i)return n;if(-1===n)return i;return i{"use strict";e.exports=function(e,t){return e.indexOf("\\",t)}},633:e=>{"use strict";e.exports=function(e,t){var n=e.indexOf("[",t),i=e.indexOf("![",t);if(-1===i)return n;return n{"use strict";e.exports=function(e,t){var n=e.indexOf("**",t),i=e.indexOf("__",t);if(-1===i)return n;if(-1===n)return i;return i{"use strict";e.exports=function(e,t){return e.indexOf("<",t)}},8637:e=>{"use strict";e.exports=function(e,n){var i,r,o,a=-1;if(!this.options.gfm)return a;r=t.length,i=-1;for(;++i{"use strict";var i=n(7529),r=n(3183);e.exports=function(){var e,t=this,n=String(t.file),a={line:1,column:1,offset:0},s=i(a);65279===(n=n.replace(o,"\n")).charCodeAt(0)&&(n=n.slice(1),s.column++,s.offset++);e={type:"root",children:t.tokenizeBlock(n,s),position:{start:a,end:t.eof||i(a)}},t.options.position||r(e,!0);return e};var o=/\r\n|\r/g},4186:(e,t,n)=>{"use strict";var i=n(7529),r=n(78),o=n(4787),a=n(7678),s=n(1819),l=n(831);function c(e,t){this.file=t,this.offset={},this.options=i(this.options),this.setOptions({}),this.inList=!1,this.inBlock=!1,this.inLink=!1,this.atStart=!0,this.toOffset=o(t).toOffset,this.unescape=a(this,"escape"),this.decode=s(this)}e.exports=c;var u=c.prototype;function h(e){var t,n=[];for(t in e)n.push(t);return n}u.setOptions=n(5248),u.parse=n(4767),u.options=n(3114),u.exitStart=r("atStart",!0),u.enterList=r("inList",!1),u.enterLink=r("inLink",!1),u.enterBlock=r("inBlock",!1),u.interruptParagraph=[["thematicBreak"],["list"],["atxHeading"],["fencedCode"],["blockquote"],["html"],["setextHeading",{commonmark:!1}],["definition",{commonmark:!1}]],u.interruptList=[["atxHeading",{pedantic:!1}],["fencedCode",{pedantic:!1}],["thematicBreak",{pedantic:!1}],["definition",{commonmark:!1}]],u.interruptBlockquote=[["indentedCode",{commonmark:!0}],["fencedCode",{commonmark:!0}],["atxHeading",{commonmark:!0}],["setextHeading",{commonmark:!0}],["thematicBreak",{commonmark:!0}],["html",{commonmark:!0}],["list",{commonmark:!0}],["definition",{commonmark:!1}]],u.blockTokenizers={blankLine:n(9269),indentedCode:n(6167),fencedCode:n(1484),blockquote:n(8502),atxHeading:n(684),thematicBreak:n(8352),list:n(2866),setextHeading:n(1578),html:n(6494),definition:n(7742),table:n(308),paragraph:n(7006)},u.inlineTokenizers={escape:n(1796),autoLink:n(2768),url:n(26),email:n(4937),html:n(5810),link:n(7786),reference:n(977),strong:n(1248),emphasis:n(3391),deletion:n(5702),code:n(1243),break:n(4245),text:n(8825)},u.blockMethods=h(u.blockTokenizers),u.inlineMethods=h(u.inlineTokenizers),u.tokenizeBlock=l("block"),u.tokenizeInline=l("inline"),u.tokenizeFactory=l},5248:(e,t,n)=>{"use strict";var i=n(7529),r=n(2123),o=n(3114);e.exports=function(e){var t,n,a=this,s=a.options;if(null==e)e={};else{if("object"!=typeof e)throw new Error("Invalid value `"+e+"` for setting `options`");e=i(e)}for(t in o){if(null==(n=e[t])&&(n=s[t]),"blocks"!==t&&"boolean"!=typeof n||"blocks"===t&&"object"!=typeof n)throw new Error("Invalid value `"+n+"` for setting `options."+t+"`");e[t]=n}return a.options=e,a.escape=r(e),a}},2768:(e,t,n)=>{"use strict";var i=n(2139),r=n(7574),o=n(46);e.exports=l,l.locator=o,l.notInLink=!0;var a="mailto:",s=a.length;function l(e,t,n){var o,l,c,u,h,p=this,d="",f=t.length,m=0,g="",v=!1,y="";if("<"===t.charAt(0)){for(m++,d="<";m"===o||"@"===o||":"===o&&"/"===t.charAt(m+1)));)g+=o,m++;if(g){if(y+=g,g="",y+=o=t.charAt(m),m++,"@"===o)v=!0;else{if(":"!==o||"/"!==t.charAt(m+1))return;y+="/",m++}for(;m"!==o);)g+=o,m++;if(o=t.charAt(m),g&&">"===o)return!!n||(c=y+=g,d+=y+o,(l=e.now()).column++,l.offset++,v&&(y.slice(0,s).toLowerCase()===a?(c=c.slice(s),l.column+=s,l.offset+=s):y=a+y),u=p.inlineTokenizers,p.inlineTokenizers={text:u.text},h=p.enterLink(),c=p.tokenizeInline(c,l),p.inlineTokenizers=u,h(),e(d)({type:"link",title:null,url:r(y,{nonTerminated:!1}),children:c}))}}}},9269:e=>{"use strict";var t=/^[ \t]*(\n|$)/;e.exports=function(e,n,i){var r,o="",a=0,s=n.length;for(;a{"use strict";var i=n(2745),r=n(7901);e.exports=function(e,t,n){var o,a,s,l,c,u,h,p,d,f=this,m=f.offset,g=f.blockTokenizers,v=f.interruptBlockquote,y=e.now(),b=y.line,w=t.length,k=[],C=[],x=[],E=0;for(;E"!==t.charAt(E))return;if(n)return!0;E=0;var S=null,M=!1;for(;E"===t.charAt(E)?(E++,p=!0," "===t.charAt(E)&&E++):E=h,c=t.slice(E,l),!p&&!i(c)){E=h;break}if(!p&&(s=t.slice(E),r(v,g,f,[e,s,!0])))break;if(0===h){var T=c.match(/^\[!([^\]]+)\]([+\-]?)(?:\s|$)/);if(T){let e=T[1],t=e,n="",i=e.indexOf("|");-1!==i&&(t=e.substr(0,i),n=e.substr(i+1)),S={type:t.trim().toLowerCase().replace(/\s+/g,"-"),fold:T[2],data:n};var D=T[0].length;E+=D,(c=c.substr(D)).trim()&&(M=!0)}}u=h===E?c:t.slice(h,l),x.push(E-h),k.push(u),C.push(c),E=l+1}E=-1,w=x.length,o=e(k.join("\n"));for(;++E{"use strict";var i=n(563);e.exports=r,r.locator=i;function r(e,t,n){for(var i,r=t.length,o=-1,a="";++o{"use strict";e.exports=function(e,r,o){var a,s,l,c,u,h,p,d,f,m,g,v,y,b=this,w=b.options.gfm,k=r.length+1,C=0,x="";if(!w)return;for(;C=4)){for(p="";C{"use strict";var i=n(6464),r=n(7257);e.exports=function(e,t,n){var i,a,s,l=-1,c=t.length,u="",h="",p="",d="";for(;++l{"use strict";var i=n(6497);e.exports=r,r.locator=i;function r(e,t,n){for(var i,r,o,a,s,l,c=t.length,u=0;u2&&(32===a||10===a)&&(32===s||10===s)){for(u++,c--;u{"use strict";var i=n(2139),r=n(6749);e.exports=function(e,t,n){var i,h,p,d,f,m,g,v,y=this,b=y.options.commonmark,w=0,k=t.length,C="";for(;w"!==e&&"["!==e&&e!==l}function u(e){return"["!==e&&e!==l&&!i(e)}c.delimiter=">"},5702:(e,t,n)=>{"use strict";var i=n(2139),r=n(3723);e.exports=a,a.locator=r;var o="~";function a(e,t,n){var r,a,s,l="",c="",u="",h="";if(this.options.gfm&&t.charAt(0)===o&&t.charAt(1)===o&&!i(t.charAt(2)))for(r=1,a=t.length,(s=e.now()).column+=2,s.offset+=2;++r{"use strict";var i=n(7574),r=n(6195),o=n(6260),a=n(973);e.exports=s,s.locator=a,s.notInLink=!0;function s(e,t,n){var a,s,l,c,u=this,h=u.options.gfm,p=u.inlineTokenizers,d=0,f=t.length,m=-1;if(h){for(a=t.charCodeAt(d);r(a)||o(a)||43===a||45===a||46===a||95===a;)a=t.charCodeAt(++d);if(0!==d&&64===a){for(d++;d{"use strict";var i=n(2745),r=n(3017),o=n(2139),a=n(2411);e.exports=s,s.locator=a;function s(e,t,n){var a,s,l,c,u,h,p,d=0,f=t.charAt(d);if(!("*"!==f&&"_"!==f||(s=this.options.pedantic,u=f,l=f,h=t.length,d++,c="",f="",s&&o(t.charAt(d)))))for(;d{"use strict";var i=n(4681);e.exports=r,r.locator=i;function r(e,t,n){var i,r;if("\\"===t.charAt(0)&&(i=t.charAt(1),-1!==this.escape.indexOf(i)))return!!n||(r="\n"===i?{type:"break"}:{type:"text",value:i},e("\\"+i)(r))}},684:e=>{"use strict";e.exports=function(e,r,o){var a,s,l,c=this.options.pedantic,u=r.length+1,h=-1,p=e.now(),d="",f="";for(;++h6)return;if(!l||!c&&r.charAt(h+1)===i)return;u=r.length+1,s="";for(;++h{"use strict";e.exports=function(e,t,n){var i,r,o,a,s,l=e.now(),c=t.length,u=-1,h="";for(;++u=3){u--;break}h+=o}i="",r="";for(;++u{"use strict";var i=n(1537).g;e.exports=function(e,t,n){var i,g,v,y,b,w,k,C=this.options.blocks.join("|"),x=new RegExp("^?("+C+")(?=(\\s|/?>|$))","i"),E=t.length,S=0,M=[[r,o,!0],[a,s,!0],[l,c,!0],[u,h,!0],[p,d,!0],[x,f,!0],[m,f,!1]];for(;S|$))/i,o=/<\/(script|pre|style)>/i,a=/^/,l=/^<\?/,c=/\?>/,u=/^/,p=/^/,f=/^$/,m=new RegExp(i.source+"\\s*$")},5810:(e,t,n)=>{"use strict";var i=n(6260),r=n(46),o=n(1537)._;e.exports=l,l.locator=r;var a=/^/i;function l(e,t,n){var r,l,c=this,u=t.length;if(!("<"!==t.charAt(0)||u<3)&&(r=t.charAt(1),(i(r)||"?"===r||"!"===r||"/"===r)&&(l=t.match(o))))return!!n||(l=l[0],!c.inLink&&a.test(l)?c.inLink=!0:c.inLink&&s.test(l)&&(c.inLink=!1),e(l)({type:"html",value:l}))}},7786:(e,t,n)=>{"use strict";var i=n(2139),r=n(633);e.exports=l,l.locator=r;var o="(",a=")",s="\\";function l(e,t,n){var r,l,c,u,h,p,d,f,m,g,v,y,b,w,k,C,x,E,S=this,M="",T=0,D=t.charAt(0),A=S.options.pedantic,L=S.options.commonmark,P=S.options.gfm;if("!"===D&&(f=!0,M=D,D=t.charAt(++T)),"["===D&&(f||!S.inLink)){for(M+=D,w="",T++,v=t.length,b=0,(C=e.now()).column+=T,C.offset+=T;T=c&&(c=0):c=l}else if(D===s)T++,p+=t.charAt(T);else if(c&&!P||"["!==D){if((!c||P)&&"]"===D){if(!b){if(t.charAt(T+1)!==o)return;p+=o,r=!0,T++;break}b--}}else b++;w+=p,p="",T++}if(r){for(m=w,M+=w+p,T++;T"!==(D=t.charAt(T));){if(L&&"\n"===D)return;w+=D,T++}if(">"!==t.charAt(T))return;M+="<"+w+">",k=w,T++}else{for(D=null,p="";T{"use strict";var i=n(2745),r=n(6464),o=n(6195),a=n(8930),s=n(9460),l=n(7901);e.exports=function(e,t,n){var r,a,s,p,d,f,m,g,y,b,w,k,C,x,E,S,M,T,D,A,L,P,I,F=this,O=F.options.commonmark,B=F.options.pedantic,N=F.blockTokenizers,R=F.interruptList,H=0,V=t.length,z=null,q=!1;for(;H=M.indent&&(I=!0),p=t.charAt(H),y=null,!I){if("*"===p||"+"===p||"-"===p)y=p,H++,r++;else{for(a="";H=M.indent||r>4):I=!0,g=!1,H=m;if(w=t.slice(m,f),b=m===H?w:t.slice(H,f),("*"===y||"_"===y||"-"===y)&&N.thematicBreak.call(F,e,w,!0))break;if(k=C,C=!g&&!i(b).length,I&&M)M.value=M.value.concat(S,w),E=E.concat(S,w),S=[];else if(g)0!==S.length&&(q=!0,M.value.push(""),M.trail=S.concat()),M={value:[w],indent:r,trail:[]},x.push(M),E=E.concat(S,w),S=[];else if(C){if(k&&!O)break;S.push(w)}else{if(k)break;if(l(R,N,F,[e,w,!0]))break;M.value=M.value.concat(S,w),E=E.concat(S,w),S=[]}H=f+1}A=e(E.join(u)).reset({type:"list",ordered:s,start:z,spread:q,children:[]}),T=F.enterList(),D=F.enterBlock(),H=-1,V=x.length;for(;++H{"use strict";var i=n(2745),r=n(7257),o=n(7901);e.exports=function(e,t,n){var s,l,c,u,h,p=this,d=p.options.commonmark,f=p.blockTokenizers,m=p.interruptParagraph,g=t.indexOf(a),v=t.length;for(;g=4&&c!==a){g=t.indexOf(a,g+1);continue}}if(l=t.slice(g+1),o(m,f,p,[e,l,!0]))break;if(s=g,-1!==(g=t.indexOf(a,g+1))&&""===i(t.slice(s,g))){g=s;break}}if(l=t.slice(0,g),n)return!0;return h=e.now(),l=r(l),e(l)({type:"paragraph",children:p.tokenizeInline(l,h)})};var a="\n"},977:(e,t,n)=>{"use strict";var i=n(2139),r=n(633),o=n(6749);e.exports=h,h.locator=r;var a="link",s="full",l="[",c="\\",u="]";function h(e,t,n){var r,h,p,d,f,m,g,v,y=this,b=y.options.commonmark,w=t.charAt(0),k=0,C=t.length,x="",E="",S=a,M="shortcut";if("!"===w&&(S="image",E=w,w=t.charAt(++k)),w===l){for(k++,E+=w,m="",v=0;k{"use strict";var i=n(2745),r=n(2139),o=n(1016);e.exports=a,a.locator=o;function a(e,t,n){var o,a,s,l,c,u,h,p=0,d=t.charAt(p);if(!("*"!==d&&"_"!==d||t.charAt(++p)!==d||(a=this.options.pedantic,c=(s=d)+s,u=t.length,p++,l="",d="",a&&r(t.charAt(p)))))for(;p{"use strict";var i=n(2139);e.exports=function(e,t,n){var a,s,l,c,u,h,p,d,f,m,g,v,y,b,w,k,C,x,E,S,M,T;if(!this.options.gfm)return;a=0,k=0,h=t.length+1,p=[];for(;aS){if(k<2)return;break}p.push(t.slice(a,S)),k++,a=S+1}c=p.join(r),s=p.splice(1,1)[0]||[],a=0,h=s.length,k--,l=!1,g=[];for(;a1&&(f?(c+=d.slice(0,-1),d=d.charAt(d.length-1)):(c+=d,d="")),b=e.now(),e(c)({type:"tableCell",children:this.tokenizeInline(v,b)},u)),e(d+f),d="",v=""):(d&&(v+=d,d=""),v+=f,"\\"===f&&a!==h-2&&(v+=C.charAt(a+1),a++)),y=!1,a++):(v?d+=f:e(f),a++);w||e(r+s)}return E};var r="\n",o="left"},8825:e=>{"use strict";e.exports=function(e,t,n){var i,r,o,a,s,l,c,u,h,p,d=this;if(n)return!0;i=d.inlineMethods,a=i.length,r=d.inlineTokenizers,o=-1,h=t.length;for(;++o{"use strict";e.exports=function(e,t,n){var i,r,o,a,s=-1,l=t.length+1,c="";for(;++s=3&&(!i||"\n"===i)?(c+=a,!!n||e(c)({type:"thematicBreak"})):void 0;a+=i}}},26:(e,t,n)=>{"use strict";var i=n(932),r=n(7574),o=n(6195),a=n(6260),s=n(2139),l=n(8637);e.exports=c,c.locator=l,c.notInLink=!0;function c(e,t,n){var l,c,u,h,p,d,f,m,g,v,y,b,w,k,C=this,x=C.options.gfm,E=C.inlineTokenizers,S=t.length,M=-1,T=!1;if(x){if("www."===t.slice(0,4))T=!0,h=4;else if("http://"===t.slice(0,7).toLowerCase())h=7;else{if("https://"!==t.slice(0,8).toLowerCase())return;h=8}for(M=h-1,u=h,l=[];hg;)h=p+d.lastIndexOf(")"),d=t.slice(p,h),v--;if(59===t.charCodeAt(h-1)&&(h--,a(t.charCodeAt(h-1)))){for(m=h-2;a(t.charCodeAt(m));)m--;38===t.charCodeAt(m)&&(h=m)}return y=t.slice(0,h),w=r(y,{nonTerminated:!1}),T&&(w="http://"+w),k=C.enterLink(),C.inlineTokenizers={text:E.text},b=C.tokenizeInline(y,e.now()),C.inlineTokenizers=E,k(),e(y)({type:"link",title:null,url:w,children:b})}}}},831:e=>{"use strict";function t(e){var t,n;return"text"!==e.type||!e.position||(t=e.position.start,n=e.position.end,t.line!==n.line||n.column-t.column===e.value.length)}function n(e,t){return e.value+=t.value,e}function i(e,t){return this.options.commonmark||this.options.gfm?t:(e.children=e.children.concat(t.children),e)}e.exports=function(e){return function(r,o){var a,s,l,c,u,h=this,p=h.offset,d=[],f=h[e+"Methods"],m=h[e+"Tokenizers"],g=o.line,v=o.column;if(!r)return d;S.now=w,S.file=h.file,y("");for(;r;){for(a=-1,s=f.length,c=!1;++a{"use strict";e.exports=function(e,n){return function(i){var r,o=0,a=i.indexOf(t),s=e[n],l=[];for(;-1!==a;)l.push(i.slice(o,a)),o=a+1,(r=i.charAt(o))&&-1!==s.indexOf(r)||l.push(t),a=i.indexOf(t,o+1);return l.push(i.slice(o)),l.join("")}};var t="\\"},8930:e=>{"use strict";e.exports=function(e){var t,n=0,i=0,r=e.charAt(n),o={},a=0;for(;"\t"===r||" "===r;){for(i+=t="\t"===r?4:1,t>1&&(i=Math.floor(i/t)*t);a{"use strict";var n="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\u0000-\\u0020]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",i="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>";t.g=new RegExp("^(?:"+n+"|"+i+")"),t._=new RegExp("^(?:"+n+"|"+i+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|]*>|)")},7901:e=>{"use strict";e.exports=function(e,t,n,i){var r,o,a=e.length,s=-1;for(;++s{"use strict";var i=n(9357);e.exports=function(e){return i(e).toLowerCase()}},9460:(e,t,n)=>{"use strict";var i=n(2745),r=n(6464),o=n(8930);e.exports=function(e,t){var n,a,s,l=e.split("\n"),c=l.length+1,u=1/0,h=[];l.unshift(r(" ",t)+"!");for(;c--;)if(a=o(l[c]),h[c]=a.stops,0!==i(l[c]).length){if(!a.indent){u=1/0;break}a.indent>0&&a.indent{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e={};n.r(e),n.d(e,{Annotation:()=>Yn,AnnotationType:()=>Xn,ChangeDesc:()=>un,ChangeSet:()=>hn,CharCategory:()=>ai,Compartment:()=>Nn,EditorSelection:()=>bn,EditorState:()=>ci,Facet:()=>Cn,Line:()=>Yt,MapMode:()=>cn,Prec:()=>On,Range:()=>pi,RangeSet:()=>mi,RangeSetBuilder:()=>gi,RangeValue:()=>hi,SelectionRange:()=>yn,StateEffect:()=>Zn,StateEffectType:()=>$n,StateField:()=>Dn,Text:()=>zt,Transaction:()=>Qn,codePointAt:()=>on,codePointSize:()=>sn,combineConfig:()=>ui,countColumn:()=>Ti,findClusterBreak:()=>Jt,findColumn:()=>Di,fromCodePoint:()=>an});var t={};n.r(t),n.d(t,{BidiSpan:()=>Uo,BlockInfo:()=>ja,BlockType:()=>_r,Decoration:()=>jr,Direction:()=>To,EditorView:()=>Ts,GutterMarker:()=>sc,MatchDecorator:()=>cl,RectangleMarker:()=>qs,ViewPlugin:()=>vo,ViewUpdate:()=>Mo,WidgetType:()=>Ur,__test:()=>Rc,closeHoverTooltips:()=>Ql,crosshairCursor:()=>Il,drawSelection:()=>Zs,dropCursor:()=>sl,getPanel:()=>nc,getTooltip:()=>Xl,gutter:()=>hc,gutterLineClass:()=>lc,gutters:()=>dc,hasHoverTooltips:()=>$l,highlightActiveLine:()=>kl,highlightActiveLineGutter:()=>Lc,highlightSpecialChars:()=>ml,highlightTrailingWhitespace:()=>Nc,highlightWhitespace:()=>Oc,hoverTooltip:()=>Yl,keymap:()=>Bs,layer:()=>Ys,lineNumberMarkers:()=>kc,lineNumbers:()=>Mc,logException:()=>po,panels:()=>tc,placeholder:()=>Sl,rectangularSelection:()=>Al,repositionTooltips:()=>Jl,runScopeHandlers:()=>Hs,scrollPastEnd:()=>wl,showPanel:()=>ac,showTooltip:()=>Ul,tooltips:()=>Bl});var i={};n.r(i),n.d(i,{DefaultBufferLength:()=>Hc,IterMode:()=>Wc,MountedTree:()=>Uc,NodeProp:()=>qc,NodeSet:()=>Gc,NodeType:()=>jc,NodeWeakMap:()=>pu,Parser:()=>fu,Tree:()=>Xc,TreeBuffer:()=>Zc,TreeCursor:()=>au,TreeFragment:()=>du,parseMixed:()=>gu});var r={};n.r(r),n.d(r,{Tag:()=>Au,classHighlighter:()=>ih,highlightTree:()=>Hu,styleTags:()=>Fu,tagHighlighter:()=>Nu,tags:()=>nh});var o={};n.r(o),n.d(o,{HighlightStyle:()=>mp,IndentContext:()=>Ph,LRLanguage:()=>lh,Language:()=>ah,LanguageDescription:()=>Eh,LanguageSupport:()=>xh,ParseContext:()=>gh,StreamLanguage:()=>Hp,StringStream:()=>Np,TreeIndentContext:()=>Nh,bracketMatching:()=>Pp,codeFolding:()=>cp,continuedIndent:()=>qh,defaultHighlightStyle:()=>xp,defineLanguageFacet:()=>oh,delimitedIndent:()=>Hh,ensureSyntaxTree:()=>uh,flatIndent:()=>zh,foldAll:()=>rp,foldCode:()=>tp,foldEffect:()=>Yh,foldGutter:()=>dp,foldInside:()=>Wh,foldKeymap:()=>ap,foldNodeProp:()=>jh,foldService:()=>_h,foldState:()=>Zh,foldable:()=>Gh,foldedRanges:()=>Qh,forceParsing:()=>ph,getIndentUnit:()=>Th,getIndentation:()=>Ah,highlightingFor:()=>wp,ignoreSpellcheckToken:()=>Zp,indentNodeProp:()=>Ih,indentOnInput:()=>Uh,indentRange:()=>Lh,indentService:()=>Sh,indentString:()=>Dh,indentUnit:()=>Mh,language:()=>Ch,languageDataProp:()=>rh,lineClassNodeProp:()=>Yp,lineHighlighter:()=>$p,matchBrackets:()=>Fp,syntaxHighlighting:()=>bp,syntaxParserRunning:()=>dh,syntaxTree:()=>ch,syntaxTreeAvailable:()=>hh,tokenClassNodeProp:()=>Kp,unfoldAll:()=>op,unfoldCode:()=>np,unfoldEffect:()=>Xh});var a={};n.r(a),n.d(a,{CompletionContext:()=>Qp,acceptCompletion:()=>Ld,autocompletion:()=>Af,clearSnippet:()=>Yd,closeBrackets:()=>df,closeBracketsKeymap:()=>wf,closeCompletion:()=>Id,completeAnyWord:()=>sf,completeFromList:()=>ed,completionKeymap:()=>Lf,completionStatus:()=>If,currentCompletions:()=>Of,deleteBracketPair:()=>bf,ifIn:()=>td,ifNotIn:()=>nd,insertBracket:()=>kf,insertCompletionText:()=>sd,moveCompletionSelection:()=>Ad,nextSnippetField:()=>Xd,pickedCompletion:()=>ad,prevSnippetField:()=>$d,selectedCompletion:()=>Bf,selectedCompletionIndex:()=>Nf,setSelectedCompletion:()=>Rf,snippet:()=>Gd,snippetCompletion:()=>ef,snippetKeymap:()=>Qd,startCompletion:()=>Pd});var s={};n.r(s),n.d(s,{collab:()=>_f,getClientID:()=>Kf,getSyncedVersion:()=>Gf,receiveUpdates:()=>jf,sendableUpdates:()=>Wf});var l={};n.r(l),n.d(l,{blockComment:()=>em,blockUncomment:()=>tm,copyLineDown:()=>bv,copyLineUp:()=>yv,cursorCharBackward:()=>qm,cursorCharForward:()=>zm,cursorCharLeft:()=>Hm,cursorCharRight:()=>Vm,cursorDocEnd:()=>Kg,cursorDocStart:()=>Gg,cursorGroupBackward:()=>Gm,cursorGroupForward:()=>Wm,cursorGroupLeft:()=>_m,cursorGroupRight:()=>jm,cursorLineBoundaryBackward:()=>ug,cursorLineBoundaryForward:()=>cg,cursorLineBoundaryLeft:()=>hg,cursorLineBoundaryRight:()=>pg,cursorLineDown:()=>ig,cursorLineEnd:()=>fg,cursorLineStart:()=>dg,cursorLineUp:()=>ng,cursorMatchingBracket:()=>gg,cursorPageDown:()=>sg,cursorPageUp:()=>ag,cursorSubwordBackward:()=>$m,cursorSubwordForward:()=>Xm,cursorSyntaxLeft:()=>Jm,cursorSyntaxRight:()=>eg,defaultKeymap:()=>Iv,deleteCharBackward:()=>iv,deleteCharForward:()=>rv,deleteGroupBackward:()=>av,deleteGroupForward:()=>sv,deleteLine:()=>wv,deleteToLineEnd:()=>lv,deleteToLineStart:()=>cv,deleteTrailingWhitespace:()=>uv,emacsStyleKeymap:()=>Lv,history:()=>hm,historyField:()=>pm,historyKeymap:()=>Pm,indentLess:()=>Dv,indentMore:()=>Tv,indentSelection:()=>Mv,indentWithTab:()=>Fv,insertBlankLine:()=>xv,insertNewline:()=>kv,insertNewlineAndIndent:()=>Cv,insertTab:()=>Av,invertedEffects:()=>lm,isolateHistory:()=>sm,lineComment:()=>Zf,lineUncomment:()=>Qf,moveLineDown:()=>gv,moveLineUp:()=>mv,redo:()=>mm,redoDepth:()=>wm,redoSelection:()=>vm,selectAll:()=>$g,selectCharBackward:()=>xg,selectCharForward:()=>Cg,selectCharLeft:()=>wg,selectCharRight:()=>kg,selectDocEnd:()=>Xg,selectDocStart:()=>Yg,selectGroupBackward:()=>Dg,selectGroupForward:()=>Tg,selectGroupLeft:()=>Sg,selectGroupRight:()=>Mg,selectLine:()=>Zg,selectLineBoundaryBackward:()=>qg,selectLineBoundaryForward:()=>zg,selectLineBoundaryLeft:()=>Ug,selectLineBoundaryRight:()=>_g,selectLineDown:()=>Ng,selectLineEnd:()=>Wg,selectLineStart:()=>jg,selectLineUp:()=>Bg,selectMatchingBracket:()=>vg,selectPageDown:()=>Vg,selectPageUp:()=>Hg,selectParentSyntax:()=>Qg,selectSubwordBackward:()=>Pg,selectSubwordForward:()=>Lg,selectSyntaxLeft:()=>Ig,selectSyntaxRight:()=>Fg,simplifySelection:()=>Jg,splitLine:()=>hv,standardKeymap:()=>Pv,toggleBlockComment:()=>Jf,toggleBlockCommentByLine:()=>nm,toggleComment:()=>Yf,toggleLineComment:()=>$f,transposeChars:()=>pv,undo:()=>fm,undoDepth:()=>bm,undoSelection:()=>gm});var c={};n.r(c),n.d(c,{closeLintPanel:()=>Zv,diagnosticCount:()=>Gv,forEachDiagnostic:()=>ky,forceLinting:()=>iy,lintGutter:()=>wy,lintKeymap:()=>Jv,linter:()=>ny,nextDiagnostic:()=>Qv,openLintPanel:()=>$v,setDiagnostics:()=>qv,setDiagnosticsEffect:()=>Uv});var u={};n.r(u),n.d(u,{RegExpCursor:()=>My,SearchCursor:()=>xy,SearchQuery:()=>Ky,closeSearchPanel:()=>wb,findNext:()=>hb,findPrevious:()=>pb,getSearchQuery:()=>rb,gotoLine:()=>Oy,highlightSelectionMatches:()=>Hy,openSearchPanel:()=>bb,replaceAll:()=>gb,replaceNext:()=>mb,search:()=>Gy,searchKeymap:()=>kb,searchPanelOpen:()=>ob,selectMatches:()=>db,selectNextOccurrence:()=>jy,selectSelectionMatches:()=>fb,setSearchQuery:()=>tb});var h={};n.r(h),n.d(h,{ContextTracker:()=>Qb,ExternalTokenizer:()=>Rb,InputStream:()=>Bb,LRParser:()=>Jb,Stack:()=>Ab});var p={};n.r(p),n.d(p,{AbstractTextComponent:()=>pL,App:()=>JW,BaseComponent:()=>sL,ButtonComponent:()=>cL,ColorComponent:()=>bL,Component:()=>GM,DropdownComponent:()=>vL,EditableFileView:()=>iB,Editor:()=>zL,EditorSuggest:()=>TH,Events:()=>vD,ExtraButtonComponent:()=>uL,FileManager:()=>JH,FileSystemAdapter:()=>fA,FileView:()=>tB,FuzzySuggestModal:()=>cV,HoverPopover:()=>oR,ItemView:()=>eB,Keymap:()=>pD,MarkdownPreviewRenderer:()=>CT,MarkdownPreviewSection:()=>yT,MarkdownPreviewView:()=>uO,MarkdownRenderChild:()=>vT,MarkdownRenderer:()=>sO,MarkdownSourceView:()=>jN,MarkdownView:()=>KN,Menu:()=>KL,MenuItem:()=>WL,MenuSeparator:()=>GL,MetadataCache:()=>jA,Modal:()=>dD,MomentFormatComponent:()=>gL,Notice:()=>gD,Platform:()=>$w,Plugin:()=>TD,PluginSettingTab:()=>DD,PopoverState:()=>UN,PopoverSuggest:()=>DR,Scope:()=>uD,Setting:()=>aL,SettingTab:()=>NT,SliderComponent:()=>yL,SuggestModal:()=>lV,TAbstractFile:()=>yA,TFile:()=>wA,TFolder:()=>kA,TextAreaComponent:()=>mL,TextComponent:()=>dL,TextFileView:()=>WN,ToggleComponent:()=>hL,ValueComponent:()=>lL,Vault:()=>CA,View:()=>wL,ViewRegistry:()=>cR,Workspace:()=>AV,WorkspaceContainer:()=>yH,WorkspaceFloating:()=>EV,WorkspaceItem:()=>fH,WorkspaceLeaf:()=>CH,WorkspaceParent:()=>mH,WorkspaceRibbon:()=>CV,WorkspaceRoot:()=>xV,WorkspaceSidedock:()=>vH,WorkspaceSplit:()=>gH,WorkspaceTabs:()=>wH,WorkspaceWindow:()=>SV,addIcon:()=>aT,apiVersion:()=>KW,arrayBufferToBase64:()=>q,arrayBufferToHex:()=>G,base64ToArrayBuffer:()=>z,debounce:()=>Aw,editorEditorField:()=>SO,editorInfoField:()=>TO,editorLivePreviewField:()=>DO,editorViewField:()=>MO,finishRenderMath:()=>QC,fuzzySearch:()=>wk,getAllTags:()=>tA,getBlobArrayBuffer:()=>Iw,getIcon:()=>rT,getIconIds:()=>lT,getLinkpath:()=>ZD,hexToArrayBuffer:()=>W,htmlToMarkdown:()=>jL,iterateCacheRefs:()=>JD,iterateRefs:()=>eA,livePreviewState:()=>KB,loadMathJax:()=>GC,loadMermaid:()=>UC,loadPdfJs:()=>VC,loadPrism:()=>jC,moment:()=>WB,normalizePath:()=>tt,parseFrontMatterAliases:()=>HM,parseFrontMatterEntry:()=>NM,parseFrontMatterStringArray:()=>RM,parseFrontMatterTags:()=>VM,parseLinktext:()=>QD,parseYaml:()=>_B,prepareFuzzySearch:()=>vk,prepareQuery:()=>gk,prepareSimpleSearch:()=>Ek,removeIcon:()=>sT,renderMatches:()=>Mk,renderMath:()=>KC,renderResults:()=>Sk,request:()=>ik,requestUrl:()=>nk,requireApiVersion:()=>XW,resolveSubpath:()=>aA,sanitizeHTMLToDom:()=>WM,setIcon:()=>oT,sortSearchResults:()=>kk,stringifyYaml:()=>jB,stripHeading:()=>rA,stripHeadingForLink:()=>oA});var d=function(e,t){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}d(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var m=function(){return(m=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function w(e,t,n){if(n||2===arguments.length)for(var i,r=0,o=t.length;r1||s(e,t)}))})}function s(e,t){try{!function(e){e.value instanceof k?Promise.resolve(e.value.v).then(l,c):u(o[0][2],e)}(r[e](t))}catch(e){u(o[0][3],e)}}function l(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function x(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=b(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(n){t[n]=e[n]&&function(t){return new Promise((function(i,r){(function(e,t,n,i){Promise.resolve(i).then((function(t){e({value:t,done:n})}),t)})(i,r,(t=e[n](t)).done,t.value)}))}}}Object.create;const E=(e=>e.CapacitorPlatforms=(e=>{const t=new Map;t.set("web",{name:"web"});const n=e.CapacitorPlatforms||{currentPlatform:{name:"web"},platforms:t};return n.addPlatform=(e,t)=>{n.platforms.set(e,t)},n.setPlatform=e=>{n.platforms.has(e)&&(n.currentPlatform=n.platforms.get(e))},n})(e))("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{});E.addPlatform,E.setPlatform;var S;!function(e){e.Unimplemented="UNIMPLEMENTED",e.Unavailable="UNAVAILABLE"}(S||(S={}));class M extends Error{constructor(e,t){super(e),this.message=e,this.code=t}}const T=e=>{var t,n;return(null==e?void 0:e.androidBridge)?"android":(null===(n=null===(t=null==e?void 0:e.webkit)||void 0===t?void 0:t.messageHandlers)||void 0===n?void 0:n.bridge)?"ios":"web"},D=e=>{var t,n,i,r,o;const a=e.Capacitor||{},s=a.Plugins=a.Plugins||{},l=e.CapacitorPlatforms,c=(null===(t=null==l?void 0:l.currentPlatform)||void 0===t?void 0:t.getPlatform)||(()=>T(e)),u=(null===(n=null==l?void 0:l.currentPlatform)||void 0===n?void 0:n.isNativePlatform)||(()=>"web"!==T(e)),h=(null===(i=null==l?void 0:l.currentPlatform)||void 0===i?void 0:i.isPluginAvailable)||(e=>{const t=d.get(e);return!!(null==t?void 0:t.platforms.has(c()))||!!p(e)}),p=(null===(r=null==l?void 0:l.currentPlatform)||void 0===r?void 0:r.getPluginHeader)||(e=>{var t;return null===(t=a.PluginHeaders)||void 0===t?void 0:t.find((t=>t.name===e))}),d=new Map,f=(null===(o=null==l?void 0:l.currentPlatform)||void 0===o?void 0:o.registerPlugin)||((e,t={})=>{const n=d.get(e);if(n)return console.warn(`Capacitor plugin "${e}" already registered. Cannot register plugins twice.`),n.proxy;const i=c(),r=p(e);let o;const l=n=>{let s;const l=(...l)=>{const c=(async()=>(!o&&i in t&&(o=o="function"==typeof t[i]?await t[i]():t[i]),o))().then((t=>{const o=((t,n)=>{var o,s;if(!r){if(t)return null===(s=t[n])||void 0===s?void 0:s.bind(t);throw new M(`"${e}" plugin is not implemented on ${i}`,S.Unimplemented)}{const i=null==r?void 0:r.methods.find((e=>n===e.name));if(i)return"promise"===i.rtype?t=>a.nativePromise(e,n.toString(),t):(t,i)=>a.nativeCallback(e,n.toString(),t,i);if(t)return null===(o=t[n])||void 0===o?void 0:o.bind(t)}})(t,n);if(o){const e=o(...l);return s=null==e?void 0:e.remove,e}throw new M(`"${e}.${n}()" is not implemented on ${i}`,S.Unimplemented)}));return"addListener"===n&&(c.remove=async()=>s()),c};return l.toString=()=>`${n.toString()}() { [capacitor code] }`,Object.defineProperty(l,"name",{value:n,writable:!1,configurable:!1}),l},u=l("addListener"),h=l("removeListener"),f=(e,t)=>{const n=u({eventName:e},t),i=async()=>{const i=await n;h({eventName:e,callbackId:i},t)},r=new Promise((e=>n.then((()=>e({remove:i})))));return r.remove=async()=>{console.warn("Using addListener() without 'await' is deprecated."),await i()},r},m=new Proxy({},{get(e,t){switch(t){case"$$typeof":return;case"addListener":return r?f:u;case"removeListener":return h;default:return l(t)}}});return s[e]=m,d.set(e,{name:e,proxy:m,platforms:new Set([...Object.keys(t),...r?[i]:[]])}),m});return a.convertFileSrc||(a.convertFileSrc=e=>e),a.getPlatform=c,a.handleError=t=>e.console.error(t),a.isNativePlatform=u,a.isPluginAvailable=h,a.pluginMethodNoop=(e,t,n)=>Promise.reject(`${n} does not have an implementation of "${t}".`),a.registerPlugin=f,a.Exception=M,a.DEBUG=!!a.DEBUG,a.isLoggingEnabled=!!a.isLoggingEnabled,a.platform=a.getPlatform(),a.isNative=a.isNativePlatform(),a},A=(e=>e.Capacitor=D(e))("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{}),L=A.registerPlugin;A.Plugins;var P,I;!function(e){e.Dark="DARK",e.Light="LIGHT",e.Default="DEFAULT"}(P||(P={})),function(e){e.Body="body",e.Ionic="ionic",e.Native="native",e.None="none"}(I||(I={}));L("Keyboard");var F,O;!function(e){e.Dark="DARK",e.Light="LIGHT",e.Default="DEFAULT"}(F||(F={})),function(e){e.None="NONE",e.Slide="SLIDE",e.Fade="FADE"}(O||(O={}));function B(e){return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}function N(e){return Buffer.from(e)}function R(e){return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}function H(e){return R((new TextEncoder).encode(e))}function V(e){return(new TextDecoder).decode(new Uint8Array(e))}function z(e){for(var t=window.atob(e),n=t.length,i=new Uint8Array(n),r=0;r>>4).toString(16)),n.push((15&r).toString(16))}return n.join("")}var K="AES-GCM";function Y(e){return crypto.subtle.importKey("raw",e,K,!1,["encrypt","decrypt"])}function X(e,t,n){return v(this,void 0,Promise,(function(){var i,r,o;return y(this,(function(a){switch(a.label){case 0:return n||(n=crypto.getRandomValues(new Uint8Array(12))),[4,crypto.subtle.encrypt({name:K,iv:n},t,e)];case 1:return i=a.sent(),r=new ArrayBuffer(n.byteLength+i.byteLength),(o=new Uint8Array(r)).set(new Uint8Array(n),0),o.set(new Uint8Array(i),n.byteLength),[2,r]}}))}))}function $(e,t){return v(this,void 0,Promise,(function(){var n,i;return y(this,(function(r){switch(r.label){case 0:if(e.byteLength<12)throw new Error("Encrypted data is bad");return 12===e.byteLength?[2,new ArrayBuffer(0)]:(n=new Uint8Array(e,0,12),i=new Uint8Array(e,12),[4,crypto.subtle.decrypt({name:K,iv:n},t,i)]);case 1:return[2,r.sent()]}}))}))}var Z=32768,Q={N:Z,r:8,p:1,maxmem:67108864};function J(e,t){return v(this,void 0,Promise,(function(){var n;return y(this,(function(i){switch(i.label){case 0:return e=e.normalize("NFKC"),t=t.normalize("NFKC"),(n=window.require&&window.require("crypto"))?[4,new Promise((function(i,r){n.scrypt(Buffer.from(e,"utf8"),Buffer.from(t,"utf8"),32,Q,(function(e,t){e?r(e):i(t)}))}))]:[3,2];case 1:return[2,B(i.sent())];case 2:return[4,window.scrypt.scrypt(new Uint8Array(H(e)),new Uint8Array(H(t)),Z,8,1,32)];case 3:return[2,R(i.sent())]}}))}))}function ee(e){if(e<=0)return"0 B";for(var t=["B","KB","MB","GB","TB","PB"],n=t.length-1,i=0;i3?o.length%3:0;return r+(a?o.substr(0,a)+i:"")+o.substr(a).replace(/(\d{3})(?=\d)/g,"$1"+i)+(t?n+Math.abs(e-Math.floor(e)).toFixed(t).slice(2):"")}(r,0===n?0:2)," ").concat(t[n])}var te="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*?()";var ne,ie=-1!==(ne=navigator.appVersion).indexOf("Win")?"Windows":-1!==ne.indexOf("Mac")?"MacOS":-1!==ne.indexOf("X11")||-1!==ne.indexOf("Linux")?"Linux":"Unknown OS",re=navigator.userAgent.toLowerCase(),oe="MacOS"===ie,ae="Windows"===ie,se="Linux"===ie,le=re.indexOf("firefox")>-1,ce=/^((?!chrome|android).)*safari/i.test(re);function ue(e){return oe&&0===e.button&&e.ctrlKey}var he=Object.prototype.hasOwnProperty;function pe(e,t){return he.call(e,t)}var de=/&(amp|lt|gt|quot);/g,fe={"&":"&","<":"<",">":">",""":'"'};function me(e){return fe[e]}function ge(e){return e.replace(de,me)}var ve=/[.?*+^$[\]\\(){}|-]/g;function ye(e){return e.replace(ve,"\\$&")}function be(e){return Array.from(new Set(e))}var we=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/;var ke=function(){function e(){this.data={}}return e.prototype.add=function(e,t){var n=this.data,i=n[e];i||(i=[],n[e]=i),i.contains(t)||i.push(t)},e.prototype.remove=function(e,t){var n=this.data,i=n[e];i&&(i.remove(t),0===i.length&&delete n[e])},e.prototype.removeKey=function(e){delete this.data[e]},e.prototype.get=function(e){return this.data.hasOwnProperty(e)?this.data[e]:null},e.prototype.keys=function(){return Object.keys(this.data)},e.prototype.clear=function(e){delete this.data[e]},e.prototype.clearAll=function(){this.data={}},e.prototype.contains=function(e,t){var n=this.data[e];return n&&n.contains(t)},e.prototype.count=function(){var e=this.data,t=0;for(var n in e)e.hasOwnProperty(n)&&(t+=e[n].length);return t},e}();function Ce(e){for(var t=[],n=0;n=t);)i++,n++;return n}!function(){function e(){this.data=new Map}e.prototype.add=function(e,t){var n=this.data;n.has(e)?n.get(e).push(t):n.set(e,[t])},e.prototype.delete=function(e,t){var n=this.data;if(n.has(e)){var i=n.get(e);i.remove(t),0===i.length&&n.delete(e)}},e.prototype.get=function(e){return this.data.get(e)}}();var Ee=function(){function e(){this.data=new Map}return e.prototype.add=function(e,t){var n=this.data;n.has(e)?n.get(e).add(t):n.set(e,new Set([t]))},e.prototype.delete=function(e,t){var n=this.data;if(n.has(e)){var i=n.get(e);i.delete(t),0===i.size&&n.delete(e)}},e.prototype.get=function(e){return this.data.get(e)},e.prototype.getArray=function(e){var t=this.data;return t.has(e)?Array.from(t.get(e)):[]},e}();function Se(e){return"object"!=typeof e}function Me(e,t){if(void 0===t&&(t="\t"),void 0!==e)return Te(e,t).join("\n")}function Te(e,t){if(void 0===e)return["null"];if(Se(e)||!e||"[object Date]"===Object.prototype.toString.call(e))return[JSON.stringify(e)];if(Array.isArray(e)){if(e.every(Se))return[JSON.stringify(e)];for(var n=["["],i=e.length-1,r=0;r<=i;r++)for(var o=(p=Te(e[r],t)).length-1,a=0;a<=o;a++){var s="\t"+p[a];a===o&&r!==i&&(s+=","),n.push(s)}return n.push("]"),n}if("object"==typeof e){var l=!0;for(var c in e)if(e.hasOwnProperty(c)&&!Se(e[c])){l=!1;break}if(l)return[JSON.stringify(e)];n=["{"];var u=Object.keys(e);for(i=u.length-1,r=0;r<=i;r++){var h=e[c=u[r]];if(void 0!==h){var p;(p=Te(h,t))[0]=JSON.stringify(c)+":"+p[0];for(o=p.length-1,a=0;a<=o;a++){s="\t"+p[a];a===o&&r!==i&&(s+=","),n.push(s)}}}return n.push("}"),n}return[""]}var De="#^[]|",Ae=ae?'*"\\/<>:|?':"\\/:",Le=Ae.split("").join(" "),Pe=De.split("").join(" "),Ie=new RegExp("["+ye(Ae)+"]"),Fe=new RegExp("["+ye(De)+"]"),Oe=/^(CON|PRN|AUX|NUL|COM[1-9]|LPT[1-9])$/i;function Be(e){try{return Ne(e),!0}catch(e){return!1}}function Ne(e){if(ae){var t=e.charAt(e.length-1);if("."===t||" "===t)throw new Error("File names cannot end with a dot or a space.");var n=Xe(e);if(Oe.test(n))throw new Error("File name is forbidden: "+n)}if(e.split("/").some((function(e){return Ie.test(e)})))throw new Error("File name cannot contain any of the following characters: "+Le)}var Re=/\u00A0/g;var He=["bmp","png","jpg","jpeg","gif","svg","webp"],Ve=["mp3","wav","m4a","3gp","flac","ogg","oga","opus"],ze=["mp4","webm","ogv","mov","mkv"],qe=["pdf"],Ue=["md"],_e=["canvas"],je=["json","css","js"],We=[].concat(He,Ve,ze,qe,Ue,_e);function Ge(e){var t=e.lastIndexOf("/");return-1===t?e:e.slice(t+1)}function Ke(e){var t=e.lastIndexOf("/");return-1===t?"":e.slice(0,t)}function Ye(e){for(;e;){if(Ge(e).startsWith("."))return!0;e=Ke(e)}return!1}function Xe(e){var t=Ge(e),n=t.lastIndexOf(".");return-1===n||n===t.length-1||0===n?t:t.substr(0,n)}function $e(e){var t=e.lastIndexOf(".");return-1===t||t===e.length-1||0===t?e:e.substr(0,t)}function Ze(e){var t=e.lastIndexOf(".");return-1===t||t===e.length-1||0===t?"":e.substr(t+1).toLowerCase()}function Qe(e,t){return t?e+"."+t:e}function Je(e,t){return Ze(e)===t}function et(e){return We.contains(e)}function tt(e){return(t=nt(e),t.replace(Re," ")).normalize("NFC");var t}function nt(e){return""===(e=e.replace(/([\\/])+/g,"/").replace(/(^\/+|\/+$)/g,""))&&(e="/"),e}function it(e){var t=Ge(e);return"md"===Ze(t)?Xe(t):t}function rt(e){return"md"===Ze(Ge(e))?$e(e):e}var ot=window.require;function at(e){return ot&&ot(e)}function st(e){var t=at("electron");t&&e(t)}function lt(e){return v(this,void 0,Promise,(function(){var t;return y(this,(function(n){return(t=at("fs"))&&t.existsSync(e)?[2,t.promises.readFile(e)]:[2,null]}))}))}function ct(e){return v(this,void 0,Promise,(function(){var t,n;return y(this,(function(i){if(!(t=at("electron")))throw new Error("Not electron");return n=t.ipcRenderer,[2,new Promise((function(t,i){var r=Ce(16);n.once(r,(function(e,n){n.body?t(n):i(n.error)})),n.send("request-url",r,e)}))]}))}))}var ut=!1,ht=0;st((function(e){ut=e.ipcRenderer.sendSync("is-dev"),ht=parseInt(process.versions.electron.split(".")[0])}));var pt=ut,dt=ht;function ft(){return"win32"===process.platform||"darwin"===process.platform}function mt(e,t){if("win32"===process.platform){var n=window.require("vibrancy-win");if(t)e.setBackgroundColor("#00000000"),n.setAcrylic(e,343932960)||n.setBlurBehind(e,0);else n.disable(e)}else"darwin"===process.platform&&(e.setBackgroundColor("#00000000"),t?e.setVibrancy("fullscreen-ui"):e.setVibrancy(null))}function gt(e){return"WebViewElement"===e.constructor.name}pt||st((function(e){try{e.deprecate.setHandler((function(){}))}catch(e){}}));var vt="https://api.obsidian.md";pt&&(vt="http://127.0.0.1:3000");var yt=vt+"/user/info",bt=vt+"/subscription/business",wt=vt+"/user/signin",kt=vt+"/user/signout",Ct=vt+"/vault/list",xt=vt+"/vault/access",Et=vt+"/vault/create",St=vt+"/vault/delete",Mt=vt+"/vault/share/list",Tt=vt+"/vault/share/invite",Dt=vt+"/vault/share/remove",At=vt+"/publish/share/list",Lt=vt+"/publish/share/invite",Pt=vt+"/publish/share/remove",It=vt+"/publish/share/accept",Ft=vt+"/publish/list",Ot=vt+"/publish/create",Bt=vt+"/publish/delete",Nt=vt+"/publish/limit",Rt=vt+"/subscription/list",Ht="obsidian-account",Vt=function(){function e(){this.keyValidation="",this.company="",this.expiry=0,this.seats=0;try{var e=JSON.parse(localStorage.getItem(Ht));this.email=e.email,this.name=e.name,this.token=e.token,this.license=e.license,this.key=e.key}catch(e){}}return e.prototype.save=function(){var e={email:this.email,name:this.name,token:this.token,license:this.license,key:this.key};localStorage.setItem(Ht,JSON.stringify(e))},e.prototype.login=function(e,t,n){var i=this;ajax({url:wt,method:"POST",withCredentials:!1,data:{email:e,password:t},success:function(e){var t=JSON.parse(e);t.token&&(i.token=t.token,i.email=t.email,i.name=t.name,i.license=t.license,i.save()),n&&n(t)}})},e.prototype.logout=function(e){var t=this;ajax({url:kt,method:"POST",withCredentials:!1,data:{token:this.token},success:function(n){t.token="",t.email="",t.name="",t.license="",e&&e(n)}})},e.prototype.getUserInfo=function(){return v(this,void 0,Promise,(function(){var e,t;return y(this,(function(n){switch(n.label){case 0:return this.token?[4,ajaxPromise({url:yt,method:"POST",withCredentials:!1,data:{token:this.token}})]:[2];case 1:return e=n.sent(),"Not logged in"===(t=JSON.parse(e)).error?(this.email=null,this.name=null,this.token=null,this.license=null,this.save(),[2]):(this.email=t.email,this.name=t.name,this.license=t.license,this.save(),[2,t])}}))}))},e.prototype.checkKey=function(e){var t=this;this.key?ajax({url:bt,method:"POST",withCredentials:!1,data:{key:this.key},success:function(n){var i=JSON.parse(n);if(i.error)return t.keyValidation=i.error,void(e&&e());t.keyValidation="valid",t.company=i.company,t.expiry=i.expiry,t.seats=i.seats,t.save(),e&&e()},error:e}):e()},e.prototype.getVaults=function(e){ajax({url:Ct,method:"POST",withCredentials:!1,data:{token:this.token},success:function(t){var n=JSON.parse(t);e&&e(n)}})},e.prototype.createVault=function(e,t,n,i){ajax({url:Et,method:"POST",withCredentials:!1,data:{name:e,token:this.token,keyhash:t,salt:n},success:function(e){var t=JSON.parse(e);i&&i(t)}})},e.prototype.deleteVault=function(e,t){ajax({url:St,method:"POST",withCredentials:!1,data:{vault_uid:e,token:this.token},success:function(e){var n=JSON.parse(e);t&&t(n)}})},e.prototype.getSiteShareList=function(e,t){ajax({url:At,method:"POST",withCredentials:!1,data:{site_uid:e,token:this.token},success:function(e){var n=JSON.parse(e);t&&t(n.shares)}})},e.prototype.inviteToSite=function(e,t,n){ajax({url:Lt,method:"POST",withCredentials:!1,data:{site_uid:e,email:t,token:this.token},success:function(e){var t=JSON.parse(e);n&&n(t)}})},e.prototype.removeUserFromSite=function(e,t,n){ajax({url:Pt,method:"POST",withCredentials:!1,data:{site_uid:e,share_uid:t,token:this.token},success:function(e){var t=JSON.parse(e);n&&n(t)}})},e.prototype.acceptSiteInvite=function(e,t){ajax({url:It,method:"POST",withCredentials:!1,data:{code:e,token:this.token},success:function(e){JSON.parse(e);t&&t()}})},e.prototype.getVaultShareList=function(e,t){ajax({url:Mt,method:"POST",withCredentials:!1,data:{vault_uid:e,token:this.token},success:function(e){var n=JSON.parse(e);t&&t(n.shares)}})},e.prototype.inviteToVault=function(e,t,n){ajax({url:Tt,method:"POST",withCredentials:!1,data:{vault_uid:e,email:t,token:this.token},success:function(e){var t=JSON.parse(e);n&&n(t)}})},e.prototype.removeUserFromVault=function(e,t,n){ajax({url:Dt,method:"POST",withCredentials:!1,data:{vault_uid:e,share_uid:t,token:this.token},success:function(e){var t=JSON.parse(e);n&&n(t)}})},e.prototype.verifyVaultKey=function(e,t,n){return v(this,void 0,void 0,(function(){return y(this,(function(i){return[2,ajaxPromise({url:xt,method:"POST",withCredentials:!1,data:{token:this.token,vault_uid:e,keyhash:t,host:n}})]}))}))},e.prototype.getSites=function(){return v(this,void 0,Promise,(function(){var e,t;return y(this,(function(n){switch(n.label){case 0:return t=(e=JSON).parse,[4,ajaxPromise({url:Ft,method:"POST",withCredentials:!1,data:{token:this.token}})];case 1:return[2,t.apply(e,[n.sent()])]}}))}))},e.prototype.createSite=function(e){ajax({url:Ot,method:"POST",withCredentials:!1,data:{token:this.token},success:function(t){var n=JSON.parse(t);e&&e(n)},error:function(t){e&&e(t)}})},e.prototype.deleteSite=function(e,t){ajax({url:Bt,method:"POST",withCredentials:!1,data:{token:this.token,site_uid:e},success:function(e){var n=JSON.parse(e);t&&t(n)},error:function(e){t&&t(e)}})},e.prototype.getSiteLimit=function(){return v(this,void 0,Promise,(function(){var e,t;return y(this,(function(n){switch(n.label){case 0:return t=(e=JSON).parse,[4,ajaxPromise({url:Nt,method:"POST",withCredentials:!1,data:{token:this.token}})];case 1:return[2,t.apply(e,[n.sent()])]}}))}))},e.prototype.getSubscriptions=function(){return v(this,void 0,Promise,(function(){var e,t;return y(this,(function(n){switch(n.label){case 0:return t=(e=JSON).parse,[4,ajaxPromise({url:Rt,method:"POST",data:{token:this.token}})];case 1:return[2,t.apply(e,[n.sent()])]}}))}))},e.prototype.setKey=function(e){this.key=e,this.save()},e}(),zt=function(){function e(){}return e.prototype.lineAt=function(e){if(e<0||e>this.length)throw new RangeError("Invalid position ".concat(e," in document of length ").concat(this.length));return this.lineInner(e,!1,1,0)},e.prototype.line=function(e){if(e<1||e>this.lines)throw new RangeError("Invalid line number ".concat(e," in ").concat(this.lines,"-line document"));return this.lineInner(e,!0,1,0)},e.prototype.replace=function(e,t,n){var i=[];return this.decompose(0,e,i,2),n.length&&n.decompose(0,n.length,i,3),this.decompose(t,this.length,i,1),Ut.from(i,this.length-(t-e)+n.length)},e.prototype.append=function(e){return this.replace(this.length,this.length,e)},e.prototype.slice=function(e,t){void 0===t&&(t=this.length);var n=[];return this.decompose(e,t,n,0),Ut.from(n,t-e)},e.prototype.eq=function(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;for(var t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),i=new Wt(this),r=new Wt(e),o=t,a=t;;){if(i.next(o),r.next(o),o=0,i.lineBreak!=r.lineBreak||i.done!=r.done||i.value!=r.value)return!1;if(a+=i.value.length,i.done||a>=n)return!0}},e.prototype.iter=function(e){return void 0===e&&(e=1),new Wt(this,e)},e.prototype.iterRange=function(e,t){return void 0===t&&(t=this.length),new Gt(this,e,t)},e.prototype.iterLines=function(e,t){var n;if(null==e)n=this.iter();else{null==t&&(t=this.lines+1);var i=this.line(e).from;n=this.iterRange(i,Math.max(i,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new Kt(n)},e.prototype.toString=function(){return this.sliceString(0)},e.prototype.toJSON=function(){var e=[];return this.flatten(e),e},e.of=function(t){if(0==t.length)throw new RangeError("A document must have at least one line");return 1!=t.length||t[0]?t.length<=32?new qt(t):Ut.from(qt.split(t,[])):e.empty},e}(),qt=function(e){function t(t,n){void 0===n&&(n=function(e){for(var t=-1,n=0,i=e;n=e)return new Yt(i,a,n,o);i=a+1,n++}},t.prototype.decompose=function(e,n,i,r){var o=e<=0&&n>=this.length?this:new t(jt(this.text,e,n),Math.min(n,this.length)-Math.max(0,e));if(1&r){var a=i.pop(),s=_t(o.text,a.text.slice(),0,o.length);if(s.length<=32)i.push(new t(s,a.length+o.length));else{var l=s.length>>1;i.push(new t(s.slice(0,l)),new t(s.slice(l)))}}else i.push(o)},t.prototype.replace=function(n,i,r){if(!(r instanceof t))return e.prototype.replace.call(this,n,i,r);var o=_t(this.text,_t(r.text,jt(this.text,0,n)),i),a=this.length+r.length-(i-n);return o.length<=32?new t(o,a):Ut.from(t.split(o,[]),a)},t.prototype.sliceString=function(e,t,n){void 0===t&&(t=this.length),void 0===n&&(n="\n");for(var i="",r=0,o=0;r<=t&&oe&&o&&(i+=n),er&&(i+=a.slice(Math.max(0,e-r),t-r)),r=s+1}return i},t.prototype.flatten=function(e){for(var t=0,n=this.text;t-1&&n.push(new t(i,r)),n},t}(zt),Ut=function(e){function t(t,n){var i=e.call(this)||this;i.children=t,i.length=n,i.lines=0;for(var r=0,o=t;r=e)return o.lineInner(e,t,n,i);i=a+1,n=s+1}},t.prototype.decompose=function(e,t,n,i){for(var r=0,o=0;o<=t&&r=o){var l=i&((o<=e?1:0)|(s>=t?2:0));o>=e&&s<=t&&!l?n.push(a):a.decompose(e-o,t-o,n,l)}o=s+1}},t.prototype.replace=function(n,i,r){if(r.lines=a&&i<=l){var c=s.replace(n-a,i-a,r),u=this.lines-s.lines+c.lines;if(c.lines>4&&c.lines>u>>6){var h=this.children.slice();return h[o]=c,new t(h,this.length-(i-n)+r.length)}return e.prototype.replace.call(this,a,l,c)}a=l+1}return e.prototype.replace.call(this,n,i,r)},t.prototype.sliceString=function(e,t,n){void 0===t&&(t=this.length),void 0===n&&(n="\n");for(var i="",r=0,o=0;re&&r&&(i+=n),eo&&(i+=a.sliceString(e-o,t-o,n)),o=s+1}return i},t.prototype.flatten=function(e){for(var t=0,n=this.children;t0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1],o=r[0],a=r[1],s=r[2],l=r[3];;o+=n,a+=n){if(o==s||a==l)return i;var c=this.children[o],u=e.children[a];if(c!=u)return i+c.scanIdentical(u,n);i+=c.length+1}},t.from=function(e,n){void 0===n&&(n=e.reduce((function(e,t){return e+t.length+1}),-1));for(var i=0,r=0,o=e;r>5),u=c<<1,h=c>>1,p=[],d=0,f=-1,m=[];function g(e){var n;if(e.lines>u&&e instanceof t)for(var i=0,r=e.children;ih&&(d>h||!d)?(v(),p.push(e)):e instanceof qt&&d&&(n=m[m.length-1])instanceof qt&&e.lines+n.lines<=32?(d+=e.lines,f+=e.length+1,m[m.length-1]=new qt(n.text.concat(e.text),n.length+1+e.length)):(d+e.lines>c&&v(),d+=e.lines,f+=e.length+1,m.push(e))}function v(){0!=d&&(p.push(1==m.length?m[0]:t.from(m,f)),f=-1,d=m.length=0)}for(var y=0,b=e;y=n&&(l>i&&(s=s.slice(0,i-r)),r0?1:(e instanceof qt?e.text.length:e.children.length)<<1]}return e.prototype.nextInner=function(e,t){for(this.done=this.lineBreak=!1;;){var n=this.nodes.length-1,i=this.nodes[n],r=this.offsets[n],o=r>>1,a=i instanceof qt?i.text.length:i.children.length;if(o==(t>0?a:0)){if(0==n)return this.done=!0,this.value="",this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((1&r)==(t>0?0:1)){if(this.offsets[n]+=t,0==e)return this.lineBreak=!0,this.value="\n",this;e--}else if(i instanceof qt){var s=i.text[o+(t<0?-1:0)];if(this.offsets[n]+=t,s.length>Math.max(0,e))return this.value=0==e?s:t>0?s.slice(e):s.slice(0,s.length-e),this;e-=s.length}else{e>(s=i.children[o+(t<0?-1:0)]).length?(e-=s.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(s),this.offsets.push(t>0?1:(s instanceof qt?s.text.length:s.children.length)<<1))}}},e.prototype.next=function(e){return void 0===e&&(e=0),e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)},e}(),Gt=function(){function e(e,t,n){this.value="",this.done=!1,this.cursor=new Wt(e,t>n?-1:1),this.pos=t>n?e.length:0,this.from=Math.min(t,n),this.to=Math.max(t,n)}return e.prototype.nextInner=function(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);var n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;var i=this.cursor.next(e).value;return this.pos+=(i.length+e)*t,this.value=i.length<=n?i:t<0?i.slice(i.length-n):i.slice(0,n),this.done=!this.value,this},e.prototype.next=function(e){return void 0===e&&(e=0),e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)},Object.defineProperty(e.prototype,"lineBreak",{get:function(){return this.cursor.lineBreak&&""!=this.value},enumerable:!1,configurable:!0}),e}(),Kt=function(){function e(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}return e.prototype.next=function(e){void 0===e&&(e=0);var t=this.inner.next(e),n=t.done,i=t.lineBreak,r=t.value;return n?(this.done=!0,this.value=""):i?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=r,this.afterBreak=!1),this},Object.defineProperty(e.prototype,"lineBreak",{get:function(){return!1},enumerable:!1,configurable:!0}),e}();"undefined"!=typeof Symbol&&(zt.prototype[Symbol.iterator]=function(){return this.iter()},Wt.prototype[Symbol.iterator]=Gt.prototype[Symbol.iterator]=Kt.prototype[Symbol.iterator]=function(){return this});for(var Yt=function(){function e(e,t,n,i){this.from=e,this.to=t,this.number=n,this.text=i}return Object.defineProperty(e.prototype,"length",{get:function(){return this.to-this.from},enumerable:!1,configurable:!0}),e}(),Xt="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map((function(e){return e?parseInt(e,36):1})),$t=1;$te)return Xt[t-1]<=e;return!1}function Qt(e){return e>=127462&&e<=127487}function Jt(e,t,n,i){return void 0===n&&(n=!0),void 0===i&&(i=!0),(n?en:tn)(e,t,i)}function en(e,t,n){if(t==e.length)return t;t&&nn(e.charCodeAt(t))&&rn(e.charCodeAt(t-1))&&t--;var i=on(e,t);for(t+=sn(i);t=0&&Qt(on(e,a));)o++,a-=2;if(o%2==0)break;t+=2}}return t}function tn(e,t,n){for(;t>0;){var i=en(e,t-2,n);if(i=56320&&e<57344}function rn(e){return e>=55296&&e<56320}function on(e,t){var n=e.charCodeAt(t);if(!rn(n)||t+1==e.length)return n;var i=e.charCodeAt(t+1);return nn(i)?i-56320+(n-55296<<10)+65536:n}function an(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function sn(e){return e<65536?1:2}var ln=/\r\n?|\n/,cn=function(e){return e[e.Simple=0]="Simple",e[e.TrackDel=1]="TrackDel",e[e.TrackBefore=2]="TrackBefore",e[e.TrackAfter=3]="TrackAfter",e}(cn||(cn={})),un=function(){function e(e){this.sections=e}return Object.defineProperty(e.prototype,"length",{get:function(){for(var e=0,t=0;te)return r+(e-i);r+=a}else{if(n!=cn.Simple&&l>=e&&(n==cn.TrackDel&&ie||n==cn.TrackBefore&&ie))return null;if(l>e||l==e&&t<0&&!a)return e==i||t<0?r:r+s;r+=s}i=l}if(e>i)throw new RangeError("Position ".concat(e," is out of range for changeset of length ").concat(i));return r},e.prototype.touchesRange=function(e,t){void 0===t&&(t=e);for(var n=0,i=0;n=0&&i<=t&&r>=e)return!(it)||"cover";i=r}return!1},e.prototype.toString=function(){for(var e="",t=0;t=0?":"+i:"")}return e},e.prototype.toJSON=function(){return this.sections},e.fromJSON=function(t){if(!Array.isArray(t)||t.length%2||t.some((function(e){return"number"!=typeof e})))throw new RangeError("Invalid JSON representation of ChangeDesc");return new e(t)},e.create=function(t){return new e(t)},e}(),hn=function(e){function t(t,n){var i=e.call(this,t)||this;return i.inserted=n,i}return f(t,e),t.prototype.apply=function(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return fn(this,(function(t,n,i,r,o){return e=e.replace(i,i+(n-t),o)}),!1),e},t.prototype.mapDesc=function(e,t){return void 0===t&&(t=!1),mn(this,e,t,!0)},t.prototype.invert=function(e){for(var n=this.sections.slice(),i=[],r=0,o=0;r=0){n[r]=s,n[r+1]=a;for(var l=r>>1;i.length0&&dn(i,n,o.text),o.forward(h),s+=h}for(var u=e[a++];s>1].toJSON()))}return e},t.of=function(e,n,i){var r=[],o=[],a=0,s=null;function l(e){if(void 0===e&&(e=!1),e||r.length){af||p<0||f>n)throw new RangeError("Invalid change range ".concat(p," to ").concat(f," (in doc of length ").concat(n,")"));var g=m?"string"==typeof m?zt.of(m.split(i||ln)):m:zt.empty,v=g.length;if(p==f&&0==v)return;pa&&pn(r,p-a,-1),pn(r,f-p,v),dn(o,r,g),a=f}}(e),l(!s),s},t.empty=function(e){return new t(e?[e,-1]:[],[])},t.fromJSON=function(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");for(var n=[],i=[],r=0;r=0&&n<=0&&n==e[r+1]?e[r]+=t:0==t&&0==e[r]?e[r+1]+=n:i?(e[r]+=t,e[r+1]+=n):e.push(t,n)}}function dn(e,t,n){if(0!=n.length){var i=t.length-2>>1;if(i>1])),!(n||a==e.sections.length||e.sections[a+1]<0);)s=e.sections[a++],l=e.sections[a++];t(r,c,o,u,h),r=c,o=u}}}function mn(e,t,n,i){void 0===i&&(i=!1);for(var r=[],o=i?[]:null,a=new vn(e),s=new vn(t),l=-1;;){if(-1==a.ins&&-1==s.ins)pn(r,c=Math.min(a.len,s.len),-1),a.forward(c),s.forward(c);else if(s.ins>=0&&(a.ins<0||l==a.i||0==a.off&&(s.len=0&&l=0)){if(a.done&&s.done)return o?hn.createSet(r,o):un.create(r);throw new Error("Mismatched change set lengths")}c=0;for(var h=a.len;h;)if(-1==s.ins){c+=u=Math.min(h,s.len),h-=u,s.forward(u)}else{if(!(0==s.ins&&s.lenl||a.ins>=0&&a.len>l)&&(s||i.length>c),o.forward2(l),a.forward(l)}else pn(i,0,a.ins,s),r&&dn(r,i,a.text),a.next()}}var vn=function(){function e(e){this.set=e,this.i=0,this.next()}return e.prototype.next=function(){var e=this.set.sections;this.i>1;return t>=e.length?zt.empty:e[t]},enumerable:!1,configurable:!0}),e.prototype.textBit=function(e){var t=this.set.inserted,n=this.i-2>>1;return n>=t.length&&!e?zt.empty:t[n].slice(this.off,null==e?void 0:this.off+e)},e.prototype.forward=function(e){e==this.len?this.next():(this.len-=e,this.off+=e)},e.prototype.forward2=function(e){-1==this.ins?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)},e}(),yn=function(){function e(e,t,n){this.from=e,this.to=t,this.flags=n}return Object.defineProperty(e.prototype,"anchor",{get:function(){return 16&this.flags?this.to:this.from},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"head",{get:function(){return 16&this.flags?this.from:this.to},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"empty",{get:function(){return this.from==this.to},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"assoc",{get:function(){return 4&this.flags?-1:8&this.flags?1:0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"bidiLevel",{get:function(){var e=3&this.flags;return 3==e?null:e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"goalColumn",{get:function(){var e=this.flags>>5;return 33554431==e?void 0:e},enumerable:!1,configurable:!0}),e.prototype.map=function(t,n){var i,r;return void 0===n&&(n=-1),this.empty?i=r=t.mapPos(this.from,n):(i=t.mapPos(this.from,1),r=t.mapPos(this.to,-1)),i==this.from&&r==this.to?this:new e(i,r,this.flags)},e.prototype.extend=function(e,t){if(void 0===t&&(t=e),e<=this.anchor&&t>=this.anchor)return bn.range(e,t);var n=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return bn.range(this.anchor,n)},e.prototype.eq=function(e){return this.anchor==e.anchor&&this.head==e.head},e.prototype.toJSON=function(){return{anchor:this.anchor,head:this.head}},e.fromJSON=function(e){if(!e||"number"!=typeof e.anchor||"number"!=typeof e.head)throw new RangeError("Invalid JSON representation for SelectionRange");return bn.range(e.anchor,e.head)},e.create=function(t,n,i){return new e(t,n,i)},e}(),bn=function(){function e(e,t){this.ranges=e,this.mainIndex=t}return e.prototype.map=function(t,n){return void 0===n&&(n=-1),t.empty?this:e.create(this.ranges.map((function(e){return e.map(t,n)})),this.mainIndex)},e.prototype.eq=function(e){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(var t=0;t=t.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new e(t.ranges.map((function(e){return yn.fromJSON(e)})),t.main)},e.single=function(t,n){return void 0===n&&(n=t),new e([e.range(t,n)],0)},e.create=function(t,n){if(void 0===n&&(n=0),0==t.length)throw new RangeError("A selection needs at least one range");for(var i=0,r=0;re?4:0))},e.normalized=function(t,n){void 0===n&&(n=0);var i=t[n];t.sort((function(e,t){return e.from-t.from})),n=t.indexOf(i);for(var r=1;ro.head?e.range(l,s):e.range(s,l))}}return new e(t,n)},e}();function wn(e,t){for(var n=0,i=e.ranges;nt)throw new RangeError("Selection points outside of document")}}var kn=0,Cn=function(){function e(e,t,n,i,r){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=i,this.id=kn++,this.default=e([]),this.extensions="function"==typeof r?r(this):r}return e.define=function(t){return void 0===t&&(t={}),new e(t.combine||function(e){return e},t.compareInput||function(e,t){return e===t},t.compare||(t.combine?function(e,t){return e===t}:xn),!!t.static,t.enables)},e.prototype.of=function(e){return new En([],this,0,e)},e.prototype.compute=function(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new En(e,this,1,t)},e.prototype.computeN=function(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new En(e,this,2,t)},e.prototype.from=function(e,t){return t||(t=function(e){return e}),this.compute([e],(function(n){return t(n.field(e))}))},e}();function xn(e,t){return e==t||e.length==t.length&&e.every((function(e,n){return e===t[n]}))}var En=function(){function e(e,t,n,i){this.dependencies=e,this.facet=t,this.type=n,this.value=i,this.id=kn++}return e.prototype.dynamicSlot=function(e){for(var t,n=this,i=this.value,r=this.facet.compareInput,o=this.id,a=e[o]>>1,s=2==this.type,l=!1,c=!1,u=[],h=0,p=this.dependencies;h>1;return{create:function(e){return e.values[n]=t.create(e),1},update:function(e,i){var r=e.values[n],o=t.updateF(r,i);return t.compareF(r,o)?0:(e.values[n]=o,1)},reconfigure:function(e,i){return null!=i.config.address[t.id]?(e.values[n]=i.field(t),0):(e.values[n]=t.create(e),1)}}},e.prototype.init=function(e){return[this,Tn.of({field:this,create:e})]},Object.defineProperty(e.prototype,"extension",{get:function(){return this},enumerable:!1,configurable:!0}),e}(),An=4,Ln=3,Pn=2,In=1;function Fn(e){return function(t){return new Bn(t,e)}}var On={highest:Fn(0),high:Fn(In),default:Fn(Pn),low:Fn(Ln),lowest:Fn(An)},Bn=function(e,t){this.inner=e,this.prec=t},Nn=function(){function e(){}return e.prototype.of=function(e){return new Rn(this,e)},e.prototype.reconfigure=function(t){return e.reconfigure.of({compartment:this,extension:t})},e.prototype.get=function(e){return e.config.compartments.get(this)},e}(),Rn=function(e,t){this.compartment=e,this.inner=t},Hn=function(){function e(e,t,n,i,r,o){for(this.base=e,this.compartments=t,this.dynamicSlots=n,this.address=i,this.staticValues=r,this.facets=o,this.statusTemplate=[];this.statusTemplate.length>1]},e.resolve=function(t,n,i){for(var r=[],o=Object.create(null),a=new Map,s=0,l=function(e,t,n){var i=[[],[],[],[],[]],r=new Map;function o(e,a){var s=r.get(e);if(null!=s){if(s<=a)return;var l=i[s].indexOf(e);l>-1&&i[s].splice(l,1),e instanceof Rn&&n.delete(e.compartment)}if(r.set(e,a),Array.isArray(e))for(var c=0,u=e;c>1;function s(e){for(var n=[],o=0;o>1,i=e.status[n];if(4==i)throw new Error("Cyclic dependency between fields and/or facets");if(2&i)return i;e.status[n]=4;var r=e.computeSlot(e,e.config.dynamicSlots[n]);return e.status[n]=2|r}function zn(e,t){return 1&t?e.config.staticValues[t>>1]:e.values[t>>1]}var qn=Cn.define(),Un=Cn.define({combine:function(e){return e.some((function(e){return e}))},static:!0}),_n=Cn.define({combine:function(e){return e.length?e[0]:void 0},static:!0}),jn=Cn.define(),Wn=Cn.define(),Gn=Cn.define(),Kn=Cn.define({combine:function(e){return!!e.length&&e[0]}}),Yn=function(){function e(e,t){this.type=e,this.value=t}return e.define=function(){return new Xn},e}(),Xn=function(){function e(){}return e.prototype.of=function(e){return new Yn(this,e)},e}(),$n=function(){function e(e){this.map=e}return e.prototype.of=function(e){return new Zn(this,e)},e}(),Zn=function(){function e(e,t){this.type=e,this.value=t}return e.prototype.map=function(t){var n=this.type.map(this.value,t);return void 0===n?void 0:n==this.value?this:new e(this.type,n)},e.prototype.is=function(e){return this.type==e},e.define=function(e){return void 0===e&&(e={}),new $n(e.map||function(e){return e})},e.mapEffects=function(e,t){if(!e.length)return e;for(var n=[],i=0,r=e;it.length&&n.slice(0,t.length)==t&&"."==n[t.length]))},e}();function Jn(e,t){for(var n=[],i=0,r=0;;){var o=void 0,a=void 0;if(i=e[i]))o=e[i++],a=e[i++];else{if(!(r=0;r--){var o=n[r](e);o&&Object.keys(o).length&&(i=ei(i,ti(t,o,e.changes.newLength),!0))}return i==e?e:Qn.create(t,e.changes,e.selection,i.effects,i.annotations,i.scrollIntoView)}(n?function(e){for(var t=e.startState,n=!0,i=0,r=t.facet(jn);i=0;c--){var u;e=(u=l[c](e))instanceof Qn?u:Array.isArray(u)&&1==u.length&&u[0]instanceof Qn?u[0]:ni(t,ri(u),!1)}return e}(a):a)}Qn.time=Yn.define(),Qn.userEvent=Yn.define(),Qn.addToHistory=Yn.define(),Qn.remote=Yn.define();var ii=[];function ri(e){return null==e?ii:Array.isArray(e)?e:[e]}var oi,ai=function(e){return e[e.Word=0]="Word",e[e.Space=1]="Space",e[e.Other=2]="Other",e}(ai||(ai={})),si=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;try{oi=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(e){}function li(e){return function(t){if(!/\S/.test(t))return ai.Space;if(function(e){if(oi)return oi.test(e);for(var t=0;t""&&(n.toUpperCase()!=n.toLowerCase()||si.test(n)))return!0}return!1}(t))return ai.Word;for(var n=0;n-1)return ai.Word;return ai.Other}}var ci=function(){function e(e,t,n,i,r,o){this.config=e,this.doc=t,this.selection=n,this.values=i,this.status=e.statusTemplate.slice(),this.computeSlot=r,o&&(o._state=this);for(var a=0;an.length?e:n[i-1]}))),t},e.prototype.languageDataAt=function(e,t,n){void 0===n&&(n=-1);for(var i=[],r=0,o=this.facet(qn);r0;){var l=Jt(n,a,!1);if(o(n.slice(l,a))!=ai.Word)break;a=l}for(;s>1,l=r[s]-e||(n?this.value[s].endSide:this.value[s].startSide)-t;if(s==o)return l>=0?o:a;l>=0?a=s:o=s+1}},e.prototype.between=function(e,t,n,i){for(var r=this.findIndex(t,-1e9,!0),o=this.findIndex(n,1e9,!1,r);r(d=n.mapPos(h,c.endSide))||p==d&&c.startSide>0&&c.endSide<=0)continue;(d-p||c.endSide-c.startSide)<0||(a<0&&(a=p),c.point&&(s=Math.max(s,d-p)),i.push(c),r.push(p-a),o.push(d-a))}return{mapped:i.length?new e(r,o,i,s):null,pos:a}},e}(),mi=function(){function e(e,t,n,i){this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=i}return e.create=function(t,n,i,r){return new e(t,n,i,r)},Object.defineProperty(e.prototype,"length",{get:function(){var e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){if(this.isEmpty)return 0;for(var e=this.nextLayer.size,t=0,n=this.chunk;t=0){var m=i[p++];f.addInner(m.from,m.to,m.value)||d.push(m)}else 1==h.rangeIndex&&h.chunkIndexthis.chunkEnd(h.chunkIndex)||ch.to||c=r&&e<=r+o.length&&!1===o.between(r,e-r,t-r,n))return}this.nextLayer.between(e,t,n)}},e.prototype.iter=function(e){return void 0===e&&(e=0),bi.from([this]).goto(e)},Object.defineProperty(e.prototype,"isEmpty",{get:function(){return this.nextLayer==this},enumerable:!1,configurable:!0}),e.iter=function(e,t){return void 0===t&&(t=0),bi.from(e).goto(t)},e.compare=function(e,t,n,i,r){void 0===r&&(r=-1);var o=e.filter((function(e){return e.maxPoint>0||!e.isEmpty&&e.maxPoint>=r})),a=t.filter((function(e){return e.maxPoint>0||!e.isEmpty&&e.maxPoint>=r})),s=vi(o,a,n),l=new ki(o,s,r),c=new ki(a,s,r);n.iterGaps((function(e,t,n){return Ci(l,e,c,t,n,i)})),n.empty&&0==n.length&&Ci(l,0,c,0,0,i)},e.eq=function(e,t,n,i){void 0===n&&(n=0),null==i&&(i=999999999);var r=e.filter((function(e){return!e.isEmpty&&t.indexOf(e)<0})),o=t.filter((function(t){return!t.isEmpty&&e.indexOf(t)<0}));if(r.length!=o.length)return!1;if(!r.length)return!0;for(var a=vi(r,o),s=new ki(r,a,0).goto(n),l=new ki(o,a,0).goto(n);;){if(s.to!=l.to||!xi(s.active,l.active)||s.point&&(!l.point||!s.point.eq(l.point)))return!1;if(s.to>i)return!0;s.next(),l.next()}},e.spans=function(e,t,n,i,r){void 0===r&&(r=-1);for(var o=new ki(e,null,r).goto(t),a=t,s=o.openStart;;){var l=Math.min(o.to,n);if(o.point){var c=o.activeForPoint(o.to),u=o.pointFroma&&(i.span(a,l,o.active,s),s=o.openEnd(l));if(o.to>n)return s+(o.point&&o.to>n?1:0);a=o.to,o.next()}},e.of=function(e,t){void 0===t&&(t=!1);for(var n=new gi,i=0,r=e instanceof pi?[e]:t?function(e){if(e.length>1)for(var t=e[0],n=1;n0)return e.slice().sort(di);t=i}return e}(e):e;i=this.minPoint)break}},e.prototype.setRangeIndex=function(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=i&&r.push(new yi(a,n,i,o));return 1==r.length?r[0]:new e(r)},Object.defineProperty(e.prototype,"startSide",{get:function(){return this.value?this.value.startSide:0},enumerable:!1,configurable:!0}),e.prototype.goto=function(e,t){void 0===t&&(t=-1e9);for(var n=0,i=this.heap;n>1;r>=0;r--)wi(this.heap,r);return this.next(),this},e.prototype.forward=function(e,t){for(var n=0,i=this.heap;n>1;r>=0;r--)wi(this.heap,r);(this.to-e||this.value.endSide-t)<0&&this.next()},e.prototype.next=function(){if(0==this.heap.length)this.from=this.to=1e9,this.value=null,this.rank=-1;else{var e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),wi(this.heap,0)}},e}();function wi(e,t){for(var n=e[t];;){var i=1+(t<<1);if(i>=e.length)break;var r=e[i];if(i+1=0&&(r=e[i+1],i++),n.compare(r)<0)break;e[i]=n,e[t]=r,t=i}}var ki=function(){function e(e,t,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=bi.from(e,t,n)}return e.prototype.goto=function(e,t){return void 0===t&&(t=-1e9),this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this},e.prototype.forward=function(e,t){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t)<0;)this.removeActive(this.minActive);this.cursor.forward(e,t)},e.prototype.removeActive=function(e){Ei(this.active,e),Ei(this.activeTo,e),Ei(this.activeRank,e),this.minActive=Mi(this.active,this.activeTo)},e.prototype.addActive=function(e){for(var t=0,n=this.cursor,i=n.value,r=n.to,o=n.rank;t-1&&(this.activeTo[i]-this.cursor.from||this.active[i].endSide-this.cursor.startSide)<0){if(this.activeTo[i]>e){this.to=this.activeTo[i],this.endSide=this.active[i].endSide;break}this.removeActive(i),n&&Ei(n,i)}else{if(!this.cursor.value){this.to=this.endSide=1e9;break}if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}var r=this.cursor.value;if(r.point){if(!(t&&this.cursor.to==this.to&&this.cursor.from=0&&n[o]=0&&!(this.activeRank[n]e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n]);return t.reverse()},e.prototype.openEnd=function(e){for(var t=0,n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t},e}();function Ci(e,t,n,i,r,o){e.goto(t),n.goto(i);for(var a=i+r,s=i,l=i-t;;){var c=e.to+l-n.to||e.endSide-n.endSide,u=c<0?e.to+l:n.to,h=Math.min(u,a);if(e.point||n.point?e.point&&n.point&&(e.point==n.point||e.point.eq(n.point))&&xi(e.activeForPoint(e.to+l),n.activeForPoint(n.to))||o.comparePoint(s,h,e.point,n.point):h>s&&!xi(e.active,n.active)&&o.compareRange(s,h,e.active,n.active),u>a)break;s=u,c<=0&&e.next(),c>=0&&n.next()}}function xi(e,t){if(e.length!=t.length)return!1;for(var n=0;n=t;i--)e[i+1]=e[i];e[t]=n}function Mi(e,t){for(var n=-1,i=1e9,r=0;r=t)return r;if(r==e.length)break;o+=9==e.charCodeAt(r)?n-o%n:1,r=Jt(e,r)}return!0===i?-1:e.length}const Ai="undefined"==typeof Symbol?"__ͼ":Symbol.for("ͼ"),Li="undefined"==typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),Pi="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{};class Ii{constructor(e,t){this.rules=[];let{finish:n}=t||{};function i(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}function r(e,t,o,a){let s=[],l=/^@(\w+)\b/.exec(e[0]),c=l&&"keyframes"==l[1];if(l&&null==t)return o.push(e[0]+";");for(let n in t){let a=t[n];if(/&/.test(n))r(n.split(/,\s*/).map((t=>e.map((e=>t.replace(/&/,e))))).reduce(((e,t)=>e.concat(t))),a,o);else if(a&&"object"==typeof a){if(!l)throw new RangeError("The value of a property ("+n+") should be a primitive value.");r(i(n),a,s,c)}else null!=a&&s.push(n.replace(/_.*/,"").replace(/[A-Z]/g,(e=>"-"+e.toLowerCase()))+": "+a+";")}(s.length||c)&&o.push((!n||l||a?e:e.map(n)).join(", ")+" {"+s.join(" ")+"}")}for(let t in e)r(i(t),e[t],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let e=Pi[Ai]||1;return Pi[Ai]=e+1,"ͼ"+e.toString(36)}static mount(e,t){(e[Li]||new Oi(e)).mount(Array.isArray(t)?t:[t])}}let Fi=null;class Oi{constructor(e){if(!e.head&&e.adoptedStyleSheets&&"undefined"!=typeof CSSStyleSheet){if(Fi)return e.adoptedStyleSheets=[Fi.sheet].concat(e.adoptedStyleSheets),e[Li]=Fi;this.sheet=new CSSStyleSheet,e.adoptedStyleSheets=[this.sheet].concat(e.adoptedStyleSheets),Fi=this}else{this.styleTag=(e.ownerDocument||e).createElement("style");let t=e.head||e;t.insertBefore(this.styleTag,t.firstChild)}this.modules=[],e[Li]=this}mount(e){let t=this.sheet,n=0,i=0;for(let r=0;r-1&&(this.modules.splice(a,1),i--,a=-1),-1==a){if(this.modules.splice(i++,0,o),t)for(let e=0;e",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"',229:"Q"},Ri="undefined"!=typeof navigator&&/Chrome\/(\d+)/.exec(navigator.userAgent),Hi="undefined"!=typeof navigator&&/Apple Computer/.test(navigator.vendor),Vi="undefined"!=typeof navigator&&/Gecko\/\d+/.test(navigator.userAgent),zi="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),qi="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),Ui=Ri&&(zi||+Ri[1]<57)||Vi&&zi,_i=0;_i<10;_i++)Bi[48+_i]=Bi[96+_i]=String(_i);for(_i=1;_i<=24;_i++)Bi[_i+111]="F"+_i;for(_i=65;_i<=90;_i++)Bi[_i]=String.fromCharCode(_i+32),Ni[_i]=String.fromCharCode(_i);for(var ji in Bi)Ni.hasOwnProperty(ji)||(Ni[ji]=Bi[ji]);function Wi(e){return(11==e.nodeType?e.getSelection?e:e.ownerDocument:e).getSelection()}function Gi(e,t){return!!t&&(e==t||e.contains(1!=t.nodeType?t.parentNode:t))}function Ki(e,t){if(!t||!t.anchorNode)return!1;try{return Gi(e,t.anchorNode)}catch(e){return!1}}function Yi(e){return 3==e.nodeType?ar(e,0,e.nodeValue.length).getClientRects():1==e.nodeType?e.getClientRects():[]}function Xi(e,t,n,i){return!!n&&(Zi(e,t,n,i,-1)||Zi(e,t,n,i,1))}function $i(e){for(var t=0;;t++)if(!(e=e.previousSibling))return t}function Zi(e,t,n,i,r){for(;;){if(e==n&&t==i)return!0;if(t==(r<0?0:Qi(e))){if("DIV"==e.nodeName)return!1;var o=e.parentNode;if(!o||1!=o.nodeType)return!1;t=$i(e)+(r<0?0:1),e=o}else{if(1!=e.nodeType)return!1;if(1==(e=e.childNodes[t+(r<0?-1:0)]).nodeType&&"false"==e.contentEditable)return!1;t=r<0?Qi(e):0}}}function Qi(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}var Ji={left:0,right:0,top:0,bottom:0};function er(e,t){var n=t?e.left:e.right;return{left:n,right:n,top:e.top,bottom:e.bottom}}function tr(e){return{left:0,right:e.innerWidth,top:0,bottom:e.innerHeight}}var nr,ir=function(){function e(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}return e.prototype.eq=function(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset},e.prototype.setRange=function(e){this.set(e.anchorNode,e.anchorOffset,e.focusNode,e.focusOffset)},e.prototype.set=function(e,t,n,i){this.anchorNode=e,this.anchorOffset=t,this.focusNode=n,this.focusOffset=i},e}(),rr=null;function or(e){if(e.setActive)return e.setActive();if(rr)return e.focus(rr);for(var t=[],n=e;n&&(t.push(n,n.scrollTop,n.scrollLeft),n!=n.ownerDocument);n=n.parentNode);if(e.focus(null==rr?{get preventScroll(){return rr={preventScroll:!0},!0}}:void 0),!rr){rr=!1;for(var i=0;it)return u.domBoundsAround(e,t,l);if(h>=e&&-1==i&&(i=s,r=l),l>t&&u.dom.parentNode==this.dom){o=s,a=c;break}c=h,l=h+u.breakAfter}return{from:r,to:a<0?n+this.length:a,startDOM:(i?this.children[i-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:o=0?this.children[o].dom:null}},e.prototype.markDirty=function(e){void 0===e&&(e=!1),this.dirty|=2,this.markParentsDirty(e)},e.prototype.markParentsDirty=function(e){for(var t=this.parent;t;t=t.parent){if(e&&(t.dirty|=2),1&t.dirty)return;t.dirty|=1,e=!1}},e.prototype.setParent=function(e){this.parent!=e&&(this.parent=e,this.dirty&&this.markParentsDirty(!0))},e.prototype.setDOM=function(e){this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this},Object.defineProperty(e.prototype,"rootView",{get:function(){for(var e=this;;){var t=e.parent;if(!t)return e;e=t}},enumerable:!1,configurable:!0}),e.prototype.replaceChildren=function(e,t,n){var i;void 0===n&&(n=ur),this.markDirty();for(var r=e;rthis.pos||e==this.pos&&(t>0||0==this.i||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;var n=this.children[--this.i];this.pos-=n.length+n.breakAfter}},e}();function fr(e,t,n,i,r,o,a,s,l){var c=e.children,u=c.length?c[t]:null,h=o.length?o[o.length-1]:null,p=h?h.breakAfter:a;if(!(t==i&&u&&!a&&!p&&o.length<2&&u.merge(n,r,o.length?h:null,0==n,s,l))){if(i0&&(!a&&o.length&&u.merge(n,u.length,o[0],!1,s,0)?u.breakAfter=o.shift().breakAfter:(n2),Tr={mac:Mr||/Mac/.test(gr.platform),windows:/Win/.test(gr.platform),linux:/Linux|X11/.test(gr.platform),ie:kr,ie_version:br?vr.documentMode||6:wr?+wr[1]:yr?+yr[1]:0,gecko:Cr,gecko_version:Cr?+(/Firefox\/(\d+)/.exec(gr.userAgent)||[0,0])[1]:0,chrome:!!xr,chrome_version:xr?+xr[1]:0,ios:Mr,android:/Android\b/.test(gr.userAgent),webkit:Er,safari:Sr,webkit_version:Er?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:null!=vr.documentElement.style.tabSize?"tab-size":"-moz-tab-size"},Dr=function(e){function t(t){var n=e.call(this)||this;return n.text=t,n}return f(t,e),Object.defineProperty(t.prototype,"length",{get:function(){return this.text.length},enumerable:!1,configurable:!0}),t.prototype.createDOM=function(e){this.setDOM(e||document.createTextNode(this.text))},t.prototype.sync=function(e,t){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(t&&t.node==this.dom&&(t.written=!0),this.dom.nodeValue=this.text)},t.prototype.reuseDOM=function(e){3==e.nodeType&&this.createDOM(e)},t.prototype.merge=function(e,n,i){return(!i||i instanceof t&&!(this.length-(n-e)+i.length>256))&&(this.text=this.text.slice(0,e)+(i?i.text:"")+this.text.slice(n),this.markDirty(),!0)},t.prototype.split=function(e){var n=new t(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),n},t.prototype.localPosFromDOM=function(e,t){return e==this.dom?t:t?this.text.length:0},t.prototype.domAtPos=function(e){return new cr(this.dom,e)},t.prototype.domBoundsAround=function(e,t,n){return{from:n,to:n+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}},t.prototype.coordsAt=function(e,t){return Lr(this.dom,e,t)},t}(hr),Ar=function(e){function t(t,n,i){void 0===n&&(n=[]),void 0===i&&(i=0);var r=e.call(this)||this;r.mark=t,r.children=n,r.length=i;for(var o=0,a=n;oe&&n.push(i=e&&(r=o),i=c,o++}var u=this.length-e;return this.length=e,r>-1&&(this.children.length=r,this.markDirty()),new t(this.mark,n,u)},t.prototype.domAtPos=function(e){return Nr(this,e)},t.prototype.coordsAt=function(e,t){return Hr(this,e,t)},t}(hr);function Lr(e,t,n){var i=e.nodeValue.length;t>i&&(t=i);var r=t,o=t,a=0;0==t&&n<0||t==i&&n>=0?Tr.chrome||Tr.gecko||(t?(r--,a=1):o=0)?0:s.length-1];return Tr.safari&&!a&&0==l.width&&(l=Array.prototype.find.call(s,(function(e){return e.width}))||l),a?er(l,a<0):l||null}var Pr=function(e){function t(t,n,i){var r=e.call(this)||this;return r.widget=t,r.length=n,r.side=i,r.prevWidget=null,r}return f(t,e),t.create=function(e,n,i){return new(e.customView||t)(e,n,i)},t.prototype.split=function(e){var n=t.create(this.widget,this.length-e,this.side);return this.length-=e,n},t.prototype.sync=function(e){this.dom&&this.widget.updateDOM(this.dom,e)||(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.dom.contentEditable="false")},t.prototype.getSide=function(){return this.side},t.prototype.merge=function(e,n,i,r,o,a){return!(i&&(!(i instanceof t&&this.widget.compare(i.widget))||e>0&&o<=0||n0?n.length-1:0;i=n[r],!(e>0?0==r:r==n.length-1||i.top0?-1:1);return this.length?i:er(i,this.side>0)},Object.defineProperty(t.prototype,"isEditable",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isWidget",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.destroy=function(){e.prototype.destroy.call(this),this.dom&&this.widget.destroy(this.dom)},t}(hr),Ir=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.domAtPos=function(e){var t=this.widget,n=t.topView,i=t.text;return n?Fr(e,0,n,i,(function(e,t){return e.domAtPos(t)}),(function(e){return new cr(i,Math.min(e,i.nodeValue.length))})):new cr(i,Math.min(e,i.nodeValue.length))},t.prototype.sync=function(){this.setDOM(this.widget.toDOM())},t.prototype.localPosFromDOM=function(e,t){var n=this.widget,i=n.topView,r=n.text;return i?Or(e,t,i,r):Math.min(t,this.length)},t.prototype.ignoreMutation=function(){return!1},Object.defineProperty(t.prototype,"overrideDOMText",{get:function(){return null},enumerable:!1,configurable:!0}),t.prototype.coordsAt=function(e,t){var n=this.widget,i=n.topView,r=n.text;return i?Fr(e,t,i,r,(function(e,t,n){return e.coordsAt(t,n)}),(function(e,t){return Lr(r,e,t)})):Lr(r,e,t)},t.prototype.destroy=function(){var t;e.prototype.destroy.call(this),null===(t=this.widget.topView)||void 0===t||t.destroy()},Object.defineProperty(t.prototype,"isEditable",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.canReuseDOM=function(){return!0},t}(Pr);function Fr(e,t,n,i,r,o){if(n instanceof Ar){for(var a=n.dom.firstChild;a;a=a.nextSibling){var s=hr.get(a);if(!s)return o(e,t);var l=Gi(a,i),c=s.length+(l?i.nodeValue.length:0);if(e=0;)if(t<0?i>0:i0?-1:1);return n&&n.topt.top?{left:t.left,right:t.right,top:n.top,bottom:n.bottom}:t},Object.defineProperty(t.prototype,"overrideDOMText",{get:function(){return zt.empty},enumerable:!1,configurable:!0}),t}(hr);function Nr(e,t){for(var n=e.dom,i=e.children,r=0,o=0;ro&&t0;l--){var c=i[l-1];if(c.dom.parentNode==n)return c.domAtPos(c.length)}for(l=r;l0&&t instanceof Ar&&r.length&&(i=r[r.length-1])instanceof Ar&&i.mark.eq(t.mark)?Rr(i,t.children[0],n-1):(r.push(t),t.setParent(e)),e.length+=t.length}function Hr(e,t,n){var i=null,r=-1,o=null,a=-1;!function e(t,n){for(var s=0,l=0;s=n&&(c.children.length?e(c,n-l):!o&&(u>n||l==u&&c.getSide()>0)?(o=c,a=n-l):(l0?3e8:-4e8:t>0?1e8:-1e8,t,n,e.widget||null,!1)},t.replace=function(e){var t,n,i=!!e.block;if(e.isBlockGap)t=-5e8,n=4e8;else{var r=Yr(e,i);t=(r.start?i?-3e8:-1:5e8)-1,n=1+(r.end?i?2e8:1:-6e8)}return new Kr(e,t,n,i,e.widget||null,!0)},t.line=function(e){return new Gr(e)},t.set=function(e,t){return void 0===t&&(t=!1),mi.of(e,t)},t.prototype.hasHeight=function(){return!!this.widget&&this.widget.estimatedHeight>-1},t}(hi);jr.none=mi.empty;var Wr=function(e){function t(t){var n=this,i=Yr(t),r=i.start,o=i.end;return(n=e.call(this,r?-1:5e8,o?1:-6e8,null,t)||this).tagName=t.tagName||"span",n.class=t.class||"",n.attrs=t.attributes||null,n}return f(t,e),t.prototype.eq=function(e){return this==e||e instanceof t&&this.tagName==e.tagName&&this.class==e.class&&zr(this.attrs,e.attrs)},t.prototype.range=function(t,n){if(void 0===n&&(n=t),t>=n)throw new RangeError("Mark decorations may not be empty");return e.prototype.range.call(this,t,n)},t}(jr);Wr.prototype.point=!1;var Gr=function(e){function t(t){return e.call(this,-2e8,-2e8,null,t)||this}return f(t,e),t.prototype.eq=function(e){return e instanceof t&&this.spec.class==e.spec.class&&zr(this.spec.attributes,e.spec.attributes)},t.prototype.range=function(t,n){if(void 0===n&&(n=t),n!=t)throw new RangeError("Line decoration ranges must be zero-length");return e.prototype.range.call(this,t,n)},t}(jr);Gr.prototype.mapMode=cn.TrackBefore,Gr.prototype.point=!0;var Kr=function(e){function t(t,n,i,r,o,a){var s=e.call(this,n,i,o,t)||this;return s.block=r,s.isReplace=a,s.mapMode=r?n<=0?cn.TrackBefore:cn.TrackAfter:cn.TrackDel,s}return f(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return this.startSide=5},enumerable:!1,configurable:!0}),t.prototype.eq=function(e){return e instanceof t&&(n=this.widget,i=e.widget,n==i||!!(n&&i&&n.compare(i)))&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide;var n,i},t.prototype.range=function(t,n){if(void 0===n&&(n=t),this.isReplace&&(t>n||t==n&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&n!=t)throw new RangeError("Widget decorations can only have zero-length ranges");return e.prototype.range.call(this,t,n)},t}(jr);function Yr(e,t){void 0===t&&(t=!1);var n=e.inclusiveStart,i=e.inclusiveEnd;return null==n&&(n=e.inclusive),null==i&&(i=e.inclusive),{start:null!=n?n:t,end:null!=i?i:t}}function Xr(e,t,n,i){void 0===i&&(i=0);var r=n.length-1;r>=0&&n[r]+i>=e?n[r]=Math.max(n[r],t):n.push(e,t)}Kr.prototype.point=!0;var $r=function(e){function t(){var t=e.apply(this,arguments)||this;return t.children=[],t.length=0,t.prevAttrs=void 0,t.attrs=null,t.breakAfter=0,t}return f(t,e),t.prototype.merge=function(e,n,i,r,o,a){if(i){if(!(i instanceof t))return!1;this.dom||i.transferDOM(this)}return r&&this.setDeco(i?i.attrs:null),mr(this,e,n,i?i.children:[],o,a),!0},t.prototype.split=function(e){var n=new t;if(n.breakAfter=this.breakAfter,0==this.length)return n;var i=this.childPos(e),r=i.i,o=i.off;o&&(n.append(this.children[r].split(o),0),this.children[r].merge(o,this.children[r].length,null,!1,0,0),r++);for(var a=r;a0&&0==this.children[r-1].length;)this.children[--r].destroy();return this.children.length=r,this.markDirty(),this.length=e,n},t.prototype.transferDOM=function(e){this.dom&&(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=void 0===this.prevAttrs?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)},t.prototype.setDeco=function(e){zr(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)},t.prototype.append=function(e,t){Rr(this,e,t)},t.prototype.addLineDeco=function(e){var t=e.spec.attributes,n=e.spec.class;t&&(this.attrs=Vr(t,this.attrs||{})),n&&(this.attrs=Vr({class:n},this.attrs||{}))},t.prototype.domAtPos=function(e){return Nr(this,e)},t.prototype.reuseDOM=function(e){"DIV"==e.nodeName&&(this.setDOM(e),this.dirty|=6)},t.prototype.sync=function(t,n){var i;this.dom?4&this.dirty&&(lr(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),void 0!==this.prevAttrs&&(qr(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),e.prototype.sync.call(this,t,n);for(var r=this.dom.lastChild;r&&hr.get(r)instanceof Ar;)r=r.lastChild;if(!(r&&this.length&&("BR"==r.nodeName||0!=(null===(i=hr.get(r))||void 0===i?void 0:i.isEditable)||Tr.ios&&this.children.some((function(e){return e instanceof Dr}))))){var o=document.createElement("BR");o.cmIgnore=!0,this.dom.appendChild(o)}},t.prototype.measureTextSize=function(){if(0==this.children.length||this.length>20)return null;for(var e=0,t=0,n=this.children;t=n){if(o instanceof t)return o;if(a>n)break}r=a+o.breakAfter}return null},t}(hr),Zr=function(e){function t(t,n,i){var r=e.call(this)||this;return r.widget=t,r.length=n,r.type=i,r.breakAfter=0,r.prevWidget=null,r}return f(t,e),t.prototype.merge=function(e,n,i,r,o,a){return!(i&&(!(i instanceof t&&this.widget.compare(i.widget))||e>0&&o<=0||n0;){if(this.textOff==this.text.length){var i=this.cursor.next(this.skip),r=i.value,o=i.lineBreak,a=i.done;if(this.skip=0,a)throw new Error("Ran out of text content when drawing inline views");if(o){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}this.text=r,this.textOff=0}var s=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(t.slice(t.length-n)),this.getLine().append(Jr(new Dr(this.text.slice(this.textOff,this.textOff+s)),t),n),this.atCursorPos=!0,this.textOff+=s,e-=s,n=0}},e.prototype.span=function(e,t,n,i){this.buildText(t-e,n,i),this.pos=t,this.openStart<0&&(this.openStart=i)},e.prototype.point=function(e,t,n,i,r,o){if(this.disallowBlockEffectsFor[o]&&n instanceof Kr){if(n.block)throw new RangeError("Block decorations may not be specified via plugins");if(t>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}var a=t-e;if(n instanceof Kr)if(n.block){var s=n.type;s!=_r.WidgetAfter||this.posCovered()||this.getLine(),this.addBlockWidget(new Zr(n.widget||new eo("div"),a,s))}else{var l=Pr.create(n.widget||new eo("span"),a,a?0:n.startSide),c=this.atCursorPos&&!l.isEditable&&r<=i.length&&(e0),u=!l.isEditable&&(ei.length||n.startSide<=0),h=this.getLine();2!=this.pendingBuffer||c||(this.pendingBuffer=0),this.flushBuffer(i),c&&(h.append(Jr(new Br(1),i),r),r=i.length+Math.max(0,r-i.length)),h.append(Jr(l,i),r),this.atCursorPos=u,this.pendingBuffer=u?ei.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=i.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(n);a&&(this.textOff+a<=this.text.length?this.textOff+=a:(this.skip+=a-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=t),this.openStart<0&&(this.openStart=r)},e.build=function(t,n,i,r,o){var a=new e(t,n,i,o);return a.openEnd=mi.spans(r,n,i,a),a.openStart<0&&(a.openStart=a.openEnd),a.finish(a.openEnd),a},e}();function Jr(e,t){for(var n=0,i=t;n0;t--){var i=e[t-1];if(!(i.fromA>n.toA)){if(i.toAu)break;o+=2}if(!l)return i;new e(l.fromA,l.toA,l.fromB,l.toB).addToSet(i),a=l.toA,s=l.toB}},e}(),Mo=function(){function e(e,t,n){this.view=e,this.state=t,this.transactions=n,this.flags=0,this.startState=e.state,this.changes=hn.empty(this.startState.doc.length);for(var i=0,r=n;i0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"heightChanged",{get:function(){return(2&this.flags)>0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"geometryChanged",{get:function(){return this.docChanged||(10&this.flags)>0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"focusChanged",{get:function(){return(1&this.flags)>0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"docChanged",{get:function(){return!this.changes.empty},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selectionSet",{get:function(){return this.transactions.some((function(e){return e.selection}))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"empty",{get:function(){return 0==this.flags&&0==this.transactions.length},enumerable:!1,configurable:!0}),e}(),To=function(e){return e[e.LTR=0]="LTR",e[e.RTL=1]="RTL",e}(To||(To={})),Do=To.LTR,Ao=To.RTL;function Lo(e){for(var t=[],n=0;n=t){if(a.level==n)return o;(r<0||(0!=i?i<0?a.fromt:e[r].level>a.level))&&(r=o)}}if(r<0)throw new RangeError("Index out of range");return r},e}(),_o=[];function jo(e,t){var n=e.length,i=t==Do?1:2,r=t==Do?2:1;if(!e||1==i&&!qo.test(e))return Wo(n);for(var o=0,a=i,s=i;o=0;g-=3)if(Oo[g+1]==-f){var v=Oo[g+2],y=2&v?i:4&v?1&v?r:i:0;y&&(_o[o]=_o[Oo[g]]=y),h=g;break}}else{if(189==Oo.length)break;Oo[h++]=o,Oo[h++]=d,Oo[h++]=p}else if(2==(m=_o[o])||1==m){var b=m==i;p=b?0:1;for(g=h-3;g>=0;g-=3){var w=Oo[g+2];if(2&w)break;if(b)Oo[g+2]|=2;else{if(4&w)break;Oo[g+2]|=4}}}for(o=0;ox;){l=u;for(var S=2!=_o[--u];u>x&&S==(2!=_o[u-1]);)u--;C.push(new Uo(u,l,S?2:1))}else C.push(new Uo(x,o,0))}else for(o=0;o1)for(var c=0,u=this.points;cthis.text.length&&(h.pos-=s-1)}r=a+s}},e.prototype.readNode=function(e){if(!e.cmIgnore){var t=hr.get(e),n=t&&t.overrideDOMText;if(null!=n){this.findPointInside(e,n.length);for(var i=n.iter();!i.next().done;)i.lineBreak?this.lineBreak():this.append(i.value)}else 3==e.nodeType?this.readTextNode(e):"BR"==e.nodeName?e.nextSibling&&this.lineBreak():1==e.nodeType&&this.readRange(e.firstChild,null)}},e.prototype.findPointBefore=function(e,t){for(var n=0,i=this.points;n0&&n.length&&(n.every((function(e){var n=e.fromA;return e.toAt.minWidthTo}))?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.view.inputState.composing<0?this.compositionDeco=jr.none:(e.transactions.length||this.dirty)&&(this.compositionDeco=function(e,t){var n=ea(e);if(!n)return jr.none;var i=n.from,r=n.to,o=n.node,a=n.text,s=t.mapPos(i,1),l=Math.max(s,t.mapPos(r,-1)),c=e.state,u=3==o.nodeType?o.nodeValue:new Xo([],c).readRange(o.firstChild,null).text;if(l-s=0?e[i]:null;if(!r)break;var o=r.fromA,a=r.toA,s=r.fromB,l=r.toB,c=Qr.build(this.view.state.doc,s,l,this.decorations,this.dynamicDecorationMap),u=c.content,h=c.breakAtStart,p=c.openStart,d=c.openEnd,f=n.findPos(a,1),m=f.i,g=f.off,v=n.findPos(o,-1);fr(this,v.i,v.off,m,g,u,h,p,d)}},t.prototype.updateSelection=function(e,t){var n=this;if(void 0===e&&(e=!1),void 0===t&&(t=!1),!e&&this.view.observer.selectionRange.focusNode||this.view.observer.readSelectionRange(),t||this.mayControlSelection()){var i=this.forceSelection;this.forceSelection=!1;var r=this.view.state.selection.main,o=this.domAtPos(r.anchor),a=r.empty?o:this.domAtPos(r.head);if(Tr.gecko&&r.empty&&function(e){return 1==e.node.nodeType&&e.node.firstChild&&(0==e.offset||"false"==e.node.childNodes[e.offset-1].contentEditable)&&(e.offset==e.node.childNodes.length||"false"==e.node.childNodes[e.offset].contentEditable)}(o)){var s=document.createTextNode("");this.view.observer.ignore((function(){return o.node.insertBefore(s,o.node.childNodes[o.offset]||null)})),o=a=new cr(s,0),i=!0}var l=this.view.observer.selectionRange;!i&&l.focusNode&&Xi(o.node,o.offset,l.anchorNode,l.anchorOffset)&&Xi(a.node,a.offset,l.focusNode,l.focusOffset)||(this.view.observer.ignore((function(){var e;Tr.android&&Tr.chrome&&n.dom.contains(l.focusNode)&&function(e,t){for(var n=e;n&&n!=t;n=n.assignedSlot||n.parentNode)if(1==n.nodeType&&"false"==n.contentEditable)return!0;return!1}(l.focusNode,n.dom)&&(n.dom.blur(),n.dom.focus({preventScroll:!0}));var t,i,s=Wi(n.view.root);if(s)if(r.empty){if(Tr.gecko){var c=(t=o.node,i=o.offset,1!=t.nodeType?0:(i&&"false"==t.childNodes[i-1].contentEditable?1:0)|(ir.head&&(o=(e=[a,o])[0],a=e[1]),h.setEnd(a.node,a.offset),h.setStart(o.node,o.offset),s.removeAllRanges(),s.addRange(h)}else;})),this.view.observer.setSelectionRange(o,a)),this.impreciseAnchor=o.precise?null:new cr(l.anchorNode,l.anchorOffset),this.impreciseHead=a.precise?null:new cr(l.focusNode,l.focusOffset)}},t.prototype.enforceCursorAssoc=function(){if(!this.compositionDeco.size){var e=this.view,t=e.state.selection.main,n=Wi(e.root),i=e.observer.selectionRange,r=i.anchorNode,o=i.anchorOffset;if(n&&t.empty&&t.assoc&&n.modify){var a=$r.find(this,t.head);if(a){var s=a.posAtStart;if(t.head!=s&&t.head!=s+a.length){var l=this.coordsAt(t.head,-1),c=this.coordsAt(t.head,1);if(l&&c&&!(l.bottom>c.top)){var u=this.domAtPos(t.head+t.assoc);n.collapse(u.node,u.offset),n.modify("move",t.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();var h=e.observer.selectionRange;e.docView.posFromDOM(h.anchorNode,h.anchorOffset)!=t.from&&n.collapse(r,o)}}}}}},t.prototype.mayControlSelection=function(){var e=this.view.root.activeElement;return e==this.dom||Ki(this.dom,this.view.observer.selectionRange)&&!(e&&this.dom.contains(e))},t.prototype.nearest=function(e){for(var t=e;t;){var n=hr.get(t);if(n&&n.rootView==this)return n;t=t.parentNode}return null},t.prototype.posFromDOM=function(e,t){var n=this.nearest(e);if(!n)throw new RangeError("Trying to find position for a DOM position outside of the document");return n.localPosFromDOM(e,t)+n.posAtStart},t.prototype.domAtPos=function(e){for(var t=this.childCursor().findPos(e,-1),n=t.i,i=t.off;no||e==o&&r.type!=_r.WidgetBefore&&r.type!=_r.WidgetAfter&&(!i||2==t||this.children[i-1].breakAfter||this.children[i-1].type==_r.WidgetBefore&&t>-2))return r.coordsAt(e-o,t);n=o}},t.prototype.measureVisibleLineHeights=function(e){for(var t=[],n=e.from,i=e.to,r=this.view.contentDOM.clientWidth,o=r>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,a=-1,s=this.view.textDirection==To.LTR,l=0,c=0;ci)break;if(l>=n){var p=u.dom.getBoundingClientRect();if(t.push(p.height),o){var d=u.dom.lastChild,f=d?Yi(d):[];if(f.length){var m=f[f.length-1],g=s?m.right-p.left:p.right-m.left;g>a&&(a=g,this.minWidth=r,this.minWidthFrom=l,this.minWidthTo=h)}}}l=h+u.breakAfter}return t},t.prototype.textDirectionAt=function(e){var t=this.childPos(e,1).i;return"rtl"==getComputedStyle(this.children[t].dom).direction?To.RTL:To.LTR},t.prototype.measureTextSize=function(){for(var e=this,t=0,n=this.children;tn){var a=t.lineBlockAt(o).bottom-t.lineBlockAt(n).top;e.push(jr.replace({widget:new Jo(a),block:!0,inclusive:!0,isBlockGap:!0}).range(n,o))}if(!r)break;n=r.to+1}return jr.set(e)},t.prototype.updateDeco=function(){for(var e=this,t=this.view.state.facet(ko).map((function(t,n){return(e.dynamicDecorationMap[n]="function"==typeof t)?t(e.view):t})),n=t.length;ni.anchor?-1:1);if(r){!i.empty&&(n=this.coordsAt(i.anchor,i.anchor>i.head?-1:1))&&(r={left:Math.min(r.left,n.left),top:Math.min(r.top,n.top),right:Math.max(r.right,n.right),bottom:Math.max(r.bottom,n.bottom)});for(var o=0,a=0,s=0,l=0,c=0,u=this.view.state.facet(xo).map((function(e){return e(t.view)}));c0&&t.bottom>h.bottom+m&&(m=t.bottom-h.bottom+m+a)):t.bottom>h.bottom&&(m=t.bottom-h.bottom+a,n<0&&t.top-m0&&t.right>h.right+f&&(f=t.right-h.right+f+o)):t.right>h.right&&(f=t.right-h.right+o,n<0&&t.left0&&n<=0)t=Qi(e=e.childNodes[t-1]);else{if(!(1==e.nodeType&&t=0))return null;e=e.childNodes[t],t=0}}}var ia=function(){function e(){this.changes=[]}return e.prototype.compareRange=function(e,t){Xr(e,t,this.changes)},e.prototype.comparePoint=function(e,t){Xr(e,t,this.changes)},e}();function ra(e,t){return t.left>e?t.left-e:Math.max(0,e-t.right)}function oa(e,t){return t.top>e?t.top-e:Math.max(0,e-t.bottom)}function aa(e,t){return e.topt.top+1}function sa(e,t){return te.bottom?{top:e.top,left:e.left,right:e.right,bottom:t}:e}function ca(e,t,n){for(var i,r,o,a,s,l,c,u,h=!1,p=e.firstChild;p;p=p.nextSibling)for(var d=Yi(p),f=0;fv||a==v&&o>g){i=p,r=m,o=g,a=v;var y=v?n0?f0)}0==g?n>m.bottom&&(!c||c.bottomm.top)&&(l=p,u=m):c&&aa(c,m)?c=la(c,m.bottom):u&&aa(u,m)&&(u=sa(u,m.top))}if(c&&c.bottom>=n?(i=s,r=c):u&&u.top<=n&&(i=l,r=u),!i)return{node:e,offset:0};var b=Math.max(r.left,Math.min(r.right,t));return 3==i.nodeType?ua(i,b,n):h&&"false"!=i.contentEditable?ca(i,b,n):{node:e,offset:Array.prototype.indexOf.call(e.childNodes,i)+(t>=(r.left+r.right)/2?1:0)}}function ua(e,t,n){for(var i=e.nodeValue.length,r=-1,o=1e9,a=0,s=0;sn?u.top-n:n-u.bottom)-1;if(u.left-1<=t&&u.right+1>=t&&h=(u.left+u.right)/2,d=p;if(Tr.chrome||Tr.gecko)ar(e,s).getBoundingClientRect().left==u.right&&(d=!p);if(h<=0)return{node:e,offset:s+(d?1:0)};r=s+(d?1:0),o=h}}}return{node:e,offset:r>-1?r:a>0?e.nodeValue.length:0}}function ha(e,t,n,i){var r,o;void 0===i&&(i=-1);var a,s=e.contentDOM.getBoundingClientRect(),l=s.top+e.viewState.paddingTop,c=e.viewState.docHeight,u=t.x,h=t.y,p=h-l;if(p<0)return 0;if(p>c)return e.state.doc.length;for(var d=e.defaultLineHeight/2,f=!1;(a=e.elementAtHeight(p)).type!=_r.Text;)for(;!((p=i>0?a.bottom+d:a.top-d)>=0&&p<=c);){if(f)return n?null:0;f=!0,i=-i}h=l+p;var m=a.from;if(me.viewport.to)return e.viewport.to==e.state.doc.length?e.state.doc.length:n?null:pa(e,s,a,u,h);var g=e.dom.ownerDocument,v=e.root.elementFromPoint?e.root:g,y=v.elementFromPoint(u,h);y&&!e.contentDOM.contains(y)&&(y=null),y||(u=Math.max(s.left+1,Math.min(s.right-1,u)),(y=v.elementFromPoint(u,h))&&!e.contentDOM.contains(y)&&(y=null));var b,w=-1;if(y&&0!=(null===(o=e.docView.nearest(y))||void 0===o?void 0:o.isEditable))if(g.caretPositionFromPoint){var k=g.caretPositionFromPoint(u,h);k&&(b=k.offsetNode,w=k.offset)}else if(g.caretRangeFromPoint){var C=g.caretRangeFromPoint(u,h);C&&(b=C.startContainer,w=C.startOffset,(!e.contentDOM.contains(b)||Tr.safari&&function(e,t,n){var i;if(3!=e.nodeType||t!=(i=e.nodeValue.length))return!1;for(var r=e.nextSibling;r;r=r.nextSibling)if(1!=r.nodeType||"BR"!=r.nodeName)return!1;return ar(e,i-1,i).getBoundingClientRect().left>n}(b,w,u)||Tr.chrome&&function(e,t,n){if(0!=t)return!1;for(var i=e;;){var r=i.parentNode;if(!r||1!=r.nodeType||r.firstChild!=i)return!1;if(r.classList.contains("cm-line"))break;i=r}var o=1==e.nodeType?e.getBoundingClientRect():ar(e,0,Math.max(e.nodeValue.length,1)).getBoundingClientRect();return n-o.left>5}(b,w,u))&&(b=void 0))}if(!b||!e.docView.dom.contains(b)){var x=$r.find(e.docView,m);if(!x)return p>a.top+a.height/2?a.to:a.from;b=(r=ca(x.dom,u,h)).node,w=r.offset}var E=e.docView.nearest(b);if(!E)return null;if(E.isWidget){var S=E.dom.getBoundingClientRect();return t.y1.5*e.defaultLineHeight&&(o+=Math.floor((r-n.top)/e.defaultLineHeight)*e.viewState.heightOracle.lineLength);var a=e.state.sliceDoc(n.from,n.to);return n.from+Di(a,o,e.state.tabSize)}function da(e,t,n,i){for(var r=e.state.doc.lineAt(t.head),o=e.bidiSpans(r),a=e.textDirectionAt(r.from),s=t,l=null;;){var c=Ko(r,o,a,s,n),u=Go;if(!c){if(r.number==(n?e.state.doc.lines:1))return s;u="\n",r=e.state.doc.line(r.number+(n?1:-1)),o=e.bidiSpans(r),c=bn.cursor(n?r.from:r.to)}if(l){if(!l(u))return s}else{if(!i)return c;l=i(u)}s=c}}function fa(e,t,n){for(var i=e.state.facet(Co).map((function(t){return t(e)})),r=function(){for(var e=!1,r=0,o=i;ri&&n.from