diff --git a/pr-preview/pr-62/_/css/site.css b/pr-preview/pr-62/_/css/site.css new file mode 100644 index 0000000..c39da22 --- /dev/null +++ b/pr-preview/pr-62/_/css/site.css @@ -0,0 +1,2608 @@ +@font-face { + font-family: Roboto; + font-style: normal; + font-weight: 400; + src: url(../font/roboto-latin-400-normal.woff2) format("woff2"), url(../font/roboto-latin-400-normal.woff) format("woff"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: Roboto; + font-style: italic; + font-weight: 400; + src: url(../font/roboto-latin-400-italic.woff2) format("woff2"), url(../font/roboto-latin-400-italic.woff) format("woff"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: Roboto; + font-style: normal; + font-weight: 500; + src: url(../font/roboto-latin-500-normal.woff2) format("woff2"), url(../font/roboto-latin-500-normal.woff) format("woff"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: Roboto; + font-style: italic; + font-weight: 500; + src: url(../font/roboto-latin-500-italic.woff2) format("woff2"), url(../font/roboto-latin-500-italic.woff) format("woff"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: Roboto Mono; + font-style: normal; + font-weight: 400; + src: url(../font/roboto-mono-latin-400-normal.woff2) format("woff2"), url(../font/roboto-mono-latin-400-normal.woff) format("woff"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +@font-face { + font-family: Roboto Mono; + font-style: normal; + font-weight: 500; + src: url(../font/roboto-mono-latin-500-normal.woff2) format("woff2"), url(../font/roboto-mono-latin-500-normal.woff) format("woff"); + unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd +} + +*, +::after, +::before { + -webkit-box-sizing: inherit; + box-sizing: inherit +} + +html { + -webkit-box-sizing: border-box; + box-sizing: border-box; + font-size: 1.0625em; + height: 100%; + scroll-behavior: smooth +} + +@media screen and (min-width:1024px) { + html { + font-size: 1.125em + } +} + +body { + background: #fff; + color: #222; + font-family: Roboto, sans-serif; + line-height: 1.15; + margin: 0; + -moz-tab-size: 4; + -o-tab-size: 4; + tab-size: 4; + word-wrap: anywhere +} + +a { + text-decoration: none +} + +a:hover { + text-decoration: underline +} + +a:active { + background-color: none +} + +code, +kbd, +pre { + font-family: Roboto Mono, monospace +} + +b, +dt, +strong, +th { + font-weight: 500 +} + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline +} + +sub { + bottom: -.25em +} + +sup { + top: -.5em +} + +em em { + font-style: normal +} + +strong strong { + font-weight: 400 +} + +button { + cursor: pointer; + font-family: inherit; + font-size: 1em; + line-height: 1.15; + margin: 0 +} + +button::-moz-focus-inner { + border: none; + padding: 0 +} + +summary { + cursor: pointer; + -webkit-tap-highlight-color: transparent; + outline: none +} + +table { + border-collapse: collapse; + word-wrap: normal +} + +object[type="image/svg+xml"]:not([width]) { + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content +} + +::-webkit-input-placeholder { + opacity: .5 +} + +::-moz-placeholder { + opacity: .5 +} + +:-ms-input-placeholder { + opacity: .5 +} + +::-ms-input-placeholder { + opacity: .5 +} + +::placeholder { + opacity: .5 +} + +@media (pointer:fine) { + @supports (scrollbar-width:thin) { + html { + scrollbar-color: #c1c1c1 #fafafa + } + + body * { + scrollbar-width: thin; + scrollbar-color: #c1c1c1 transparent + } + } + + html::-webkit-scrollbar { + background-color: #fafafa; + height: 12px; + width: 12px + } + + body ::-webkit-scrollbar { + height: 6px; + width: 6px + } + + ::-webkit-scrollbar-thumb { + background-clip: padding-box; + background-color: #c1c1c1; + border: 3px solid transparent; + border-radius: 12px + } + + body ::-webkit-scrollbar-thumb { + border-width: 1.75px; + border-radius: 6px + } + + ::-webkit-scrollbar-thumb:hover { + background-color: #9c9c9c + } +} + +@media screen and (min-width:1024px) { + .body { + display: -webkit-box; + display: -ms-flexbox; + display: flex + } +} + +.nav-container { + position: fixed; + top: 3.5rem; + left: 0; + width: 100%; + font-size: .94444rem; + z-index: 1; + visibility: hidden +} + +@media screen and (min-width:769px) { + .nav-container { + width: 15rem + } +} + +@media screen and (min-width:1024px) { + .nav-container { + font-size: .86111rem; + -webkit-box-flex: 0; + -ms-flex: none; + flex: none; + position: static; + top: 0; + visibility: visible + } +} + +.nav-container.is-active { + visibility: visible +} + +.nav { + background: #fafafa; + position: relative; + top: 2.5rem; + height: calc(100vh - 6rem) +} + +@media screen and (min-width:769px) { + .nav { + -webkit-box-shadow: .5px 0 3px #c1c1c1; + box-shadow: .5px 0 3px #c1c1c1 + } +} + +@media screen and (min-width:1024px) { + .nav { + top: 3.5rem; + -webkit-box-shadow: none; + box-shadow: none; + position: sticky; + height: calc(100vh - 3.5rem) + } +} + +.nav a { + color: inherit +} + +.nav .panels { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + height: inherit +} + +html.is-clipped--nav { + overflow-y: hidden +} + +.nav-panel-menu { + overflow-y: scroll; + -ms-scroll-chaining: none; + overscroll-behavior: none; + height: calc(100% - 2.5rem) +} + +.nav-panel-menu:not(.is-active) .nav-menu { + opacity: .75 +} + +.nav-panel-menu:not(.is-active)::after { + content: ""; + background: rgba(0, 0, 0, .5); + display: block; + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0 +} + +.nav-menu { + min-height: 100%; + padding: .5rem .75rem; + line-height: 1.35; + position: relative +} + +.nav-menu h3.title { + color: #424242; + font-size: inherit; + font-weight: 500; + margin: 0; + padding: .25em 0 .125em +} + +.nav-list { + list-style: none; + margin: 0 0 0 .75rem; + padding: 0 +} + +.nav-menu>.nav-list+.nav-list { + margin-top: .5rem +} + +.nav-item { + margin-top: .5em +} + +.nav-item-toggle~.nav-list { + padding-bottom: .125rem +} + +.nav-item[data-depth="0"]>.nav-list:first-child { + display: block; + margin: 0 +} + +.nav-item:not(.is-active)>.nav-list { + display: none +} + +.nav-item-toggle { + background: transparent url(../img/caret.svg) no-repeat 50%/50%; + border: none; + outline: none; + line-height: inherit; + padding: 0; + position: absolute; + height: 1.35em; + width: 1.35em; + margin-top: -.05em; + margin-left: -1.35em +} + +.nav-item.is-active>.nav-item-toggle { + -webkit-transform: rotate(90deg); + transform: rotate(90deg) +} + +.is-current-page>.nav-link, +.is-current-page>.nav-text { + font-weight: 500 +} + +.nav-panel-explore { + background: #fafafa; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0 +} + +.nav-panel-explore:not(:first-child) { + top: auto; + max-height: calc(50% + 2.5rem) +} + +.nav-panel-explore .context { + font-size: .83333rem; + -ms-flex-negative: 0; + flex-shrink: 0; + color: #5d5d5d; + -webkit-box-shadow: 0 -1px 0 #e1e1e1; + box-shadow: 0 -1px 0 #e1e1e1; + padding: 0 .5rem; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -ms-flex-pack: justify; + justify-content: space-between; + line-height: 1; + height: 2.5rem +} + +.nav-panel-explore:not(:first-child) .context { + cursor: pointer +} + +.nav-panel-explore .context .version { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: inherit; + -ms-flex-align: inherit; + align-items: inherit +} + +.nav-panel-explore .context .version::after { + content: ""; + background: url(../img/chevron.svg) no-repeat 100%/auto 100%; + width: 1.25em; + height: .75em +} + +.nav-panel-explore .components { + line-height: 1.6; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-box-shadow: inset 0 1px 5px #e1e1e1; + box-shadow: inset 0 1px 5px #e1e1e1; + background: #f0f0f0; + padding: .5rem .75rem 0; + margin: 0; + overflow-y: scroll; + -ms-scroll-chaining: none; + overscroll-behavior: none; + max-height: 100%; + display: block +} + +.nav-panel-explore:not(.is-active) .components { + display: none +} + +.nav-panel-explore .component { + display: block +} + +.nav-panel-explore .component+.component { + margin-top: .5rem +} + +.nav-panel-explore .component:last-child { + margin-bottom: .75rem +} + +.nav-panel-explore .component .title { + font-weight: 500 +} + +.nav-panel-explore .versions { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + padding-left: 0; + margin-top: -.25rem; + line-height: 1; + list-style: none +} + +.nav-panel-explore .component .version { + margin: .375rem .375rem 0 0 +} + +.nav-panel-explore .component .version a { + border: 1px solid #c1c1c1; + border-radius: .25rem; + opacity: .75; + white-space: nowrap; + padding: .125em .25em; + display: inherit +} + +.nav-panel-explore .component .is-current a { + border-color: currentColor; + opacity: .9; + font-weight: 500 +} + +@media screen and (max-width:1023.5px) { + aside.toc.sidebar { + display: none + } + + main>.content { + overflow-x: auto + } +} + +@media screen and (min-width:1024px) { + main { + -webkit-box-flex: 1; + -ms-flex: auto; + flex: auto; + min-width: 0 + } + + main>.content { + display: -webkit-box; + display: -ms-flexbox; + display: flex + } + + aside.toc.embedded { + display: none + } + + aside.toc.sidebar { + -webkit-box-flex: 0; + -ms-flex: 0 0 9rem; + flex: 0 0 9rem; + -webkit-box-ordinal-group: 2; + -ms-flex-order: 1; + order: 1 + } +} + +@media screen and (min-width:1216px) { + aside.toc.sidebar { + -ms-flex-preferred-size: 12rem; + flex-basis: 12rem + } +} + +.toolbar { + color: #5d5d5d; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + background-color: #fafafa; + -webkit-box-shadow: 0 1px 0 #e1e1e1; + box-shadow: 0 1px 0 #e1e1e1; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + font-size: .83333rem; + height: 2.5rem; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; + position: sticky; + top: 3.5rem; + z-index: 2 +} + +.toolbar a { + color: inherit +} + +.nav-toggle { + background: url(../img/menu.svg) no-repeat 50% 47.5%; + background-size: 49%; + border: none; + outline: none; + line-height: inherit; + padding: 0; + height: 2.5rem; + width: 2.5rem; + margin-right: -.25rem +} + +@media screen and (min-width:1024px) { + .nav-toggle { + display: none + } +} + +.nav-toggle.is-active { + background-image: url(../img/back.svg); + background-size: 41.5% +} + +.home-link { + display: block; + background: url(../img/home-o.svg) no-repeat 50%; + height: 1.25rem; + width: 1.25rem; + margin: .625rem +} + +.home-link.is-current, +.home-link:hover { + background-image: url(../img/home.svg) +} + +.edit-this-page { + display: none; + padding-right: .5rem +} + +@media screen and (min-width:1024px) { + .edit-this-page { + display: block + } +} + +.toolbar .edit-this-page a { + color: #8e8e8e +} + +.breadcrumbs { + display: none; + -webkit-box-flex: 1; + -ms-flex: 1 1; + flex: 1 1; + padding: 0 .5rem 0 .75rem; + line-height: 1.35 +} + +@media screen and (min-width:1024px) { + .breadcrumbs { + display: block + } +} + +a+.breadcrumbs { + padding-left: .05rem +} + +.breadcrumbs ul { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin: 0; + padding: 0; + list-style: none +} + +.breadcrumbs li { + display: inline; + margin: 0 +} + +.breadcrumbs li::after { + content: "/"; + padding: 0 .5rem +} + +.breadcrumbs li:last-of-type::after { + content: none +} + +.page-versions { + margin: 0 .2rem 0 auto; + position: relative; + line-height: 1 +} + +@media screen and (min-width:1024px) { + .page-versions { + margin-right: .7rem + } +} + +.page-versions .version-menu-toggle { + color: inherit; + background: url(../img/chevron.svg) no-repeat; + background-position: right .5rem top 50%; + background-size: auto .75em; + border: none; + outline: none; + line-height: inherit; + padding: .5rem 1.5rem .5rem .5rem; + position: relative; + z-index: 3 +} + +.page-versions .version-menu { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + min-width: 100%; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-align: end; + -ms-flex-align: end; + align-items: flex-end; + background: -webkit-gradient(linear, left top, left bottom, from(#f0f0f0), to(#f0f0f0)) no-repeat; + background: linear-gradient(180deg, #f0f0f0 0, #f0f0f0) no-repeat; + padding: 1.375rem 1.5rem .5rem .5rem; + position: absolute; + top: 0; + right: 0; + white-space: nowrap +} + +.page-versions:not(.is-active) .version-menu { + display: none +} + +.page-versions .version { + display: block; + padding-top: .5rem +} + +.page-versions .version.is-current { + display: none +} + +.page-versions .version.is-missing { + color: #8e8e8e; + font-style: italic; + text-decoration: none +} + +.toc-menu { + color: #5d5d5d +} + +.toc.sidebar .toc-menu { + margin-right: .75rem; + position: sticky; + top: 6rem +} + +.toc .toc-menu h3 { + color: #333; + font-size: .88889rem; + font-weight: 500; + line-height: 1.3; + margin: 0 -.5px; + padding-bottom: .25rem +} + +.toc.sidebar .toc-menu h3 { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + height: 2.5rem; + -webkit-box-pack: end; + -ms-flex-pack: end; + justify-content: flex-end +} + +.toc .toc-menu ul { + font-size: .83333rem; + line-height: 1.2; + list-style: none; + margin: 0; + padding: 0 +} + +.toc.sidebar .toc-menu ul { + max-height: calc(100vh - 8.5rem); + overflow-y: auto; + -ms-scroll-chaining: none; + overscroll-behavior: none +} + +@supports (scrollbar-width:none) { + .toc.sidebar .toc-menu ul { + scrollbar-width: none + } +} + +.toc .toc-menu ul::-webkit-scrollbar { + width: 0; + height: 0 +} + +@media screen and (min-width:1024px) { + .toc .toc-menu h3 { + font-size: .83333rem + } + + .toc .toc-menu ul { + font-size: .75rem + } +} + +.toc .toc-menu li { + margin: 0 +} + +.toc .toc-menu li[data-level="2"] a { + padding-left: 1.25rem +} + +.toc .toc-menu li[data-level="3"] a { + padding-left: 2rem +} + +.toc .toc-menu a { + color: inherit; + border-left: 2px solid #e1e1e1; + display: inline-block; + padding: .25rem 0 .25rem .5rem; + text-decoration: none +} + +.sidebar.toc .toc-menu a { + display: block; + outline: none +} + +.toc .toc-menu a:hover { + color: #1565c0 +} + +.toc .toc-menu a.is-active { + border-left-color: #1565c0; + color: #333 +} + +.sidebar.toc .toc-menu a:focus { + background: #fafafa +} + +.toc .toc-menu .is-hidden-toc { + display: none !important +} + +.doc { + color: #333; + font-size: inherit; + -webkit-hyphens: auto; + -ms-hyphens: auto; + hyphens: auto; + line-height: 1.6; + margin: 0 auto; + max-width: 40rem; + padding: 0 1rem 4rem +} + +@media screen and (min-width:1024px) { + .doc { + -webkit-box-flex: 1; + -ms-flex: auto; + flex: auto; + font-size: .94444rem; + margin: 0 2rem; + max-width: 46rem; + min-width: 0 + } +} + +.doc h1, +.doc h2, +.doc h3, +.doc h4, +.doc h5, +.doc h6 { + color: #191919; + font-weight: 400; + -webkit-hyphens: none; + -ms-hyphens: none; + hyphens: none; + line-height: 1.3; + margin: 1rem 0 0 +} + +.doc>h1.page:first-child { + font-size: 2rem; + margin: 1.5rem 0 +} + +@media screen and (min-width:769px) { + .doc>h1.page:first-child { + margin-top: 2.5rem + } +} + +.doc>h1.page:first-child+aside.toc.embedded { + margin-top: -.5rem +} + +.doc>h2#name+.sectionbody { + margin-top: 1rem +} + +#preamble+.sect1, +.doc .sect1+.sect1 { + margin-top: 2rem +} + +.doc h1.sect0 { + background: #f0f0f0; + font-size: 1.8em; + margin: 1.5rem -1rem 0; + padding: .5rem 1rem +} + +.doc h2:not(.discrete) { + border-bottom: 1px solid #e1e1e1; + margin-left: -1rem; + margin-right: -1rem; + padding: .4rem 1rem .1rem +} + +.doc h3:not(.discrete), +.doc h4:not(.discrete) { + font-weight: 500 +} + +.doc h1 .anchor, +.doc h2 .anchor, +.doc h3 .anchor, +.doc h4 .anchor, +.doc h5 .anchor, +.doc h6 .anchor { + position: absolute; + text-decoration: none; + width: 1.75ex; + margin-left: -1.5ex; + visibility: hidden; + font-size: .8em; + font-weight: 400; + padding-top: .05em +} + +.doc h1 .anchor::before, +.doc h2 .anchor::before, +.doc h3 .anchor::before, +.doc h4 .anchor::before, +.doc h5 .anchor::before, +.doc h6 .anchor::before { + content: "\00a7" +} + +.doc h1:hover .anchor, +.doc h2:hover .anchor, +.doc h3:hover .anchor, +.doc h4:hover .anchor, +.doc h5:hover .anchor, +.doc h6:hover .anchor { + visibility: visible +} + +.doc dl, +.doc p { + margin: 0 +} + +.doc a { + color: #1565c0 +} + +.doc a:hover { + color: #104d92 +} + +.doc a.bare { + -webkit-hyphens: none; + -ms-hyphens: none; + hyphens: none +} + +.doc a.unresolved { + color: #d32f2f +} + +.doc i.fa { + -webkit-hyphens: none; + -ms-hyphens: none; + hyphens: none; + font-style: normal +} + +.doc .colist>table code, +.doc p code, +.doc thead code { + color: #222; + background: #fafafa; + border-radius: .25em; + font-size: .95em; + padding: .125em .25em +} + +.doc code, +.doc pre { + -webkit-hyphens: none; + -ms-hyphens: none; + hyphens: none +} + +.doc pre { + font-size: .88889rem; + line-height: 1.5; + margin: 0 +} + +.doc blockquote { + margin: 0 +} + +.doc .paragraph.lead>p { + font-size: 1rem +} + +.doc .right { + float: right +} + +.doc .left { + float: left +} + +.doc .float-gap.right { + margin: 0 1rem 1rem 0 +} + +.doc .float-gap.left { + margin: 0 0 1rem 1rem +} + +.doc .float-group::after { + content: ""; + display: table; + clear: both +} + +.doc .stretch { + width: 100% +} + +.doc .underline { + text-decoration: underline +} + +.doc .line-through { + text-decoration: line-through +} + +.doc .dlist, +.doc .exampleblock, +.doc .hdlist, +.doc .imageblock, +.doc .listingblock, +.doc .literalblock, +.doc .olist, +.doc .paragraph, +.doc .partintro, +.doc .quoteblock, +.doc .sidebarblock, +.doc .tabs, +.doc .ulist, +.doc .verseblock, +.doc .videoblock, +.doc details, +.doc hr { + margin: 1rem 0 0 +} + +.doc table.tableblock { + font-size: .83333rem +} + +.doc .tablecontainer, +.doc .tablecontainer+*, +.doc :not(.tablecontainer)>table.tableblock, +.doc :not(.tablecontainer)>table.tableblock+* { + margin-top: 1.5rem +} + +.doc p.tableblock+p.tableblock { + margin-top: .5rem +} + +.doc td.tableblock>.content>:first-child { + margin-top: 0 +} + +.doc table.tableblock td, +.doc table.tableblock th { + padding: .5rem +} + +.doc table.tableblock, +.doc table.tableblock>*>tr>* { + border: 0 solid #e1e1e1 +} + +.doc table.grid-all>*>tr>* { + border-width: 1px +} + +.doc table.grid-cols>*>tr>* { + border-width: 0 1px +} + +.doc table.grid-rows>*>tr>* { + border-width: 1px 0 +} + +.doc table.grid-all>thead th, +.doc table.grid-rows>thead th { + border-bottom-width: 2.5px +} + +.doc table.frame-all { + border-width: 1px +} + +.doc table.frame-ends { + border-width: 1px 0 +} + +.doc table.frame-sides { + border-width: 0 1px +} + +.doc table.frame-none>colgroup+*>:first-child>*, +.doc table.frame-sides>colgroup+*>:first-child>* { + border-top-width: 0 +} + +.doc table.frame-sides>:last-child>:last-child>* { + border-bottom-width: 0 +} + +.doc table.frame-ends>*>tr>:first-child, +.doc table.frame-none>*>tr>:first-child { + border-left-width: 0 +} + +.doc table.frame-ends>*>tr>:last-child, +.doc table.frame-none>*>tr>:last-child { + border-right-width: 0 +} + +.doc table.stripes-all>tbody>tr, +.doc table.stripes-even>tbody>tr:nth-of-type(2n), +.doc table.stripes-hover>tbody>tr:hover, +.doc table.stripes-odd>tbody>tr:nth-of-type(odd) { + background: #fafafa +} + +.doc table.tableblock>tfoot { + background: -webkit-gradient(linear, left top, left bottom, from(#f0f0f0), to(#fff)); + background: linear-gradient(180deg, #f0f0f0 0, #fff) +} + +.doc .halign-left { + text-align: left +} + +.doc .halign-right { + text-align: right +} + +.doc .halign-center { + text-align: center +} + +.doc .valign-top { + vertical-align: top +} + +.doc .valign-bottom { + vertical-align: bottom +} + +.doc .valign-middle { + vertical-align: middle +} + +.doc .admonitionblock { + margin: 1.4rem 0 0 +} + +.doc .admonitionblock p, +.doc .admonitionblock td.content { + font-size: .88889rem +} + +.doc .admonitionblock td.content>.title+*, +.doc .admonitionblock td.content>:not(.title):first-child { + margin-top: 0 +} + +.doc .admonitionblock pre { + font-size: .83333rem +} + +.doc .admonitionblock>table { + table-layout: fixed; + position: relative; + width: 100% +} + +.doc .admonitionblock td.content { + padding: 1rem 1rem .75rem; + background: #fafafa; + width: 100%; + word-wrap: anywhere +} + +.doc .admonitionblock .icon { + position: absolute; + top: 0; + left: 0; + font-size: .83333rem; + padding: 0 .5rem; + height: 1.25rem; + line-height: 1; + font-weight: 500; + text-transform: uppercase; + border-radius: .45rem; + -webkit-transform: translate(-.5rem, -50%); + transform: translate(-.5rem, -50%) +} + +.doc .admonitionblock.caution .icon { + background-color: #a0439c; + color: #fff +} + +.doc .admonitionblock.important .icon { + background-color: #d32f2f; + color: #fff +} + +.doc .admonitionblock.note .icon { + background-color: #217ee7; + color: #fff +} + +.doc .admonitionblock.tip .icon { + background-color: #41af46; + color: #fff +} + +.doc .admonitionblock.warning .icon { + background-color: #e18114; + color: #fff +} + +.doc .admonitionblock .icon i { + display: -webkit-inline-box; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + height: 100% +} + +.doc .admonitionblock .icon i::after { + content: attr(title) +} + +.doc .imageblock, +.doc .videoblock { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center +} + +.doc .imageblock.text-left, +.doc .videoblock.text-left { + -webkit-box-align: start; + -ms-flex-align: start; + align-items: flex-start +} + +.doc .imageblock.text-right, +.doc .videoblock.text-right { + -webkit-box-align: end; + -ms-flex-align: end; + align-items: flex-end +} + +.doc .image>img, +.doc .image>object, +.doc .image>svg, +.doc .imageblock img, +.doc .imageblock object, +.doc .imageblock svg { + display: inline-block; + height: auto; + max-width: 100%; + vertical-align: middle +} + +.doc .image:not(.left):not(.right)>img { + margin-top: -.2em +} + +.doc .videoblock iframe { + max-width: 100%; + vertical-align: middle +} + +#preamble .abstract blockquote { + background: #f0f0f0; + border-left: 5px solid #e1e1e1; + color: #4a4a4a; + font-size: .88889rem; + padding: .75em 1em +} + +.doc .quoteblock, +.doc .verseblock { + background: #fafafa; + border-left: 5px solid #5d5d5d; + color: #5d5d5d +} + +.doc .quoteblock { + padding: .25rem 2rem 1.25rem +} + +.doc .quoteblock .attribution { + color: #8e8e8e; + font-size: .83333rem; + margin-top: .75rem +} + +.doc .quoteblock blockquote { + margin-top: 1rem +} + +.doc .quoteblock .paragraph { + font-style: italic +} + +.doc .quoteblock cite { + padding-left: 1em +} + +.doc .verseblock { + font-size: 1.15em; + padding: 1rem 2rem +} + +.doc .verseblock pre { + font-family: inherit; + font-size: inherit +} + +.doc ol, +.doc ul { + margin: 0; + padding: 0 0 0 2rem +} + +.doc ol.none, +.doc ol.unnumbered, +.doc ol.unstyled, +.doc ul.checklist, +.doc ul.no-bullet, +.doc ul.none, +.doc ul.unstyled { + list-style-type: none +} + +.doc ol.unnumbered, +.doc ul.no-bullet { + padding-left: 1.25rem +} + +.doc ol.unstyled, +.doc ul.unstyled { + padding-left: 0 +} + +.doc ul.circle { + list-style-type: circle +} + +.doc ul.disc { + list-style-type: disc +} + +.doc ul.square { + list-style-type: square +} + +.doc ul.circle ul:not([class]), +.doc ul.disc ul:not([class]), +.doc ul.square ul:not([class]) { + list-style: inherit +} + +.doc ol.arabic { + list-style-type: decimal +} + +.doc ol.decimal { + list-style-type: decimal-leading-zero +} + +.doc ol.loweralpha { + list-style-type: lower-alpha +} + +.doc ol.upperalpha { + list-style-type: upper-alpha +} + +.doc ol.lowerroman { + list-style-type: lower-roman +} + +.doc ol.upperroman { + list-style-type: upper-roman +} + +.doc ol.lowergreek { + list-style-type: lower-greek +} + +.doc ul.checklist { + padding-left: 1.75rem +} + +.doc ul.checklist p>i.fa-check-square-o:first-child, +.doc ul.checklist p>i.fa-square-o:first-child { + display: -webkit-inline-box; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + width: 1.25rem; + margin-left: -1.25rem +} + +.doc ul.checklist i.fa-check-square-o::before { + content: "\2713" +} + +.doc ul.checklist i.fa-square-o::before { + content: "\274f" +} + +.doc .dlist .dlist, +.doc .dlist .olist, +.doc .dlist .ulist, +.doc .olist .dlist, +.doc .olist .olist, +.doc .olist .ulist, +.doc .olist li+li, +.doc .ulist .dlist, +.doc .ulist .olist, +.doc .ulist .ulist, +.doc .ulist li+li { + margin-top: .5rem +} + +.doc .admonitionblock .listingblock, +.doc .olist .listingblock, +.doc .ulist .listingblock { + padding: 0 +} + +.doc .admonitionblock .title, +.doc .exampleblock .title, +.doc .imageblock .title, +.doc .listingblock .title, +.doc .literalblock .title, +.doc .openblock .title, +.doc .tableblock caption, +.doc .videoblock .title { + color: #5d5d5d; + font-size: .88889rem; + font-style: italic; + font-weight: 500; + -webkit-hyphens: none; + -ms-hyphens: none; + hyphens: none; + letter-spacing: .01em; + padding-bottom: .075rem +} + +.doc .tableblock caption { + text-align: left +} + +.doc .olist .title, +.doc .ulist .title { + font-style: italic; + font-weight: 500; + margin-bottom: .25rem +} + +.doc .imageblock .title { + margin-top: .5rem; + padding-bottom: 0 +} + +.doc details { + margin-left: 1rem +} + +.doc details>summary { + display: block; + position: relative; + line-height: 1.6; + margin-bottom: .5rem +} + +.doc details>summary::-webkit-details-marker { + display: none +} + +.doc details>summary::before { + content: ""; + border: solid transparent; + border-left: solid; + border-width: .3em 0 .3em .5em; + position: absolute; + top: .5em; + left: -1rem; + -webkit-transform: translateX(15%); + transform: translateX(15%) +} + +.doc details[open]>summary::before { + border-color: currentColor transparent transparent; + border-width: .5rem .3rem 0; + -webkit-transform: translateY(15%); + transform: translateY(15%) +} + +.doc details>summary::after { + content: ""; + width: 1rem; + height: 1em; + position: absolute; + top: .3em; + left: -1rem +} + +.doc details.result { + margin-top: .25rem +} + +.doc details.result>summary { + color: #5d5d5d; + font-style: italic; + margin-bottom: 0 +} + +.doc details.result>.content { + margin-left: -1rem +} + +.doc .exampleblock>.content, +.doc details.result>.content { + background: #fff; + border: .25rem solid #5d5d5d; + border-radius: .5rem; + padding: .75rem +} + +.doc .exampleblock>.content::after, +.doc details.result>.content::after { + content: ""; + display: table; + clear: both +} + +.doc .exampleblock>.content>:first-child, +.doc details>.content>:first-child { + margin-top: 0 +} + +.doc .sidebarblock { + background: #e1e1e1; + border-radius: .75rem; + padding: .75rem 1.5rem +} + +.doc .sidebarblock>.content>.title { + font-size: 1.25rem; + font-weight: 500; + line-height: 1.3; + margin-bottom: -.3em; + text-align: center +} + +.doc .sidebarblock>.content>:not(.title):first-child { + margin-top: 0 +} + +.doc .listingblock.wrap pre, +.doc .tableblock pre { + white-space: pre-wrap +} + +.doc .listingblock pre:not(.highlight), +.doc .literalblock pre, +.doc pre.highlight code { + background: #fafafa; + -webkit-box-shadow: inset 0 0 1.75px #e1e1e1; + box-shadow: inset 0 0 1.75px #e1e1e1; + display: block; + overflow-x: auto; + padding: .875em +} + +.doc .listingblock>.content { + position: relative +} + +.doc .source-toolbox { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + visibility: hidden; + position: absolute; + top: .25rem; + right: .5rem; + color: grey; + font-family: Roboto, sans-serif; + font-size: .72222rem; + line-height: 1; + white-space: nowrap; + z-index: 1 +} + +.doc .listingblock:hover .source-toolbox { + visibility: visible +} + +.doc .source-toolbox .source-lang { + text-transform: uppercase; + letter-spacing: .075em +} + +.doc .source-toolbox>:not(:last-child)::after { + content: "|"; + letter-spacing: 0; + padding: 0 1ch +} + +.doc .source-toolbox .copy-button { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + background: none; + border: none; + color: inherit; + outline: none; + padding: 0; + font-size: inherit; + line-height: inherit; + width: 1em; + height: 1em +} + +.doc .source-toolbox .copy-icon { + -webkit-box-flex: 0; + -ms-flex: none; + flex: none; + width: inherit; + height: inherit +} + +.doc .source-toolbox img.copy-icon { + -webkit-filter: invert(50.2%); + filter: invert(50.2%) +} + +.doc .source-toolbox svg.copy-icon { + fill: currentColor +} + +.doc .source-toolbox .copy-toast { + -webkit-box-flex: 0; + -ms-flex: none; + flex: none; + position: relative; + display: -webkit-inline-box; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + margin-top: 1em; + background-color: #333; + border-radius: .25em; + padding: .5em; + color: #fff; + cursor: auto; + opacity: 0; + -webkit-transition: opacity .5s ease .5s; + transition: opacity .5s ease .5s +} + +.doc .source-toolbox .copy-toast::after { + content: ""; + position: absolute; + top: 0; + width: 1em; + height: 1em; + border: .55em solid transparent; + border-left-color: #333; + -webkit-transform: rotate(-90deg) translateX(50%) translateY(50%); + transform: rotate(-90deg) translateX(50%) translateY(50%); + -webkit-transform-origin: left; + transform-origin: left +} + +.doc .source-toolbox .copy-button.clicked .copy-toast { + opacity: 1; + -webkit-transition: none; + transition: none +} + +.doc .language-console .hljs-meta { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none +} + +.doc .dlist dt { + font-style: italic +} + +.doc .dlist dd { + margin: 0 0 .25rem 1.5rem +} + +.doc .dlist dd:last-of-type { + margin-bottom: 0 +} + +.doc td.hdlist1, +.doc td.hdlist2 { + padding: .5rem 0 0; + vertical-align: top +} + +.doc tr:first-child>.hdlist1, +.doc tr:first-child>.hdlist2 { + padding-top: 0 +} + +.doc td.hdlist1 { + font-weight: 500; + padding-right: .25rem +} + +.doc td.hdlist2 { + padding-left: .25rem +} + +.doc .colist { + font-size: .88889rem; + margin: .25rem 0 -.25rem +} + +.doc .colist>table>tbody>tr>:first-child, +.doc .colist>table>tr>:first-child { + padding: .25em .5rem 0; + vertical-align: top +} + +.doc .colist>table>tbody>tr>:last-child, +.doc .colist>table>tr>:last-child { + padding: .25rem 0 +} + +.doc .conum[data-value] { + border: 1px solid; + border-radius: 100%; + display: inline-block; + font-family: Roboto, sans-serif; + font-size: .75rem; + font-style: normal; + line-height: 1.2; + text-align: center; + width: 1.25em; + height: 1.25em; + letter-spacing: -.25ex; + text-indent: -.25ex +} + +.doc .conum[data-value]::after { + content: attr(data-value) +} + +.doc .conum[data-value]+b { + display: none +} + +.doc hr { + border: solid #e1e1e1; + border-width: 2px 0 0; + height: 0 +} + +.doc b.button { + white-space: nowrap +} + +.doc b.button::before { + content: "["; + padding-right: .25em +} + +.doc b.button::after { + content: "]"; + padding-left: .25em +} + +.doc kbd { + display: inline-block; + font-size: .66667rem; + background: #fafafa; + border: 1px solid #c1c1c1; + border-radius: .25em; + -webkit-box-shadow: 0 1px 0 #c1c1c1, 0 0 0 .1em #fff inset; + box-shadow: 0 1px 0 #c1c1c1, inset 0 0 0 .1em #fff; + padding: .25em .5em; + vertical-align: text-bottom; + white-space: nowrap +} + +.doc .keyseq, +.doc kbd { + line-height: 1 +} + +.doc .keyseq { + font-size: .88889rem +} + +.doc .keyseq kbd { + margin: 0 .125em +} + +.doc .keyseq kbd:first-child { + margin-left: 0 +} + +.doc .keyseq kbd:last-child { + margin-right: 0 +} + +.doc .menuseq, +.doc .path { + -webkit-hyphens: none; + -ms-hyphens: none; + hyphens: none +} + +.doc .menuseq i.caret::before { + content: "\203a"; + font-size: 1.1em; + font-weight: 500; + line-height: .90909 +} + +.doc :not(pre).nowrap { + white-space: nowrap +} + +.doc .nobreak { + -webkit-hyphens: none; + -ms-hyphens: none; + hyphens: none; + word-wrap: normal +} + +#footnotes { + font-size: .85em; + line-height: 1.5; + margin: 2rem -.5rem 0 +} + +.doc td.tableblock>.content #footnotes { + margin: 2rem 0 0 +} + +#footnotes hr { + border-top-width: 1px; + margin-top: 0; + width: 20% +} + +#footnotes .footnote { + margin: .5em 0 0 1em +} + +#footnotes .footnote+.footnote { + margin-top: .25em +} + +#footnotes .footnote>a:first-of-type { + display: inline-block; + margin-left: -2em; + text-align: right; + width: 1.5em +} + +nav.pagination { + border-top: 1px solid #e1e1e1; + line-height: 1; + margin: 2rem -1rem -1rem; + padding: .75rem 1rem 0 +} + +nav.pagination, +nav.pagination span { + display: -webkit-box; + display: -ms-flexbox; + display: flex +} + +nav.pagination span { + -webkit-box-flex: 50%; + -ms-flex: 50%; + flex: 50%; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column +} + +nav.pagination .prev { + padding-right: .5rem +} + +nav.pagination .next { + margin-left: auto; + padding-left: .5rem; + text-align: right +} + +nav.pagination span::before { + color: #8e8e8e; + font-size: .75em; + padding-bottom: .1em +} + +nav.pagination .prev::before { + content: "Prev" +} + +nav.pagination .next::before { + content: "Next" +} + +nav.pagination a { + font-weight: 500; + line-height: 1.3; + position: relative +} + +nav.pagination a::after, +nav.pagination a::before { + color: #8e8e8e; + font-weight: 400; + font-size: 1.5em; + line-height: .75; + position: absolute; + top: 0; + width: 1rem +} + +nav.pagination .prev a::before { + content: "\2039"; + -webkit-transform: translateX(-100%); + transform: translateX(-100%) +} + +nav.pagination .next a::after { + content: "\203a" +} + +html.is-clipped--navbar { + overflow-y: hidden +} + +body { + padding-top: 3.5rem +} + +.navbar { + background: #191919; + color: #fff; + font-size: .88889rem; + height: 3.5rem; + position: fixed; + top: 0; + width: 100%; + z-index: 4 +} + +.navbar a { + text-decoration: none +} + +.navbar-brand { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 1; + -ms-flex: auto; + flex: auto; + padding-left: 1rem +} + +.navbar-brand .navbar-item { + color: #fff +} + +.navbar-brand .navbar-item:first-child { + -ms-flex-item-align: center; + align-self: center; + padding: 0; + font-size: 1.22222rem; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + line-height: 1 +} + +.navbar-brand .navbar-item:first-child a { + color: inherit; + word-wrap: normal +} + +.navbar-brand .navbar-item:first-child :not(:last-child) { + padding-right: .375rem +} + +.navbar-brand .navbar-item.search { + -webkit-box-flex: 1; + -ms-flex: auto; + flex: auto; + -webkit-box-pack: end; + -ms-flex-pack: end; + justify-content: flex-end +} + +#search-input { + color: #333; + font-family: inherit; + font-size: .95rem; + width: 150px; + border: 1px solid #dbdbdb; + border-radius: .1em; + line-height: 1.5; + padding: 0 .25em +} + +#search-input:disabled { + background-color: #dbdbdb; + cursor: not-allowed; + pointer-events: all !important +} + +#search-input:disabled::-webkit-input-placeholder { + color: #4c4c4c +} + +#search-input:disabled::-moz-placeholder { + color: #4c4c4c +} + +#search-input:disabled:-ms-input-placeholder { + color: #4c4c4c +} + +#search-input:disabled::-ms-input-placeholder { + color: #4c4c4c +} + +#search-input:disabled::placeholder { + color: #4c4c4c +} + +#search-input:focus { + outline: none +} + +.navbar-burger { + background: none; + border: none; + outline: none; + line-height: 1; + position: relative; + width: 3rem; + padding: 0; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + margin-left: auto; + min-width: 0 +} + +.navbar-burger span { + background-color: #fff; + height: 1.5px; + width: 1rem +} + +.navbar-burger:not(.is-active) span { + -webkit-transition: opacity 0s .25s, margin-top .25s ease-out .25s, -webkit-transform .25s ease-out; + transition: opacity 0s .25s, margin-top .25s ease-out .25s, -webkit-transform .25s ease-out; + transition: transform .25s ease-out, opacity 0s .25s, margin-top .25s ease-out .25s; + transition: transform .25s ease-out, opacity 0s .25s, margin-top .25s ease-out .25s, -webkit-transform .25s ease-out +} + +.navbar-burger span+span { + margin-top: .25rem +} + +.navbar-burger.is-active span+span { + margin-top: -1.5px +} + +.navbar-burger.is-active span:first-child { + -webkit-transform: rotate(45deg); + transform: rotate(45deg) +} + +.navbar-burger.is-active span:nth-child(2) { + opacity: 0 +} + +.navbar-burger.is-active span:nth-child(3) { + -webkit-transform: rotate(-45deg); + transform: rotate(-45deg) +} + +.navbar-item, +.navbar-link { + color: #222; + display: block; + line-height: 1.6; + padding: .5rem 1rem +} + +.navbar-item.has-dropdown { + padding: 0 +} + +.navbar-item .icon { + width: 1.25rem; + height: 1.25rem; + display: block +} + +.navbar-item .icon img, +.navbar-item .icon svg { + fill: currentColor; + width: inherit; + height: inherit +} + +.navbar-link { + padding-right: 2.5em +} + +.navbar-dropdown .navbar-item { + padding-left: 1.5rem; + padding-right: 1.5rem +} + +.navbar-dropdown .navbar-item.has-label { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -ms-flex-pack: justify; + justify-content: space-between +} + +.navbar-dropdown .navbar-item small { + color: #8e8e8e; + font-size: .66667rem +} + +.navbar-divider { + background-color: #e1e1e1; + border: none; + height: 1px; + margin: .25rem 0 +} + +.navbar .button { + display: -webkit-inline-box; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + background: #fff; + border: 1px solid #e1e1e1; + border-radius: .15rem; + height: 1.75rem; + color: #222; + padding: 0 .75em; + white-space: nowrap +} + +@media screen and (max-width:768.5px) { + .navbar-brand .navbar-item.search { + padding-left: 0; + padding-right: 0 + } +} + +@media screen and (min-width:769px) { + #search-input { + width: 200px + } +} + +@media screen and (max-width:1023.5px) { + .navbar-brand { + height: inherit + } + + .navbar-brand .navbar-item { + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + display: -webkit-box; + display: -ms-flexbox; + display: flex + } + + .navbar-menu { + background: #fff; + -webkit-box-shadow: 0 8px 16px rgba(10, 10, 10, .1); + box-shadow: 0 8px 16px rgba(10, 10, 10, .1); + max-height: calc(100vh - 3.5rem); + overflow-y: auto; + -ms-scroll-chaining: none; + overscroll-behavior: none; + padding: .5rem 0 + } + + .navbar-menu:not(.is-active) { + display: none + } + + .navbar-menu .navbar-link:hover, + .navbar-menu a.navbar-item:hover { + background: #f5f5f5 + } +} + +@media screen and (min-width:1024px) { + .navbar-burger { + display: none + } + + .navbar, + .navbar-end, + .navbar-item, + .navbar-link, + .navbar-menu { + display: -webkit-box; + display: -ms-flexbox; + display: flex + } + + .navbar-item, + .navbar-link { + position: relative; + -webkit-box-flex: 0; + -ms-flex: none; + flex: none + } + + .navbar-item:not(.has-dropdown), + .navbar-link { + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center + } + + .navbar-item.is-hoverable:hover .navbar-dropdown { + display: block + } + + .navbar-link::after { + border-width: 0 0 1px 1px; + border-style: solid; + content: ""; + display: block; + height: .5em; + pointer-events: none; + position: absolute; + -webkit-transform: rotate(-45deg); + transform: rotate(-45deg); + width: .5em; + margin-top: -.375em; + right: 1.125em; + top: 50% + } + + .navbar-end .navbar-link, + .navbar-end>.navbar-item { + color: #fff + } + + .navbar-end .navbar-item.has-dropdown:hover .navbar-link, + .navbar-end .navbar-link:hover, + .navbar-end>a.navbar-item:hover { + background: #000; + color: #fff + } + + .navbar-end .navbar-link::after { + border-color: currentColor + } + + .navbar-dropdown { + background: #fff; + border: 1px solid #e1e1e1; + border-top: none; + border-radius: 0 0 .25rem .25rem; + display: none; + top: 100%; + left: 0; + min-width: 100%; + position: absolute + } + + .navbar-dropdown .navbar-item { + padding: .5rem 3rem .5rem 1rem; + white-space: nowrap + } + + .navbar-dropdown .navbar-item small { + position: relative; + right: -2rem + } + + .navbar-dropdown .navbar-item:last-child { + border-radius: inherit + } + + .navbar-dropdown.is-right { + left: auto; + right: 0 + } + + .navbar-dropdown a.navbar-item:hover { + background: #f5f5f5 + } +} + +footer.footer { + background-color: #e1e1e1; + color: #5d5d5d; + font-size: .83333rem; + line-height: 1.6; + padding: 1.5rem +} + +.footer p { + margin: .5rem 0 +} + +.footer a { + color: #191919 +} + +/*! Adapted from the GitHub style by Vasily Polovnyov */ +.hljs-comment, +.hljs-quote { + color: #998; + font-style: italic +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-subst { + color: #333; + font-weight: 500 +} + +.hljs-literal, +.hljs-number, +.hljs-tag .hljs-attr, +.hljs-template-variable, +.hljs-variable { + color: teal +} + +.hljs-doctag, +.hljs-string { + color: #d14 +} + +.hljs-section, +.hljs-selector-id, +.hljs-title { + color: #900; + font-weight: 500 +} + +.hljs-subst { + font-weight: 400 +} + +.hljs-class .hljs-title, +.hljs-type { + color: #458; + font-weight: 500 +} + +.hljs-attribute, +.hljs-name, +.hljs-tag { + color: navy; + font-weight: 400 +} + +.hljs-link, +.hljs-regexp { + color: #009926 +} + +.hljs-bullet, +.hljs-symbol { + color: #990073 +} + +.hljs-built_in, +.hljs-builtin-name { + color: #0086b3 +} + +.hljs-meta { + color: #999; + font-weight: 500 +} + +.hljs-deletion { + background: #fdd +} + +.hljs-addition { + background: #dfd +} + +.hljs-emphasis { + font-style: italic +} + +.hljs-strong { + font-weight: 500 +} + +@page { + margin: .5in +} + +@media print { + .hide-for-print { + display: none !important + } + + html { + font-size: .9375em + } + + a { + color: inherit !important; + text-decoration: underline + } + + a.bare, + a[href^="#"], + a[href^="mailto:"] { + text-decoration: none + } + + img, + object, + svg, + tr { + page-break-inside: avoid + } + + thead { + display: table-header-group + } + + pre { + -webkit-hyphens: none; + -ms-hyphens: none; + hyphens: none; + white-space: pre-wrap + } + + body { + padding-top: 2rem + } + + .navbar { + background: none; + color: inherit; + position: absolute + } + + .navbar * { + color: inherit !important + } + + .nav-container, + .navbar>:not(.navbar-brand), + .toolbar, + aside.toc, + nav.pagination { + display: none + } + + .doc { + color: inherit; + margin: auto; + max-width: none; + padding-bottom: 2rem + } + + .doc .admonitionblock td.icon { + -webkit-print-color-adjust: exact; + color-adjust: exact + } + + .doc .listingblock code[data-lang]::before { + display: block + } + + footer.footer { + background: none; + border-top: 1px solid #e1e1e1; + color: #8e8e8e; + padding: .25rem .5rem 0 + } + + .footer * { + color: inherit + } +} \ No newline at end of file diff --git a/pr-preview/pr-62/_/font/roboto-latin-400-italic.woff b/pr-preview/pr-62/_/font/roboto-latin-400-italic.woff new file mode 100644 index 0000000..ebee16b Binary files /dev/null and b/pr-preview/pr-62/_/font/roboto-latin-400-italic.woff differ diff --git a/pr-preview/pr-62/_/font/roboto-latin-400-italic.woff2 b/pr-preview/pr-62/_/font/roboto-latin-400-italic.woff2 new file mode 100644 index 0000000..e1b7a79 Binary files /dev/null and b/pr-preview/pr-62/_/font/roboto-latin-400-italic.woff2 differ diff --git a/pr-preview/pr-62/_/font/roboto-latin-400-normal.woff b/pr-preview/pr-62/_/font/roboto-latin-400-normal.woff new file mode 100644 index 0000000..9eaa94f Binary files /dev/null and b/pr-preview/pr-62/_/font/roboto-latin-400-normal.woff differ diff --git a/pr-preview/pr-62/_/font/roboto-latin-400-normal.woff2 b/pr-preview/pr-62/_/font/roboto-latin-400-normal.woff2 new file mode 100644 index 0000000..020729e Binary files /dev/null and b/pr-preview/pr-62/_/font/roboto-latin-400-normal.woff2 differ diff --git a/pr-preview/pr-62/_/font/roboto-latin-500-italic.woff b/pr-preview/pr-62/_/font/roboto-latin-500-italic.woff new file mode 100644 index 0000000..b6ad1c5 Binary files /dev/null and b/pr-preview/pr-62/_/font/roboto-latin-500-italic.woff differ diff --git a/pr-preview/pr-62/_/font/roboto-latin-500-italic.woff2 b/pr-preview/pr-62/_/font/roboto-latin-500-italic.woff2 new file mode 100644 index 0000000..ae1933f Binary files /dev/null and b/pr-preview/pr-62/_/font/roboto-latin-500-italic.woff2 differ diff --git a/pr-preview/pr-62/_/font/roboto-latin-500-normal.woff b/pr-preview/pr-62/_/font/roboto-latin-500-normal.woff new file mode 100644 index 0000000..d39bb52 Binary files /dev/null and b/pr-preview/pr-62/_/font/roboto-latin-500-normal.woff differ diff --git a/pr-preview/pr-62/_/font/roboto-latin-500-normal.woff2 b/pr-preview/pr-62/_/font/roboto-latin-500-normal.woff2 new file mode 100644 index 0000000..29342a8 Binary files /dev/null and b/pr-preview/pr-62/_/font/roboto-latin-500-normal.woff2 differ diff --git a/pr-preview/pr-62/_/font/roboto-mono-latin-400-normal.woff b/pr-preview/pr-62/_/font/roboto-mono-latin-400-normal.woff new file mode 100644 index 0000000..be3eb4c Binary files /dev/null and b/pr-preview/pr-62/_/font/roboto-mono-latin-400-normal.woff differ diff --git a/pr-preview/pr-62/_/font/roboto-mono-latin-400-normal.woff2 b/pr-preview/pr-62/_/font/roboto-mono-latin-400-normal.woff2 new file mode 100644 index 0000000..f8894ba Binary files /dev/null and b/pr-preview/pr-62/_/font/roboto-mono-latin-400-normal.woff2 differ diff --git a/pr-preview/pr-62/_/font/roboto-mono-latin-500-normal.woff b/pr-preview/pr-62/_/font/roboto-mono-latin-500-normal.woff new file mode 100644 index 0000000..43ca6a1 Binary files /dev/null and b/pr-preview/pr-62/_/font/roboto-mono-latin-500-normal.woff differ diff --git a/pr-preview/pr-62/_/font/roboto-mono-latin-500-normal.woff2 b/pr-preview/pr-62/_/font/roboto-mono-latin-500-normal.woff2 new file mode 100644 index 0000000..b4f2bf8 Binary files /dev/null and b/pr-preview/pr-62/_/font/roboto-mono-latin-500-normal.woff2 differ diff --git a/pr-preview/pr-62/_/img/back.svg b/pr-preview/pr-62/_/img/back.svg new file mode 100644 index 0000000..bf7d30e --- /dev/null +++ b/pr-preview/pr-62/_/img/back.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/pr-preview/pr-62/_/img/caret.svg b/pr-preview/pr-62/_/img/caret.svg new file mode 100644 index 0000000..1af41bc --- /dev/null +++ b/pr-preview/pr-62/_/img/caret.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/pr-preview/pr-62/_/img/chevron.svg b/pr-preview/pr-62/_/img/chevron.svg new file mode 100644 index 0000000..40e962a --- /dev/null +++ b/pr-preview/pr-62/_/img/chevron.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/pr-preview/pr-62/_/img/hat-logo.png b/pr-preview/pr-62/_/img/hat-logo.png new file mode 100644 index 0000000..47128f4 Binary files /dev/null and b/pr-preview/pr-62/_/img/hat-logo.png differ diff --git a/pr-preview/pr-62/_/img/home-o.svg b/pr-preview/pr-62/_/img/home-o.svg new file mode 100644 index 0000000..95d193b --- /dev/null +++ b/pr-preview/pr-62/_/img/home-o.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/pr-preview/pr-62/_/img/home.svg b/pr-preview/pr-62/_/img/home.svg new file mode 100644 index 0000000..4e96b35 --- /dev/null +++ b/pr-preview/pr-62/_/img/home.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/pr-preview/pr-62/_/img/menu.svg b/pr-preview/pr-62/_/img/menu.svg new file mode 100644 index 0000000..8b43b2e --- /dev/null +++ b/pr-preview/pr-62/_/img/menu.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/pr-preview/pr-62/_/img/octicons-16.svg b/pr-preview/pr-62/_/img/octicons-16.svg new file mode 100644 index 0000000..e3b4e20 --- /dev/null +++ b/pr-preview/pr-62/_/img/octicons-16.svg @@ -0,0 +1 @@ +Octicons v11.2.0 by GitHub - https://primer.style/octicons/ - License: MIT \ No newline at end of file diff --git a/pr-preview/pr-62/_/img/redhat-logo.png b/pr-preview/pr-62/_/img/redhat-logo.png new file mode 100644 index 0000000..a9cf250 Binary files /dev/null and b/pr-preview/pr-62/_/img/redhat-logo.png differ diff --git a/pr-preview/pr-62/_/img/rhl-logo-red.png b/pr-preview/pr-62/_/img/rhl-logo-red.png new file mode 100644 index 0000000..954ab68 Binary files /dev/null and b/pr-preview/pr-62/_/img/rhl-logo-red.png differ diff --git a/pr-preview/pr-62/_/js/site.js b/pr-preview/pr-62/_/js/site.js new file mode 100644 index 0000000..74a8b5f --- /dev/null +++ b/pr-preview/pr-62/_/js/site.js @@ -0,0 +1,6 @@ +!function(){"use strict";var e,o,r,s=/^sect(\d)$/,i=document.querySelector(".nav-container"),a=document.querySelector(".nav-toggle"),c=i.querySelector(".nav"),l=(a.addEventListener("click",function(e){if(a.classList.contains("is-active"))return u(e);v(e);var e=document.documentElement,t=(e.classList.add("is-clipped--nav"),a.classList.add("is-active"),i.classList.add("is-active"),c.getBoundingClientRect()),n=window.innerHeight-Math.round(t.top);Math.round(t.height)!==n&&(c.style.height=n+"px");e.addEventListener("click",u)}),i.addEventListener("click",v),i.querySelector("[data-panel=menu]"));function t(){var e,t,n=window.location.hash;if(n&&(n.indexOf("%")&&(n=decodeURIComponent(n)),!(e=l.querySelector('.nav-link[href="'+n+'"]')))){n=document.getElementById(n.slice(1));if(n)for(var i=n,a=document.querySelector("article.doc");(i=i.parentNode)&&i!==a;){var c=i.id;if((c=c||(c=s.test(i.className))&&(i.firstElementChild||{}).id)&&(e=l.querySelector('.nav-link[href="#'+c+'"]')))break}}if(e)t=e.parentNode;else{if(!r)return;e=(t=r).querySelector(".nav-link")}t!==o&&(h(l,".nav-item.is-active").forEach(function(e){e.classList.remove("is-active","is-current-path","is-current-page")}),t.classList.add("is-current-page"),d(o=t),p(l,e))}function d(e){for(var t,n=e.parentNode;!(t=n.classList).contains("nav-menu");)"LI"===n.tagName&&t.contains("nav-item")&&t.add("is-active","is-current-path"),n=n.parentNode;e.classList.add("is-active")}function n(){var e,t,n,i;this.classList.toggle("is-active")&&(e=parseFloat(window.getComputedStyle(this).marginTop),t=this.getBoundingClientRect(),n=l.getBoundingClientRect(),0<(i=(t.bottom-n.top-n.height+e).toFixed()))&&(l.scrollTop+=Math.min((t.top-n.top-e).toFixed(),i))}function u(e){v(e);e=document.documentElement;e.classList.remove("is-clipped--nav"),a.classList.remove("is-active"),i.classList.remove("is-active"),e.removeEventListener("click",u)}function v(e){e.stopPropagation()}function p(e,t){var n=e.getBoundingClientRect(),i=n.height,a=window.getComputedStyle(c);"sticky"===a.position&&(i-=n.top-parseFloat(a.top)),e.scrollTop=Math.max(0,.5*(t.getBoundingClientRect().height-i)+t.offsetTop)}function h(e,t){return[].slice.call(e.querySelectorAll(t))}l&&(e=i.querySelector("[data-panel=explore]"),o=l.querySelector(".is-current-page"),(r=o)?(d(o),p(l,o.querySelector(".nav-link"))):l.scrollTop=0,h(l,".nav-item-toggle").forEach(function(e){var t=e.parentElement,e=(e.addEventListener("click",n.bind(t)),function(e,t){e=e.nextElementSibling;return(!e||!t||e[e.matches?"matches":"msMatchesSelector"](t))&&e}(e,".nav-text"));e&&(e.style.cursor="pointer",e.addEventListener("click",n.bind(t)))}),e&&e.querySelector(".context").addEventListener("click",function(){h(c,"[data-panel]").forEach(function(e){e.classList.toggle("is-active")})}),l.addEventListener("mousedown",function(e){1":"")+".sect"+c);r.push("h"+(i+1)+"[id]")}else r.push("h1[id].sect0");n.push(r.join(">"))}m=n.join(","),f=d.parentNode;var a,s=[].slice.call((f||document).querySelectorAll(m));if(!s.length)return e.parentNode.removeChild(e);var l={},u=s.reduce(function(e,t){var o=document.createElement("a"),n=(o.textContent=t.textContent,l[o.href="#"+t.id]=o,document.createElement("li"));return n.dataset.level=parseInt(t.nodeName.slice(1),10)-1,n.appendChild(o),e.appendChild(n),e},document.createElement("ul")),f=e.querySelector(".toc-menu"),m=(f||((f=document.createElement("div")).className="toc-menu"),document.createElement("h3")),e=(m.textContent=e.dataset.title||"Contents",f.appendChild(m),f.appendChild(u),!document.getElementById("toc")&&d.querySelector("h1.page ~ :not(.is-before-toc)"));e&&((m=document.createElement("aside")).className="toc embedded",m.appendChild(f.cloneNode(!0)),e.parentNode.insertBefore(m,e)),window.addEventListener("load",function(){p(),window.addEventListener("scroll",p)})}}function p(){var n,i,t,e=window.pageYOffset,o=1.15*h(document.documentElement,"fontSize"),r=d.offsetTop;e&&window.innerHeight+e+2>=document.documentElement.scrollHeight?(a=Array.isArray(a)?a:Array(a||0),n=[],i=s.length-1,s.forEach(function(e,t){var o="#"+e.id;t===i||e.getBoundingClientRect().top+h(e,"paddingTop")>r?(n.push(o),a.indexOf(o)<0&&l[o].classList.add("is-active")):~a.indexOf(o)&&l[a.shift()].classList.remove("is-active")}),u.scrollTop=u.scrollHeight-u.offsetHeight,a=1r)return!0;t="#"+e.id}),t?t!==a&&(a&&l[a].classList.remove("is-active"),(e=l[t]).classList.add("is-active"),u.scrollHeight>u.offsetHeight&&(u.scrollTop=Math.max(0,e.offsetTop+e.offsetHeight-u.offsetHeight)),a=t):a&&(l[a].classList.remove("is-active"),a=void 0))}function h(e,t){return parseFloat(window.getComputedStyle(e)[t])}}(); +!function(){"use strict";var o=document.querySelector("article.doc"),t=document.querySelector(".toolbar");function i(e){return e&&(~e.indexOf("%")?decodeURIComponent(e):e).slice(1)}function r(e){if(e){if(e.altKey||e.ctrlKey)return;window.location.hash="#"+this.id,e.preventDefault()}window.scrollTo(0,function e(t,n){return o.contains(t)?e(t.offsetParent,t.offsetTop+n):n}(this,0)-t.getBoundingClientRect().bottom)}window.addEventListener("load",function e(t){var n;(n=i(window.location.hash))&&(n=document.getElementById(n))&&(r.bind(n)(),setTimeout(r.bind(n),0)),window.removeEventListener("load",e)}),Array.prototype.slice.call(document.querySelectorAll('a[href^="#"]')).forEach(function(e){var t;(t=i(e.hash))&&(t=document.getElementById(t))&&e.addEventListener("click",r.bind(t))})}(); +!function(){"use strict";var t,e=document.querySelector(".page-versions .version-menu-toggle");e&&(t=document.querySelector(".page-versions"),e.addEventListener("click",function(e){t.classList.toggle("is-active"),e.stopPropagation()}),document.documentElement.addEventListener("click",function(){t.classList.remove("is-active")}))}(); +!function(){"use strict";var t=document.querySelector(".navbar-burger");t&&t.addEventListener("click",function(t){t.stopPropagation(),document.documentElement.classList.toggle("is-clipped--navbar"),this.classList.toggle("is-active");t=document.getElementById(this.dataset.target);{var e;t.classList.toggle("is-active")&&(t.style.maxHeight="",e=window.innerHeight-Math.round(t.getBoundingClientRect().top),parseInt(window.getComputedStyle(t).maxHeight,10)!==e)&&(t.style.maxHeight=e+"px")}}.bind(t))}(); +!function(){"use strict";var o=/^\$ (\S[^\\\n]*(\\\n(?!\$ )[^\\\n]*)*)(?=\n|$)/gm,s=/( ) *\\\n *|\\\n( ?) */g,l=/ +$/gm,e=(document.getElementById("site-script")||{dataset:{}}).dataset,d=null==e.uiRootPath?".":e.uiRootPath,r=e.svgAs,p=window.navigator.clipboard;[].slice.call(document.querySelectorAll(".doc pre.highlight, .doc .literalblock pre")).forEach(function(e){var t,n,a,c;if(e.classList.contains("highlight"))(i=(t=e.querySelector("code")).dataset.lang)&&"console"!==i&&((a=document.createElement("span")).className="source-lang",a.appendChild(document.createTextNode(i)));else{if(!e.innerText.startsWith("$ "))return;var i=e.parentNode.parentNode;i.classList.remove("literalblock"),i.classList.add("listingblock"),e.classList.add("highlightjs","highlight"),(t=document.createElement("code")).className="language-console hljs",t.dataset.lang="console",t.appendChild(e.firstChild),e.appendChild(t)}(i=document.createElement("div")).className="source-toolbox",a&&i.appendChild(a),p&&((n=document.createElement("button")).className="copy-button",n.setAttribute("title","Copy to clipboard"),"svg"===r?((a=document.createElementNS("http://www.w3.org/2000/svg","svg")).setAttribute("class","copy-icon"),(c=document.createElementNS("http://www.w3.org/2000/svg","use")).setAttribute("href",d+"/img/octicons-16.svg#icon-clippy"),a.appendChild(c),n.appendChild(a)):((c=document.createElement("img")).src=d+"/img/octicons-16.svg#view-clippy",c.alt="copy icon",c.className="copy-icon",n.appendChild(c)),(a=document.createElement("span")).className="copy-toast",a.appendChild(document.createTextNode("Copied!")),n.appendChild(a),i.appendChild(n)),e.parentNode.appendChild(i),n&&n.addEventListener("click",function(e){var t=e.innerText.replace(l,"");"console"===e.dataset.lang&&t.startsWith("$ ")&&(t=function(e){var t,n=[];for(;t=o.exec(e);)n.push(t[1].replace(s,"$1$2"));return n.join(" && ")}(t));window.navigator.clipboard.writeText(t).then(function(){this.classList.add("clicked"),this.offsetHeight,this.classList.remove("clicked")}.bind(this),function(){})}.bind(n,t))})}(); \ No newline at end of file diff --git a/pr-preview/pr-62/_/js/vendor/highlight.js b/pr-preview/pr-62/_/js/vendor/highlight.js new file mode 100644 index 0000000..f0be714 --- /dev/null +++ b/pr-preview/pr-62/_/js/vendor/highlight.js @@ -0,0 +1 @@ +!function(){function e(e){return{aliases:["adoc"],contains:[e.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),e.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,5}) .+?( \\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},{className:"bullet",begin:"^(\\*+|\\-+|\\.+|[^\\n]+?::)\\s+"},{className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},{className:"strong",begin:"\\B\\*(?![\\*\\s])",end:"(\\n{2}|\\*)",contains:[{begin:"\\\\*\\w",relevance:0}]},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0},{className:"emphasis",begin:"_(?![_\\s])",end:"(\\n{2}|_)",relevance:0},{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},{begin:"^'{3,}[ \\t]*$",relevance:10},{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+\\[.*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}function n(e){var n={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)}/}]},a={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,{className:"variable",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]}]};return{aliases:["sh","zsh"],lexemes:/\b-?[a-z\._]+\b/,keywords:{keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp",_:"-ne -eq -lt -gt -f -d -e -s -l -a"},contains:[{className:"meta",begin:/^#![^\n]+sh\s*$/,relevance:10},{className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},e.HASH_COMMENT_MODE,a,{className:"",begin:/\\"/},{className:"string",begin:/'/,end:/'/},n]}}function a(e){var n={begin:u="["+(u="a-zA-Z_\\-!.?+*=<>&#'")+"]["+u+"0-9/;:]*",relevance:0},a={className:"number",begin:"[-+]?\\d+(\\.\\d+)?",relevance:0},t=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),i=e.COMMENT(";","$",{relevance:0}),s={className:"literal",begin:/\b(true|false|nil)\b/},r={begin:"[\\[\\{]",end:"[\\]\\}]"},l={className:"comment",begin:"\\^"+u},o=e.COMMENT("\\^\\{","\\}"),c={className:"symbol",begin:"[:]{1,2}"+u},d={begin:"\\(",end:"\\)"},g={endsWithParent:!0,relevance:0},u={keywords:{"builtin-name":"def defonce cond apply if-not if-let if not not= = < > <= >= == + / * - rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit defmacro defn defn- macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy defstruct first rest cons defprotocol cast coll deftype defrecord last butlast sigs reify second ffirst fnext nfirst nnext defmulti defmethod meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},lexemes:u,className:"name",begin:u,starts:g},n=[d,t,l,o,i,c,r,a,s,n];return d.contains=[e.COMMENT("comment",""),u,g],g.contains=n,r.contains=n,o.contains=[r],{aliases:["clj"],illegal:/\S/,contains:[d,t,l,o,i,c,r,a,s]}}function t(e){function n(e){return"(?:"+e+")?"}var a="decltype\\(auto\\)",t="[a-zA-Z_]\\w*::",i={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},{begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\((?:.|\n)*?\)\1"/}]},r={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},l={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},o={className:"title",begin:n(t)+e.IDENT_RE,relevance:0},t=n(t)+e.IDENT_RE+"\\s*\\(",c={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_tshort reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr _Bool complex _Complex imaginary _Imaginary",literal:"true false nullptr NULL"},d=[i,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r,s],g={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:c,contains:d.concat([{begin:/\(/,end:/\)/,keywords:c,contains:d.concat(["self"]),relevance:0}]),relevance:0},a={className:"function",begin:"((decltype\\(auto\\)|(?:[a-zA-Z_]\\w*::)?[a-zA-Z_]\\w*(?:<.*?>)?)[\\*&\\s]+)+"+t,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:c,illegal:/[^\w\s\*&:<>]/,contains:[{begin:a,keywords:c,relevance:0},{begin:t,returnBegin:!0,contains:[o],relevance:0},{className:"params",begin:/\(/,end:/\)/,keywords:c,relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s,r,i,{begin:/\(/,end:/\)/,keywords:c,relevance:0,contains:["self",e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s,r,i]}]},i,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,l]};return{aliases:["c","cc","h","c++","h++","hpp","hh","hxx","cxx"],keywords:c,illegal:"",keywords:c,contains:["self",i]},{begin:e.IDENT_RE+"::",keywords:c},{className:"class",beginKeywords:"class struct",end:/[{;:]/,contains:[{begin://,contains:["self"]},e.TITLE_MODE]}]),exports:{preprocessor:l,strings:s,keywords:c}}}function i(e){var n={keyword:"abstract as base bool break byte case catch char checked const continue decimal default delegate do double enum event explicit extern finally fixed float for foreach goto if implicit in int interface internal is lock long object operator out override params private protected public readonly ref sbyte sealed short sizeof stackalloc static string struct switch this try typeof uint ulong unchecked unsafe ushort using virtual void volatile while add alias ascending async await by descending dynamic equals from get global group into join let nameof on orderby partial remove select set value var when where yield",literal:"null false true"},a={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},t={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},i=e.inherit(t,{illegal:/\n/}),s={className:"subst",begin:"{",end:"}",keywords:n},r=e.inherit(s,{illegal:/\n/}),l={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:"{{"},{begin:"}}"},e.BACKSLASH_ESCAPE,r]},o={className:"string",begin:/\$@"/,end:'"',contains:[{begin:"{{"},{begin:"}}"},{begin:'""'},s]},c=e.inherit(o,{illegal:/\n/,contains:[{begin:"{{"},{begin:"}}"},{begin:'""'},r]}),s=(s.contains=[o,l,t,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.C_BLOCK_COMMENT_MODE],r.contains=[c,l,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})],{variants:[o,l,t,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}),r=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?";return{aliases:["csharp","c#"],keywords:n,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"\x3c!--|--\x3e"},{begin:""}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"if else elif endif define undef warning error line region endregion pragma checksum"}},s,a,{beginKeywords:"class interface",end:/[{;=]/,illegal:/[^\s:,]/,contains:[e.TITLE_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",end:/[{;=]/,illegal:/[^\s:]/,contains:[e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"meta-string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+r+"\\s+)+"+e.IDENT_RE+"\\s*\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:n,contains:[{begin:e.IDENT_RE+"\\s*\\(",returnBegin:!0,contains:[e.TITLE_MODE],relevance:0},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:n,relevance:0,contains:[s,a,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}]}}function s(e){var n={className:"attribute",begin:/\S/,end:":",excludeEnd:!0,starts:{endsWithParent:!0,excludeEnd:!0,contains:[{begin:/[\w-]+\(/,returnBegin:!0,contains:[{className:"built_in",begin:/[\w-]+/},{begin:/\(/,end:/\)/,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.CSS_NUMBER_MODE]}]},e.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",begin:"#[0-9A-Fa-f]+"},{className:"meta",begin:"!important"}]}};return{case_insensitive:!0,illegal:/[=\/|'\$]/,contains:[e.C_BLOCK_COMMENT_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/},{className:"selector-class",begin:/\.[A-Za-z0-9_-]+/},{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},{className:"selector-pseudo",begin:/:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/},{begin:"@(page|font-face)",lexemes:"@[a-z-]+",keywords:"@page @font-face"},{begin:"@",end:"[{;]",illegal:/:/,returnBegin:!0,contains:[{className:"keyword",begin:/@\-?\w[\w]*(\-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:"and or not only",contains:[{begin:/[a-z-]+:/,className:"attribute"},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},{begin:"{",end:"}",illegal:/\S/,contains:[e.C_BLOCK_COMMENT_MODE,{begin:/(?:[A-Z\_\.\-]+|--[a-zA-Z0-9_-]+)\s*:/,returnBegin:!0,end:";",endsWithParent:!0,contains:[n]}]}]}}function r(e){return{aliases:["patch"],contains:[{className:"meta",relevance:10,variants:[{begin:/^@@ +\-\d+,\d+ +\+\d+,\d+ +@@$/},{begin:/^\*\*\* +\d+,\d+ +\*\*\*\*$/},{begin:/^\-\-\- +\d+,\d+ +\-\-\-\-$/}]},{className:"comment",variants:[{begin:/Index: /,end:/$/},{begin:/={3,}/,end:/$/},{begin:/^\-{3}/,end:/$/},{begin:/^\*{3} /,end:/$/},{begin:/^\+{3}/,end:/$/},{begin:/^\*{15}$/}]},{className:"addition",begin:"^\\+",end:"$"},{className:"deletion",begin:"^\\-",end:"$"},{className:"addition",begin:"^\\!",end:"$"}]}}function l(e){return{aliases:["docker"],case_insensitive:!0,keywords:"from maintainer expose env arg user onbuild stopsignal",contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"/}]}]}]},s={className:"string",begin:"~[A-Z](?="+s+")",contains:[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin:/\/}]},r={className:"string",contains:[e.BACKSLASH_ESCAPE,t],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},l={className:"function",beginKeywords:"def defp defmacro",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:n,endsParent:!0})]},o=e.inherit(l,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),s=[r,s,i,e.HASH_COMMENT_MODE,o,l,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[r,{begin:"[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?"}],relevance:0},{className:"symbol",begin:n+":(?!:)",relevance:0},{className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[1-9][0-9_]*(.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},{className:"variable",begin:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},{begin:"->"},{begin:"("+e.RE_STARTERS_RE+")\\s*",contains:[e.HASH_COMMENT_MODE,{className:"regexp",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t],variants:[{begin:"/",end:"/[a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}],relevance:0}];return{lexemes:n,keywords:a,contains:t.contains=s}}function c(e){var n={keyword:"break default func interface select case map struct chan else goto package switch const fallthrough if range type continue for import return var go defer bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 uint16 uint32 uint64 int uint uintptr rune",literal:"true false iota nil",built_in:"append cap close complex copy imag len make new panic print println real recover delete"};return{aliases:["golang"],keywords:n,illegal:"|<-"}]}}function u(e){var n="false synchronized int abstract float private char boolean var static null if const for true while long strictfp finally protected import native final void enum else break transient catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private module requires exports do",a={className:"number",begin:"\\b(0[bB]([01]+[01_]+[01]+|[01]+)|0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)|(([\\d]+[\\d_]+[\\d]+|[\\d]+)(\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))?|\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))([eE][-+]?\\d+)?)[lLfF]?",relevance:0};return{aliases:["jsp"],keywords:n,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"new throw return else",relevance:0},{className:"function",begin:"([À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*(<[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*(\\s*,\\s*[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*)*>)?\\s+)+"+e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:n,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,keywords:n,relevance:0,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},a,{className:"meta",begin:"@[A-Za-z]+"}]}}function _(e){var n="<>",a="",t=/<[A-Za-z0-9\\._:-]+/,i=/\/[A-Za-z0-9\\._:-]+>|\/>/,s="[A-Za-z$_][0-9A-Za-z$_]*",r={keyword:"in of if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await static import from as",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Promise"},l={className:"number",variants:[{begin:"\\b(0[bB][01]+)n?"},{begin:"\\b(0[oO][0-7]+)n?"},{begin:e.C_NUMBER_RE+"n?"}],relevance:0},o={className:"subst",begin:"\\$\\{",end:"\\}",keywords:r,contains:[]},c={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,o],subLanguage:"xml"}},d={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,o],subLanguage:"css"}},g={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,o]},o=(o.contains=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,c,d,g,l,e.REGEXP_MODE],o.contains.concat([e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]));return{aliases:["js","jsx","mjs","cjs"],keywords:r,contains:[{className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},{className:"meta",begin:/^#!/,end:/$/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,c,d,g,e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:s+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,l,{begin:/[{,\n]\s*/,relevance:0,contains:[{begin:s+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:s,relevance:0}]}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+s+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:s},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,contains:o}]}]},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:n,end:a},{begin:t,end:i}],subLanguage:"xml",contains:[{begin:t,end:i,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:s}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:o}],illegal:/\[|%/},{begin:/\$[(.]/},e.METHOD_GUARD,{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"constructor get set",end:/\{/,excludeEnd:!0}],illegal:/#(?!!)/}}function m(e){var n={literal:"true false null"},a=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],t=[e.QUOTE_STRING_MODE,e.C_NUMBER_MODE],i={end:",",endsWithParent:!0,excludeEnd:!0,contains:t,keywords:n},s={begin:"{",end:"}",contains:[{className:"attr",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE],illegal:"\\n"},e.inherit(i,{begin:/:/})].concat(a),illegal:"\\S"},e={begin:"\\[",end:"\\]",contains:[e.inherit(i)],illegal:"\\S"};return t.push(s,e),a.forEach(function(e){t.push(e)}),{contains:t,keywords:n,illegal:"\\S"}}function b(e){var n={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual trait volatile transient native default",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},a={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"},t={className:"subst",begin:"\\${",end:"}",contains:[e.C_NUMBER_MODE]},i={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[i={className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},t]},{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,i,t]}]},t=(t.contains.push(i),{className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"}),s={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(i,{className:"meta-string"})]}]},r={className:"number",begin:"\\b(0[bB]([01]+[01_]+[01]+|[01]+)|0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)|(([\\d]+[\\d_]+[\\d]+|[\\d]+)(\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))?|\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))([eE][-+]?\\d+)?)[lLfF]?",relevance:0},l=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),o={variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},c=o;return c.variants[1].contains=[o],o.variants[1].contains=[c],{aliases:["kt"],keywords:n,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,l,{className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},a,t,s,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:n,illegal:/fun\s+(<.*>)?[^\s\(]+(\s+[^\s\(]+)\s*=/,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:n,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[o,e.C_LINE_COMMENT_MODE,l],relevance:0},e.C_LINE_COMMENT_MODE,l,t,s,i,e.C_NUMBER_MODE]},l]},{className:"class",beginKeywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},e.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,]|$/,excludeBegin:!0,returnEnd:!0},t,s]},i,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},r]}}function p(e){var n="\\[=*\\[",a="\\]=*\\]",t={begin:n,end:a,contains:["self"]},i=[e.COMMENT("--(?!"+n+")","$"),e.COMMENT("--"+n,a,{contains:[t],relevance:10})];return{lexemes:e.UNDERSCORE_IDENT_RE,keywords:{literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstringmodule next pairs pcall print rawequal rawget rawset require select setfenvsetmetatable tonumber tostring type unpack xpcall arg selfcoroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:i.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:i}].concat(i)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:n,end:a,contains:[t],relevance:5}])}}function f(e){return{aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$"},{begin:"^.+?\\n[=-]{2,}$"}]},{begin:"<",end:">",subLanguage:"xml",relevance:0},{className:"bullet",begin:"^\\s*([*+-]|(\\d+\\.))\\s+"},{className:"strong",begin:"[*_]{2}.+?[*_]{2}"},{className:"emphasis",variants:[{begin:"\\*.+?\\*"},{begin:"_.+?_",relevance:0}]},{className:"quote",begin:"^>\\s+",end:"$"},{className:"code",variants:[{begin:"^```\\w*\\s*$",end:"^```[ ]*$"},{begin:"`.+?`"},{begin:"^( {4}|\\t)",end:"$",relevance:0}]},{begin:"^[-\\*]{3,}",end:"$"},{begin:"\\[.+?\\][\\(\\[].*?[\\)\\]]",returnBegin:!0,contains:[{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0,relevance:0},{className:"link",begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}],relevance:10},{begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]}]}}function E(e){var n={keyword:"rec with let in inherit assert if else then",literal:"true false or and null",built_in:"import abort baseNameOf dirOf isNull builtins map removeAttrs throw toString derivation"},a={className:"subst",begin:/\$\{/,end:/}/,keywords:n},e=[e.NUMBER_MODE,e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",contains:[a],variants:[{begin:"''",end:"''"},{begin:'"',end:'"'}]},{begin:/[a-zA-Z0-9-_]+(\s*=)/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/\S+/}]}];return{aliases:["nixos"],keywords:n,contains:a.contains=e}}function N(e){return{disableAutodetect:!0}}function h(e){var n=/[a-zA-Z@][a-zA-Z0-9_]*/,a="@interface @class @protocol @implementation";return{aliases:["mm","objc","obj-c"],keywords:{keyword:"int float while char export sizeof typedef const struct for union unsigned long volatile static bool mutable if do return goto void enum else break extern asm case short default double register explicit signed typename this switch continue wchar_t inline readonly assign readwrite self @synchronized id typeof nonatomic super unichar IBOutlet IBAction strong weak copy in out inout bycopy byref oneway __strong __weak __block __autoreleasing @private @protected @public @try @property @end @throw @catch @finally @autoreleasepool @synthesize @dynamic @selector @optional @required @encode @package @import @defs @compatibility_alias __bridge __bridge_transfer __bridge_retained __bridge_retain __covariant __contravariant __kindof _Nonnull _Nullable _Null_unspecified __FUNCTION__ __PRETTY_FUNCTION__ __attribute__ getter setter retain unsafe_unretained nonnull nullable null_unspecified null_resettable class instancetype NS_DESIGNATED_INITIALIZER NS_UNAVAILABLE NS_REQUIRES_SUPER NS_RETURNS_INNER_POINTER NS_INLINE NS_AVAILABLE NS_DEPRECATED NS_ENUM NS_OPTIONS NS_SWIFT_UNAVAILABLE NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_REFINED_FOR_SWIFT NS_SWIFT_NAME NS_SWIFT_NOTHROW NS_DURING NS_HANDLER NS_ENDHANDLER NS_VALUERETURN NS_VOIDRETURN",literal:"false true FALSE TRUE nil YES NO NULL",built_in:"BOOL dispatch_once_t dispatch_queue_t dispatch_sync dispatch_async dispatch_once"},lexemes:n,illegal:"/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+a.split(" ").join("|")+")\\b",end:"({|$)",excludeEnd:!0,keywords:a,lexemes:n,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}function v(e){var n="getpwent getservent quotemeta msgrcv scalar kill dbmclose undef lc ma syswrite tr send umask sysopen shmwrite vec qx utime local oct semctl localtime readpipe do return format read sprintf dbmopen pop getpgrp not getpwnam rewinddir qqfileno qw endprotoent wait sethostent bless s|0 opendir continue each sleep endgrent shutdown dump chomp connect getsockname die socketpair close flock exists index shmgetsub for endpwent redo lstat msgctl setpgrp abs exit select print ref gethostbyaddr unshift fcntl syscall goto getnetbyaddr join gmtime symlink semget splice x|0 getpeername recv log setsockopt cos last reverse gethostbyname getgrnam study formline endhostent times chop length gethostent getnetent pack getprotoent getservbyname rand mkdir pos chmod y|0 substr endnetent printf next open msgsnd readdir use unlink getsockopt getpriority rindex wantarray hex system getservbyport endservent int chr untie rmdir prototype tell listen fork shmread ucfirst setprotoent else sysseek link getgrgid shmctl waitpid unpack getnetbyname reset chdir grep split require caller lcfirst until warn while values shift telldir getpwuid my getprotobynumber delete and sort uc defined srand accept package seekdir getprotobyname semop our rename seek if q|0 chroot sysread setpwent no crypt getc chown sqrt write setnetent setpriority foreach tie sin msgget map stat getlogin unless elsif truncate exec keys glob tied closedirioctl socket readlink eval xor readline binmode setservent eof ord bind alarm pipe atan2 getgrent exp time push setgrent gt lt or ne m|0 break given say state when",a={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:n},t={begin:"->{",end:"}"},i={variants:[{begin:/\$\d/},{begin:/[\$%@](\^\w\b|#\w+(::\w+)*|{\w+}|\w+(::\w*)*)/},{begin:/[\$%@][^\s\w{]/,relevance:0}]},s=[e.BACKSLASH_ESCAPE,a,i],i=[i,e.HASH_COMMENT_MODE,e.COMMENT("^\\=\\w","\\=cut",{endsWithParent:!0}),t,{className:"string",contains:s,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*\\<",end:"\\>",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:"{\\w+}",contains:[],relevance:0},{begin:"-?\\w+\\s*\\=\\>",contains:[],relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",begin:"(s|tr|y)/(\\\\.|[^/])*/(\\\\.|[^/])*/[a-z]*",relevance:10},{className:"regexp",begin:"(m|qr)?/",end:"/[a-z]*",contains:[e.BACKSLASH_ESCAPE],relevance:0}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return a.contains=i,{aliases:["pl","pm"],lexemes:/[\w\.]+/,keywords:n,contains:t.contains=i}}function y(e){var n={begin:"\\$+[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*"},a={className:"meta",begin:/<\?(php)?|\?>/},t={className:"string",contains:[e.BACKSLASH_ESCAPE,a],variants:[{begin:'b"',end:'"'},{begin:"b'",end:"'"},e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},i={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{aliases:["php","php3","php4","php5","php6","php7"],case_insensitive:!0,keywords:"and include_once list abstract global private echo interface as static endswitch array null if endwhile or const for endforeach self var while isset public protected exit foreach throw elseif include __FILE__ empty require_once do xor return parent clone use __CLASS__ __LINE__ else break print eval new catch __METHOD__ case exception default die require __FUNCTION__ enddeclare final try switch continue endfor endif declare unset true false trait goto instanceof insteadof __DIR__ __NAMESPACE__ yield finally",contains:[e.HASH_COMMENT_MODE,e.COMMENT("//","$",{contains:[a]}),e.COMMENT("/\\*","\\*/",{contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.COMMENT("__halt_compiler.+?;",!1,{endsWithParent:!0,keywords:"__halt_compiler",lexemes:e.UNDERSCORE_IDENT_RE}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;?$/,contains:[e.BACKSLASH_ESCAPE,{className:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]}]},a,{className:"keyword",begin:/\$this\b/},n,{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function",end:/[;{]/,excludeEnd:!0,illegal:"\\$|\\[|%",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",contains:["self",n,e.C_BLOCK_COMMENT_MODE,t,i]}]},{className:"class",beginKeywords:"class interface",end:"{",excludeEnd:!0,illegal:/[:\(\$"]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",end:";",illegal:/[\.']/,contains:[e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"use",end:";",contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"=>"},t,i]}}function w(e){var n="[ \\t\\f]*",a="("+n+"[:=]"+n+"|[ \\t\\f]+)",t="([^\\\\\\W:= \\t\\f\\n]|\\\\.)+",i="([^\\\\:= \\t\\f\\n]|\\\\.)+",s={end:a,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\n"}]}};return{case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT("^\\s*[!#]","$"),{begin:t+a,returnBegin:!0,contains:[{className:"attr",begin:t,endsParent:!0,relevance:0}],starts:s},{begin:i+a,returnBegin:!0,relevance:0,contains:[{className:"meta",begin:i,endsParent:!0,relevance:0}],starts:s},{className:"attr",relevance:0,begin:i+n+"$"}]}}function O(e){var n=e.COMMENT("#","$"),a="([A-Za-z_]|::)(\\w|::)*",t=e.inherit(e.TITLE_MODE,{begin:a}),a={className:"variable",begin:"\\$"+a},i={className:"string",contains:[e.BACKSLASH_ESCAPE,a],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{aliases:["pp"],contains:[n,a,i,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[t,n]},{beginKeywords:"define",end:/\{/,contains:[{className:"section",begin:e.IDENT_RE,endsParent:!0}]},{begin:e.IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\S/,contains:[{className:"keyword",begin:e.IDENT_RE},{begin:/\{/,end:/\}/,keywords:{keyword:"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal:"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in:"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"},relevance:0,contains:[i,n,{begin:"[a-zA-Z_]+\\s*=>",returnBegin:!0,end:"=>",contains:[{className:"attr",begin:e.IDENT_RE}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},a]}],relevance:0}]}}function M(e){var n={keyword:"and elif is global as in if from raise for except finally print import pass return exec else break not with class assert yield try while continue del or def lambda async await nonlocal|10",built_in:"Ellipsis NotImplemented",literal:"False None True"},a={className:"meta",begin:/^(>>>|\.\.\.) /},t={className:"subst",begin:/\{/,end:/\}/,keywords:n,illegal:/#/},i={begin:/\{\{/,relevance:0},i={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/(fr|rf|f)'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a,i,t]},{begin:/(fr|rf|f)"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a,i,t]},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},{begin:/(fr|rf|f)'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,i,t]},{begin:/(fr|rf|f)"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,i,t]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},s={className:"number",relevance:0,variants:[{begin:e.BINARY_NUMBER_RE+"[lLjJ]?"},{begin:"\\b(0o[0-7]+)[lLjJ]?"},{begin:e.C_NUMBER_RE+"[lLjJ]?"}]},r={className:"params",begin:/\(/,end:/\)/,contains:["self",a,s,i,e.HASH_COMMENT_MODE]};return t.contains=[i,s,a],{aliases:["py","gyp","ipython"],keywords:n,illegal:/(<\/|->|\?)|=>/,contains:[a,s,{beginKeywords:"if",relevance:0},i,e.HASH_COMMENT_MODE,{variants:[{className:"function",beginKeywords:"def"},{className:"class",beginKeywords:"class"}],end:/:/,illegal:/[${=;\n,]/,contains:[e.UNDERSCORE_TITLE_MODE,r,{begin:/->/,endsWithParent:!0,keywords:"None"}]},{className:"meta",begin:/^[\t ]*@/,end:/$/},{begin:/\b(print|exec)\(/}]}}function x(e){var n="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",a={keyword:"and then defined module in return redo if BEGIN retry end for self when next until do begin unless END rescue else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor",literal:"true false nil"},t={className:"doctag",begin:"@[A-Za-z]+"},i={begin:"#<",end:">"},t=[e.COMMENT("#","$",{contains:[t]}),e.COMMENT("^\\=begin","^\\=end",{contains:[t],relevance:10}),e.COMMENT("^__END__","\\n$")],s={className:"subst",begin:"#\\{",end:"}",keywords:a},r={className:"string",contains:[e.BACKSLASH_ESCAPE,s],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[qQwWx]?\\(",end:"\\)"},{begin:"%[qQwWx]?\\[",end:"\\]"},{begin:"%[qQwWx]?{",end:"}"},{begin:"%[qQwWx]?<",end:">"},{begin:"%[qQwWx]?/",end:"/"},{begin:"%[qQwWx]?%",end:"%"},{begin:"%[qQwWx]?-",end:"-"},{begin:"%[qQwWx]?\\|",end:"\\|"},{begin:/\B\?(\\\d{1,3}|\\x[A-Fa-f0-9]{1,2}|\\u[A-Fa-f0-9]{4}|\\?\S)\b/},{begin:/<<[-~]?'?(\w+)(?:.|\n)*?\n\s*\1\b/,returnBegin:!0,contains:[{begin:/<<[-~]?'?/},{begin:/\w+/,endSameAsBegin:!0,contains:[e.BACKSLASH_ESCAPE,s]}]}]},l={className:"params",begin:"\\(",end:"\\)",endsParent:!0,keywords:a},r=[r,i,{className:"class",beginKeywords:"class module",end:"$|;",illegal:/=/,contains:[e.inherit(e.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?"}),{begin:"<\\s*",contains:[{begin:"("+e.IDENT_RE+"::)?"+e.IDENT_RE}]}].concat(t)},{className:"function",beginKeywords:"def",end:"$|;",contains:[e.inherit(e.TITLE_MODE,{begin:n}),l].concat(t)},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(\\!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[r,{begin:n}],relevance:0},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},{className:"params",begin:/\|/,end:/\|/,keywords:a},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[i,{className:"regexp",contains:[e.BACKSLASH_ESCAPE,s],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:"%r{",end:"}[a-z]*"},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(t),relevance:0}].concat(t);return s.contains=r,{aliases:["rb","gemspec","podspec","thor","irb"],keywords:a,illegal:/\/\*/,contains:t.concat([{begin:/^\s*=>/,starts:{end:"$",contains:l.contains=r}},{className:"meta",begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+>|(\\w+-)?\\d+\\.\\d+\\.\\d(p\\d+)?[^>]+>)",starts:{end:"$",contains:r}}]).concat(r)}}function C(e){var n="([ui](8|16|32|64|128|size)|f(32|64))?",a="drop i8 i16 i32 i64 i128 isize u8 u16 u32 u64 u128 usize f32 f64 str char bool Box Option Result String Vec Copy Send Sized Sync Drop Fn FnMut FnOnce ToOwned Clone Debug PartialEq PartialOrd Eq Ord AsRef AsMut Into From Default Iterator Extend IntoIterator DoubleEndedIterator ExactSizeIterator SliceConcatExt ToString assert! assert_eq! bitflags! bytes! cfg! col! concat! concat_idents! debug_assert! debug_assert_eq! env! panic! file! format! format_args! include_bin! include_str! line! local_data_key! module_path! option_env! print! println! select! stringify! try! unimplemented! unreachable! vec! write! writeln! macro_rules! assert_ne! debug_assert_ne!";return{aliases:["rs"],keywords:{keyword:"abstract as async await become box break const continue crate do dyn else enum extern false final fn for if impl in let loop macro match mod move mut override priv pub ref return self Self static struct super trait true try type typeof unsafe unsized use virtual where while yield",literal:"true false Some None Ok Err",built_in:a},lexemes:e.IDENT_RE+"!?",illegal:""}]}}function S(e){var n={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:"\\${",end:"}"}]},n={className:"string",variants:[{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:'"""',end:'"""',relevance:10},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,n]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[n],relevance:10}]},a={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},t={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0};return{keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if forSome for while throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,{className:"symbol",begin:"'\\w[\\w\\d_]*(?!')"},a,{className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[t]},{className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[a]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[a]},t]},e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"}]}}function T(e){return{aliases:["console"],contains:[{className:"meta",begin:"^\\s{0,3}[/\\w\\d\\[\\]()@-]*[>%$#]",starts:{end:"$",subLanguage:"bash"}}]}}function k(e){var n=e.COMMENT("--","$");return{case_insensitive:!0,illegal:/[<>{}*]/,contains:[{beginKeywords:"begin end start commit rollback savepoint lock alter create drop rename call delete do handler insert load replace select truncate update set show pragma grant merge describe use explain help declare prepare execute deallocate release unlock purge reset change stop analyze cache flush optimize repair kill install uninstall checksum restore check backup revoke comment values with",end:/;/,endsWithParent:!0,lexemes:/[\w\.]+/,keywords:{keyword:"as abort abs absolute acc acce accep accept access accessed accessible account acos action activate add addtime admin administer advanced advise aes_decrypt aes_encrypt after agent aggregate ali alia alias all allocate allow alter always analyze ancillary and anti any anydata anydataset anyschema anytype apply archive archived archivelog are as asc ascii asin assembly assertion associate asynchronous at atan atn2 attr attri attrib attribu attribut attribute attributes audit authenticated authentication authid authors auto autoallocate autodblink autoextend automatic availability avg backup badfile basicfile before begin beginning benchmark between bfile bfile_base big bigfile bin binary_double binary_float binlog bit_and bit_count bit_length bit_or bit_xor bitmap blob_base block blocksize body both bound bucket buffer_cache buffer_pool build bulk by byte byteordermark bytes cache caching call calling cancel capacity cascade cascaded case cast catalog category ceil ceiling chain change changed char_base char_length character_length characters characterset charindex charset charsetform charsetid check checksum checksum_agg child choose chr chunk class cleanup clear client clob clob_base clone close cluster_id cluster_probability cluster_set clustering coalesce coercibility col collate collation collect colu colum column column_value columns columns_updated comment commit compact compatibility compiled complete composite_limit compound compress compute concat concat_ws concurrent confirm conn connec connect connect_by_iscycle connect_by_isleaf connect_by_root connect_time connection consider consistent constant constraint constraints constructor container content contents context contributors controlfile conv convert convert_tz corr corr_k corr_s corresponding corruption cos cost count count_big counted covar_pop covar_samp cpu_per_call cpu_per_session crc32 create creation critical cross cube cume_dist curdate current current_date current_time current_timestamp current_user cursor curtime customdatum cycle data database databases datafile datafiles datalength date_add date_cache date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts day day_to_second dayname dayofmonth dayofweek dayofyear days db_role_change dbtimezone ddl deallocate declare decode decompose decrement decrypt deduplicate def defa defau defaul default defaults deferred defi defin define degrees delayed delegate delete delete_all delimited demand dense_rank depth dequeue des_decrypt des_encrypt des_key_file desc descr descri describ describe descriptor deterministic diagnostics difference dimension direct_load directory disable disable_all disallow disassociate discardfile disconnect diskgroup distinct distinctrow distribute distributed div do document domain dotnet double downgrade drop dumpfile duplicate duration each edition editionable editions element ellipsis else elsif elt empty enable enable_all enclosed encode encoding encrypt end end-exec endian enforced engine engines enqueue enterprise entityescaping eomonth error errors escaped evalname evaluate event eventdata events except exception exceptions exchange exclude excluding execu execut execute exempt exists exit exp expire explain explode export export_set extended extent external external_1 external_2 externally extract failed failed_login_attempts failover failure far fast feature_set feature_value fetch field fields file file_name_convert filesystem_like_logging final finish first first_value fixed flash_cache flashback floor flush following follows for forall force foreign form forma format found found_rows freelist freelists freepools fresh from from_base64 from_days ftp full function general generated get get_format get_lock getdate getutcdate global global_name globally go goto grant grants greatest group group_concat group_id grouping grouping_id groups gtid_subtract guarantee guard handler hash hashkeys having hea head headi headin heading heap help hex hierarchy high high_priority hosts hour hours http id ident_current ident_incr ident_seed identified identity idle_time if ifnull ignore iif ilike ilm immediate import in include including increment index indexes indexing indextype indicator indices inet6_aton inet6_ntoa inet_aton inet_ntoa infile initial initialized initially initrans inmemory inner innodb input insert install instance instantiable instr interface interleaved intersect into invalidate invisible is is_free_lock is_ipv4 is_ipv4_compat is_not is_not_null is_used_lock isdate isnull isolation iterate java join json json_exists keep keep_duplicates key keys kill language large last last_day last_insert_id last_value lateral lax lcase lead leading least leaves left len lenght length less level levels library like like2 like4 likec limit lines link list listagg little ln load load_file lob lobs local localtime localtimestamp locate locator lock locked log log10 log2 logfile logfiles logging logical logical_reads_per_call logoff logon logs long loop low low_priority lower lpad lrtrim ltrim main make_set makedate maketime managed management manual map mapping mask master master_pos_wait match matched materialized max maxextents maximize maxinstances maxlen maxlogfiles maxloghistory maxlogmembers maxsize maxtrans md5 measures median medium member memcompress memory merge microsecond mid migration min minextents minimum mining minus minute minutes minvalue missing mod mode model modification modify module monitoring month months mount move movement multiset mutex name name_const names nan national native natural nav nchar nclob nested never new newline next nextval no no_write_to_binlog noarchivelog noaudit nobadfile nocheck nocompress nocopy nocycle nodelay nodiscardfile noentityescaping noguarantee nokeep nologfile nomapping nomaxvalue nominimize nominvalue nomonitoring none noneditionable nonschema noorder nopr nopro noprom nopromp noprompt norely noresetlogs noreverse normal norowdependencies noschemacheck noswitch not nothing notice notnull notrim novalidate now nowait nth_value nullif nulls num numb numbe nvarchar nvarchar2 object ocicoll ocidate ocidatetime ociduration ociinterval ociloblocator ocinumber ociref ocirefcursor ocirowid ocistring ocitype oct octet_length of off offline offset oid oidindex old on online only opaque open operations operator optimal optimize option optionally or oracle oracle_date oradata ord ordaudio orddicom orddoc order ordimage ordinality ordvideo organization orlany orlvary out outer outfile outline output over overflow overriding package pad parallel parallel_enable parameters parent parse partial partition partitions pascal passing password password_grace_time password_lock_time password_reuse_max password_reuse_time password_verify_function patch path patindex pctincrease pctthreshold pctused pctversion percent percent_rank percentile_cont percentile_disc performance period period_add period_diff permanent physical pi pipe pipelined pivot pluggable plugin policy position post_transaction pow power pragma prebuilt precedes preceding precision prediction prediction_cost prediction_details prediction_probability prediction_set prepare present preserve prior priority private private_sga privileges procedural procedure procedure_analyze processlist profiles project prompt protection public publishingservername purge quarter query quick quiesce quota quotename radians raise rand range rank raw read reads readsize rebuild record records recover recovery recursive recycle redo reduced ref reference referenced references referencing refresh regexp_like register regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy reject rekey relational relative relaylog release release_lock relies_on relocate rely rem remainder rename repair repeat replace replicate replication required reset resetlogs resize resource respect restore restricted result result_cache resumable resume retention return returning returns reuse reverse revoke right rlike role roles rollback rolling rollup round row row_count rowdependencies rowid rownum rows rtrim rules safe salt sample save savepoint sb1 sb2 sb4 scan schema schemacheck scn scope scroll sdo_georaster sdo_topo_geometry search sec_to_time second seconds section securefile security seed segment select self semi sequence sequential serializable server servererror session session_user sessions_per_user set sets settings sha sha1 sha2 share shared shared_pool short show shrink shutdown si_averagecolor si_colorhistogram si_featurelist si_positionalcolor si_stillimage si_texture siblings sid sign sin size size_t sizes skip slave sleep smalldatetimefromparts smallfile snapshot some soname sort soundex source space sparse spfile split sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_small_result sql_variant_property sqlcode sqldata sqlerror sqlname sqlstate sqrt square standalone standby start starting startup statement static statistics stats_binomial_test stats_crosstab stats_ks_test stats_mode stats_mw_test stats_one_way_anova stats_t_test_ stats_t_test_indep stats_t_test_one stats_t_test_paired stats_wsr_test status std stddev stddev_pop stddev_samp stdev stop storage store stored str str_to_date straight_join strcmp strict string struct stuff style subdate subpartition subpartitions substitutable substr substring subtime subtring_index subtype success sum suspend switch switchoffset switchover sync synchronous synonym sys sys_xmlagg sysasm sysaux sysdate sysdatetimeoffset sysdba sysoper system system_user sysutcdatetime table tables tablespace tablesample tan tdo template temporary terminated tertiary_weights test than then thread through tier ties time time_format time_zone timediff timefromparts timeout timestamp timestampadd timestampdiff timezone_abbr timezone_minute timezone_region to to_base64 to_date to_days to_seconds todatetimeoffset trace tracking transaction transactional translate translation treat trigger trigger_nestlevel triggers trim truncate try_cast try_convert try_parse type ub1 ub2 ub4 ucase unarchived unbounded uncompress under undo unhex unicode uniform uninstall union unique unix_timestamp unknown unlimited unlock unnest unpivot unrecoverable unsafe unsigned until untrusted unusable unused update updated upgrade upped upper upsert url urowid usable usage use use_stored_outlines user user_data user_resources users using utc_date utc_timestamp uuid uuid_short validate validate_password_strength validation valist value values var var_samp varcharc vari varia variab variabl variable variables variance varp varraw varrawc varray verify version versions view virtual visible void wait wallet warning warnings week weekday weekofyear wellformed when whene whenev wheneve whenever where while whitespace window with within without work wrapped xdb xml xmlagg xmlattributes xmlcast xmlcolattval xmlelement xmlexists xmlforest xmlindex xmlnamespaces xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltype xor year year_to_month years yearweek",literal:"true false null unknown",built_in:"array bigint binary bit blob bool boolean char character date dec decimal float int int8 integer interval number numeric real record serial serial8 smallint text time timestamp tinyint varchar varchar2 varying void"},contains:[{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}]},{className:"string",begin:"`",end:"`"},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,e.HASH_COMMENT_MODE]},e.C_BLOCK_COMMENT_MODE,n,e.HASH_COMMENT_MODE]}}function A(e){var n={keyword:"#available #colorLiteral #column #else #elseif #endif #file #fileLiteral #function #if #imageLiteral #line #selector #sourceLocation _ __COLUMN__ __FILE__ __FUNCTION__ __LINE__ Any as as! as? associatedtype associativity break case catch class continue convenience default defer deinit didSet do dynamic dynamicType else enum extension fallthrough false fileprivate final for func get guard if import in indirect infix init inout internal is lazy left let mutating nil none nonmutating open operator optional override postfix precedence prefix private protocol Protocol public repeat required rethrows return right self Self set static struct subscript super switch throw throws true try try! try? Type typealias unowned var weak where while willSet",literal:"true false nil",built_in:"abs advance alignof alignofValue anyGenerator assert assertionFailure bridgeFromObjectiveC bridgeFromObjectiveCUnconditional bridgeToObjectiveC bridgeToObjectiveCUnconditional c contains count countElements countLeadingZeros debugPrint debugPrintln distance dropFirst dropLast dump encodeBitsAsWords enumerate equal fatalError filter find getBridgedObjectiveCType getVaList indices insertionSort isBridgedToObjectiveC isBridgedVerbatimToObjectiveC isUniquelyReferenced isUniquelyReferencedNonObjC join lazy lexicographicalCompare map max maxElement min minElement numericCast overlaps partition posix precondition preconditionFailure print println quickSort readLine reduce reflect reinterpretCast reverse roundUpToAlignment sizeof sizeofValue sort split startsWith stride strideof strideofValue swap toString transcode underestimateCount unsafeAddressOf unsafeBitCast unsafeDowncast unsafeUnwrap unsafeReflect withExtendedLifetime withObjectAtPlusZero withUnsafePointer withUnsafePointerToObject withUnsafeMutablePointer withUnsafeMutablePointers withUnsafePointer withUnsafePointers withVaList zip"},a=e.COMMENT("/\\*","\\*/",{contains:["self"]}),t={className:"subst",begin:/\\\(/,end:"\\)",keywords:n,contains:[]},i={className:"string",contains:[e.BACKSLASH_ESCAPE,t],variants:[{begin:/"""/,end:/"""/},{begin:/"/,end:/"/}]},s={className:"number",begin:"\\b([\\d_]+(\\.[\\deE_]+)?|0x[a-fA-F0-9_]+(\\.[a-fA-F0-9p_]+)?|0b[01_]+|0o[0-7_]+)\\b",relevance:0};return t.contains=[s],{keywords:n,contains:[i,e.C_LINE_COMMENT_MODE,a,{className:"type",begin:"\\b[A-Z][\\wÀ-ʸ']*[!?]"},{className:"type",begin:"\\b[A-Z][\\wÀ-ʸ']*",relevance:0},s,{className:"function",beginKeywords:"func",end:"{",excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{begin://},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:n,contains:["self",s,i,e.C_BLOCK_COMMENT_MODE,{begin:":"}],illegal:/["']/}],illegal:/\[|%/},{className:"class",beginKeywords:"struct protocol class extension enum",keywords:n,end:"\\{",excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/})]},{className:"meta",begin:"(@discardableResult|@warn_unused_result|@exported|@lazy|@noescape|@NSCopying|@NSManaged|@objc|@objcMembers|@convention|@required|@noreturn|@IBAction|@IBDesignable|@IBInspectable|@IBOutlet|@infix|@prefix|@postfix|@autoclosure|@testable|@available|@nonobjc|@NSApplicationMain|@UIApplicationMain|@dynamicMemberLookup|@propertyWrapper)"},{beginKeywords:"import",end:/$/,contains:[e.C_LINE_COMMENT_MODE,a]}]}}function R(e){var n={className:"symbol",begin:"&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;"},a={begin:"\\s",contains:[{className:"meta-keyword",begin:"#?[a-z_][a-z1-9_-]+",illegal:"\\n"}]},t=e.inherit(a,{begin:"\\(",end:"\\)"}),i=e.inherit(e.APOS_STRING_MODE,{className:"meta-string"}),s=e.inherit(e.QUOTE_STRING_MODE,{className:"meta-string"}),r={endsWithParent:!0,illegal:/`]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin:"",relevance:10,contains:[a,s,i,t,{begin:"\\[",end:"\\]",contains:[{className:"meta",begin:"",contains:[a,t,s,i]}]}]},e.COMMENT("\x3c!--","--\x3e",{relevance:10}),{begin:"<\\!\\[CDATA\\[",end:"\\]\\]>",relevance:10},n,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{begin:/<\?(php)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]},{className:"tag",begin:")",end:">",keywords:{name:"style"},contains:[r],starts:{end:"",returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:")",end:">",keywords:{name:"script"},contains:[r],starts:{end:"<\/script>",returnEnd:!0,subLanguage:["actionscript","javascript","handlebars","xml"]}},{className:"tag",begin:"",contains:[{className:"name",begin:/[^\/><\s]+/,relevance:0},r]}]}}function B(e){var n="true false yes no null",a={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:"{{",end:"}}"},{begin:"%{",end:"}"}]}]};return{case_insensitive:!0,aliases:["yml","YAML","yaml"],contains:[{className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},{className:"meta",begin:"^---s*$",relevance:10},{className:"string",begin:"[\\|>]([0-9]?[+-])?[ ]*\\n( *)[\\S ]+\\n(\\2[\\S ]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!"+e.UNDERSCORE_IDENT_RE},{className:"type",begin:"!!"+e.UNDERSCORE_IDENT_RE},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"\\-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},{className:"number",begin:e.C_NUMBER_RE+"\\b"},a]}}var D,L,I={};D=function(t){var a,g=[],s=Object.keys,w=Object.create(null),r=Object.create(null),O=!0,n=/^(no-?highlight|plain|text)$/i,l=/\blang(?:uage)?-([\w-]+)\b/i,i=/((^(<[^>]+>|\t|)+|(?:\n)))/gm,M="",x="Could not find the language '{}', did you forget to load/include a language module?",C={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0},o="of and for in not or if then".split(" ");function S(e){return e.replace(/&/g,"&").replace(//g,">")}function u(e){return e.nodeName.toLowerCase()}function c(e){return n.test(e)}function d(e){var n,a={},t=Array.prototype.slice.call(arguments,1);for(n in e)a[n]=e[n];return t.forEach(function(e){for(n in e)a[n]=e[n]}),a}function _(e){var i=[];return function e(n,a){for(var t=n.firstChild;t;t=t.nextSibling)3===t.nodeType?a+=t.nodeValue.length:1===t.nodeType&&(i.push({event:"start",offset:a,node:t}),a=e(t,a),u(t).match(/br|hr|img|input/)||i.push({event:"stop",offset:a,node:t}));return a}(e,0),i}function m(e,n,a){var t=0,i="",s=[];function r(){return e.length&&n.length?e[0].offset!==n[0].offset?e[0].offset"}function o(e){i+=""}function c(e){("start"===e.event?l:o)(e.node)}for(;e.length||n.length;){var d=r();if(i+=S(a.substring(t,d[0].offset)),t=d[0].offset,d===e){for(s.reverse().forEach(o);c(d.splice(0,1)[0]),(d=r())===e&&d.length&&d[0].offset===t;);s.reverse().forEach(l)}else"start"===d[0].event?s.push(d[0].node):s.pop(),c(d.splice(0,1)[0])}return i+S(a.substr(t))}function b(n){return n.variants&&!n.cached_variants&&(n.cached_variants=n.variants.map(function(e){return d(n,{variants:null},e)})),n.cached_variants||(function e(n){return!!n&&(n.endsWithParent||e(n.starts))}(n)?[d(n,{starts:n.starts?d(n.starts):null})]:Object.isFrozen(n)?[d(n)]:[n])}function p(e){if(a&&!e.langApiRestored){for(var n in e.langApiRestored=!0,a)e[n]&&(e[a[n]]=e[n]);(e.contains||[]).concat(e.variants||[]).forEach(p)}}function f(n,t){var i={};return"string"==typeof n?a("keyword",n):s(n).forEach(function(e){a(e,n[e])}),i;function a(a,e){(e=t?e.toLowerCase():e).split(" ").forEach(function(e){var n,e=e.split("|");i[e[0]]=[a,(n=e[0],(e=e[1])?Number(e):function(e){return-1!=o.indexOf(e.toLowerCase())}(n)?0:1)]})}}function T(t){function d(e){return e&&e.source||e}function g(e,n){return new RegExp(d(e),"m"+(t.case_insensitive?"i":"")+(n?"g":""))}function i(i){var s={},r=[],l={},a=1;function e(e,n){s[a]=e,r.push([e,n]),a+=new RegExp(n.toString()+"|").exec("").length-1+1}for(var n=0;n')+n+(a?"":M)):n:""}function r(){var e,n,a,t,i;if(!m.keywords)return S(E);for(a="",m.lexemesRe.lastIndex=e=0,n=m.lexemesRe.exec(E);n;)a+=S(E.substring(e,n.index)),t=m,i=n,i=_.case_insensitive?i[0].toLowerCase():i[0],(t=t.keywords.hasOwnProperty(i)&&t.keywords[i])?(N+=t[1],a+=s(t[0],S(n[0]))):a+=S(n[0]),e=m.lexemesRe.lastIndex,n=m.lexemesRe.exec(E);return a+S(E.substr(e))}function l(){var e,n;p+=null!=m.subLanguage?(n="string"==typeof m.subLanguage)&&!w[m.subLanguage]?S(E):(e=n?k(m.subLanguage,E,!0,b[m.subLanguage]):A(E,m.subLanguage.length?m.subLanguage:void 0),0")+'"');if("end"===n.type){e=d(n);if(null!=e)return e}return E+=a,a.length}var _=R(n);if(!_)throw console.error(x.replace("{}",n)),new Error('Unknown language: "'+n+'"');T(_);for(var m=a||_,b={},p="",f=m;f!==_;f=f.parent)f.className&&(p=s(f.className,"",!0)+p);var E="",N=0;try{for(var h,v,y=0;;){if(m.terminators.lastIndex=y,!(h=m.terminators.exec(i)))break;v=u(i.substring(y,h.index),h),y=h.index+v}for(u(i.substr(y)),f=m;f.parent;f=f.parent)f.className&&(p+=M);return{relevance:N,value:p,illegal:!1,language:n,top:m}}catch(e){if(e.message&&-1!==e.message.indexOf("Illegal"))return{illegal:!0,relevance:0,value:S(i)};if(O)return{relevance:0,value:S(i),language:n,top:m,errorRaised:e};throw e}}function A(a,e){e=e||C.languages||s(w);var t={relevance:0,value:S(a)},i=t;return e.filter(R).filter(y).forEach(function(e){var n=k(e,a,!1);n.language=e,n.relevance>i.relevance&&(i=n),n.relevance>t.relevance&&(i=t,t=n)}),i.language&&(t.second_best=i),t}function E(e){return C.tabReplace||C.useBR?e.replace(i,function(e,n){return C.useBR&&"\n"===e?"
":C.tabReplace?n.replace(/\t/g,C.tabReplace):""}):e}function N(e){var n,a,t,i,s=function(e){var n,a,t,i,s,r=e.className+" ";if(r+=e.parentNode?e.parentNode.className:"",a=l.exec(r))return(s=R(a[1]))||(console.warn(x.replace("{}",a[1])),console.warn("Falling back to no-highlight mode for this block.",e)),s?a[1]:"no-highlight";for(n=0,t=(r=r.split(/\s+/)).length;n/g,"\n"):a=e,i=a.textContent,n=s?k(s,i,!0):A(i),(a=_(a)).length&&((t=document.createElement("div")).innerHTML=n.value,n.value=m(a,_(t),i)),n.value=E(n.value),e.innerHTML=n.value,e.className=(a=e.className,t=s,i=n.language,t=t?r[t]:i,i=[a.trim()],a.match(/\bhljs\b/)||i.push("hljs"),-1===a.indexOf(t)&&i.push(t),i.join(" ").trim()),e.result={language:n.language,re:n.relevance},n.second_best&&(e.second_best={language:n.second_best.language,re:n.second_best.relevance}))}function h(){var e;h.called||(h.called=!0,e=document.querySelectorAll("pre code"),g.forEach.call(e,N))}var v={disableAutodetect:!0};function R(e){return e=(e||"").toLowerCase(),w[e]||w[r[e]]}function y(e){e=R(e);return e&&!e.disableAutodetect}return t.highlight=k,t.highlightAuto=A,t.fixMarkup=E,t.highlightBlock=N,t.configure=function(e){C=d(C,e)},t.initHighlighting=h,t.initHighlightingOnLoad=function(){window.addEventListener("DOMContentLoaded",h,!1),window.addEventListener("load",h,!1)},t.registerLanguage=function(n,e){var a;try{a=e(t)}catch(e){if(console.error("Language definition for '{}' could not be registered.".replace("{}",n)),!O)throw e;console.error(e),a=v}p(w[n]=a),a.rawDefinition=e.bind(null,t),a.aliases&&a.aliases.forEach(function(e){r[e]=n})},t.listLanguages=function(){return s(w)},t.getLanguage=R,t.requireLanguage=function(e){var n=R(e);if(n)return n;throw new Error("The '{}' language is required, but not loaded.".replace("{}",e))},t.autoDetection=y,t.inherit=d,t.debugMode=function(){O=!1},t.IDENT_RE="[a-zA-Z]\\w*",t.UNDERSCORE_IDENT_RE="[a-zA-Z_]\\w*",t.NUMBER_RE="\\b\\d+(\\.\\d+)?",t.C_NUMBER_RE="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",t.BINARY_NUMBER_RE="\\b(0b[01]+)",t.RE_STARTERS_RE="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",t.BACKSLASH_ESCAPE={begin:"\\\\[\\s\\S]",relevance:0},t.APOS_STRING_MODE={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},t.QUOTE_STRING_MODE={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},t.PHRASAL_WORDS_MODE={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},t.COMMENT=function(e,n,a){e=t.inherit({className:"comment",begin:e,end:n,contains:[]},a||{});return e.contains.push(t.PHRASAL_WORDS_MODE),e.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|XXX):",relevance:0}),e},t.C_LINE_COMMENT_MODE=t.COMMENT("//","$"),t.C_BLOCK_COMMENT_MODE=t.COMMENT("/\\*","\\*/"),t.HASH_COMMENT_MODE=t.COMMENT("#","$"),t.NUMBER_MODE={className:"number",begin:t.NUMBER_RE,relevance:0},t.C_NUMBER_MODE={className:"number",begin:t.C_NUMBER_RE,relevance:0},t.BINARY_NUMBER_MODE={className:"number",begin:t.BINARY_NUMBER_RE,relevance:0},t.CSS_NUMBER_MODE={className:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},t.REGEXP_MODE={className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[t.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[t.BACKSLASH_ESCAPE]}]},t.TITLE_MODE={className:"title",begin:t.IDENT_RE,relevance:0},t.UNDERSCORE_TITLE_MODE={className:"title",begin:t.UNDERSCORE_IDENT_RE,relevance:0},t.METHOD_GUARD={begin:"\\.\\s*"+t.UNDERSCORE_IDENT_RE,relevance:0},[t.BACKSLASH_ESCAPE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.PHRASAL_WORDS_MODE,t.COMMENT,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.HASH_COMMENT_MODE,t.NUMBER_MODE,t.C_NUMBER_MODE,t.BINARY_NUMBER_MODE,t.CSS_NUMBER_MODE,t.REGEXP_MODE,t.TITLE_MODE,t.UNDERSCORE_TITLE_MODE,t.METHOD_GUARD].forEach(function(e){!function n(a){Object.freeze(a);var t="function"==typeof a;Object.getOwnPropertyNames(a).forEach(function(e){!a.hasOwnProperty(e)||null===a[e]||"object"!=typeof a[e]&&"function"!=typeof a[e]||t&&("caller"===e||"callee"===e||"arguments"===e)||Object.isFrozen(a[e])||n(a[e])});return a}(e)}),t},L="object"==typeof window&&window||"object"==typeof self&&self,void 0===I||I.nodeType?L&&(L.hljs=D({}),"function"==typeof define)&&define.amd&&define([],function(){return L.hljs}):D(I);!function(){"use strict";I.registerLanguage("asciidoc",e),I.registerLanguage("bash",n),I.registerLanguage("clojure",a),I.registerLanguage("cpp",t),I.registerLanguage("cs",i),I.registerLanguage("css",s),I.registerLanguage("diff",r),I.registerLanguage("dockerfile",l),I.registerLanguage("elixir",o),I.registerLanguage("go",c),I.registerLanguage("groovy",d),I.registerLanguage("haskell",g),I.registerLanguage("java",u),I.registerLanguage("javascript",_),I.registerLanguage("json",m),I.registerLanguage("kotlin",b),I.registerLanguage("lua",p),I.registerLanguage("markdown",f),I.registerLanguage("nix",E),I.registerLanguage("none",N),I.registerLanguage("objectivec",h),I.registerLanguage("perl",v),I.registerLanguage("php",y),I.registerLanguage("properties",w),I.registerLanguage("puppet",O),I.registerLanguage("python",M),I.registerLanguage("ruby",x),I.registerLanguage("rust",C),I.registerLanguage("scala",S),I.registerLanguage("shell",T),I.registerLanguage("sql",k),I.registerLanguage("swift",A),I.registerLanguage("xml",R),I.registerLanguage("yaml",B),[].slice.call(document.querySelectorAll("pre code.hljs[data-lang]")).forEach(function(e){I.highlightBlock(e)})}()}(); \ No newline at end of file diff --git a/pr-preview/pr-62/index.html b/pr-preview/pr-62/index.html new file mode 100644 index 0000000..252939c --- /dev/null +++ b/pr-preview/pr-62/index.html @@ -0,0 +1,8 @@ + + + + + +Redirect Notice +

Redirect Notice

+

The page you requested has been relocated to rhods-admin/1.33/index.html.

diff --git a/pr-preview/pr-62/rhods-admin/1.33/_attachments/authentication.yaml b/pr-preview/pr-62/rhods-admin/1.33/_attachments/authentication.yaml new file mode 100644 index 0000000..025db97 --- /dev/null +++ b/pr-preview/pr-62/rhods-admin/1.33/_attachments/authentication.yaml @@ -0,0 +1,27 @@ +apiVersion: config.openshift.io/v1 +kind: OAuth +metadata: + name: cluster +spec: + identityProviders: + - name: htpasswd_provider + challenge: true + login: true + mappingMethod: claim + type: HTPasswd + htpasswd: + fileData: + name: htpasswd +--- +kind: ClusterRoleBinding +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: "cluster-admin-admin" +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: cluster-admin +subjects: + - apiGroup: rbac.authorization.k8s.io + kind: User + name: "admin" diff --git a/pr-preview/pr-62/rhods-admin/1.33/_attachments/secret.yaml b/pr-preview/pr-62/rhods-admin/1.33/_attachments/secret.yaml new file mode 100644 index 0000000..7c60f3a --- /dev/null +++ b/pr-preview/pr-62/rhods-admin/1.33/_attachments/secret.yaml @@ -0,0 +1,8 @@ +apiVersion: v1 +kind: Secret +metadata: + name: htpasswd + namespace: openshift-config +type: Opaque +data: + htpasswd: YWRtaW46JGFwcjEkZnltOWQ4aTMkcWhSYjFyVVcvWFlBaTVkUE9MTnhvMAp1c2VyMTokYXByMSQ3bTFvcGs2NCR2SkM3S1g5cXNFYi94NzNDajJ4eEUwCnVzZXIyOiRhcHIxJHZlbzFmdGo0JHlEaG5yU1VFT25mV3FZaTFyL3JLVS8KdXNlcjM6JGFwcjEkdHA1aGM5bnIkSTFOanVLNy54WkR2QkhWVC9xYjhUMAp1c2VyNDokYXByMSR1Ymd3OGVvMyR4NUFRYzJWdFdMVmRHUkNSL0xkNnUxCnVzZXI1OiRhcHIxJHp2bjhnYnBkJE5vZnlGUDNBdmV6Wm0yT0N1LlVwUS8K diff --git a/pr-preview/pr-62/rhods-admin/1.33/_images/htpasswd-provider.png b/pr-preview/pr-62/rhods-admin/1.33/_images/htpasswd-provider.png new file mode 100644 index 0000000..e554478 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/_images/htpasswd-provider.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/gpu_configure1.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/gpu_configure1.png new file mode 100644 index 0000000..67a676a Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/gpu_configure1.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/gpu_configure2.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/gpu_configure2.png new file mode 100644 index 0000000..25ed569 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/gpu_configure2.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/gpu_install1.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/gpu_install1.png new file mode 100644 index 0000000..61972a2 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/gpu_install1.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/gpu_install2.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/gpu_install2.png new file mode 100644 index 0000000..98a4deb Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/gpu_install2.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/gpu_install3.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/gpu_install3.png new file mode 100644 index 0000000..38a6988 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/gpu_install3.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/gpu_install4.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/gpu_install4.png new file mode 100644 index 0000000..1cdf79a Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/gpu_install4.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/gpu_search.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/gpu_search.png new file mode 100644 index 0000000..ee0dab8 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/gpu_search.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/gpu_verify1.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/gpu_verify1.png new file mode 100644 index 0000000..28cff94 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/gpu_verify1.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/gpu_verify2.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/gpu_verify2.png new file mode 100644 index 0000000..f372b12 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/gpu_verify2.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/nfd_configure1.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/nfd_configure1.png new file mode 100644 index 0000000..e841f86 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/nfd_configure1.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/nfd_configure2.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/nfd_configure2.png new file mode 100644 index 0000000..0a31419 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/nfd_configure2.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/nfd_install1.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/nfd_install1.png new file mode 100644 index 0000000..fde2fa5 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/nfd_install1.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/nfd_install2.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/nfd_install2.png new file mode 100644 index 0000000..d3081fe Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/nfd_install2.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/nfd_install3.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/nfd_install3.png new file mode 100644 index 0000000..a3ad925 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/nfd_install3.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/nfd_install4.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/nfd_install4.png new file mode 100644 index 0000000..fa77d2e Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/nfd_install4.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/nfd_search.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/nfd_search.png new file mode 100644 index 0000000..5882f96 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/nfd_search.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/nfd_verify.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/nfd_verify.png new file mode 100644 index 0000000..712b62f Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/nfd_verify.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/pipeline_install1.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/pipeline_install1.png new file mode 100644 index 0000000..15eb852 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/pipeline_install1.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/pipeline_install2.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/pipeline_install2.png new file mode 100644 index 0000000..9bf043e Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/pipeline_install2.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/pipeline_install3.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/pipeline_install3.png new file mode 100644 index 0000000..7fc816c Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/pipeline_install3.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/pipeline_install4.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/pipeline_install4.png new file mode 100644 index 0000000..483dda5 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/pipeline_install4.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/pipeline_search.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/pipeline_search.png new file mode 100644 index 0000000..1355e87 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/pipeline_search.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/pipelines-uninstall.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/pipelines-uninstall.png new file mode 100644 index 0000000..580b98c Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/pipelines-uninstall.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/piplines-uninstall-confirm.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/piplines-uninstall-confirm.png new file mode 100644 index 0000000..3b01065 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/piplines-uninstall-confirm.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhoai-home.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhoai-home.png new file mode 100644 index 0000000..c5dd6c7 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhoai-home.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-channel-change.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-channel-change.png new file mode 100644 index 0000000..0196cb9 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-channel-change.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-clusters.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-clusters.png new file mode 100644 index 0000000..5d3835e Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-clusters.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-conditions.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-conditions.png new file mode 100644 index 0000000..73c9198 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-conditions.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-create-cluster.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-create-cluster.png new file mode 100644 index 0000000..0e7f7d1 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-create-cluster.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-delete-dsc.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-delete-dsc.png new file mode 100644 index 0000000..619c6c6 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-delete-dsc.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-delete-dsci.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-delete-dsci.png new file mode 100644 index 0000000..d796ed0 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-delete-dsci.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-delete-generated-ns.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-delete-generated-ns.png new file mode 100644 index 0000000..8e99885 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-delete-generated-ns.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-delete-ope-ns.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-delete-ope-ns.png new file mode 100644 index 0000000..13ad586 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-delete-ope-ns.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-delete-projects.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-delete-projects.png new file mode 100644 index 0000000..8274146 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-delete-projects.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-delete-subscription.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-delete-subscription.png new file mode 100644 index 0000000..6872162 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-delete-subscription.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-install.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-install.png new file mode 100644 index 0000000..5717202 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-install.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-uninstall-operator.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-uninstall-operator.png new file mode 100644 index 0000000..83e44ec Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-uninstall-operator.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-upgrade-available.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-upgrade-available.png new file mode 100644 index 0000000..924d768 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-upgrade-available.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-upgrade-install-plan.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-upgrade-install-plan.png new file mode 100644 index 0000000..1c8f967 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-upgrade-install-plan.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-upgrade-preview.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-upgrade-preview.png new file mode 100644 index 0000000..40b09b4 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-upgrade-preview.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-upgrade-status.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-upgrade-status.png new file mode 100644 index 0000000..775253f Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-upgrade-status.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-upgrade-succeeded.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-upgrade-succeeded.png new file mode 100644 index 0000000..deb5e36 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods2-upgrade-succeeded.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods_install1.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods_install1.png new file mode 100644 index 0000000..d18d9cd Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods_install1.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods_install2.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods_install2.png new file mode 100644 index 0000000..047f81d Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods_install2.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods_install3.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods_install3.png new file mode 100644 index 0000000..dd4b3ac Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods_install3.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods_install4.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods_install4.png new file mode 100644 index 0000000..0ec7a64 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods_install4.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods_install5.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods_install5.png new file mode 100644 index 0000000..2fcbaed Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods_install5.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods_verify1.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods_verify1.png new file mode 100644 index 0000000..18bf79b Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods_verify1.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods_verify2.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods_verify2.png new file mode 100644 index 0000000..ab73d0f Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods_verify2.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods_verify_pods.png b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods_verify_pods.png new file mode 100644 index 0000000..1c87298 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter1/_images/rhods_verify_pods.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/dependencies-install-web-console.html b/pr-preview/pr-62/rhods-admin/1.33/chapter1/dependencies-install-web-console.html new file mode 100644 index 0000000..b4f53d8 --- /dev/null +++ b/pr-preview/pr-62/rhods-admin/1.33/chapter1/dependencies-install-web-console.html @@ -0,0 +1,500 @@ + + + + + + Installing Dependencies Using the Web Console :: Red Hat OpenShift AI Administration + + + + + + + +
+ +
+ +
+ +
+ +
+

Installing Dependencies Using the Web Console

+
+
+
+

As described in the General Information about Installation section, you may need to install other operators depending on the components and features of OpenShift AI you want to use. This section will discuss about installing and configuring those components.

+
+
+

It is generally recommended to install any dependent operators prior to installing the Red Hat OpenShift AI operator.

+
+
+
+
Red Hat OpenShift Pipelines Operator
+
+

The Red Hat OpenShift Pipelines Operator is required if you want to install the Data Science Pipelines component.

+
+
NVIDIA GPU Operator
+
+

The NVIDIA GPU Operator is required for GPU support in Red Hat OpenShift AI.

+
+
Node Feature Discovery Operator
+
+

The Node Feature Discovery Operator is a prerequisite for the NVIDIA GPU Operator.

+
+
+
+
+

This section will discuss the process for installing the dependent operators using the OpenShift Web Console.

+
+
+
+
+

Installation of Data Science Pipelines Dependencies

+
+
+

The Data Science Pipelines component utilizes Red Hat OpenShift Pipelines as an execution engine for all pipeline runs, and is required to be installed to take advantage of the Data Science Pipelines component.

+
+
+

The following section discusses installing the Red Hat OpenShift Pipelines operator.

+
+
+

Lab: Installation of the Red Hat OpenShift Pipelines operator

+
+
    +
  1. +

    Login to Red Hat OpenShift using a user which has the cluster-admin role assigned.

    +
  2. +
  3. +

    Navigate to OperatorsOperatorHub and search for Red Hat OpenShift Pipelines

    +
    +
    +pipeline search +
    +
    +
  4. +
  5. +

    Click on the Red Hat OpenShift Pipelines operator. In the pop up window, select the latest channel and the most recent version of the pipelines operator. Click on Install to open the operator’s installation view.

    +
    +
    +pipeline install1 +
    +
    +
  6. +
  7. +

    In the Install Operator page, select the default values for all the fields and click Install.

    +
    +
    +pipeline install2 +
    +
    +
  8. +
  9. +

    A window showing the installation progress will pop up.

    +
    +
    +pipeline install3 +
    +
    +
  10. +
  11. +

    When the installation finishes the operator is ready to be used by Red Hat OpenShift AI.

    +
    +
    +pipeline install4 +
    +
    +
  12. +
+
+
+

Red Hat OpenShift Pipelines is now successfully installed.

+
+
+ + + + + +
+ + +For assistance in installing OpenShift Pipelines from YAML or via ArgoCD, refer to examples found in the redhat-cop/gitops-catalog/openshift-pipelines-operator GitHub repo. +
+
+
+
+
+
+

Lab: Installation of GPU Dependencies

+
+
+

Red Hat OpenShift AI makes it easy to expose GPUs to end users to help accelerate training and serving machine learning models.

+
+
+

Currently, Red Hat OpenShift AI supports accelerated compute with NVIDIA GPUs using the NVIDIA GPU Operator which relies on the Node Feature Discovery operator as a dependency.

+
+
+

The following section will discuss the installation and a basic configuration of both NVIDIA GPU Operator and the Node Feature Discovery operator.

+
+
+ + + + + +
+ + +Node Feature Discovery and the NVIDIA GPU Operator can both be installed in a cluster that does not have a node with a GPU. This can be helpful when you plan to add GPUs at a later date. If a GPU is not present in the cluster, the Dashboard will not present the user an option to deploy using a GPU. +
+
+
+ + + + + +
+ + +To view the list of GPU models supported by the NVIDIA GPU Operator refer to the Supported NVIDIA GPUs and Systems docs. +
+
+
+

Demo: Installation of the Node Feature Discovery operator

+
+
    +
  1. +

    Login to Red Hat OpenShift using a user which has the cluster-admin role assigned.

    +
  2. +
  3. +

    Navigate to OperatorsOperatorHub and search for Node Feature Discovery

    +
    +
    +nfd search +
    +
    +
  4. +
  5. +

    Two options for the Node Feature Discovery operator will be available. Click on the one with Red Hat in the top right hand corner, and in the pop up window click on Install to open the operator’s installation view.

    +
    + + + + + +
    + + +Make sure you select Node Feature Discovery from Red Hat NOT the Community version. +
    +
    +
    +
    +nfd install1 +
    +
    +
  6. +
  7. +

    In the Install Operator page, select the option to Enable Operator recommended cluster monitoring on this Namespace, and keep all the rest of the parameters at their default values.

    +
    + + + + + +
    + + +Some of these options may vary slightly depending on your version of OpenShift. Please refer to the official Node Feature Discovery Documentation for your version of OpenShift for the recommended settings. +
    +
    +
    +
    +nfd install2 +
    +
    +
  8. +
  9. +

    Click the Install button at the bottom of the page to proceed with the installation. A window showing the installation progress will pop up.

    +
  10. +
  11. +

    When the installation finishes, click View Operator to configure the Node Feature Discovery operator.

    +
  12. +
  13. +

    Click the Create instance button for the NodeFeatureDiscovery object.

    +
    +
    +nfd configure1 +
    +
    +
  14. +
  15. +

    In the Create NodeFeatureDiscovery page, leave all fields at their default values, and click the Create button.

    +
  16. +
  17. +

    A new set of pods should appear in the WorkloadsPods section managed by the nfd-worker DaemonSet. Node Feature Discovery will now be able to automatically detect information about the nodes in the cluster and apply labels to those nodes.

    +
    +
    +nfd verify +
    +
    +
  18. +
+
+
+ + + + + +
+ + +For assistance in installing the Node Feature Discovery Operator from YAML or via ArgoCD, refer to examples found in the redhat-cop/gitops-catalog/nfd GitHub repo. +
+
+
+

Node Feature Discovery is now successfully installed and configured.

+
+
+
+

Lab: Installation of the NVIDIA GPU Operator

+
+
    +
  1. +

    Login to Red Hat OpenShift using a user which has the cluster-admin role assigned.

    +
  2. +
  3. +

    Navigate to OperatorsOperatorHub and search for NVIDIA GPU Operator

    +
    +
    +gpu search +
    +
    +
  4. +
  5. +

    Click the NVIDIA GPU Operator tile. In the pop up window leave all fields at their default values, and click on Install to open the operator’s installation view.

    +
    +
    +gpu install1 +
    +
    +
  6. +
  7. +

    In the Install Operator page, keep all the parameters at their default values, and click the Install button at the bottom of the page to proceed with the installation.

    +
    +
    +gpu install2 +
    +
    +
  8. +
  9. +

    A window showing the installation progress will pop up. Wait while the operator finishes installing.

    +
  10. +
  11. +

    When the installation finishes, click the View Operator button.

    +
  12. +
  13. +

    Click the Create instance button for the ClusterPolicy object.

    +
    +
    +gpu configure1 +
    +
    +
  14. +
  15. +

    In the Create ClusterPolicy page, leave all fields at their default values, and click the Create button.

    +
  16. +
  17. +

    After the ClusterPolicy is created, the NVIDIA GPU Operator will update the status State: ready.

    +
    +
    +gpu verify1 +
    +
    +
  18. +
  19. +

    After the Red Hat OpenShift AI operator has been installed and configured, users will be able to see an option for "Number of GPUs" when creating a new workbench.

    +
    +
    +gpu verify2 +
    +
    +
  20. +
+
+
+ + + + + +
+ + +The Dashboard may initially show "All GPUs are currently in use, try again later." when Red Hat OpenShift AI is first installed. It may take a few minutes after Red Hat OpenShift AI is installed before the GPUs are initially detected. +
+
+
+ + + + + +
+ + +The NVIDIA GPU Operator supports many advanced use cases such as Multi-Instance GPU (MIG) and Time Slicing that are configurable using the ClusterPolicy. For information about advanced GPU configuration capabilities, refer to the official NVIDIA Documentation. +
+
+
+ + + + + +
+ + +For assistance installing the NVIDIA GPU Operator from YAML or via ArgoCD, refer to examples found in the redhat-cop/gitops-catalog/gpu-operator-certified GitHub repo. +
+
+
+
+
+ +
+
+
+
+
+ Red Hat +
+ + + diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/index.html b/pr-preview/pr-62/rhods-admin/1.33/chapter1/index.html new file mode 100644 index 0000000..cb1f731 --- /dev/null +++ b/pr-preview/pr-62/rhods-admin/1.33/chapter1/index.html @@ -0,0 +1,178 @@ + + + + + + Installation of Red Hat OpenShift AI :: Red Hat OpenShift AI Administration + + + + + + + +
+ +
+ +
+ +
+ +
+

Installation of Red Hat OpenShift AI

+
+

Supported configurations

+
+
+

OpenShift AI is supported in two configurations:

+
+
+
    +
  • +

    A managed cloud service add-on for Red Hat OpenShift Dedicated (with a Customer Cloud Subscription for AWS or GCP) or for Red Hat OpenShift Service on Amazon Web Services (ROSA). +For information about OpenShift AI on a Red Hat managed environment, see Product Documentation for Red Hat OpenShift AI Cloud Service 1

    +
  • +
  • +

    Self-managed software that you can install on-premise or on the public cloud in a self-managed environment, such as OpenShift Container Platform. +For information about OpenShift AI as self-managed software on your OpenShift cluster in a connected or a disconnected environment, see Product Documentation for Red Hat OpenShift AI Self-Managed 2.8

    +
  • +
+
+
+

In this course we cover installation of Red Hat OpenShift AI self-managed using the OpenShift Web Console.

+
+
+
+ +
+
+
+
+
+ Red Hat +
+ + + diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/install-general-info.html b/pr-preview/pr-62/rhods-admin/1.33/chapter1/install-general-info.html new file mode 100644 index 0000000..a637112 --- /dev/null +++ b/pr-preview/pr-62/rhods-admin/1.33/chapter1/install-general-info.html @@ -0,0 +1,185 @@ + + + + + + General Information about Installation :: Red Hat OpenShift AI Administration + + + + + + + +
+ +
+ +
+ +
+ +
+

General Information about Installation

+
+

Red Hat OpenShift AI is available to install as an operator through the OperatorHub, or as a fully managed solution through the OpenShift Marketplace.

+
+
+
+
+

The product name has been recently changed to Red Hat OpenShift AI (RHOAI) (old name Red Hat OpenShift Data Science). In this course, most references to the product use the new name. However, references to some UI elements might still use the previous name.

+
+
+
+
+

In addition to the Red Hat OpenShift AI Operator there are some other operators that you may need to install depending on which features and components of Red Hat OpenShift AI you want to install and use.

+
+
+
+
Red Hat OpenShift Pipelines Operator
+
+

The Red Hat OpenShift Pipelines Operator is required if you want to install the Red Hat OpenShift AI Pipelines component.

+
+
NVIDIA GPU Operator
+
+

The NVIDIA GPU Operator is required for GPU support in Red Hat OpenShift AI.

+
+
Node Feature Discovery Operator
+
+

The Node Feature Discovery Operator is a prerequisite for the NVIDIA GPU Operator.

+
+
+
+ +
+
+
+
+
+ Red Hat +
+ + + diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/rhods-install-web-console.html b/pr-preview/pr-62/rhods-admin/1.33/chapter1/rhods-install-web-console.html new file mode 100644 index 0000000..4e8b259 --- /dev/null +++ b/pr-preview/pr-62/rhods-admin/1.33/chapter1/rhods-install-web-console.html @@ -0,0 +1,285 @@ + + + + + + Installing Red Hat OpenShift AI Using the Web Console :: Red Hat OpenShift AI Administration + + + + + + + +
+ +
+ +
+ +
+ +
+

Installing Red Hat OpenShift AI Using the Web Console

+
+
+
+

Red Hat OpenShift AI is available as an operator via the OpenShift Operator Hub. You will install the Red Hat OpenShift AI operator using the OpenShift web console in this section.

+
+
+
+
+

Lab: Installation of Red Hat OpenShift AI

+
+
+ + + + + +
+ + +The installation requires a user with the cluster-admin role +
+
+
+
    +
  1. +

    Login to the Red Hat OpenShift using a user which has the cluster-admin role assigned.

    +
  2. +
  3. +

    Navigate to OperatorsOperatorHub and search for OpenShift AI.

    +
    +
    +rhods install1 +
    +
    Figure 1. Search for OpenShift AI operator
    +
    +
  4. +
  5. +

    Click on the Red Hat OpenShift AI operator. In the pop up window that opens, ensure you select the latest version in the stable channel and click on Install to open the operator’s installation view.

    +
    +
    +rhods install2 +
    +
    Figure 2. OpenShift AI Operator Details
    +
    +
  6. +
  7. +

    In the Install Operator page, leave all of the options as default and click on the Install button to start the installation.

    +
  8. +
  9. +

    The operator Installation progress window will pop up. The installation may take a couple of minutes.

    +
  10. +
  11. +

    When the operator’s installation is finished, click on the Create DataScienceCluster button to create and configure your cluster.

    +
  12. +
  13. +

    In the Create DataScienceCluster page, a number of components have been pre-selected. You can explore the components offered by expanding the Components field. Once you finish reviewing, click on the Create button.

    +
  14. +
  15. +

    After creating the DataScienceCluster, a view showing the DataScienceCluster details opens. Wait until the status of the cluster reads Phase: Ready. This represents the status of the whole cluster.

    +
    +
    +rhods2 clusters +
    +
    Figure 3. DataScienceCluster Instance Ready
    +
    +
  16. +
  17. +

    The operator should be installed and configured now. +In the applications window in the right upper corner of the screen the Red Hat OpenShift AI dashboard should be available.

    +
    +
    +rhods verify1 +
    +
    Figure 4. RHOAI Dashboard
    +
    +
  18. +
  19. +

    Click the Red Hat OpenShift AI button to log in to the Red Hat OpenShift AI dashboard. Log in as the admin user (With the same password that you used to log in to the OpenShift web console).

    +
    +
    +rhods verify2 +
    +
    Figure 5. Red Hat OpenShift AI Log in
    +
    +
  20. +
  21. +

    You should be able to see the Red Hat OpenShift AI home page.

    +
    +
    +rhoai home +
    +
    Figure 6. Red Hat OpenShift AI Home Page
    +
    +
    + + + + + +
    + + +It may take a while to start all the service pods hence the login window may not be accessible immediately. If you are getting an error, check the status of the pods in the project redhat-ods-applications. +Navigate to Workloadspods and select project redhat-ods-applications. All pods must be running and be ready. If they are not, wait until they become running and ready. +
    +
    +
    +
    +rhods verify pods +
    +
    Figure 7. Pods in Running state
    +
    +
  22. +
+
+
+ + + + + +
+ + +For assistance installing the Red Hat Openshift AI from YAML or via ArgoCD, refer to examples found in the redhat-cop/gitops-catalog/rhods-operator GitHub repo. +
+
+
+
+ +
+
+
+
+
+ Red Hat +
+ + + diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/uninstalling-rhods.html b/pr-preview/pr-62/rhods-admin/1.33/chapter1/uninstalling-rhods.html new file mode 100644 index 0000000..1fa9cea --- /dev/null +++ b/pr-preview/pr-62/rhods-admin/1.33/chapter1/uninstalling-rhods.html @@ -0,0 +1,366 @@ + + + + + + Uninstalling Red Hat OpenShift AI :: Red Hat OpenShift AI Administration + + + + + + + +
+ +
+ +
+ +
+ +
+

Uninstalling Red Hat OpenShift AI

+
+
+
+

The Red Hat OpenShift AI operator manages Red Hat OpenShift AI components, hence uninstalling components requires uninstalling the Red Hat OpenShift AI operator and cleaning some of the resources that have been created by the operator or users.

+
+
+
+
+

Demo: Uninstalling Red Hat OpenShift AI

+
+
+ + + + + +
+ + +These steps are for demonstration purposes only! Do NOT run these steps in your classroom because you will continue to work with the installed version of the product in the hands-on labs in the course. +
+
+
+ + + + + +
+ + +Make sure that you have installed the Red Hat OpenShift AI operator using one of the previous demonstrations (Web based or CLI). They both install a version of the operator from the stable channel. The screenshots in this section were taken on an older version of the product and may not exactly match yours. +
+
+
+
    +
  1. +

    Log in to Red Hat OpenShift web console using a user which has the cluster-admin role assigned.

    +
  2. +
  3. +

    Delete the DataScienceCluster object.

    +
    +

    Navigate to OperatorsInstalled OperatorsRed Hat OpenShift AIDataScienceCluster and delete all the DSC resources.

    +
    +
    +
    +rhods2 delete dsc +
    +
    Figure 1. Delete DSC Resource
    +
    +
    +

    Alternatively, you can delete the DataScienceCluster objects from the CLI.

    +
    +
    +
    +
    $ oc delete datasciencecluster default-dsc
    +
    +datasciencecluster.datasciencecluster.opendatahub.io "default-dsc" deleted
    +
    +
    +
  4. +
  5. +

    Delete the DSCInitialization object that the Operator created during installation.

    +
    +

    Navigate to the DSCInitialization tab and delete all DSCI resources.

    +
    +
    +
    +rhods2 delete dsci +
    +
    Figure 2. Delete DSCI Resource
    +
    +
    +

    Alternatively you can delete the DCSI objects from the CLI.

    +
    +
    +
    +
    $ oc delete dscinitialization default-dsci
    +
    +dscinitialization.dscinitialization.opendatahub.io "default-dsci" deleted
    +
    +
    +
  6. +
  7. +

    Uninstall the Red Hat OpenShift AI operator.

    +
    +

    Navigate to OperatorsInstalled Operators and uninstall the Red Hat OpenShift AI operator.

    +
    +
    +
    +rhods2 uninstall operator +
    +
    Figure 3. Uninstall RHOAI Operator
    +
    +
    +

    Alternatively you can delete the operator’s subscription from the CLI. OLM will uninstall the operator.

    +
    +
    +
    +
    $ oc delete subscription rhods-operator -n redhat-ods-operator
    +
    +subscription.operators.coreos.com "rhods-operator" deleted
    +
    +
    +
  8. +
  9. +

    Delete the namespace where the operator was installed.

    +
    +

    Navigate to AdministrationNamespaces, search for the redhat-ods-operator and delete it.

    +
    +
    +
    +rhods2 delete ope ns +
    +
    +
    +

    Alternatively you can delete the namespace from the CLI.

    +
    +
    +
    +
    $ oc delete ns redhat-ods-operator
    +namespace "redhat-ods-operator" deleted
    +
    +
    +
  10. +
  11. +

    Delete the namespaces that the Operator created during +installation. They are labeled with label opendatahub.io/generated-namespace=true. +Deleting namespace rhods-notebooks leads to Persistent Volume Claims (PVC) being used by Workbench getting deleted as well.

    +
    +

    Navigate to AdministrationNamespaces, filter the namespaces using the label opendatahub.io/generated-namespace=true and delete them.

    +
    +
    +
    +rhods2 delete generated ns +
    +
    +
    +

    Alternatively you can delete the namespaces from the CLI.

    +
    +
    +
    +
    $ oc delete ns -l opendatahub.io/generated-namespace
    +namespace "redhat-ods-applications" deleted
    +namespace "redhat-ods-monitoring" deleted
    +
    +
    +
  12. +
  13. +

    Delete all remaining namespaces created for Datascience projects. These namespaces are labeled by the label opendatahub.io/dashboard=true.

    +
    +

    Navigate to HomeProjects, filter namespaces using the label opendatahub.io/dashboard=true and delete them.

    +
    +
    +
    +rhods2 delete projects +
    +
    +
    +

    Alternatively you can delete them from the CLI.

    +
    +
    +
    +
    $ oc delete ns -l opendatahub.io/dashboard=true
    +namespace "my-rhods-project" deleted
    +
    +
    +
  14. +
+
+
+
+
+

Uninstalling the Red Hat OpenShift AI dependencies.

+
+
+

If you have installed some dependencies you can remove them as long as they are not used by other deployments. +The following demonstration shows uninstallation of the Red Hat OpenShift Pipelines operator.

+
+
+

Demo: Uninstallation of the Red Hat OpenShift Pipelines operator

+
+
    +
  1. +

    Log in to Red Hat OpenShift web console using a user which has the cluster-admin role assigned.

    +
  2. +
  3. +

    Navigate to OperatorsInstalled Operators, choose All Projects and click on the three dots on the right side of the Red Hat OpenShift Pipelines operator.

    +
    +
    +pipelines uninstall +
    +
    +
    +

    Click on Uninstall operator.

    +
    +
  4. +
  5. +

    In the pop-up window scroll down, check Delete all operand instances for this operator and click on Uninstall.

    +
    +
    +piplines uninstall confirm +
    +
    +
  6. +
+
+
+
+
+ +
+
+
+
+
+ Red Hat +
+ + + diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter1/upgrading-rhods.html b/pr-preview/pr-62/rhods-admin/1.33/chapter1/upgrading-rhods.html new file mode 100644 index 0000000..468acc9 --- /dev/null +++ b/pr-preview/pr-62/rhods-admin/1.33/chapter1/upgrading-rhods.html @@ -0,0 +1,312 @@ + + + + + + Upgrading Red Hat OpenShift AI :: Red Hat OpenShift AI Administration + + + + + + + +
+ +
+ +
+ +
+ +
+

Upgrading Red Hat OpenShift AI

+
+
+
+

Red Hat OpenShift AI upgrades are handled by the Red Hat OpenShift AI operator.

+
+
+

When an upgrade is available, OLM creates an Installplan for the new version.

+
+
+
+
$ oc get installplan -n redhat-ods-operator
+NAME            CSV                    APPROVAL   APPROVED
+install-sp49w   rhods-operator.2.7.0   Manual     false   (1)
+install-w6lqv   rhods-operator.2.6.0   Manual     true    (2)
+
+
+
+ + + + + + + + + +
1Installplan for the new version of the operator which has not been approved yet. It has to be approved in order to start the upgrade.
2Installplan for the currently installed version. It’s been approved and the version is currently installed.
+
+
+

Installplan is approved either automatically when a new version is available without user’s intervention or requires a manual approval. Whether the approval is automatic or manual, depends on the value of the installPlanApproval attribute of the operator’s subscription. When it is set to Automatic the installplan is approved automatically and installation starts without user’s intervention. Manual value requires a manual approval.

+
+
+

Approvals can be set from the web console as well as from the CLI.

+
+
+

The following demonstration shows an upgrade with a manual approval done from the web console.

+
+
+
+
+

Demo: Upgrading Red Hat OpenShift AI

+
+
+ + + + + +
+ + +These steps are for demonstration purposes only! Do NOT run these steps in your classroom because you will continue to work with the stable version of the product in the hands-on labs in the course. +
+
+
+ + + + + +
+ + +Make sure that you have installed the Red Hat OpenShift AI operator using one of the previous demonstrations (Web based or CLI). They both install a version of the operator from the stable channel. The screenshots in this section were taken on an older version of the product and may not exactly match yours. +
+
+
+
    +
  1. +

    Log in to Red Hat OpenShift web console using a user which has cluster-admin role assigned.

    +
  2. +
  3. +

    Navigate to OperatorsInstalled Operators, select project redhat-ods-operator, click on the Red Hat OpenShift AI and choose the Subscription tab. +Edit the Update channel - change it to alpha and click Save.

    +
    +
    +rhods2 channel change +
    +
    +
    + + + + + +
    + + +There may not be any updates available at the time when you do this. In which case, your screen will look different in the following steps. +
    +
    +
  4. +
  5. +

    Navigate again to OperatorsInstalled Operators and select project redhat-ods-operator. You should see Upgrade available under the Status column.

    +
    +
    +rhods2 upgrade available +
    +
    +
    + + + + + +
    + + +You will see a similar screen only if there is an update available. The screenshots in this demo were taken on an older version of the product when there were frequent updates available. +
    +
    +
  6. +
  7. +

    Click on the Upgrade available status link to open operator’s Install plan

    +
    +
    +rhods2 upgrade install plan +
    +
    +
  8. +
  9. +

    Click on the Preview InstallPlan button to review changes to be made by the upgrade.

    +
    +
    +rhods2 upgrade preview +
    +
    +
  10. +
  11. +

    Click on the Approve button to approve and start the upgrade and navigate to OperatorsInstalled Operators to view the upgrade status.

    +
    +
    +rhods2 upgrade status +
    +
    +
  12. +
  13. +

    Wait until the Status changes to Succeeded

    +
    +
    +rhods2 upgrade succeeded +
    +
    +
  14. +
+
+
+
+
+

Backup considerations

+
+
+

Permanent storage for Jupyter notebooks is done using OpenShift Persistent Volume Claims (PVC) attached to the Jupyter notebook pod. The operator does not manage PVCs hence there is no need to take a backup as long as the OpenShift Namespace where the Jupyter notebook pod is running is not deleted. Even in an event of accidental operator uninstallation all PVCs in namespaces created by either the operator or an OpenShift AI user remain untouched.

+
+
+
+ +
+
+
+
+
+ Red Hat +
+ + + diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter2/_images/create-datascience-project.png b/pr-preview/pr-62/rhods-admin/1.33/chapter2/_images/create-datascience-project.png new file mode 100644 index 0000000..aa4d1d4 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter2/_images/create-datascience-project.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter2/_images/datascience-project-permissions.png b/pr-preview/pr-62/rhods-admin/1.33/chapter2/_images/datascience-project-permissions.png new file mode 100644 index 0000000..db1e2be Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter2/_images/datascience-project-permissions.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter2/_images/idle-notebook-culling.png b/pr-preview/pr-62/rhods-admin/1.33/chapter2/_images/idle-notebook-culling.png new file mode 100644 index 0000000..6f61750 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter2/_images/idle-notebook-culling.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter2/_images/login-with-openshift.png b/pr-preview/pr-62/rhods-admin/1.33/chapter2/_images/login-with-openshift.png new file mode 100644 index 0000000..b94ca8a Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter2/_images/login-with-openshift.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter2/_images/user-management.png b/pr-preview/pr-62/rhods-admin/1.33/chapter2/_images/user-management.png new file mode 100644 index 0000000..3935e85 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter2/_images/user-management.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter2/index.html b/pr-preview/pr-62/rhods-admin/1.33/chapter2/index.html new file mode 100644 index 0000000..5c91606 --- /dev/null +++ b/pr-preview/pr-62/rhods-admin/1.33/chapter2/index.html @@ -0,0 +1,177 @@ + + + + + + Controlling User Access and Managing Resources :: Red Hat OpenShift AI Administration + + + + + + + +
+ +
+ +
+ +
+ +
+

Controlling User Access and Managing Resources

+
+

This chapter teaches you how to manage data science projects and controller access with users and groups within OpenShift AI. You will also learn about different administrative configuration options from within OpenShift AI.

+
+
+

Goals:

+
+
+
    +
  • +

    Manage access to the OpenShift AI Dashboard

    +
  • +
  • +

    Control access to data science projects with users and groups

    +
  • +
  • +

    Configure automatic cleanup of idle workbenches

    +
  • +
  • +

    Manage default workbench and model server sizes

    +
  • +
+
+ +
+
+
+
+
+ Red Hat +
+ + + diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter2/resources.html b/pr-preview/pr-62/rhods-admin/1.33/chapter2/resources.html new file mode 100644 index 0000000..ec626d1 --- /dev/null +++ b/pr-preview/pr-62/rhods-admin/1.33/chapter2/resources.html @@ -0,0 +1,620 @@ + + + + + + Managing Resources :: Red Hat OpenShift AI Administration + + + + + + + +
+ +
+ +
+ +
+ +
+

Managing Resources

+
+
+
+

OpenShift AI allows for end users to create many different types of resources as part of the development and deployment process. This section will review the different types of resources users are able to create in OpenShift AI and how to manage them.

+
+
+
+
+

Kubernetes Resources

+
+
+

The majority of actions taken in the OpenShift AI will create a kubernetes object based on that action. This section will discuss the different components supported by OpenShift AI and the different resources they create or interact with.

+
+
+

Data Science Projects

+ ++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
OpenShift AI Resource NameKubernetes Resource NameCustom ResourceDescription

Data Science Project

projects.project.openshift.io

No

A Data Science Project is synonym with an OpenShift Project or a Namespace. See the users section for more information on how to create and manage Data Science Projects.

Users

users.user.openshift.io

No

A user is an object that corresponds to a specific user that can be granted permissions within OpenShift.

Groups

groups.user.openshift.io

No

A group is a collection of users that like users, can be granted permissions within OpenShift.

Permissions

rolebindings.rbac.authorization.k8s.io

No

Users and Groups are granted permission to a Data Science Project via a RoleBinding. RoleBindings associate the user or group with a specific Kubernetes Role. Only the Edit and Admin roles are available within the Dashboard.

+
+
+

Notebook Controller

+ ++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
OpenShift AI Resource NameKubernetes Resource NameCustom ResourceDescription

Workbench

notebooks.kubeflow.org

Yes

A workbench is a IDE running in a pod using the Kubeflow Notebook Controller. Workbenches can run a number of web based IDEs including JupyterLab, VSCode, and R Studio, depending on what IDE was built into the workbench image.

Cluster Storage

persistentvolumeclaims

No

Workbenches utilize cluster storage to persist a users environment when the workbench pod is not running. When creating a workbench a default cluster storage instance will be created automatically to store any code or files a user creates in the workbench. Additional cluster storage can be added to the workbench for things like a dedicated PVC for training data.

Data Connection

secrets

No

A data connection is a secret that includes fields required to connect to an S3 bucket.

+
+
+

Data Science Pipelines

+ ++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
OpenShift AI Resource NameKubernetes Resource NameCustom ResourceDescription

Data Science Pipeline Application

datasciencepipelinesapplications.datasciencepipelinesapplications.opendatahub.io

Yes

DSPA’s create an instance of Data Science Pipelines. DSPA’s require a data connection and an S3 bucket to create the instance. DSPA’s are namespace scoped to prevent leaking data across multiple projects.

Pipelines

N/A

N/A

When developing a pipeline, depending on the tool, users may generate a YAML based PipelineRun object that is then uploaded into the Dashboard to create an executable pipeline. Even though this yaml object is a valid Tekton PipelineRun it is intended to be uploaded to the Dashboard, and not applied directly to the cluster.

Pipeline Runs

pipelineruns.tekton.dev

Yes

A pipeline can be executed in a number of different ways, including from the Dashboard, which will result in the creation of a pipelinerun.

+
+
+

Model Mesh

+ ++++++ + + + + + + + + + + + + + + + + + + + + + + +
OpenShift AI Resource NameKubernetes Resource NameCustom ResourceDescription

Model Server

servingruntimes.serving.kserve.io

Yes

A model server is used to create a pod to serve models. A single model server can serve multiple models from a single instance.

Models

inferenceservices.serving.kserve.io

Yes

Models are associated with a specific model server, from which an endpoint will be created. Models require a data connection and a location where the model file is stored in the s3 bucket.

+
+
+
+
+

Configuring Idle Notebook Culling

+
+
+

Notebooks or Workbenches are intended to be user interactive development environments. Often times they can consume a large number of compute, memory, or GPU resources, and users may forget to shut them off when they are finished working with them, which can lead to issues where clusters begin to run out of available resources if not cleaned up.

+
+
+

The Idle Notebook Culler is intended to help reduce the number of inactive notebooks running on the cluster, by detecting the last time an action was taken in a notebook and shutting down the pods if the notebook has been inactive for a period of time.

+
+
+

An admin can enable culling for notebooks though the Dashboard under the Settings  Cluster settings section:

+
+
+
+idle notebook culling +
+
+
+

Alternatively, the idle notebook culling can be configured by creating the following config map:

+
+
+
+
kind: ConfigMap
+apiVersion: v1
+metadata:
+  name: notebook-controller-culler-config (1)
+  namespace: redhat-ods-applications (2)
+  labels:
+    opendatahub.io/dashboard: 'true'
+data:
+  CULL_IDLE_TIME: '240' (3)
+  ENABLE_CULLING: 'true' (4)
+  IDLENESS_CHECK_PERIOD: '1' (5)
+
+
+
+ + + + + + + + + + + + + + + + + + + + + +
1The name of the config map, which must match notebook-controller-culler-config
2The namespaces where the Dashboard is installed
3The time an notebook is idle before it is automatically stopped (in minutes)
4An option to enable or disable the automatic culling
5How frequently the culler will check if the notebook is idle (in minutes)
+
+
+

A notebook is considered idle when no logged-in user has taken any action inside of the notebook such as executing a cell, creating files, or interacting with the user interface in general.

+
+
+ + + + + +
+ + +
+

If your cluster is configured to end user sessions after a certain period of time, then this setting overrides the idle notebook time limit configured in RHOAI.

+
+
+

For example, assume you have configured your cluster to time out user sessions after one hour of inactivity, and also configured the RHOAI idle notebook time limit to five hours. +In this case, RHOAI will stop a notebook if no logged-in user activity is detected after one hour.

+
+
+
+
+
+
+

Managing Workbench and Model Server Sizes

+
+
+

When launching Workbenches or Model Servers from the Dashboard, users are presented with several default sizes they can select from. The default options may not suit your organizations needs.

+
+
+
+
apiVersion: opendatahub.io/v1alpha
+kind: OdhDashboardConfig
+metadata:
+  annotations:
+    internal.config.kubernetes.io/previousKinds: OdhDashboardConfig
+    internal.config.kubernetes.io/previousNames: odh-dashboard-config
+    internal.config.kubernetes.io/previousNamespaces: default
+  name: odh-dashboard-config (1)
+  namespace: redhat-ods-applications (2)
+  labels:
+    app.kubernetes.io/part-of: rhods-dashboard
+    app.opendatahub.io/rhods-dashboard: 'true'
+spec:
+  dashboardConfig:
+    modelMetricsNamespace: ''
+    enablement: true
+    disableProjects: false
+    disableSupport: false
+    disablePipelines: false
+    disableProjectSharing: false
+    disableModelServing: false
+    disableCustomServingRuntimes: false
+    disableISVBadges: false
+    disableUserManagement: false
+    disableInfo: false
+    disableClusterManager: false
+    disableBYONImageStream: false
+    disableTracking: false
+  groupsConfig:
+    adminGroups: rhods-admins
+    allowedGroups: 'system:authenticated'
+  modelServerSizes: (3)
+    - name: Small
+      resources:
+        limits:
+          cpu: '2'
+          memory: 8Gi
+        requests:
+          cpu: '1'
+          memory: 4Gi
+    - name: Medium
+      resources:
+        limits:
+          cpu: '8'
+          memory: 10Gi
+        requests:
+          cpu: '4'
+          memory: 8Gi
+    - name: Large
+      resources:
+        limits:
+          cpu: '10'
+          memory: 20Gi
+        requests:
+          cpu: '6'
+          memory: 16Gi
+  notebookController:
+    enabled: true
+    notebookNamespace: rhods-notebooks
+    notebookTolerationSettings:
+      enabled: false
+      key: NotebooksOnly
+    pvcSize: 20Gi
+  notebookSizes: (4)
+    - name: Small
+      resources:
+        limits:
+          cpu: '2'
+          memory: 8Gi
+        requests:
+          cpu: '1'
+          memory: 8Gi
+    - name: Medium
+      resources:
+        limits:
+          cpu: '6'
+          memory: 24Gi
+        requests:
+          cpu: '3'
+          memory: 24Gi
+    - name: Large
+      resources:
+        limits:
+          cpu: '14'
+          memory: 56Gi
+        requests:
+          cpu: '7'
+          memory: 56Gi
+    - name: X Large
+      resources:
+        limits:
+          cpu: '30'
+          memory: 120Gi
+        requests:
+          cpu: '15'
+          memory: 120Gi
+  templateOrder: []
+
+
+
+ + + + + + + + + + + + + + + + + +
1The name of the OdhDashboardConfig, which must match odh-dashboard-config
2The namespaces where the Dashboard is installed
3The default model server sizes, provided as a list
4The default workbench sizes, provided by a list
+
+
+ + + + + +
+ + +
+

Users will most often select the largest option available to them, despite what their actual needs are. Customizing these options based on the kinds of use cases your organization typically tackles can help to reduce the overall consumption of resources on a cluster.

+
+
+
+
+ + + + + +
+ + +
+

OpenShift provides the ability to restrict how many resources, including CPU, memory, and GPUs, are consumed by each project on a cluster with a LimitRange. To learn more about these capabilities refer to the +Restrict resource consumption with limit ranges documentation.

+
+
+
+
+
+
+

Removing an Unused Project

+
+
+

Over time, projects may become abandoned as users leave your organization or move onto other initiatives. Old projects may need to be cleaned up and removed from the cluster in order to free up those resources.

+
+
+

The following oc commands can be used to help cleanup OpenShift AI related resources prior to deleting the project:

+
+
+
+
# select the project
+oc project my-project
+
+# delete any workbenches
+oc delete notebooks --all
+# delete any models and model servers
+oc delete inferenceservices,servingruntimes --all
+# delete any data science pipeline instances
+oc delete dspa,pipelineruns --all
+
+# cleanup any other non OpenShift AI resources deployed in the project
+
+# delete any other common objects
+oc delete pvc,configmaps,secrets,rolebindings,roles --all
+
+# delete the project
+oc delete project my-project
+
+
+
+

Similarly, you can use the RHOAI dashboard to delete a data science project. +In the Data Science Projects section, locate the project to be deleted, click â‹® and then click Delete project.

+
+
+ + + + + +
+ + +
+

There is no need to manually delete all the resources in a data science project before deleting the project.

+
+
+

When you delete a data science project, the finalizer deletes all namespaced resources in this project, including notebooks, model servers, PVCs, configuration maps, secrets, and other common project-scoped objects.

+
+
+
+
+
+ +
+
+
+
+
+ Red Hat +
+ + + diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter2/users.html b/pr-preview/pr-62/rhods-admin/1.33/chapter2/users.html new file mode 100644 index 0000000..ec2723a --- /dev/null +++ b/pr-preview/pr-62/rhods-admin/1.33/chapter2/users.html @@ -0,0 +1,468 @@ + + + + + + Users, Projects, and Permissions :: Red Hat OpenShift AI Administration + + + + + + + +
+ +
+ +
+ +
+ +
+

Users, Projects, and Permissions

+
+
+
+

As discussed in the previous section, Red Hat OpenShift AI allows users to install several different components to enable ML workloads. One of the components is the OpenShift AI Dashboard, which acts as the primary user interface to help guide users to working with, deploying, and managing ML solutions.

+
+
+

This section discusses of the intricacies of managing users with OpenShift AI and how to modify the default permissions for a project.

+
+
+
+
+

Logging Into The OpenShift AI Dashboard

+
+
+

OpenShift AI utilizes OpenShift OAuth as the authentication method for all OpenShift AI related resources. When attempting to log into the OpenShift AI Dashboard or other UI components, users will be presented with a page prompting them to Log in with OpenShift.

+
+
+
+login with openshift +
+
+
+

By default, any user with the ability to login to OpenShift will be able to access the OpenShift AI Dashboard.

+
+
+ + + + + +
+ + +
+

For assistance with configuring user access to OpenShift with various identity providers, please refer to the official Preparing for users OpenShift documentation.

+
+
+
+
+
+
+

Admin Access

+
+
+

By default, users with the cluster-admin role are automatically granted admin permissions in the OpenShift AI Dashboard. Additionally, a group called rhods-admins is automatically created, and any user added to that group will be granted admin permissions.

+
+
+

Admin access in the OpenShift AI Dashboard allows users to control various settings of OpenShift AI through the Dashboard UI, including:

+
+
+
    +
  • +

    Configuring custom notebook images

    +
  • +
  • +

    Configuring custom serving runtimes

    +
  • +
  • +

    Configuring the idle notebook culler (automatic removal of inactive notebooks)

    +
  • +
  • +

    Other notebook configuration settings

    +
  • +
+
+
+

To add users to the rhods-admins group, run the following command:

+
+
+
+
oc adm groups add-users rhods-admins my-user1 my-user2
+
+
+
+
+
+

Updating Default User Permissions

+
+
+

The default permissions for the OpenShift AI Dashboard can be updated through the Settings  User management section.

+
+
+
+user management +
+
+
+

The admin group can be updated to another group other than the default rhods-admins group, such as one that is configured to sync with an external system. Additionally, admin permissions to the Dashboard are always granted to users assigned the cluster-admin ClusterRole.

+
+
+ + + + + +
+ + +
+

It is highly recommended that dedicated admin users are configured for OpenShift AI and that organizations do not rely on the cluster-admin role for exclusive permissions to admin configurations of OpenShift AI. Dedicated Admin users should be added to the existing rhods-admins group, or another group which already contains the correct users that should be configured in lieu of the rhods-admins group.

+
+
+
+
+

The normal Data Science user group can also be updated to change what users are able to sign into the OpenShift AI Dashboard. By default, the Dashboard is configured to allow all authenticated users with the system:authenticated role. A custom group can be configured to allow only specific users belonging to that group to access the Dashboard.

+
+
+ + + + + +
+ + +
+

Updating the access in the User and group settings in the Dashboard will only impact a user’s abilities to access the Dashboard, and will not impact any permissions granted by regular Kubernetes based RBAC.

+
+
+

For example, if the normal user group is updated to only allow specific users to access the Dashboard, and a user that is not part of that group as admin may still have the ability to create Data Science related objects such as Notebooks, Data Science Pipelines, or Model Servers in a namespace they have permission in using the associated k8s objects without the UI.

+
+
+
+
+

Managing Dashboard Permissions with GitOps

+
+

The User and group settings in the OpenShift AI Dashboard can also be managed using the OdhDashboardConfigs object called odh-dashboard-config located in the redhat-ods-applications namespace along with many of the other settings found in the Dashboard’s Settings section:

+
+
+
+
oc get odhdashboardconfigs odh-dashboard-config -n redhat-ods-applications -o yaml
+
+
+
+

A truncated version of the OdhDashboardConfig object with the groupConfig settings can be found below:

+
+
+
+
apiVersion: opendatahub.io/v1alpha
+kind: OdhDashboardConfig
+metadata:
+  name: odh-dashboard-config
+  namespace: redhat-ods-applications
+spec:
+  groupsConfig:
+    adminGroups: rhods-admins
+    allowedGroups: 'system:authenticated'
+
+
+
+

This object can be exported from the cluster and stored in a git repository to enable managing these settings with GitOps.

+
+
+
+
+
+

Default Data Science Project Permissions

+
+
+

The OpenShift AI Dashboard permits users of the Dashboard to create new Data Science Projects when self-provisioning is enabled on the cluster:

+
+
+
+create datascience project +
+
+
+ + + + + +
+ + +
+

The terms Namespaces, OpenShift Projects, and Data Science Projects are often used synonymously. While there are technical differences between these objects, a project is essentially a namespace with some additional features provided by OpenShift. OpenShift will always create a corresponding project for every namespace, and vice versa.

+
+
+

Similarly, a Data Science Project is just an OpenShift Project that has a specific label, which enables it to be used with the Dashboard.

+
+
+
+
+ + + + + +
+ + +
+

For information on how to disable self-provisioner on OpenShift refer to the official Disabling project self-provisioning OpenShift documentation.

+
+
+
+
+

When a user creates a new Data Science Project through the Dashboard, the Dashboard will create a corresponding OpenShift Project and Kubernetes Namespace. The user who created the Data Science Project will automatically be granted the OpenShift admin role for the Namespace.

+
+
+ + + + + +
+ + +
+

OpenShift allows for both "cluster admins" who have the ability to manage all cluster and namespace scoped objects on a cluster, and "namespace admins" that have permission to manage all namespace scoped objects in a specific namespace.

+
+
+

All users with the cluster-admin role have the ability to see all other users namespaces.

+
+
+
+
+

Managing Permissions on a Data Science Project

+
+

A Data Science Project is nothing more than a normal OpenShift Project with a few special labels. These labels are required for the project to appear in the Dashboard. As such, permissions to the project function the same as any other project/namespace in OpenShift.

+
+
+

Users and Groups permissions to a project are managed using Kubernetes Role Based Access Control (RBAC). The Dashboard provides a user interface to easily assign additional users or groups permissions to a project.

+
+
+

An admin user on the project can add additional users or groups to a project by navigating to a specific project under the Data Science Projects menu, and selecting the Permissions tab.

+
+
+
+datascience project permissions +
+
+
+

From the permissions tab, project admin users are able to add additional users or groups and grant them the edit or admin role on the project.

+
+
+ + + + + +
+ + +
+

The Dashboard Permissions user interface only displays users and groups that were granted permissions directly through the Dashboard. Any users or groups that have been granted permission to the Project by any traditional OpenShift role management such as creating RoleBindings on the project or who are granted higher level cluster permissions will not be displayed in the user interface.

+
+
+
+
+
+

Manually Creating Data Science Projects

+
+

When self-provisioner is disabled on a cluster, a cluster administrator will be required to manually create Data Science Projects for users.

+
+
+

As mentioned previously, a Data Science Project is a normal OpenShift project/namespace with a few special labels that allow to be managed by the RHOAI Dashboard, allowing it to be managed using any existing processes or tools your organization already utilizes to manage namespaces.

+
+
+

To manually create a Data Science Project from the cli, you can run the following commands to create a namespace and apply the necessary labels:

+
+
+
+
oc create namespace myproject
+oc label namespace myproject opendatahub.io/dashboard='true' modelmesh-enabled='true'
+
+
+
+

Alternatively, the following YAML object can be used to create the Data Science Project:

+
+
+
+
kind: Namespace
+apiVersion: v1
+metadata:
+  name: myproject
+  labels:
+    modelmesh-enabled: 'true'
+    opendatahub.io/dashboard: 'true'
+
+
+
+

Once the Data Science Project has been created, access to the project will need to be configured for the necessary user or group using either the cli, or a namespace RoleBinding. Refer to the OpenShift documentation for Adding roles to users for additional instructions.

+
+
+
+
+
+

Exercise

+
+
+

Create a new Data Science Project and add a group with edit permissions.

+
+
+
    +
  1. +

    Create a Data Science Project called group-demo.

    +
  2. +
  3. +

    Navigate to the OpenShift Web Console, and create a Group called my-team.

    +
  4. +
  5. +

    Add user1 and user2 to the Group my-team.

    +
  6. +
  7. +

    Back in the OpenShift AI Dashboard, grant the team my-team the edit role on the project group-demo.

    +
  8. +
+
+
+
+ +
+
+
+
+
+ Red Hat +
+ + + diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/customContainerFile.png b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/customContainerFile.png new file mode 100644 index 0000000..eda28d7 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/customContainerFile.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/podmanBuildCommand.png b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/podmanBuildCommand.png new file mode 100644 index 0000000..4864917 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/podmanBuildCommand.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/podmanImages.png b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/podmanImages.png new file mode 100644 index 0000000..2d5bb48 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/podmanImages.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/podmanJavaPathExists.png b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/podmanJavaPathExists.png new file mode 100644 index 0000000..f3b6680 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/podmanJavaPathExists.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/podmanNoJavaPath.png b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/podmanNoJavaPath.png new file mode 100644 index 0000000..2c127dd Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/podmanNoJavaPath.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/podmanSeabornInstalled.png b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/podmanSeabornInstalled.png new file mode 100644 index 0000000..c7fbdaa Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/podmanSeabornInstalled.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/quayMakePublic.png b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/quayMakePublic.png new file mode 100644 index 0000000..ebbbaf0 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/quayMakePublic.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/quaySettings.png b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/quaySettings.png new file mode 100644 index 0000000..3b97fda Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/quaySettings.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/rhodsAdminCustomNotebook.png b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/rhodsAdminCustomNotebook.png new file mode 100644 index 0000000..5aa8a06 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/rhodsAdminCustomNotebook.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/rhodsCreateProj.png b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/rhodsCreateProj.png new file mode 100644 index 0000000..f87ed6b Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/rhodsCreateProj.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/rhodsCreateWrkbench.png b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/rhodsCreateWrkbench.png new file mode 100644 index 0000000..46920f7 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/rhodsCreateWrkbench.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/rhodsCreateWrkbenchDetails.png b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/rhodsCreateWrkbenchDetails.png new file mode 100644 index 0000000..30c2ef1 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/rhodsCreateWrkbenchDetails.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/rhodsDataScienceProj.png b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/rhodsDataScienceProj.png new file mode 100644 index 0000000..7db968b Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/rhodsDataScienceProj.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/rhodsImportCustomImage.png b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/rhodsImportCustomImage.png new file mode 100644 index 0000000..b432f85 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/rhodsImportCustomImage.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/rhodsNewPythonNotebook.png b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/rhodsNewPythonNotebook.png new file mode 100644 index 0000000..436ff58 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/rhodsNewPythonNotebook.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/rhodsNotebookImage.png b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/rhodsNotebookImage.png new file mode 100644 index 0000000..f106214 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/rhodsNotebookImage.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/rhodsPipList.png b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/rhodsPipList.png new file mode 100644 index 0000000..41ae00e Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/rhodsPipList.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/rhodsWorkbenchStart.png b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/rhodsWorkbenchStart.png new file mode 100644 index 0000000..425c554 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/rhodsWorkbenchStart.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/seabornReq.png b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/seabornReq.png new file mode 100644 index 0000000..8f247ef Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/seabornReq.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/seabornTrinoReq.png b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/seabornTrinoReq.png new file mode 100644 index 0000000..37da433 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/seabornTrinoReq.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/testSeaborn1.png b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/testSeaborn1.png new file mode 100644 index 0000000..0185644 Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/testSeaborn1.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/testSeaborn2.png b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/testSeaborn2.png new file mode 100644 index 0000000..4a87aca Binary files /dev/null and b/pr-preview/pr-62/rhods-admin/1.33/chapter3/_images/testSeaborn2.png differ diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter3/custom.html b/pr-preview/pr-62/rhods-admin/1.33/chapter3/custom.html new file mode 100644 index 0000000..0a59a94 --- /dev/null +++ b/pr-preview/pr-62/rhods-admin/1.33/chapter3/custom.html @@ -0,0 +1,402 @@ + + + + + + Create a Custom Notebook Image :: Red Hat OpenShift AI Administration + + + + + + + +
+ +
+ +
+ +
+ +
+

Create a Custom Notebook Image

+
+
+
+

Custom notebook images allow you to add specific packages and libraries for your projects. This level of customization provides you with a consistent development environment for your teams to work in and ensures that your projects are reproducible between team members. You may also want to create custom notebooks that are more secure than the default notebook image provided in OpenShift AI.

+
+
+
+
+

Image source and Pre-built images

+
+
+

The default OpenShift AI notebook images can be found in the Default OpenShift AI notebooks repository. This repository contains the source code, pre-built images, and examples to help you create your own image.

+
+
+

Additional images are available at the ODH contributions repository (opendatahub-io-contrib/workbench-images). This is a place to source additional images, as well as a great resource for best practices for building custom images. Workbench and runtime images are available as well as a script to generate custom images (https://github.com/opendatahub-io-contrib/workbench-images#building-an-image).

+
+
+
+
+

Exercise

+
+
+

We will now build our own custom image. We’ll use CUDA Notebook as our base image. This image contains artifacts that we will be using later in the course.

+
+
+

We will be adding the seaborn python package to the base image. It is a data visualization library based on matplotlib.

+
+
+ + + + + +
+ + +
+
    +
  • +

    On OpenShift, every container in a standard namespace (unless you modify security) runs with a random user id (uid), and the group id (gid) 0. Therefore, all the folders that you want to write in, and all the files you want to modify (temporarily) in your image must be accessible by this user. The best practice is to set the ownership as 1001:0 (user "default", group "0").

    +
  • +
  • +

    If you don’t want/can’t do that, another solution is to set permissions properly for any user, like chmod 775.

    +
  • +
  • +

    When launching a notebook in OpenShift AI, the working directory of a user is mounted at /opt/app-root/src. This is not configurable, so make sure to build your images with this default location for the data that you want persisted.

    +
  • +
+
+
+
+
+

Requirements

+
+

To build:

+
+
+
    +
  • +

    You need podman

    +
    +
      +
    • +

      You could also use buildah, docker, OpenShift BuildConfigs, or a Tekton pipeline, but we’ll just build the image using podman for this course.

      +
    • +
    +
    +
  • +
  • +

    You need a container image registry

    +
    +
      +
    • +

      We’ll use Quay as our image registry. You can sign up for a free account at Quay.io if you don’t already have one.

      +
    • +
    +
    +
  • +
+
+
+
+

Containerfile Overview

+
+

Before you start to edit the Containerfile lets go over what this Containerfile is doing.

+
+
+
+
Containerfile
+
+
+
+
+
+
+
#This is the base image we'll be working from
+FROM quay.io/modh/cuda-notebooks:cuda-jupyter-tensorflow-ubi9-python-3.9-20240329-3538b44  (1)
+
+# Copying custom packages
+# The requirements.txt file contains additional package dependencies we want installed
+COPY requirements.txt ./  (2)
+
+# Install packages and cleanup
+# (all commands are chained to minimize layer size)
+RUN echo "Installing softwares and packages" && \     (3)
+    pip install micropipenv && \
+    # Install Python packages \
+    micropipenv install && \
+    rm -f ./requirements.txt
+
+# Fix permissions to support pip in OpenShift environments \
+RUN chmod -R g+w /opt/app-root/lib/python3.9/site-packages && \    (4)
+    fix-permissions /opt/app-root -P
+
+
+
+ + + + + + + + + + + + + + + + + +
1The FROM command contains the base image that we’ll be using to build our custom image from. This will already contain common python packages that Data Scientists use and artifacts needed later in the course. You can find more base images at https://quay.io/organization/modh.
2The COPY command copies a requirements.txt file with the extra package that we will need in our notebook. The requirements.txt file in Python is a text file that lists all the third-party Python packages or libraries that a project depends on. micropipenv is a small footprint alternative to pip that allows us to install packages from our requirements.txt file.
3The next step is to install the packages. A lightweight wrapper for pip, micropipenv, allows us to install packages from our requirements.txt file. After the seaborn package is installed we then remove the requirements.txt to clean up the files.
4We’ll fix the permissions to support pip in OpenShift.
+
+
+
+
+
+

Build Steps

+
+
    +
  1. +

    Clone the https://github.com/RedHatQuickCourses/rhods-qc-apps Git repository to your workstation (using the git CLI, not in the Jupyter Notebook interface).

    +
  2. +
  3. +

    Navigate to the cloned repository, and open the requirements.txt file under the 6.rhod-admin/custom-images folder . The only package we’re installing is seaborn. It’s a Python data visualization library that we’ll use in our notebook.

    +
    +

    requirements.txt

    +
    +
    +
    +
    seaborn==0.13.0
    +
    +
    +
    +

    Multiple packages can be installed with the requirements.txt file by adding them on the next line. For example, the below requirements.txt file would install seaborn and the trino packages.

    +
    +
    +

    requirements.txt

    +
    +
    +
    +
    seaborn==0.13.0
    +trino==0.305.0
    +
    +
    +
  4. +
  5. +

    Open the Containerfile under the 6.rhod-admin/custom-images folder and add the 3 commands below to the appropriate sections in the Containerfile. Refer to the Containerfile Overview section above to verify the correct location.

    +
    +
    +
       FROM quay.io/modh/cuda-notebooks:cuda-jupyter-tensorflow-ubi9-python-3.9-20240329-3538b44
    +
    +
    +
    +
    +
       COPY requirements.txt ./
    +
    +
    +
    +
    +
       RUN pip install --no-cache-dir -r requirements.txt
    +
    +
    +
  6. +
  7. +

    We’ll now build the image with podman. Open a terminal and go to 6.rhod-admin/custom-images. Run the below command.

    +
    +
    +
    podman build -t rhods-admin-custom-image .
    +
    +
    +
    +

    You should see a similar message in the logs:

    +
    +
    +
      +
    • +

      The seaborn package is installed successfully.

      +
      +
      +podmanSeabornInstalled +
      +
      +
    • +
    +
    +
  8. +
  9. +

    Once the image is done building run the below command to make sure the image is in the list.

    +
    +
    +
    podman images
    +
    +
    +
    +
    +podmanImages +
    +
    +
  10. +
  11. +

    Login to quay.io so we can push the image you just built up to the quay repository.

    +
    +
    +
    podman login quay.io
    +
    +
    +
  12. +
  13. +

    Push the image to your quay repository.

    +
    +
    +
    podman push rhods-admin-custom-image:latest quay.io/<YOUR_USERNAME>/rhods-admin-custom-image
    +
    +
    +
  14. +
+
+
+

Now you’re ready to import your image into OpenShift AI! See the next section to learn how to import your custom image and test it out.

+
+
+
+
+ +
+
+
+
+
+ Red Hat +
+ + + diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter3/importcustom.html b/pr-preview/pr-62/rhods-admin/1.33/chapter3/importcustom.html new file mode 100644 index 0000000..4462ae0 --- /dev/null +++ b/pr-preview/pr-62/rhods-admin/1.33/chapter3/importcustom.html @@ -0,0 +1,367 @@ + + + + + + Importing Custom Notebook Images :: Red Hat OpenShift AI Administration + + + + + + +
+ +
+ +
+ +
+ +
+

Importing Custom Notebook Images

+
+
+
+

In this section we will go over importing a custom notebook through the OpenShift AI dashboard and test it to make sure our dependencies are included.

+
+
+
+
+

Import the Notebook Image

+
+
+
    +
  1. +

    Before we import the image into OpenShif AI we need to set the quay repository we just created to public. In a browser, login to quay.io and go to the rhods-admin-custom-image repository. Select the Settings gear icon.

    +
    +
    +Quay Repository Settings +
    +
    +
  2. +
  3. +

    Scroll down until you see the Repository Visibility section. Click the Make Public button and click Ok to make the repository public.

    +
    +
    +Quay Visibility Setting +
    +
    +
    + + + + + +
    + + +
    +

    To use private container images, you can create a dockerconfigjson secret in the redhat-ods-applications project and assign this secret to the default service account in this project.

    +
    +
    +

    The secret can contain the registry credentials in dockerconfig JSON format, which, if you use Quay, you can download from the Account Settings page, by clicking Generate Encrypted Password and then downloading the credentials JSON file from the Docker Configuration option.

    +
    +
    +

    After downloading the credentials file, use this file to create a secret:

    +
    +
    +
    +
    $ oc create secret generic quay-pull-secret \
    + --from-file=.dockerconfigjson=path-to-credentials-file.json \
    + --type=kubernetes.io/dockerconfigjson \
    + -n redhat-ods-applications
    +
    +
    +
    +

    Finally, link the secret to the default service account as a pull secret:

    +
    +
    +
    +
    $ oc secrets link default quay-pull-secret --for=pull \
    + -n redhat-ods-applications
    +
    +
    + +
    +
    +
  4. +
  5. +

    Login to the OpenShift AI dashboard as the admin user. Expand Settings, click Notebook Images, and then click Import Image.

    +
    +
    +OpenShift AI Admin Notebook Images +
    +
    +
  6. +
  7. +

    Enter the path to the your repository and give the image a name. Optionally add a description and package information. Click the Import button.

    +
    +
    +OpenShift AI Import Notebook +
    +
    +
    +

    You should now see the image in the list and enabled.

    +
    +
    +
    +OpenShift AI Custom Notebooks +
    +
    +
  8. +
+
+
+
+
+

Test the Image in a Workbench

+
+
+
    +
  1. +

    Now we’ll test out the image we just imported. Go to Data Science Projects and then click the Create data science project button.

    +
    +
    +OpenShift AI Data Science Projects +
    +
    +
  2. +
  3. +

    Give the project a name and resource name. Click the Create button.

    +
    +
    +OpenShift AI Project +
    +
    +
  4. +
  5. +

    Click the Create button.

    +
    +
    +OpenShift AI Workbench +
    +
    +
  6. +
  7. +

    Give the workbench a name and select the rhods-admin-custom-image from the Image selection drop down list. Click the Create Workbench button.

    +
    +
    +OpenShift AI Workbench Details +
    +
    +
  8. +
  9. +

    Once the Status changes to Running click the Open link.

    +
    +
    +OpenShift AI Workbench Start +
    +
    +
  10. +
  11. +

    Login to the notebook and click the Python 3.9.16 notebook tile.

    +
    +
    +OpenShift AI Python Notebook +
    +
    +
  12. +
  13. +

    In the first cell of the notebook add the following

    +
    +
    +
    pip list | grep "^s"
    +
    +
    +
    +

    Press Shift + Enter on your keyboard to execute the cell. This will find all of the dependencies that start with "s". Note that seaborn is an installed dependency.

    +
    +
    +
    +pip list +
    +
    +
  14. +
  15. +

    Now let’s test out the seaborn package to make sure it works. Copy the following code to the cell below.

    +
    +
    +
    import seaborn as sns
    +import matplotlib.pyplot as plt
    +import pandas as pd
    +
    +# Load the dowjones dataset
    +dowjones = sns.load_dataset("dowjones")
    +
    +# Create a line plot with the year on the x-axis
    +sns.lineplot(
    +    x="Date",
    +    y="Price",
    +    data=dowjones,
    +)
    +
    +# Set the title and labels
    +plt.title("Dow Jones Industrial Average by Year - 1914 to 1968")
    +plt.xlabel("Date")
    +plt.ylabel("Price")
    +
    +# Show the plot
    +plt.show()
    +
    +
    +
    +
    +Seaborn Code Snippet +
    +
    +
    +

    Click Shift + Enter to execute the cell. You should see the graph below. You can now close the notebook. Don’t worry about saving it.

    +
    +
    +
    +Seaborn Graph +
    +
    +
  16. +
+
+
+

Congratulations! You’ve succesfully built, imported, and tested a custom image in OpenShift AI.

+
+
+
+ +
+
+
+
+
+ Red Hat +
+ + + diff --git a/pr-preview/pr-62/rhods-admin/1.33/chapter3/index.html b/pr-preview/pr-62/rhods-admin/1.33/chapter3/index.html new file mode 100644 index 0000000..d500279 --- /dev/null +++ b/pr-preview/pr-62/rhods-admin/1.33/chapter3/index.html @@ -0,0 +1,171 @@ + + + + + + Building Custom Notebook Images :: Red Hat OpenShift AI Administration + + + + + + + +
+ +
+ +
+ +
+ +
+

Building Custom Notebook Images

+
+

In this chapter, you learn how to build custom notebook images.

+
+
+

Goals:

+
+
+
    +
  • +

    Create custom notebook images

    +
  • +
  • +

    Import custom notebook images into OpenShift AI

    +
  • +
+
+ +
+
+
+
+
+ Red Hat +
+ + + diff --git a/pr-preview/pr-62/rhods-admin/1.33/index.html b/pr-preview/pr-62/rhods-admin/1.33/index.html new file mode 100644 index 0000000..9ad08e3 --- /dev/null +++ b/pr-preview/pr-62/rhods-admin/1.33/index.html @@ -0,0 +1,480 @@ + + + + + + Red Hat OpenShift AI Administration :: Red Hat OpenShift AI Administration + + + + + + +
+ +
+ +
+ +
+ +
+

Red Hat OpenShift AI Administration

+
+
+
+

Welcome to this quick course on the Red Hat OpenShift AI Administration. +This course is the second in a series of five courses about Red Hat OpenShift AI:

+
+ +
+ + + + + +
+ + +After you have completed all the courses in the learning path, you can attempt the "Workshop final hands-on lab", that tests your understanding of the concepts taught in all the courses. +
+
+
+
+
+

Authors

+
+
+

The PTL team acknowledges the valuable contributions of the following Red Hat associates:

+
+
+
    +
  • +

    Jiri Tesar

    +
  • +
  • +

    Jaime Ramirez Castillo

    +
  • +
  • +

    Max Murakami

    +
  • +
  • +

    Trevor Royer

    +
  • +
  • +

    John Hurlocker

    +
  • +
  • +

    Ravi Srinivasan

    +
  • +
+
+
+
+
+

Classroom Environment for Red Hat Associates

+
+
+

Red Hat associates should use the Red Hat Demo Platform to provision a classroom.

+
+
+

Use the Red Hat OpenShift Container Platform Cluster catalog item from Red Hat Demo Platform (RHDP).

+
+
+

When ordering this demo item:

+
+
+
    +
  • +

    Select Practice/Enablement for the Activity field, and Learning about the product for the Purpose.

    +
  • +
  • +

    If you have a Salesforce ID for a customer sales opportunity, then copy it to the Salesforce ID field. +Otherwise, add some random text like "Learning RHOAI".

    +
  • +
  • +

    Select 5 users in the User Count field. +Having at least two users is required for the user management exercise.

    +
  • +
  • +

    In the OpenShift worker memory size field, select 64Gi. +This size might be required if you run multiple workbenches and pipelines simultaneously.

    +
  • +
  • +

    In the OpenShift version field, select the latest stable version available.

    +
  • +
  • +

    Review the auto-stop and auto-destroy timers. You can change this later after classroom provisioning by opening a ticket with the RHDP team.

    +
  • +
+
+
+ + + + + +
+ + +
+

RHOAI workbenches and pipelines use large container images. +Dependencies such as Tensorflow, PyTorch, or CUDA result in image sizes of several gigabytes.

+
+
+

The data ingestion and training stages can demand large amounts of memory and CPU/GPU resources. +Make sure that your worker nodes have enough memory to accommodate pods that consume dozens of GB.

+
+
+
+
+

This classroom does NOT have RHOAI pre-installed. +You install and configure a basic RHOAI instance, and then continue using this instance with other courses in the learning path.

+
+
+

Alternative classroom environment on AWS for Red Hat Associates

+
+

You can also use an AWS cluster by ordering the AWS with OpenShift Open Environment.

+
+
+

This classroom does NOT have RHOAI pre-installed. +You install and configure a basic RHOAI instance, and then continue using this instance with other courses in the learning path.

+
+
+

If you use this item, you must:

+
+
+
    +
  • +

    Select Practice/Enablement for the Activity field, and Learning about the product for the Purpose.

    +
  • +
  • +

    If you have a Salesforce ID for a customer sales opportunity, then copy it to the Salesforce ID field. +Otherwise, add some random text like "Learning RHOAI".

    +
  • +
  • +

    Make sure that you select 3 as the control plane count and the latest OpenShift version.

    +
  • +
  • +

    Select your nearest AWS region and choose m6a.4xlarge as the instance type (Ensure that whatever instance type you choose has at least 16 vCPUs and 64GB RAM).

    +
  • +
  • +

    Review the auto-stop and auto-destroy timers. You can change this later after classroom provisioning by opening a ticket with the RHDP team.

    +
  • +
  • +

    Configure users and authentication. +The AWS item is only pre-configured with the kubeadmin user, which does not have the cluster-admin role assigned. +The exercises in this course, however, assume the existence of a user named admin with the cluster-admin role and five non-admin users (user1…​user5). +Download the following two scripts to your local machine, and execute the following commands.

    +
    + +
    +
  • +
+
+
+
+
+

The password for both the admin and user1…​user5 users is openshift23.

+
+
+
+
+
    +
  • +

    You may have to wait for 5 minutes while the changes take effect. You will see a log in prompt with the htpasswd_provider displayed.

    +
    +
    +htpasswd provider +
    +
    Figure 1. htpasswd_provider prompt
    +
    +
  • +
  • +

    Click the htpasswd_provider button, and log in as the admin user with password openshift23 to access the OpenShift web console as a cluster administrator.

    +
  • +
+
+
+
+
+
+

Classroom Environment for Red Hat Partners

+
+
+

Red Hat partners should provision their own Red Hat OpenShift cluster using the Red Hat Hybrid Cloud Console at https://console.redhat.com/openshift/overview.

+
+
+
+
+

The following compute resource requirements are recommendations for this lab environment. For the official compute requirements for OpenShift AI Self_Managed on OpenShift Container platform visit the product documentation.

+
+
+
+
+
    +
  • +

    Ensure that you provision an OpenShift 4.13 or later cluster with a minimum of 3 control plane nodes (each with 8vCPU and 16GB RAM), and 3 worker nodes (each with 16 vCPU, and 64GB of RAM).

    +
  • +
  • +

    Configure users and authentication. +A default OpenShift cluster installation has a user called kubeadmin. +The exercises in this course, however, assume the existence of a user named admin with the cluster-admin role and five non-admin users (user1…​user5). +Download the following two scripts to your local machine, and execute the following commands after logging in to your cluster as the kubeadmin user using the oc CLI tool.

    +
    + +
    +
  • +
+
+
+
+
+

The password for both the admin and user1…​user5 users is openshift23.

+
+
+
+
+
    +
  • +

    You may have to wait for 5 minutes while the changes take effect. You will see a log in prompt with the htpasswd_provider displayed.

    +
    +
    +htpasswd provider +
    +
    Figure 2. htpasswd_provider prompt
    +
    +
  • +
  • +

    Click the htpasswd_provider button, and log in as the admin user with password openshift23 to access the OpenShift web console as a cluster administrator.

    +
  • +
+
+
+
+
+

Prerequisites

+
+
+
    +
  • +

    Basic knowledge of OpenShift (or Kubernetes) administration

    +
  • +
  • +

    Ability to build and deploy container images

    +
  • +
  • +

    Knowledge of OpenShift User and Role administration

    +
  • +
  • +

    Basic knowledge of AWS EC2 and S3 services

    +
  • +
+
+
+
+
+

Objectives

+
+
+

The overall objectives of this course include:

+
+
+
    +
  • +

    Install RedHat OpenShift AI using the web console and CLI

    +
  • +
  • +

    Upgrade RedHat OpenShift AI components

    +
  • +
  • +

    Manage RedHat OpenShift AI users and controlling access

    +
  • +
  • +

    Enable GPU support in RedHat OpenShift AI

    +
  • +
  • +

    Stop idle notebooks

    +
  • +
  • +

    Create and configure a custom notebook image

    +
  • +
+
+
+
+ +
+
+
+
+
+ Red Hat +
+ + +