301 Moved Permanently means that the requested resource has been permanently moved to a new URL. All future requests should use the new address.
The browser will automatically redirect the user to the new address, and search engines will update their indexes.
200 OK is a standard successful HTTP server response. It means that the client’s request (e.g., from a browser) was successfully processed, and the server is delivering the requested data.
The user receives content without errors, and the page or application functions properly. If Code 200 is accompanied by data, the browser or program processes and displays it to the user.
GET / HTTP/1.1 Host: fastn.com Accept: */* User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <base href="/"> <meta content="fastn" name="generator"> <link rel="shortcut icon" href="/-/fastn.com/images/favicon.svg" type="image/svg+xml"> <script> let __fastn_package_name__ = "fastn.com"; </script> <script src="markdown-24E09EFC0C2B9A11DEA9AC71888EB3A1E85864FA7D9C95A3EB5075A0E0F49A5F.js"></script> <script src="prism-CA83672C9FB5C7D63C2C934C352CC777CD7A3ADFDA7E61DCCF80CAF1EF35FB49.js"></script> <script src="default-E81187D74242ED255586F41152B0D49813881F258A5F801501A03DEF02FED677.js"></script> <link rel="stylesheet" href="prism-73F718B9234C00C5C14AB6A11BF239A103F0B0F93B69CD55CB5C6530501182EB.css"> <script src="-/fastn.com/notification-ui.js" type="module"></script><script src="-/fastn.com/functions.js"></script><script src="-/fastn.com/search.js"></script> <style> /* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */ /*html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; } !* HTML5 display-role reset for older browsers *! article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } body { line-height: 1; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } table { border-collapse: collapse; border-spacing: 0; }*/ /* Apply styles to all elements except audio */ *:not(audio), *:not(audio)::after, *:not(audio)::before { /*box-sizing: inherit;*/ box-sizing: border-box; text-decoration: none; box-sizing: border-box; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-style: solid; height: auto; width: auto; } /** This is needed since the global css makes `text-decoration: none`. To ensure that the del element's `text-decoration: line-through` is applied, we need to add `!important` to the rule **/ del { text-decoration: line-through !important; } *, pre, div { padding: 0; margin: 0; gap: 0; outline: none; } body, ol ol, ol ul, ul ol, ul ul { margin:0 } pre, table{ overflow:auto } html { height: 100%; width: 100%; } body { height: 100%; width: 100%; } input { vertical-align: middle; } pre { white-space: break-spaces; word-wrap: break-word; } html { -webkit-font-smoothing: antialiased; text-rendering: optimizelegibility; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; } iframe { border: 0; color-scheme: auto; } pre code { /* This break show-line-number in `ftd.code` overflow-x: auto; */ display: block; padding: 0 1em !important; } /* Common styles */ .ft_common{ text-decoration: none; box-sizing: border-box; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-style: solid; height: auto; width: auto; } /* Common container attributes */ .ft_row, .ft_column { display: flex; align-items: start; justify-content: start } .ft_full_size { width: 100%; height: 100%; } .ft_row { display: flex; align-items: start; justify-content: start; flex-direction: row; box-sizing: border-box; } .ft_column { display: flex; align-items: start; justify-content: start; flex-direction: column; box-sizing: border-box; } .ft_row { flex-direction: row; } .ft_column { flex-direction: column; } .ft_md ul, .ft_md ol{ margin: 10px 0; } .ft_md ul ul, .ft_md ul ol, .ft_md ol ul, .ft_md ol ol { margin: 0; } .ft_md ul li, .ft_md ol li, .ft_md ul ol li .ft_md ul ul li .ft_md ol ul li .ft_md ol ol li { position: relative; padding-left: 32px; margin: 4px 0; } .ft_md ul { list-style: none; padding-left: 0; } .ft_md ol { list-style: none; padding-left: 0; counter-reset: item; } .ft_md ol li:before, .ft_md ol ol li:before, .ft_md ul ol li:before { content: counter(item); counter-increment: item; font-size: 11px; line-height: 10px; text-align: center; padding: 4px 0; height: 10px; width: 18px; border-radius: 10px; position: absolute; left: 0; top: 5px; } .ft_md ul li::before, .ft_md ul ul li::before, .ft_md ol ul li::before { content: ""; position: absolute; width: 6px; height: 6px; left: 8px; top: 10px; border-radius: 50%; background: #c1c8ce; } ul, ol { /* Added padding to the left to move the ol number/ ul bullet to the right */ padding-left: 20px; } a { color: #2952a3; } a:visited { color: #856ab9; } a:hover { color: #24478f; } .ft_md a { text-decoration: none; } .ft_md a:visited { text-decoration: none; } .ft_md a:hover { text-decoration: none; } code { padding: 0.1rem 0.25rem; border-radius: 4px; background-color: #0000000d; } .ft_md blockquote { padding: 0.25rem 1rem; margin: 1rem 0; border-radius: 3px; } .ft_md blockquote > blockquote { margin: 0; } body.dark code { padding: 0.1rem 0.25rem; border-radius: 4px; background-color: #ffffff1f; } body.dark a { color: #6498ff } body.dark a:visited { color: #b793fb; } p { margin-block-end: 1em; } h1:only-child { margin-block-end: 0.67em } table, td, th { border: 1px solid; } th { padding: 6px; } td { padding-left: 6px; padding-right: 6px; padding-top: 3px; padding-bottom: 3px; } </style> </head> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"> <body></body><style id="styles"></style><style> @font-face { unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; font-style: italic; font-weight: 100; src: url(-/roboto-font.fifthtry.site/static/Roboto-100-italic-cyrillic-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; font-style: italic; font-weight: 100; src: url(-/roboto-font.fifthtry.site/static/Roboto-100-italic-cyrillic.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+1F00-1FFF; font-style: italic; font-weight: 100; src: url(-/roboto-font.fifthtry.site/static/Roboto-100-italic-greek-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0370-03FF; font-style: italic; font-weight: 100; src: url(-/roboto-font.fifthtry.site/static/Roboto-100-italic-greek.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; font-style: italic; font-weight: 100; src: url(-/roboto-font.fifthtry.site/static/Roboto-100-italic-vietnamese.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; font-style: italic; font-weight: 100; src: url(-/roboto-font.fifthtry.site/static/Roboto-100-italic-latin-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0000-00FF, 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-style: italic; font-weight: 100; src: url(-/roboto-font.fifthtry.site/static/Roboto-100-italic-latin.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; font-style: italic; font-weight: 300; src: url(-/roboto-font.fifthtry.site/static/Roboto-300-italic-cyrillic-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; font-style: italic; font-weight: 300; src: url(-/roboto-font.fifthtry.site/static/Roboto-300-italic-cyrillic.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+1F00-1FFF; font-style: italic; font-weight: 300; src: url(-/roboto-font.fifthtry.site/static/Roboto-300-italic-greek-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0370-03FF; font-style: italic; font-weight: 300; src: url(-/roboto-font.fifthtry.site/static/Roboto-300-italic-greek.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; font-style: italic; font-weight: 300; src: url(-/roboto-font.fifthtry.site/static/Roboto-300-italic-vietnamese.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; font-style: italic; font-weight: 300; src: url(-/roboto-font.fifthtry.site/static/Roboto-300-italic-latin-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0000-00FF, 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-style: italic; font-weight: 300; src: url(-/roboto-font.fifthtry.site/static/Roboto-300-italic-latin.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; font-style: italic; font-weight: 400; src: url(-/roboto-font.fifthtry.site/static/Roboto-400-italic-cyrillic-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; font-style: italic; font-weight: 400; src: url(-/roboto-font.fifthtry.site/static/Roboto-400-italic-cyrillic.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+1F00-1FFF; font-style: italic; font-weight: 400; src: url(-/roboto-font.fifthtry.site/static/Roboto-400-italic-greek-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0370-03FF; font-style: italic; font-weight: 400; src: url(-/roboto-font.fifthtry.site/static/Roboto-400-italic-greek.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; font-style: italic; font-weight: 400; src: url(-/roboto-font.fifthtry.site/static/Roboto-400-italic-vietnamese.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; font-style: italic; font-weight: 400; src: url(-/roboto-font.fifthtry.site/static/Roboto-400-italic-latin-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0000-00FF, 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-style: italic; font-weight: 400; src: url(-/roboto-font.fifthtry.site/static/Roboto-400-italic-latin.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; font-style: italic; font-weight: 500; src: url(-/roboto-font.fifthtry.site/static/Roboto-500-italic-cyrillic-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; font-style: italic; font-weight: 500; src: url(-/roboto-font.fifthtry.site/static/Roboto-500-italic-cyrillic.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+1F00-1FFF; font-style: italic; font-weight: 500; src: url(-/roboto-font.fifthtry.site/static/Roboto-500-italic-greek-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0370-03FF; font-style: italic; font-weight: 500; src: url(-/roboto-font.fifthtry.site/static/Roboto-500-italic-greek.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; font-style: italic; font-weight: 500; src: url(-/roboto-font.fifthtry.site/static/Roboto-500-italic-vietnamese.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; font-style: italic; font-weight: 500; src: url(-/roboto-font.fifthtry.site/static/Roboto-500-italic-latin-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0000-00FF, 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-style: italic; font-weight: 500; src: url(-/roboto-font.fifthtry.site/static/Roboto-500-italic-latin.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; font-style: italic; font-weight: 700; src: url(-/roboto-font.fifthtry.site/static/Roboto-700-italic-cyrillic-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; font-style: italic; font-weight: 700; src: url(-/roboto-font.fifthtry.site/static/Roboto-700-italic-cyrillic.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+1F00-1FFF; font-style: italic; font-weight: 700; src: url(-/roboto-font.fifthtry.site/static/Roboto-700-italic-greek-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0370-03FF; font-style: italic; font-weight: 700; src: url(-/roboto-font.fifthtry.site/static/Roboto-700-italic-greek.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; font-style: italic; font-weight: 700; src: url(-/roboto-font.fifthtry.site/static/Roboto-700-italic-vietnamese.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; font-style: italic; font-weight: 700; src: url(-/roboto-font.fifthtry.site/static/Roboto-700-italic-latin-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0000-00FF, 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-style: italic; font-weight: 700; src: url(-/roboto-font.fifthtry.site/static/Roboto-700-italic-latin.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; font-style: italic; font-weight: 900; src: url(-/roboto-font.fifthtry.site/static/Roboto-900-italic-cyrillic-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; font-style: italic; font-weight: 900; src: url(-/roboto-font.fifthtry.site/static/Roboto-900-italic-cyrillic.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+1F00-1FFF; font-style: italic; font-weight: 900; src: url(-/roboto-font.fifthtry.site/static/Roboto-900-italic-greek-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0370-03FF; font-style: italic; font-weight: 900; src: url(-/roboto-font.fifthtry.site/static/Roboto-900-italic-greek.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; font-style: italic; font-weight: 900; src: url(-/roboto-font.fifthtry.site/static/Roboto-900-italic-vietnamese.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; font-style: italic; font-weight: 900; src: url(-/roboto-font.fifthtry.site/static/Roboto-900-italic-latin-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0000-00FF, 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-style: italic; font-weight: 900; src: url(-/roboto-font.fifthtry.site/static/Roboto-900-italic-latin.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; font-style: normal; font-weight: 100; src: url(-/roboto-font.fifthtry.site/static/Roboto-100-normal-cyrillic-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; font-style: normal; font-weight: 100; src: url(-/roboto-font.fifthtry.site/static/Roboto-100-normal-cyrillic.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+1F00-1FFF; font-style: normal; font-weight: 100; src: url(-/roboto-font.fifthtry.site/static/Roboto-100-normal-greek-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0370-03FF; font-style: normal; font-weight: 100; src: url(-/roboto-font.fifthtry.site/static/Roboto-100-normal-greek.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; font-style: normal; font-weight: 100; src: url(-/roboto-font.fifthtry.site/static/Roboto-100-normal-vietnamese.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; font-style: normal; font-weight: 100; src: url(-/roboto-font.fifthtry.site/static/Roboto-100-normal-latin-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0000-00FF, 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-style: normal; font-weight: 100; src: url(-/roboto-font.fifthtry.site/static/Roboto-100-normal-latin.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; font-style: normal; font-weight: 300; src: url(-/roboto-font.fifthtry.site/static/Roboto-300-normal-cyrillic-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; font-style: normal; font-weight: 300; src: url(-/roboto-font.fifthtry.site/static/Roboto-300-normal-cyrillic.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+1F00-1FFF; font-style: normal; font-weight: 300; src: url(-/roboto-font.fifthtry.site/static/Roboto-300-normal-greek-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0370-03FF; font-style: normal; font-weight: 300; src: url(-/roboto-font.fifthtry.site/static/Roboto-300-normal-greek.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; font-style: normal; font-weight: 300; src: url(-/roboto-font.fifthtry.site/static/Roboto-300-normal-vietnamese.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; font-style: normal; font-weight: 300; src: url(-/roboto-font.fifthtry.site/static/Roboto-300-normal-latin-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0000-00FF, 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-style: normal; font-weight: 300; src: url(-/roboto-font.fifthtry.site/static/Roboto-300-normal-latin.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; font-style: normal; font-weight: 400; src: url(-/roboto-font.fifthtry.site/static/Roboto-400-normal-cyrillic-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; font-style: normal; font-weight: 400; src: url(-/roboto-font.fifthtry.site/static/Roboto-400-normal-cyrillic.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+1F00-1FFF; font-style: normal; font-weight: 400; src: url(-/roboto-font.fifthtry.site/static/Roboto-400-normal-greek-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0370-03FF; font-style: normal; font-weight: 400; src: url(-/roboto-font.fifthtry.site/static/Roboto-400-normal-greek.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; font-style: normal; font-weight: 400; src: url(-/roboto-font.fifthtry.site/static/Roboto-400-normal-vietnamese.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; font-style: normal; font-weight: 400; src: url(-/roboto-font.fifthtry.site/static/Roboto-400-normal-latin-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0000-00FF, 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-style: normal; font-weight: 400; src: url(-/roboto-font.fifthtry.site/static/Roboto-400-normal-latin.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; font-style: normal; font-weight: 500; src: url(-/roboto-font.fifthtry.site/static/Roboto-500-normal-cyrillic-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; font-style: normal; font-weight: 500; src: url(-/roboto-font.fifthtry.site/static/Roboto-500-normal-cyrillic.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+1F00-1FFF; font-style: normal; font-weight: 500; src: url(-/roboto-font.fifthtry.site/static/Roboto-500-normal-greek-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0370-03FF; font-style: normal; font-weight: 500; src: url(-/roboto-font.fifthtry.site/static/Roboto-500-normal-greek.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; font-style: normal; font-weight: 500; src: url(-/roboto-font.fifthtry.site/static/Roboto-500-normal-vietnamese.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; font-style: normal; font-weight: 500; src: url(-/roboto-font.fifthtry.site/static/Roboto-500-normal-latin-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0000-00FF, 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-style: normal; font-weight: 500; src: url(-/roboto-font.fifthtry.site/static/Roboto-500-normal-latin.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; font-style: normal; font-weight: 700; src: url(-/roboto-font.fifthtry.site/static/Roboto-700-normal-cyrillic-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; font-style: normal; font-weight: 700; src: url(-/roboto-font.fifthtry.site/static/Roboto-700-normal-cyrillic.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+1F00-1FFF; font-style: normal; font-weight: 700; src: url(-/roboto-font.fifthtry.site/static/Roboto-700-normal-greek-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0370-03FF; font-style: normal; font-weight: 700; src: url(-/roboto-font.fifthtry.site/static/Roboto-700-normal-greek.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; font-style: normal; font-weight: 700; src: url(-/roboto-font.fifthtry.site/static/Roboto-700-normal-vietnamese.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; font-style: normal; font-weight: 700; src: url(-/roboto-font.fifthtry.site/static/Roboto-700-normal-latin-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0000-00FF, 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-style: normal; font-weight: 700; src: url(-/roboto-font.fifthtry.site/static/Roboto-700-normal-latin.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; font-style: normal; font-weight: 900; src: url(-/roboto-font.fifthtry.site/static/Roboto-900-normal-cyrillic-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; font-style: normal; font-weight: 900; src: url(-/roboto-font.fifthtry.site/static/Roboto-900-normal-cyrillic.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+1F00-1FFF; font-style: normal; font-weight: 900; src: url(-/roboto-font.fifthtry.site/static/Roboto-900-normal-greek-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0370-03FF; font-style: normal; font-weight: 900; src: url(-/roboto-font.fifthtry.site/static/Roboto-900-normal-greek.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; font-style: normal; font-weight: 900; src: url(-/roboto-font.fifthtry.site/static/Roboto-900-normal-vietnamese.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; font-style: normal; font-weight: 900; src: url(-/roboto-font.fifthtry.site/static/Roboto-900-normal-latin-ext.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0000-00FF, 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-style: normal; font-weight: 900; src: url(-/roboto-font.fifthtry.site/static/Roboto-900-normal-latin.woff2) format('woff2'); font-family: roboto-font-fifthtry-site-Roboto } @font-face { unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; font-style: normal; font-weight: 200; src: url(-/manrope-font.fifthtry.site/static/Manrope-200-normal-cyrillic-ext.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; font-style: normal; font-weight: 200; src: url(-/manrope-font.fifthtry.site/static/Manrope-200-normal-cyrillic.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0370-03FF; font-style: normal; font-weight: 200; src: url(-/manrope-font.fifthtry.site/static/Manrope-200-normal-greek.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; font-style: normal; font-weight: 200; src: url(-/manrope-font.fifthtry.site/static/Manrope-200-normal-vietnamese.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; font-style: normal; font-weight: 200; src: url(-/manrope-font.fifthtry.site/static/Manrope-200-normal-latin-ext.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0000-00FF, 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-style: normal; font-weight: 200; src: url(-/manrope-font.fifthtry.site/static/Manrope-200-normal-latin.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; font-style: normal; font-weight: 300; src: url(-/manrope-font.fifthtry.site/static/Manrope-300-normal-cyrillic-ext.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; font-style: normal; font-weight: 300; src: url(-/manrope-font.fifthtry.site/static/Manrope-300-normal-cyrillic.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0370-03FF; font-style: normal; font-weight: 300; src: url(-/manrope-font.fifthtry.site/static/Manrope-300-normal-greek.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; font-style: normal; font-weight: 300; src: url(-/manrope-font.fifthtry.site/static/Manrope-300-normal-vietnamese.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; font-style: normal; font-weight: 300; src: url(-/manrope-font.fifthtry.site/static/Manrope-300-normal-latin-ext.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0000-00FF, 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-style: normal; font-weight: 300; src: url(-/manrope-font.fifthtry.site/static/Manrope-300-normal-latin.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; font-style: normal; font-weight: 400; src: url(-/manrope-font.fifthtry.site/static/Manrope-400-normal-cyrillic-ext.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; font-style: normal; font-weight: 400; src: url(-/manrope-font.fifthtry.site/static/Manrope-400-normal-cyrillic.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0370-03FF; font-style: normal; font-weight: 400; src: url(-/manrope-font.fifthtry.site/static/Manrope-400-normal-greek.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; font-style: normal; font-weight: 400; src: url(-/manrope-font.fifthtry.site/static/Manrope-400-normal-vietnamese.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; font-style: normal; font-weight: 400; src: url(-/manrope-font.fifthtry.site/static/Manrope-400-normal-latin-ext.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0000-00FF, 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-style: normal; font-weight: 400; src: url(-/manrope-font.fifthtry.site/static/Manrope-400-normal-latin.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; font-style: normal; font-weight: 500; src: url(-/manrope-font.fifthtry.site/static/Manrope-500-normal-cyrillic-ext.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; font-style: normal; font-weight: 500; src: url(-/manrope-font.fifthtry.site/static/Manrope-500-normal-cyrillic.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0370-03FF; font-style: normal; font-weight: 500; src: url(-/manrope-font.fifthtry.site/static/Manrope-500-normal-greek.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; font-style: normal; font-weight: 500; src: url(-/manrope-font.fifthtry.site/static/Manrope-500-normal-vietnamese.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; font-style: normal; font-weight: 500; src: url(-/manrope-font.fifthtry.site/static/Manrope-500-normal-latin-ext.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0000-00FF, 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-style: normal; font-weight: 500; src: url(-/manrope-font.fifthtry.site/static/Manrope-500-normal-latin.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; font-style: normal; font-weight: 600; src: url(-/manrope-font.fifthtry.site/static/Manrope-600-normal-cyrillic-ext.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; font-style: normal; font-weight: 600; src: url(-/manrope-font.fifthtry.site/static/Manrope-600-normal-cyrillic.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0370-03FF; font-style: normal; font-weight: 600; src: url(-/manrope-font.fifthtry.site/static/Manrope-600-normal-greek.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; font-style: normal; font-weight: 600; src: url(-/manrope-font.fifthtry.site/static/Manrope-600-normal-vietnamese.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; font-style: normal; font-weight: 600; src: url(-/manrope-font.fifthtry.site/static/Manrope-600-normal-latin-ext.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0000-00FF, 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-style: normal; font-weight: 600; src: url(-/manrope-font.fifthtry.site/static/Manrope-600-normal-latin.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; font-style: normal; font-weight: 700; src: url(-/manrope-font.fifthtry.site/static/Manrope-700-normal-cyrillic-ext.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; font-style: normal; font-weight: 700; src: url(-/manrope-font.fifthtry.site/static/Manrope-700-normal-cyrillic.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0370-03FF; font-style: normal; font-weight: 700; src: url(-/manrope-font.fifthtry.site/static/Manrope-700-normal-greek.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; font-style: normal; font-weight: 700; src: url(-/manrope-font.fifthtry.site/static/Manrope-700-normal-vietnamese.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; font-style: normal; font-weight: 700; src: url(-/manrope-font.fifthtry.site/static/Manrope-700-normal-latin-ext.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0000-00FF, 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-style: normal; font-weight: 700; src: url(-/manrope-font.fifthtry.site/static/Manrope-700-normal-latin.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; font-style: normal; font-weight: 800; src: url(-/manrope-font.fifthtry.site/static/Manrope-800-normal-cyrillic-ext.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; font-style: normal; font-weight: 800; src: url(-/manrope-font.fifthtry.site/static/Manrope-800-normal-cyrillic.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0370-03FF; font-style: normal; font-weight: 800; src: url(-/manrope-font.fifthtry.site/static/Manrope-800-normal-greek.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; font-style: normal; font-weight: 800; src: url(-/manrope-font.fifthtry.site/static/Manrope-800-normal-vietnamese.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; font-style: normal; font-weight: 800; src: url(-/manrope-font.fifthtry.site/static/Manrope-800-normal-latin-ext.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } @font-face { unicode-range: U+0000-00FF, 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-style: normal; font-weight: 800; src: url(-/manrope-font.fifthtry.site/static/Manrope-800-normal-latin.woff2) format('woff2'); font-family: manrope-font-fifthtry-site-Manrope } </style> <script> (function() { let main = function (parent) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let parenti0 = fastn_com_FASTN_ds__page(parent, inherited, { sidebar: false, document_title: "fastn | The Beginner-Friendly Full-Stack Framework", document_description: "Design, develop, and deploy stunning websites and web apps effortlessly. Easy-to-learn full-stack framework. No coding knowledge required. Start now!", document_image: function () { let record = fastn.recordInstance({ }); record.set("src", "https://fastn.com/-/fastn.com/images/fastn-dot-com-og-image.jpg"); return record; }(), full_width: true, fluid_wrap: fastn.mutableList([function (root, inherited) { let rooti0 = fastn_com_content_library__hero_content(root, inherited); }, function (root, inherited) { let rooti0 = fastn_com_content_library__feature_card(root, inherited, { icon: global.fastn_com_assets__files.get("images_landing_face_icon_svg"), title: "Everyone in your team can learn fastn in a day!!", body: "fastn's user-friendly interface and minimal syntax make it accessible even to\nthose with no prior programming experience.", code: "-- import: bling.fifthtry.site/chat\n\n-- chat.message-left: Hello World! 😀\n\n-- chat.message-left: I'm Nandhini, a freelance\ncontent writer.\n\n-- chat.message-left: Fun fact: I built this\nentire page with fastn! 🚀 It's that easy!", cta_text: "Learn more", cta_link: "/install/", image: global.fastn_com_assets__files.get("images_landing_chat_group_png"), additional_cards: fastn.mutableList([function (root, inherited) { let rooti0 = fastn_com_content_library__testimonial(root, inherited, { title: "From skeptic to web developer in an afternoon!", body: "I was very skeptical about learning to write any syntax; I had never done any\ncoding before. But I decided to give it a shot and went through the videos.\nIt’s actually surprisingly simple; it doesn't feel like coding at all. It's\njust like writing text in a text file, and you end up with a beautifully\ndesigned website. Definitely the most productive and result-oriented activity\nI've ever undertaken in a single afternoon.", label: "Content Writer", author_title: "Nandini Devi", avatar: global.fastn_com_assets__files.get("images_landing_nandini_png") }); }, function (root, inherited) { let rooti0 = fastn_com_content_library__card_wrap(root, inherited, { wrapper: fastn.mutableList([function (root, inherited) { let rooti0 = fastn_com_content_library__card(root, inherited, { icon: global.fastn_com_assets__files.get("images_landing_square_icon_svg"), title: "800+", description: "Have built their first fastn-powered website within 2 hours of discovering\nfastn.", bg_image: function () { let record = fastn.recordInstance({ }); record.set("src", global.fastn_com_assets__files.get("images_landing_card_bg_png")); record.set("repeat", null); record.set("size", null); record.set("position", null); return record; }() }); }, function (root, inherited) { let rooti0 = fastn_com_content_library__card(root, inherited, { icon: global.fastn_com_assets__files.get("images_landing_two_triangle_svg"), title: "2 hr", description: "Build your first fastn-powered website in just 2 hours.", cta_link: "/quick-build/", cta_text: "Get Started!", bg_image: function () { let record = fastn.recordInstance({ }); record.set("src", global.fastn_com_assets__files.get("images_landing_card_bg_png")); record.set("repeat", null); record.set("size", null); record.set("position", null); return record; }() }); } ]) }); } ]) }); }, function (root, inherited) { let rooti0 = fastn_com_content_library__learn_fastn(root, inherited, { title: "Support us by becoming a stargazer! 🚀", cta_primary_text: "Click here", cta_primary_link: "https://github.com/fastn-stack/fastn/", image: global.fastn_com_assets__files.get("images_landing_crash_course_svg") }); }, function (root, inherited) { let rooti0 = fastn_com_content_library__feature_card(root, inherited, { icon: global.fastn_com_assets__files.get("images_landing_face_icon_svg"), title: "Anyone in your team can contribute to or modify the website", body: "Updating content with fastn is as easy as changing a few lines of code. This\nmeans anyone can contribute, reducing your dependency on developers.", cta_text: "Learn more", cta_link: "/acme/", transparent: true, additional_cards: fastn.mutableList([function (root, inherited) { let rooti0 = fastn_com_content_library__hero_bottom_hug(root, inherited, { icon: global.fastn_com_assets__files.get("images_landing_icon_svg"), title: "Instant theme, color & typography changes", image_1: global.fastn_com_assets__files.get("images_landing_hero_image_1_svg"), image_2: global.fastn_com_assets__files.get("images_landing_hero_image_2_png"), image_3: global.fastn_com_assets__files.get("images_landing_hero_image_3_png") }); }, function (root, inherited) { let rooti0 = fastn_com_content_library__hero_bottom_hug(root, inherited, { icon: global.fastn_com_assets__files.get("images_landing_triangle_three_icon_svg"), title: "Modify content effortlessly", image_2: global.fastn_com_assets__files.get("images_landing_hero_image_4_svg"), image_3: global.fastn_com_assets__files.get("images_landing_hero_image_5_svg") }); }, function (root, inherited) { let rooti0 = fastn_com_content_library__hero_bottom_hug(root, inherited, { icon: global.fastn_com_assets__files.get("images_landing_icon_svg"), title: "Adding new components is easy", image_2: global.fastn_com_assets__files.get("images_landing_hero_image_6_svg"), image_3: global.fastn_com_assets__files.get("images_landing_hero_image_7_png") }); }, function (root, inherited) { let rooti0 = fastn_com_content_library__promo_card(root, inherited, { title: "After evaluating web development frameworks & online website builders, startups prefer fastn for building their website.", cta_text: "Read case study", cta_link: "/acme/" }); }, function (root, inherited) { let rooti0 = fastn_com_content_library__feature_card(root, inherited, { icon: global.fastn_com_assets__files.get("images_landing_smile_icon_svg"), title: "Rich Library", body: "fastn offers a rich library of ready-made components, color schemes, and website\ntemplates. This means, you don’t have to start from scratch, instead, browse\nthe dozens of professionally created templates, customize layout, style, and\ngraphics, and deploy instantly.", cta_text: "Learn more", cta_link: "/featured/", transparent: true, cards: fastn.mutableList([function (root, inherited) { let rooti0 = fastn_com_content_library__right_video(root, inherited, { icon_1: global.fastn_com_assets__files.get("images_landing_cube_svg"), icon_2: global.fastn_com_assets__files.get("images_landing_arrow_up_svg"), icon_3: global.fastn_com_assets__files.get("images_landing_stack_svg"), info_1: "The Uniform Design System allows components created by different teams to be usable by each other.", info_2: "Every component supports responsive design, dark mode, & themability.", info_3: "1000+ developers are building fastn components.", image: global.fastn_com_assets__files.get("images_landing_right_video_png") }); } ]), is_child: true }); }, function (root, inherited) { let rooti0 = fastn_com_content_library__featured_theme(root, inherited, { title: "Choose from the numerous color schemes created by 100s of designers.", cta_primary_text: "View all color themes", cta_primary_url: "/featured/cs/", cta_secondary_text: "View all typography", cta_secondary_url: "/featured/fonts/", image_1: global.fastn_com_assets__files.get("images_landing_winter_cs_png"), image_2: global.fastn_com_assets__files.get("images_landing_forest_cs_png"), image_3: global.fastn_com_assets__files.get("images_landing_saturated_cs_png"), image_title_1: "Winter CS", image_title_2: "Forest CS", image_title_3: "Saturated Sunset CS" }); } ]) }); }, function (root, inherited) { let rooti0 = fastn_com_content_library__feature_card(root, inherited, { icon: global.fastn_com_assets__files.get("images_landing_face_icon_svg"), title: "Your team can collaborate & deploy on your preferred infrastructure", body: "fastn seamlessly integrates with your existing workflows. You can use the text\neditor you love and are comfortable with. Use GitHub, Dropbox, iCloud, or any\nother platform you prefer. You maintain full control over your content,\ninfrastructure, and tools.", cta_text: "Learn more", cta_link: "/deploy/", cards: fastn.mutableList([function (root, inherited) { let rooti0 = fastn_com_content_library__image_featured(root, inherited, { image_1: global.fastn_com_assets__files.get("images_landing_image_placeholder_1_png"), image_2: global.fastn_com_assets__files.get("images_landing_image_placeholder_2_svg"), image_3: global.fastn_com_assets__files.get("images_landing_image_placeholder_3_svg"), icon_1: global.fastn_com_assets__files.get("images_landing_cube_svg"), icon_2: global.fastn_com_assets__files.get("images_landing_arrow_up_svg"), icon_3: global.fastn_com_assets__files.get("images_landing_stack_svg"), info_1: "fastn offers deployment for static sites using deploy.yml from fastn-template on platforms like GitHub and Vercel.", info_2: "The .build folder generated by the fastn build command simplifies publishing on any static server.", info_3: "fastn also supports dynamic sites with deployment options across Linux, Windows, & Mac, providing flexibility in hosting." }); } ]) }); }, function (root, inherited) { let rooti0 = fastn_com_content_library__compare(root, inherited, { title: "What makes fastn better than react", body: "Why waste your developers' time on building landing pages? With fastn, anyone in\nyour team can build a `www.foo.com`, leaving your development bandwidth available\nfor `app.foo.com`.", wrapper: fastn.mutableList([function (root, inherited) { let rooti0 = fastn_com_content_library__compare_card(root, inherited, { icon: global.fastn_com_assets__files.get("images_landing_triangle_1_svg"), image: global.fastn_com_assets__files.get("images_landing_card_img_1_png"), title: "Learning Curve", description: "React is complex for non-programmers, while fastn is accessible to everyone,\neven those with no coding experience." }); }, function (root, inherited) { let rooti0 = fastn_com_content_library__compare_card(root, inherited, { icon: global.fastn_com_assets__files.get("images_landing_triangle_2_svg"), image: global.fastn_com_assets__files.get("images_landing_card_img_2_png"), title: "CMS Integration", description: "React needs CMS integration, adding complexity. With fastn, you can manage\ncontent with ease without a CMS." }); }, function (root, inherited) { let rooti0 = fastn_com_content_library__compare_card(root, inherited, { icon: global.fastn_com_assets__files.get("images_landing_triangle_3_svg"), image: global.fastn_com_assets__files.get("images_landing_card_img_3_png"), title: "Integrated Design System", description: "Unlike React, in fastn components developed by one team can seamlessly integrate\ninto the projects of another." }); } ]), cta_primary_text: "Learn More", cta_primary_url: "/react/", transparent: true }); }, function (root, inherited) { let rooti0 = fastn_com_content_library__compare(root, inherited, { title: "What makes fastn better than Webflow", body: "Tired of being locked into a theme in Webflow? Try fastn for easy editing,\nbetter customization and full control.", wrapper: fastn.mutableList([function (root, inherited) { let rooti0 = fastn_com_content_library__compare_card(root, inherited, { icon: global.fastn_com_assets__files.get("images_landing_triangle_1_svg"), image: global.fastn_com_assets__files.get("images_landing_card_img_1_png"), title: "Design-Content Separation", description: "In Webflow, once you choose a theme and add content, altering the overall design\nis difficult. In fastn, you can change content without design disruptions." }); }, function (root, inherited) { let rooti0 = fastn_com_content_library__compare_card(root, inherited, { icon: global.fastn_com_assets__files.get("images_landing_triangle_2_svg"), image: global.fastn_com_assets__files.get("images_landing_card_img_2_png"), title: "Run On Your Infrastructure", description: "fastn is an open-source solution, offering the flexibility to run and deploy\nwebsites according to your preferences, on your own infrastructure." }); }, function (root, inherited) { let rooti0 = fastn_com_content_library__compare_card(root, inherited, { icon: global.fastn_com_assets__files.get("images_landing_triangle_3_svg"), image: global.fastn_com_assets__files.get("images_landing_card_img_3_png"), title: "Local Editing", description: "You can download your website locally, edit it on your preferred platform, and\ncollaborate using familiar tools like GitHub, iCloud, or others that suit your\nworkflow." }); } ]), cta_primary_text: "Learn More", cta_primary_url: "/webflow/" }); }, function (root, inherited) { let rooti0 = fastn_com_content_library__cards_section(root, inherited, { cards: fastn.mutableList([function (root, inherited) { let rooti0 = fastn_com_content_library__heart_line_title_card(root, inherited, { title: "Loved by 1000+ creators", body: "Testimonials from members of the fastn community." }); }, function (root, inherited) { let rooti0 = fastn_com_content_library__testimonial_card(root, inherited, { title: "Rutuja Kapate", label: "Web Developer", body: "As a web developer, I've found fastn to be a game-changer. Its a user-friendly\nlanguage makes building beautiful websites a breeze. With ready-made UI\ncomponents and easy deployment options, fastn streamlines web development.\nHighly recommend!", avatar: global.fastn_com_assets__files.get("images_landing_rutuja_kapate_png"), bgcolor: inherited.get("colors").get("custom").get("three"), bg_color: inherited.get("colors").get("background").get("step_1"), width: 500 }); }, function (root, inherited) { let rooti0 = fastn_com_content_library__testimonial_card(root, inherited, { title: "Swapnendu Banerjee", label: "Co-founder & PR Lead at NoobCode", body: "Learning and working with fastn is really fun because here we get frontend and\nbackend under the umbrella and the syntax is really very much user friendly. I\nam learning and enjoying fastn.", avatar: global.fastn_com_assets__files.get("images_landing_swapnendu_banerjee_png"), bgcolor: inherited.get("colors").get("custom").get("one"), bg_color: inherited.get("colors").get("background").get("step_1"), width: 500, margin_top: 74 }); }, function (root, inherited) { let rooti0 = fastn_com_content_library__testimonial_card(root, inherited, { title: "Jahanvi Raycha", label: "Software Developer", body: "**fastn** made web development a breeze for me. I launched my portfolio website on\nGitHub Pages within 30 minutes, thanks to its intuitive language and the\never-helpful community on Discord. It's my go-to framework for a seamless\ncoding experience.", avatar: global.fastn_com_assets__files.get("images_students_program_champions_jahanvi_raycha_jpg"), bgcolor: inherited.get("colors").get("custom").get("two"), bg_color: inherited.get("colors").get("background").get("step_1"), width: 500, margin_top: - 74 }); }, function (root, inherited) { let rooti0 = fastn_com_content_library__testimonial_card(root, inherited, { title: "Govindaraman S", label: "Front End Developer, Trizwit Labs", body: "**fastn** web framework, tailored for someone with a design background and zero\ncoding experience like me, has revolutionized website creation. Building\nwebsites is a walk in the park, and what's truly impressive is how easily I can\nmodify the colors and content in a matter of minutes.", avatar: global.fastn_com_assets__files.get("images_landing_govindaraman_lab_png"), bgcolor: inherited.get("colors").get("custom").get("nine"), bg_color: inherited.get("colors").get("background").get("step_1"), width: 500, margin_top: 54 }); } ]), transparent: true }); }, function (root, inherited) { let rooti0 = fastn_com_content_library__our_community(root, inherited, { title: "fastn Community", body: "Join a vibrant community of 3000+ developers and designers who are actively\nbuilding fastn components for you.", cta_primary_text: "Join Discord", cta_primary_url: "/discord/", image: global.fastn_com_assets__files.get("images_landing_discord_3k_png") }); } ]), banner: fastn.mutableList([function (root, inherited) { let rooti0 = site_banner_fifthtry_site__cta_banner(root, inherited, { body: "Enjoying `fastn`? Please consider giving us a star ⭐️ on\n GitHub to", cta_text: "show your support!", cta_link: "https://github.com/fastn-stack/fastn", bgcolor: inherited.get("colors").get("cta_primary").get("base") }); } ]) }); } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["main"] = main; ftd.app_url = function (args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = fastn_utils.getArgs({ app: "", }, args); return (ftd.app_url_ex(__args__.path, __args__.app)); } finally { __fastn_package_name__ = __fastn_super_package_name__; } } ftd.main_package = "fastn.com"; ftd.app_urls = function () { let record = fastn.recordInstance({ }); return record; }(); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_fastn_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/fastn.svg"); record.set("dark", "-/fastn.com/images/fastn-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.search_js", "-/fastn.com/search.js"); let fastn_com_FASTN_ds__open_search = function (args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = fastn_utils.getArgs({ }, args); return (openSearch()); } catch (e) { if (!ssr) { throw e; } } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_FASTN_ds__open_search"] = fastn_com_FASTN_ds__open_search; fastn_utils.createNestedObject(global, "doc_site_fifthtry_site_assets__files.static_cross_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/doc-site.fifthtry.site/static/cross.svg"); record.set("dark", "-/doc-site.fifthtry.site/static/cross-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "doc_site_fifthtry_site_assets__files.static_brand_logo_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/doc-site.fifthtry.site/static/brand-logo.svg"); record.set("dark", "-/doc-site.fifthtry.site/static/brand-logo-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "doc_site_fifthtry_site_assets__files.static_editor_icon_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/doc-site.fifthtry.site/static/editor-icon.svg"); record.set("dark", "-/doc-site.fifthtry.site/static/editor-icon-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "doc_site_fifthtry_site__light_green", function () { let record = fastn.recordInstance({ }); record.set("light", "#0DCEAB"); record.set("dark", "#0DCEAB"); return record; }()); fastn_utils.createNestedObject(global, "doc_site_fifthtry_site__right_sidebar_background", function () { let record = fastn.recordInstance({ }); record.set("light", "#262626"); record.set("dark", "#262626"); return record; }()); let doc_site_fifthtry_site__footer_list = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("label_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.url, inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.is_last ], function () { return (!fastn_utils.getStaticValue(__args__.is_last)); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginTop, fastn_dom.Length.Px(8), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(100), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("text_strong")), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["doc_site_fifthtry_site__footer_list"] = doc_site_fifthtry_site__footer_list; let doc_site_fifthtry_site__floater = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { open: fastn.wrapMutable(false), itemlist: fastn.mutableList([]), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Anchor, fastn_dom.Anchor.Window, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Top, fastn_dom.Length.Px(0), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Right, fastn_dom.Length.Px(0), inherited); parenti0.setProperty(fastn_dom.PropertyKind.ZIndex, 1000, inherited); parenti0.setProperty(fastn_dom.PropertyKind.MaxHeight, fastn_dom.Resizing.Fixed(fastn_dom.Length.Calc("100vh - 0px")), inherited); parenti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.open ], function () { return (!fastn_utils.getStaticValue(__args__.open)); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.side_logo, inherited); rooti0.addEventHandler(fastn_dom.Event.Click, function () { ftd.set_bool({ a: __args__.open, v: true, }, rooti0); }); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(27)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(89)), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.open ], function () { return fastn_utils.getStaticValue(__args__.open); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Calc("100%")), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MaxHeight, fastn_dom.Resizing.Fixed(fastn_dom.Length.Calc("100%")), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MinWidth, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(256)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(16), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(20), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(global.doc_site_fifthtry_site__right_sidebar_background), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(12)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("button_medium"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.about_text, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.about_text_url, inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.cross_icon, inherited); rooti0.addEventHandler(fastn_dom.Event.Click, function () { ftd.set_bool({ a: __args__.open, v: false, }, rooti0); }); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(16)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(16)), inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.OverflowY, fastn_dom.Overflow.Auto, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("fine_print"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.edit_text, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, global.doc_site_fifthtry_site__light_green, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.edit_text_url, inherited); } ]), inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(16)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.github_text, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MaxWidth, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(127)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.github_text_url, inherited); } ]), inherited); } ]), inherited); } ]), inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Id, "floater-container", inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(16), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(8), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("step_1")), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, "powered by", inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(32)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, "https://fifthtry.com/", inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.sidebar_brand_logo, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.HugContent, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(32)), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { __args__.itemlist.forLoop(root, function (root, item, index) { let rooti0 = doc_site_fifthtry_site__footer_list(root, inherited, { title: item.get("title"), url: item.get("url"), is_last: item.get("is_last") }); return rooti0; }); } ]), inherited); } ]), inherited); } ]), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["doc_site_fifthtry_site__floater"] = doc_site_fifthtry_site__floater; fastn_utils.createNestedObject(global, "doc_site_fifthtry_site_common__show_floater", false); fastn_utils.createNestedObject(global, "doc_site_fifthtry_site_assets__files.static_header_hamburger_dark_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/doc-site.fifthtry.site/static/header/hamburger-dark.svg"); record.set("dark", "-/doc-site.fifthtry.site/static/header/hamburger-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "site_header_fifthtry_site_assets__files.static_header_hamburger_dark_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/site-header.fifthtry.site/static/header/hamburger-dark.svg"); record.set("dark", "-/site-header.fifthtry.site/static/header/hamburger-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "site_header_fifthtry_site_assets__files.static_header_cross_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/site-header.fifthtry.site/static/header/cross.svg"); record.set("dark", "-/site-header.fifthtry.site/static/header/cross-dark.svg"); return record; }()); let site_header_fifthtry_site__mobile_sidebar = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.addEventHandler(fastn_dom.Event.Click, function () { ftd.toggle({ a: __args__.sidebar_open, }, parenti0); }); parenti0.setProperty(fastn_dom.PropertyKind.Anchor, fastn_dom.Anchor.Window, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Top, fastn_dom.Length.Px(0), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Bottom, fastn_dom.Length.Px(0), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Left, fastn_dom.Length.Px(0), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Right, fastn_dom.Length.Px(0), inherited); parenti0.setProperty(fastn_dom.PropertyKind.ZIndex, 1, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("overlay")), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, global.site_header_fifthtry_site_assets__files.get("static_header_cross_svg"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Anchor, fastn_dom.Anchor.Window, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.HugContent, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(24)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Top, fastn_dom.Length.Px(20), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Right, fastn_dom.Length.Px(16), inherited); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["site_header_fifthtry_site__mobile_sidebar"] = site_header_fifthtry_site__mobile_sidebar; fastn_utils.createNestedObject(global, "product_switcher_fifthtry_site__shadow_color", function () { let record = fastn.recordInstance({ }); record.set("light", "rgba(45, 212, 191, 0.2)"); record.set("dark", "rgba(45, 212, 191, 0.2)"); return record; }()); fastn_utils.createNestedObject(global, "product_switcher_fifthtry_site__current_product", fastn.mutable(1)); let product_switcher_fifthtry_site__brand_title = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); return fastn_dom.conditionalDom(parent, [ __args__.index, global.product_switcher_fifthtry_site__current_product ], function () { return (fastn_utils.getStaticValue(__args__.index) == fastn_utils.getStaticValue(global.product_switcher_fifthtry_site__current_product)); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(4)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingTop, fastn_dom.Length.Px(4), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, __args__.text_color, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Cursor, fastn_dom.Cursor.Pointer, inherited); } ]), inherited); return rooti0; }).getParent(); } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["product_switcher_fifthtry_site__brand_title"] = product_switcher_fifthtry_site__brand_title; fastn_utils.createNestedObject(global, "product_switcher_fifthtry_site_assets__files.assets_images_down_arrow_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/product-switcher.fifthtry.site/assets/images/down-arrow.svg"); record.set("dark", "-/product-switcher.fifthtry.site/assets/images/down-arrow-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "product_switcher_fifthtry_site__var_current_product", fastn_utils.clone(global.product_switcher_fifthtry_site__current_product)); let product_switcher_fifthtry_site__title_image = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { logo: null, }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Row); parenti0.addEventHandler(fastn_dom.Event.MouseEnter, function () { ftd.set_integer({ a: global.product_switcher_fifthtry_site__var_current_product, v: __args__.index, }, parenti0); }); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(16), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(16), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingRight, fastn_dom.Length.Px(24), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingBottom, fastn_dom.Length.Px(24), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderTopLeftRadius, fastn_dom.Length.Px(8), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderBottomLeftRadius, fastn_dom.Length.Px(8), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, fastn.formula([__args__.body_text_color, inherited.get("colors").get("text_strong"), __args__.index, global.product_switcher_fifthtry_site__var_current_product], function () { if (function () { return (fastn_utils.getStaticValue(global.product_switcher_fifthtry_site__var_current_product) == fastn_utils.getStaticValue(__args__.index)); }()) { return inherited.get("colors").get("text_strong"); } else { return __args__.body_text_color; } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn.formula([__args__.index, global.product_switcher_fifthtry_site__var_current_product], function () { if (function () { return (fastn_utils.getStaticValue(global.product_switcher_fifthtry_site__var_current_product) == fastn_utils.getStaticValue(__args__.index)); }()) { return fastn_dom.BackgroundStyle.Solid(__args__.bg_color); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.url, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.logo, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(32)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(32)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginRight, fastn_dom.Length.Px(8), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.WhiteSpace, fastn_dom.WhiteSpace.NoWrap, inherited); } ]), inherited); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["product_switcher_fifthtry_site__title_image"] = product_switcher_fifthtry_site__title_image; let product_switcher_fifthtry_site__title_list = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { brand: fastn.mutableList([]), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Percent(50)), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { __args__.brand.forLoop(root, function (root, item, index) { let rooti0 = product_switcher_fifthtry_site__title_image(root, inherited, { title: item.get("title"), index: item.get("index"), bg_hover: __args__.bg_hover, logo: item.get("logo"), url: item.get("url"), text_color: __args__.text_color, bg_color: __args__.bg_color, body_text_color: __args__.body_text_color }); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["product_switcher_fifthtry_site__title_list"] = product_switcher_fifthtry_site__title_list; let product_switcher_fifthtry_site__copy_list = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { mouse_in: false, copy: null, menu_hover: inherited.get("colors").get("text_strong"), sub_title: null, button_text: null, }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); return fastn_dom.conditionalDom(parent, [ __args__.index, global.product_switcher_fifthtry_site__var_current_product ], function () { return (fastn_utils.getStaticValue(global.product_switcher_fifthtry_site__var_current_product) == fastn_utils.getStaticValue(__args__.index)); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(8), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(__args__.bg_color), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MinHeight, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(288)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.url, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(16), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(16), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.sub_title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, __args__.text_color, inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.copy, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); } ]), inherited); } ]), inherited); } ]), inherited); return rooti0; }).getParent(); } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["product_switcher_fifthtry_site__copy_list"] = product_switcher_fifthtry_site__copy_list; let product_switcher_fifthtry_site__product_list = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { brand: fastn.mutableList([]), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Row); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.ZIndex, 1, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = product_switcher_fifthtry_site__title_list(root, inherited, { brand: __args__.brand, text_color: __args__.text_color, bg_color: __args__.bg_color, bg_hover: __args__.bg_hover, body_text_color: __args__.body_text_color }); }, function (root, inherited) { __args__.brand.forLoop(root, function (root, item, index) { let rooti0 = product_switcher_fifthtry_site__copy_list(root, inherited, { copy: item.get("body"), index: item.get("index"), text_color: __args__.text_color, bg_color: __args__.bg_color, body_text_color: __args__.body_text_color, url: item.get("url"), sub_title: item.get("sub_title"), button_text: item.get("button_text") }); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["product_switcher_fifthtry_site__product_list"] = product_switcher_fifthtry_site__product_list; fastn_utils.createNestedObject(global, "product_switcher_fifthtry_site__ps_shadow", function () { let record = fastn.recordInstance({ }); record.set("x_offset", fastn_dom.Length.Px( - 2)); record.set("y_offset", fastn_dom.Length.Px(8)); record.set("blur", fastn_dom.Length.Px(10)); record.set("spread", fastn_dom.Length.Px(0)); record.set("color", function () { let record = fastn.recordInstance({ }); record.set("light", "#a9a7a5ba"); record.set("dark", "#a9a7a5ba"); return record; }()); record.set("inset", false); return record; }()); let product_switcher_fifthtry_site__switcher_desktop = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { brand: fastn.mutableList([]), bg_color: null, text_color: null, bg_hover: null, }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Row); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.addEventHandler(fastn_dom.Event.MouseEnter, function () { ftd.set_bool({ a: __args__.mouse_events, v: true, }, rooti0); }); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(8), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(8), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(4), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, __args__.text_color, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(__args__.bg_color), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn.formula([__args__.on_left, __args__.on_left], function () { if (function () { return fastn_utils.getStaticValue(__args__.on_left); }()) { return fastn_dom.AlignContent.Left; } else if (function () { return (!fastn_utils.getStaticValue(__args__.on_left)); }()) { return fastn_dom.AlignContent.Right; } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { __args__.brand.forLoop(root, function (root, item, index) { let rooti0 = product_switcher_fifthtry_site__brand_title(root, inherited, { index: item.get("index"), title: item.get("title"), text_color: __args__.text_color }); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.PaddingTop, fastn_dom.Length.Px(10), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, global.product_switcher_fifthtry_site_assets__files.get("assets_images_down_arrow_svg"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(12)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.FillContainer, inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.mouse_events ], function () { return fastn_utils.getStaticValue(__args__.mouse_events); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.addEventHandler(fastn_dom.Event.MouseEnter, function () { ftd.set_bool({ a: __args__.mouse_events, v: true, }, rooti0); }); rooti0.addEventHandler(fastn_dom.Event.MouseLeave, function () { ftd.set_bool({ a: __args__.mouse_events, v: false, }, rooti0); }); rooti0.addEventHandler(fastn_dom.Event.ClickOutside, function () { ftd.set_bool({ a: __args__.mouse_events, v: false, }, rooti0); }); rooti0.setProperty(fastn_dom.PropertyKind.Anchor, fastn_dom.Anchor.Parent, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(8), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Top, fastn.formula([__args__.on_left, __args__.on_left], function () { if (function () { return fastn_utils.getStaticValue(__args__.on_left); }()) { return fastn_dom.Length.Px(25); } else if (function () { return (!fastn_utils.getStaticValue(__args__.on_left)); }()) { return fastn_dom.Length.Px(40); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Left, fastn.formula([__args__.on_left], function () { if (function () { return fastn_utils.getStaticValue(__args__.on_left); }()) { return fastn_dom.Length.Px( - 96); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Right, fastn.formula([__args__.on_left], function () { if (function () { return (!fastn_utils.getStaticValue(__args__.on_left)); }()) { return fastn_dom.Length.Px( - 3); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.ZIndex, 999, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(__args__.bg_hover), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MinHeight, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(255)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MinWidth, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(460)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Shadow, global.product_switcher_fifthtry_site__ps_shadow, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MinHeight, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(255)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MinWidth, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(460)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MinHeight, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(255)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MinWidth, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(460)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = product_switcher_fifthtry_site__product_list(root, inherited, { brand: __args__.brand, text_color: __args__.text_color, bg_color: __args__.bg_color, bg_hover: __args__.bg_hover, body_text_color: __args__.body_text_color }); } ]), inherited); } ]), inherited); } ]), inherited); return rooti0; }); } ]), inherited); } ]), inherited); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["product_switcher_fifthtry_site__switcher_desktop"] = product_switcher_fifthtry_site__switcher_desktop; let product_switcher_fifthtry_site__brand_name = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { copy: null, text_color: null, bg_color: null, }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingTop, fastn_dom.Length.Px(12), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Link, __args__.url, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(8), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderTopWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(4)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.logo, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.HugContent, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(36)), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingTop, fastn_dom.Length.Px(12), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, __args__.text_color, inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.sub_title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, __args__.text_color, inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.copy, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, __args__.body_text_color, inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("label_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, "explore ->", inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("cta_primary").get("base"), inherited); } ]), inherited); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["product_switcher_fifthtry_site__brand_name"] = product_switcher_fifthtry_site__brand_name; let product_switcher_fifthtry_site__switcher_mobile = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { brand: fastn.mutableList([]), bg_color: null, text_color: null, }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Row); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.addEventHandler(fastn_dom.Event.Click, function () { ftd.toggle({ a: __args__.mouse_events, }, rooti0); }); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, "All Product ->", inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("cta_primary").get("base"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.WhiteSpace, fastn_dom.WhiteSpace.NoWrap, inherited); } ]), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.mouse_events ], function () { return fastn_utils.getStaticValue(__args__.mouse_events); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Anchor, fastn_dom.Anchor.Window, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Calc("100% - 48px")), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Calc("100vh - 0px")), inherited); rooti0.setProperty(fastn_dom.PropertyKind.OverflowY, fastn_dom.Overflow.Auto, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Top, fastn_dom.Length.Px(0), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Bottom, fastn_dom.Length.Px(0), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Left, fastn_dom.Length.Px(0), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Right, fastn_dom.Length.Px(0), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(__args__.bg_color), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.TopLeft, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(24), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingTop, fastn_dom.Length.Px(32), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, "<- back", inherited); rooti0.addEventHandler(fastn_dom.Event.Click, function () { ftd.toggle({ a: __args__.mouse_events, }, rooti0); }); rooti0.setProperty(fastn_dom.PropertyKind.PaddingTop, fastn_dom.Length.Px(4), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingBottom, fastn_dom.Length.Px(16), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, __args__.text_color, inherited); }, function (root, inherited) { __args__.brand.forLoop(root, function (root, item, index) { let rooti0 = product_switcher_fifthtry_site__brand_name(root, inherited, { title: item.get("title"), copy: item.get("body"), index: item.get("index"), text_color: __args__.text_color, bg_color: __args__.bg_color, url: item.get("url"), sub_title: item.get("sub_title"), logo: item.get("mobile_logo"), body_text_color: __args__.body_text_color }); return rooti0; }); } ]), inherited); } ]), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["product_switcher_fifthtry_site__switcher_mobile"] = product_switcher_fifthtry_site__switcher_mobile; let product_switcher_fifthtry_site__switcher = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { bg_color: inherited.get("colors").get("background").get("step_1"), text_color: inherited.get("colors").get("text_strong"), bg_hover: inherited.get("colors").get("background").get("base"), body_text_color: inherited.get("colors").get("text"), shadow_color: global.product_switcher_fifthtry_site__shadow_color, products: fastn.mutableList([]), mouse_events: fastn.wrapMutable(false), on_left: fastn.wrapMutable(true), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); return fastn_dom.conditionalDom(parent, [ __args__.products ], function () { return (!ftd.is_empty(__args__.products)); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.addEventHandler(fastn_dom.Event.MouseEnter, function () { ftd.set_bool({ a: __args__.mouse_events, v: true, }, rooti0); }); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn.formula([__args__.on_left], function () { if (function () { return (!fastn_utils.getStaticValue(__args__.on_left)); }()) { return fastn_dom.AlignContent.Right; } else { return fastn_dom.AlignContent.Left; } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "desktop"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = product_switcher_fifthtry_site__switcher_desktop(root, inherited, { brand: __args__.products, on_left: __args__.on_left, mouse_events: fastn.wrapMutable(__args__.mouse_events), bg_color: __args__.bg_color, text_color: __args__.text_color, bg_hover: __args__.bg_hover, body_text_color: __args__.body_text_color, shadow_color: __args__.shadow_color }); return rooti0; } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "mobile"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = product_switcher_fifthtry_site__switcher_mobile(root, inherited, { brand: __args__.products, mouse_events: fastn.wrapMutable(__args__.mouse_events), bg_color: __args__.bg_color, text_color: __args__.text_color, body_text_color: __args__.body_text_color }); return rooti0; } ]), inherited); return rooti0; }); } ]), inherited); return rooti0; }).getParent(); } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["product_switcher_fifthtry_site__switcher"] = product_switcher_fifthtry_site__switcher; let site_header_fifthtry_site__links_mobile = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.obj.get("url") ], function () { return (fastn_utils.getStaticValue(__args__.obj.get("url")) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.obj.get("title"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(10), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(8), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, fastn.formula([inherited.get("colors").get("text_strong"), inherited.get("colors").get("cta_primary").get("base"), __args__.obj.get("is_active")], function () { if (function () { return fastn_utils.getStaticValue(__args__.obj.get("is_active")); }()) { return inherited.get("colors").get("cta_primary").get("base"); } else { return inherited.get("colors").get("text_strong"); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.obj.get("url"), inherited); } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.obj.get("url") ], function () { return (fastn_utils.getStaticValue(__args__.obj.get("url")) == null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.obj.get("title"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(10), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(8), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("background").get("step_2"), inherited); } ]), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["site_header_fifthtry_site__links_mobile"] = site_header_fifthtry_site__links_mobile; let site_header_fifthtry_site__show_children_mobile = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { children: fastn.mutableList([]), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); return fastn_dom.conditionalDom(parent, [ __args__.children ], function () { return (!ftd.is_empty(__args__.children)); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Padding, fastn_dom.Length.Px(5), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingLeft, fastn_dom.Length.Px(15), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { __args__.children.forLoop(root, function (root, item, index) { let rooti0 = site_header_fifthtry_site__links_mobile(root, inherited, { obj: item }); return rooti0; }); } ]), inherited); return rooti0; }).getParent(); } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["site_header_fifthtry_site__show_children_mobile"] = site_header_fifthtry_site__show_children_mobile; let site_header_fifthtry_site__header_item_mobile = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { link: null, children: fastn.mutableList([]), open: fastn.wrapMutable(false), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.addEventHandler(fastn_dom.Event.Click, function () { ftd.toggle({ a: __args__.open, }, parenti0); }); parenti0.addEventHandler(fastn_dom.Event.ClickOutside, function () { ftd.set_bool({ a: __args__.open, v: false, }, parenti0); }); parenti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Start, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.addEventHandler(fastn_dom.Event.Click, function () { ftd.set_bool({ a: __args__.show_section, v: true, }, rooti0); }); rooti0.setProperty(fastn_dom.PropertyKind.PaddingTop, fastn_dom.Length.Px(24), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, fastn.formula([inherited.get("colors").get("text_strong"), inherited.get("colors").get("cta_primary").get("base"), __args__.is_active], function () { if (function () { return fastn_utils.getStaticValue(__args__.is_active); }()) { return inherited.get("colors").get("cta_primary").get("base"); } else { return inherited.get("colors").get("text_strong"); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.link, inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.children ], function () { return (ftd.is_empty(__args__.children)); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.PaddingBottom, fastn_dom.Length.Px(15), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.children ], function () { return (!ftd.is_empty(__args__.children)); }, function (root) { let rooti0 = site_header_fifthtry_site__show_children_mobile(root, inherited, { children: __args__.children }); return rooti0; }); } ]), inherited); return rooti0; }); } ]), inherited); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["site_header_fifthtry_site__header_item_mobile"] = site_header_fifthtry_site__header_item_mobile; fastn_utils.createNestedObject(global, "site_header_fifthtry_site_assets__files.static_icon_github_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/site-header.fifthtry.site/static/icon-github.svg"); record.set("dark", "-/site-header.fifthtry.site/static/icon-github-dark.svg"); return record; }()); let site_header_fifthtry_site__login_signup_desktop = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { login: null, login_btn_url: null, icon_github: null, }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Row); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.MarginLeft, fastn_dom.Length.Px(20), inherited); parenti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.login, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(10), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.login_btn_url, inherited); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["site_header_fifthtry_site__login_signup_desktop"] = site_header_fifthtry_site__login_signup_desktop; let site_header_fifthtry_site__login_signup_mobile = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { login: null, login_btn_url: null, icon_github: global.site_header_fifthtry_site_assets__files.get("static_icon_github_svg"), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(32)), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.login, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingBottom, fastn_dom.Length.Px(32), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.login_btn_url, inherited); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["site_header_fifthtry_site__login_signup_mobile"] = site_header_fifthtry_site__login_signup_mobile; let site_header_fifthtry_site__login_signup = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { login: null, login_btn_url: null, icon_github: global.site_header_fifthtry_site_assets__files.get("static_icon_github_svg"), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Row); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "desktop"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = site_header_fifthtry_site__login_signup_desktop(root, inherited, { login: __args__.login, login_btn_url: __args__.login_btn_url, icon_github: __args__.icon_github }); return rooti0; } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "mobile"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = site_header_fifthtry_site__login_signup_mobile(root, inherited, { login: __args__.login, login_btn_url: __args__.login_btn_url, icon_github: __args__.icon_github }); return rooti0; } ]), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["site_header_fifthtry_site__login_signup"] = site_header_fifthtry_site__login_signup; let site_header_fifthtry_site__github_button = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { icon_github: global.site_header_fifthtry_site_assets__files.get("static_icon_github_svg"), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); parenti0.setProperty(fastn_dom.PropertyKind.MarginLeft, fastn.formula([ftd.device], function () { if (function () { return (fastn_utils.getStaticValue(ftd.device) == "desktop"); }()) { return fastn_dom.Length.Px(20); } } ), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "desktop"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.icon_github, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(22)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.github_url, inherited); return rooti0; } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "mobile"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.icon_github, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(22)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.github_url, inherited); return rooti0; } ]), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["site_header_fifthtry_site__github_button"] = site_header_fifthtry_site__github_button; fastn_utils.createNestedObject(global, "site_header_fifthtry_site_assets__files.static_search_icon_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/site-header.fifthtry.site/static/search-icon.svg"); record.set("dark", "-/site-header.fifthtry.site/static/search-icon-dark.svg"); return record; }()); let site_header_fifthtry_site__search_button = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { mouse_in: fastn.wrapMutable(false), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Row); parenti0.addEventHandler(fastn_dom.Event.MouseEnter, function () { ftd.set_bool({ a: __args__.mouse_in, v: true, }, parenti0); }); parenti0.addEventHandler(fastn_dom.Event.MouseLeave, function () { ftd.set_bool({ a: __args__.mouse_in, v: false, }, parenti0); }); parenti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.HugContent, inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(12), inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(10), inherited); parenti0.setProperty(fastn_dom.PropertyKind.MarginLeft, fastn.formula([ftd.device], function () { if (function () { return (fastn_utils.getStaticValue(ftd.device) == "desktop"); }()) { return fastn_dom.Length.Px(20); } } ), inherited); parenti0.setProperty(fastn_dom.PropertyKind.BorderWidth, fastn_dom.Length.Px(1), inherited); parenti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(48), inherited); parenti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Background, fastn.formula([__args__.mouse_in], function () { if (function () { return fastn_utils.getStaticValue(__args__.mouse_in); }()) { return fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("cta_primary").get("hover")); } else { return fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("base")); } } ), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Link, __args__.search_url, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_small"), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, global.site_header_fifthtry_site_assets__files.get("static_search_icon_svg"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(16)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(16)), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, "Search", inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["site_header_fifthtry_site__search_button"] = site_header_fifthtry_site__search_button; let site_header_fifthtry_site__footer = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingBottom, fastn_dom.Length.Px(32), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("cta_primary").get("base"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.url, inherited); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["site_header_fifthtry_site__footer"] = site_header_fifthtry_site__footer; fastn_utils.createNestedObject(global, "site_header_fifthtry_site__footer_list", fastn.mutableList([])); let site_header_fifthtry_site__menu_mobile = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { products: fastn.mutableList([]), site_logo: null, brand_caption: null, site_name: null, sections: fastn.mutableList([]), footer_nav: fastn.mutableList([]), sub_sections: fastn.mutableList([]), logo_width: 120, logo_height: 44, font_family: null, login_btn_txt: null, login_btn_url: null, github_url: null, search_url: null, }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Anchor, fastn_dom.Anchor.Window, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Calc("100% - 48px")), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Calc("100vh - 0px")), inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(24), inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingTop, fastn_dom.Length.Px(20), inherited); parenti0.setProperty(fastn_dom.PropertyKind.OverflowY, fastn_dom.Overflow.Auto, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Top, fastn_dom.Length.Px(0), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Left, fastn_dom.Length.Px(0), inherited); parenti0.setProperty(fastn_dom.PropertyKind.ZIndex, 14, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("step_1")), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.parent_brand ], function () { return (!fastn_utils.getStaticValue(__args__.parent_brand)); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingBottom, fastn_dom.Length.Px(24), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderBottomWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.parent_brand ], function () { return (!fastn_utils.getStaticValue(__args__.parent_brand)); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.brand_caption ], function () { return (fastn_utils.getStaticValue(__args__.brand_caption) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("fine_print"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.brand_caption, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingBottom, fastn_dom.Length.Px(8), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.site_logo ], function () { return (fastn_utils.getStaticValue(__args__.site_logo) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(38)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.site_logo, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(44)), inherited); } ]), inherited); return rooti0; }); } ]), inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.PaddingTop, fastn_dom.Length.Px(24), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = product_switcher_fifthtry_site__switcher(root, inherited, { products: __args__.products }); } ]), inherited); } ]), inherited); return rooti0; }); } ]), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.sections ], function () { return (!ftd.is_empty(__args__.sections)); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingBottom, fastn_dom.Length.Px(24), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderBottomWidth, fastn.formula([__args__.login_button], function () { if (function () { return fastn_utils.getStaticValue(__args__.login_button); }()) { return fastn_dom.Length.Px(1); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { __args__.sections.forLoop(root, function (root, item, index) { let rooti0 = site_header_fifthtry_site__header_item_mobile(root, inherited, { title: item.get("title"), link: item.get("url"), children: item.get("children"), is_active: item.get("is_active"), show_section: fastn.wrapMutable(__args__.show_section) }); return rooti0; }); } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.login_button ], function () { return fastn_utils.getStaticValue(__args__.login_button); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(24), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderBottomWidth, fastn.formula([__args__.parent_brand], function () { if (function () { return (!fastn_utils.getStaticValue(__args__.parent_brand)); }()) { return fastn_dom.Length.Px(1); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = site_header_fifthtry_site__login_signup(root, inherited, { login: __args__.login_btn_txt, login_btn_url: __args__.login_btn_url }); } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.github_icon ], function () { return fastn_utils.getStaticValue(__args__.github_icon); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = site_header_fifthtry_site__github_button(root, inherited, { github_url: __args__.github_url }); } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.search ], function () { return fastn_utils.getStaticValue(__args__.search); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.PaddingTop, fastn_dom.Length.Px(20), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = site_header_fifthtry_site__search_button(root, inherited, { search_url: __args__.search_url }); } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.parent_brand ], function () { return (!fastn_utils.getStaticValue(__args__.parent_brand)); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(24), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { global.site_header_fifthtry_site__footer_list.forLoop(root, function (root, item, index) { let rooti0 = site_header_fifthtry_site__footer(root, inherited, { title: item.get("title"), url: item.get("url") }); return rooti0; }); } ]), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["site_header_fifthtry_site__menu_mobile"] = site_header_fifthtry_site__menu_mobile; fastn_utils.createNestedObject(global, "site_header_fifthtry_site__sitemap", function () { let record = fastn.recordInstance({ }); record.set("sections", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Explore"); record.set("url", "frontend/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Learn"); record.set("url", "learn/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Docs"); record.set("url", "ftd/data-modelling/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Community"); record.set("url", "champion-program/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "`fastn` Made Easy - For the Curious & the Creative"); record.set("url", "book/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Blog"); record.set("url", "blog/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }()])); record.set("subsections", fastn.mutableList([])); record.set("toc", fastn.mutableList([])); record.set("current_section", null); record.set("current_subsection", null); record.set("current_page", null); return record; }()); let site_header_fifthtry_site__fallback_title = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { site_name: null, }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Row); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.site_name ], function () { return (fastn_utils.getStaticValue(__args__.site_name) == null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_large"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, "LOGO", inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["site_header_fifthtry_site__fallback_title"] = site_header_fifthtry_site__fallback_title; let site_header_fifthtry_site__header_item = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { link: null, open: fastn.wrapMutable(false), mouse_in: fastn.wrapMutable(false), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Row); parenti0.addEventHandler(fastn_dom.Event.Click, function () { ftd.toggle({ a: __args__.open, }, parenti0); }); parenti0.addEventHandler(fastn_dom.Event.ClickOutside, function () { ftd.set_bool({ a: __args__.open, v: false, }, parenti0); }); parenti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.title ], function () { return (fastn_utils.getStaticValue(__args__.title) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.addEventHandler(fastn_dom.Event.MouseLeave, function () { ftd.set_bool({ a: __args__.mouse_in, v: false, }, rooti0); }); rooti0.addEventHandler(fastn_dom.Event.MouseEnter, function () { ftd.set_bool({ a: __args__.mouse_in, v: true, }, rooti0); }); rooti0.setProperty(fastn_dom.PropertyKind.PaddingLeft, fastn_dom.Length.Px(10), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginLeft, fastn_dom.Length.Px(10), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, fastn.formula([inherited.get("colors").get("text_strong"), inherited.get("colors").get("cta_primary").get("base"), __args__.mouse_in, inherited.get("colors").get("cta_primary").get("base"), __args__.is_active], function () { if (function () { return fastn_utils.getStaticValue(__args__.mouse_in); }()) { return inherited.get("colors").get("cta_primary").get("base"); } else if (function () { return fastn_utils.getStaticValue(__args__.is_active); }()) { return inherited.get("colors").get("cta_primary").get("base"); } else { return inherited.get("colors").get("text_strong"); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.WhiteSpace, fastn_dom.WhiteSpace.NoWrap, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.link, inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.link ], function () { return (fastn_utils.getStaticValue(__args__.link) == null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingLeft, fastn_dom.Length.Px(10), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginLeft, fastn_dom.Length.Px(20), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, fastn.formula([inherited.get("colors").get("text_strong"), inherited.get("colors").get("cta_primary").get("base"), __args__.is_active], function () { if (function () { return fastn_utils.getStaticValue(__args__.is_active); }()) { return inherited.get("colors").get("cta_primary").get("base"); } else { return inherited.get("colors").get("text_strong"); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.WhiteSpace, fastn_dom.WhiteSpace.NoWrap, inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["site_header_fifthtry_site__header_item"] = site_header_fifthtry_site__header_item; fastn_utils.createNestedObject(global, "site_header_fifthtry_site_assets__files.static_arrow_right_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/site-header.fifthtry.site/static/arrow-right.svg"); record.set("dark", "-/site-header.fifthtry.site/static/arrow-right-dark.svg"); return record; }()); let site_header_fifthtry_site__get_started_button = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { mouse_in: fastn.wrapMutable(false), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Row); parenti0.addEventHandler(fastn_dom.Event.MouseEnter, function () { ftd.set_bool({ a: __args__.mouse_in, v: true, }, parenti0); }); parenti0.addEventHandler(fastn_dom.Event.MouseLeave, function () { ftd.set_bool({ a: __args__.mouse_in, v: false, }, parenti0); }); parenti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(24), inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(12), inherited); parenti0.setProperty(fastn_dom.PropertyKind.MarginLeft, fastn.formula([ftd.device], function () { if (function () { return (fastn_utils.getStaticValue(ftd.device) == "desktop"); }()) { return fastn_dom.Length.Px(20); } } ), inherited); parenti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(58), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("cta_tertiary").get("text"), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Background, fastn.formula([__args__.mouse_in], function () { if (function () { return fastn_utils.getStaticValue(__args__.mouse_in); }()) { return fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("cta_primary").get("hover")); } else { return fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("cta_primary").get("base")); } } ), inherited); parenti0.setProperty(fastn_dom.PropertyKind.MinWidth, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(198)), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Link, __args__.get_started_url, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_small"), inherited); parenti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(4)), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, "Get Started", inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, global.site_header_fifthtry_site_assets__files.get("static_arrow_right_svg"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(24)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(24)), inherited); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["site_header_fifthtry_site__get_started_button"] = site_header_fifthtry_site__get_started_button; let site_header_fifthtry_site__childs = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { show_arrow: true, }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); return fastn_dom.conditionalDom(parent, [ __args__.item.get("is_open") ], function () { return fastn_utils.getStaticValue(__args__.item.get("is_open")); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(6)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.item.get("is_open"), __args__.item.get("title"), __args__.show_arrow ], function () { return (fastn_utils.getStaticValue(__args__.item.get("title")) !== null && fastn_utils.getStaticValue(__args__.item.get("is_open")) && fastn_utils.getStaticValue(__args__.show_arrow)); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("label_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, "->", inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.WhiteSpace, fastn_dom.WhiteSpace.NoWrap, inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.item.get("is_open"), __args__.item.get("title") ], function () { return (fastn_utils.getStaticValue(__args__.item.get("title")) !== null && fastn_utils.getStaticValue(__args__.item.get("is_open"))); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("label_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.item.get("title"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, fastn.formula([inherited.get("colors").get("text_strong"), inherited.get("colors").get("cta_primary").get("base"), __args__.item.get("is_active")], function () { if (function () { return fastn_utils.getStaticValue(__args__.item.get("is_active")); }()) { return inherited.get("colors").get("cta_primary").get("base"); } else { return inherited.get("colors").get("text_strong"); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.item.get("url"), inherited); return rooti0; }); }, function (root, inherited) { __args__.item.get("children").forLoop(root, function (root, item, index) { return fastn_dom.conditionalDom(root, [ __args__.item.get("is_open") ], function () { return fastn_utils.getStaticValue(__args__.item.get("is_open")); }, function (root) { let rooti0 = site_header_fifthtry_site__childs(root, inherited, { item: item }); return rooti0; }).getParent(); }); } ]), inherited); return rooti0; }).getParent(); } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["site_header_fifthtry_site__childs"] = site_header_fifthtry_site__childs; let site_header_fifthtry_site__header_desktop = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { products: fastn.mutableList([]), site_logo: null, site_name: null, brand_caption: null, sections: fastn.mutableList([]), current_subsection: null, sub_sections: fastn.mutableList([]), current_section: null, current_page: null, extra: fastn.mutableList([]), logo_width: 120, logo_height: 44, login_btn_txt: null, login_btn_url: null, fluid_width: true, max_width: null, github_url: null, toc: global.site_header_fifthtry_site__sitemap.get("toc"), logo_ui: fastn.mutableList([]), search: false, search_url: null, get_started_url: null, right_section: null, }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("base")), inherited); parenti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(48), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(24), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MaxWidth, fastn.formula([__args__.max_width, __args__.fluid_width], function () { if (function () { return (!fastn_utils.getStaticValue(__args__.fluid_width)); }()) { return __args__.max_width; } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Start, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.parent_brand ], function () { return (!fastn_utils.getStaticValue(__args__.parent_brand)); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.brand_caption ], function () { return (fastn_utils.getStaticValue(__args__.brand_caption) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("fine_print"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.brand_caption, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); return rooti0; }); } ]), inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.site_url, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.site_logo ], function () { return (fastn_utils.getStaticValue(__args__.site_logo) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.site_logo, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(__args__.logo_width)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(__args__.logo_height)), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.site_name ], function () { return (fastn_utils.getStaticValue(__args__.site_name) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_large"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.site_name, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginLeft, fastn.formula([__args__.site_logo], function () { if (function () { return (fastn_utils.getStaticValue(__args__.site_logo) !== null); }()) { return fastn_dom.Length.Px(16); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.WhiteSpace, fastn_dom.WhiteSpace.NoWrap, inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.site_logo ], function () { return (fastn_utils.getStaticValue(__args__.site_logo) == null); }, function (root) { let rooti0 = site_header_fifthtry_site__fallback_title(root, inherited, { site_name: __args__.site_name }); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.right_section ], function () { return fastn_utils.getStaticValue(__args__.right_section); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { __args__.sections.forLoop(root, function (root, item, index) { let rooti0 = site_header_fifthtry_site__header_item(root, inherited, { title: item.get("title"), link: item.get("url"), is_active: item.get("is_active") }); return rooti0; }); } ]), inherited); return rooti0; }); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingLeft, fastn_dom.Length.Px(20), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginLeft, fastn_dom.Length.Px(20), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderLeftWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = product_switcher_fifthtry_site__switcher(root, inherited, { products: __args__.products }); } ]), inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.right_section ], function () { return (!fastn_utils.getStaticValue(__args__.right_section)); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { __args__.sections.forLoop(root, function (root, item, index) { let rooti0 = site_header_fifthtry_site__header_item(root, inherited, { title: item.get("title"), link: item.get("url"), is_active: item.get("is_active") }); return rooti0; }); } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.login_button ], function () { return fastn_utils.getStaticValue(__args__.login_button); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = site_header_fifthtry_site__login_signup(root, inherited, { login: __args__.login_btn_txt, login_btn_url: __args__.login_btn_url }); } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.github_icon ], function () { return fastn_utils.getStaticValue(__args__.github_icon); }, function (root) { let rooti0 = site_header_fifthtry_site__github_button(root, inherited, { github_url: __args__.github_url }); return rooti0; }); } ]), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.get_started_url ], function () { return (fastn_utils.getStaticValue(__args__.get_started_url) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(24)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingLeft, fastn_dom.Length.Px(18), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRightWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.search ], function () { return fastn_utils.getStaticValue(__args__.search); }, function (root) { let rooti0 = site_header_fifthtry_site__search_button(root, inherited, { search_url: __args__.search_url }); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.get_started_url ], function () { return (fastn_utils.getStaticValue(__args__.get_started_url) !== null); }, function (root) { let rooti0 = site_header_fifthtry_site__get_started_button(root, inherited, { get_started_url: __args__.get_started_url }); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, __args__.logo_ui, inherited); } ]), inherited); } ]), inherited); } ]), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.current_section ], function () { return (fastn_utils.getStaticValue(__args__.current_section) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(48), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(24), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("step_1")), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MaxWidth, fastn.formula([__args__.max_width, __args__.fluid_width], function () { if (function () { return (!fastn_utils.getStaticValue(__args__.fluid_width)); }()) { return __args__.max_width; } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Start, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.current_section.get("title") ], function () { return (fastn_utils.getStaticValue(__args__.current_section.get("title")) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.current_section.get("title"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingBottom, fastn_dom.Length.Px(8), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.current_section.get("url"), inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.current_subsection ], function () { return (fastn_utils.getStaticValue(__args__.current_subsection) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("label_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.current_subsection.get("title"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginRight, fastn_dom.Length.Px(8), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.WhiteSpace, fastn_dom.WhiteSpace.NoWrap, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.current_subsection.get("url"), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.current_subsection ], function () { return (fastn_utils.getStaticValue(__args__.current_subsection) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.current_page ], function () { return (fastn_utils.getStaticValue(__args__.current_page) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("label_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, "->", inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginRight, fastn_dom.Length.Px(8), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.WhiteSpace, fastn_dom.WhiteSpace.NoWrap, inherited); } ]), inherited); return rooti0; }); } ]), inherited); return rooti0; }); }, function (root, inherited) { global.site_header_fifthtry_site__sitemap.get("toc").forLoop(root, function (root, item, index) { let rooti0 = site_header_fifthtry_site__childs(root, inherited, { item: item, show_arrow: false }); return rooti0; }); } ]), inherited); } ]), inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.HugContent, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.End, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { __args__.sub_sections.forLoop(root, function (root, item, index) { let rooti0 = site_header_fifthtry_site__header_item(root, inherited, { title: item.get("title"), link: item.get("url"), is_active: item.get("is_active") }); return rooti0; }); } ]), inherited); } ]), inherited); } ]), inherited); } ]), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["site_header_fifthtry_site__header_desktop"] = site_header_fifthtry_site__header_desktop; let site_header_fifthtry_site__header_item_mobile_view = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { link: null, children: fastn.mutableList([]), open: fastn.wrapMutable(false), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.addEventHandler(fastn_dom.Event.Click, function () { ftd.toggle({ a: __args__.open, }, parenti0); }); parenti0.addEventHandler(fastn_dom.Event.ClickOutside, function () { ftd.set_bool({ a: __args__.open, v: false, }, parenti0); }); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.title ], function () { return (fastn_utils.getStaticValue(__args__.title) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("fine_print"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingLeft, fastn_dom.Length.Px(10), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginLeft, fastn_dom.Length.Px(10), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, fastn.formula([inherited.get("colors").get("text_strong"), inherited.get("colors").get("cta_primary").get("base"), __args__.is_active], function () { if (function () { return fastn_utils.getStaticValue(__args__.is_active); }()) { return inherited.get("colors").get("cta_primary").get("base"); } else { return inherited.get("colors").get("text_strong"); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.WhiteSpace, fastn_dom.WhiteSpace.NoWrap, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.link, inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["site_header_fifthtry_site__header_item_mobile_view"] = site_header_fifthtry_site__header_item_mobile_view; fastn_utils.createNestedObject(global, "site_header_fifthtry_site_assets__files.static_up_arrow_dark_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/site-header.fifthtry.site/static/up-arrow-dark.svg"); record.set("dark", "-/site-header.fifthtry.site/static/up-arrow-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "site_header_fifthtry_site_assets__files.static_down_arrow_dark_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/site-header.fifthtry.site/static/down-arrow-dark.svg"); record.set("dark", "-/site-header.fifthtry.site/static/down-arrow-dark.svg"); return record; }()); let site_header_fifthtry_site__header_toc_item_mobile_view = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { link: null, children: fastn.mutableList([]), icon: null, open: fastn.wrapMutable(false), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.addEventHandler(fastn_dom.Event.Click, function () { ftd.toggle({ a: __args__.open, }, parenti0); }); parenti0.addEventHandler(fastn_dom.Event.ClickOutside, function () { ftd.set_bool({ a: __args__.open, v: false, }, parenti0); }); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.link ], function () { return (fastn_utils.getStaticValue(__args__.link) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.link ], function () { return (fastn_utils.getStaticValue(__args__.link) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingLeft, fastn_dom.Length.Px(10), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginLeft, fastn_dom.Length.Px(10), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, fastn.formula([inherited.get("colors").get("text"), inherited.get("colors").get("cta_primary").get("base"), __args__.is_active], function () { if (function () { return fastn_utils.getStaticValue(__args__.is_active); }()) { return inherited.get("colors").get("cta_primary").get("base"); } else { return inherited.get("colors").get("text"); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.WhiteSpace, fastn_dom.WhiteSpace.NoWrap, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.link, inherited); return rooti0; }); } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.link ], function () { return (fastn_utils.getStaticValue(__args__.link) == null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.link ], function () { return (fastn_utils.getStaticValue(__args__.link) == null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingLeft, fastn_dom.Length.Px(10), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, fastn.formula([inherited.get("colors").get("text"), inherited.get("colors").get("cta_primary").get("base"), __args__.is_active], function () { if (function () { return fastn_utils.getStaticValue(__args__.is_active); }()) { return inherited.get("colors").get("cta_primary").get("base"); } else { return inherited.get("colors").get("text"); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.WhiteSpace, fastn_dom.WhiteSpace.NoWrap, inherited); return rooti0; }); } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.children ], function () { return (!ftd.is_empty(__args__.children)); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.children ], function () { return (!ftd.is_empty(__args__.children)); }, function (root) { let rooti0 = site_header_fifthtry_site__show_children_mobile(root, inherited, { children: __args__.children }); return rooti0; }); } ]), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["site_header_fifthtry_site__header_toc_item_mobile_view"] = site_header_fifthtry_site__header_toc_item_mobile_view; let site_header_fifthtry_site__header_mobile = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { products: fastn.mutableList([]), sidebar_open: fastn.wrapMutable(false), site_logo: null, brand_site_logo: null, brand_site_name: null, parent_brand: false, show_section: fastn.wrapMutable(false), brand_site_url: null, site_name: null, sections: fastn.mutableList([]), sub_sections: fastn.mutableList([]), toc: fastn.mutableList([]), current_subsection: null, current_section: null, current_page: null, logo_width: 120, logo_height: 38, logo_ui: fastn.mutableList([]), search: false, search_url: null, }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.addEventHandler(fastn_dom.Event.ClickOutside, function () { ftd.set_bool({ a: __args__.show_section, v: false, }, parenti0); }); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("step_1")), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(16), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(16), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(16)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.menu_icon, inherited); rooti0.addEventHandler(fastn_dom.Event.Click, function () { ftd.toggle({ a: __args__.sidebar_open, }, rooti0); }); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(24)), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.site_logo, __args__.site_name ], function () { return (fastn_utils.getStaticValue(__args__.site_logo) !== null && fastn_utils.getStaticValue(__args__.site_name) == null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.site_logo, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(44)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.site_url, inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.site_name ], function () { return (fastn_utils.getStaticValue(__args__.site_name) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_medium"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.site_name, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.WhiteSpace, fastn_dom.WhiteSpace.NoWrap, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.site_url, inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.site_logo ], function () { return (fastn_utils.getStaticValue(__args__.site_logo) == null); }, function (root) { let rooti0 = site_header_fifthtry_site__fallback_title(root, inherited, { site_name: __args__.site_name }); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.parent_brand ], function () { return (!fastn_utils.getStaticValue(__args__.parent_brand)); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.brand_site_url, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(15)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.brand_site_logo ], function () { return (fastn_utils.getStaticValue(__args__.brand_site_logo) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.brand_site_logo, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.HugContent, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(36)), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.brand_site_name ], function () { return (fastn_utils.getStaticValue(__args__.brand_site_name) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.brand_site_name, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.brand_site_name ], function () { return (fastn_utils.getStaticValue(__args__.brand_site_name) !== null); }, function (root) { let rooti0 = site_header_fifthtry_site__fallback_title(root, inherited, { site_name: __args__.brand_site_name }); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Children, __args__.logo_ui, inherited); } ]), inherited); return rooti0; }); } ]), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.search ], function () { return fastn_utils.getStaticValue(__args__.search); }, function (root) { let rooti0 = site_header_fifthtry_site__search_button(root, inherited, { search_url: __args__.search_url }); return rooti0; }); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("step_1")), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Start, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.current_section ], function () { return (fastn_utils.getStaticValue(__args__.current_section) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("label_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.current_section.get("title"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(8), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(8), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("cta_tertiary").get("text"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("cta_tertiary").get("base")), inherited); rooti0.setProperty(fastn_dom.PropertyKind.WhiteSpace, fastn_dom.WhiteSpace.NoWrap, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.current_section.get("url"), inherited); return rooti0; }); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingTop, fastn_dom.Length.Px(8), inherited); rooti0.setProperty(fastn_dom.PropertyKind.OverflowX, fastn_dom.Overflow.Auto, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { __args__.sub_sections.forLoop(root, function (root, item, index) { let rooti0 = site_header_fifthtry_site__header_item_mobile_view(root, inherited, { title: item.get("title"), link: item.get("url"), children: item.get("children"), is_active: item.get("is_active") }); return rooti0; }); } ]), inherited); } ]), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.toc ], function () { return (!ftd.is_empty(__args__.toc)); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.addEventHandler(fastn_dom.Event.Click, function () { ftd.toggle({ a: __args__.show_section, }, rooti0); }); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(20), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("step_2")), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(16), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(4)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.current_subsection ], function () { return (fastn_utils.getStaticValue(__args__.current_subsection) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("label_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.current_subsection.get("title"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.WhiteSpace, fastn_dom.WhiteSpace.NoWrap, inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.current_page, __args__.current_subsection ], function () { return (fastn_utils.getStaticValue(__args__.current_subsection) == null && fastn_utils.getStaticValue(__args__.current_page) == null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("label_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, "Menu", inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.WhiteSpace, fastn_dom.WhiteSpace.NoWrap, inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.current_subsection ], function () { return (fastn_utils.getStaticValue(__args__.current_subsection) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.current_page ], function () { return (fastn_utils.getStaticValue(__args__.current_page) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("label_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, "->", inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.WhiteSpace, fastn_dom.WhiteSpace.NoWrap, inherited); } ]), inherited); return rooti0; }); } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.current_page ], function () { return (fastn_utils.getStaticValue(__args__.current_page) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("label_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.current_page.get("title"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.WhiteSpace, fastn_dom.WhiteSpace.NoWrap, inherited); return rooti0; }); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.End, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.show_section ], function () { return (!fastn_utils.getStaticValue(__args__.show_section)); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, global.site_header_fifthtry_site_assets__files.get("static_down_arrow_dark_svg"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(12)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.HugContent, inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.show_section ], function () { return fastn_utils.getStaticValue(__args__.show_section); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, global.site_header_fifthtry_site_assets__files.get("static_up_arrow_dark_svg"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(12)), inherited); return rooti0; }); } ]), inherited); } ]), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.show_section ], function () { return fastn_utils.getStaticValue(__args__.show_section); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Anchor, fastn_dom.Anchor.Parent, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.OverflowY, fastn_dom.Overflow.Auto, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Top, fastn_dom.Length.Px(48), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Left, fastn_dom.Length.Px(0), inherited); rooti0.setProperty(fastn_dom.PropertyKind.ZIndex, 999, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("step_2")), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MaxHeight, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(300)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(24), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(12), inherited); rooti0.setProperty(fastn_dom.PropertyKind.OverflowX, fastn_dom.Overflow.Auto, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { __args__.toc.forLoop(root, function (root, item, index) { let rooti0 = site_header_fifthtry_site__header_toc_item_mobile_view(root, inherited, { title: item.get("title"), link: item.get("url"), children: item.get("children"), is_active: item.get("is_active") }); return rooti0; }); } ]), inherited); } ]), inherited); return rooti0; }); } ]), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["site_header_fifthtry_site__header_mobile"] = site_header_fifthtry_site__header_mobile; let site_header_fifthtry_site__header = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { site_logo: null, brand_site_logo: null, site_url: "/", site_name: null, brand_site_url: null, brand_site_name: null, parent_brand: false, menu_icon: global.site_header_fifthtry_site_assets__files.get("static_header_hamburger_dark_svg"), current_url: "/header3/", sections: fastn.mutableList([]), sidebar_open: fastn.wrapMutable(false), sub_sections: fastn.mutableList([]), toc: fastn.mutableList([]), current_section: null, current_subsection: null, current_page: null, footer_nav: fastn.mutableList([]), show_section: fastn.wrapMutable(false), products: fastn.mutableList([]), logo_width: 120, logo_height: 44, login_btn_txt: "Login", login_btn_url: "index.html", login_button: false, width: "100", brand_caption: null, fluid_width: true, max_width: null, github_icon: false, github_url: null, logo_ui: fastn.mutableList([]), search: false, search_url: null, get_started_url: null, right_section: false, }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.sidebar_open ], function () { return fastn_utils.getStaticValue(__args__.sidebar_open); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Calc("100vh")), inherited); rooti0.setProperty(fastn_dom.PropertyKind.ZIndex, 10, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("overlay")), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.sidebar_open ], function () { return fastn_utils.getStaticValue(__args__.sidebar_open); }, function (root) { let rooti0 = site_header_fifthtry_site__mobile_sidebar(root, inherited, { sidebar_open: fastn.wrapMutable(__args__.sidebar_open) }); return rooti0; }); } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.sidebar_open ], function () { return fastn_utils.getStaticValue(__args__.sidebar_open); }, function (root) { let rooti0 = site_header_fifthtry_site__menu_mobile(root, inherited, { products: __args__.products, site_logo: __args__.site_logo, menu_icon: __args__.menu_icon, site_url: __args__.site_url, current_url: __args__.current_url, brand_caption: __args__.brand_caption, site_name: __args__.site_name, parent_brand: __args__.parent_brand, sections: __args__.sections, show_section: fastn.wrapMutable(__args__.show_section), footer_nav: global.site_header_fifthtry_site__footer_list, sub_sections: __args__.sub_sections, logo_width: __args__.logo_width, logo_height: __args__.logo_height, login_btn_txt: __args__.login_btn_txt, login_btn_url: __args__.login_btn_url, login_button: __args__.login_button, github_icon: __args__.github_icon, github_url: __args__.github_url, search: __args__.search, search_url: __args__.search_url }); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "desktop"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = site_header_fifthtry_site__header_desktop(root, inherited, { products: __args__.products, site_logo: __args__.site_logo, site_url: __args__.site_url, current_url: __args__.current_url, site_name: __args__.site_name, brand_caption: __args__.brand_caption, parent_brand: __args__.parent_brand, sections: __args__.sections, current_subsection: __args__.current_subsection, sub_sections: __args__.sub_sections, current_section: __args__.current_section, current_page: __args__.current_page, logo_width: __args__.logo_width, logo_height: __args__.logo_height, login_btn_txt: __args__.login_btn_txt, login_btn_url: __args__.login_btn_url, login_button: __args__.login_button, fluid_width: __args__.fluid_width, max_width: __args__.max_width, github_icon: __args__.github_icon, github_url: __args__.github_url, logo_ui: __args__.logo_ui, search: __args__.search, search_url: __args__.search_url, get_started_url: __args__.get_started_url, right_section: __args__.right_section }); return rooti0; } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "mobile"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = site_header_fifthtry_site__header_mobile(root, inherited, { products: __args__.products, menu_icon: __args__.menu_icon, sidebar_open: fastn.wrapMutable(__args__.sidebar_open), site_logo: __args__.site_logo, brand_site_logo: __args__.brand_site_logo, brand_site_name: __args__.brand_site_name, parent_brand: __args__.parent_brand, site_url: __args__.site_url, current_url: __args__.current_url, show_section: fastn.wrapMutable(__args__.show_section), brand_site_url: __args__.brand_site_url, site_name: __args__.site_name, sections: __args__.sections, sub_sections: __args__.sub_sections, toc: __args__.toc, current_subsection: __args__.current_subsection, current_section: __args__.current_section, current_page: __args__.current_page, logo_width: __args__.logo_width, logo_height: __args__.logo_height, logo_ui: __args__.logo_ui, search: __args__.search, search_url: __args__.search_url }); return rooti0; } ]), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["site_header_fifthtry_site__header"] = site_header_fifthtry_site__header; let doc_site_fifthtry_site__child_of_childrens = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { hover: fastn.wrapMutable(false), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingLeft, fastn_dom.Length.Px(10), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(12), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(6), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginBottom, fastn_dom.Length.Px(6), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(4), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn.formula([__args__.hover], function () { if (function () { return fastn_utils.getStaticValue(__args__.hover); }()) { return fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("step_2")); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.toc.get("font_icon") ], function () { return (fastn_utils.getStaticValue(__args__.toc.get("font_icon")) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.toc.get("font_icon"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Auto, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(14)), inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.toc.get("title"), inherited); rooti0.addEventHandler(fastn_dom.Event.MouseEnter, function () { ftd.set_bool({ a: __args__.hover, v: true, }, rooti0); }); rooti0.addEventHandler(fastn_dom.Event.MouseLeave, function () { ftd.set_bool({ a: __args__.hover, v: false, }, rooti0); }); rooti0.setProperty(fastn_dom.PropertyKind.Color, fastn.formula([inherited.get("colors").get("text"), inherited.get("colors").get("cta_primary").get("base"), __args__.toc.get("is_active")], function () { if (function () { return fastn_utils.getStaticValue(__args__.toc.get("is_active")); }()) { return inherited.get("colors").get("cta_primary").get("base"); } else { return inherited.get("colors").get("text"); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.toc.get("url"), inherited); } ]), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.toc.get("children") ], function () { return (!ftd.is_empty(__args__.toc.get("children"))); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { __args__.toc.get("children").forLoop(root, function (root, item, index) { let rooti0 = doc_site_fifthtry_site__child_of_childrens(root, inherited, { toc: item }); return rooti0; }); } ]), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["doc_site_fifthtry_site__child_of_childrens"] = doc_site_fifthtry_site__child_of_childrens; let doc_site_fifthtry_site__childrens = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { hover: fastn.wrapMutable(false), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(6), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingLeft, fastn_dom.Length.Px(32), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginBottom, fastn_dom.Length.Px(6), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(4), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn.formula([__args__.hover], function () { if (function () { return fastn_utils.getStaticValue(__args__.hover); }()) { return fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("step_2")); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.toc.get("font_icon") ], function () { return (fastn_utils.getStaticValue(__args__.toc.get("font_icon")) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.toc.get("font_icon"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Auto, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(14)), inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.toc.get("title"), inherited); rooti0.addEventHandler(fastn_dom.Event.MouseEnter, function () { ftd.set_bool({ a: __args__.hover, v: true, }, rooti0); }); rooti0.addEventHandler(fastn_dom.Event.MouseLeave, function () { ftd.set_bool({ a: __args__.hover, v: false, }, rooti0); }); rooti0.setProperty(fastn_dom.PropertyKind.Color, fastn.formula([inherited.get("colors").get("text"), inherited.get("colors").get("cta_primary").get("base"), __args__.toc.get("is_active")], function () { if (function () { return fastn_utils.getStaticValue(__args__.toc.get("is_active")); }()) { return inherited.get("colors").get("cta_primary").get("base"); } else { return inherited.get("colors").get("text"); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, fastn.formula([__args__.toc.get("url"), __args__.toc.get("url")], function () { if (function () { return (fastn_utils.getStaticValue(__args__.toc.get("url")) !== null); }()) { return __args__.toc.get("url"); } } ), inherited); } ]), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.toc.get("children") ], function () { return (!ftd.is_empty(__args__.toc.get("children"))); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { __args__.toc.get("children").forLoop(root, function (root, item, index) { let rooti0 = doc_site_fifthtry_site__child_of_childrens(root, inherited, { toc: item }); return rooti0; }); } ]), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["doc_site_fifthtry_site__childrens"] = doc_site_fifthtry_site__childrens; let doc_site_fifthtry_site__toc_instance = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { hover: fastn.wrapMutable(false), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); __args__.toc_clone = __args__.toc_clone ? __args__.toc_clone : fastn_utils.clone(__args__.toc); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(12), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(6), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginBottom, fastn_dom.Length.Px(6), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(4), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn.formula([__args__.hover], function () { if (function () { return fastn_utils.getStaticValue(__args__.hover); }()) { return fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("step_2")); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(24)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.toc.get("font_icon") ], function () { return (fastn_utils.getStaticValue(__args__.toc.get("font_icon")) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.toc.get("font_icon"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Auto, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(24)), inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.toc.get("title"), inherited); rooti0.addEventHandler(fastn_dom.Event.MouseEnter, function () { ftd.set_bool({ a: __args__.hover, v: true, }, rooti0); }); rooti0.addEventHandler(fastn_dom.Event.MouseLeave, function () { ftd.set_bool({ a: __args__.hover, v: false, }, rooti0); }); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, fastn.formula([inherited.get("colors").get("text_strong"), inherited.get("colors").get("cta_primary").get("base"), __args__.toc.get("is_active")], function () { if (function () { return fastn_utils.getStaticValue(__args__.toc.get("is_active")); }()) { return inherited.get("colors").get("cta_primary").get("base"); } else { return inherited.get("colors").get("text_strong"); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, fastn.formula([__args__.toc.get("url"), __args__.toc.get("url")], function () { if (function () { return (fastn_utils.getStaticValue(__args__.toc.get("url")) !== null); }()) { return __args__.toc.get("url"); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextStyle, fastn.mutableList([fastn_dom.TextStyle.Bold]), inherited); } ]), inherited); }, function (root, inherited) { __args__.toc.get("children").forLoop(root, function (root, item, index) { let rooti0 = doc_site_fifthtry_site__childrens(root, inherited, { toc: item }); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["doc_site_fifthtry_site__toc_instance"] = doc_site_fifthtry_site__toc_instance; let doc_site_fifthtry_site__render_toc = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { toc_obj: fastn.mutableList([]), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Percent(20)), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Vh(100)), inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingLeft, fastn_dom.Length.Px(12), inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingRight, fastn_dom.Length.Px(12), inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingTop, fastn_dom.Length.Px(16), inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingBottom, fastn_dom.Length.Px(32), inherited); parenti0.setProperty(fastn_dom.PropertyKind.MarginTop, fastn_dom.Length.Px(25), inherited); parenti0.setProperty(fastn_dom.PropertyKind.MarginBottom, fastn_dom.Length.Px(25), inherited); parenti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(8), inherited); parenti0.setProperty(fastn_dom.PropertyKind.OverflowY, fastn_dom.Overflow.Auto, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Top, fastn_dom.Length.Px(0), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Left, fastn_dom.Length.Px(24), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Sticky, true, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("step_1")), inherited); parenti0.setProperty(fastn_dom.PropertyKind.MinHeight, fastn_dom.Resizing.Fixed(fastn_dom.Length.Calc("100vh - 0px")), inherited); parenti0.setProperty(fastn_dom.PropertyKind.MinWidth, fastn_dom.Resizing.Fixed(fastn_dom.Length.Percent(20)), inherited); parenti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.TopLeft, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { __args__.toc_obj.forLoop(root, function (root, item, index) { let rooti0 = doc_site_fifthtry_site__toc_instance(root, inherited, { toc: item }); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["doc_site_fifthtry_site__render_toc"] = doc_site_fifthtry_site__render_toc; fastn_utils.createNestedObject(global, "doc_site_fifthtry_site_common__wall_message", "Please, login via clicking on below button"); fastn_utils.createNestedObject(global, "doc_site_fifthtry_site_common__login_url", "/"); let doc_site_fifthtry_site__wall_box = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn.formula([ftd.device], function () { if (function () { return (fastn_utils.getStaticValue(ftd.device) == "mobile"); }()) { return fastn_dom.Resizing.FillContainer; } else { return fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(614)); } } ), inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(32), inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(35), inherited); parenti0.setProperty(fastn_dom.PropertyKind.BorderWidth, fastn_dom.Length.Px(1), inherited); parenti0.setProperty(fastn_dom.PropertyKind.BorderTopWidth, fastn_dom.Length.Px(3), inherited); parenti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(8), inherited); parenti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("base")), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_medium"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, global.doc_site_fifthtry_site_common__wall_message, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingBottom, fastn_dom.Length.Px(64), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextAlign, fastn_dom.TextAlign.Center, inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, "LOGIN", inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(24), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(12), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(8), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("cta_primary").get("base")), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, global.doc_site_fifthtry_site_common__login_url, inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextAlign, fastn_dom.TextAlign.Center, inherited); } ]), inherited); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["doc_site_fifthtry_site__wall_box"] = doc_site_fifthtry_site__wall_box; fastn_utils.createNestedObject(global, "doc_site_fifthtry_site_common__is_reader", false); let typography_fifthtry_site__markdown = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { id: null, }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Text); parenti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); parenti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.body, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Id, __args__.id, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["typography_fifthtry_site__markdown"] = typography_fifthtry_site__markdown; let doc_site_fifthtry_site__right_sidebar = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { extra_headers: fastn.mutableList([]), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Vh(100)), inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingLeft, fastn_dom.Length.Px(24), inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingRight, fastn_dom.Length.Px(16), inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingTop, fastn_dom.Length.Px(4), inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingBottom, fastn_dom.Length.Px(32), inherited); parenti0.setProperty(fastn_dom.PropertyKind.MarginRight, fastn_dom.Length.Px(12), inherited); parenti0.setProperty(fastn_dom.PropertyKind.MarginTop, fastn_dom.Length.Px(25), inherited); parenti0.setProperty(fastn_dom.PropertyKind.MarginBottom, fastn_dom.Length.Px(25), inherited); parenti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(8), inherited); parenti0.setProperty(fastn_dom.PropertyKind.OverflowY, fastn_dom.Overflow.Auto, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Top, fastn_dom.Length.Px(0), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Right, fastn_dom.Length.Px(0), inherited); parenti0.setProperty(fastn_dom.PropertyKind.ZIndex, 999, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Sticky, true, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("step_1")), inherited); parenti0.setProperty(fastn_dom.PropertyKind.MinHeight, fastn_dom.Resizing.Fixed(fastn_dom.Length.Calc("100vh - 0px")), inherited); parenti0.setProperty(fastn_dom.PropertyKind.MinWidth, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.TopRight, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, __args__.extra_headers, inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["doc_site_fifthtry_site__right_sidebar"] = doc_site_fifthtry_site__right_sidebar; let doc_site_fifthtry_site__footer_link = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Text); parenti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("label_large"), inherited); parenti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingLeft, fastn_dom.Length.Px(10), inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingTop, fastn_dom.Length.Px(6), inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingBottom, fastn_dom.Length.Px(6), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); parenti0.setProperty(fastn_dom.PropertyKind.MinWidth, fastn_dom.Resizing.HugContent, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Link, __args__.url, inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["doc_site_fifthtry_site__footer_link"] = doc_site_fifthtry_site__footer_link; let doc_site_fifthtry_site__footer_instance = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.MinWidth, fastn_dom.Resizing.HugContent, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("label_large"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.footer_toc.get("title"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingLeft, fastn_dom.Length.Px(10), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingTop, fastn_dom.Length.Px(3), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingBottom, fastn_dom.Length.Px(8), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MinWidth, fastn_dom.Resizing.HugContent, inherited); }, function (root, inherited) { __args__.footer_toc.get("children").forLoop(root, function (root, item, index) { let rooti0 = doc_site_fifthtry_site__footer_link(root, inherited, { url: item.get("url"), title: item.get("title") }); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["doc_site_fifthtry_site__footer_instance"] = doc_site_fifthtry_site__footer_instance; let doc_site_fifthtry_site__footer_desktop = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { footer_toc: fastn.mutableList([]), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Row); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(150), inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(50), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("base")), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.SpaceBetween, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { __args__.footer_toc.forLoop(root, function (root, item, index) { let rooti0 = doc_site_fifthtry_site__footer_instance(root, inherited, { footer_toc: item }); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["doc_site_fifthtry_site__footer_desktop"] = doc_site_fifthtry_site__footer_desktop; let doc_site_fifthtry_site__footer_mobile = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { footer_toc: fastn.mutableList([]), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(20), inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(50), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("base")), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.SpaceBetween, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { __args__.footer_toc.forLoop(root, function (root, item, index) { let rooti0 = doc_site_fifthtry_site__footer_instance(root, inherited, { footer_toc: item }); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["doc_site_fifthtry_site__footer_mobile"] = doc_site_fifthtry_site__footer_mobile; let doc_site_fifthtry_site__footer = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { footer_toc: fastn.mutableList([]), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "desktop"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = doc_site_fifthtry_site__footer_desktop(root, inherited, { footer_toc: __args__.footer_toc }); return rooti0; } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "mobile"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = doc_site_fifthtry_site__footer_mobile(root, inherited, { footer_toc: __args__.footer_toc }); return rooti0; } ]), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["doc_site_fifthtry_site__footer"] = doc_site_fifthtry_site__footer; let doc_site_fifthtry_site__doc_page_desktop = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { title: null, body: null, toc: fastn.mutableList([]), site_name: null, sections: fastn.mutableList([]), sub_sections: fastn.mutableList([]), extra_headers: fastn.mutableList([]), footer_toc: fastn.mutableList([]), current_section: null, current_page: null, current_subsection: null, login_btn_txt: "Login", right_sidebar: false, wrapper: fastn.mutableList([]), logo_width: null, logo_height: null, github_icon: false, github_url: null, header_logo_ui: fastn.mutableList([]), search: false, search_url: null, get_started_url: null, right_section: false, max_width: null, fluid_wrap: fastn.mutableList([]), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = site_header_fifthtry_site__header(root, inherited, { site_logo: __args__.site_logo, site_url: __args__.site_url, site_name: __args__.site_name, menu_icon: global.doc_site_fifthtry_site_assets__files.get("static_header_hamburger_dark_svg"), current_url: __args__.site_url, sections: __args__.sections, sub_sections: __args__.sub_sections, toc: __args__.toc, current_section: __args__.current_section, current_subsection: __args__.current_subsection, current_page: __args__.current_page, logo_width: __args__.logo_width, logo_height: __args__.logo_height, login_btn_txt: __args__.login_btn_txt, login_button: __args__.login_button, fluid_width: __args__.fluid_width, max_width: __args__.max_width, github_icon: __args__.github_icon, github_url: __args__.github_url, logo_ui: __args__.header_logo_ui, search: __args__.search, search_url: __args__.search_url, get_started_url: __args__.get_started_url, right_section: __args__.right_section }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MaxWidth, __args__.max_width, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn.formula([__args__.toc], function () { if (function () { return (ftd.is_empty(__args__.toc)); }()) { return fastn_dom.AlignContent.Center; } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.toc ], function () { return (!ftd.is_empty(__args__.toc)); }, function (root) { let rooti0 = doc_site_fifthtry_site__render_toc(root, inherited, { toc_obj: __args__.toc }); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn.formula([__args__.full_width], function () { if (function () { return fastn_utils.getStaticValue(__args__.full_width); }()) { return fastn_dom.Resizing.FillContainer; } else { return fastn_dom.Resizing.Fixed(fastn_dom.Length.Percent(70)); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn.formula([__args__.full_width, __args__.full_width], function () { if (function () { return (!fastn_utils.getStaticValue(__args__.full_width)); }()) { return fastn_dom.Length.Px(24); } else if (function () { return fastn_utils.getStaticValue(__args__.full_width); }()) { return fastn_dom.Length.Px(24); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingLeft, fastn.formula([__args__.full_width, __args__.full_width], function () { if (function () { return (!fastn_utils.getStaticValue(__args__.full_width)); }()) { return fastn_dom.Length.Px(48); } else if (function () { return fastn_utils.getStaticValue(__args__.full_width); }()) { return fastn_dom.Length.Px(24); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingRight, fastn.formula([__args__.full_width], function () { if (function () { return (!fastn_utils.getStaticValue(__args__.full_width)); }()) { return fastn_dom.Length.Px(24); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MinHeight, fastn.formula([__args__.toc, __args__.toc], function () { if (function () { return (!ftd.is_empty(__args__.toc)); }()) { return fastn_dom.Resizing.Fixed(fastn_dom.Length.Calc("100vh")); } else if (function () { return (!ftd.is_empty(__args__.toc)); }()) { return fastn_dom.Resizing.Fixed(fastn_dom.Length.Calc("100vh - 135px")); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MaxWidth, fastn.formula([__args__.full_width, __args__.toc, __args__.full_width, __args__.right_sidebar], function () { if (function () { return (ftd.is_empty(__args__.toc) && !fastn_utils.getStaticValue(__args__.full_width)); }()) { return fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(800)); } else if (function () { return fastn_utils.getStaticValue(__args__.full_width); }()) { return fastn_dom.Resizing.FillContainer; } else if (function () { return (!fastn_utils.getStaticValue(__args__.right_sidebar)); }()) { return fastn_dom.Resizing.Fixed(fastn_dom.Length.Percent(70)); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.TopLeft, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.title ], function () { return (fastn_utils.getStaticValue(__args__.title) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_hero"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Region, fastn_dom.Region.H1, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ global.doc_site_fifthtry_site_common__is_reader ], function () { return fastn_utils.getStaticValue(global.doc_site_fifthtry_site_common__is_reader); }, function (root) { let rooti0 = doc_site_fifthtry_site__wall_box(root, inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ global.doc_site_fifthtry_site_common__is_reader ], function () { return (!fastn_utils.getStaticValue(global.doc_site_fifthtry_site_common__is_reader)); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(24)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.body ], function () { return (fastn_utils.getStaticValue(__args__.body) !== null); }, function (root) { let rooti0 = typography_fifthtry_site__markdown(root, inherited, { body: __args__.body }); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(24)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, __args__.wrapper, inherited); } ]), inherited); return rooti0; }); } ]), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.right_sidebar ], function () { return fastn_utils.getStaticValue(__args__.right_sidebar); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Percent(20)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Percent(100)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MinWidth, fastn_dom.Resizing.Fixed(fastn_dom.Length.Percent(20)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = doc_site_fifthtry_site__right_sidebar(root, inherited, { extra_headers: __args__.extra_headers }); } ]), inherited); return rooti0; }); } ]), inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, __args__.fluid_wrap, inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.footer_toc ], function () { return (!ftd.is_empty(__args__.footer_toc)); }, function (root) { let rooti0 = doc_site_fifthtry_site__footer(root, inherited, { footer_toc: __args__.footer_toc }); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["doc_site_fifthtry_site__doc_page_desktop"] = doc_site_fifthtry_site__doc_page_desktop; fastn_utils.createNestedObject(global, "doc_site_fifthtry_site_common__brand_site_url", "/"); fastn_utils.createNestedObject(global, "doc_site_fifthtry_site_assets__files.static_cross_dark_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/doc-site.fifthtry.site/static/cross-dark.svg"); record.set("dark", "-/doc-site.fifthtry.site/static/cross-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "doc_site_fifthtry_site_assets__files.static_info_icon_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/doc-site.fifthtry.site/static/info-icon.svg"); record.set("dark", "-/doc-site.fifthtry.site/static/info-icon-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "doc_site_fifthtry_site_assets__files.static_header_hamburger_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/doc-site.fifthtry.site/static/header/hamburger.svg"); record.set("dark", "-/doc-site.fifthtry.site/static/header/hamburger-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "doc_site_fifthtry_site_common__brand_site_logo", function () { let record = fastn.recordInstance({ }); record.set("light", "https://www.fifthtry.com/-/fifthtry.com/images/dummy-site-logo.png"); record.set("dark", "https://www.fifthtry.com/-/fifthtry.com/images/dummy-site-logo.png"); return record; }()); fastn_utils.createNestedObject(global, "doc_site_fifthtry_site_common__brand_site_name", "FifthTry"); fastn_utils.createNestedObject(global, "doc_site_fifthtry_site_common__brand_caption", "FifthTry"); fastn_utils.createNestedObject(global, "doc_site_fifthtry_site_common__parent_brand", true); let typography_fifthtry_site__h0 = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { body: null, inner: fastn.mutableList([]), id: null, }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Id, fastn.formula([__args__.id, __args__.id], function () { if (function () { return (fastn_utils.getStaticValue(__args__.id) !== null); }()) { return __args__.id; } } ), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_hero"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Region, fastn_dom.Region.H1, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginBottom, fastn_dom.Length.Rem(0.5), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderBottomWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.body ], function () { return (fastn_utils.getStaticValue(__args__.body) !== null); }, function (root) { let rooti0 = typography_fifthtry_site__markdown(root, inherited, { body: __args__.body }); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, __args__.inner, inherited); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["typography_fifthtry_site__h0"] = typography_fifthtry_site__h0; let doc_site_fifthtry_site__doc_page_mobile = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { title: null, body: null, site_name: null, toc: fastn.mutableList([]), sections: fastn.mutableList([]), sub_sections: fastn.mutableList([]), extra: fastn.mutableList([]), extra_headers: fastn.mutableList([]), open_right_sidebar_info: fastn.wrapMutable(false), footer_toc: fastn.mutableList([]), current_section: null, current_page: null, current_subsection: null, right_sidebar: false, wrapper: fastn.mutableList([]), logo_width: null, logo_height: null, github_icon: false, github_url: null, header_logo_ui: fastn.mutableList([]), search: false, search_url: null, fluid_wrap: fastn.mutableList([]), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("base")), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); }, function (root, inherited) { let rooti0 = site_header_fifthtry_site__header(root, inherited, { site_logo: __args__.site_logo, brand_site_logo: global.doc_site_fifthtry_site_common__brand_site_logo, site_url: __args__.site_url, site_name: __args__.site_name, brand_site_url: global.doc_site_fifthtry_site_common__brand_site_url, brand_site_name: global.doc_site_fifthtry_site_common__brand_site_name, parent_brand: global.doc_site_fifthtry_site_common__parent_brand, menu_icon: global.doc_site_fifthtry_site_assets__files.get("static_header_hamburger_svg"), current_url: "/", sections: __args__.sections, sub_sections: __args__.sub_sections, toc: __args__.toc, current_section: __args__.current_section, current_subsection: __args__.current_subsection, current_page: __args__.current_page, logo_width: __args__.logo_width, logo_height: __args__.logo_height, brand_caption: global.doc_site_fifthtry_site_common__brand_caption, github_icon: __args__.github_icon, github_url: __args__.github_url, logo_ui: __args__.header_logo_ui, search: __args__.search, search_url: __args__.search_url }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(24), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(24), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.title ], function () { return (fastn_utils.getStaticValue(__args__.title) !== null); }, function (root) { let rooti0 = typography_fifthtry_site__h0(root, inherited, { title: __args__.title }); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.right_sidebar ], function () { return fastn_utils.getStaticValue(__args__.right_sidebar); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.PaddingTop, fastn_dom.Length.Px(8), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, global.doc_site_fifthtry_site_assets__files.get("static_info_icon_svg"), inherited); rooti0.addEventHandler(fastn_dom.Event.Click, function () { ftd.toggle({ a: __args__.open_right_sidebar_info, }, rooti0); }); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(36)), inherited); } ]), inherited); return rooti0; }); } ]), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ global.doc_site_fifthtry_site_common__is_reader ], function () { return fastn_utils.getStaticValue(global.doc_site_fifthtry_site_common__is_reader); }, function (root) { let rooti0 = doc_site_fifthtry_site__wall_box(root, inherited); return rooti0; }); } ]), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ global.doc_site_fifthtry_site_common__is_reader ], function () { return (!fastn_utils.getStaticValue(global.doc_site_fifthtry_site_common__is_reader)); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.body ], function () { return (fastn_utils.getStaticValue(__args__.body) !== null); }, function (root) { let rooti0 = typography_fifthtry_site__markdown(root, inherited, { body: __args__.body }); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Percent(100)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(32)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, __args__.wrapper, inherited); } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.open_right_sidebar_info ], function () { return fastn_utils.getStaticValue(__args__.open_right_sidebar_info); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.addEventHandler(fastn_dom.Event.Click, function () { ftd.set_bool({ a: __args__.open_right_sidebar_info, v: false, }, rooti0); }); rooti0.setProperty(fastn_dom.PropertyKind.Anchor, fastn_dom.Anchor.Parent, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Calc("100% - 0px")), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Top, fastn_dom.Length.Px(0), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Bottom, fastn_dom.Length.Px(0), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Left, fastn_dom.Length.Px(0), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Right, fastn_dom.Length.Px(0), inherited); rooti0.setProperty(fastn_dom.PropertyKind.ZIndex, 1, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("overlay")), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, global.doc_site_fifthtry_site_assets__files.get("static_cross_dark_svg"), inherited); rooti0.addEventHandler(fastn_dom.Event.Click, function () { ftd.toggle({ a: __args__.open_right_sidebar_info, }, rooti0); }); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Auto, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(24)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginLeft, fastn_dom.Length.Px(12), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginTop, fastn_dom.Length.Px(20), inherited); } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.open_right_sidebar_info ], function () { return fastn_utils.getStaticValue(__args__.open_right_sidebar_info); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Anchor, fastn_dom.Anchor.Parent, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Calc("100% - 48px")), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Calc("100% - 0px")), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(24), inherited); rooti0.setProperty(fastn_dom.PropertyKind.OverflowY, fastn_dom.Overflow.Auto, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Top, fastn_dom.Length.Px(0), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Right, fastn_dom.Length.Px(0), inherited); rooti0.setProperty(fastn_dom.PropertyKind.ZIndex, 999, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("step_1")), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.TopRight, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, __args__.extra_headers, inherited); return rooti0; }); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, __args__.fluid_wrap, inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.footer_toc ], function () { return (!ftd.is_empty(__args__.footer_toc)); }, function (root) { let rooti0 = doc_site_fifthtry_site__footer(root, inherited, { footer_toc: __args__.footer_toc }); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["doc_site_fifthtry_site__doc_page_mobile"] = doc_site_fifthtry_site__doc_page_mobile; fastn_utils.createNestedObject(global, "dark_mode_switcher_fifthtry_site_assets__files.static_system_mode_active_png", function () { let record = fastn.recordInstance({ }); record.set("light", "-/dark-mode-switcher.fifthtry.site/static/system-mode-active.png"); record.set("dark", "-/dark-mode-switcher.fifthtry.site/static/system-mode-active-dark.png"); return record; }()); fastn_utils.createNestedObject(global, "dark_mode_switcher_fifthtry_site_assets__files.static_dark_mode_active_dark_png", function () { let record = fastn.recordInstance({ }); record.set("light", "-/dark-mode-switcher.fifthtry.site/static/dark-mode-active-dark.png"); record.set("dark", "-/dark-mode-switcher.fifthtry.site/static/dark-mode-active-dark.png"); return record; }()); fastn_utils.createNestedObject(global, "dark_mode_switcher_fifthtry_site_assets__files.static_light_mode_active_png", function () { let record = fastn.recordInstance({ }); record.set("light", "-/dark-mode-switcher.fifthtry.site/static/light-mode-active.png"); record.set("dark", "-/dark-mode-switcher.fifthtry.site/static/light-mode-active-dark.png"); return record; }()); let dark_mode_switcher_fifthtry_site__dark_mode_switcher_float = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Row); parenti0.setProperty(fastn_dom.PropertyKind.Anchor, fastn_dom.Anchor.Window, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Padding, fastn_dom.Length.Px(10), inherited); parenti0.setProperty(fastn_dom.PropertyKind.BorderWidth, fastn_dom.Length.Px(1), inherited); parenti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(4), inherited); parenti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Bottom, fastn.formula([ftd.device], function () { if (function () { return (fastn_utils.getStaticValue(ftd.device) == "mobile"); }()) { return fastn_dom.Length.Px(25); } else { return fastn_dom.Length.Px(90); } } ), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Right, fastn.formula([ftd.device], function () { if (function () { return (fastn_utils.getStaticValue(ftd.device) == "mobile"); }()) { return fastn_dom.Length.Px(25); } else { return fastn_dom.Length.Px(50); } } ), inherited); parenti0.setProperty(fastn_dom.PropertyKind.ZIndex, 99999999999999, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("base")), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.follow_system_dark_mode ], function () { return fastn_utils.getStaticValue(ftd.follow_system_dark_mode); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.addEventHandler(fastn_dom.Event.Click, function () { ftd.enable_light_mode({ }, rooti0); }); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, global.dark_mode_switcher_fifthtry_site_assets__files.get("static_system_mode_active_png"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(19)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(19)), inherited); } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.dark_mode, ftd.follow_system_dark_mode ], function () { return (!fastn_utils.getStaticValue(ftd.dark_mode) && !fastn_utils.getStaticValue(ftd.follow_system_dark_mode)); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.addEventHandler(fastn_dom.Event.Click, function () { ftd.enable_dark_mode({ }, rooti0); }); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, global.dark_mode_switcher_fifthtry_site_assets__files.get("static_light_mode_active_png"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(19)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(19)), inherited); } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.dark_mode, ftd.follow_system_dark_mode ], function () { return (fastn_utils.getStaticValue(ftd.dark_mode) && !fastn_utils.getStaticValue(ftd.follow_system_dark_mode)); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.addEventHandler(fastn_dom.Event.Click, function () { ftd.enable_system_mode({ }, rooti0); }); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, global.dark_mode_switcher_fifthtry_site_assets__files.get("static_dark_mode_active_dark_png"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(19)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(19)), inherited); } ]), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["dark_mode_switcher_fifthtry_site__dark_mode_switcher_float"] = dark_mode_switcher_fifthtry_site__dark_mode_switcher_float; fastn_utils.createNestedObject(global, "doc_site_fifthtry_site_common__logo_width", 200); fastn_utils.createNestedObject(global, "doc_site_fifthtry_site_common__logo_height", 64); fastn_utils.createNestedObject(global, "doc_site_fifthtry_site_common__site_url", "index.html"); fastn_utils.createNestedObject(global, "doc_site_fifthtry_site_common__sitemap", function () { let record = fastn.recordInstance({ }); record.set("sections", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Explore"); record.set("url", "frontend/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Learn"); record.set("url", "learn/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Docs"); record.set("url", "ftd/data-modelling/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Community"); record.set("url", "champion-program/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "`fastn` Made Easy - For the Curious & the Creative"); record.set("url", "book/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Blog"); record.set("url", "blog/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }()])); record.set("subsections", fastn.mutableList([])); record.set("toc", fastn.mutableList([])); record.set("current_section", null); record.set("current_subsection", null); record.set("current_page", null); return record; }()); fastn_utils.createNestedObject(global, "doc_site_fifthtry_site_common__login_button", false); fastn_utils.createNestedObject(global, "doc_site_fifthtry_site_common__apps", function () { let record = fastn.recordInstance({ }); record.set("len", 0); record.set("items", fastn.mutableList([])); return record; }()); fastn_utils.createNestedObject(global, "doc_site_fifthtry_site_common__sections", fastn.mutableList([])); fastn_utils.createNestedObject(global, "doc_site_fifthtry_site_common__itemlist", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "About"); record.set("url", "https://github.com/FifthTry"); record.set("is_last", false); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Terms"); record.set("url", "https://fifthtry.com/terms/"); record.set("is_last", false); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Privacy"); record.set("url", "https://fifthtry.com/privacy/"); record.set("is_last", false); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Blog"); record.set("url", "https://fifthtry.com/blog/"); record.set("is_last", true); return record; }()])); fastn_utils.createNestedObject(global, "roboto_font_fifthtry_site_assets__fonts", function () { let record = fastn.recordInstance({ }); record.set("Roboto", "roboto-font-fifthtry-site-Roboto"); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__heading_large_desktop", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(40)); record.set("line_height", fastn_dom.FontSize.Px(48)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 700); record.set("font_family", fastn.mutableList([global.roboto_font_fifthtry_site_assets__fonts.get("Roboto")])); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__heading_large_mobile", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(40)); record.set("line_height", fastn_dom.FontSize.Px(48)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 700); record.set("font_family", fastn.mutableList([global.roboto_font_fifthtry_site_assets__fonts.get("Roboto")])); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__heading_large", function () { let record = fastn.recordInstance({ }); record.set("desktop", global.roboto_typography_fifthtry_site__heading_large_desktop); record.set("mobile", global.roboto_typography_fifthtry_site__heading_large_mobile); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__heading_hero_desktop", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(52)); record.set("line_height", fastn_dom.FontSize.Px(60)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 700); record.set("font_family", fastn.mutableList([global.roboto_font_fifthtry_site_assets__fonts.get("Roboto")])); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__heading_hero_mobile", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(52)); record.set("line_height", fastn_dom.FontSize.Px(60)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 700); record.set("font_family", fastn.mutableList([global.roboto_font_fifthtry_site_assets__fonts.get("Roboto")])); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__heading_hero", function () { let record = fastn.recordInstance({ }); record.set("desktop", global.roboto_typography_fifthtry_site__heading_hero_desktop); record.set("mobile", global.roboto_typography_fifthtry_site__heading_hero_mobile); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__heading_medium_desktop", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(32)); record.set("line_height", fastn_dom.FontSize.Px(44)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 600); record.set("font_family", fastn.mutableList([global.roboto_font_fifthtry_site_assets__fonts.get("Roboto")])); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__heading_medium_mobile", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(32)); record.set("line_height", fastn_dom.FontSize.Px(44)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 600); record.set("font_family", fastn.mutableList([global.roboto_font_fifthtry_site_assets__fonts.get("Roboto")])); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__heading_medium", function () { let record = fastn.recordInstance({ }); record.set("desktop", global.roboto_typography_fifthtry_site__heading_medium_desktop); record.set("mobile", global.roboto_typography_fifthtry_site__heading_medium_mobile); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__heading_small_desktop", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(24)); record.set("line_height", fastn_dom.FontSize.Px(28)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 500); record.set("font_family", fastn.mutableList([global.roboto_font_fifthtry_site_assets__fonts.get("Roboto")])); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__heading_small_mobile", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(24)); record.set("line_height", fastn_dom.FontSize.Px(28)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 500); record.set("font_family", fastn.mutableList([global.roboto_font_fifthtry_site_assets__fonts.get("Roboto")])); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__heading_small", function () { let record = fastn.recordInstance({ }); record.set("desktop", global.roboto_typography_fifthtry_site__heading_small_desktop); record.set("mobile", global.roboto_typography_fifthtry_site__heading_small_mobile); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__heading_tiny_desktop", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(18)); record.set("line_height", fastn_dom.FontSize.Px(26)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 500); record.set("font_family", fastn.mutableList([global.roboto_font_fifthtry_site_assets__fonts.get("Roboto")])); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__heading_tiny_mobile", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(18)); record.set("line_height", fastn_dom.FontSize.Px(26)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 500); record.set("font_family", fastn.mutableList([global.roboto_font_fifthtry_site_assets__fonts.get("Roboto")])); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__heading_tiny", function () { let record = fastn.recordInstance({ }); record.set("desktop", global.roboto_typography_fifthtry_site__heading_tiny_desktop); record.set("mobile", global.roboto_typography_fifthtry_site__heading_tiny_mobile); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__copy_large_desktop", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(20)); record.set("line_height", fastn_dom.FontSize.Px(28)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.roboto_font_fifthtry_site_assets__fonts.get("Roboto")])); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__copy_large_mobile", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(20)); record.set("line_height", fastn_dom.FontSize.Px(28)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.roboto_font_fifthtry_site_assets__fonts.get("Roboto")])); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__copy_large", function () { let record = fastn.recordInstance({ }); record.set("desktop", global.roboto_typography_fifthtry_site__copy_large_desktop); record.set("mobile", global.roboto_typography_fifthtry_site__copy_large_mobile); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__copy_regular_desktop", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(16)); record.set("line_height", fastn_dom.FontSize.Px(24)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.roboto_font_fifthtry_site_assets__fonts.get("Roboto")])); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__copy_regular_mobile", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(16)); record.set("line_height", fastn_dom.FontSize.Px(24)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.roboto_font_fifthtry_site_assets__fonts.get("Roboto")])); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__copy_regular", function () { let record = fastn.recordInstance({ }); record.set("desktop", global.roboto_typography_fifthtry_site__copy_regular_desktop); record.set("mobile", global.roboto_typography_fifthtry_site__copy_regular_mobile); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__copy_small_desktop", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(16)); record.set("line_height", fastn_dom.FontSize.Px(20)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.roboto_font_fifthtry_site_assets__fonts.get("Roboto")])); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__copy_small_mobile", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(16)); record.set("line_height", fastn_dom.FontSize.Px(20)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.roboto_font_fifthtry_site_assets__fonts.get("Roboto")])); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__copy_small", function () { let record = fastn.recordInstance({ }); record.set("desktop", global.roboto_typography_fifthtry_site__copy_small_desktop); record.set("mobile", global.roboto_typography_fifthtry_site__copy_small_mobile); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__fine_print_desktop", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(14)); record.set("line_height", fastn_dom.FontSize.Px(18)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.roboto_font_fifthtry_site_assets__fonts.get("Roboto")])); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__fine_print_mobile", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(14)); record.set("line_height", fastn_dom.FontSize.Px(18)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.roboto_font_fifthtry_site_assets__fonts.get("Roboto")])); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__fine_print", function () { let record = fastn.recordInstance({ }); record.set("desktop", global.roboto_typography_fifthtry_site__fine_print_desktop); record.set("mobile", global.roboto_typography_fifthtry_site__fine_print_mobile); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__blockquote_desktop", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(14)); record.set("line_height", fastn_dom.FontSize.Px(16)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.roboto_font_fifthtry_site_assets__fonts.get("Roboto")])); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__blockquote_mobile", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(14)); record.set("line_height", fastn_dom.FontSize.Px(16)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.roboto_font_fifthtry_site_assets__fonts.get("Roboto")])); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__blockquote", function () { let record = fastn.recordInstance({ }); record.set("desktop", global.roboto_typography_fifthtry_site__blockquote_desktop); record.set("mobile", global.roboto_typography_fifthtry_site__blockquote_mobile); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__source_code_desktop", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(14)); record.set("line_height", fastn_dom.FontSize.Px(16)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.roboto_font_fifthtry_site_assets__fonts.get("Roboto")])); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__source_code_mobile", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(14)); record.set("line_height", fastn_dom.FontSize.Px(16)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.roboto_font_fifthtry_site_assets__fonts.get("Roboto")])); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__source_code", function () { let record = fastn.recordInstance({ }); record.set("desktop", global.roboto_typography_fifthtry_site__source_code_desktop); record.set("mobile", global.roboto_typography_fifthtry_site__source_code_mobile); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__label_large_desktop", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(16)); record.set("line_height", fastn_dom.FontSize.Px(22)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.roboto_font_fifthtry_site_assets__fonts.get("Roboto")])); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__label_large_mobile", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(16)); record.set("line_height", fastn_dom.FontSize.Px(22)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.roboto_font_fifthtry_site_assets__fonts.get("Roboto")])); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__label_large", function () { let record = fastn.recordInstance({ }); record.set("desktop", global.roboto_typography_fifthtry_site__label_large_desktop); record.set("mobile", global.roboto_typography_fifthtry_site__label_large_mobile); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__label_small_desktop", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(14)); record.set("line_height", fastn_dom.FontSize.Px(16)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.roboto_font_fifthtry_site_assets__fonts.get("Roboto")])); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__label_small_mobile", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(14)); record.set("line_height", fastn_dom.FontSize.Px(16)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.roboto_font_fifthtry_site_assets__fonts.get("Roboto")])); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__label_small", function () { let record = fastn.recordInstance({ }); record.set("desktop", global.roboto_typography_fifthtry_site__label_small_desktop); record.set("mobile", global.roboto_typography_fifthtry_site__label_small_mobile); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__button_large_desktop", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(18)); record.set("line_height", fastn_dom.FontSize.Px(24)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 700); record.set("font_family", fastn.mutableList([global.roboto_font_fifthtry_site_assets__fonts.get("Roboto")])); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__button_large_mobile", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(18)); record.set("line_height", fastn_dom.FontSize.Px(24)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 700); record.set("font_family", fastn.mutableList([global.roboto_font_fifthtry_site_assets__fonts.get("Roboto")])); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__button_large", function () { let record = fastn.recordInstance({ }); record.set("desktop", global.roboto_typography_fifthtry_site__button_large_desktop); record.set("mobile", global.roboto_typography_fifthtry_site__button_large_mobile); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__button_medium_desktop", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(16)); record.set("line_height", fastn_dom.FontSize.Px(21)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 700); record.set("font_family", fastn.mutableList([global.roboto_font_fifthtry_site_assets__fonts.get("Roboto")])); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__button_medium_mobile", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(16)); record.set("line_height", fastn_dom.FontSize.Px(21)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.roboto_font_fifthtry_site_assets__fonts.get("Roboto")])); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__button_medium", function () { let record = fastn.recordInstance({ }); record.set("desktop", global.roboto_typography_fifthtry_site__button_medium_desktop); record.set("mobile", global.roboto_typography_fifthtry_site__button_medium_mobile); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__button_small_desktop", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(14)); record.set("line_height", fastn_dom.FontSize.Px(19)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 700); record.set("font_family", fastn.mutableList([global.roboto_font_fifthtry_site_assets__fonts.get("Roboto")])); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__button_small_mobile", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(14)); record.set("line_height", fastn_dom.FontSize.Px(19)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.roboto_font_fifthtry_site_assets__fonts.get("Roboto")])); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__button_small", function () { let record = fastn.recordInstance({ }); record.set("desktop", global.roboto_typography_fifthtry_site__button_small_desktop); record.set("mobile", global.roboto_typography_fifthtry_site__button_small_mobile); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__link_desktop", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(14)); record.set("line_height", fastn_dom.FontSize.Px(19)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 700); record.set("font_family", fastn.mutableList([global.roboto_font_fifthtry_site_assets__fonts.get("Roboto")])); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__link_mobile", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(14)); record.set("line_height", fastn_dom.FontSize.Px(19)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.roboto_font_fifthtry_site_assets__fonts.get("Roboto")])); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__link", function () { let record = fastn.recordInstance({ }); record.set("desktop", global.roboto_typography_fifthtry_site__link_desktop); record.set("mobile", global.roboto_typography_fifthtry_site__link_mobile); return record; }()); fastn_utils.createNestedObject(global, "roboto_typography_fifthtry_site__types", function () { let record = fastn.recordInstance({ }); record.set("heading_large", global.roboto_typography_fifthtry_site__heading_large); record.set("heading_medium", global.roboto_typography_fifthtry_site__heading_medium); record.set("heading_small", global.roboto_typography_fifthtry_site__heading_small); record.set("heading_hero", global.roboto_typography_fifthtry_site__heading_hero); record.set("heading_tiny", global.roboto_typography_fifthtry_site__heading_tiny); record.set("copy_small", global.roboto_typography_fifthtry_site__copy_small); record.set("copy_regular", global.roboto_typography_fifthtry_site__copy_regular); record.set("copy_large", global.roboto_typography_fifthtry_site__copy_large); record.set("fine_print", global.roboto_typography_fifthtry_site__fine_print); record.set("blockquote", global.roboto_typography_fifthtry_site__blockquote); record.set("source_code", global.roboto_typography_fifthtry_site__source_code); record.set("button_small", global.roboto_typography_fifthtry_site__button_small); record.set("button_medium", global.roboto_typography_fifthtry_site__button_medium); record.set("button_large", global.roboto_typography_fifthtry_site__button_large); record.set("link", global.roboto_typography_fifthtry_site__link); record.set("label_large", global.roboto_typography_fifthtry_site__label_large); record.set("label_small", global.roboto_typography_fifthtry_site__label_small); return record; }()); fastn_utils.createNestedObject(global, "doc_site_fifthtry_site_common__show_footer", true); let doc_site_fifthtry_site__page = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { title: null, document_title: null, document_description: null, document_image: null, body: null, site_logo: null, logo_width: global.doc_site_fifthtry_site_common__logo_width, logo_height: global.doc_site_fifthtry_site_common__logo_height, site_url: global.doc_site_fifthtry_site_common__site_url, site_name: null, toc: global.doc_site_fifthtry_site_common__sitemap.get("toc"), login_button: global.doc_site_fifthtry_site_common__login_button, apps: global.doc_site_fifthtry_site_common__apps, open_right_sidebar_info: fastn.wrapMutable(false), sections: global.doc_site_fifthtry_site_common__sitemap.get("sections"), sub_sections: global.doc_site_fifthtry_site_common__sitemap.get("subsections"), current_section: global.doc_site_fifthtry_site_common__sitemap.get("current_section"), current_subsection: global.doc_site_fifthtry_site_common__sitemap.get("current_subsection"), current_page: global.doc_site_fifthtry_site_common__sitemap.get("current_page"), footer_toc: global.doc_site_fifthtry_site_common__sections, github_text: "{green: Sign in} to access Editing Tools", github_text_url: "/", side_logo: global.doc_site_fifthtry_site_assets__files.get("static_editor_icon_svg"), sidebar_brand_logo: global.doc_site_fifthtry_site_assets__files.get("static_brand_logo_svg"), cross_icon: global.doc_site_fifthtry_site_assets__files.get("static_cross_svg"), about_text: "About this page", about_text_url: "/", edit_text: "Edit This Page", edit_text_url: "/", itemlist: global.doc_site_fifthtry_site_common__itemlist, sidebar: false, wrapper: fastn.mutableList([]), right_sidebar: fastn.mutableList([]), full_width: false, types: global.roboto_typography_fifthtry_site__types, colors: ftd.default_colors, show_banner: false, banner: fastn.mutableList([]), show_footer: global.doc_site_fifthtry_site_common__show_footer, footer: fastn.mutableList([]), github_icon: false, github_url: null, header_logo_ui: fastn.mutableList([]), favicon: null, search: false, search_url: null, fluid_width: true, get_started_url: null, right_section: false, max_width: null, fluid_wrap: fastn.mutableList([]), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Document); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("base")), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.show_banner ], function () { return fastn_utils.getStaticValue(__args__.show_banner); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, __args__.banner, inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ global.doc_site_fifthtry_site_common__show_floater ], function () { return fastn_utils.getStaticValue(global.doc_site_fifthtry_site_common__show_floater); }, function (root) { let rooti0 = doc_site_fifthtry_site__floater(root, inherited, { side_logo: __args__.side_logo, sidebar_brand_logo: __args__.sidebar_brand_logo, cross_icon: __args__.cross_icon, about_text: __args__.about_text, about_text_url: __args__.about_text_url, edit_text: __args__.edit_text, edit_text_url: __args__.edit_text_url, github_text: __args__.github_text, github_text_url: __args__.github_text_url, itemlist: __args__.itemlist }); return rooti0; }); } ]), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "desktop"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = doc_site_fifthtry_site__doc_page_desktop(root, inherited, { title: __args__.title, body: __args__.body, toc: __args__.toc, site_name: __args__.site_name, site_logo: __args__.site_logo, site_url: __args__.site_url, sections: __args__.sections, sub_sections: __args__.sub_sections, apps: __args__.apps, extra_headers: __args__.right_sidebar, open_right_sidebar_info: fastn.wrapMutable(__args__.open_right_sidebar_info), footer_toc: __args__.footer_toc, current_section: __args__.current_section, current_page: __args__.current_page, current_subsection: __args__.current_subsection, full_width: __args__.full_width, login_button: __args__.login_button, right_sidebar: __args__.sidebar, wrapper: __args__.wrapper, logo_width: __args__.logo_width, logo_height: __args__.logo_height, github_icon: __args__.github_icon, github_url: __args__.github_url, header_logo_ui: __args__.header_logo_ui, search: __args__.search, search_url: __args__.search_url, get_started_url: __args__.get_started_url, fluid_width: __args__.fluid_width, right_section: __args__.right_section, max_width: __args__.max_width, fluid_wrap: __args__.fluid_wrap }); return rooti0; } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "mobile"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = doc_site_fifthtry_site__doc_page_mobile(root, inherited, { title: __args__.title, body: __args__.body, site_name: __args__.site_name, site_logo: __args__.site_logo, site_url: __args__.site_url, toc: __args__.toc, sections: __args__.sections, sub_sections: __args__.sub_sections, apps: __args__.apps, extra_headers: __args__.right_sidebar, open_right_sidebar_info: fastn.wrapMutable(__args__.open_right_sidebar_info), footer_toc: __args__.footer_toc, current_section: __args__.current_section, current_page: __args__.current_page, current_subsection: __args__.current_subsection, right_sidebar: __args__.sidebar, wrapper: __args__.wrapper, login_button: __args__.login_button, logo_width: __args__.logo_width, logo_height: __args__.logo_height, github_icon: __args__.github_icon, github_url: __args__.github_url, header_logo_ui: __args__.header_logo_ui, search: __args__.search, search_url: __args__.search_url, fluid_wrap: __args__.fluid_wrap }); return rooti0; } ]), inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = dark_mode_switcher_fifthtry_site__dark_mode_switcher_float(root, inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.show_footer ], function () { return fastn_utils.getStaticValue(__args__.show_footer); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, __args__.footer, inherited); return rooti0; }); } ]), inherited); } ]), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Favicon, __args__.favicon, inherited); parenti0.setProperty(fastn_dom.PropertyKind.DocumentProperties.MetaTitle, fastn.formula([__args__.document_title, __args__.document_title, __args__.title], function () { if (function () { return (fastn_utils.getStaticValue(__args__.document_title) !== null); }()) { return __args__.document_title; } else { return __args__.title; } } ), inherited); parenti0.setProperty(fastn_dom.PropertyKind.DocumentProperties.MetaOGTitle, fastn.formula([__args__.document_title, __args__.document_title, __args__.title], function () { if (function () { return (fastn_utils.getStaticValue(__args__.document_title) !== null); }()) { return __args__.document_title; } else { return __args__.title; } } ), inherited); parenti0.setProperty(fastn_dom.PropertyKind.DocumentProperties.MetaTwitterTitle, fastn.formula([__args__.document_title, __args__.document_title, __args__.title], function () { if (function () { return (fastn_utils.getStaticValue(__args__.document_title) !== null); }()) { return __args__.document_title; } else { return __args__.title; } } ), inherited); parenti0.setProperty(fastn_dom.PropertyKind.DocumentProperties.MetaDescription, __args__.document_description, inherited); parenti0.setProperty(fastn_dom.PropertyKind.DocumentProperties.MetaOGImage, fastn.formula([__args__.document_image, __args__.document_image], function () { if (function () { return (fastn_utils.getStaticValue(__args__.document_image) !== null); }()) { return __args__.document_image; } } ), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["doc_site_fifthtry_site__page"] = doc_site_fifthtry_site__page; fastn_utils.createNestedObject(global, "manrope_font_fifthtry_site_assets__fonts", function () { let record = fastn.recordInstance({ }); record.set("Manrope", "manrope-font-fifthtry-site-Manrope"); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__heading_large_desktop", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(40)); record.set("line_height", fastn_dom.FontSize.Px(54)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 700); record.set("font_family", fastn.mutableList([global.manrope_font_fifthtry_site_assets__fonts.get("Manrope")])); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__heading_large_mobile", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(36)); record.set("line_height", fastn_dom.FontSize.Px(48)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 700); record.set("font_family", fastn.mutableList([global.manrope_font_fifthtry_site_assets__fonts.get("Manrope")])); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__heading_large", function () { let record = fastn.recordInstance({ }); record.set("desktop", global.fastn_typography_fifthtry_site__heading_large_desktop); record.set("mobile", global.fastn_typography_fifthtry_site__heading_large_mobile); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__heading_hero_desktop", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(56)); record.set("line_height", fastn_dom.FontSize.Px(70)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 700); record.set("font_family", fastn.mutableList([global.manrope_font_fifthtry_site_assets__fonts.get("Manrope")])); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__heading_hero_mobile", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(48)); record.set("line_height", fastn_dom.FontSize.Px(60)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 700); record.set("font_family", fastn.mutableList([global.manrope_font_fifthtry_site_assets__fonts.get("Manrope")])); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__heading_hero", function () { let record = fastn.recordInstance({ }); record.set("desktop", global.fastn_typography_fifthtry_site__heading_hero_desktop); record.set("mobile", global.fastn_typography_fifthtry_site__heading_hero_mobile); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__heading_medium_desktop", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(32)); record.set("line_height", fastn_dom.FontSize.Px(46)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 700); record.set("font_family", fastn.mutableList([global.manrope_font_fifthtry_site_assets__fonts.get("Manrope")])); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__heading_medium_mobile", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(26)); record.set("line_height", fastn_dom.FontSize.Px(36)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 700); record.set("font_family", fastn.mutableList([global.manrope_font_fifthtry_site_assets__fonts.get("Manrope")])); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__heading_medium", function () { let record = fastn.recordInstance({ }); record.set("desktop", global.fastn_typography_fifthtry_site__heading_medium_desktop); record.set("mobile", global.fastn_typography_fifthtry_site__heading_medium_mobile); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__heading_small_desktop", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(24)); record.set("line_height", fastn_dom.FontSize.Px(36)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 700); record.set("font_family", fastn.mutableList([global.manrope_font_fifthtry_site_assets__fonts.get("Manrope")])); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__heading_small_mobile", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(22)); record.set("line_height", fastn_dom.FontSize.Px(29)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 700); record.set("font_family", fastn.mutableList([global.manrope_font_fifthtry_site_assets__fonts.get("Manrope")])); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__heading_small", function () { let record = fastn.recordInstance({ }); record.set("desktop", global.fastn_typography_fifthtry_site__heading_small_desktop); record.set("mobile", global.fastn_typography_fifthtry_site__heading_small_mobile); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__heading_tiny_desktop", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(18)); record.set("line_height", fastn_dom.FontSize.Px(27)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 700); record.set("font_family", fastn.mutableList([global.manrope_font_fifthtry_site_assets__fonts.get("Manrope")])); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__heading_tiny_mobile", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(18)); record.set("line_height", fastn_dom.FontSize.Px(24)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 700); record.set("font_family", fastn.mutableList([global.manrope_font_fifthtry_site_assets__fonts.get("Manrope")])); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__heading_tiny", function () { let record = fastn.recordInstance({ }); record.set("desktop", global.fastn_typography_fifthtry_site__heading_tiny_desktop); record.set("mobile", global.fastn_typography_fifthtry_site__heading_tiny_mobile); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__copy_large_desktop", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(18)); record.set("line_height", fastn_dom.FontSize.Px(28)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.manrope_font_fifthtry_site_assets__fonts.get("Manrope")])); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__copy_large_mobile", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(18)); record.set("line_height", fastn_dom.FontSize.Px(28)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.manrope_font_fifthtry_site_assets__fonts.get("Manrope")])); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__copy_large", function () { let record = fastn.recordInstance({ }); record.set("desktop", global.fastn_typography_fifthtry_site__copy_large_desktop); record.set("mobile", global.fastn_typography_fifthtry_site__copy_large_mobile); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__copy_regular_desktop", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(16)); record.set("line_height", fastn_dom.FontSize.Px(28)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.manrope_font_fifthtry_site_assets__fonts.get("Manrope")])); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__copy_regular_mobile", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(16)); record.set("line_height", fastn_dom.FontSize.Px(24)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.manrope_font_fifthtry_site_assets__fonts.get("Manrope")])); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__copy_regular", function () { let record = fastn.recordInstance({ }); record.set("desktop", global.fastn_typography_fifthtry_site__copy_regular_desktop); record.set("mobile", global.fastn_typography_fifthtry_site__copy_regular_mobile); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__copy_small_desktop", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(14)); record.set("line_height", fastn_dom.FontSize.Px(21)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.manrope_font_fifthtry_site_assets__fonts.get("Manrope")])); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__copy_small_mobile", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(12)); record.set("line_height", fastn_dom.FontSize.Px(16)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.manrope_font_fifthtry_site_assets__fonts.get("Manrope")])); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__copy_small", function () { let record = fastn.recordInstance({ }); record.set("desktop", global.fastn_typography_fifthtry_site__copy_small_desktop); record.set("mobile", global.fastn_typography_fifthtry_site__copy_small_mobile); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__fine_print_desktop", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(12)); record.set("line_height", fastn_dom.FontSize.Px(16)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.manrope_font_fifthtry_site_assets__fonts.get("Manrope")])); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__fine_print_mobile", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(12)); record.set("line_height", fastn_dom.FontSize.Px(16)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.manrope_font_fifthtry_site_assets__fonts.get("Manrope")])); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__fine_print", function () { let record = fastn.recordInstance({ }); record.set("desktop", global.fastn_typography_fifthtry_site__fine_print_desktop); record.set("mobile", global.fastn_typography_fifthtry_site__fine_print_mobile); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__blockquote_desktop", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(16)); record.set("line_height", fastn_dom.FontSize.Px(21)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.manrope_font_fifthtry_site_assets__fonts.get("Manrope")])); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__blockquote_mobile", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(16)); record.set("line_height", fastn_dom.FontSize.Px(21)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.manrope_font_fifthtry_site_assets__fonts.get("Manrope")])); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__blockquote", function () { let record = fastn.recordInstance({ }); record.set("desktop", global.fastn_typography_fifthtry_site__blockquote_desktop); record.set("mobile", global.fastn_typography_fifthtry_site__blockquote_mobile); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__source_code_desktop", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(18)); record.set("line_height", fastn_dom.FontSize.Px(30)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.manrope_font_fifthtry_site_assets__fonts.get("Manrope")])); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__source_code_mobile", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(16)); record.set("line_height", fastn_dom.FontSize.Px(21)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.manrope_font_fifthtry_site_assets__fonts.get("Manrope")])); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__source_code", function () { let record = fastn.recordInstance({ }); record.set("desktop", global.fastn_typography_fifthtry_site__source_code_desktop); record.set("mobile", global.fastn_typography_fifthtry_site__source_code_mobile); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__label_large_desktop", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(14)); record.set("line_height", fastn_dom.FontSize.Px(21)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.manrope_font_fifthtry_site_assets__fonts.get("Manrope")])); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__label_large_mobile", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(14)); record.set("line_height", fastn_dom.FontSize.Px(19)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.manrope_font_fifthtry_site_assets__fonts.get("Manrope")])); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__label_large", function () { let record = fastn.recordInstance({ }); record.set("desktop", global.fastn_typography_fifthtry_site__label_large_desktop); record.set("mobile", global.fastn_typography_fifthtry_site__label_large_mobile); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__label_small_desktop", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(12)); record.set("line_height", fastn_dom.FontSize.Px(18)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.manrope_font_fifthtry_site_assets__fonts.get("Manrope")])); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__label_small_mobile", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(12)); record.set("line_height", fastn_dom.FontSize.Px(16)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.manrope_font_fifthtry_site_assets__fonts.get("Manrope")])); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__label_small", function () { let record = fastn.recordInstance({ }); record.set("desktop", global.fastn_typography_fifthtry_site__label_small_desktop); record.set("mobile", global.fastn_typography_fifthtry_site__label_small_mobile); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__button_large_desktop", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(18)); record.set("line_height", fastn_dom.FontSize.Px(27)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 700); record.set("font_family", fastn.mutableList([global.manrope_font_fifthtry_site_assets__fonts.get("Manrope")])); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__button_large_mobile", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(18)); record.set("line_height", fastn_dom.FontSize.Px(24)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 700); record.set("font_family", fastn.mutableList([global.manrope_font_fifthtry_site_assets__fonts.get("Manrope")])); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__button_large", function () { let record = fastn.recordInstance({ }); record.set("desktop", global.fastn_typography_fifthtry_site__button_large_desktop); record.set("mobile", global.fastn_typography_fifthtry_site__button_large_mobile); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__button_medium_desktop", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(16)); record.set("line_height", fastn_dom.FontSize.Px(24)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 700); record.set("font_family", fastn.mutableList([global.manrope_font_fifthtry_site_assets__fonts.get("Manrope")])); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__button_medium_mobile", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(16)); record.set("line_height", fastn_dom.FontSize.Px(21)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.manrope_font_fifthtry_site_assets__fonts.get("Manrope")])); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__button_medium", function () { let record = fastn.recordInstance({ }); record.set("desktop", global.fastn_typography_fifthtry_site__button_medium_desktop); record.set("mobile", global.fastn_typography_fifthtry_site__button_medium_mobile); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__button_small_desktop", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(14)); record.set("line_height", fastn_dom.FontSize.Px(21)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 700); record.set("font_family", fastn.mutableList([global.manrope_font_fifthtry_site_assets__fonts.get("Manrope")])); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__button_small_mobile", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(14)); record.set("line_height", fastn_dom.FontSize.Px(19)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.manrope_font_fifthtry_site_assets__fonts.get("Manrope")])); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__button_small", function () { let record = fastn.recordInstance({ }); record.set("desktop", global.fastn_typography_fifthtry_site__button_small_desktop); record.set("mobile", global.fastn_typography_fifthtry_site__button_small_mobile); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__link_desktop", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(14)); record.set("line_height", fastn_dom.FontSize.Px(21)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 700); record.set("font_family", fastn.mutableList([global.manrope_font_fifthtry_site_assets__fonts.get("Manrope")])); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__link_mobile", function () { let record = fastn.recordInstance({ }); record.set("size", fastn_dom.FontSize.Px(14)); record.set("line_height", fastn_dom.FontSize.Px(19)); record.set("letter_spacing", fastn_dom.FontSize.Px(0)); record.set("weight", 400); record.set("font_family", fastn.mutableList([global.manrope_font_fifthtry_site_assets__fonts.get("Manrope")])); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__link", function () { let record = fastn.recordInstance({ }); record.set("desktop", global.fastn_typography_fifthtry_site__link_desktop); record.set("mobile", global.fastn_typography_fifthtry_site__link_mobile); return record; }()); fastn_utils.createNestedObject(global, "fastn_typography_fifthtry_site__types", function () { let record = fastn.recordInstance({ }); record.set("heading_large", global.fastn_typography_fifthtry_site__heading_large); record.set("heading_medium", global.fastn_typography_fifthtry_site__heading_medium); record.set("heading_small", global.fastn_typography_fifthtry_site__heading_small); record.set("heading_hero", global.fastn_typography_fifthtry_site__heading_hero); record.set("heading_tiny", global.fastn_typography_fifthtry_site__heading_tiny); record.set("copy_small", global.fastn_typography_fifthtry_site__copy_small); record.set("copy_regular", global.fastn_typography_fifthtry_site__copy_regular); record.set("copy_large", global.fastn_typography_fifthtry_site__copy_large); record.set("fine_print", global.fastn_typography_fifthtry_site__fine_print); record.set("blockquote", global.fastn_typography_fifthtry_site__blockquote); record.set("source_code", global.fastn_typography_fifthtry_site__source_code); record.set("button_small", global.fastn_typography_fifthtry_site__button_small); record.set("button_medium", global.fastn_typography_fifthtry_site__button_medium); record.set("button_large", global.fastn_typography_fifthtry_site__button_large); record.set("link", global.fastn_typography_fifthtry_site__link); record.set("label_large", global.fastn_typography_fifthtry_site__label_large); record.set("label_small", global.fastn_typography_fifthtry_site__label_small); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__base_", function () { let record = fastn.recordInstance({ }); record.set("light", "#FFFFFF"); record.set("dark", "#000000"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__step_1_", function () { let record = fastn.recordInstance({ }); record.set("light", "#F8F8F8"); record.set("dark", "#111111"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__step_2_", function () { let record = fastn.recordInstance({ }); record.set("light", "#F5F5F5"); record.set("dark", "#2b2b2b"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__overlay_", function () { let record = fastn.recordInstance({ }); record.set("light", "#000000"); record.set("dark", "#000000"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__code_", function () { let record = fastn.recordInstance({ }); record.set("light", "#f5f5f5"); record.set("dark", "#21222c"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__background_", function () { let record = fastn.recordInstance({ }); record.set("base", global.dark_flame_cs_fifthtry_site_colors__base_); record.set("step_1", global.dark_flame_cs_fifthtry_site_colors__step_1_); record.set("step_2", global.dark_flame_cs_fifthtry_site_colors__step_2_); record.set("overlay", global.dark_flame_cs_fifthtry_site_colors__overlay_); record.set("code", global.dark_flame_cs_fifthtry_site_colors__code_); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__border_", function () { let record = fastn.recordInstance({ }); record.set("light", "#D2D2D2"); record.set("dark", "#434547"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__border_strong_", function () { let record = fastn.recordInstance({ }); record.set("light", "#9F9F9F"); record.set("dark", "#737373"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__text_", function () { let record = fastn.recordInstance({ }); record.set("light", "#7C7C7C"); record.set("dark", "#B8B8B8"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__text_strong_", function () { let record = fastn.recordInstance({ }); record.set("light", "#333333"); record.set("dark", "#FFFFFF"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__shadow_", function () { let record = fastn.recordInstance({ }); record.set("light", "#EF8435"); record.set("dark", "#EF8435"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__scrim_", function () { let record = fastn.recordInstance({ }); record.set("light", "#393939"); record.set("dark", "#393939"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_primary_base_", function () { let record = fastn.recordInstance({ }); record.set("light", "#EF8435"); record.set("dark", "#EF8435"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_primary_hover_", function () { let record = fastn.recordInstance({ }); record.set("light", "#D77730"); record.set("dark", "#D77730"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_primary_pressed_", function () { let record = fastn.recordInstance({ }); record.set("light", "#BF6A2A"); record.set("dark", "#BF6A2A"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_primary_disabled_", function () { let record = fastn.recordInstance({ }); record.set("light", "#FCE5D4"); record.set("dark", "#F3250F"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_primary_focused_", function () { let record = fastn.recordInstance({ }); record.set("light", "#EE7B26"); record.set("dark", "#EE7B26"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_primary_border_", function () { let record = fastn.recordInstance({ }); record.set("light", "#F3A063"); record.set("dark", "#F3A063"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_primary_text_", function () { let record = fastn.recordInstance({ }); record.set("light", "#ffffff"); record.set("dark", "#ffffff"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_primary_text_disabled_", function () { let record = fastn.recordInstance({ }); record.set("light", "#F4AF7B"); record.set("dark", "#714524"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_primary_border_disabled_", function () { let record = fastn.recordInstance({ }); record.set("light", "#FAD9C0"); record.set("dark", "#FAD9C0"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_primary_", function () { let record = fastn.recordInstance({ }); record.set("base", global.dark_flame_cs_fifthtry_site_colors__cta_primary_base_); record.set("hover", global.dark_flame_cs_fifthtry_site_colors__cta_primary_hover_); record.set("pressed", global.dark_flame_cs_fifthtry_site_colors__cta_primary_pressed_); record.set("disabled", global.dark_flame_cs_fifthtry_site_colors__cta_primary_disabled_); record.set("focused", global.dark_flame_cs_fifthtry_site_colors__cta_primary_focused_); record.set("border", global.dark_flame_cs_fifthtry_site_colors__cta_primary_border_); record.set("border_disabled", global.dark_flame_cs_fifthtry_site_colors__cta_primary_border_disabled_); record.set("text", global.dark_flame_cs_fifthtry_site_colors__cta_primary_text_); record.set("text_disabled", global.dark_flame_cs_fifthtry_site_colors__cta_primary_text_disabled_); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_secondary_base_", function () { let record = fastn.recordInstance({ }); record.set("light", "#F9F9F9"); record.set("dark", "#1C1C1C"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_secondary_hover_", function () { let record = fastn.recordInstance({ }); record.set("light", "#F5F5F5"); record.set("dark", "#242424"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_secondary_pressed_", function () { let record = fastn.recordInstance({ }); record.set("light", "#F0F0F0"); record.set("dark", "#2B2B2B"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_secondary_disabled_", function () { let record = fastn.recordInstance({ }); record.set("light", "#F9F9F9"); record.set("dark", "#1C1C1C"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_secondary_focused_", function () { let record = fastn.recordInstance({ }); record.set("light", "#F9F9F9"); record.set("dark", "#1C1C1C"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_secondary_border_", function () { let record = fastn.recordInstance({ }); record.set("light", "#B0AEAC"); record.set("dark", "#474747"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_secondary_text_", function () { let record = fastn.recordInstance({ }); record.set("light", "#333333"); record.set("dark", "#F7F7F7"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_secondary_text_disabled_", function () { let record = fastn.recordInstance({ }); record.set("light", "#B2B2B2"); record.set("dark", "#5E5E5E"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_secondary_border_disabled_", function () { let record = fastn.recordInstance({ }); record.set("light", "#C3C2C0"); record.set("dark", "#474747"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_secondary_", function () { let record = fastn.recordInstance({ }); record.set("base", global.dark_flame_cs_fifthtry_site_colors__cta_secondary_base_); record.set("hover", global.dark_flame_cs_fifthtry_site_colors__cta_secondary_hover_); record.set("pressed", global.dark_flame_cs_fifthtry_site_colors__cta_secondary_pressed_); record.set("disabled", global.dark_flame_cs_fifthtry_site_colors__cta_secondary_disabled_); record.set("focused", global.dark_flame_cs_fifthtry_site_colors__cta_secondary_focused_); record.set("border", global.dark_flame_cs_fifthtry_site_colors__cta_secondary_border_); record.set("border_disabled", global.dark_flame_cs_fifthtry_site_colors__cta_secondary_border_disabled_); record.set("text", global.dark_flame_cs_fifthtry_site_colors__cta_secondary_text_); record.set("text_disabled", global.dark_flame_cs_fifthtry_site_colors__cta_secondary_text_disabled_); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_tertiary_base_", function () { let record = fastn.recordInstance({ }); record.set("light", "#4A6490"); record.set("dark", "#4A6490"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_tertiary_hover_", function () { let record = fastn.recordInstance({ }); record.set("light", "#2B2B2B"); record.set("dark", "#FAFAFA"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_tertiary_pressed_", function () { let record = fastn.recordInstance({ }); record.set("light", "#242424"); record.set("dark", "#FFFFFF"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_tertiary_disabled_", function () { let record = fastn.recordInstance({ }); record.set("light", "rgba(74, 100, 144, 0.4)"); record.set("dark", "rgba(74, 100, 144, 0.4)"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_tertiary_focused_", function () { let record = fastn.recordInstance({ }); record.set("light", "#2B2B2B"); record.set("dark", "#C2C2C2"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_tertiary_border_", function () { let record = fastn.recordInstance({ }); record.set("light", "#4e6997"); record.set("dark", "#4e6997"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_tertiary_text_", function () { let record = fastn.recordInstance({ }); record.set("light", "#333333"); record.set("dark", "#F7F7F7"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_tertiary_text_disabled_", function () { let record = fastn.recordInstance({ }); record.set("light", "#BFBFBF"); record.set("dark", "#474747"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_tertiary_border_disabled_", function () { let record = fastn.recordInstance({ }); record.set("light", "#304655"); record.set("dark", "#f1dac0"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_tertiary_", function () { let record = fastn.recordInstance({ }); record.set("base", global.dark_flame_cs_fifthtry_site_colors__cta_tertiary_base_); record.set("hover", global.dark_flame_cs_fifthtry_site_colors__cta_tertiary_hover_); record.set("pressed", global.dark_flame_cs_fifthtry_site_colors__cta_tertiary_pressed_); record.set("disabled", global.dark_flame_cs_fifthtry_site_colors__cta_tertiary_disabled_); record.set("focused", global.dark_flame_cs_fifthtry_site_colors__cta_tertiary_focused_); record.set("border", global.dark_flame_cs_fifthtry_site_colors__cta_tertiary_border_); record.set("border_disabled", global.dark_flame_cs_fifthtry_site_colors__cta_tertiary_border_disabled_); record.set("text", global.dark_flame_cs_fifthtry_site_colors__cta_tertiary_text_); record.set("text_disabled", global.dark_flame_cs_fifthtry_site_colors__cta_tertiary_text_disabled_); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_danger_base_", function () { let record = fastn.recordInstance({ }); record.set("light", "#dc362e"); record.set("dark", "#dc362e"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_danger_hover_", function () { let record = fastn.recordInstance({ }); record.set("light", "#D13B29"); record.set("dark", "#D13B29"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_danger_pressed_", function () { let record = fastn.recordInstance({ }); record.set("light", "#C93927"); record.set("dark", "#C93927"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_danger_disabled_", function () { let record = fastn.recordInstance({ }); record.set("light", "#F9E4E1"); record.set("dark", "#431611"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_danger_focused_", function () { let record = fastn.recordInstance({ }); record.set("light", "#C93927"); record.set("dark", "#C93927"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_danger_border_", function () { let record = fastn.recordInstance({ }); record.set("light", "#D84836"); record.set("dark", "#D84836"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_danger_text_", function () { let record = fastn.recordInstance({ }); record.set("light", "#F0F0F0"); record.set("dark", "#F0F0F0"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_danger_text_disabled_", function () { let record = fastn.recordInstance({ }); record.set("light", "#EEB1AA"); record.set("dark", "#82332A"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_danger_border_disabled_", function () { let record = fastn.recordInstance({ }); record.set("light", "#F9E4E1"); record.set("dark", "#F9E4E1"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__cta_danger_", function () { let record = fastn.recordInstance({ }); record.set("base", global.dark_flame_cs_fifthtry_site_colors__cta_danger_base_); record.set("hover", global.dark_flame_cs_fifthtry_site_colors__cta_danger_hover_); record.set("pressed", global.dark_flame_cs_fifthtry_site_colors__cta_danger_pressed_); record.set("disabled", global.dark_flame_cs_fifthtry_site_colors__cta_danger_disabled_); record.set("focused", global.dark_flame_cs_fifthtry_site_colors__cta_danger_focused_); record.set("border", global.dark_flame_cs_fifthtry_site_colors__cta_danger_border_); record.set("border_disabled", global.dark_flame_cs_fifthtry_site_colors__cta_danger_border_disabled_); record.set("text", global.dark_flame_cs_fifthtry_site_colors__cta_danger_text_); record.set("text_disabled", global.dark_flame_cs_fifthtry_site_colors__cta_danger_text_disabled_); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__accent_primary_", function () { let record = fastn.recordInstance({ }); record.set("light", "#EF8435"); record.set("dark", "#EF8435"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__accent_secondary_", function () { let record = fastn.recordInstance({ }); record.set("light", "#EBE8E5"); record.set("dark", "#EBE8E5"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__accent_tertiary_", function () { let record = fastn.recordInstance({ }); record.set("light", "#c5cbd7"); record.set("dark", "#c5cbd7"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__accent_", function () { let record = fastn.recordInstance({ }); record.set("primary", global.dark_flame_cs_fifthtry_site_colors__accent_primary_); record.set("secondary", global.dark_flame_cs_fifthtry_site_colors__accent_secondary_); record.set("tertiary", global.dark_flame_cs_fifthtry_site_colors__accent_tertiary_); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__error_base_", function () { let record = fastn.recordInstance({ }); record.set("light", "#FFEFEE"); record.set("dark", "#4F2A25"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__error_text_", function () { let record = fastn.recordInstance({ }); record.set("light", "#D13B29"); record.set("dark", "#D13B29"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__error_border_", function () { let record = fastn.recordInstance({ }); record.set("light", "#D9503F"); record.set("dark", "#E9968C"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__error_btb_", function () { let record = fastn.recordInstance({ }); record.set("base", global.dark_flame_cs_fifthtry_site_colors__error_base_); record.set("text", global.dark_flame_cs_fifthtry_site_colors__error_text_); record.set("border", global.dark_flame_cs_fifthtry_site_colors__error_border_); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__success_base_", function () { let record = fastn.recordInstance({ }); record.set("light", "#F3FFF6"); record.set("dark", "#033A1B"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__success_text_", function () { let record = fastn.recordInstance({ }); record.set("light", "#3A9061"); record.set("dark", "#3E8D61"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__success_border_", function () { let record = fastn.recordInstance({ }); record.set("light", "#43A86F"); record.set("dark", "#95D0AF"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__success_btb_", function () { let record = fastn.recordInstance({ }); record.set("base", global.dark_flame_cs_fifthtry_site_colors__success_base_); record.set("text", global.dark_flame_cs_fifthtry_site_colors__success_text_); record.set("border", global.dark_flame_cs_fifthtry_site_colors__success_border_); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__info_base_", function () { let record = fastn.recordInstance({ }); record.set("light", "#ECF4FC"); record.set("dark", "#233a5d"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__info_text_", function () { let record = fastn.recordInstance({ }); record.set("light", "#196CE6"); record.set("dark", "#5290EC"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__info_border_", function () { let record = fastn.recordInstance({ }); record.set("light", "#7EACF1"); record.set("dark", "#3E83EA"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__info_btb_", function () { let record = fastn.recordInstance({ }); record.set("base", global.dark_flame_cs_fifthtry_site_colors__info_base_); record.set("text", global.dark_flame_cs_fifthtry_site_colors__info_text_); record.set("border", global.dark_flame_cs_fifthtry_site_colors__info_border_); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__warning_base_", function () { let record = fastn.recordInstance({ }); record.set("light", "#FFFAF2"); record.set("dark", "#3b2c1ee6"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__warning_text_", function () { let record = fastn.recordInstance({ }); record.set("light", "#D9AA01"); record.set("dark", "#FECB1A"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__warning_border_", function () { let record = fastn.recordInstance({ }); record.set("light", "#E4B301"); record.set("dark", "#F2DE97"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__warning_btb_", function () { let record = fastn.recordInstance({ }); record.set("base", global.dark_flame_cs_fifthtry_site_colors__warning_base_); record.set("text", global.dark_flame_cs_fifthtry_site_colors__warning_text_); record.set("border", global.dark_flame_cs_fifthtry_site_colors__warning_border_); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__custom_one_", function () { let record = fastn.recordInstance({ }); record.set("light", "#4AA35C"); record.set("dark", "#4AA35C"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__custom_two_", function () { let record = fastn.recordInstance({ }); record.set("light", "#5C2860"); record.set("dark", "#5C2860"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__custom_three_", function () { let record = fastn.recordInstance({ }); record.set("light", "#EBBE52"); record.set("dark", "#EBBE52"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__custom_four_", function () { let record = fastn.recordInstance({ }); record.set("light", "#FDFAF1"); record.set("dark", "#111111"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__custom_five_", function () { let record = fastn.recordInstance({ }); record.set("light", "#FBF5E2"); record.set("dark", "#222222"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__custom_six_", function () { let record = fastn.recordInstance({ }); record.set("light", "#ef8dd6"); record.set("dark", "#ef8dd6"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__custom_seven_", function () { let record = fastn.recordInstance({ }); record.set("light", "#7564be"); record.set("dark", "#7564be"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__custom_eight_", function () { let record = fastn.recordInstance({ }); record.set("light", "#d554b3"); record.set("dark", "#d554b3"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__custom_nine_", function () { let record = fastn.recordInstance({ }); record.set("light", "#ec8943"); record.set("dark", "#ec8943"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__custom_ten_", function () { let record = fastn.recordInstance({ }); record.set("light", "#da7a4a"); record.set("dark", "#da7a4a"); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site_colors__custom_", function () { let record = fastn.recordInstance({ }); record.set("one", global.dark_flame_cs_fifthtry_site_colors__custom_one_); record.set("two", global.dark_flame_cs_fifthtry_site_colors__custom_two_); record.set("three", global.dark_flame_cs_fifthtry_site_colors__custom_three_); record.set("four", global.dark_flame_cs_fifthtry_site_colors__custom_four_); record.set("five", global.dark_flame_cs_fifthtry_site_colors__custom_five_); record.set("six", global.dark_flame_cs_fifthtry_site_colors__custom_six_); record.set("seven", global.dark_flame_cs_fifthtry_site_colors__custom_seven_); record.set("eight", global.dark_flame_cs_fifthtry_site_colors__custom_eight_); record.set("nine", global.dark_flame_cs_fifthtry_site_colors__custom_nine_); record.set("ten", global.dark_flame_cs_fifthtry_site_colors__custom_ten_); return record; }()); fastn_utils.createNestedObject(global, "dark_flame_cs_fifthtry_site__main", function () { let record = fastn.recordInstance({ }); record.set("background", global.dark_flame_cs_fifthtry_site_colors__background_); record.set("border", global.dark_flame_cs_fifthtry_site_colors__border_); record.set("border_strong", global.dark_flame_cs_fifthtry_site_colors__border_strong_); record.set("text", global.dark_flame_cs_fifthtry_site_colors__text_); record.set("text_strong", global.dark_flame_cs_fifthtry_site_colors__text_strong_); record.set("shadow", global.dark_flame_cs_fifthtry_site_colors__shadow_); record.set("scrim", global.dark_flame_cs_fifthtry_site_colors__scrim_); record.set("cta_primary", global.dark_flame_cs_fifthtry_site_colors__cta_primary_); record.set("cta_secondary", global.dark_flame_cs_fifthtry_site_colors__cta_secondary_); record.set("cta_tertiary", global.dark_flame_cs_fifthtry_site_colors__cta_tertiary_); record.set("cta_danger", global.dark_flame_cs_fifthtry_site_colors__cta_danger_); record.set("accent", global.dark_flame_cs_fifthtry_site_colors__accent_); record.set("error", global.dark_flame_cs_fifthtry_site_colors__error_btb_); record.set("success", global.dark_flame_cs_fifthtry_site_colors__success_btb_); record.set("info", global.dark_flame_cs_fifthtry_site_colors__info_btb_); record.set("warning", global.dark_flame_cs_fifthtry_site_colors__warning_btb_); record.set("custom", global.dark_flame_cs_fifthtry_site_colors__custom_); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_instagram_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/instagram.svg"); record.set("dark", "-/fastn.com/images/landing/instagram-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_tweeter_icon_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/tweeter-icon.svg"); record.set("dark", "-/fastn.com/images/landing/tweeter-icon-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_linkedin_icon_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/linkedin-icon.svg"); record.set("dark", "-/fastn.com/images/landing/linkedin-icon-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_discord_icon_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/discord-icon.svg"); record.set("dark", "-/fastn.com/images/landing/discord-icon-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_content_library__social_links", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("src", global.fastn_com_assets__files.get("images_landing_discord_icon_svg")); record.set("link", "/discord/"); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("src", global.fastn_com_assets__files.get("images_landing_linkedin_icon_svg")); record.set("link", "/linkedin/"); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("src", global.fastn_com_assets__files.get("images_landing_tweeter_icon_svg")); record.set("link", "/twitter/"); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("src", global.fastn_com_assets__files.get("images_landing_instagram_svg")); record.set("link", "/instagram/"); return record; }()])); fastn_utils.createNestedObject(global, "fastn_com_content_library__logo_width", 100); let fastn_com_content_library__fallback_title = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { site_name: null, }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Row); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.site_name ], function () { return (fastn_utils.getStaticValue(__args__.site_name) == null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_large"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, "LOGO", inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__fallback_title"] = fastn_com_content_library__fallback_title; let fastn_com_content_library__footer_list_child = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { url: null, mouse_in: fastn.wrapMutable(false), children: fastn.mutableList([]), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.url ], function () { return (fastn_utils.getStaticValue(__args__.url) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.addEventHandler(fastn_dom.Event.MouseLeave, function () { ftd.set_bool({ a: __args__.mouse_in, v: false, }, rooti0); }); rooti0.addEventHandler(fastn_dom.Event.MouseEnter, function () { ftd.set_bool({ a: __args__.mouse_in, v: true, }, rooti0); }); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, fastn.formula([inherited.get("colors").get("accent").get("primary"), __args__.mouse_in, inherited.get("colors").get("accent").get("primary"), __args__.is_active, inherited.get("colors").get("text")], function () { if (function () { return fastn_utils.getStaticValue(__args__.mouse_in); }()) { return inherited.get("colors").get("accent").get("primary"); } else if (function () { return fastn_utils.getStaticValue(__args__.is_active); }()) { return inherited.get("colors").get("accent").get("primary"); } else { return inherited.get("colors").get("text"); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.url, inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__footer_list_child"] = fastn_com_content_library__footer_list_child; let fastn_com_content_library__footer_list = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { url: null, mouse_in: fastn.wrapMutable(false), children: fastn.mutableList([]), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(16)), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.url ], function () { return (fastn_utils.getStaticValue(__args__.url) !== "/search/"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_large"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.addEventHandler(fastn_dom.Event.MouseLeave, function () { ftd.set_bool({ a: __args__.mouse_in, v: false, }, rooti0); }); rooti0.addEventHandler(fastn_dom.Event.MouseEnter, function () { ftd.set_bool({ a: __args__.mouse_in, v: true, }, rooti0); }); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, fastn.formula([inherited.get("colors").get("text_strong"), inherited.get("colors").get("accent").get("primary"), __args__.mouse_in, inherited.get("colors").get("accent").get("primary"), __args__.is_active], function () { if (function () { return fastn_utils.getStaticValue(__args__.mouse_in); }()) { return inherited.get("colors").get("accent").get("primary"); } else if (function () { return fastn_utils.getStaticValue(__args__.is_active); }()) { return inherited.get("colors").get("accent").get("primary"); } else { return inherited.get("colors").get("text_strong"); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.url, inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextStyle, fastn.mutableList([fastn_dom.TextStyle.Bold]), inherited); return rooti0; }); }, function (root, inherited) { __args__.children.forLoop(root, function (root, item, index) { return fastn_dom.conditionalDom(root, [ __args__.children ], function () { return (!ftd.is_empty(__args__.children)); }, function (root) { let rooti0 = fastn_com_content_library__footer_list_child(root, inherited, { title: item.get("title"), url: item.get("url"), is_active: item.get("is_active"), children: item.get("children") }); return rooti0; }).getParent(); }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__footer_list"] = fastn_com_content_library__footer_list; let fastn_com_content_library__footer_desktop = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { site_logo: null, site_url: null, site_name: null, footer_links: fastn.mutableList([]), social_links: fastn.mutableList([]), full_width: true, max_width: null, }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("base")), inherited); parenti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(7)), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MaxWidth, fastn.formula([__args__.max_width, __args__.full_width], function () { if (function () { return (!fastn_utils.getStaticValue(__args__.full_width)); }()) { return __args__.max_width; } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(50), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingRight, fastn_dom.Length.Px(48), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.SpaceAround, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.site_url, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.site_logo ], function () { return (fastn_utils.getStaticValue(__args__.site_logo) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.site_logo, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(__args__.logo_width)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(__args__.logo_height)), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.site_name ], function () { return (fastn_utils.getStaticValue(__args__.site_name) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.site_name, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginLeft, fastn.formula([__args__.site_logo], function () { if (function () { return (fastn_utils.getStaticValue(__args__.site_logo) !== null); }()) { return fastn_dom.Length.Px(16); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.WhiteSpace, fastn_dom.WhiteSpace.NoWrap, inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.site_logo ], function () { return (fastn_utils.getStaticValue(__args__.site_logo) == null); }, function (root) { let rooti0 = fastn_com_content_library__fallback_title(root, inherited, { site_name: __args__.site_name }); return rooti0; }); } ]), inherited); }, function (root, inherited) { __args__.footer_links.forLoop(root, function (root, item, index) { let rooti0 = fastn_com_content_library__footer_list(root, inherited, { title: item.get("title"), url: item.get("url"), is_active: item.get("is_active"), children: item.get("children") }); return rooti0; }); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(48), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(24), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderTopWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.SpaceBetween, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(24)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { __args__.social_links.forLoop(root, function (root, item, index) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, item.get("src"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(49)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Cursor, fastn_dom.Cursor.Pointer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, item.get("link"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.OpenInNewTab, true, inherited); return rooti0; }); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.copyright, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); } ]), inherited); } ]), inherited); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__footer_desktop"] = fastn_com_content_library__footer_desktop; fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_toggle_up_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/toggle-up.svg"); record.set("dark", "-/fastn.com/images/landing/toggle-up-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_toggle_down_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/toggle-down.svg"); record.set("dark", "-/fastn.com/images/landing/toggle-down-dark.svg"); return record; }()); let fastn_com_content_library__footer_list_toc = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { url: "/", is_active: false, wrap: fastn.mutableList([]), children: fastn.mutableList([]), show_subsections: false, }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.show_subsections, __args__.title ], function () { return (fastn_utils.getStaticValue(__args__.show_subsections) && fastn_utils.getStaticValue(__args__.title) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginBottom, fastn.formula([ftd.device], function () { if (function () { return (fastn_utils.getStaticValue(ftd.device) !== "mobile"); }()) { return fastn_dom.Length.Px(12); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, fastn.formula([inherited.get("colors").get("text"), inherited.get("colors").get("accent").get("primary"), __args__.is_active], function () { if (function () { return fastn_utils.getStaticValue(__args__.is_active); }()) { return inherited.get("colors").get("accent").get("primary"); } else { return inherited.get("colors").get("text"); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.WhiteSpace, fastn_dom.WhiteSpace.NoWrap, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.url, inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.show_subsections, __args__.title ], function () { return (!fastn_utils.getStaticValue(__args__.show_subsections) && fastn_utils.getStaticValue(__args__.title) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginBottom, fastn.formula([ftd.device], function () { if (function () { return (fastn_utils.getStaticValue(ftd.device) !== "mobile"); }()) { return fastn_dom.Length.Px(12); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, fastn.formula([inherited.get("colors").get("text"), inherited.get("colors").get("accent").get("primary"), __args__.is_active], function () { if (function () { return fastn_utils.getStaticValue(__args__.is_active); }()) { return inherited.get("colors").get("accent").get("primary"); } else { return inherited.get("colors").get("text"); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.WhiteSpace, fastn_dom.WhiteSpace.NoWrap, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.url, inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__footer_list_toc"] = fastn_com_content_library__footer_list_toc; let fastn_com_content_library__footer_mobile_list = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { shows_data: fastn.wrapMutable(false), is_active: false, children: fastn.mutableList([]), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); return fastn_dom.conditionalDom(parent, [ __args__.url ], function () { return (fastn_utils.getStaticValue(__args__.url) !== "/search/"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(14)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(16), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(16), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderBottomWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_tiny"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, fastn.formula([inherited.get("colors").get("text_strong"), inherited.get("colors").get("accent").get("primary"), __args__.is_active], function () { if (function () { return fastn_utils.getStaticValue(__args__.is_active); }()) { return inherited.get("colors").get("accent").get("primary"); } else { return inherited.get("colors").get("text_strong"); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.url, inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.is_active, __args__.shows_data, __args__.title ], function () { return (fastn_utils.getStaticValue(__args__.shows_data) && fastn_utils.getStaticValue(__args__.title) !== "Blog" || fastn_utils.getStaticValue(__args__.is_active)); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, global.fastn_com_assets__files.get("images_landing_toggle_up_svg"), inherited); rooti0.addEventHandler(fastn_dom.Event.Click, function () { ftd.toggle({ a: __args__.shows_data, }, rooti0); }); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(12)), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.is_active, __args__.shows_data, __args__.title ], function () { return (!fastn_utils.getStaticValue(__args__.shows_data) && fastn_utils.getStaticValue(__args__.title) !== "Blog" && !fastn_utils.getStaticValue(__args__.is_active)); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, global.fastn_com_assets__files.get("images_landing_toggle_down_svg"), inherited); rooti0.addEventHandler(fastn_dom.Event.Click, function () { ftd.toggle({ a: __args__.shows_data, }, rooti0); }); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(12)), inherited); return rooti0; }); } ]), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.is_active, __args__.shows_data ], function () { return (fastn_utils.getStaticValue(__args__.shows_data) || fastn_utils.getStaticValue(__args__.is_active)); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.MarginTop, fastn_dom.Length.Px(12), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(14)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { __args__.children.forLoop(root, function (root, item, index) { let rooti0 = fastn_com_content_library__footer_list_toc(root, inherited, { title: item.get("title"), url: item.get("url"), is_active: item.get("is_active"), children: item.get("children") }); return rooti0; }); } ]), inherited); return rooti0; }); } ]), inherited); } ]), inherited); return rooti0; }).getParent(); } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__footer_mobile_list"] = fastn_com_content_library__footer_mobile_list; let fastn_com_content_library__footer_mobile = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { site_logo: null, site_url: null, site_name: null, footer_links: fastn.mutableList([]), social_links: fastn.mutableList([]), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(24), inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingTop, fastn_dom.Length.Px(64), inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingBottom, fastn_dom.Length.Px(64), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); parenti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { __args__.footer_links.forLoop(root, function (root, item, index) { let rooti0 = fastn_com_content_library__footer_mobile_list(root, inherited, { title: item.get("title"), url: item.get("url"), is_active: item.get("is_active"), children: item.get("children") }); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.MarginVertical, fastn_dom.Length.Px(24), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.site_url, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.site_logo ], function () { return (fastn_utils.getStaticValue(__args__.site_logo) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.site_logo, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(__args__.logo_width)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(__args__.logo_height)), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.site_name ], function () { return (fastn_utils.getStaticValue(__args__.site_name) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_medium"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.site_name, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.WhiteSpace, fastn_dom.WhiteSpace.NoWrap, inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.site_logo ], function () { return (fastn_utils.getStaticValue(__args__.site_logo) == null); }, function (root) { let rooti0 = fastn_com_content_library__fallback_title(root, inherited, { site_name: __args__.site_name }); return rooti0; }); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.MarginBottom, fastn_dom.Length.Px(24), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(24)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { __args__.social_links.forLoop(root, function (root, item, index) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, item.get("src"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Cursor, fastn_dom.Cursor.Pointer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, item.get("link"), inherited); return rooti0; }); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("fine_print"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.copyright, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextAlign, fastn_dom.TextAlign.Center, inherited); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__footer_mobile"] = fastn_com_content_library__footer_mobile; fastn_utils.createNestedObject(global, "fastn_com_content_library__logo_height", 50); fastn_utils.createNestedObject(global, "fastn_com_content_library__footer_toc", function () { let record = fastn.recordInstance({ }); record.set("sections", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Explore"); record.set("url", "/frontend/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Features"); record.set("url", "/frontend/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Frontend"); record.set("url", "/frontend/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Full-stack"); record.set("url", "/backend/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Deploy"); record.set("url", "/deploy/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Design"); record.set("url", "/design/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Community"); record.set("url", "/community/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "`fastn` for Geeks"); record.set("url", "/geeks/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }()])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Compare"); record.set("url", "/react/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "fastn vs React"); record.set("url", "/react/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "fastn vs Webflow"); record.set("url", "/webflow/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }()])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Case study"); record.set("url", "/acme/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Acme"); record.set("url", "/acme/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "To-do"); record.set("url", "/todo/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Country"); record.set("url", "/backend/learn/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Basic of `http`, `data modelling`"); record.set("url", "/country-details/basics/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Building dynamic country list page"); record.set("url", "/country-list/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }()])); return record; }()])); return record; }()])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Learn"); record.set("url", "/learn/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Create Website"); record.set("url", "/quick-build/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Quick Build"); record.set("url", "/quick-build/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "fastn basics"); record.set("url", "/markdown/-/frontend/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Markdown"); record.set("url", "/markdown/-/frontend/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Change Color Scheme"); record.set("url", "/color-scheme/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Change Typography"); record.set("url", "/typography/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Using images in documents"); record.set("url", "/using-images/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Sitemap"); record.set("url", "/understanding-sitemap/-/build/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "SEO"); record.set("url", "/seo-meta/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Meta Data"); record.set("url", "/seo-meta/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Redirects"); record.set("url", "/redirects/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "URL"); record.set("url", "/clean-urls/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }()])); return record; }()])); return record; }()])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Learn"); record.set("url", "/learn/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Learning Resources"); record.set("url", "/learn/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Setup"); record.set("url", "/install/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Install fastn"); record.set("url", "/install/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "On MacOS/Linux"); record.set("url", "/macos/"); record.set("description", "Install on MacOS/Linux"); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "On Windows"); record.set("url", "/windows/"); record.set("description", "Install on Windows"); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Uninstall fastn"); record.set("url", "/uninstall/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Install Text Editor"); record.set("url", "/editor/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Syntax Highlighting Sublime"); record.set("url", "/sublime/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Syntax Highlighting VS Code"); record.set("url", "/vscode/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }()])); return record; }()])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Expander Crash Course"); record.set("url", "/expander/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Part 1. Hello World"); record.set("url", "/expander/hello-world/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Part 2. Basic UI"); record.set("url", "/expander/basic-ui/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Part 3. Components"); record.set("url", "/expander/components/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Part 4. Event Handling"); record.set("url", "/expander/events/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Part 5. Publish a package"); record.set("url", "/expander/publish/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Part 6. Polishing UI"); record.set("url", "/expander/polish/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }()])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Create button with shadow"); record.set("url", "/button/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Create rounded border"); record.set("url", "/rounded-border/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Create holy-grail layout"); record.set("url", "/holy-grail/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }()])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Featured Components"); record.set("url", "/featured/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Website Categories"); record.set("url", "/featured/website-categories/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Documentation Sites"); record.set("url", "/featured/doc-sites/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Landing Pages"); record.set("url", "/featured/landing-pages/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Blogs"); record.set("url", "/featured/blogs/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Portfolios / Personal Sites"); record.set("url", "/featured/portfolios/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Resumes"); record.set("url", "/featured/resumes/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }()])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Section Library"); record.set("url", "/featured/sections/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Cards"); record.set("url", "/featured/sections/cards/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Hero Components"); record.set("url", "/heros/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Stepper Components"); record.set("url", "/steppers/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Testimonial Components"); record.set("url", "/testimonials/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Accordion Components"); record.set("url", "/accordions/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Team Components"); record.set("url", "featured/team/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Pricing Components"); record.set("url", "featured/pricing/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Key Value Tables"); record.set("url", "/featured/sections/kvt/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Slides / Presentations"); record.set("url", "/featured/sections/slides/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }()])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Component Library"); record.set("url", "/featured/components/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Bling Components"); record.set("url", "/featured/components/bling/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Buttons"); record.set("url", "/featured/components/buttons/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Business Cards"); record.set("url", "/featured/components/business-cards/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Header / Navbar"); record.set("url", "/featured/components/headers/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Footers"); record.set("url", "/featured/components/footers/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Modal / Dialog"); record.set("url", "/featured/components/modals/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Quotes"); record.set("url", "/featured/quotes/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }()])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Design Elements"); record.set("url", "/featured/design/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Color Schemes"); record.set("url", "/featured/cs/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Font Typographies"); record.set("url", "/featured/fonts/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }()])); return record; }()])); return record; }()])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Docs"); record.set("url", "/ftd/data-modelling/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Frontend"); record.set("url", "/ftd/data-modelling/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Data Modelling"); record.set("url", "/ftd/data-modelling/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Variables"); record.set("url", "/variables/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Built-in Types"); record.set("url", "/built-in-types/"); record.set("description", "boolean, integer, decimal, string, caption, body, caption or body, ftd.ui, children, ftd.align-self, ftd.align, ftd.anchor, ftd.linear-gradient, ftd.linear-gradient-color, ftd.breakpoint-width-data, ftd.linear-gradient-directions, ftd.background-image, ftd.background-position, ftd.background-repeat, ftd.background-size, ftd.background, ftd.border-style, ftd.color, ftd.display, ftd.color-scheme, ftd.cursor, ftd.image-src, ftd.length, ftd.length-pair, ftd.loading, ftd.overflow, ftd.region, ftd.resize, ftd.resizing, ftd.responsive-type, ftd.shadow, ftd.spacing, ftd.text-align, ftd.text-input-type, ftd.text-style, ftd.text-transform, ftd.type, ftd.white-space, ftd.type-data, ftd.fetch-priority"); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "`record`"); record.set("url", "/record/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "`or-type`"); record.set("url", "/or-type/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "`list`"); record.set("url", "/list/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }()])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Understanding Loops"); record.set("url", "/loop/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "`component`"); record.set("url", "/components/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Headers"); record.set("url", "/headers/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Visibility"); record.set("url", "/visibility/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Commenting"); record.set("url", "/comments/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Kernel Components"); record.set("url", "/kernel/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "`ftd.document` 🚧"); record.set("url", "/document/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "`ftd.row`"); record.set("url", "/row/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "`ftd.column`"); record.set("url", "/column/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "`ftd.container`"); record.set("url", "/container/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "`ftd.text`"); record.set("url", "/text/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "`ftd.image`"); record.set("url", "/image/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "`ftd.video`"); record.set("url", "/video/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "`ftd.rive` (animation)"); record.set("url", "/rive/"); record.set("description", "animation"); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "`ftd.iframe`"); record.set("url", "/iframe/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "`ftd.integer`"); record.set("url", "/integer/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "`ftd.decimal`"); record.set("url", "/decimal/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "`ftd.boolean`"); record.set("url", "/boolean/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "`ftd.code`"); record.set("url", "/code/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "`ftd.text-input`"); record.set("url", "/text-input/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "`ftd.checkbox`"); record.set("url", "/checkbox/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "`ftd.desktop`"); record.set("url", "/desktop/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "`ftd.mobile`"); record.set("url", "/mobile/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }()])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Attributes"); record.set("url", "/attributes/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Common Attributes"); record.set("url", "/common-attributes/"); record.set("description", "id, padding, padding-vertical, padding-horizontal, padding-left, padding-right, padding-top, padding-bottom, margin, margin-vertical, margin-horizontal, margin-left, margin-right, margin-top, margin-bottom, align-self, color, width, min-width, max-width, height, min-height, max-height, background, border-width, border-left-width, border-right-width, border-top-width, border-bottom-width, border-radius, border-top-left-radius, border-top-right-radius, border-bottom-left-radius, border-bottom-right-radius, border-color, border-left-color, border-right-color, border-top-color, border-bottom-color, border-style, border-style-left, border-style-right, border-style-top, border-style-bottom, border-style-horizontal, border-style-vertical, overflow, overflow-x, overflow-y, cursor, region, link, open-in-new-tab, role, resize, sticky, shadow, anchor, opacity, whitespace, text-transform, classes, top, bottom, left, right, css, js, z-index, border-radius.px, border-top-left-radius.px, border-top-right-radius.px, border-bottom-left-radius.px, border-bottom-right-radius.px, width.fixed.px, min-width, max-width, height, min-height, max-height, overflow-x, overflow-y, cursor, region, border-width.px, border-top-width.px, border-bottom-width.px, border-left-width.px, border-right-width.px, submit, background-gradient, background-image, background-repeat, background-parallax, sticky, anchor, z-index, white-space, text-transform"); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Text Attributes"); record.set("url", "/text-attributes/"); record.set("description", "style: (underline, strike, italic, heavy, extra-bold, semi-bold, bold, regular, medium, light, extra-light, hairline), text-align, text-indent"); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Container Attributes"); record.set("url", "/container-attributes/"); record.set("description", "wrap, align-content, spacing"); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Container Root Attributes"); record.set("url", "/container-root-attributes/"); record.set("description", "children, colors, types"); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }()])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "`import`"); record.set("url", "/import/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Using export/exposing"); record.set("url", "/using-export-exposing/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Functions"); record.set("url", "/functions/"); record.set("description", "clamp"); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Built-in Functions"); record.set("url", "/built-in-functions/"); record.set("description", "len, length, ftd.append, ftd.insert_at, ftd.delete_at, ftd.clear, enable_dark_mode, enable_light_mode, enable_system_mode, copy-to-clipboard, toggle, increment, increment-by, set-bool, set-string, set-integer, is_empty, light mode, dark mode, system mode"); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Built-in Rive Functions"); record.set("url", "/built-in-rive-functions/"); record.set("description", "animation, ftd.toggle-play-rive, ftd.play-rive, ftd.pause-rive, ftd.fire-rive, ftd.set-rive-integer, ftd.toggle-rive-boolean, ftd.set-rive-boolean"); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Built-in Local Storage Functions"); record.set("url", "/local-storage/"); record.set("description", "ftd.local_storage.set, ftd.local_storage.get, ftd.local_storage.delete"); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Built-in Variables"); record.set("url", "/built-in-variables/"); record.set("description", "ftd.dark-mode, ftd.system-dark-mode, ftd.follow-system-dark-mode, ftd.device, ftd.mobile-breakpoint, light mode, dark mode, system mode"); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "`ftd` Events"); record.set("url", "/events/"); record.set("description", "on-click, on-click-outside, on-mouse-enter, on-mouse-leave, on-input, on-change, on-blur, on-focus, on-global-key, on-global-key-seq"); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Rive Events"); record.set("url", "/rive-events/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "How to create color-scheme"); record.set("url", "/create-cs/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Use color scheme package"); record.set("url", "/use-cs/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "`processor`"); record.set("url", "/processor/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "`foreign variables`"); record.set("url", "/foreign-variable/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "`assets`"); record.set("url", "/assets/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "How to access files"); record.set("url", "/accessing-files/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "How to access fonts"); record.set("url", "/accessing-fonts/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "How to make page responsive"); record.set("url", "/making-responsive-pages/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Interoperability with JS/CSS"); record.set("url", "/use-js-css/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "JS in function"); record.set("url", "/js-in-function/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Web Component"); record.set("url", "/web-component/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Using External CSS"); record.set("url", "/external-css/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }()])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Create `fastn` package"); record.set("url", "/create-fastn-package/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Best Practices"); record.set("url", "/best-practices/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Formatting"); record.set("url", "/formatting/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Import"); record.set("url", "/importing-packages/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Auto-import"); record.set("url", "/auto-import/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Device"); record.set("url", "/device-guidelines/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Conditions"); record.set("url", "/how-to-use-conditions/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Container"); record.set("url", "/container-guidelines/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Same argument & attribute types"); record.set("url", "/same-argument-attribute-type/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "FScript"); record.set("url", "/fscript-guidelines/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Inherited Types"); record.set("url", "/inherited-guidelines/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Variable & it's Type"); record.set("url", "/variable-type-guidelines/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Optional Arguments"); record.set("url", "/optional-argument-guidelines/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Commenting"); record.set("url", "/commenting-guidelines/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Self referencing"); record.set("url", "/self-referencing-guidelines/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Property"); record.set("url", "/property-guidelines/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }()])); return record; }()])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Fullstack"); record.set("url", "/dynamic-urls/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "`fastn.app`"); record.set("url", "/app/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "WASM modules"); record.set("url", "/wasm/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Dynamic URLs"); record.set("url", "/dynamic-urls/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "`processors`"); record.set("url", "/processor/-/backend/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Getting Request Data"); record.set("url", "/request-data/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Fetching Data Using `http`"); record.set("url", "/http/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Querying a SQL Database"); record.set("url", "/sql/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "⚠️ Querying PostgreSQL"); record.set("url", "/pg/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "⚠️ Querying SQLite"); record.set("url", "/sqlite/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Reading JSON"); record.set("url", "/get-data/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Github Auth"); record.set("url", "/auth/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }()])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Custom URLs"); record.set("url", "/custom-urls/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Redirects"); record.set("url", "/redirects/-/backend/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Dynamic Redirect"); record.set("url", "/ftd/redirect/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Using `fastn` With Django Or Other Backends"); record.set("url", "/django/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Enviroment Variables"); record.set("url", "/env/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }()])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Deploy"); record.set("url", "/ft/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "FifthTry Hosting"); record.set("url", "/ft/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Static Hosting"); record.set("url", ""); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Github pages"); record.set("url", "/github-pages/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Vercel"); record.set("url", "/vercel/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }()])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Dynamic Hosting"); record.set("url", ""); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Heroku"); record.set("url", "/heroku/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }()])); return record; }()])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Design"); record.set("url", "/figma/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Use Figma Tokens with fastn color schemes"); record.set("url", "/figma/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Create your own fastn color scheme from Figma json"); record.set("url", "/figma-to-fastn-cs/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Modify color scheme package"); record.set("url", "/modify-cs/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Create `font` package"); record.set("url", "/create-font-package/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Export typography as json"); record.set("url", "/typo-to-json/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Typography json to FTD"); record.set("url", "/typo-json-to-ftd/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }()])); return record; }()])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Community"); record.set("url", "/champion-program/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Programs"); record.set("url", "/champion-program/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Champion Program"); record.set("url", "/champion-program/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Champions"); record.set("url", "/champions/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }()])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Ambassador Program"); record.set("url", "/ambassador-program/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Ambassadors"); record.set("url", "/ambassadors/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }()])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "`fastn` Leads Program"); record.set("url", "/lead-program/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }()])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Contest"); record.set("url", "/weekly-contest/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Weekly Contest"); record.set("url", "/weekly-contest/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Quote contest"); record.set("url", "/quote-contest/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }()])); return record; }()])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Events"); record.set("url", "/hackodisha/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }()])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "`fastn` Made Easy - For the Curious & the Creative"); record.set("url", "/book/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", null); record.set("url", null); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Introduction"); record.set("url", ""); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Why was `fastn` created?"); record.set("url", "/book/why-fastn/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "FifthTry Offerings"); record.set("url", "/book/fifthtry/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }()])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Local `fastn` CLI"); record.set("url", "/book/local-setup/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Install fastn"); record.set("url", "/book/install/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "On MacOS/Linux"); record.set("url", "/book/macos/"); record.set("description", "Install on MacOS/Linux"); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "On Windows"); record.set("url", "/book/windows/"); record.set("description", "Install on Windows"); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Uninstall fastn"); record.set("url", "/book/uninstall/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Install Text Editor"); record.set("url", "/book/editor/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Syntax Highlighting Sublime"); record.set("url", "/book/sublime/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Syntax Highlighting VS Code"); record.set("url", "/book/vscode/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }()])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "First Program - Hello World"); record.set("url", "/book/hello-world/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }()])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Fastn Development in the Browser (FifthTry IDE)"); record.set("url", "/book/about-ide/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Develop and Preview in FifthTry IDE"); record.set("url", "/book/create-website/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "FifthTry Domain Setting and Hosting"); record.set("url", "/book/fifthtry-hosting/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Edit FifthTry Website and Upload"); record.set("url", "/book/manual-upload/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }()])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "`fastn` Essentials"); record.set("url", "/book/fastn-essentials/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "`FASTN.ftd`"); record.set("url", "/book/about-fastn/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "index.ftd"); record.set("url", "/book/about-index/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }()])); return record; }()])); return record; }()])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Blog"); record.set("url", "/blog/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", null); record.set("url", null); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", "Design System Package Tutorial (Part 2)"); record.set("url", "/blog/design-system-part-2/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Design System Package Tutorial (Part 1)"); record.set("url", "/blog/design-system/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Building Your Personal Website with fastn"); record.set("url", "/blog/personal-website-1/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Content Library"); record.set("url", "/blog/content-library/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Memory, Mutability and Reactivity"); record.set("url", "/blog/strongly-typed/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Domain Components"); record.set("url", "/blog/domain-components/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Search Feature in fastn.com"); record.set("url", "/blog/search/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Quote contest"); record.set("url", "/quote-contest/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "A Content Writer’s Journey with fastn"); record.set("url", "/writer/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "fastn might prove you wrong"); record.set("url", "/prove/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "The Intimidation of Programming"); record.set("url", "/intimidation/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Optimize your website"); record.set("url", "/blog/seo-meta/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "trizwitlabs web event"); record.set("url", "/trizwitlabs/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "`fastn` goes to Philippines"); record.set("url", "/namaste-philippines/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Witty Hacks!"); record.set("url", "/wittyhacks/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Ahoy, Web Components!"); record.set("url", "/web-components/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Color Scheme"); record.set("url", "/colors/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Using Custom Breakpoints"); record.set("url", "/breakpoint/"); record.set("description", null); record.set("path", null); record.set("number", null); record.set("font_icon", null); record.set("img_src", null); record.set("bury", false); record.set("document", null); record.set("is_heading", false); record.set("is_disabled", false); record.set("is_active", false); record.set("is_open", false); record.set("children", fastn.mutableList([])); return record; }()])); return record; }()])); return record; }()])); record.set("subsections", fastn.mutableList([])); record.set("toc", fastn.mutableList([])); record.set("current_section", null); record.set("current_subsection", null); record.set("current_page", null); return record; }()); let fastn_com_content_library__footer = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { site_logo: null, logo_width: global.fastn_com_content_library__logo_width, logo_height: global.fastn_com_content_library__logo_height, site_url: null, site_name: null, bio: null, social: false, footer_list: global.fastn_com_content_library__footer_toc.get("subsections"), footer_links: global.fastn_com_content_library__footer_toc.get("sections"), social_links: global.fastn_com_content_library__social_links, copyright: "©2022 Fastn Inc.", full_width: true, max_width: null, }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "desktop"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_com_content_library__footer_desktop(root, inherited, { copyright: __args__.copyright, site_logo: __args__.site_logo, site_url: __args__.site_url, site_name: __args__.site_name, logo_width: __args__.logo_width, logo_height: __args__.logo_height, footer_links: __args__.footer_links, social_links: __args__.social_links, full_width: __args__.full_width, max_width: __args__.max_width }); return rooti0; } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "mobile"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_com_content_library__footer_mobile(root, inherited, { copyright: __args__.copyright, site_logo: __args__.site_logo, site_url: __args__.site_url, logo_width: __args__.logo_width, logo_height: __args__.logo_height, site_name: __args__.site_name, footer_links: __args__.footer_links, social_links: __args__.social_links }); return rooti0; } ]), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__footer"] = fastn_com_content_library__footer; fastn_utils.createNestedObject(global, "site_banner_fifthtry_site_assets__files.assets_cross_svg_dark", "-/site-banner.fifthtry.site/assets/cross-dark.svg"); let site_banner_fifthtry_site__cta_banner_desktop = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { body: null, hide: fastn.wrapMutable(false), mousein: fastn.wrapMutable(false), bgcolor: inherited.get("colors").get("scrim"), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); return fastn_dom.conditionalDom(parent, [ __args__.hide ], function () { return (!fastn_utils.getStaticValue(__args__.hide)); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Padding, fastn_dom.Length.Px(10), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(__args__.bgcolor), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MaxWidth, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(1024)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(10)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.body ], function () { return (fastn_utils.getStaticValue(__args__.body) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("button_medium"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.body, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, function () { let record = fastn.recordInstance({ }); record.set("light", inherited.get("colors").get("text_strong").get("dark")); record.set("dark", inherited.get("colors").get("text_strong").get("dark")); return record; }(), inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextAlign, fastn_dom.TextAlign.Center, inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("button_medium"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.cta_text, inherited); rooti0.addEventHandler(fastn_dom.Event.MouseEnter, function () { ftd.set_bool({ a: __args__.mousein, v: true, }, rooti0); }); rooti0.addEventHandler(fastn_dom.Event.MouseLeave, function () { ftd.set_bool({ a: __args__.mousein, v: false, }, rooti0); }); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderBottomWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, fastn.formula([inherited.get("colors").get("custom").get("three"), __args__.mousein], function () { if (function () { return fastn_utils.getStaticValue(__args__.mousein); }()) { return inherited.get("colors").get("custom").get("three"); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, fastn.formula([__args__.mousein], function () { if (function () { return fastn_utils.getStaticValue(__args__.mousein); }()) { return function () { let record = fastn.recordInstance({ }); record.set("light", inherited.get("colors").get("text_strong").get("dark")); record.set("dark", inherited.get("colors").get("text_strong").get("dark")); return record; }(); } else { return function () { let record = fastn.recordInstance({ }); record.set("light", inherited.get("colors").get("text_strong").get("dark")); record.set("dark", inherited.get("colors").get("text_strong").get("dark")); return record; }(); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.WhiteSpace, fastn_dom.WhiteSpace.NoWrap, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.cta_link, inherited); } ]), inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Anchor, fastn_dom.Anchor.Parent, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Top, fastn_dom.Length.Px(10), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Right, fastn_dom.Length.Px(24), inherited); rooti0.setProperty(fastn_dom.PropertyKind.ZIndex, 9999, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, function () { let record = fastn.recordInstance({ }); record.set("light", global.site_banner_fifthtry_site_assets__files.get("assets_cross_svg_dark")); record.set("dark", global.site_banner_fifthtry_site_assets__files.get("assets_cross_svg_dark")); return record; }(), inherited); rooti0.addEventHandler(fastn_dom.Event.Click, function () { ftd.set_bool({ a: __args__.hide, v: true, }, rooti0); }); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(24)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(24)), inherited); } ]), inherited); } ]), inherited); return rooti0; }).getParent(); } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["site_banner_fifthtry_site__cta_banner_desktop"] = site_banner_fifthtry_site__cta_banner_desktop; let site_banner_fifthtry_site__cta_banner_mobile = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { body: null, hide: fastn.wrapMutable(false), mousein: fastn.wrapMutable(false), bgcolor: inherited.get("colors").get("scrim"), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); return fastn_dom.conditionalDom(parent, [ __args__.hide ], function () { return (!fastn_utils.getStaticValue(__args__.hide)); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(48), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(16), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(__args__.bgcolor), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MaxWidth, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(1024)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(10)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.body ], function () { return (fastn_utils.getStaticValue(__args__.body) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("button_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.body, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, function () { let record = fastn.recordInstance({ }); record.set("light", inherited.get("colors").get("text_strong").get("dark")); record.set("dark", inherited.get("colors").get("text_strong").get("dark")); return record; }(), inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextAlign, fastn_dom.TextAlign.Center, inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("button_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.cta_text, inherited); rooti0.addEventHandler(fastn_dom.Event.MouseEnter, function () { ftd.set_bool({ a: __args__.mousein, v: true, }, rooti0); }); rooti0.addEventHandler(fastn_dom.Event.MouseLeave, function () { ftd.set_bool({ a: __args__.mousein, v: false, }, rooti0); }); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderBottomWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, fastn.formula([inherited.get("colors").get("custom").get("three"), __args__.mousein], function () { if (function () { return fastn_utils.getStaticValue(__args__.mousein); }()) { return inherited.get("colors").get("custom").get("three"); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, fastn.formula([__args__.mousein], function () { if (function () { return fastn_utils.getStaticValue(__args__.mousein); }()) { return function () { let record = fastn.recordInstance({ }); record.set("light", inherited.get("colors").get("text_strong").get("dark")); record.set("dark", inherited.get("colors").get("text_strong").get("dark")); return record; }(); } else { return function () { let record = fastn.recordInstance({ }); record.set("light", inherited.get("colors").get("text_strong").get("dark")); record.set("dark", inherited.get("colors").get("text_strong").get("dark")); return record; }(); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.WhiteSpace, fastn_dom.WhiteSpace.NoWrap, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.cta_link, inherited); } ]), inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Anchor, fastn_dom.Anchor.Parent, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginTop, fastn_dom.Length.Px( - 12), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Top, fastn_dom.Length.Percent(50), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Right, fastn_dom.Length.Px(12), inherited); rooti0.setProperty(fastn_dom.PropertyKind.ZIndex, 9999, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, function () { let record = fastn.recordInstance({ }); record.set("light", global.site_banner_fifthtry_site_assets__files.get("assets_cross_svg_dark")); record.set("dark", global.site_banner_fifthtry_site_assets__files.get("assets_cross_svg_dark")); return record; }(), inherited); rooti0.addEventHandler(fastn_dom.Event.Click, function () { ftd.set_bool({ a: __args__.hide, v: true, }, rooti0); }); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(24)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(24)), inherited); } ]), inherited); } ]), inherited); return rooti0; }).getParent(); } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["site_banner_fifthtry_site__cta_banner_mobile"] = site_banner_fifthtry_site__cta_banner_mobile; let site_banner_fifthtry_site__cta_banner = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { body: null, hide: fastn.wrapMutable(false), mousein: fastn.wrapMutable(false), bgcolor: inherited.get("colors").get("scrim"), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "desktop"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = site_banner_fifthtry_site__cta_banner_desktop(root, inherited, { body: __args__.body, cta_text: __args__.cta_text, cta_link: __args__.cta_link, hide: fastn.wrapMutable(__args__.hide), mousein: fastn.wrapMutable(__args__.mousein), bgcolor: __args__.bgcolor }); return rooti0; } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "mobile"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = site_banner_fifthtry_site__cta_banner_mobile(root, inherited, { body: __args__.body, cta_text: __args__.cta_text, cta_link: __args__.cta_link, hide: fastn.wrapMutable(__args__.hide), mousein: fastn.wrapMutable(__args__.mousein), bgcolor: __args__.bgcolor }); return rooti0; } ]), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["site_banner_fifthtry_site__cta_banner"] = site_banner_fifthtry_site__cta_banner; let fastn_com_utils__compact_text = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { body: null, inner: fastn.mutableList([]), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingTop, fastn_dom.Length.Px(14), inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingBottom, fastn_dom.Length.Px(16), inherited); parenti0.setProperty(fastn_dom.PropertyKind.BorderBottomWidth, fastn_dom.Length.Px(1), inherited); parenti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Region, fastn_dom.Region.H4, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingTop, fastn_dom.Length.Px(8), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingBottom, fastn_dom.Length.Px(16), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.body ], function () { return (fastn_utils.getStaticValue(__args__.body) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("fine_print"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.body, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Classes, fastn.mutableList(["markdown"]), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, __args__.inner, inherited); } ]), inherited); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_utils__compact_text"] = fastn_com_utils__compact_text; fastn_utils.createNestedObject(global, "fastn_com_assets__files.assets_cross_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/assets/cross.svg"); record.set("dark", "-/fastn.com/assets/cross-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.assets_notification_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/assets/notification.svg"); record.set("dark", "-/fastn.com/assets/notification-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.notification_ui_js", "-/fastn.com/notification-ui.js"); let fastn_com_notification__notification_ui = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { notifications: fastn.mutableList([]), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.WebComponent("notification-ui", __args__)); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_notification__notification_ui"] = fastn_com_notification__notification_ui; fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_students_program_champions_rithik_jpg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/students-program/champions/rithik.jpg"); record.set("dark", "-/fastn.com/images/students-program/champions/rithik-dark.jpg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_blog_authors__rithik", function () { let record = fastn.recordInstance({ }); record.set("title", "Rithik Seth"); record.set("profile", "Software Developer"); record.set("company", "FifthTry"); record.set("bio_url", "https://github.com/heulitig"); record.set("image", global.fastn_com_assets__files.get("images_students_program_champions_rithik_jpg")); record.set("body", "Working in FifthTry."); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_blog_breakpoint__index_meta", function () { let record = fastn.recordInstance({ }); record.set("title", "Using Custom Breakpoints"); record.set("published_on", "November 3, 2023 at 3:40 pm"); record.set("post_image", null); record.set("body", "Today, in this blog we will see how fastn allows the use of user-defined\ncustom breakpoints. Although currently we can only modify the\ndefault breakpoint when using [`ftd.document`](/document/).\nWe have covered the below mentioned points.\n\n- How to define a custom breakpoint\n- Defining custom breakpoint"); record.set("post_url", "/breakpoint/"); record.set("author", global.fastn_com_blog_authors__rithik); record.set("social_list", fastn.mutableList([])); record.set("tags", fastn.mutableList([])); record.set("read_time", null); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_notification__notifications", fastn.mutableList([function () { let record = fastn.recordInstance({ }); record.set("title", global.fastn_com_blog_breakpoint__index_meta.get("title")); record.set("link", global.fastn_com_blog_breakpoint__index_meta.get("post_url")); record.set("published_on", "2023-11-03"); record.set("description", global.fastn_com_blog_breakpoint__index_meta.get("body")); record.set("image", null); record.set("uis", fastn.mutableList([])); return record; }(), function () { let record = fastn.recordInstance({ }); record.set("title", "Exploring the Search Feature in fastn.com"); record.set("link", "/blog/search/"); record.set("published_on", "2023-09-01"); record.set("description", "With the vast amount of content available online, users can often find\nthemselves lost in a sea of information. Without a search tool, finding what\nyou're looking for can be a time-consuming and frustrating task. fastn.com\nrecognizes this challenge and has implemented a search feature to help users\ndiscover content quickly and effortlessly. This is one of the most requested\nfeature in fastn.com.\n\nIn this blog post, we'll explore the ins and outs of this tool and show you how\nto make the most of it."); record.set("image", null); record.set("uis", fastn.mutableList([])); return record; }()])); fastn_utils.createNestedObject(global, "fastn_com_assets__files.functions_js", "-/fastn.com/functions.js"); let fastn_com_notification__calculate_date = function (args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = fastn_utils.getArgs({ }, args); return (calculateDate(__args__.date)); } catch (e) { if (!ssr) { throw e; } } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_notification__calculate_date"] = fastn_com_notification__calculate_date; let fastn_com_notification__display_notification = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Rem(1), inherited); parenti0.setProperty(fastn_dom.PropertyKind.BorderBottomWidth, fastn_dom.Length.Px(1), inherited); parenti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.notification.get("link") ], function () { return (fastn_utils.getStaticValue(__args__.notification.get("link")) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.notification.get("title"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingBottom, fastn_dom.Length.Rem(0.75), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.notification.get("link"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextStyle, fastn.mutableList([fastn_dom.TextStyle.Underline]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.notification.get("link") ], function () { return (fastn_utils.getStaticValue(__args__.notification.get("link")) == null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.notification.get("title"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingBottom, fastn_dom.Length.Rem(0.75), inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextStyle, fastn.mutableList([fastn_dom.TextStyle.Underline]), inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("fine_print"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, fastn.formula([__args__.notification.get("published_on")], function () { return fastn_com_notification__calculate_date({ date: __args__.notification.get("published_on"), }, rooti0); }), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingBottom, fastn_dom.Length.Rem(1.25), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.notification.get("image") ], function () { return (fastn_utils.getStaticValue(__args__.notification.get("image")) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.notification.get("image"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingBottom, fastn_dom.Length.Rem(1.25), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.notification.get("description") ], function () { return (fastn_utils.getStaticValue(__args__.notification.get("description")) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.notification.get("description"), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_notification__display_notification"] = fastn_com_notification__display_notification; fastn_utils.createNestedObject(global, "fastn_com_notification__s", function () { let record = fastn.recordInstance({ }); record.set("x_offset", fastn_dom.Length.Px(10)); record.set("y_offset", fastn_dom.Length.Px(2)); record.set("blur", fastn_dom.Length.Px(12)); record.set("spread", fastn_dom.Length.Px(0)); record.set("color", function () { let record = fastn.recordInstance({ }); record.set("light", "#b0b8be1a"); record.set("dark", "#b0b8be1a"); return record; }()); record.set("inset", false); return record; }()); let fastn_com_FASTN_ds__overlay = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { types: global.fastn_typography_fifthtry_site__types, colors: global.dark_flame_cs_fifthtry_site__main, uis: fastn.mutableList([]), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Anchor, fastn_dom.Anchor.Window, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Overflow, fastn_dom.Overflow.Auto, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Top, fastn_dom.Length.Px(0), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Bottom, fastn_dom.Length.Px(0), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Left, fastn_dom.Length.Px(0), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Right, fastn_dom.Length.Px(0), inherited); parenti0.setProperty(fastn_dom.PropertyKind.ZIndex, 9999, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(function () { let record = fastn.recordInstance({ }); record.set("light", "#000000b3"); record.set("dark", "#000000b3"); return record; }()), inherited); let __$$inherited$$__parenti0 = function () { let record = fastn.recordInstance({ ...inherited.getAllFields(), }); record.set("colors", __args__.colors); record.set("types", __args__.types); return record; }(); parenti0.setProperty(fastn_dom.PropertyKind.Children, __args__.uis, __$$inherited$$__parenti0); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_FASTN_ds__overlay"] = fastn_com_FASTN_ds__overlay; let fastn_com_notification__length = function (args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = fastn_utils.getArgs({ notifications: fastn.mutableList([]), }, args); return (len(__args__.notifications)); } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_notification__length"] = fastn_com_notification__length; let fastn_com_notification__display_notifications = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { notifications: global.fastn_com_notification__notifications, show: fastn.wrapMutable(false), show_number: fastn.wrapMutable(true), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); __args__.length = __args__.length ? __args__.length : fastn.formula([__args__.notifications], function () { return fastn_com_notification__length({ notifications: __args__.notifications, }); }); return fastn_dom.conditionalDom(parent, [ __args__.length ], function () { return (fastn_utils.getStaticValue(__args__.length) !== 0); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.ContainerElement); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.addEventHandler(fastn_dom.Event.Click, function () { ftd.set_boolean({ a: __args__.show, v: true, }, rooti0); }); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, global.fastn_com_assets__files.get("assets_notification_svg"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(30)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginLeft, fastn_dom.Length.Px(10), inherited); }, function (root, inherited) { let rooti0 = fastn_com_notification__notification_ui(root, inherited, { margin_left: fastn_dom.Length.Px( - 7), margin_top: fastn_dom.Length.Px( - 4), notifications: global.fastn_com_notification__notifications, remove: __args__.show }); } ]), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.show ], function () { return fastn_utils.getStaticValue(__args__.show); }, function (root) { let rooti0 = fastn_com_FASTN_ds__overlay(root, inherited, { uis: fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Anchor, fastn_dom.Anchor.Window, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Rem(0.25), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Top, fastn_dom.Length.Px(0), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Right, fastn_dom.Length.Px(0), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("step_1")), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MaxWidth, fastn_dom.Resizing.Fixed(fastn_dom.Length.Rem(42)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Shadow, global.fastn_com_notification__s, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderBottomWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, global.fastn_com_assets__files.get("assets_cross_svg"), inherited); rooti0.addEventHandler(fastn_dom.Event.Click, function () { ftd.set_boolean({ a: __args__.show, v: false, }, rooti0); }); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.End, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(30)), inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Padding, fastn_dom.Length.Rem(1.5), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Overflow, fastn_dom.Overflow.Scroll, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { __args__.notifications.forLoop(root, function (root, item, index) { let rooti0 = fastn_com_notification__display_notification(root, inherited, { notification: item }); return rooti0; }); } ]), inherited); } ]), inherited); } ]) }); return rooti0; }); } ]), inherited); return rooti0; }).getParent(); } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_notification__display_notifications"] = fastn_com_notification__display_notifications; let fastn_com_FASTN_ds__page = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { wrapper: fastn.mutableList([]), title: null, body: null, sidebar: false, document_title: null, document_description: null, document_image: function () { let record = fastn.recordInstance({ }); record.set("src", "https://fastn.com/-/fastn.com/images/fastn-logo.png"); return record; }(), site_name: null, site_logo: global.fastn_com_assets__files.get("images_fastn_svg"), github_icon: true, github_url: "https://github.com/fastn-stack/fastn", full_width: false, types: global.fastn_typography_fifthtry_site__types, colors: global.dark_flame_cs_fifthtry_site__main, logo_width: 120, logo_height: 38, show_footer: true, show_banner: true, favicon: null, search: true, search_url: "/search/", fluid_wrap: fastn.mutableList([]), footer: fastn.mutableList([function (root, inherited) { let rooti0 = fastn_com_content_library__footer(root, inherited, { site_logo: global.fastn_com_assets__files.get("images_fastn_svg"), site_url: "/", social_links: global.fastn_com_content_library__social_links, copyright: "Copyright © 2023 - fastn.com", full_width: false, max_width: fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(1340)) }); } ]), banner: fastn.mutableList([function (root, inherited) { let rooti0 = site_banner_fifthtry_site__cta_banner(root, inherited, { body: "Learn full-stack web development using fastn in a week", cta_text: "Learn Now", cta_link: "/learn/", bgcolor: inherited.get("colors").get("cta_primary").get("base") }); } ]), right_sidebar: fastn.mutableList([function (root, inherited) { let rooti0 = fastn_com_utils__compact_text(root, inherited, { title: "Support `fastn`!", body: "Enjoying `fastn`? Please consider giving us a star ⭐️ on\n[GitHub](https://github.com/fastn-stack/fastn) to show your support!" }); }, function (root, inherited) { let rooti0 = fastn_com_utils__compact_text(root, inherited, { title: "Getting Help", body: "Have a question or need help?\n\nVisit our [GitHub Q&A discussion](https://github.com/fastn-stack/fastn/discussions/categories/q-a)\nto get answers and subscribe to it to stay tuned.\n\nJoin our [Discord](https://discord.gg/a7eBUeutWD) channel and share your\nthoughts, suggestion, question etc.\n\nConnect with our [community](/community/)!" }); }, function (root, inherited) { let rooti0 = fastn_com_utils__compact_text(root, inherited, { title: "Found an issue?", body: "If you find some issue, please visit our [GitHub\nissues](https://github.com/fastn-stack/fastn/issues) to tell us about it." }); }, function (root, inherited) { let rooti0 = fastn_com_utils__compact_text(root, inherited, { title: "Quick links:", body: "- [Install `fastn`](install/)\n- [Create `fastn` package](create-fastn-package/)\n- [Expander Crash Course](expander/)\n- [Syntax Highlighting in Sublime Text](/sublime/)" }); }, function (root, inherited) { let rooti0 = fastn_com_utils__compact_text(root, inherited, { title: "Join us", body: "We welcome you to join our [Discord](https://discord.gg/a7eBUeutWD) community\ntoday.\n\nWe are trying to create the language for human beings and we do not believe it\nwould be possible without your support. We would love to hear from you." }); } ]), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = doc_site_fifthtry_site__page(parent, inherited, { title: __args__.title, document_title: __args__.document_title, document_description: __args__.document_description, document_image: __args__.document_image, body: __args__.body, site_logo: __args__.site_logo, logo_width: __args__.logo_width, logo_height: __args__.logo_height, site_url: "/", site_name: __args__.site_name, sidebar: __args__.sidebar, wrapper: fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.addEventHandler(fastn_dom.Event.GlobalKey(["/"]), function () { fastn_com_FASTN_ds__open_search({ }, rooti0); }); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginTop, fastn.formula([ftd.device], function () { if (function () { return (fastn_utils.getStaticValue(ftd.device) == "mobile"); }()) { return fastn_dom.Length.Em(0.5); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Em(0.8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, __args__.wrapper, inherited); } ]), right_sidebar: __args__.right_sidebar, full_width: __args__.full_width, types: __args__.types, colors: __args__.colors, show_banner: __args__.show_banner, banner: __args__.banner, show_footer: __args__.show_footer, footer: __args__.footer, github_icon: __args__.github_icon, github_url: __args__.github_url, header_logo_ui: fastn.mutableList([function (root, inherited) { let rooti0 = fastn_com_notification__display_notifications(root, inherited); } ]), favicon: __args__.favicon, search: __args__.search, search_url: __args__.search_url, fluid_width: false, max_width: fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(1340)), fluid_wrap: __args__.fluid_wrap }); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_FASTN_ds__page"] = fastn_com_FASTN_ds__page; fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_discord_3k_png", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/discord-3k.png"); record.set("dark", "-/fastn.com/images/landing/discord-3k-dark.png"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_govindaraman_lab_png", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/govindaraman_lab.png"); record.set("dark", "-/fastn.com/images/landing/govindaraman_lab-dark.png"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_students_program_champions_jahanvi_raycha_jpg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/students-program/champions/jahanvi-raycha.jpg"); record.set("dark", "-/fastn.com/images/students-program/champions/jahanvi-raycha-dark.jpg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_swapnendu_banerjee_png", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/swapnendu-banerjee.png"); record.set("dark", "-/fastn.com/images/landing/swapnendu-banerjee-dark.png"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_rutuja_kapate_png", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/rutuja-kapate.png"); record.set("dark", "-/fastn.com/images/landing/rutuja-kapate-dark.png"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_card_img_3_png", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/card-img-3.png"); record.set("dark", "-/fastn.com/images/landing/card-img-3-dark.png"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_triangle_3_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/triangle-3.svg"); record.set("dark", "-/fastn.com/images/landing/triangle-3-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_card_img_2_png", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/card-img-2.png"); record.set("dark", "-/fastn.com/images/landing/card-img-2-dark.png"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_triangle_2_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/triangle-2.svg"); record.set("dark", "-/fastn.com/images/landing/triangle-2-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_card_img_1_png", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/card-img-1.png"); record.set("dark", "-/fastn.com/images/landing/card-img-1-dark.png"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_triangle_1_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/triangle-1.svg"); record.set("dark", "-/fastn.com/images/landing/triangle-1-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_stack_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/stack.svg"); record.set("dark", "-/fastn.com/images/landing/stack-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_arrow_up_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/arrow-up.svg"); record.set("dark", "-/fastn.com/images/landing/arrow-up-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_cube_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/cube.svg"); record.set("dark", "-/fastn.com/images/landing/cube-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_image_placeholder_3_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/image-placeholder-3.svg"); record.set("dark", "-/fastn.com/images/landing/image-placeholder-3-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_image_placeholder_2_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/image-placeholder-2.svg"); record.set("dark", "-/fastn.com/images/landing/image-placeholder-2-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_image_placeholder_1_png", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/image-placeholder-1.png"); record.set("dark", "-/fastn.com/images/landing/image-placeholder-1-dark.png"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_face_icon_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/face-icon.svg"); record.set("dark", "-/fastn.com/images/landing/face-icon-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_saturated_cs_png", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/saturated-cs.png"); record.set("dark", "-/fastn.com/images/landing/saturated-cs-dark.png"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_forest_cs_png", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/forest-cs.png"); record.set("dark", "-/fastn.com/images/landing/forest-cs-dark.png"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_winter_cs_png", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/winter-cs.png"); record.set("dark", "-/fastn.com/images/landing/winter-cs-dark.png"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_right_video_png", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/right-video.png"); record.set("dark", "-/fastn.com/images/landing/right-video-dark.png"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_smile_icon_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/smile-icon.svg"); record.set("dark", "-/fastn.com/images/landing/smile-icon-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_hero_image_7_png", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/hero-image-7.png"); record.set("dark", "-/fastn.com/images/landing/hero-image-7-dark.png"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_hero_image_6_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/hero-image-6.svg"); record.set("dark", "-/fastn.com/images/landing/hero-image-6-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_icon_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/icon.svg"); record.set("dark", "-/fastn.com/images/landing/icon-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_hero_image_5_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/hero-image-5.svg"); record.set("dark", "-/fastn.com/images/landing/hero-image-5-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_hero_image_4_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/hero-image-4.svg"); record.set("dark", "-/fastn.com/images/landing/hero-image-4-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_triangle_three_icon_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/triangle-three-icon.svg"); record.set("dark", "-/fastn.com/images/landing/triangle-three-icon-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_hero_image_3_png", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/hero-image-3.png"); record.set("dark", "-/fastn.com/images/landing/hero-image-3-dark.png"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_hero_image_2_png", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/hero-image-2.png"); record.set("dark", "-/fastn.com/images/landing/hero-image-2-dark.png"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_hero_image_1_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/hero-image-1.svg"); record.set("dark", "-/fastn.com/images/landing/hero-image-1-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_crash_course_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/crash-course.svg"); record.set("dark", "-/fastn.com/images/landing/crash-course-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_card_bg_png", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/card-bg.png"); record.set("dark", "-/fastn.com/images/landing/card-bg-dark.png"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_two_triangle_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/two-triangle.svg"); record.set("dark", "-/fastn.com/images/landing/two-triangle-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_square_icon_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/square-icon.svg"); record.set("dark", "-/fastn.com/images/landing/square-icon-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_nandini_png", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/nandini.png"); record.set("dark", "-/fastn.com/images/landing/nandini-dark.png"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_chat_group_png", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/chat-group.png"); record.set("dark", "-/fastn.com/images/landing/chat-group-dark.png"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_background_png", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/background.png"); record.set("dark", "-/fastn.com/images/landing/background-dark.png"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_content_library__background", function () { let record = fastn.recordInstance({ }); record.set("src", global.fastn_com_assets__files.get("images_landing_background_png")); record.set("repeat", fastn_dom.BackgroundRepeat.NoRepeat); record.set("size", fastn_dom.BackgroundSize.Cover); record.set("position", fastn_dom.BackgroundPosition.CenterTop); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_mouse_icon_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/mouse-icon.svg"); record.set("dark", "-/fastn.com/images/landing/mouse-icon-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_arrow_icon_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/arrow-icon.svg"); record.set("dark", "-/fastn.com/images/landing/arrow-icon-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_doc_icon_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/doc-icon.svg"); record.set("dark", "-/fastn.com/images/landing/doc-icon-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_zig_zag_png", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/zig-zag.png"); record.set("dark", "-/fastn.com/images/landing/zig-zag-dark.png"); return record; }()); let fastn_com_content_library__cta_secondary_medium = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { icon: null, mouse_in: fastn.wrapMutable(false), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Row); parenti0.addEventHandler(fastn_dom.Event.MouseLeave, function () { ftd.set_bool({ a: __args__.mouse_in, v: false, }, parenti0); }); parenti0.addEventHandler(fastn_dom.Event.MouseEnter, function () { ftd.set_bool({ a: __args__.mouse_in, v: true, }, parenti0); }); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(24), inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(12), inherited); parenti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(58), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Background, fastn.formula([__args__.mouse_in], function () { if (function () { return fastn_utils.getStaticValue(__args__.mouse_in); }()) { return fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("border_strong")); } else { return fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("border")); } } ), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Link, __args__.link, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("button_small"), inherited); parenti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(4)), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.icon ], function () { return (fastn_utils.getStaticValue(__args__.icon) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.icon, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(24)), inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__cta_secondary_medium"] = fastn_com_content_library__cta_secondary_medium; let fastn_com_content_library__cta_primary_large = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { icon: null, mouse_in: fastn.wrapMutable(false), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Row); parenti0.addEventHandler(fastn_dom.Event.MouseLeave, function () { ftd.set_bool({ a: __args__.mouse_in, v: false, }, parenti0); }); parenti0.addEventHandler(fastn_dom.Event.MouseEnter, function () { ftd.set_bool({ a: __args__.mouse_in, v: true, }, parenti0); }); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(24), inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(12), inherited); parenti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(58), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("cta_tertiary").get("text"), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Background, fastn.formula([__args__.mouse_in], function () { if (function () { return fastn_utils.getStaticValue(__args__.mouse_in); }()) { return fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("cta_primary").get("hover")); } else { return fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("cta_primary").get("base")); } } ), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Link, __args__.link, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("button_medium"), inherited); parenti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(4)), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.icon ], function () { return (fastn_utils.getStaticValue(__args__.icon) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.icon, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(18)), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__cta_primary_large"] = fastn_com_content_library__cta_primary_large; let fastn_com_content_library__hero_section = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { subtitle: null, know_more: null, mouse_in: fastn.wrapMutable(false), hover: fastn.wrapMutable(false), primary_cta_link: null, primary_cta: null, secondary_cta_link: null, secondary_cta: null, }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "desktop"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Image(global.fastn_com_content_library__background), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingBottom, fastn_dom.Length.Em(5), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MaxWidth, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(730)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(40)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_hero"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextAlign, fastn_dom.TextAlign.Center, inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, global.fastn_com_assets__files.get("images_landing_zig_zag_png"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Anchor, fastn_dom.Anchor.Parent, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(162)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Top, fastn_dom.Length.Px(145), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Left, fastn_dom.Length.Px(242), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_large"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.body, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Percent(65)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextAlign, fastn_dom.TextAlign.Center, inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(420)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(16)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_com_content_library__cta_secondary_medium(root, inherited, { title: __args__.primary_cta, link: __args__.primary_cta_link, icon: global.fastn_com_assets__files.get("images_landing_doc_icon_svg") }); }, function (root, inherited) { let rooti0 = fastn_com_content_library__cta_primary_large(root, inherited, { title: __args__.secondary_cta, link: __args__.secondary_cta_link, icon: global.fastn_com_assets__files.get("images_landing_arrow_icon_svg") }); } ]), inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingBottom, fastn_dom.Length.Px(98), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.subtitle, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextStyle, fastn.mutableList([fastn_dom.TextStyle.SemiBold]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(24), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(8), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(4)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, global.fastn_com_assets__files.get("images_landing_mouse_icon_svg"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(24)), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.know_more, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); } ]), inherited); } ]), inherited); } ]), inherited); return rooti0; } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "mobile"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(24), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Image(global.fastn_com_content_library__background), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingTop, fastn.formula([], function () { fastn_dom.Length.Em(0) } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingBottom, fastn_dom.Length.Px(26), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MaxWidth, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(600)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(40)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_medium"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextAlign, fastn_dom.TextAlign.Center, inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.body, inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextAlign, fastn_dom.TextAlign.Center, inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(225)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(34)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_com_content_library__cta_secondary_medium(root, inherited, { title: __args__.primary_cta, link: __args__.primary_cta_link, icon: global.fastn_com_assets__files.get("images_landing_doc_icon_svg") }); }, function (root, inherited) { let rooti0 = fastn_com_content_library__cta_primary_large(root, inherited, { title: __args__.secondary_cta, link: __args__.secondary_cta_link, icon: global.fastn_com_assets__files.get("images_landing_arrow_icon_svg") }); } ]), inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingTop, fastn_dom.Length.Px(24), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingBottom, fastn_dom.Length.Px(98), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_medium"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.subtitle, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextAlign, fastn_dom.TextAlign.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextStyle, fastn.mutableList([fastn_dom.TextStyle.SemiBold]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(24), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(8), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(4)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, global.fastn_com_assets__files.get("images_landing_mouse_icon_svg"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(24)), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.know_more, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); } ]), inherited); } ]), inherited); } ]), inherited); return rooti0; } ]), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__hero_section"] = fastn_com_content_library__hero_section; let fastn_com_content_library__hero_content = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_com_content_library__hero_section(parent, inherited, { title: "Build your next web project faster with fastn", body: "An easy-to-learn, open-source solution for building\nmodern content-centric and database-driven websites.", subtitle: "fastn is the best choice to build your company’s website", know_more: "Scroll to know why", primary_cta_link: "/r/acme/", primary_cta: "Try", secondary_cta_link: "/quick-build/", secondary_cta: "Get started" }); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__hero_content"] = fastn_com_content_library__hero_content; fastn_utils.createNestedObject(global, "fastn_com_content_library__max_width", 1120); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_back_group_image_png", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/back-group-image.png"); record.set("dark", "-/fastn.com/images/landing/back-group-image-dark.png"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_content_library__background_img", function () { let record = fastn.recordInstance({ }); record.set("src", global.fastn_com_assets__files.get("images_landing_back_group_image_png")); record.set("repeat", fastn_dom.BackgroundRepeat.NoRepeat); record.set("size", null); record.set("position", null); return record; }()); let fastn_com_content_library__cta_primary_small = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { icon: null, mouse_in: fastn.wrapMutable(false), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Row); parenti0.addEventHandler(fastn_dom.Event.MouseLeave, function () { ftd.set_bool({ a: __args__.mouse_in, v: false, }, parenti0); }); parenti0.addEventHandler(fastn_dom.Event.MouseEnter, function () { ftd.set_bool({ a: __args__.mouse_in, v: true, }, parenti0); }); parenti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(24), inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(12), inherited); parenti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(58), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Background, fastn.formula([__args__.mouse_in], function () { if (function () { return fastn_utils.getStaticValue(__args__.mouse_in); }()) { return fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("cta_primary").get("hover")); } else { return fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("cta_primary").get("base")); } } ), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Link, __args__.link, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("button_medium"), inherited); parenti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(4)), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.icon ], function () { return (fastn_utils.getStaticValue(__args__.icon) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.icon, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(18)), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__cta_primary_small"] = fastn_com_content_library__cta_primary_small; let fastn_com_content_library__code = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { code_bg: inherited.get("colors").get("background").get("code"), body: null, lang: null, }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(12), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Code); rooti0.setProperty(fastn_dom.PropertyKind.Code, __args__.body, inherited); rooti0.setProperty(fastn_dom.PropertyKind.CodeLanguage, __args__.lang, inherited); rooti0.setProperty(fastn_dom.PropertyKind.CodeTheme, "fastn-theme.dark", inherited); rooti0.setProperty(fastn_dom.PropertyKind.CodeShowLineNumber, true, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingRight, fastn_dom.Length.Px(20), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginTop, fastn_dom.Length.Px( - 10), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderBottomLeftRadius, fastn_dom.Length.Px(8), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderBottomRightRadius, fastn_dom.Length.Px(8), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn.formula([__args__.code_bg], function () { if (function () { return (fastn_utils.getStaticValue(__args__.code_bg) !== null); }()) { return fastn_dom.BackgroundStyle.Solid(__args__.code_bg); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MaxHeight, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(310)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MinHeight, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(310)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.WhiteSpace, fastn_dom.WhiteSpace.BreakSpaces, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__code"] = fastn_com_content_library__code; let fastn_com_content_library__code_block_system = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { title: null, bgcolor: inherited.get("colors").get("background").get("base"), code_bg: inherited.get("colors").get("background").get("code"), body: null, lang: null, show_double: true, code: fastn.mutableList([]), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "desktop"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(12), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(__args__.bgcolor), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MaxHeight, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(354)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MinHeight, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(354)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MaxWidth, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(650)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderBottomWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(18), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(10)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(14), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(10)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(14)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(14)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(100), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("cta_danger").get("pressed")), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(14)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(14)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(100), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("custom").get("three")), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(14)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(14)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(100), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("custom").get("one")), inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(14), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(14), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginBottom, fastn_dom.Length.Px( - 1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderBottomWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderLeftWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRightWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderBottomColor, inherited.get("colors").get("background").get("code"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.title ], function () { return (fastn_utils.getStaticValue(__args__.title) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("label_large"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); return rooti0; }); } ]), inherited); } ]), inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_com_content_library__code(root, inherited, { code_bg: __args__.code_bg, body: __args__.body, lang: __args__.lang }); } ]), inherited); } ]), inherited); return rooti0; } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "mobile"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(15), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(__args__.bgcolor), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MaxHeight, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(300)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderBottomWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(18), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(14), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRightWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(10)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(14)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(14)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(100), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("cta_danger").get("pressed")), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(14)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(14)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(100), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("custom").get("three")), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(14)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(14)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(100), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("custom").get("one")), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Anchor, fastn_dom.Anchor.Parent, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(48)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRightWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Top, fastn_dom.Length.Px(0), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Left, fastn_dom.Length.Px(88), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.title ], function () { return (fastn_utils.getStaticValue(__args__.title) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("label_large"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginLeft, fastn_dom.Length.Px(14), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); return rooti0; }); } ]), inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.OverflowY, fastn_dom.Overflow.Auto, inherited); rooti0.setProperty(fastn_dom.PropertyKind.WhiteSpace, fastn_dom.WhiteSpace.BreakSpaces, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_com_content_library__code(root, inherited, { code_bg: __args__.code_bg, body: __args__.body, lang: __args__.lang }); } ]), inherited); } ]), inherited); return rooti0; } ]), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__code_block_system"] = fastn_com_content_library__code_block_system; let fastn_com_content_library__feature_card = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { icon: null, feature: null, body: null, code: null, cta_text: null, cta_link: null, image: null, move_left: false, transparent: false, cards: fastn.mutableList([]), additional_cards: fastn.mutableList([]), is_child: false, }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn.formula([ftd.device], function () { if (function () { return (fastn_utils.getStaticValue(ftd.device) == "desktop"); }()) { return fastn_dom.Length.Px(24); } } ), inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingTop, fastn.formula([ftd.device], function () { if (function () { return (fastn_utils.getStaticValue(ftd.device) == "desktop"); }()) { return fastn_dom.Length.Px(80); } } ), inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingBottom, fastn.formula([ftd.device], function () { if (function () { return (fastn_utils.getStaticValue(ftd.device) == "desktop"); }()) { return fastn_dom.Length.Px(57); } } ), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Background, fastn.formula([__args__.transparent], function () { if (function () { return (!fastn_utils.getStaticValue(__args__.transparent)); }()) { return fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("step_1")); } } ), inherited); parenti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "desktop"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MaxWidth, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(global.fastn_com_content_library__max_width)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(40)), inherited); return rooti0; }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Anchor, fastn_dom.Anchor.Parent, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(266)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(220)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Top, fastn_dom.Length.Px(65), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Right, fastn_dom.Length.Px(24), inherited); rooti0.setProperty(fastn_dom.PropertyKind.ZIndex, 1, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Image(global.fastn_com_content_library__background_img), inherited); return rooti0; }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.ZIndex, 5, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MaxWidth, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(global.fastn_com_content_library__max_width)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(40)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(888)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(24)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.icon, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(70)), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_large"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingTop, fastn_dom.Length.Px(8), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.body ], function () { return (fastn_utils.getStaticValue(__args__.body) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.body, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); return rooti0; }); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_com_content_library__cta_primary_small(root, inherited, { title: __args__.cta_text, link: __args__.cta_link, icon: global.fastn_com_assets__files.get("images_landing_arrow_icon_svg") }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.code ], function () { return (fastn_utils.getStaticValue(__args__.code) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginTop, fastn_dom.Length.Px(22), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(24)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.move_left ], function () { return fastn_utils.getStaticValue(__args__.move_left); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Percent(48)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Padding, fastn_dom.Length.Px(41), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(8), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MaxHeight, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(344)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.image ], function () { return (fastn_utils.getStaticValue(__args__.image) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.image, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Fit, fastn_dom.Fit.contain, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(300)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(8), inherited); return rooti0; }); } ]), inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Percent(48)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_com_content_library__code_block_system(root, inherited, { title: "Fastn.com", body: __args__.code, lang: "ftd" }); } ]), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.move_left ], function () { return (!fastn_utils.getStaticValue(__args__.move_left)); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Percent(48)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Padding, fastn_dom.Length.Px(41), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(8), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MaxHeight, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(354)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.image ], function () { return (fastn_utils.getStaticValue(__args__.image) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.image, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Fit, fastn_dom.Fit.contain, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(300)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(8), inherited); return rooti0; }); } ]), inherited); return rooti0; }); } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.cards ], function () { return (fastn_utils.getStaticValue(__args__.cards) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.SpaceBetween, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, __args__.cards, inherited); return rooti0; }); } ]), inherited); return rooti0; }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.SpaceBetween, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, __args__.additional_cards, inherited); return rooti0; } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "mobile"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Padding, fastn.formula([__args__.transparent], function () { if (function () { return (!fastn_utils.getStaticValue(__args__.transparent)); }()) { return fastn_dom.Length.Px(24); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn.formula([__args__.is_child], function () { if (function () { return (!fastn_utils.getStaticValue(__args__.is_child)); }()) { return fastn_dom.Length.Px(24); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(16), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn.formula([__args__.transparent], function () { if (function () { return (!fastn_utils.getStaticValue(__args__.transparent)); }()) { return fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("step_1")); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(32)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(16)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.icon, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(46)), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_medium"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.body ], function () { return (fastn_utils.getStaticValue(__args__.body) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.body, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); return rooti0; }); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_com_content_library__cta_primary_small(root, inherited, { title: __args__.cta_text, link: __args__.cta_link, icon: global.fastn_com_assets__files.get("images_landing_arrow_icon_svg") }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.code ], function () { return (fastn_utils.getStaticValue(__args__.code) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(24)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.move_left ], function () { return fastn_utils.getStaticValue(__args__.move_left); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(8), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.image ], function () { return (fastn_utils.getStaticValue(__args__.image) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.image, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Fit, fastn_dom.Fit.contain, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(300)), inherited); return rooti0; }); } ]), inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MaxHeight, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(344)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_com_content_library__code_block_system(root, inherited, { title: "Fastn.com", body: __args__.code, lang: "ftd" }); } ]), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.move_left ], function () { return (!fastn_utils.getStaticValue(__args__.move_left)); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(8), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.image ], function () { return (fastn_utils.getStaticValue(__args__.image) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.image, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Fit, fastn_dom.Fit.contain, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(300)), inherited); return rooti0; }); } ]), inherited); return rooti0; }); } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.cards ], function () { return (fastn_utils.getStaticValue(__args__.cards) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(24)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, __args__.cards, inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.SpaceBetween, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, __args__.additional_cards, inherited); } ]), inherited); return rooti0; } ]), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__feature_card"] = fastn_com_content_library__feature_card; fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_bg_1_png", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/bg-1.png"); record.set("dark", "-/fastn.com/images/landing/bg-1-dark.png"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_content_library__bg_image_1", function () { let record = fastn.recordInstance({ }); record.set("src", global.fastn_com_assets__files.get("images_landing_bg_1_png")); record.set("repeat", fastn_dom.BackgroundRepeat.NoRepeat); record.set("size", null); record.set("position", null); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_quote_right_small_png", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/quote-right-small.png"); record.set("dark", "-/fastn.com/images/landing/quote-right-small-dark.png"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_quote_left_small_png", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/quote-left-small.png"); record.set("dark", "-/fastn.com/images/landing/quote-left-small-dark.png"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_quote_right_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/quote-right.svg"); record.set("dark", "-/fastn.com/images/landing/quote-right-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_quote_left_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/quote-left.svg"); record.set("dark", "-/fastn.com/images/landing/quote-left-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_bg_2_png", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/bg-2.png"); record.set("dark", "-/fastn.com/images/landing/bg-2-dark.png"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_content_library__bg_image_2", function () { let record = fastn.recordInstance({ }); record.set("src", global.fastn_com_assets__files.get("images_landing_bg_2_png")); record.set("repeat", fastn_dom.BackgroundRepeat.NoRepeat); record.set("size", null); record.set("position", null); return record; }()); let fastn_com_content_library__testimonial = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { body: null, label: null, author_title: null, avatar: null, cta_text: null, cta_link: null, card: fastn.mutableList([]), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "desktop"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginVertical, fastn_dom.Length.Px(164), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(24)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Anchor, fastn_dom.Anchor.Parent, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(150)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(262)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Bottom, fastn_dom.Length.Px( - 70), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Left, fastn_dom.Length.Px(0), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Image(global.fastn_com_content_library__bg_image_1), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Anchor, fastn_dom.Anchor.Parent, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(176)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(190)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Top, fastn_dom.Length.Px( - 70), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Right, fastn_dom.Length.Px(0), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Image(global.fastn_com_content_library__bg_image_2), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_medium"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(860)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(7)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Anchor, fastn_dom.Anchor.Parent, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(38)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(29)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Top, fastn_dom.Length.Px( - 28), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Left, fastn_dom.Length.Px(10), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Image(function () { let record = fastn.recordInstance({ }); record.set("src", global.fastn_com_assets__files.get("images_landing_quote_left_svg")); record.set("repeat", null); record.set("size", null); record.set("position", null); return record; }()), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.body ], function () { return (fastn_utils.getStaticValue(__args__.body) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.body, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(707)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextAlign, fastn_dom.TextAlign.Center, inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Anchor, fastn_dom.Anchor.Parent, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(38)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(29)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Bottom, fastn_dom.Length.Px( - 5), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Right, fastn_dom.Length.Px(40), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Image(function () { let record = fastn.recordInstance({ }); record.set("src", global.fastn_com_assets__files.get("images_landing_quote_right_svg")); record.set("repeat", null); record.set("size", null); record.set("position", null); return record; }()), inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(24)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.avatar ], function () { return (fastn_utils.getStaticValue(__args__.avatar) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.avatar, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Fit, fastn_dom.Fit.cover, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(75)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(75)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(100), inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.author_title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.label ], function () { return (fastn_utils.getStaticValue(__args__.label) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_large"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.label, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); return rooti0; }); } ]), inherited); } ]), inherited); } ]), inherited); return rooti0; } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "mobile"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginVertical, fastn_dom.Length.Px(64), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(24)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_medium"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextAlign, fastn_dom.TextAlign.Center, inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(310)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingTop, fastn_dom.Length.Px(8), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Anchor, fastn_dom.Anchor.Parent, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(24)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(24)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginTop, fastn_dom.Length.Px(12), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Top, fastn_dom.Length.Px( - 28), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Left, fastn_dom.Length.Px( - 16), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Image(function () { let record = fastn.recordInstance({ }); record.set("src", global.fastn_com_assets__files.get("images_landing_quote_left_small_png")); record.set("repeat", null); record.set("size", null); record.set("position", null); return record; }()), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.body ], function () { return (fastn_utils.getStaticValue(__args__.body) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.body, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextAlign, fastn_dom.TextAlign.Center, inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Anchor, fastn_dom.Anchor.Parent, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(24)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(24)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Bottom, fastn_dom.Length.Px( - 28), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Right, fastn_dom.Length.Px(0), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Image(function () { let record = fastn.recordInstance({ }); record.set("src", global.fastn_com_assets__files.get("images_landing_quote_right_small_png")); record.set("repeat", null); record.set("size", null); record.set("position", null); return record; }()), inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.PaddingTop, fastn_dom.Length.Px(24), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(24)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.avatar ], function () { return (fastn_utils.getStaticValue(__args__.avatar) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.avatar, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Fit, fastn_dom.Fit.cover, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(51)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(51)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(100), inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("label_large"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.author_title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextStyle, fastn.mutableList([fastn_dom.TextStyle.Bold]), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.label ], function () { return (fastn_utils.getStaticValue(__args__.label) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.label, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); return rooti0; }); } ]), inherited); } ]), inherited); } ]), inherited); return rooti0; } ]), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__testimonial"] = fastn_com_content_library__testimonial; let fastn_com_content_library__card_wrap = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { wrapper: fastn.mutableList([]), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Row); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.MarginVertical, fastn.formula([ftd.device], function () { if (function () { return (fastn_utils.getStaticValue(ftd.device) == "mobile"); }()) { return fastn_dom.Length.Px(60); } } ), inherited); parenti0.setProperty(fastn_dom.PropertyKind.MaxWidth, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(global.fastn_com_content_library__max_width)), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Wrap, fastn.formula([ftd.device], function () { if (function () { return (fastn_utils.getStaticValue(ftd.device) == "mobile"); }()) { return true; } } ), inherited); parenti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn.formula([ftd.device], function () { if (function () { return (fastn_utils.getStaticValue(ftd.device) == "mobile"); }()) { return fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(24)); } else { return fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(40)); } } ), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, __args__.wrapper, inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__card_wrap"] = fastn_com_content_library__card_wrap; let fastn_com_content_library__card = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { icon: null, cta_link: null, cta_text: null, mouse_in: fastn.wrapMutable(false), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "desktop"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(540)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(346)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Padding, fastn_dom.Length.Px(32), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginTop, fastn_dom.Length.Px(84), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(12), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Image(__args__.bg_image), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(32)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.icon ], function () { return (fastn_utils.getStaticValue(__args__.icon) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.icon, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(64)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(64)), inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(16)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_hero"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.description, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.cta_text ], function () { return (fastn_utils.getStaticValue(__args__.cta_text) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.cta_text, inherited); rooti0.addEventHandler(fastn_dom.Event.MouseEnter, function () { ftd.set_bool({ a: __args__.mouse_in, v: true, }, rooti0); }); rooti0.addEventHandler(fastn_dom.Event.MouseLeave, function () { ftd.set_bool({ a: __args__.mouse_in, v: false, }, rooti0); }); rooti0.setProperty(fastn_dom.PropertyKind.BorderBottomWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, fastn.formula([inherited.get("colors").get("cta_primary").get("base"), inherited.get("colors").get("cta_primary").get("hover"), __args__.mouse_in], function () { if (function () { return fastn_utils.getStaticValue(__args__.mouse_in); }()) { return inherited.get("colors").get("cta_primary").get("hover"); } else { return inherited.get("colors").get("cta_primary").get("base"); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, fastn.formula([inherited.get("colors").get("cta_primary").get("base"), inherited.get("colors").get("cta_primary").get("hover"), __args__.mouse_in], function () { if (function () { return fastn_utils.getStaticValue(__args__.mouse_in); }()) { return inherited.get("colors").get("cta_primary").get("hover"); } else { return inherited.get("colors").get("cta_primary").get("base"); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.cta_link, inherited); return rooti0; }); } ]), inherited); } ]), inherited); } ]), inherited); return rooti0; } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "mobile"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Padding, fastn_dom.Length.Px(20), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(12), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Image(__args__.bg_image), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn.formula([ftd.device], function () { if (function () { return (fastn_utils.getStaticValue(ftd.device) == "mobile"); }()) { return fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(24)); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.icon ], function () { return (fastn_utils.getStaticValue(__args__.icon) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.icon, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(64)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(64)), inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(16)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_large"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.description, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.cta_text ], function () { return (fastn_utils.getStaticValue(__args__.cta_text) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.cta_text, inherited); rooti0.addEventHandler(fastn_dom.Event.MouseEnter, function () { ftd.set_bool({ a: __args__.mouse_in, v: true, }, rooti0); }); rooti0.addEventHandler(fastn_dom.Event.MouseLeave, function () { ftd.set_bool({ a: __args__.mouse_in, v: false, }, rooti0); }); rooti0.setProperty(fastn_dom.PropertyKind.BorderBottomWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, fastn.formula([inherited.get("colors").get("cta_primary").get("base"), inherited.get("colors").get("cta_primary").get("hover"), __args__.mouse_in], function () { if (function () { return fastn_utils.getStaticValue(__args__.mouse_in); }()) { return inherited.get("colors").get("cta_primary").get("hover"); } else { return inherited.get("colors").get("cta_primary").get("base"); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, fastn.formula([inherited.get("colors").get("cta_primary").get("base"), inherited.get("colors").get("cta_primary").get("hover"), __args__.mouse_in], function () { if (function () { return fastn_utils.getStaticValue(__args__.mouse_in); }()) { return inherited.get("colors").get("cta_primary").get("hover"); } else { return inherited.get("colors").get("cta_primary").get("base"); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, __args__.cta_link, inherited); return rooti0; }); } ]), inherited); } ]), inherited); } ]), inherited); return rooti0; } ]), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__card"] = fastn_com_content_library__card; let fastn_com_content_library__cta_secondary = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { icon: null, mouse_in: fastn.wrapMutable(false), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Row); parenti0.addEventHandler(fastn_dom.Event.MouseLeave, function () { ftd.set_bool({ a: __args__.mouse_in, v: false, }, parenti0); }); parenti0.addEventHandler(fastn_dom.Event.MouseEnter, function () { ftd.set_bool({ a: __args__.mouse_in, v: true, }, parenti0); }); parenti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(24), inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(12), inherited); parenti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(58), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Color, function () { let record = fastn.recordInstance({ }); record.set("light", "#333333"); record.set("dark", "#333333"); return record; }(), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Background, fastn.formula([__args__.mouse_in], function () { if (function () { return fastn_utils.getStaticValue(__args__.mouse_in); }()) { return fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("cta_secondary").get("hover")); } else { return fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("cta_secondary").get("base")); } } ), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Link, __args__.link, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("button_small"), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(4)), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.icon ], function () { return (fastn_utils.getStaticValue(__args__.icon) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.icon, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(24)), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__cta_secondary"] = fastn_com_content_library__cta_secondary; fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_right_arrow_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/right-arrow.svg"); record.set("dark", "-/fastn.com/images/landing/right-arrow-dark.svg"); return record; }()); let fastn_com_content_library__learn_fastn = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { cta_primary_text: null, cta_primary_link: null, }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Row); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(40), inherited); parenti0.setProperty(fastn_dom.PropertyKind.MarginBottom, fastn.formula([ftd.device], function () { if (function () { return (fastn_utils.getStaticValue(ftd.device) == "mobile"); }()) { return fastn_dom.Length.Px(40); } } ), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("custom").get("two")), inherited); parenti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (fastn_utils.getStaticValue(ftd.device) !== "mobile"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.image, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Anchor, fastn_dom.Anchor.Parent, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Percent(20)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Top, fastn_dom.Length.Px(30), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Right, fastn_dom.Length.Percent(10), inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(36), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MaxWidth, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(1120)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.SpaceBetween, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn.formula([ftd.device], function () { if (function () { return (fastn_utils.getStaticValue(ftd.device) !== "mobile"); }()) { return fastn_dom.Resizing.Fixed(fastn_dom.Length.Percent(70)); } else { return fastn_dom.Resizing.FillContainer; } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn.formula([ftd.device], function () { if (function () { return (fastn_utils.getStaticValue(ftd.device) == "mobile"); }()) { return fastn_dom.Length.Px(24); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(36)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_medium"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, function () { let record = fastn.recordInstance({ }); record.set("light", "#FFFFFF"); record.set("dark", "#FFFFFF"); return record; }(), inherited); }, function (root, inherited) { let rooti0 = fastn_com_content_library__cta_secondary(root, inherited, { title: __args__.cta_primary_text, link: __args__.cta_primary_link, icon: global.fastn_com_assets__files.get("images_landing_right_arrow_svg") }); } ]), inherited); } ]), inherited); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__learn_fastn"] = fastn_com_content_library__learn_fastn; let fastn_com_content_library__hero_bottom_hug = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { body: null, image_1: null, image_2: null, image_3: null, }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "desktop"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginTop, fastn_dom.Length.Px(66), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginBottom, fastn_dom.Length.Px(80), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MaxWidth, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(global.fastn_com_content_library__max_width)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(40)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(16)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.icon, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(77)), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_medium"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); } ]), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.image_1 ], function () { return (fastn_utils.getStaticValue(__args__.image_1) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.image_1, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Fit, fastn_dom.Fit.cover, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(440)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(16), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(40)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.image_2 ], function () { return (fastn_utils.getStaticValue(__args__.image_2) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.image_2, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Fit, fastn_dom.Fit.cover, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.image_3 ], function () { return (fastn_utils.getStaticValue(__args__.image_3) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.image_3, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Fit, fastn_dom.Fit.cover, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); return rooti0; }); } ]), inherited); } ]), inherited); return rooti0; } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "mobile"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginBottom, fastn_dom.Length.Px(80), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(40)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(16)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.icon, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(46)), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_medium"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); } ]), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.image_1 ], function () { return (fastn_utils.getStaticValue(__args__.image_1) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.image_1, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Fit, fastn_dom.Fit.cover, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(16), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.image_2 ], function () { return (fastn_utils.getStaticValue(__args__.image_2) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.image_2, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Fit, fastn_dom.Fit.cover, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(16), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.image_3 ], function () { return (fastn_utils.getStaticValue(__args__.image_3) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.image_3, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Fit, fastn_dom.Fit.cover, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(16), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); return rooti0; }); } ]), inherited); return rooti0; } ]), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__hero_bottom_hug"] = fastn_com_content_library__hero_bottom_hug; fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_graphics_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/graphics.svg"); record.set("dark", "-/fastn.com/images/landing/graphics-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_content_library__bg_image", function () { let record = fastn.recordInstance({ }); record.set("src", global.fastn_com_assets__files.get("images_landing_graphics_svg")); record.set("repeat", fastn_dom.BackgroundRepeat.NoRepeat); record.set("size", null); record.set("position", null); return record; }()); let fastn_com_content_library__cta_fill = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { mouse_in: fastn.wrapMutable(false), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Row); parenti0.addEventHandler(fastn_dom.Event.MouseLeave, function () { ftd.set_bool({ a: __args__.mouse_in, v: false, }, parenti0); }); parenti0.addEventHandler(fastn_dom.Event.MouseEnter, function () { ftd.set_bool({ a: __args__.mouse_in, v: true, }, parenti0); }); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(221)), inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(20), inherited); parenti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(30), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("cta_primary").get("text"), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Background, fastn.formula([__args__.mouse_in], function () { if (function () { return fastn_utils.getStaticValue(__args__.mouse_in); }()) { return fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("cta_secondary").get("hover")); } else { return fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("cta_secondary").get("base")); } } ), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Link, __args__.link, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("button_medium"), inherited); parenti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__cta_fill"] = fastn_com_content_library__cta_fill; let fastn_com_content_library__promo_card = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { title: null, body: null, cta_text: null, cta_link: null, }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "desktop"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Padding, fastn_dom.Length.Px(38), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginVertical, fastn_dom.Length.Px(64), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(16), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn.formula([__args__.body], function () { if (function () { return (fastn_utils.getStaticValue(__args__.body) == null); }()) { return fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("accent").get("primary")); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MaxWidth, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(global.fastn_com_content_library__max_width)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.cta_text ], function () { return (fastn_utils.getStaticValue(__args__.cta_text) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Anchor, fastn_dom.Anchor.Parent, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(188)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(188)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Bottom, fastn_dom.Length.Px(0), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Left, fastn_dom.Length.Px(42), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Image(global.fastn_com_content_library__bg_image), inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(60), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(24)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.title ], function () { return fastn_utils.getStaticValue(__args__.title); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextAlign, fastn_dom.TextAlign.Center, inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.body ], function () { return (fastn_utils.getStaticValue(__args__.body) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_large"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.body, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextAlign, fastn_dom.TextAlign.Center, inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.cta_text ], function () { return (fastn_utils.getStaticValue(__args__.cta_text) !== null); }, function (root) { let rooti0 = fastn_com_content_library__cta_fill(root, inherited, { title: __args__.cta_text, link: __args__.cta_link }); return rooti0; }); } ]), inherited); } ]), inherited); return rooti0; } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "mobile"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Padding, fastn_dom.Length.Px(38), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginBottom, fastn_dom.Length.Px(48), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(16), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn.formula([__args__.body], function () { if (function () { return (fastn_utils.getStaticValue(__args__.body) == null); }()) { return fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("accent").get("primary")); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.cta_text ], function () { return (fastn_utils.getStaticValue(__args__.cta_text) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Anchor, fastn_dom.Anchor.Parent, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(188)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(134)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Bottom, fastn_dom.Length.Px(0), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Left, fastn_dom.Length.Px(0), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Image(global.fastn_com_content_library__bg_image), inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.ZIndex, 1, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(24)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_medium"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextAlign, fastn_dom.TextAlign.Center, inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.body ], function () { return (fastn_utils.getStaticValue(__args__.body) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_large"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.body, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextAlign, fastn_dom.TextAlign.Center, inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.cta_text ], function () { return (fastn_utils.getStaticValue(__args__.cta_text) !== null); }, function (root) { let rooti0 = fastn_com_content_library__cta_fill(root, inherited, { title: __args__.cta_text, link: __args__.cta_link }); return rooti0; }); } ]), inherited); } ]), inherited); return rooti0; } ]), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__promo_card"] = fastn_com_content_library__promo_card; let fastn_com_content_library__right_video = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { icon_1: null, icon_2: null, icon_3: null, info_1: null, info_2: null, info_3: null, video: null, image: null, }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "desktop"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginVertical, fastn_dom.Length.Px(42), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MaxWidth, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(global.fastn_com_content_library__max_width)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(32)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(316)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(32)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(53)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderLeftWidth, fastn_dom.Length.Px(2), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("accent").get("primary"), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.icon_1, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(24)), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.info_1, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); } ]), inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(53)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderLeftWidth, fastn_dom.Length.Px(2), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("accent").get("primary"), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.icon_2, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(24)), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.info_2, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); } ]), inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(53)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderLeftWidth, fastn_dom.Length.Px(2), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("accent").get("primary"), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.icon_3, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(24)), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.info_3, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); } ]), inherited); } ]), inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.End, inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderWidth, fastn_dom.Length.Px(2), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(8), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.video ], function () { return (fastn_utils.getStaticValue(__args__.video) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Video); rooti0.setProperty(fastn_dom.PropertyKind.VideoSrc, __args__.video, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Fit, fastn_dom.Fit.contain, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Controls, true, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Autoplay, false, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(700)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(474)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(8), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.image ], function () { return (fastn_utils.getStaticValue(__args__.image) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.image, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Fit, fastn_dom.Fit.cover, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(700)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(474)), inherited); return rooti0; }); } ]), inherited); } ]), inherited); return rooti0; } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "mobile"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginVertical, fastn_dom.Length.Px(42), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(32)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(32)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(53)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderLeftWidth, fastn_dom.Length.Px(2), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("accent").get("primary"), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.icon_1, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(24)), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.info_1, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); } ]), inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(53)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderLeftWidth, fastn_dom.Length.Px(2), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("accent").get("primary"), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.icon_2, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(24)), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.info_2, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); } ]), inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(53)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderLeftWidth, fastn_dom.Length.Px(2), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("accent").get("primary"), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.icon_3, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(24)), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.info_3, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); } ]), inherited); } ]), inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderWidth, fastn.formula([__args__.video], function () { if (function () { return (fastn_utils.getStaticValue(__args__.video) !== null); }()) { return fastn_dom.Length.Px(2); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(8), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.video ], function () { return (fastn_utils.getStaticValue(__args__.video) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Video); rooti0.setProperty(fastn_dom.PropertyKind.VideoSrc, __args__.video, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Fit, fastn_dom.Fit.contain, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Controls, true, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Autoplay, false, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(8), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.image ], function () { return (fastn_utils.getStaticValue(__args__.image) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.image, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); return rooti0; }); } ]), inherited); } ]), inherited); return rooti0; } ]), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__right_video"] = fastn_com_content_library__right_video; fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_group_img_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/group-img.svg"); record.set("dark", "-/fastn.com/images/landing/group-img-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_content_library__group_img", function () { let record = fastn.recordInstance({ }); record.set("src", global.fastn_com_assets__files.get("images_landing_group_img_svg")); record.set("repeat", fastn_dom.BackgroundRepeat.NoRepeat); record.set("size", null); record.set("position", null); return record; }()); let fastn_com_content_library__featured_theme = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { body: null, cta_primary_text: null, cta_primary_url: null, cta_secondary_text: null, cta_secondary_url: null, image_1: null, image_2: null, image_3: null, image_title_1: null, image_title_2: null, image_title_3: null, link: null, }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "desktop"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginBottom, fastn_dom.Length.Px(64), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(15), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("step_1")), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(38), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingTop, fastn_dom.Length.Px(35), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingBottom, fastn_dom.Length.Px(50), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(15), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("step_1")), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MaxWidth, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(global.fastn_com_content_library__max_width)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(62)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Anchor, fastn_dom.Anchor.Parent, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(139)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(154)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Top, fastn_dom.Length.Px(28), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Right, fastn_dom.Length.Px(19), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Image(global.fastn_com_content_library__group_img), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(890)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(24)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_large"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.body ], function () { return (fastn_utils.getStaticValue(__args__.body) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.body, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(520)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(22)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_com_content_library__cta_primary_large(root, inherited, { title: __args__.cta_primary_text, link: __args__.cta_primary_url }); }, function (root, inherited) { let rooti0 = fastn_com_content_library__cta_secondary_medium(root, inherited, { title: __args__.cta_secondary_text, link: __args__.cta_secondary_url }); } ]), inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.SpaceBetween, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(15)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.image_1, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Fit, fastn_dom.Fit.cover, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, "https://fastn-community.github.io/winter-cs/", inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("label_large"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.image_title_1, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, "https://fastn-community.github.io/winter-cs/", inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextStyle, fastn.mutableList([fastn_dom.TextStyle.Bold]), inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(15)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.image_2, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Fit, fastn_dom.Fit.cover, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, "https://forest-cs.fifthtry.site/", inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("label_large"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.image_title_2, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, "https://forest-cs.fifthtry.site/", inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextStyle, fastn.mutableList([fastn_dom.TextStyle.Bold]), inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(15)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.image_3, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Fit, fastn_dom.Fit.cover, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, "https://saturated-sunset-cs.fifthtry.site/", inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("label_large"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.image_title_3, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, "https://saturated-sunset-cs.fifthtry.site/", inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextStyle, fastn.mutableList([fastn_dom.TextStyle.Bold]), inherited); } ]), inherited); } ]), inherited); } ]), inherited); } ]), inherited); return rooti0; } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "mobile"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginBottom, fastn_dom.Length.Px(84), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(15), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("step_1")), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(38), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingTop, fastn_dom.Length.Px(35), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingBottom, fastn_dom.Length.Px(50), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(62)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(24)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_medium"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextAlign, fastn_dom.TextAlign.Center, inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.body ], function () { return (fastn_utils.getStaticValue(__args__.body) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.body, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(22)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_com_content_library__cta_primary_large(root, inherited, { title: __args__.cta_primary_text, link: __args__.cta_primary_url }); }, function (root, inherited) { let rooti0 = fastn_com_content_library__cta_secondary_medium(root, inherited, { title: __args__.cta_secondary_text, link: __args__.cta_secondary_url }); } ]), inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(24)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(15)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.image_1, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Fit, fastn_dom.Fit.cover, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, "https://fastn-community.github.io/winter-cs/", inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("label_large"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.image_title_1, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextStyle, fastn.mutableList([fastn_dom.TextStyle.Bold]), inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(15)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.image_2, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Fit, fastn_dom.Fit.cover, inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("label_large"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.image_title_2, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, "https://forest-cs.fifthtry.site/", inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextStyle, fastn.mutableList([fastn_dom.TextStyle.Bold]), inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(15)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.image_3, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Fit, fastn_dom.Fit.cover, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, "https://saturated-sunset-cs.fifthtry.site/", inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("label_large"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.image_title_3, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextStyle, fastn.mutableList([fastn_dom.TextStyle.Bold]), inherited); } ]), inherited); } ]), inherited); } ]), inherited); } ]), inherited); return rooti0; } ]), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__featured_theme"] = fastn_com_content_library__featured_theme; let fastn_com_content_library__image_featured = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { icon_1: null, icon_2: null, icon_3: null, info_1: null, info_2: null, info_3: null, }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "desktop"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(56)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(32)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.image_1, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Fit, fastn_dom.Fit.cover, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(377)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(16), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.image_2, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Fit, fastn_dom.Fit.cover, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(377)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(16), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.image_3, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Fit, fastn_dom.Fit.cover, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(1120)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(454)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(16), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(32)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(352)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(53)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderLeftWidth, fastn_dom.Length.Px(2), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("accent").get("primary"), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.icon_1, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(24)), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.info_1, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); } ]), inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(352)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(53)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderLeftWidth, fastn_dom.Length.Px(2), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("accent").get("primary"), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.icon_2, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(24)), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.info_2, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); } ]), inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(352)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(53)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderLeftWidth, fastn_dom.Length.Px(2), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("accent").get("primary"), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.icon_3, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(24)), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.info_3, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); } ]), inherited); } ]), inherited); } ]), inherited); } ]), inherited); return rooti0; } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "mobile"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(24)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.image_1, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Fit, fastn_dom.Fit.cover, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(16), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.image_2, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Fit, fastn_dom.Fit.cover, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(16), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.image_3, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Fit, fastn_dom.Fit.cover, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(16), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(32)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(53)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderLeftWidth, fastn_dom.Length.Px(2), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("accent").get("primary"), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.icon_1, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(24)), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.info_1, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); } ]), inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(53)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderLeftWidth, fastn_dom.Length.Px(2), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("accent").get("primary"), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.icon_2, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(24)), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.info_2, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); } ]), inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(53)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderLeftWidth, fastn_dom.Length.Px(2), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("accent").get("primary"), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(8)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.icon_3, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(24)), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.info_3, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); } ]), inherited); } ]), inherited); } ]), inherited); } ]), inherited); return rooti0; } ]), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__image_featured"] = fastn_com_content_library__image_featured; let fastn_com_content_library__compare = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { wrapper: fastn.mutableList([]), transparent: false, }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "desktop"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(80), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn.formula([__args__.transparent], function () { if (function () { return (!fastn_utils.getStaticValue(__args__.transparent)); }()) { return fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("step_1")); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(975)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(24)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_large"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextAlign, fastn_dom.TextAlign.Center, inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.body, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextAlign, fastn_dom.TextAlign.Center, inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Wrap, true, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(16)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, __args__.wrapper, inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(220)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_com_content_library__cta_primary_large(root, inherited, { title: __args__.cta_primary_text, link: __args__.cta_primary_url, icon: global.fastn_com_assets__files.get("images_landing_arrow_icon_svg") }); } ]), inherited); } ]), inherited); return rooti0; } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "mobile"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(24), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn.formula([__args__.transparent], function () { if (function () { return fastn_utils.getStaticValue(__args__.transparent); }()) { return fastn_dom.Length.Px(80); } else { return fastn_dom.Length.Px(24); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn.formula([__args__.transparent], function () { if (function () { return (!fastn_utils.getStaticValue(__args__.transparent)); }()) { return fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("step_1")); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(24)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_large"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextAlign, fastn_dom.TextAlign.Center, inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.body, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextAlign, fastn_dom.TextAlign.Center, inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginTop, fastn.formula([ftd.device], function () { if (function () { return (fastn_utils.getStaticValue(ftd.device) == "mobile"); }()) { return fastn_dom.Length.Px(24); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Wrap, true, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(16)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, __args__.wrapper, inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(220)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_com_content_library__cta_primary_large(root, inherited, { title: __args__.cta_primary_text, link: __args__.cta_primary_url, icon: global.fastn_com_assets__files.get("images_landing_arrow_icon_svg") }); } ]), inherited); } ]), inherited); return rooti0; } ]), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__compare"] = fastn_com_content_library__compare; let fastn_com_content_library__compare_card = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { icon: null, image: null, }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn.formula([ftd.device], function () { if (function () { return (fastn_utils.getStaticValue(ftd.device) == "mobile"); }()) { return fastn_dom.Resizing.FillContainer; } else { return fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(363)); } } ), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Padding, fastn_dom.Length.Px(16), inherited); parenti0.setProperty(fastn_dom.PropertyKind.MarginVertical, fastn.formula([ftd.device], function () { if (function () { return (fastn_utils.getStaticValue(ftd.device) !== "mobile"); }()) { return fastn_dom.Length.Px(42); } } ), inherited); parenti0.setProperty(fastn_dom.PropertyKind.BorderWidth, fastn_dom.Length.Px(1), inherited); parenti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(16), inherited); parenti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(24)), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.SpaceBetween, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.icon ], function () { return (fastn_utils.getStaticValue(__args__.icon) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.icon, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(60)), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.image ], function () { return (fastn_utils.getStaticValue(__args__.image) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.image, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.End, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Anchor, fastn_dom.Anchor.Parent, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Top, fastn_dom.Length.Px(0), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Right, fastn_dom.Length.Px(0), inherited); return rooti0; }); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(12)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.description, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); } ]), inherited); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__compare_card"] = fastn_com_content_library__compare_card; let fastn_com_content_library__cards_section = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { title: null, cards: fastn.mutableList([]), transparent: false, }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Padding, fastn.formula([__args__.transparent], function () { if (function () { return (!fastn_utils.getStaticValue(__args__.transparent)); }()) { return fastn_dom.Length.Px(24); } } ), inherited); parenti0.setProperty(fastn_dom.PropertyKind.MarginBottom, fastn_dom.Length.Px(48), inherited); parenti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(16), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Background, fastn.formula([__args__.transparent], function () { if (function () { return (!fastn_utils.getStaticValue(__args__.transparent)); }()) { return fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("step_1")); } } ), inherited); parenti0.setProperty(fastn_dom.PropertyKind.MaxWidth, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(1440)), inherited); parenti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.title ], function () { return (fastn_utils.getStaticValue(__args__.title) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_large"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginTop, fastn_dom.Length.Px(48), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginBottom, fastn_dom.Length.Px(48), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextAlign, fastn_dom.TextAlign.Center, inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginTop, fastn_dom.Length.Px(24), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Wrap, true, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn.formula([ftd.device], function () { if (function () { return (fastn_utils.getStaticValue(ftd.device) == "mobile"); }()) { return fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(24)); } else { return fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(48)); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, __args__.cards, inherited); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__cards_section"] = fastn_com_content_library__cards_section; fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_chart_line_type_1_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/chart-line-type-1.svg"); record.set("dark", "-/fastn.com/images/landing/chart-line-type-1-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_arrow_zigzag_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/arrow-zigzag.svg"); record.set("dark", "-/fastn.com/images/landing/arrow-zigzag-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_chart_line_type_2_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/chart-line-type-2.svg"); record.set("dark", "-/fastn.com/images/landing/chart-line-type-2-dark.svg"); return record; }()); let fastn_com_content_library__heart_line_title_card_desktop = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { title: null, body: null, wrapper: fastn.mutableList([]), cta_url: null, cta_text: null, }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingBottom, fastn_dom.Length.Px(80), inherited); parenti0.setProperty(fastn_dom.PropertyKind.ZIndex, 0, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(__args__.spacing)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, global.fastn_com_assets__files.get("images_landing_chart_line_type_1_svg"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn.formula([__args__.cta_text], function () { if (function () { return (fastn_utils.getStaticValue(__args__.cta_text) !== null); }()) { return fastn_dom.Resizing.FillContainer; } else { return fastn_dom.Resizing.Auto; } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Auto, inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.title ], function () { return (fastn_utils.getStaticValue(__args__.title) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_large"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginTop, fastn_dom.Length.Px(24), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.WhiteSpace, fastn_dom.WhiteSpace.NoWrap, inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextAlign, fastn_dom.TextAlign.Center, inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.cta_text ], function () { return (fastn_utils.getStaticValue(__args__.cta_text) !== null); }, function (root) { let rooti0 = fastn_com_content_library__cta_primary_small(root, inherited, { title: __args__.cta_text, link: __args__.cta_url }); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, global.fastn_com_assets__files.get("images_landing_chart_line_type_2_svg"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Auto, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Auto, inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(16)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.show_arrow ], function () { return fastn_utils.getStaticValue(__args__.show_arrow); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, global.fastn_com_assets__files.get("images_landing_arrow_zigzag_svg"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Auto, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Auto, inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.body ], function () { return (fastn_utils.getStaticValue(__args__.body) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_large"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.body, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(754)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextAlign, fastn_dom.TextAlign.Center, inherited); return rooti0; }); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, __args__.wrapper, inherited); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__heart_line_title_card_desktop"] = fastn_com_content_library__heart_line_title_card_desktop; let fastn_com_content_library__heart_line_title_card_mobile = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { title: null, body: null, wrapper: fastn.mutableList([]), cta_url: null, cta_text: null, }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn.formula([__args__.title], function () { if (function () { return (fastn_utils.getStaticValue(__args__.title) !== null); }()) { return fastn_dom.Length.Px(12); } } ), inherited); parenti0.setProperty(fastn_dom.PropertyKind.PaddingBottom, fastn_dom.Length.Px(24), inherited); parenti0.setProperty(fastn_dom.PropertyKind.ZIndex, 0, inherited); parenti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.MarginBottom, fastn.formula([__args__.cta_text], function () { if (function () { return (fastn_utils.getStaticValue(__args__.cta_text) !== null); }()) { return fastn_dom.Length.Px(33); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.cta_text ], function () { return (fastn_utils.getStaticValue(__args__.cta_text) !== null); }, function (root) { let rooti0 = fastn_com_content_library__cta_primary_small(root, inherited, { title: __args__.cta_text, link: __args__.cta_url }); return rooti0; }); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn.formula([__args__.cta_text], function () { if (function () { return (fastn_utils.getStaticValue(__args__.cta_text) !== null); }()) { return fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(50)); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, global.fastn_com_assets__files.get("images_landing_chart_line_type_2_svg"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn.formula([__args__.cta_text], function () { if (function () { return (fastn_utils.getStaticValue(__args__.cta_text) !== null); }()) { return fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(160)); } else { return fastn_dom.Resizing.FillContainer; } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Auto, inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.cta_text ], function () { return (fastn_utils.getStaticValue(__args__.cta_text) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, global.fastn_com_assets__files.get("images_landing_chart_line_type_2_svg"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(160)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Auto, inherited); return rooti0; }); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(345)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(24)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.title ], function () { return (fastn_utils.getStaticValue(__args__.title) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_large"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginTop, fastn_dom.Length.Px(24), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextAlign, fastn_dom.TextAlign.Center, inherited); return rooti0; }); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(16)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.show_arrow ], function () { return fastn_utils.getStaticValue(__args__.show_arrow); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, global.fastn_com_assets__files.get("images_landing_arrow_zigzag_svg"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.End, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(132)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(20)), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.body ], function () { return (fastn_utils.getStaticValue(__args__.body) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.body, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextAlign, fastn_dom.TextAlign.Center, inherited); return rooti0; }); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(12), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, __args__.wrapper, inherited); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__heart_line_title_card_mobile"] = fastn_com_content_library__heart_line_title_card_mobile; let fastn_com_content_library__heart_line_title_card = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { title: null, body: null, show_arrow: true, wrapper: fastn.mutableList([]), cta_url: null, cta_text: null, cta: false, spacing: 24, }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.OverflowX, fastn_dom.Overflow.Hidden, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "desktop"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_com_content_library__heart_line_title_card_desktop(root, inherited, { title: __args__.title, body: __args__.body, show_arrow: __args__.show_arrow, wrapper: __args__.wrapper, cta_url: __args__.cta_url, cta_text: __args__.cta_text, cta: __args__.cta, spacing: __args__.spacing }); return rooti0; } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "mobile"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_com_content_library__heart_line_title_card_mobile(root, inherited, { title: __args__.title, body: __args__.body, show_arrow: __args__.show_arrow, wrapper: __args__.wrapper, cta_url: __args__.cta_url, cta_text: __args__.cta_text, cta: __args__.cta, spacing: __args__.spacing }); return rooti0; } ]), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__heart_line_title_card"] = fastn_com_content_library__heart_line_title_card; fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_ambassadors_cta_arrow_right_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/ambassadors/cta-arrow-right.svg"); record.set("dark", "-/fastn.com/images/ambassadors/cta-arrow-right-dark.svg"); return record; }()); fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_ambassadors_cta_arrow_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/ambassadors/cta-arrow.svg"); record.set("dark", "-/fastn.com/images/ambassadors/cta-arrow-dark.svg"); return record; }()); let fastn_com_content_library__cta_button = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { role: null, medium: false, show_arrow: false, width: null, align_center: false, new_tab: false, }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn.formula([__args__.align_center], function () { if (function () { return fastn_utils.getStaticValue(__args__.align_center); }()) { return fastn_dom.AlignSelf.Center; } } ), inherited); parenti0.setProperty(fastn_dom.PropertyKind.MarginTop, fastn.formula([__args__.align_center, ftd.device], function () { if (function () { return (fastn_utils.getStaticValue(__args__.align_center) && fastn_utils.getStaticValue(ftd.device) == "mobile"); }()) { return fastn_dom.Length.Px(40); } } ), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.medium ], function () { return (!fastn_utils.getStaticValue(__args__.medium)); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn.formula([__args__.width], function () { if (function () { return (fastn_utils.getStaticValue(__args__.width) !== null); }()) { return fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(__args__.width)); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn.formula([__args__.role], function () { if (function () { return (fastn_utils.getStaticValue(__args__.role) == "primary" || fastn_utils.getStaticValue(__args__.role) == "secondary"); }()) { return fastn_dom.Length.Px(42); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn.formula([__args__.role], function () { if (function () { return (fastn_utils.getStaticValue(__args__.role) == "primary" || fastn_utils.getStaticValue(__args__.role) == "secondary"); }()) { return fastn_dom.Length.Px(20); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(30), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn.formula([__args__.role, __args__.role], function () { if (function () { return (fastn_utils.getStaticValue(__args__.role) == "primary"); }()) { return fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("cta_primary").get("base")); } else if (function () { return (fastn_utils.getStaticValue(__args__.role) == "secondary"); }()) { return fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("cta_secondary").get("base")); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, fastn.formula([__args__.link, __args__.link], function () { if (function () { return (fastn_utils.getStaticValue(__args__.link) !== null); }()) { return __args__.link; } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.OpenInNewTab, fastn.formula([__args__.new_tab], function () { if (function () { return fastn_utils.getStaticValue(__args__.new_tab); }()) { return true; } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn.formula([__args__.role], function () { if (function () { return (fastn_utils.getStaticValue(__args__.role) == "primary"); }()) { return fastn_dom.AlignContent.Center; } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(10)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.title ], function () { return (fastn_utils.getStaticValue(__args__.title) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("button_medium"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, fastn.formula([inherited.get("colors").get("background").get("step_1"), inherited.get("colors").get("cta_secondary").get("text"), __args__.role, inherited.get("colors").get("cta_primary").get("text"), __args__.role], function () { if (function () { return (fastn_utils.getStaticValue(__args__.role) == "secondary"); }()) { return inherited.get("colors").get("cta_secondary").get("text"); } else if (function () { return (fastn_utils.getStaticValue(__args__.role) == "primary"); }()) { return inherited.get("colors").get("cta_primary").get("text"); } else { return inherited.get("colors").get("background").get("step_1"); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.WhiteSpace, fastn_dom.WhiteSpace.NoWrap, inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextAlign, fastn_dom.TextAlign.Center, inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.show_arrow ], function () { return fastn_utils.getStaticValue(__args__.show_arrow); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, global.fastn_com_assets__files.get("images_ambassadors_cta_arrow_right_svg"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Auto, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Auto, inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.role ], function () { return (fastn_utils.getStaticValue(__args__.role) !== "primary"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, global.fastn_com_assets__files.get("images_ambassadors_cta_arrow_svg"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Auto, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Auto, inherited); return rooti0; }); } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.medium ], function () { return fastn_utils.getStaticValue(__args__.medium); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn.formula([__args__.width], function () { if (function () { return (fastn_utils.getStaticValue(__args__.width) !== null); }()) { return fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(__args__.width)); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn.formula([ftd.device], function () { if (function () { return (fastn_utils.getStaticValue(ftd.device) == "mobile"); }()) { return fastn_dom.Length.Px(30); } else { return fastn_dom.Length.Px(42); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn.formula([ftd.device], function () { if (function () { return (fastn_utils.getStaticValue(ftd.device) == "mobile"); }()) { return fastn_dom.Length.Px(15); } else { return fastn_dom.Length.Px(20); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(30), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn.formula([__args__.role, __args__.role], function () { if (function () { return (fastn_utils.getStaticValue(__args__.role) == "primary"); }()) { return fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("cta_primary").get("base")); } else if (function () { return (fastn_utils.getStaticValue(__args__.role) == "secondary"); }()) { return fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("cta_secondary").get("base")); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Link, fastn.formula([__args__.link, __args__.link], function () { if (function () { return (fastn_utils.getStaticValue(__args__.link) !== null); }()) { return __args__.link; } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(10)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("button_small"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, fastn.formula([inherited.get("colors").get("text"), inherited.get("colors").get("cta_secondary").get("text"), __args__.role, inherited.get("colors").get("cta_primary").get("text"), __args__.role], function () { if (function () { return (fastn_utils.getStaticValue(__args__.role) == "secondary"); }()) { return inherited.get("colors").get("cta_secondary").get("text"); } else if (function () { return (fastn_utils.getStaticValue(__args__.role) == "primary"); }()) { return inherited.get("colors").get("cta_primary").get("text"); } else { return inherited.get("colors").get("text"); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.WhiteSpace, fastn_dom.WhiteSpace.NoWrap, inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextAlign, fastn_dom.TextAlign.Center, inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.show_arrow ], function () { return fastn_utils.getStaticValue(__args__.show_arrow); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, global.fastn_com_assets__files.get("images_ambassadors_cta_arrow_right_svg"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn.formula([ftd.device], function () { if (function () { return (fastn_utils.getStaticValue(ftd.device) == "mobile"); }()) { return fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(19)); } else { return fastn_dom.Resizing.Auto; } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Auto, inherited); return rooti0; }); } ]), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__cta_button"] = fastn_com_content_library__cta_button; let fastn_com_content_library__testimonial_card = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { label: null, body: null, avatar: null, bgcolor: inherited.get("colors").get("custom").get("two"), bg_color: function () { let record = fastn.recordInstance({ }); record.set("light", inherited.get("colors").get("custom").get("four").get("light")); record.set("dark", inherited.get("colors").get("custom").get("four").get("light")); return record; }(), width: 1440, margin_top: 0, margin_right: 0, right: false, cta_text: null, cta_link: null, card: fastn.mutableList([]), }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "desktop"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MaxWidth, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(__args__.width)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginTop, fastn_dom.Length.Px(__args__.margin_top), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Right, fastn_dom.Length.Px(__args__.margin_right), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MaxWidth, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(__args__.width)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.right ], function () { return (!fastn_utils.getStaticValue(__args__.right)); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Anchor, fastn_dom.Anchor.Parent, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Percent(96)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(30), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Bottom, fastn_dom.Length.Px( - 18), inherited); rooti0.setProperty(fastn_dom.PropertyKind.ZIndex, 0, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(__args__.bgcolor), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.right ], function () { return fastn_utils.getStaticValue(__args__.right); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Anchor, fastn_dom.Anchor.Parent, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(30), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Bottom, fastn_dom.Length.Px( - 15), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Left, fastn_dom.Length.Px(10), inherited); rooti0.setProperty(fastn_dom.PropertyKind.ZIndex, 0, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(__args__.bgcolor), inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(26), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(34), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingBottom, fastn.formula([__args__.right], function () { if (function () { return (!fastn_utils.getStaticValue(__args__.right)); }()) { return fastn_dom.Length.Px(70); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(30), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.ZIndex, 11, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("step_1")), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(32)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.right ], function () { return fastn_utils.getStaticValue(__args__.right); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(26)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_medium"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("cta_secondary").get("text"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextAlign, fastn_dom.TextAlign.Center, inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.body ], function () { return (fastn_utils.getStaticValue(__args__.body) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.body, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_com_content_library__cta_button(root, inherited, { title: __args__.cta_text, role: "primary", link: __args__.cta_link, show_arrow: true }); } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.right ], function () { return (!fastn_utils.getStaticValue(__args__.right)); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(26)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MinWidth, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(160)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(6)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.avatar ], function () { return (fastn_utils.getStaticValue(__args__.avatar) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.avatar, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Fit, fastn_dom.Fit.cover, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(100)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(100)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(16), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.right ], function () { return (!fastn_utils.getStaticValue(__args__.right)); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("blockquote"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginTop, fastn_dom.Length.Px(24), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.label ], function () { return (fastn_utils.getStaticValue(__args__.label) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("fine_print"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.label, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); return rooti0; }); } ]), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.body ], function () { return (fastn_utils.getStaticValue(__args__.body) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.body, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); return rooti0; }); } ]), inherited); return rooti0; }); } ]), inherited); } ]), inherited); } ]), inherited); return rooti0; } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "mobile"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(24), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginBottom, fastn_dom.Length.Px(24), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MaxWidth, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(__args__.width)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginTop, fastn_dom.Length.Px(12), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Right, fastn_dom.Length.Px(0), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MaxWidth, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(__args__.width)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.right ], function () { return (!fastn_utils.getStaticValue(__args__.right)); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Anchor, fastn_dom.Anchor.Parent, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Percent(96)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(30), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Bottom, fastn_dom.Length.Px( - 18), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Left, fastn_dom.Length.Px( - 12), inherited); rooti0.setProperty(fastn_dom.PropertyKind.ZIndex, 0, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(__args__.bgcolor), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.right ], function () { return fastn_utils.getStaticValue(__args__.right); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Anchor, fastn_dom.Anchor.Parent, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(30), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Bottom, fastn_dom.Length.Px( - 15), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Left, fastn.formula([], function () { fastn_dom.Length.Px( - 12) } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.ZIndex, 0, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(__args__.bgcolor), inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(26), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(34), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderWidth, fastn_dom.Length.Px(1), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(30), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.ZIndex, 11, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("step_1")), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(32)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.right ], function () { return fastn_utils.getStaticValue(__args__.right); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(26)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_medium"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("cta_secondary").get("text"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.TextAlign, fastn_dom.TextAlign.Center, inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.body ], function () { return (fastn_utils.getStaticValue(__args__.body) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.body, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_com_content_library__cta_button(root, inherited, { title: __args__.cta_text, role: "primary", link: __args__.cta_link, show_arrow: true }); } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.right ], function () { return (!fastn_utils.getStaticValue(__args__.right)); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(24)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.avatar ], function () { return (fastn_utils.getStaticValue(__args__.avatar) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.avatar, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(104)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(96)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(30), inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(16)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("blockquote"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.label ], function () { return (fastn_utils.getStaticValue(__args__.label) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("fine_print"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.label, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); return rooti0; }); } ]), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.body ], function () { return (fastn_utils.getStaticValue(__args__.body) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.body, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); return rooti0; }); } ]), inherited); return rooti0; }); } ]), inherited); } ]), inherited); } ]), inherited); return rooti0; } ]), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__testimonial_card"] = fastn_com_content_library__testimonial_card; fastn_utils.createNestedObject(global, "fastn_com_assets__files.images_landing_triangle_icon_svg", function () { let record = fastn.recordInstance({ }); record.set("light", "-/fastn.com/images/landing/triangle-icon.svg"); record.set("dark", "-/fastn.com/images/landing/triangle-icon-dark.svg"); return record; }()); let fastn_com_content_library__our_community = function (parent, inherited, args) { let __fastn_super_package_name__ = __fastn_package_name__; __fastn_package_name__ = "fastn_com"; try { let __args__ = { title: null, body: null, cta_primary_text: null, cta_primary_url: null, video: null, image: null, }; inherited = fastn_utils.getInheritedValues(__args__, inherited, args); __args__ = fastn_utils.getArgs(__args__, args); let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("step_1")), inherited); parenti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "desktop"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingHorizontal, fastn_dom.Length.Px(24), inherited); rooti0.setProperty(fastn_dom.PropertyKind.PaddingVertical, fastn_dom.Length.Px(50), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginTop, fastn_dom.Length.Px(80), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MaxWidth, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(global.fastn_com_content_library__max_width)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Row); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.AlignContent, fastn_dom.AlignContent.Center, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(32)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.Start, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(340)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(24)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, global.fastn_com_assets__files.get("images_landing_triangle_icon_svg"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(99)), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.title ], function () { return (fastn_utils.getStaticValue(__args__.title) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_large"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.body, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(174)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_com_content_library__cta_primary_large(root, inherited, { title: __args__.cta_primary_text, link: __args__.cta_primary_url, icon: global.fastn_com_assets__files.get("images_landing_arrow_icon_svg") }); } ]), inherited); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.AlignSelf, fastn_dom.AlignSelf.End, inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderWidth, fastn.formula([__args__.video], function () { if (function () { return (fastn_utils.getStaticValue(__args__.video) !== null); }()) { return fastn_dom.Length.Px(2); } } ), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(8), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.video ], function () { return (fastn_utils.getStaticValue(__args__.video) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Video); rooti0.setProperty(fastn_dom.PropertyKind.VideoSrc, __args__.video, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Fit, fastn_dom.Fit.contain, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Controls, true, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Autoplay, false, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(700)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(474)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(8), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.image ], function () { return (fastn_utils.getStaticValue(__args__.image) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.image, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Fit, fastn_dom.Fit.contain, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(700)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(474)), inherited); return rooti0; }); } ]), inherited); } ]), inherited); } ]), inherited); return rooti0; } ]), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ ftd.device ], function () { return (ftd.device.get() === "mobile"); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Wrapper); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Padding, fastn_dom.Length.Px(24), inherited); rooti0.setProperty(fastn_dom.PropertyKind.MarginTop, fastn_dom.Length.Px(40), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text_strong"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Background, fastn_dom.BackgroundStyle.Solid(inherited.get("colors").get("background").get("step_1")), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Spacing, fastn_dom.Spacing.Fixed(fastn_dom.Length.Px(32)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, global.fastn_com_assets__files.get("images_landing_triangle_icon_svg"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(61)), inherited); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.title ], function () { return (fastn_utils.getStaticValue(__args__.title) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("heading_large"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.title, inherited); return rooti0; }); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Text); rooti0.setProperty(fastn_dom.PropertyKind.Role, inherited.get("types").get("copy_regular"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.StringValue, __args__.body, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Color, inherited.get("colors").get("text"), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.Fixed(fastn_dom.Length.Px(174)), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { let rooti0 = fastn_com_content_library__cta_primary_large(root, inherited, { title: __args__.cta_primary_text, link: __args__.cta_primary_url, icon: global.fastn_com_assets__files.get("images_landing_arrow_icon_svg") }); } ]), inherited); }, function (root, inherited) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Column); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderWidth, fastn_dom.Length.Px(2), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(8), inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderColor, inherited.get("colors").get("border"), inherited); rooti0.setProperty(fastn_dom.PropertyKind.Children, fastn.mutableList([function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.video ], function () { return (fastn_utils.getStaticValue(__args__.video) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Video); rooti0.setProperty(fastn_dom.PropertyKind.VideoSrc, __args__.video, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Fit, fastn_dom.Fit.contain, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Controls, true, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Autoplay, false, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); rooti0.setProperty(fastn_dom.PropertyKind.BorderRadius, fastn_dom.Length.Px(8), inherited); return rooti0; }); }, function (root, inherited) { fastn_dom.conditionalDom(root, [ __args__.image ], function () { return (fastn_utils.getStaticValue(__args__.image) !== null); }, function (root) { let rooti0 = fastn_dom.createKernel(root, fastn_dom.ElementKind.Image); rooti0.setProperty(fastn_dom.PropertyKind.ImageSrc, __args__.image, inherited); rooti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); return rooti0; }); } ]), inherited); } ]), inherited); return rooti0; } ]), inherited); return rooti0; }); } ]), inherited); return parenti0; } finally { __fastn_package_name__ = __fastn_super_package_name__; } } global["fastn_com_content_library__our_community"] = fastn_com_content_library__our_community; fastn_dom.codeData.availableThemes["coldark-theme.dark"] = "code-theme-9A3284FD117DFF7CFD432FF860A5E14169FA592BC3DA4F5E8A6975143F5EA07F.css"; fastn_dom.codeData.availableThemes["coldark-theme.light"] = "code-theme-99CD7B013C96C4632F0AEA39AC265387B814AE85A7D33666A4AE4BEFF59016D0.css"; fastn_dom.codeData.availableThemes["coy-theme"] = "code-theme-B3AEA322EADEDA61F0E219845A0E9C8E73F6345E49362B46E6F52CEE40471248.css"; fastn_dom.codeData.availableThemes["dracula-theme"] = "code-theme-0CA636E4954E3FC6184FB8000174F8EAA6C61DB10F6A18D74740E6D2032C1A2E.css"; fastn_dom.codeData.availableThemes["duotone-theme.dark"] = "code-theme-95B9118AFC8631777EEBBD89B2066C3706A6DF3579B14F41AF05564E41CAA09C.css"; fastn_dom.codeData.availableThemes["duotone-theme.earth"] = "code-theme-6EB6F03F9F578742CA0CD1189693E43A6135D910989ADD88CA3C0D6117EE24D7.css"; fastn_dom.codeData.availableThemes["duotone-theme.forest"] = "code-theme-256C21B515FC9E77F95D88689A4086B9D9406B7AAE3A273780FE8B8748C5A7D2.css"; fastn_dom.codeData.availableThemes["duotone-theme.light"] = "code-theme-0800A18B1822D6AFDAF807CF840379A2DB3483A1F058CA29FBCFB3815CA76148.css"; fastn_dom.codeData.availableThemes["duotone-theme.sea"] = "code-theme-9A45313F167DBD90654BFD5BB3BC0BDF6AE447485C30B0389ADA7B49C069E46A.css"; fastn_dom.codeData.availableThemes["duotone-theme.space"] = "code-theme-4DD8479BE14A755645BC09FF433FB70EB4CB28F0CBF3CA98DCB71B244B85B194.css"; fastn_dom.codeData.availableThemes["fastn-theme.dark"] = "code-theme-CFBB665E50E0439263BF0F3D59B1F0F20F40F379C81B1B14AA9E16DDF70F70E6.css"; fastn_dom.codeData.availableThemes["fastn-theme.light"] = "code-theme-96E503EA0E8F80C5DDF81545C9B1A40DE4CDB7CD8F52664F747FD9E7BB0207B8.css"; fastn_dom.codeData.availableThemes["fire.light"] = "code-theme-A352AF572179AB980583D41BC41ADDBA36C4C17757A34C1C6AAAF2C253E25CE3.css"; fastn_dom.codeData.availableThemes["gruvbox-theme.dark"] = "code-theme-B68AA27E05B319F04A9CD747AADBF9B9CD791E040DEC519AE9544B4FF65DDBAC.css"; fastn_dom.codeData.availableThemes["gruvbox-theme.light"] = "code-theme-06E6F84E43C61CB1653D9F4FACD46B7EBCB3CD8A48EFAEF2E5BE3E9E9212D1E6.css"; fastn_dom.codeData.availableThemes["laserwave-theme"] = "code-theme-0F444C6433C356376F7E92122F6C521FE40242BEC9D9E050359EE1DF4A9D5E6D.css"; fastn_dom.codeData.availableThemes["material-theme.dark"] = "code-theme-8CCA3D600F91FA55950DF3132F2ABE4BA14CEEA13CD23E157BF6A137762B8452.css"; fastn_dom.codeData.availableThemes["material-theme.light"] = "code-theme-8C59190F5018F48CCBB063359072EE9053D04923BBC5D1BA52B574E78D8C536A.css"; fastn_dom.codeData.availableThemes["nightowl-theme"] = "code-theme-88F91252A8A0EA125B4BA2C7B85E65580DB580F1477931AADCB5118E4E69D1CD.css"; fastn_dom.codeData.availableThemes["one-theme.dark"] = "code-theme-A24DC8F09D03756A62923E8A883CAE3B938D54E2813F0855312D2554DBE97BAD.css"; fastn_dom.codeData.availableThemes["one-theme.light"] = "code-theme-60E02531E77333F3F1B636C4FC43E976EA9F41AD75268B2DD825C33C68B573A6.css"; fastn_dom.codeData.availableThemes["vs-theme.dark"] = "code-theme-DC76F700474E809F7BA2D9914793D04881B17EA4699BA9C568C83D32A18B0173.css"; fastn_dom.codeData.availableThemes["vs-theme.light"] = "code-theme-7852E516BA094B01897820BB3432BE553FE5B28F00E9CA0EBC9DFFB8312EE8BF.css"; fastn_dom.codeData.availableThemes["ztouch-theme"] = "code-theme-792C7BB9F4C8DFF3E0CBC354D2084DBF71BC5750C2C1357F0E7D936867AFAB62.css"; let main_wrapper = function (parent) { let parenti0 = fastn_dom.createKernel(parent, fastn_dom.ElementKind.Column); parenti0.setProperty(fastn_dom.PropertyKind.Width, fastn_dom.Resizing.FillContainer, inherited); parenti0.setProperty(fastn_dom.PropertyKind.Height, fastn_dom.Resizing.FillContainer, inherited); main(parenti0); } fastnVirtual.doubleBuffer(main_wrapper); ftd.post_init(); })(); window.onload = function() { fastn_utils.resetFullHeight(); fastn_utils.setFullHeight(); ftd.emit_on_load(); }; </script> </html>