@elmethis/react 0.3.18 → 0.3.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.react.cjs +1 -1
- package/lib/index.react.mjs +38 -38
- package/lib-types/hooks/useLocalStorageDispatch.d.ts +0 -1
- package/lib-types/hooks/useLocalStorageDispatch.d.ts.map +1 -1
- package/lib-types/hooks/useLocalStorageDispatch.stories.d.ts +1 -2
- package/lib-types/hooks/useLocalStorageDispatch.stories.d.ts.map +1 -1
- package/package.json +1 -1
package/lib/index.react.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./ElmMermaid-DnSjC5T_.cjs`);let t=require(`react`);t=e.r(t);let n=require(`@mdi/js`),r=require(`react/jsx-runtime`),i=require(`polished`),a=require(`clsx`);a=e.r(a);let o=require(`react-dom`),s=require(`@radix-ui/react-use-controllable-state`),c=require(`lodash-es`),l=require(`marked`);var u={wrapper:`_wrapper_189iv_1`,header:`_header_189iv_18`,header__left:`_header__left_189iv_36`,caption:`_caption_189iv_44`,header__right:`_header__right_189iv_50`,"copy-icon":`_copy-icon_189iv_58`,code:`_code_189iv_81`,"code-body":`_code-body_189iv_89`,fallback:`_fallback_189iv_93`},d={icon:`_icon_18sdb_1`},f={rust:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20128%20128'%20fill='%23a84f33'%20width='128'%20height='128'%20%3e%3cpath%20d='M62.96.242c-.232.135-1.203%201.528-2.16%203.097c-2.4%203.94-2.426%203.942-5.65.55c-2.098-2.208-2.605-2.612-3.28-2.607c-.44.002-.995.152-1.235.332s-.916%201.612-1.504%203.183c-1.346%203.6-1.41%203.715-2.156%203.86c-.46.086-1.343-.407-3.463-1.929c-1.565-1.125-3.1-2.045-3.411-2.045c-1.291%200-1.655.706-2.27%204.4c-.78%204.697-.754%204.681-4.988%202.758c-1.71-.776-3.33-1.41-3.603-1.41s-.792.293-1.15.652c-.652.652-.653.655-.475%204.246l.178%203.595l-.68.364c-.602.322-1.017.283-3.684-.348c-3.48-.822-4.216-.8-4.92.15l-.516.693l.692%202.964c.38%201.63.745%203.2.814%203.487c.067.287-.05.746-.26%201.02c-.348.448-.717.49-3.94.44c-5.452-.086-5.761.382-3.51%205.3c.718%201.56%201.305%202.98%201.305%203.15c0%20.898-.717%201.224-3.794%201.727c-1.722.28-3.218.51-3.326.51c-.107%200-.43.235-.717.522c-.937.936-.671%201.816%201.453%204.814c2.646%203.735%202.642%203.75-1.73%205.421c-4.971%201.902-5.072%202.37-1.287%205.96c3.525%203.344%203.53%203.295-.461%205.804C.208%2062.8.162%2062.846.085%2063.876c-.093%201.253-.071%201.275%203.538%203.48c3.57%202.18%203.57%202.246.067%205.56C-.078%2076.48.038%2077%205.013%2078.877c4.347%201.64%204.353%201.66%201.702%205.394c-1.502%202.117-1.981%203-1.981%203.653c0%201.223.637%201.535%204.44%202.174c3.206.54%203.92.857%203.92%201.741c0%20.182-.588%201.612-1.307%203.177c-2.236%204.87-1.981%205.275%203.31%205.275c4.93%200%204.799-.15%203.737%204.294c-.8%203.35-.813%203.992-.088%204.715c.554.556%201.6.494%204.87-.289c2.499-.596%202.937-.637%203.516-.328l.66.354l-.177%203.594c-.178%203.593-.177%203.595.475%204.248c.358.36.884.652%201.165.652s1.903-.63%203.604-1.404c4.22-1.916%204.194-1.932%204.973%202.75c.617%203.711.977%204.4%202.294%204.4c.327%200%201.83-.88%203.34-1.958c2.654-1.893%203.342-2.19%204.049-1.74c.182.115.89%201.67%201.572%203.455c1.003%202.625%201.37%203.31%201.929%203.576c1.062.51%201.72.1%204.218-2.62c3.016-3.286%203.14-3.27%205.602.72c2.72%204.406%203.424%204.396%206.212-.089c2.402-3.864%202.374-3.862%205.621-.47c2.157%202.25%202.616%202.61%203.343%202.61c.464%200%201.019-.175%201.23-.388c.214-.213.92-1.786%201.568-3.496c.649-1.71%201.321-3.2%201.495-3.31c.687-.436%201.398-.13%204.048%201.752c1.56%201.108%203.028%201.96%203.377%201.96c1.296%200%201.764-.92%202.302-4.535c.46-3.082.554-3.378%201.16-3.685c.596-.302.954-.2%203.75%201.07c1.701.77%203.323%201.402%203.604%201.402s.816-.302%201.184-.672l.672-.67l-.184-3.448c-.177-3.29-.16-3.468.364-3.943c.54-.488.596-.486%203.615.204c3.656.835%204.338.857%205.025.17c.671-.67.664-.818-.254-4.69c-1.03-4.346-1.168-4.19%203.78-4.19c3.374%200%203.75-.049%204.18-.523c.718-.793.547-1.702-.896-4.779c-.729-1.55-1.32-2.96-1.315-3.135c.024-.914.743-1.227%204.065-1.767c2.033-.329%203.553-.71%203.829-.96c.923-.833.584-1.918-1.523-4.873c-2.642-3.703-2.63-3.738%201.599-5.297c5.064-1.866%205.209-2.488%201.419-6.09c-3.51-3.335-3.512-3.317.333-5.677c4.648-2.853%204.655-3.496.082-6.335c-3.933-2.44-3.93-2.406-.405-5.753c3.78-3.593%203.678-4.063-1.295-5.965c-4.388-1.679-4.402-1.72-1.735-5.38c1.588-2.18%201.982-2.903%201.982-3.65c0-1.306-.586-1.598-4.436-2.22c-3.216-.52-3.924-.835-3.924-1.75c0-.174.588-1.574%201.307-3.113c1.406-3.013%201.604-4.22.808-4.94c-.428-.387-1-.443-4.067-.392c-3.208.054-3.618.008-4.063-.439c-.486-.488-.48-.557.278-3.725c.931-3.88.935-3.975.17-4.694c-.777-.73-1.262-.718-4.826.121c-2.597.612-3.027.653-3.617.337l-.67-.36l.185-3.582l.186-3.58l-.67-.67c-.369-.37-.891-.67-1.163-.67c-.27%200-1.884.64-3.583%201.421c-2.838%201.306-3.143%201.393-3.757%201.072c-.612-.32-.714-.637-1.237-3.829c-.603-3.693-.977-4.412-2.288-4.412c-.311%200-1.853.925-3.426%202.055c-2.584%201.856-2.93%202.032-3.574%201.807c-.533-.186-.843-.59-1.221-1.599c-.28-.742-.817-2.172-1.194-3.177c-.762-2.028-1.187-2.482-2.328-2.482c-.637%200-1.213.458-3.28%202.604c-3.25%203.375-3.261%203.374-5.65-.545C66.073%201.78%2065.075.382%2064.81.24c-.597-.32-1.3-.32-1.85.002m2.96%2011.798c2.83%202.014%201.326%206.75-2.144%206.75c-3.368%200-5.064-4.057-2.66-6.36c1.358-1.3%203.304-1.459%204.805-.39m-3.558%2012.507c1.855.705%202.616.282%206.852-3.8l3.182-3.07l1.347.18c4.225.56%2012.627%204.25%2017.455%207.666c4.436%203.14%2010.332%209.534%2012.845%2013.93l.537.942l-2.38%205.364c-1.31%202.95-2.382%205.673-2.382%206.053c0%20.878.576%202.267%201.13%202.726c.234.195%202.457%201.265%204.939%202.378l4.51%202.025l.178%201.148c.23%201.495.26%205.167.052%206.21l-.163.816h-2.575c-2.987%200-2.756-.267-2.918%203.396c-.118%202.656-.76%204.124-2.22%205.075c-2.377%201.551-6.304%201.27-7.97-.57c-.255-.284-.752-1.705-1.105-3.16c-1.03-4.254-2.413-6.64-5.193-8.965c-.878-.733-1.595-1.418-1.595-1.522c0-.102.965-.915%202.145-1.803c4.298-3.24%206.77-7.012%207.04-10.747c.519-7.126-5.158-13.767-13.602-15.92c-2.002-.51-2.857-.526-27.624-.526c-14.057%200-25.56-.092-25.56-.204c0-.263%203.125-3.295%204.965-4.816c5.054-4.178%2011.618-7.465%2018.417-9.22l2.35-.61l3.34%203.387c1.839%201.863%203.64%203.5%204.003%203.637M20.3%2046.34c1.539%201.008%202.17%203.54%201.26%205.062c-1.405%202.356-4.966%202.455-6.373.178c-2.046-3.309%201.895-7.349%205.113-5.24m90.672.13c4.026%202.454.906%208.493-3.404%206.586c-2.877-1.273-2.97-5.206-.155-6.64c1.174-.6%202.523-.579%203.56.053M32.163%2061.5v15.02h-13.28l-.526-2.285c-1.036-4.5-1.472-9.156-1.211-12.969l.182-2.679l4.565-2.047c2.864-1.283%204.706-2.262%204.943-2.625c1.038-1.584.94-2.715-.518-5.933l-.68-1.502h6.523V61.5M70.39%2047.132c2.843.74%204.345%202.245%204.349%204.355c.002%201.55-.765%202.52-2.67%203.38c-1.348.61-1.562.625-10.063.708l-8.686.084v-8.92h7.782c6.078%200%208.112.086%209.288.393m-2.934%2021.554c1.41.392%203.076%201.616%203.93%202.888c.898%201.337%201.423%203.076%202.667%208.836c1.05%204.87%201.727%206.46%203.62%208.532c2.345%202.566%201.8%202.466%2013.514%202.466c5.61%200%2010.198.09%2010.198.2c0%20.197-3.863%204.764-4.03%204.764c-.048%200-2.066-.422-4.484-.939c-6.829-1.458-7.075-1.287-8.642%206.032l-1.008%204.702l-.91.448c-1.518.75-6.453%202.292-9.01%202.82c-4.228.87-8.828%201.162-12.871.821c-6.893-.585-16.02-3.259-16.377-4.8c-.075-.327-.535-2.443-1.018-4.704c-.485-2.26-1.074-4.404-1.31-4.764c-1.13-1.724-2.318-1.83-7.547-.674c-1.98.44-3.708.796-3.84.796c-.248%200-3.923-4.249-3.923-4.535c0-.09%208.728-.194%2019.396-.23l19.395-.066l.07-6.89c.05-4.865-.018-6.997-.23-7.25c-.234-.284-1.485-.358-6.011-.358H53.32v-8.36l6.597.001c3.626.002%207.02.12%207.539.264M37.57%20100.02c3.084%201.88%201.605%206.804-2.043%206.8c-3.74%200-5.127-4.88-1.94-6.826c1.055-.643%202.908-.63%203.983.026m56.48.206c1.512%201.108%202.015%203.413%201.079%204.95c-2.46%204.034-8.612.827-6.557-3.419c1.01-2.085%203.695-2.837%205.478-1.53'%20/%3e%3c/svg%3e`,javascript:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='128'%20height='128'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23f0db4f'%20d='M1.408%201.408h125.184v125.185H1.408z'%20/%3e%3cpath%20fill='%23323330'%20d='M116.347%2096.736c-.917-5.711-4.641-10.508-15.672-14.981c-3.832-1.761-8.104-3.022-9.377-5.926c-.452-1.69-.512-2.642-.226-3.665c.821-3.32%204.784-4.355%207.925-3.403c2.023.678%203.938%202.237%205.093%204.724c5.402-3.498%205.391-3.475%209.163-5.879c-1.381-2.141-2.118-3.129-3.022-4.045c-3.249-3.629-7.676-5.498-14.756-5.355l-3.688.477c-3.534.893-6.902%202.748-8.877%205.235c-5.926%206.724-4.236%2018.492%202.975%2023.335c7.104%205.332%2017.54%206.545%2018.873%2011.531c1.297%206.104-4.486%208.08-10.234%207.378c-4.236-.881-6.592-3.034-9.139-6.949c-4.688%202.713-4.688%202.713-9.508%205.485c1.143%202.499%202.344%203.63%204.26%205.795c9.068%209.198%2031.76%208.746%2035.83-5.176c.165-.478%201.261-3.666.38-8.581M69.462%2058.943H57.753l-.048%2030.272c0%206.438.333%2012.34-.714%2014.149c-1.713%203.558-6.152%203.117-8.175%202.427c-2.059-1.012-3.106-2.451-4.319-4.485c-.333-.584-.583-1.036-.667-1.071l-9.52%205.83c1.583%203.249%203.915%206.069%206.902%207.901c4.462%202.678%2010.459%203.499%2016.731%202.059c4.082-1.189%207.604-3.652%209.448-7.401c2.666-4.915%202.094-10.864%202.07-17.444c.06-10.735.001-21.468.001-32.237'%20/%3e%3c/svg%3e`,typescript:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='128'%20height='128'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23fff'%20d='M22.67%2047h99.67v73.67H22.67z'%20/%3e%3cpath%20fill='%23007acc'%20d='M1.5%2063.91v62.5h125v-125H1.5zm100.73-5a15.56%2015.56%200%200%201%207.82%204.5a20.6%2020.6%200%200%201%203%204c0%20.16-5.4%203.81-8.69%205.85c-.12.08-.6-.44-1.13-1.23a7.09%207.09%200%200%200-5.87-3.53c-3.79-.26-6.23%201.73-6.21%205a4.6%204.6%200%200%200%20.54%202.34c.83%201.73%202.38%202.76%207.24%204.86c8.95%203.85%2012.78%206.39%2015.16%2010c2.66%204%203.25%2010.46%201.45%2015.24c-2%205.2-6.9%208.73-13.83%209.9a38.3%2038.3%200%200%201-9.52-.1a23%2023%200%200%201-12.72-6.63c-1.15-1.27-3.39-4.58-3.25-4.82a9%209%200%200%201%201.15-.73L82%20101l3.59-2.08l.75%201.11a16.8%2016.8%200%200%200%204.74%204.54c4%202.1%209.46%201.81%2012.16-.62a5.43%205.43%200%200%200%20.69-6.92c-1-1.39-3-2.56-8.59-5c-6.45-2.78-9.23-4.5-11.77-7.24a16.5%2016.5%200%200%201-3.43-6.25a25%2025%200%200%201-.22-8c1.33-6.23%206-10.58%2012.82-11.87a31.7%2031.7%200%200%201%209.49.26zm-29.34%205.24v5.12H56.66v46.23H45.15V69.26H28.88v-5a49%2049%200%200%201%20.12-5.17C29.08%2059%2039%2059%2051%2059h21.83z'%20/%3e%3c/svg%3e`,shell:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20128%20128'%20width='24'%20height='24'%3e%3cpath%20fill='none'%20d='M4.24%204.24h119.53v119.53H4.24z'%20/%3e%3cpath%20fill='%23293138'%20d='M109.01%2028.64L71.28%206.24c-2.25-1.33-4.77-2-7.28-2s-5.03.67-7.28%202.01l-37.74%2022.4c-4.5%202.67-7.28%207.61-7.28%2012.96v44.8c0%205.35%202.77%2010.29%207.28%2012.96l37.73%2022.4c2.25%201.34%204.76%202%207.28%202c2.51%200%205.03-.67%207.28-2l37.74-22.4c4.5-2.67%207.28-7.62%207.28-12.96V41.6c0-5.34-2.77-10.29-7.28-12.96M79.79%2098.59l.06%203.22c0%20.39-.25.83-.55.99l-1.91%201.1c-.3.15-.56-.03-.56-.42l-.03-3.17c-1.63.68-3.29.84-4.34.42c-.2-.08-.29-.37-.21-.71l.69-2.91c.06-.23.18-.46.34-.6c.06-.06.12-.1.18-.13c.11-.06.22-.07.31-.03c1.14.38%202.59.2%203.99-.5c1.78-.9%202.97-2.72%202.95-4.52c-.02-1.64-.9-2.31-3.05-2.33c-2.74.01-5.3-.53-5.34-4.57c-.03-3.32%201.69-6.78%204.43-8.96l-.03-3.25c0-.4.24-.84.55-1l1.85-1.18c.3-.15.56.04.56.43l.03%203.25c1.36-.54%202.54-.69%203.61-.44c.23.06.34.38.24.75l-.72%202.88c-.06.22-.18.44-.33.58a.8.8%200%200%201-.19.14c-.1.05-.19.06-.28.05c-.49-.11-1.65-.36-3.48.56c-1.92.97-2.59%202.64-2.58%203.88c.02%201.48.77%201.93%203.39%201.97c3.49.06%204.99%201.58%205.03%205.09c.05%203.44-1.79%207.15-4.61%209.41m26.34-60.5l-35.7%2022.05c-4.45%202.6-7.73%205.52-7.74%2010.89v43.99c0%203.21%201.3%205.29%203.29%205.9c-.65.11-1.32.19-1.98.19c-2.09%200-4.15-.57-5.96-1.64l-37.73-22.4c-3.69-2.19-5.98-6.28-5.98-10.67V41.6c0-4.39%202.29-8.48%205.98-10.67l37.74-22.4c1.81-1.07%203.87-1.64%205.96-1.64s4.15.57%205.96%201.64l37.74%2022.4c3.11%201.85%205.21%205.04%205.8%208.63c-1.27-2.67-4.09-3.39-7.38-1.47'%20/%3e%3cpath%20fill='%234fa847'%20d='m99.12%2090.73l-9.4%205.62c-.25.15-.43.31-.43.61v2.46c0%20.3.2.43.45.28l9.54-5.8c.25-.15.29-.42.29-.72v-2.17c0-.3-.2-.42-.45-.28'%20/%3e%3c/svg%3e`,terraform:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cg%20fill-rule='evenodd'%3e%3cpath%20fill='%235c4ee5'%20d='M77.941%2044.5v36.836L46.324%2062.918V26.082zm0%200'%20/%3e%3cpath%20fill='%234040b2'%20d='m81.41%2081.336l31.633-18.418V26.082L81.41%2044.5zm0%200'%20/%3e%3cpath%20fill='%235c4ee5'%20d='M11.242%2042.36L42.86%2060.776V23.941L11.242%205.523zm66.699%2043.015L46.324%2066.957v36.82l31.617%2018.418zm0%200'%20/%3e%3c/g%3e%3c/svg%3e`,html:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23e44d26'%20d='M19.037%20113.876L9.032%201.661h109.936l-10.016%20112.198l-45.019%2012.48z'%20/%3e%3cpath%20fill='%23f16529'%20d='m64%20116.8l36.378-10.086l8.559-95.878H64z'%20/%3e%3cpath%20fill='%23ebebeb'%20d='M64%2052.455H45.788L44.53%2038.361H64V24.599H29.489l.33%203.692l3.382%2037.927H64zm0%2035.743l-.061.017l-15.327-4.14l-.979-10.975H33.816l1.928%2021.609l28.193%207.826l.063-.017z'%20/%3e%3cpath%20fill='%23fff'%20d='M63.952%2052.455v13.763h16.947l-1.597%2017.849l-15.35%204.143v14.319l28.215-7.82l.207-2.325l3.234-36.233l.335-3.696h-3.708zm0-27.856v13.762h33.244l.276-3.092l.628-6.978l.329-3.692z'%20/%3e%3c/svg%3e`,css:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='128'%20height='128'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23639'%20d='M0%200h107.52C118.831%200%20128%209.168%20128%2020.48v87.04c0%2011.312-9.168%2020.48-20.48%2020.48H20.48C9.169%20128%200%20118.832%200%20107.52Z'%20/%3e%3cpath%20fill='%23fff'%20d='M45.836%20117.762c-8.219-.008-13.293-4.64-13.195-13.16V83.05q0-6.481%203.793-9.852c4.543-4.379%2015.082-4.644%2019.53.067c2.743%202.417%203.778%207.355%203.532%2011.964H50.06c.074-1.808-.024-4.554-1.09-5.586c-1.383-1.87-5.035-1.652-6.004.297c-.594%201.059-.89%202.621-.89%204.696v18.71q0%205.884%204.09%205.95q1.914-.001%202.905-1.39c.918-1.099%201.063-3.528.989-5.29h9.437c.645%208.969-4.652%2015.254-13.66%2015.144Zm29.957%200c-9.11.125-13.184-6.36-12.934-15.145h8.91c-.25%203.832%201.067%207.32%204.223%207.078q2.11%200%202.969-1.324c1.086-1.613%201.293-6.265-.266-8.066c-1.085-1.735-4.996-3.266-7.058-4.297q-4.423-2.115-6.367-5.027c-2.93-4.305-2.657-13.754%201.449-17.586c3.992-4.727%2014.414-4.942%2018.41-.098c2.465%202.496%203.54%207.41%203.332%2011.934h-8.578c.074-1.86-.102-4.86-.824-5.95q-.762-1.39-2.871-1.39q-3.762.001-3.762%204.496c.027%203.18%201.27%204.488%204.16%205.816c3.742%201.453%208.5%203.938%2010.227%206.942c5.144%209.16%201.613%2023.148-11.02%2022.613Zm28.77%200c-9.11.125-13.184-6.36-12.934-15.145h8.91c-.25%203.832%201.066%207.32%204.223%207.078q2.108%200%202.969-1.324c1.085-1.613%201.289-6.265-.266-8.066c-1.086-1.735-4.996-3.266-7.059-4.297q-4.423-2.115-6.367-5.027c-2.93-4.305-2.656-13.754%201.45-17.586c3.992-4.727%2014.413-4.942%2018.41-.098c2.464%202.496%203.539%207.41%203.332%2011.934h-8.579c.07-1.86-.101-4.86-.824-5.95q-.762-1.39-2.87-1.39q-3.763.001-3.763%204.496c.028%203.18%201.27%204.488%204.16%205.816c3.743%201.453%208.5%203.938%2010.227%206.942c5.145%209.16%201.614%2023.148-11.02%2022.613Z'%20/%3e%3c/svg%3e`,npm:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23cb3837'%20d='M0%207.062C0%203.225%203.225%200%207.062%200h113.88c3.838%200%207.063%203.225%207.063%207.062v113.88c0%203.838-3.225%207.063-7.063%207.063H7.062c-3.837%200-7.062-3.225-7.062-7.063zm23.69%2097.518h40.395l.05-58.532h19.494l-.05%2058.581h19.543l.05-78.075l-78.075-.1l-.1%2078.126z'%20/%3e%3cpath%20fill='%23fff'%20d='M25.105%2065.52V26.512H40.96c8.72%200%2026.274.034%2039.008.075l23.153.075v77.866H83.645v-58.54H64.057v58.54H25.105z'%20/%3e%3c/svg%3e`,java:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%230074bd'%20d='M47.617%2098.12s-4.767%202.774%203.397%203.71c9.892%201.13%2014.947.968%2025.845-1.092c0%200%202.871%201.795%206.873%203.351c-24.439%2010.47-55.308-.607-36.115-5.969m-2.988-13.665s-5.348%203.959%202.823%204.805c10.567%201.091%2018.91%201.18%2033.354-1.6c0%200%201.993%202.025%205.132%203.131c-29.542%208.64-62.446.68-41.309-6.336'%20/%3e%3cpath%20fill='%23ea2d2e'%20d='M69.802%2061.271c6.025%206.935-1.58%2013.17-1.58%2013.17s15.289-7.891%208.269-17.777c-6.559-9.215-11.587-13.792%2015.635-29.58c0%20.001-42.731%2010.67-22.324%2034.187'%20/%3e%3cpath%20fill='%230074bd'%20d='M102.123%20108.229s3.529%202.91-3.888%205.159c-14.102%204.272-58.706%205.56-71.094.171c-4.451-1.938%203.899-4.625%206.526-5.192c2.739-.593%204.303-.485%204.303-.485c-4.953-3.487-32.013%206.85-13.743%209.815c49.821%208.076%2090.817-3.637%2077.896-9.468M49.912%2070.294s-22.686%205.389-8.033%207.348c6.188.828%2018.518.638%2030.011-.326c9.39-.789%2018.813-2.474%2018.813-2.474s-3.308%201.419-5.704%203.053c-23.042%206.061-67.544%203.238-54.731-2.958c10.832-5.239%2019.644-4.643%2019.644-4.643m40.697%2022.747c23.421-12.167%2012.591-23.86%205.032-22.285c-1.848.385-2.677.72-2.677.72s.688-1.079%202-1.543c14.953-5.255%2026.451%2015.503-4.823%2023.725c0-.002.359-.327.468-.617'%20/%3e%3cpath%20fill='%23ea2d2e'%20d='M76.491%201.587S89.459%2014.563%2064.188%2034.51c-20.266%2016.006-4.621%2025.13-.007%2035.559c-11.831-10.673-20.509-20.07-14.688-28.815C58.041%2028.42%2081.722%2022.195%2076.491%201.587'%20/%3e%3cpath%20fill='%230074bd'%20d='M52.214%20126.021c22.476%201.437%2057-.8%2057.817-11.436c0%200-1.571%204.032-18.577%207.231c-19.186%203.612-42.854%203.191-56.887.874c0%20.001%202.875%202.381%2017.647%203.331'%20/%3e%3c/svg%3e`,kotlin:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cdefs%3e%3clinearGradient%20id='deviconKotlin0'%20x1='500.003'%20x2='-.097'%20y1='579.106'%20y2='1079.206'%20gradientTransform='translate(15.534%20-96.774)scale(.1939)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.003'%20stop-color='%23e44857'%20/%3e%3cstop%20offset='.469'%20stop-color='%23c711e1'%20/%3e%3cstop%20offset='1'%20stop-color='%237f52ff'%20/%3e%3c/linearGradient%3e%3c/defs%3e%3cpath%20fill='url(%23deviconKotlin0)'%20d='M112.484%20112.484H15.516V15.516h96.968L64%2064Zm0%200'%20/%3e%3c/svg%3e`,go:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cg%20fill='%2300acd7'%20fill-rule='evenodd'%3e%3cpath%20d='M11.156%2054.829c-.243%200-.303-.122-.182-.303l1.273-1.637c.12-.182.424-.303.666-.303H34.55c.243%200%20.303.182.182.364l-1.03%201.576c-.121.181-.424.363-.606.363zm-9.152%205.575c-.242%200-.303-.12-.182-.303l1.273-1.636c.121-.182.424-.303.667-.303h27.636c.242%200%20.364.182.303.364l-.485%201.454c-.06.243-.303.364-.545.364zM16.67%2065.98c-.242%200-.302-.182-.181-.364l.848-1.515c.122-.182.364-.363.607-.363h12.12c.243%200%20.364.181.364.424l-.12%201.454c0%20.243-.243.425-.425.425zm62.91-12.242c-3.819.97-6.425%201.697-10.182%202.666c-.91.243-.97.303-1.758-.606c-.909-1.03-1.576-1.697-2.848-2.303c-3.819-1.878-7.516-1.333-10.97.91c-4.121%202.666-6.242%206.605-6.182%2011.514c.06%204.849%203.394%208.849%208.182%209.516c4.121.545%207.576-.91%2010.303-4c.545-.667%201.03-1.394%201.636-2.243H56.064c-1.272%200-1.575-.788-1.151-1.818c.788-1.879%202.242-5.03%203.09-6.606c.183-.364.607-.97%201.516-.97h22.06c-.12%201.637-.12%203.273-.363%204.91c-.667%204.363-2.303%208.363-4.97%2011.878c-4.364%205.758-10.06%209.333-17.273%2010.303c-5.939.788-11.454-.364-16.302-4c-4.485-3.394-7.03-7.879-7.697-13.454c-.788-6.606%201.151-12.546%205.151-17.758c4.303-5.636%2010-9.212%2016.97-10.485c5.697-1.03%2011.151-.363%2016.06%202.97c3.212%202.121%205.515%205.03%207.03%208.545c.364.546.122.849-.606%201.03z'%20/%3e%3cpath%20fill-rule='nonzero'%20d='M99.64%2087.253c-5.515-.122-10.546-1.697-14.788-5.334c-3.576-3.09-5.818-7.03-6.545-11.697c-1.091-6.848.787-12.909%204.909-18.302c4.424-5.819%209.757-8.849%2016.97-10.122c6.181-1.09%2012-.484%2017.272%203.091c4.788%203.273%207.757%207.697%208.545%2013.515c1.03%208.182-1.333%2014.849-6.97%2020.546c-4%204.06-8.909%206.606-14.545%207.757c-1.636.303-3.273.364-4.848.546m14.424-24.485c-.06-.788-.06-1.394-.182-2c-1.09-6-6.606-9.394-12.363-8.06c-5.637%201.272-9.273%204.848-10.606%2010.545c-1.091%204.727%201.212%209.515%205.575%2011.454c3.334%201.455%206.667%201.273%209.879-.363c4.788-2.485%207.394-6.364%207.697-11.576'%20/%3e%3c/g%3e%3c/svg%3e`,python:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3clinearGradient%20id='deviconPython0'%20x1='70.252'%20x2='170.659'%20y1='1237.476'%20y2='1151.089'%20gradientTransform='matrix(.563%200%200%20-.568%20-29.215%20707.817)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%235a9fd4'%20/%3e%3cstop%20offset='1'%20stop-color='%23306998'%20/%3e%3c/linearGradient%3e%3clinearGradient%20id='deviconPython1'%20x1='209.474'%20x2='173.62'%20y1='1098.811'%20y2='1149.537'%20gradientTransform='matrix(.563%200%200%20-.568%20-29.215%20707.817)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23ffd43b'%20/%3e%3cstop%20offset='1'%20stop-color='%23ffe873'%20/%3e%3c/linearGradient%3e%3cpath%20fill='url(%23deviconPython0)'%20d='M63.391%201.988c-4.222.02-8.252.379-11.8%201.007c-10.45%201.846-12.346%205.71-12.346%2012.837v9.411h24.693v3.137H29.977c-7.176%200-13.46%204.313-15.426%2012.521c-2.268%209.405-2.368%2015.275%200%2025.096c1.755%207.311%205.947%2012.519%2013.124%2012.519h8.491V67.234c0-8.151%207.051-15.34%2015.426-15.34h24.665c6.866%200%2012.346-5.654%2012.346-12.548V15.833c0-6.693-5.646-11.72-12.346-12.837c-4.244-.706-8.645-1.027-12.866-1.008M50.037%209.557c2.55%200%204.634%202.117%204.634%204.721c0%202.593-2.083%204.69-4.634%204.69c-2.56%200-4.633-2.097-4.633-4.69c-.001-2.604%202.073-4.721%204.633-4.721'%20transform='translate(0%2010.26)'%20/%3e%3cpath%20fill='url(%23deviconPython1)'%20d='M91.682%2028.38v10.966c0%208.5-7.208%2015.655-15.426%2015.655H51.591c-6.756%200-12.346%205.783-12.346%2012.549v23.515c0%206.691%205.818%2010.628%2012.346%2012.547c7.816%202.297%2015.312%202.713%2024.665%200c6.216-1.801%2012.346-5.423%2012.346-12.547v-9.412H63.938v-3.138h37.012c7.176%200%209.852-5.005%2012.348-12.519c2.578-7.735%202.467-15.174%200-25.096c-1.774-7.145-5.161-12.521-12.348-12.521h-9.268zM77.809%2087.927c2.561%200%204.634%202.097%204.634%204.692c0%202.602-2.074%204.719-4.634%204.719c-2.55%200-4.633-2.117-4.633-4.719c0-2.595%202.083-4.692%204.633-4.692'%20transform='translate(0%2010.26)'%20/%3e%3cradialGradient%20id='deviconPython2'%20cx='1825.678'%20cy='444.45'%20r='26.743'%20gradientTransform='matrix(0%20-.24%20-1.055%200%20532.979%20557.576)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23b8b8b8'%20stop-opacity='0.498'%20/%3e%3cstop%20offset='1'%20stop-color='%237f7f7f'%20stop-opacity='0'%20/%3e%3c/radialGradient%3e%3cpath%20fill='url(%23deviconPython2)'%20d='M97.309%20119.597c0%203.543-14.816%206.416-33.091%206.416c-18.276%200-33.092-2.873-33.092-6.416s14.815-6.417%2033.092-6.417c18.275%200%2033.091%202.872%2033.091%206.417'%20opacity='0.444'%20/%3e%3c/svg%3e`,sql:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%2300618a'%20d='M117.688%2098.242c-6.973-.191-12.297.461-16.852%202.379c-1.293.547-3.355.559-3.566%202.18c.711.746.82%201.859%201.387%202.777c1.086%201.754%202.922%204.113%204.559%205.352c1.789%201.348%203.633%202.793%205.551%203.961c3.414%202.082%207.223%203.27%2010.504%205.352c1.938%201.23%203.859%202.777%205.75%204.164c.934.684%201.563%201.75%202.773%202.18v-.195c-.637-.812-.801-1.93-1.387-2.777l-2.578-2.578c-2.52-3.344-5.719-6.281-9.117-8.719c-2.711-1.949-8.781-4.578-9.91-7.73l-.199-.199c1.922-.219%204.172-.914%205.949-1.391c2.98-.797%205.645-.59%208.719-1.387l4.164-1.187v-.793c-1.555-1.594-2.664-3.707-4.359-5.152c-4.441-3.781-9.285-7.555-14.273-10.703c-2.766-1.746-6.184-2.883-9.117-4.363c-.988-.496-2.719-.758-3.371-1.586c-1.539-1.961-2.379-4.449-3.566-6.738c-2.488-4.793-4.93-10.023-7.137-15.066c-1.504-3.437-2.484-6.828-4.359-9.91c-9-14.797-18.687-23.73-33.695-32.508c-3.195-1.867-7.039-2.605-11.102-3.57l-6.543-.395c-1.332-.555-2.715-2.184-3.965-2.977C16.977%203.52%204.223-3.312.539%205.672C-1.785%2011.34%204.016%2016.871%206.09%2019.746c1.457%202.012%203.32%204.273%204.359%206.539c.688%201.492.805%202.984%201.391%204.559c1.438%203.883%202.695%208.109%204.559%2011.695c.941%201.816%201.98%203.727%203.172%205.352c.727.996%201.98%201.438%202.18%202.973c-1.227%201.715-1.297%204.375-1.984%206.543c-3.098%209.77-1.926%2021.91%202.578%2029.137c1.383%202.223%204.641%206.98%209.117%205.156c3.918-1.598%203.043-6.539%204.164-10.902c.254-.988.098-1.715.594-2.379v.199l3.57%207.133c2.641%204.254%207.324%208.699%2011.297%2011.699c2.059%201.555%203.68%204.242%206.344%205.152v-.199h-.199c-.516-.805-1.324-1.137-1.98-1.781c-1.551-1.523-3.277-3.414-4.559-5.156c-3.613-4.902-6.805-10.27-9.711-15.855c-1.391-2.668-2.598-5.609-3.77-8.324c-.453-1.047-.445-2.633-1.387-3.172c-1.281%201.988-3.172%203.598-4.164%205.945c-1.582%203.754-1.789%208.336-2.375%2013.082c-.348.125-.195.039-.398.199c-2.762-.668-3.73-3.508-4.758-5.949c-2.594-6.164-3.078-16.09-.793-23.191c.59-1.836%203.262-7.617%202.18-9.316c-.516-1.691-2.219-2.672-3.172-3.965c-1.18-1.598-2.355-3.703-3.172-5.551c-2.125-4.805-3.113-10.203-5.352-15.062c-1.07-2.324-2.875-4.676-4.359-6.738c-1.645-2.289-3.484-3.977-4.758-6.742c-.453-.984-1.066-2.559-.398-3.566c.215-.684.516-.969%201.191-1.191c1.148-.887%204.352.297%205.547.793c3.18%201.32%205.832%202.578%208.527%204.363c1.289.855%202.598%202.512%204.16%202.973h1.785c2.789.641%205.914.195%208.523.988c4.609%201.402%208.738%203.582%2012.488%205.949c11.422%207.215%2020.766%2017.48%2027.156%2029.734c1.027%201.973%201.473%203.852%202.379%205.945c1.824%204.219%204.125%208.559%205.941%2012.688c1.816%204.113%203.582%208.27%206.148%2011.695c1.348%201.801%206.551%202.766%208.918%203.766c1.66.699%204.379%201.43%205.949%202.379c3%201.809%205.906%203.965%208.723%205.945c1.402.992%205.73%203.168%205.945%204.957zm-88.605-75.52c-1.453-.027-2.48.156-3.566.395v.199h.195c.695%201.422%201.918%202.34%202.777%203.566l1.98%204.164l.199-.195c1.227-.867%201.789-2.25%201.781-4.363c-.492-.52-.562-1.164-.992-1.785c-.562-.824-1.66-1.289-2.375-1.98zm0%200'%20/%3e%3c/svg%3e`,json:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3e%3cpath%20fill='%23788191'%20d='M5%203h2v2H5v5a2%202%200%200%201-2%202a2%202%200%200%201%202%202v5h2v2H5c-1.07-.27-2-.9-2-2v-4a2%202%200%200%200-2-2H0v-2h1a2%202%200%200%200%202-2V5a2%202%200%200%201%202-2m14%200a2%202%200%200%201%202%202v4a2%202%200%200%200%202%202h1v2h-1a2%202%200%200%200-2%202v4a2%202%200%200%201-2%202h-2v-2h2v-5a2%202%200%200%201%202-2a2%202%200%200%201-2-2V5h-2V3zm-7%2012a1%201%200%200%201%201%201a1%201%200%200%201-1%201a1%201%200%200%201-1-1a1%201%200%200%201%201-1m-4%200a1%201%200%200%201%201%201a1%201%200%200%201-1%201a1%201%200%200%201-1-1a1%201%200%200%201%201-1m8%200a1%201%200%200%201%201%201a1%201%200%200%201-1%201a1%201%200%200%201-1-1a1%201%200%200%201%201-1'%20/%3e%3c/svg%3e`,lua:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23000080'%20d='M112.956.708c-7.912%200-14.335%206.424-14.335%2014.336s6.424%2014.335%2014.335%2014.335s14.335-6.41%2014.335-14.335c0-7.912-6.424-14.336-14.335-14.336M64%2015.058c-27.02%200-48.956%2021.935-48.956%2048.955S36.979%20112.97%2064%20112.97c27.02%200%2048.956-21.935%2048.956-48.956c0-27.02-21.936-48.956-48.956-48.956'%20/%3e%3cpath%20fill='%23fff'%20d='M84.285%2029.392c-7.91%200-14.335%206.424-14.335%2014.335s6.424%2014.336%2014.335%2014.336s14.336-6.424%2014.336-14.336s-6.424-14.335-14.335-14.335zM30.773%2056.36v32.119h19.961v-3.611H34.87V56.359Zm57.584%208.37c-3.354%200-6.126.975-7.668%202.692c-1.055%201.19-1.488%202.516-1.582%204.801h3.705c.311-2.826%201.988-4.098%205.423-4.098c3.3%200%205.153%201.231%205.153%203.435v.974c0%201.542-.92%202.205-3.827%202.556c-5.193.663-5.991.839-7.398%201.407c-2.69%201.095-4.057%203.164-4.057%206.166c0%204.193%202.908%206.83%207.574%206.83c2.907%200%205.247-1.014%207.843-3.395c.257%202.34%201.407%203.395%203.787%203.395c.757%200%201.325-.081%202.515-.392v-2.773a3%203%200%200%201-.798.095c-1.284%200-1.988-.663-1.988-1.812V71.032c0-4.098-3.002-6.302-8.682-6.302m-33.742.664V83.19c0%203.84%202.867%206.302%207.357%206.302c3.395%200%205.545-1.19%207.709-4.233v3.219h3.3V65.393h-3.652v13.09c0%204.72-2.475%207.804-6.302%207.804c-2.907%200-4.76-1.772-4.76-4.544v-16.35Zm38.773%2011.67v4.139c0%201.244-.365%201.988-1.46%203.002c-1.502%201.366-3.3%202.07-5.464%202.07c-2.867%200-4.544-1.367-4.544-3.706c0-2.42%201.636-3.665%205.558-4.233c3.881-.528%204.68-.703%205.91-1.271z'%20/%3e%3cpath%20fill='%23808080'%20d='M61.733%200a64%2064%200%200%200-5.57.436l.179%201.458a63%2063%200%200%201%205.442-.426zm5.585.046l-.075%201.468a62%2062%200%200%201%205.433.52L72.88.578a64%2064%200%200%200-5.561-.532Zm-16.665%201.31a63%2063%200%200%200-5.409%201.398l.43%201.405a62%2062%200%200%201%205.284-1.367Zm27.72.237l-.33%201.431a63%2063%200%200%201%205.262%201.455l.452-1.397a64%2064%200%200%200-5.384-1.489M39.98%204.623a64%2064%200%200%200-5.081%202.323l.668%201.308a62%2062%200%200%201%204.964-2.27zm49.012.41l-.573%201.353a63%2063%200%200%201%204.929%202.346l.688-1.298a64%2064%200%200%200-5.044-2.4ZM30.04%209.706a64%2064%200%200%200-4.6%203.17l.886%201.173a63%2063%200%200%201%204.494-3.098zm-8.906%206.728a64%2064%200%200%200-3.983%203.918l1.075%201.001a63%2063%200%200%201%203.891-3.827zm-7.61%208.165a64%2064%200%200%200-3.247%204.546l1.231.8a63%2063%200%200%201%203.172-4.44zm-6.086%209.357a64%2064%200%200%200-2.408%205.042l1.352.574a62%2062%200%200%201%202.352-4.925zm113.623.973l-1.31.667a63%2063%200%200%201%202.263%204.967l1.362-.55a64%2064%200%200%200-2.315-5.083zM3.075%2044.23a63%2063%200%200%200-1.49%205.385l1.432.328a62%2062%200%200%201%201.455-5.26Zm122.166%201.049l-1.404.429a63%2063%200%200%201%201.366%205.285l1.437-.306a64%2064%200%200%200-1.399-5.409zM.574%2055.108a64%2064%200%200%200-.528%205.561l1.467.075a63%2063%200%200%201%20.516-5.434Zm126.988%201.088l-1.458.179a63%2063%200%200%201%20.428%205.441l1.468-.05a64%2064%200%200%200-.438-5.57M1.468%2066.205L0%2066.255a64%2064%200%200%200%20.435%205.57l1.458-.179a63%2063%200%200%201-.425-5.441m125.018%201.071a63%2063%200%200%201-.518%205.434l1.455.203a64%2064%200%200%200%20.53-5.561zM2.79%2077.031l-1.437.304a63%2063%200%200%200%201.398%205.41l1.405-.43A62%2062%200%200%201%202.79%2077.03Zm122.188%201.046a62%2062%200%200%201-1.457%205.26l1.397.454a63%2063%200%200%200%201.492-5.384zM5.981%2087.459l-1.362.551a63%2063%200%200%200%202.323%205.082l1.307-.669a62%2062%200%200%201-2.268-4.964m115.627.99a62%2062%200%200%201-2.354%204.925l1.296.69a64%2064%200%200%200%202.41-5.04zM10.944%2097.17l-1.245.78a64%2064%200%200%200%203.17%204.6l1.172-.885a63%2063%200%200%201-3.097-4.495m105.534.904a63%2063%200%200%201-3.173%204.44l1.156.906a64%2064%200%200%200%203.249-4.545zm-98.96%207.8l-1.092.983a64%2064%200%200%200%203.917%203.983l1.002-1.074a63%2063%200%200%201-3.827-3.892m92.24.79a63%2063%200%200%201-3.893%203.826l.983%201.092a64%2064%200%200%200%203.984-3.916zm-84.263%206.648l-.906%201.157a64%2064%200%200%200%204.546%203.248l.8-1.232a63%2063%200%200%201-4.44-3.173m76.16.654a63%2063%200%200%201-4.495%203.096l.78%201.245a64%2064%200%200%200%204.6-3.17zm-67.018%205.294l-.691%201.296a64%2064%200%200%200%205.04%202.409l.575-1.352a62%2062%200%200%201-4.924-2.353m57.775.496a62%2062%200%200%201-4.964%202.268l.551%201.362a63%2063%200%200%200%205.082-2.322zm-47.74%203.77l-.453%201.396a63%2063%200%200%200%205.385%201.49l.329-1.43a62%2062%200%200%201-5.26-1.456zm37.632.322a62%2062%200%200%201-5.284%201.365l.304%201.437a63%2063%200%200%200%205.41-1.398zm-27.003%202.122l-.203%201.455a64%2064%200%200%200%205.561.529l.075-1.467a63%2063%200%200%201-5.433-.517m16.335.139a63%2063%200%200%201-5.442.424l.05%201.468a64%2064%200%200%200%205.57-.434z'%20/%3e%3c/svg%3e`,csharp:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%239b4f96'%20d='M115.4%2030.7L67.1%202.9c-.8-.5-1.9-.7-3.1-.7s-2.3.3-3.1.7l-48%2027.9c-1.7%201-2.9%203.5-2.9%205.4v55.7c0%201.1.2%202.4%201%203.5l106.8-62c-.6-1.2-1.5-2.1-2.4-2.7'%20/%3e%3cpath%20fill='%2368217a'%20d='M10.7%2095.3c.5.8%201.2%201.5%201.9%201.9l48.2%2027.9c.8.5%201.9.7%203.1.7s2.3-.3%203.1-.7l48-27.9c1.7-1%202.9-3.5%202.9-5.4V36.1c0-.9-.1-1.9-.6-2.8z'%20/%3e%3cpath%20fill='%23fff'%20d='M85.3%2076.1C81.1%2083.5%2073.1%2088.5%2064%2088.5c-13.5%200-24.5-11-24.5-24.5s11-24.5%2024.5-24.5c9.1%200%2017.1%205%2021.3%2012.5l13-7.5c-6.8-11.9-19.6-20-34.3-20c-21.8%200-39.5%2017.7-39.5%2039.5s17.7%2039.5%2039.5%2039.5c14.6%200%2027.4-8%2034.2-19.8zM97%2066.2l.9-4.3h-4.2v-4.7h5.1L100%2051h4.9l-1.2%206.1h3.8l1.2-6.1h4.8l-1.2%206.1h2.4v4.7h-3.3l-.9%204.3h4.2v4.7h-5.1l-1.2%206h-4.9l1.2-6h-3.8l-1.2%206h-4.8l1.2-6h-2.4v-4.7H97zm4.8%200h3.8l.9-4.3h-3.8z'%20/%3e%3c/svg%3e`,cpp:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%2300599c'%20d='M118.766%2095.82c.89-1.543%201.441-3.28%201.441-4.843V36.78c0-1.558-.55-3.297-1.441-4.84l-55.32%2031.94Zm0%200'%20/%3e%3cpath%20fill='%23004482'%20d='m68.36%20126.586l46.933-27.094c1.352-.781%202.582-2.129%203.473-3.672l-55.32-31.94L8.12%2095.82c.89%201.543%202.121%202.89%203.473%203.672l46.933%2027.094c2.703%201.562%207.13%201.562%209.832%200Zm0%200'%20/%3e%3cpath%20fill='%23659ad2'%20d='M118.766%2031.941c-.891-1.546-2.121-2.894-3.473-3.671L68.359%201.172c-2.703-1.563-7.129-1.563-9.832%200L11.594%2028.27C8.89%2029.828%206.68%2033.66%206.68%2036.78v54.196c0%201.562.55%203.3%201.441%204.843L63.445%2063.88Zm0%200'%20/%3e%3cpath%20fill='%23fff'%20d='M63.445%2026.035c-20.867%200-37.843%2016.977-37.843%2037.844s16.976%2037.844%2037.843%2037.844c13.465%200%2026.024-7.247%2032.77-18.91L79.84%2073.335c-3.38%205.84-9.66%209.465-16.395%209.465c-10.433%200-18.922-8.488-18.922-18.922s8.49-18.922%2018.922-18.922c6.73%200%2013.017%203.629%2016.39%209.465l16.38-9.477c-6.75-11.664-19.305-18.91-32.77-18.91zM92.88%2057.57v4.207h-4.207v4.203h4.207v4.207h4.203V65.98h4.203v-4.203h-4.203V57.57zm15.766%200v4.207h-4.204v4.203h4.204v4.207h4.207V65.98h4.203v-4.203h-4.203V57.57z'%20/%3e%3c/svg%3e`,c:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23659ad3'%20d='M115.4%2030.7L67.1%202.9c-.8-.5-1.9-.7-3.1-.7s-2.3.3-3.1.7l-48%2027.9c-1.7%201-2.9%203.5-2.9%205.4v55.7c0%201.1.2%202.4%201%203.5l106.8-62c-.6-1.2-1.5-2.1-2.4-2.7'%20/%3e%3cpath%20fill='%2303599c'%20d='M10.7%2095.3c.5.8%201.2%201.5%201.9%201.9l48.2%2027.9c.8.5%201.9.7%203.1.7s2.3-.3%203.1-.7l48-27.9c1.7-1%202.9-3.5%202.9-5.4V36.1c0-.9-.1-1.9-.6-2.8z'%20/%3e%3cpath%20fill='%23fff'%20d='M85.3%2076.1C81.1%2083.5%2073.1%2088.5%2064%2088.5c-13.5%200-24.5-11-24.5-24.5s11-24.5%2024.5-24.5c9.1%200%2017.1%205%2021.3%2012.5l13-7.5c-6.8-11.9-19.6-20-34.3-20c-21.8%200-39.5%2017.7-39.5%2039.5s17.7%2039.5%2039.5%2039.5c14.6%200%2027.4-8%2034.2-19.8z'%20/%3e%3c/svg%3e`,file:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3e%3cpath%20fill='%23788191'%20d='m12.89%203l1.96.4L11.11%2021l-1.96-.4zm6.7%209L16%208.41V5.58L22.42%2012L16%2018.41v-2.83zM1.58%2012L8%205.58v2.83L4.41%2012L8%2015.58v2.83z'%20/%3e%3c/svg%3e`},p=e=>(0,r.jsx)(`img`,{className:[d.icon,e.className].filter(Boolean).join(` `),src:f[e.language]||`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3e%3cpath%20fill='%23788191'%20d='m12.89%203l1.96.4L11.11%2021l-1.96-.4zm6.7%209L16%208.41V5.58L22.42%2012L16%2018.41v-2.83zM1.58%2012L8%205.58v2.83L4.41%2012L8%2015.58v2.83z'%20/%3e%3c/svg%3e`,width:e.size,height:e.size,alt:e.language,style:{width:e.size,height:e.size,...e.style}}),m={text:`_text_1nnze_1`,link:`_link_1nnze_19`},h={icon:`_icon_k0isg_1`},g=({src:e,alt:n,className:i})=>{let[a,o]=(0,t.useState)(e);return(0,r.jsx)(`img`,{className:[h.icon,i].filter(Boolean).join(` `),src:a,alt:n,onError:()=>{o(`data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="gray" d="M17.9 17.39c-.26-.8-1.01-1.39-1.9-1.39h-1v-3a1 1 0 0 0-1-1H8v-2h2a1 1 0 0 0 1-1V7h2a2 2 0 0 0 2-2v-.41a7.984 7.984 0 0 1 2.9 12.8M11 19.93c-3.95-.49-7-3.85-7-7.93c0-.62.08-1.22.21-1.79L9 15v1a2 2 0 0 0 2 2m1-16A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2"/></svg>`)}})},_=e=>{let t=e=>{let t=e.children;return e.kbd&&(t=(0,r.jsx)(`kbd`,{children:t})),e.code&&(t=(0,r.jsx)(`code`,{children:t})),e.strikethrough&&(t=(0,r.jsx)(`del`,{children:t})),e.underline&&(t=(0,r.jsx)(`ins`,{children:t})),e.italic&&(t=(0,r.jsx)(`em`,{children:t})),e.bold&&(t=(0,r.jsx)(`strong`,{children:t})),e.ruby&&(t=(0,r.jsxs)(`ruby`,{children:[t,(0,r.jsx)(`rt`,{children:e.ruby})]})),t},n=({favicon:e,href:t,children:n})=>(0,r.jsxs)(`a`,{className:m.link,href:t,target:`_blank`,rel:`noopener noreferrer`,children:[e&&(0,r.jsx)(g,{src:e}),n]}),a=e=>e.href?n(e):t(e);return(0,r.jsx)(`span`,{className:[m.text,e.className].filter(Boolean).join(` `),style:{"--elmethis-text-color-light":e.color,"--elmethis-text-color-dark":e.color,"--elmethis-text-background-color-light":e.backgroundColor,"--elmethis-text-background-color-dark":e.backgroundColor,color:e.color??(e.backgroundColor?(0,i.getLuminance)(e.backgroundColor)>.5?`#3e434b`:`#eeeff1`:void 0),backgroundColor:e.backgroundColor,...e.style},children:a(e)})},v={icon:`_icon_g71ox_1`,"icon-theme-color":`_icon-theme-color_g71ox_10`},y=e=>(0,r.jsx)(`div`,{className:e.className,style:e.style,children:(0,r.jsx)(`svg`,{width:e.size||`1.25rem`,height:e.size||`1.25rem`,viewBox:`0 0 24 24`,focusable:`false`,role:`img`,children:(0,r.jsx)(`path`,{style:{"--elmethis-scoped-color":e.colorLight??e.color,"--elmethis-scoped-color-dark":e.colorDark??e.color,...e.style},className:e.useThemeColor?v[`icon-theme-color`]:v.icon,fill:`currentColor`,d:e.d})})}),b={wrapper:`_wrapper_1q92c_15`,dot:`_dot_1q92c_22`,bounce:`_bounce_1q92c_1`},x=e=>{let{color:t,size:n=`64px`,style:i}=e;return(0,r.jsx)(`div`,{className:[b.wrapper,e.className].filter(Boolean).join(` `),style:{width:n,height:n,...i},children:[1,2,3].map(e=>(0,r.jsx)(`div`,{className:b.dot,"aria-hidden":!0,style:t?{backgroundColor:t}:void 0},e))})},ee={code:`_code_1nyfa_1`},S=null;function te(){return S||(S=import(`shiki`).then(({createHighlighter:e})=>e({langs:`abap.bash.c.clojure.coffeescript.cpp.csharp.css.dart.diff.docker.elixir.elm.erlang.fsharp.gherkin.glsl.go.graphql.groovy.haskell.html.java.javascript.json.julia.kotlin.latex.less.lisp.lua.makefile.markdown.matlab.mermaid.nix.objective-c.ocaml.pascal.perl.php.plaintext.powershell.prolog.protobuf.python.r.ruby.rust.sass.scala.scheme.scss.shell.sql.swift.toml.typescript.wasm.xml.yaml`.split(`.`),themes:[`vitesse-light`,`vitesse-dark`]}))),S}var ne=({code:e,language:n=`txt`,onRendered:i,style:a,className:o})=>{let[s,c]=(0,t.useState)(`<pre>${e}</pre>`);return(0,t.useEffect)(()=>{let t=!1;return te().then(r=>{if(!t)try{let a=r.codeToHtml(e,{lang:n,themes:{dark:`vitesse-dark`,light:`vitesse-light`},colorReplacements:{"#ffffff":`transparent`,"#121212":`transparent`}});t||(c(a),i?.(!0))}catch{t||i?.(!0)}}).catch(()=>{t||i?.(!0)}),()=>{t=!0}},[e,n,i]),(0,r.jsx)(`div`,{className:[ee.code,o].filter(Boolean).join(` `),style:a,children:(0,r.jsx)(`div`,{className:`shiki`,dangerouslySetInnerHTML:{__html:s}})})},re=({code:e,language:i=`txt`,caption:a,style:o,className:s})=>{let[c,l]=(0,t.useState)(!1),[d,f]=(0,t.useState)(!1),[m,h]=(0,t.useState)(!1),g=(0,t.useRef)(null),v=(0,t.useRef)(null);(0,t.useEffect)(()=>{let e=g.current;if(!e)return;let t=new IntersectionObserver(([e])=>{h(e.isIntersecting)});return t.observe(e),()=>t.disconnect()},[]);let b=(0,t.useCallback)(()=>{navigator.clipboard.writeText(e).then(()=>{f(!0),v.current&&clearTimeout(v.current),v.current=setTimeout(()=>f(!1),2e3)})},[e]);return(0,t.useEffect)(()=>()=>{v.current&&clearTimeout(v.current)},[]),(0,r.jsxs)(`div`,{ref:g,className:[u.wrapper,s].filter(Boolean).join(` `),style:{opacity:+!!m,...o},children:[(0,r.jsxs)(`div`,{className:u.header,children:[(0,r.jsxs)(`div`,{className:u.header__left,children:[(0,r.jsx)(p,{language:i,size:20}),(0,r.jsx)(`span`,{className:u.caption,children:(0,r.jsx)(_,{children:a??i})})]}),(0,r.jsx)(`div`,{className:u.header__right,children:(0,r.jsx)(`div`,{className:u[`copy-icon`],onClick:b,children:(0,r.jsx)(y,{size:`1.25em`,d:d?n.mdiClipboardCheckMultipleOutline:n.mdiClipboardMultipleOutline,useThemeColor:d})})})]}),(0,r.jsxs)(`div`,{className:u.code,children:[(0,r.jsx)(`div`,{className:u[`code-body`],style:{opacity:+!!c},children:(0,r.jsx)(ne,{code:e,language:i,onRendered:l})}),(0,r.jsx)(`div`,{className:u.fallback,style:{opacity:+!c},children:(0,r.jsx)(x,{size:`48px`})})]})]})},ie={katex:`_katex_1a1aj_1`},ae=({expression:e,block:n=!1,style:i,className:a})=>{let[o,s]=(0,t.useState)();(0,t.useEffect)(()=>{import(`katex`).then(({renderToString:t})=>{try{s(t(e,{displayMode:n,output:`mathml`}))}catch(e){console.error(`KaTeX rendering error:`,e)}}).catch(()=>{})},[e,n]);let c=[ie.katex,a].filter(Boolean).join(` `);return n?(0,r.jsx)(`div`,{className:c,style:i,dangerouslySetInnerHTML:o?{__html:o}:void 0}):(0,r.jsx)(`span`,{className:c,style:i,dangerouslySetInnerHTML:o?{__html:o}:void 0})},oe={"elm-collapse":`_elm-collapse_j2kw5_1`,inner:`_inner_j2kw5_8`,open:`_open_j2kw5_12`},se=e=>(0,r.jsx)(`div`,{className:(0,a.default)(oe[`elm-collapse`],{[oe.open]:e.isOpen}),style:e.style,children:(0,r.jsx)(`div`,{className:oe.inner,children:e.children})}),ce={column:`_column_12uje_1`},le=e=>(0,r.jsx)(`div`,{className:[ce.column,e.className].filter(Boolean).join(` `),style:e.style,children:e.children}),ue={"column-list":`_column-list_rt1o3_1`},de=e=>(0,r.jsx)(`div`,{className:[ue[`column-list`],e.className].filter(Boolean).join(` `),style:e.style,children:e.children}),fe={body:`_body_gd5gc_1`,button:`_button_gd5gc_5`},pe={provider:`_provider_qbioz_1`,exit:`_exit_qbioz_23`},me=({closeOnClickOutside:e=!0,duration:n=200,isOpen:i,setIsOpen:s,...c})=>{let[l,u]=(0,t.useState)(!1);(0,t.useEffect)(()=>{if(i){let e=window.setTimeout(()=>u(!0),0);return()=>clearTimeout(e)}else{let e=window.setTimeout(()=>u(!1),n);return()=>clearTimeout(e)}},[i,n]);let d=(0,t.useCallback)(()=>{e&&s&&s(!1)},[e,s]),f=(0,t.useCallback)(e=>{e.stopPropagation()},[]);return!i&&!l?null:(0,o.createPortal)((0,r.jsx)(`div`,{className:(0,a.default)(pe.provider,{[pe.exit]:!i}),style:{transitionDuration:`${n}ms`},onClick:d,children:(0,r.jsx)(`div`,{className:c.className,style:c.style,onClick:f,children:c.children})}),document.body)},C={button:`_button_c0mex_1`,"button-ornament":`_button-ornament_c0mex_29`,normal:`_normal_c0mex_40`,primary:`_primary_c0mex_50`,colored:`_colored_c0mex_60`,enable:`_enable_c0mex_64`,flex:`_flex_c0mex_95`,ripple:`_ripple_c0mex_117`,"button-ripple":`_button-ripple_c0mex_1`},he=({loading:e=!1,block:n=!1,disabled:i=!1,primary:a=!1,...o})=>{let[s,c]=(0,t.useState)(!1),l=(0,t.useRef)(void 0),{onClick:u}=o,d=(0,t.useCallback)(()=>{!e&&!i&&u&&(c(!0),l.current=window.setTimeout(()=>c(!1),300),u())},[e,i,u]);return(0,t.useEffect)(()=>()=>{l.current&&clearTimeout(l.current)},[]),(0,r.jsxs)(`button`,{className:[C.button,!e&&!i?C.enable:``,o.color?C.colored:``,!o.color&&!a?C.normal:``,!o.color&&a?C.primary:``,o.className].filter(Boolean).join(` `),style:{display:n?`flex`:`inline-flex`,width:n?`100%`:`auto`,cursor:i?`not-allowed`:e?`progress`:`pointer`,"--opacity":i||e?.6:void 0,"--color":o.color,...o.style},onClick:d,children:[s&&(0,r.jsx)(`div`,{className:C.ripple}),e?(0,r.jsx)(x,{size:`1.5rem`}):(0,r.jsx)(`span`,{className:C.flex,children:o.children}),(0,r.jsx)(`div`,{className:C[`button-ornament`]})]})},ge={"heading-common":`_heading-common_1ytfd_1`,h1:`_h1_1ytfd_22`,h2:`_h2_1ytfd_57`,h2__underline:`_h2__underline_1ytfd_91`,h3:`_h3_1ytfd_110`,h4:`_h4_1ytfd_130`,h5:`_h5_1ytfd_134`,h6:`_h6_1ytfd_138`,"heading-stretch":`_heading-stretch_1ytfd_1`},_e={fragment:`_fragment_il7xb_1`},ve=e=>{let n=(0,t.useCallback)(e=>{let t=new URL(window.location.href);t.hash=e,window.history.replaceState(null,``,t.toString()),document.getElementById(e)?.scrollIntoView({behavior:`smooth`})},[]);return(0,r.jsx)(`span`,{className:[_e.fragment,e.className].filter(Boolean).join(` `),style:e.style,onClick:()=>n(e.id),children:`#`})},ye=Object.freeze({1:1.5,2:1.4,3:1.3,4:1.2,5:1.15,6:1.1}),be=e=>e.replace(/([a-z])([A-Z])/g,`$1-$2`).replace(/[\s_]+/g,`-`).toLowerCase(),w=({level:e=1,disableFragmentIdentifier:n=!1,...i})=>{let a=(0,t.useRef)(null),[o,s]=(0,t.useState)(!1);(0,t.useEffect)(()=>{let e=a.current;if(!e)return;let t=new IntersectionObserver(([e])=>{s(e.isIntersecting)});return t.observe(e),()=>t.disconnect()},[]);let c=`h${e}`,l=i.id??(i.text?be(i.text):void 0);return(0,r.jsxs)(c,{ref:a,className:[ge[`heading-common`],ge[`h${e}`],i.className].filter(Boolean).join(` `),id:l,style:{"--font-size":i.size??`${ye[e]}rem`,"--scale":+!!o,"--opacity":+!!o,...i.style},children:[i.text&&(0,r.jsx)(`span`,{children:i.text}),i.children,!n&&l&&(0,r.jsx)(ve,{id:l}),e===2&&(0,r.jsx)(`span`,{className:ge.h2__underline,"aria-hidden":`true`})]})},xe=({closeOnClickOutside:e=!0,onChange:i,onConfirm:a,onSuccess:o,onError:s,...c})=>{let[l,u]=(0,t.useState)(!1),d=(0,t.useCallback)(()=>{i&&i(!1)},[i]),f=(0,t.useCallback)(async()=>{u(!0);try{await a(),u(!1),i&&i(!1),o&&o()}catch(e){s&&s(e),u(!1),i&&i(!1)}},[a,o,s,i]);return(0,r.jsx)(me,{isOpen:c.value,setIsOpen:i,closeOnClickOutside:e,className:c.className,children:(0,r.jsxs)(`div`,{children:[(0,r.jsx)(w,{level:2,disableFragmentIdentifier:!0,children:c.title}),(0,r.jsx)(`div`,{className:fe.body,children:c.children}),(0,r.jsxs)(`div`,{className:fe.button,children:[(0,r.jsxs)(he,{block:!0,onClick:d,loading:l,children:[(0,r.jsx)(y,{d:n.mdiArrowLeft}),(0,r.jsx)(`span`,{children:`Cancel`})]}),(0,r.jsxs)(he,{block:!0,onClick:f,primary:!0,loading:l,children:[(0,r.jsx)(y,{d:n.mdiCheckCircle,color:`currentColor`}),(0,r.jsx)(`span`,{children:`Confirm`})]})]})]})})},T={window:`_window_l8snl_1`,header:`_header_l8snl_14`,dot:`_dot_l8snl_25`},Se=({minHeight:e=`6rem`,...t})=>(0,r.jsxs)(`div`,{className:[T.window,t.className].filter(Boolean).join(` `),style:t.style,children:[(0,r.jsxs)(`div`,{className:T.header,children:[(0,r.jsx)(`div`,{"aria-hidden":!0,className:T.dot,style:{"--bg":`#c48691`}}),(0,r.jsx)(`div`,{"aria-hidden":!0,className:T.dot,style:{"--bg":`#c9b990`}}),(0,r.jsx)(`div`,{"aria-hidden":!0,className:T.dot,style:{"--bg":`#7cc598`}})]}),(0,r.jsx)(`div`,{style:{minHeight:e},children:t.children})]}),Ce={parallax:`_parallax_1tovg_1`},we=({className:e,...n})=>{let[i,a]=(0,t.useState)(0);return(0,t.useEffect)(()=>{let e=null,t=()=>{e??(e=requestAnimationFrame(()=>{a(window.scrollY),e=null}))};return window.addEventListener(`scroll`,t,{passive:!0}),()=>{window.removeEventListener(`scroll`,t),e!=null&&cancelAnimationFrame(e)}},[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(`div`,{className:[Ce.parallax,e].filter(Boolean).join(` `),style:{backgroundImage:`url(${n.imageUrl1})`,transform:`scale(1.2) translateY(${i/400}%)`,transformOrigin:`bottom`,...n.style}}),(0,r.jsx)(`div`,{className:Ce.parallax,style:{backgroundImage:`url(${n.imageUrl2})`,transform:`scale(1.2) translateY(${i/900}%)`,transformOrigin:`bottom`}})]})},E={container:`_container_1mzm0_1`,title:`_title_1mzm0_16`,text:`_text_1mzm0_22`},Te={original:`_original_3zasf_1`,tooltip:`_tooltip_3zasf_5`,"tooltip-enter":`_tooltip-enter_3zasf_17`},Ee=e=>{let n=(0,t.useRef)(null),[i,a]=(0,t.useState)(!1),[o,s]=(0,t.useState)({}),c=(0,t.useCallback)(()=>{let e=n.current;if(!e)return;let t=e.getBoundingClientRect(),r=window.innerWidth;t.x>r/2?s({top:`${t.y+t.height}px`,right:`${r-t.x-t.width}px`}):s({top:`${t.y+t.height}px`,left:`${t.x}px`})},[]);return(0,t.useEffect)(()=>{i&&c()},[i,c]),(0,r.jsxs)(`span`,{ref:n,className:[Te.original,e.className].filter(Boolean).join(` `),onMouseOver:()=>a(!0),onMouseLeave:()=>a(!1),style:e.style,children:[e.original,i&&(0,r.jsx)(`div`,{className:`${Te.tooltip} ${Te[`tooltip-enter`]}`,style:o,children:e.tooltip})]})},De=e=>(0,r.jsx)(Ee,{original:e.children,tooltip:(0,r.jsxs)(`div`,{className:[E.container,e.className].filter(Boolean).join(` `),style:e.style,children:[e.title&&(0,r.jsx)(`div`,{className:E.title,children:e.title}),(0,r.jsx)(`div`,{className:E.text,children:e.text})]})}),D={snackbar:`_snackbar_1f0go_1`,icon:`_icon_1f0go_19`,progress:`_progress_1f0go_45`},Oe=({timeout:e=5e3,...t})=>(0,r.jsxs)(`div`,{className:[D.snackbar,t.className].filter(Boolean).join(` `),style:t.style,children:[t.label==null?t.children:(0,r.jsx)(_,{children:t.label}),(0,r.jsx)(`div`,{className:D.icon,onClick:t.close,children:(0,r.jsx)(y,{d:n.mdiCloseCircleOutline,size:`1em`})}),(0,r.jsx)(`div`,{className:D.progress,style:{animationDuration:`${e}ms`}})]}),O={"snackbar-screen":`_snackbar-screen_up7j2_1`,"snackbar-container":`_snackbar-container_up7j2_14`,"snackbar-item":`_snackbar-item_up7j2_23`},ke=e=>(0,r.jsx)(`div`,{className:[O[`snackbar-screen`],e.className].filter(Boolean).join(` `),style:e.style,children:(0,r.jsx)(`div`,{className:O[`snackbar-container`],children:e.snackbars.map(e=>(0,r.jsx)(`div`,{className:O[`snackbar-item`],children:(0,r.jsx)(Oe,{label:e.label,timeout:e.timeout,close:e.close,children:e.children})},e.id))})}),k={"elm-tabs":`_elm-tabs_ykoqx_1`,"tab-container":`_tab-container_ykoqx_18`,tab:`_tab_ykoqx_18`,active:`_active_ykoqx_40`,"tab-content-container":`_tab-content-container_ykoqx_51`,"tab-content":`_tab-content_ykoqx_51`},Ae=e=>{let[n,i]=(0,t.useState)(0);return(0,r.jsxs)(`div`,{className:[k[`elm-tabs`],e.className].filter(Boolean).join(` `),style:e.style,children:[(0,r.jsx)(`div`,{className:k[`tab-container`],children:e.tabLabels.map((e,t)=>(0,r.jsx)(`div`,{className:`${k.tab} ${n===t?k.active:``}`,onClick:()=>i(t),children:e},t))}),(0,r.jsx)(`div`,{className:k[`tab-content-container`],children:e.tabContents.map((e,t)=>(0,r.jsx)(`div`,{className:`${k[`tab-content`]} ${n===t?k.active:``}`,children:e},t))})]})},A={toggle:`_toggle_16f85_1`,open:`_open_16f85_14`,summary:`_summary_16f85_19`,"summary-left":`_summary-left_16f85_33`,divider:`_divider_16f85_40`,chevron:`_chevron_16f85_57`,cross:`_cross_16f85_70`,border:`_border_16f85_84`,content:`_content_16f85_92`,close:`_close_16f85_96`},je=e=>{let[t,i]=(0,s.useControllableState)({prop:e.isOpen,defaultProp:!1,onChange:e.setIsOpen}),o=e=>{e.preventDefault(),i(!t)};return(0,r.jsxs)(`div`,{className:(0,a.default)(A.toggle,e.className,{[A.open]:t}),style:{...e.style},children:[(0,r.jsxs)(`div`,{className:A.summary,onClick:o,children:[(0,r.jsxs)(`div`,{className:A[`summary-left`],children:[(0,r.jsx)(y,{className:(0,a.default)(A.chevron,{[A.open]:t}),d:n.mdiChevronRight,color:`#59b57c`,size:`1rem`}),(0,r.jsx)(`div`,{children:e.summary==null?e.summaryContent:(0,r.jsx)(_,{children:e.summary})})]}),(0,r.jsx)(`hr`,{className:A.divider}),(0,r.jsx)(y,{className:(0,a.default)(A.cross,{[A.open]:t}),d:n.mdiPlus,size:`1rem`,color:t?`#b36472`:`#59b57c`})]}),(0,r.jsx)(`div`,{className:A.border}),(0,r.jsx)(`div`,{className:(0,a.default)(A.content,{[A.close]:!t}),children:e.children})]})},Me={option:`_option_hdb87_1`},j={wrapper:`_wrapper_1xby6_1`,active:`_active_1xby6_29`,header:`_header_1xby6_33`,label:`_label_1xby6_41`,body:`_body_1xby6_54`,select:`_select_1xby6_63`,selected:`_selected_1xby6_72`,fallback:`_fallback_1xby6_77`,pulldown:`_pulldown_1xby6_85`,collapse:`_collapse_1xby6_106`,option:`_option_1xby6_116`,selectable:`_selectable_1xby6_129`,description:`_description_1xby6_140`},Ne=({disabled:e=!1,loading:i=!1,...o})=>{let[s,c]=(0,t.useState)(!1),l=(0,t.useRef)(null),u=()=>{!e&&!i&&c(e=>!e)},{options:d,onSelect:f}=o,p=e=>{let t=d.find(t=>t.id===e);t&&f&&(f(t.id),c(!1))};(0,t.useEffect)(()=>{let e=e=>{l.current&&!l.current.contains(e.target)&&c(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[]);let m=(e,t,i)=>{let s=o.options.find(t=>t.id===e);if(!s)return null;let c=t?e=>{e.stopPropagation(),p(s.id)}:void 0,l=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(`span`,{children:s.label}),s.description&&(0,r.jsx)(`span`,{className:j.description,children:s.description})]});return(0,r.jsxs)(`div`,{className:(0,a.default)(j.option,{[j.selectable]:t}),onClick:c,children:[t&&(0,r.jsx)(y,{d:n.mdiChevronRight,color:`#868e9c`,size:`0.75em`}),s.children?s.children:l]},i)};return(0,r.jsxs)(`div`,{ref:l,className:(0,a.default)(j.wrapper,o.className,{[j.active]:s}),style:{backgroundColor:e||i?`rgba(0,0,0,0.15)`:void 0,...o.style},onClick:u,children:[(0,r.jsx)(`div`,{className:j.header,children:(0,r.jsx)(`span`,{className:j.label,children:o.label})}),(0,r.jsx)(`div`,{className:j.body,children:(0,r.jsxs)(`div`,{className:j.select,children:[(0,r.jsx)(`div`,{className:j.selected,children:o.selectedOptionId?m(o.selectedOptionId,!1):(0,r.jsxs)(`div`,{className:j.fallback,children:[(0,r.jsx)(y,{d:n.mdiArrowDownDropCircleOutline}),(0,r.jsx)(`span`,{children:o.placeholder??`Select an option`})]})}),(0,r.jsx)(y,{d:n.mdiMenuDown,size:`1.5rem`}),(0,r.jsx)(`div`,{className:(0,a.default)(j.pulldown,{[j.active]:s}),children:(0,r.jsx)(`div`,{className:j.collapse,children:o.options.map(e=>m(e.id,!0,e.id))})})]})})]})},Pe=e=>({id:e.modelId,label:e.label,children:(0,r.jsxs)(`div`,{className:Me.option,children:[(0,r.jsx)(g,{src:e.icon,alt:e.label,className:Me.icon}),(0,r.jsx)(_,{children:e.label})]})}),Fe=e=>{let n=t.default.useMemo(()=>{let t=e.models.find(t=>t.modelId===e.selectedModelId)||null;return t?Pe(t):null},[e.models,e.selectedModelId]);return(0,r.jsx)(Ne,{label:`Model`,options:e.models.map(Pe),selectedOptionId:n?.id,onSelect:e.setSelectedModelId})},M={progress:`_progress_e6hmw_1`,container:`_container_e6hmw_27`,value:`_value_e6hmw_41`,loading:`_loading_e6hmw_56`,buffer:`_buffer_e6hmw_72`},Ie=({value:e,buffer:t,max:n=100,weight:i=`4px`,round:a=!0,color:o,loading:s=!1,style:c,className:l})=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(`progress`,{className:M.progress,value:e,max:n}),(0,r.jsxs)(`div`,{className:[M.container,l].filter(Boolean).join(` `),style:{"--weight":i,"--border-radius":a?`calc(var(--weight) / 2)`:void 0,"--color":o,...c},children:[(0,r.jsx)(`div`,{className:M.value,style:{"--scale-x":`scaleX(${s?0:e/n})`}}),s&&(0,r.jsx)(`div`,{className:M.loading}),(0,r.jsx)(`div`,{className:M.buffer,style:{"--scale-x":`scaleX(${s?0:t==null?e/n:t/n})`}})]})]}),Le={container:`_container_13d02_1`,bar:`_bar_13d02_15`},Re=({progress:e,weight:n=`4px`,round:i=!0,style:a,className:o})=>{let s=(0,t.useMemo)(()=>{let t=e.reduce((e,t)=>e+t.value,0),n=e.map(e=>e.value/t*100);return e.map((e,t)=>({...e,scale:n[t]/100,start:n.slice(0,t).reduce((e,t)=>e+t,0)}))},[e]);return(0,r.jsx)(`div`,{className:[Le.container,o].filter(Boolean).join(` `),style:{"--weight":n,"--border-radius":i?`calc(var(--weight) / 2)`:void 0,...a},children:s.map((e,t)=>(0,r.jsx)(`div`,{className:Le.bar,style:{"--transform":`translateX(${e.start}%) scaleX(${e.scale})`,"--color":e.color}},t))})},ze={wrapper:`_wrapper_17chp_1`},Be=Object.freeze({pending:{color:`#6987b8`,icon:n.mdiReload},error:{color:`#c56565`,icon:n.mdiAlertCircle},warning:{color:`#cdb57b`,icon:n.mdiAlert},success:{color:`#59b57c`,icon:n.mdiCheckCircle}}),Ve=({status:e,message:t,style:n,className:i})=>{let{color:a,icon:o}=Be[e];return(0,r.jsxs)(`div`,{className:[ze.wrapper,i].filter(Boolean).join(` `),style:n,children:[(0,r.jsx)(y,{d:o,color:a,size:`1em`}),(0,r.jsx)(_,{color:a,children:t})]})},N={wrapper:`_wrapper_gcui5_1`,error:`_error_gcui5_9`,"image-frame":`_image-frame_gcui5_21`,fallback:`_fallback_gcui5_29`,pulse:`_pulse_gcui5_1`,"image-inline":`_image-inline_gcui5_56`,"image-block":`_image-block_gcui5_67`,"alt-container":`_alt-container_gcui5_79`,"alt-text":`_alt-text_gcui5_90`,modal:`_modal_gcui5_94`,"modal-image":`_modal-image_gcui5_108`},P=({src:e,alt:i,block:a=!1,enableModal:o=!1,width:s,height:c,style:l,className:u})=>{let[d,f]=(0,t.useState)(!0),[p,m]=(0,t.useState)(!1),[h,g]=(0,t.useState)(!1),v=(0,t.useRef)(null);return(0,t.useEffect)(()=>{let t=new Image;t.src=e,t.onload=()=>{f(!1),m(!1)},t.onerror=()=>{f(!1),m(!0)}},[e]),(0,t.useEffect)(()=>{let e=e=>{e.key===`Escape`&&(e.preventDefault(),g(!1))};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[]),(0,r.jsxs)(`div`,{className:[N.wrapper,u].filter(Boolean).join(` `),ref:v,style:l,children:[p&&(0,r.jsx)(`div`,{className:N.error,children:(0,r.jsx)(_,{color:`#c56565`,size:`1.5rem`,children:`Error loading image`})}),(0,r.jsxs)(`div`,{className:N[`image-frame`],style:l,children:[d&&(0,r.jsx)(`div`,{className:N.fallback,style:{aspectRatio:s&&c?`${s} / ${c}`:`1200 / 630`,width:s?`${s}px`:void 0,height:c?`${c}px`:void 0}}),(0,r.jsx)(`img`,{className:a?N[`image-block`]:N[`image-inline`],src:e,alt:i,width:s,height:c,onClick:()=>{o&&g(!0)},style:{"--width":s?`${s}px`:void 0,"--height":c?`${c}px`:void 0,cursor:o?`zoom-in`:void 0,opacity:+(!d&&!p),pointerEvents:!d&&!p?void 0:`none`}})]}),a&&!d&&i!=null&&i.trim()!==``&&(0,r.jsxs)(`div`,{className:N[`alt-container`],children:[(0,r.jsx)(y,{d:n.mdiMessageImageOutline,color:`#b69545`,style:{flexShrink:0}}),(0,r.jsx)(`div`,{className:N[`alt-text`],children:(0,r.jsx)(_,{size:`0.8rem`,children:i})})]}),h&&(0,r.jsx)(`div`,{className:N.modal,onClick:()=>g(!1),children:(0,r.jsx)(`img`,{className:N[`modal-image`],src:e,alt:i,width:s,height:c})})]})},He=({oEmbed:e,style:t,className:n})=>e.type===`photo`?(0,r.jsx)(`div`,{className:n,style:t,children:(0,r.jsx)(P,{src:e.url,alt:e.title,width:e.width,height:e.height,block:!0})}):e.type===`video`||e.type===`rich`?(0,r.jsx)(`div`,{style:{width:e.width?`${e.width}px`:void 0,height:e.height?`${e.height}px`:void 0,...t},dangerouslySetInnerHTML:{__html:e.html}}):(0,r.jsx)(`div`,{className:n,style:t,children:(0,r.jsx)(_,{href:e.author_url??e.provider_url??`#`,children:e.title??e.author_name??e.provider_name??`Link`})}),Ue={"block-fallback":`_block-fallback_adya7_1`},We={"rectangle-wave":`_rectangle-wave_gxedo_21`,"elm-rectangle-wave":`_elm-rectangle-wave_gxedo_1`},Ge=e=>(0,r.jsx)(`div`,{"aria-hidden":!0,className:[We[`rectangle-wave`],e.className].filter(Boolean).join(` `),style:e.style}),Ke=e=>{let{height:t=`16rem`,style:n}=e;return(0,r.jsxs)(`div`,{className:[Ue[`block-fallback`],e.className].filter(Boolean).join(` `),style:{"--height":t,...n},children:[(0,r.jsx)(x,{}),(0,r.jsx)(Ge,{})]})},qe={circle:`_circle_ycu2l_19`,"draw-line":`_draw-line_ycu2l_1`,rotate:`_rotate_ycu2l_1`},Je=e=>{let{radius:t=16,weight:n=2,style:i}=e;return(0,r.jsx)(`svg`,{className:e.className,height:t*2,width:t*2,style:i,children:(0,r.jsx)(`circle`,{className:qe.circle,cx:t,cy:t,r:t-n,fill:`transparent`,strokeWidth:n})})},F={unsupported:`_unsupported_1xu4c_1`,message:`_message_1xu4c_13`,icon:`_icon_1xu4c_20`,details:`_details_1xu4c_24`},I=e=>(0,r.jsxs)(`div`,{className:[F.unsupported,e.className].filter(Boolean).join(` `),style:e.style,children:[(0,r.jsxs)(`div`,{className:F.message,children:[(0,r.jsx)(`svg`,{viewBox:`0 0 24 24`,width:`1.25rem`,height:`1.25rem`,className:F.icon,children:(0,r.jsx)(`path`,{d:n.mdiInformation})}),(0,r.jsx)(_,{color:`#868e9c`,children:`UNSUPPORTED BLOCK`})]}),e.details&&(0,r.jsx)(`div`,{className:F.details,children:(0,r.jsx)(_,{color:`#868e9c`,children:e.details})})]}),L={container:`_container_12edl_1`,"container-disable":`_container-disable_12edl_14`,checkbox:`_checkbox_12edl_23`,rect:`_rect_12edl_32`,"rect-loading":`_rect-loading_12edl_36`,"rect-checked":`_rect-checked_12edl_40`,loading:`_loading_12edl_48`,"check-line":`_check-line_12edl_67`,"elmethis-checkbox-check-line":`_elmethis-checkbox-check-line_12edl_1`},Ye=({loading:e=!1,disable:n=!1,...i})=>{let[a,o]=(0,s.useControllableState)({prop:i.checked,defaultProp:!1,onChange:i.onChange}),c=(0,t.useCallback)(()=>{!e&&!n&&o&&o(!a)},[e,n,a,o]),l=[L.container,n?L[`container-disable`]:``,i.className].filter(Boolean).join(` `),u=[L.rect,a?L[`rect-checked`]:``,e?L[`rect-loading`]:``].filter(Boolean).join(` `);return(0,r.jsx)(`div`,{className:l,style:i.style,onClick:c,children:(0,r.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:`0.5rem`},children:[(0,r.jsxs)(`svg`,{width:`24`,height:`24`,className:L.checkbox,children:[(0,r.jsxs)(`circle`,{cx:`0`,cy:`0`,r:`2`,className:L.loading,style:{opacity:+!!e},children:[(0,r.jsx)(`animate`,{attributeName:`cx`,values:`4; 20; 20; 4; 4`,dur:`1.2s`,repeatCount:`indefinite`,keySplines:`0.25 0.1 0.25 1; 0.42 0 0.58 1; 0.25 0.1 0.25 1; 0.42 0 0.58 1`,calcMode:`spline`}),(0,r.jsx)(`animate`,{attributeName:`cy`,values:`4; 4; 20; 20; 4`,dur:`1.2s`,repeatCount:`indefinite`,keySplines:`0.25 0.1 0.25 1; 0.42 0 0.58 1; 0.25 0.1 0.25 1; 0.42 0 0.58 1`,calcMode:`spline`})]}),(0,r.jsxs)(`circle`,{cx:`20`,cy:`20`,r:`2`,className:L.loading,style:{opacity:+!!e},children:[(0,r.jsx)(`animate`,{attributeName:`cx`,values:`20; 4; 4; 20; 20`,dur:`1.2s`,repeatCount:`indefinite`,keySplines:`0.25 0.1 0.25 1; 0.42 0 0.58 1; 0.25 0.1 0.25 1; 0.42 0 0.58 1`,calcMode:`spline`}),(0,r.jsx)(`animate`,{attributeName:`cy`,values:`20; 20; 4; 4; 20`,dur:`1.2s`,repeatCount:`indefinite`,keySplines:`0.25 0.1 0.25 1; 0.42 0 0.58 1; 0.25 0.1 0.25 1; 0.42 0 0.58 1`,calcMode:`spline`})]}),(0,r.jsx)(`rect`,{x:`4`,y:`4`,width:`16`,height:`16`,className:u,strokeWidth:`0.8`}),a&&(0,r.jsx)(`polyline`,{className:L[`check-line`],points:`5,12 10,17 19,8`,strokeWidth:`1.5`,fill:`transparent`}),(0,r.jsx)(`line`,{x1:`0`,y1:`1`,x2:`4`,y2:`1`,strokeWidth:`2`,fill:`transparent`}),(0,r.jsx)(`line`,{x1:`4`,y1:`0`,x2:`24`,y2:`0`,strokeWidth:`1`,fill:`transparent`}),(0,r.jsx)(`line`,{x1:`0`,y1:`4`,x2:`0`,y2:`16`,strokeWidth:`1`,fill:`transparent`}),(0,r.jsx)(`line`,{x1:`0`,y1:`18`,x2:`0`,y2:`20`,strokeWidth:`1`,fill:`transparent`}),(0,r.jsx)(`line`,{x1:`0`,y1:`24`,x2:`20`,y2:`24`,strokeWidth:`1`,fill:`transparent`}),(0,r.jsx)(`line`,{x1:`20`,y1:`23`,x2:`24`,y2:`23`,strokeWidth:`1.5`,fill:`transparent`}),(0,r.jsx)(`line`,{x1:`24`,y1:`4`,x2:`24`,y2:`20`,style:{strokeWidth:1},fill:`transparent`})]}),(0,r.jsx)(`span`,{children:i.label})]})})},R={switch:`_switch_8t362_1`,bar:`_bar_8t362_5`,"bar-checked":`_bar-checked_8t362_21`,"bar-disabled":`_bar-disabled_8t362_26`,circle:`_circle_8t362_30`,"circle-checked":`_circle-checked_8t362_45`,"circle-disabled":`_circle-disabled_8t362_49`},Xe=({color:e=`#bfa056`,size:n=`18px`,disabled:i=!1,checked:a=!1,...o})=>{let{onChange:s}=o,c=(0,t.useCallback)(()=>{!i&&s&&s(!a)},[i,a,s]),l=[R.bar,a?R[`bar-checked`]:``,i?R[`bar-disabled`]:``].filter(Boolean).join(` `),u=[R.circle,a?R[`circle-checked`]:``,i?R[`circle-disabled`]:``].filter(Boolean).join(` `);return(0,r.jsxs)(`div`,{className:o.className,onClick:c,style:{"--color":e,"--padding":`2px`,"--size":n,"--width":`calc(${n} * 2 + 2px * 2)`,...o.style},children:[(0,r.jsx)(`input`,{className:R.switch,type:`checkbox`,checked:a,disabled:i,readOnly:!0}),(0,r.jsx)(`div`,{className:l,children:(0,r.jsx)(`div`,{className:u})})]})},z={loading:`_loading_1y96m_23`,wrapper:`_wrapper_1y96m_38`,active:`_active_1y96m_66`,header:`_header_1y96m_70`,label:`_label_1y96m_78`,required:`_required_1y96m_95`,body:`_body_1y96m_101`,input:`_input_1y96m_109`,"icon-box":`_icon-box_1y96m_141`,icon:`_icon_1y96m_141`,suffix:`_suffix_1y96m_159`,counter:`_counter_1y96m_172`,"counter-over":`_counter-over_1y96m_177`},Ze={text:n.mdiText,pen:n.mdiPen,email:n.mdiEmail,user:n.mdiAccount,lock:n.mdiLock,key:n.mdiKey,earth:n.mdiEarth,tag:n.mdiTag,archive:n.mdiArchive,link:n.mdiLinkVariant,search:n.mdiMagnify},Qe=({disabled:e=!1,loading:i=!1,isPassword:a=!1,required:o=!1,value:s=``,...c})=>{let l=(0,t.useId)(),u=(0,t.useRef)(null),[d,f]=(0,t.useState)(!1),[p,m]=(0,t.useState)(a?`password`:`text`),{onChange:h}=c,g=(0,t.useCallback)(()=>{!i&&!e&&h&&h(``)},[i,e,h]),_=(0,t.useCallback)(()=>{!i&&!e&&m(e=>e===`text`?`password`:`text`)},[i,e]),v=(0,t.useCallback)(e=>t=>{(t.key===`Enter`||t.key===` `)&&(t.preventDefault(),e())},[]);return(0,r.jsxs)(`div`,{className:[z.wrapper,d?z.active:``,c.className].filter(Boolean).join(` `),style:{backgroundColor:e||i?`rgba(0,0,0,0.15)`:void 0,"--highlight-color":d?`#bfa056`:void 0,...c.style},children:[(0,r.jsxs)(`div`,{className:z.header,children:[(0,r.jsxs)(`label`,{htmlFor:l,className:z.label,children:[(0,r.jsx)(`span`,{children:c.label}),o&&(0,r.jsx)(`span`,{className:z.required,children:`*`})]}),c.maxLength!=null&&(0,r.jsxs)(`span`,{className:[z.counter,s.length>c.maxLength?z[`counter-over`]:``].filter(Boolean).join(` `),children:[s.length,` / `,c.maxLength]})]}),(0,r.jsxs)(`div`,{className:z.body,children:[c.icon&&(0,r.jsx)(y,{d:Ze[c.icon],size:`1.5rem`,color:`gray`}),(0,r.jsx)(`input`,{id:l,ref:u,type:p,className:z.input,placeholder:c.placeholder,value:s,onChange:e=>h?.(e.target.value),onFocus:()=>f(!0),onBlur:()=>f(!1),disabled:e||i,style:{cursor:e?`not-allowed`:i?`progress`:`auto`},"aria-required":o}),(0,r.jsxs)(`div`,{className:z[`icon-box`],children:[c.suffix!=null&&(0,r.jsx)(`span`,{className:z.suffix,children:c.suffix}),(0,r.jsx)(`div`,{className:z.icon,onClick:_,onKeyDown:v(_),role:`button`,tabIndex:0,children:(0,r.jsx)(y,{d:p===`text`?n.mdiEyeOutline:n.mdiEyeOffOutline,size:`1.75em`,color:`gray`})}),(0,r.jsx)(`div`,{className:z.icon,onClick:g,onKeyDown:v(g),role:`button`,tabIndex:0,children:(0,r.jsx)(y,{d:n.mdiBackspaceOutline,size:`1.75em`,color:`gray`})})]})]}),(0,r.jsx)(`div`,{className:z.loading,style:{opacity:i?.2:0}})]})},$e={validation:`_validation_wuw0j_1`},et=({validColor:e=`#449763`,...t})=>(0,r.jsxs)(`div`,{className:[$e.validation,t.className].filter(Boolean).join(` `),style:{"--opacity":t.isValid?1:.5,...t.style},children:[(0,r.jsx)(y,{d:t.isValid?n.mdiCheckCircle:n.mdiCheckCircleOutline,color:t.isValid?e:void 0}),(0,r.jsx)(`span`,{style:{color:t.isValid?e:void 0},children:t.text})]}),tt=[`rust`,`javascript`,`typescript`,`shell`,`terraform`,`html`,`css`,`npm`,`java`,`kotlin`,`go`,`python`,`sql`,`json`,`lua`,`csharp`,`cpp`,`c`,`file`],nt={wrapper:`_wrapper_1yu3x_19`,square:`_square_1yu3x_28`,appear:`_appear_1yu3x_1`},rt=1200,it=e=>{let{size:t=`3rem`,dimensions:n=4,style:i}=e,a=rt/(n*3),o=Array.from({length:n});return(0,r.jsx)(`div`,{className:[nt.wrapper,e.className].filter(Boolean).join(` `),style:{"--size":t,"--dimensions":n,"--duration":`${rt}ms`,...i},children:o.map((e,t)=>o.map((e,n)=>(0,r.jsx)(`div`,{className:nt.square,style:{"--delay":`${a*(t+n)}ms`}},`${t}-${n}`)))})},at={icon:`_icon_x4u0f_1`},ot=`elmethis-theme`;function st(){if(typeof document<`u`){let e=document.documentElement.getAttribute(`data-theme`);if(e!=null)return e===`dark`}if(typeof localStorage<`u`){let e=localStorage.getItem(ot);if(e!=null)return e===`dark`}return!1}function ct(){let[e,n]=(0,t.useState)(st),r=(0,t.useCallback)(()=>{n(e=>!e)},[]);return(0,t.useEffect)(()=>{if(typeof document<`u`){document.documentElement.setAttribute(`data-theme`,e?`dark`:`light`);let t=document.querySelector(`body`);t!=null&&(t.style.colorScheme=e?`dark`:`light`),typeof localStorage<`u`&&localStorage.setItem(ot,e?`dark`:`light`)}},[e]),{isDarkTheme:e,toggleTheme:r}}var lt=e=>{let{size:t=`2rem`,style:n,className:i}=e,{isDarkTheme:a,toggleTheme:o}=ct();return a?(0,r.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:t,height:t,viewBox:`0 0 24 24`,className:[at.icon,i].filter(Boolean).join(` `),style:n,onClick:o,children:[(0,r.jsxs)(`path`,{fillOpacity:`0`,d:`M15.22 6.03l2.53-1.94L14.56 4L13.5 1l-1.06 3l-3.19.09l2.53 1.94l-.91 3.06l2.63-1.81l2.63 1.81z`,fill:`currentColor`,children:[(0,r.jsx)(`animate`,{id:`lineMdSunnyOutlineToMoonLoopTransition0`,fill:`freeze`,attributeName:`fill-opacity`,begin:`0.6s;lineMdSunnyOutlineToMoonLoopTransition0.begin+6s`,dur:`0.4s`,values:`0;1`}),(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,begin:`lineMdSunnyOutlineToMoonLoopTransition0.begin+2.2s`,dur:`0.4s`,values:`1;0`})]}),(0,r.jsxs)(`path`,{fillOpacity:`0`,d:`M13.61 5.25L15.25 4l-2.06-.05L12.5 2l-.69 1.95L9.75 4l1.64 1.25l-.59 1.98l1.7-1.17l1.7 1.17z`,fill:`currentColor`,children:[(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,begin:`lineMdSunnyOutlineToMoonLoopTransition0.begin+3s`,dur:`0.4s`,values:`0;1`}),(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,begin:`lineMdSunnyOutlineToMoonLoopTransition0.begin+5.2s`,dur:`0.4s`,values:`1;0`})]}),(0,r.jsxs)(`path`,{fillOpacity:`0`,d:`M19.61 12.25L21.25 11l-2.06-.05L18.5 9l-.69 1.95l-2.06.05l1.64 1.25l-.59 1.98l1.7-1.17l1.7 1.17z`,fill:`currentColor`,children:[(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,begin:`lineMdSunnyOutlineToMoonLoopTransition0.begin+0.4s`,dur:`0.4s`,values:`0;1`}),(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,begin:`lineMdSunnyOutlineToMoonLoopTransition0.begin+2.8s`,dur:`0.4s`,values:`1;0`})]}),(0,r.jsxs)(`path`,{fillOpacity:`0`,d:`M20.828 9.731l1.876-1.439l-2.366-.067L19.552 6l-.786 2.225l-2.366.067l1.876 1.439L17.601 12l1.951-1.342L21.503 12z`,fill:`currentColor`,children:[(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,begin:`lineMdSunnyOutlineToMoonLoopTransition0.begin+3.4s`,dur:`0.4s`,values:`0;1`}),(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,begin:`lineMdSunnyOutlineToMoonLoopTransition0.begin+5.6s`,dur:`0.4s`,values:`1;0`})]}),(0,r.jsxs)(`g`,{fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`2`,children:[(0,r.jsxs)(`g`,{children:[(0,r.jsx)(`path`,{strokeDasharray:`2`,strokeDashoffset:`4`,d:`M12 21v1M21 12h1M12 3v-1M3 12h-1`,children:(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`stroke-dashoffset`,dur:`0.2s`,values:`4;2`})}),(0,r.jsx)(`path`,{strokeDasharray:`2`,strokeDashoffset:`4`,d:`M18.5 18.5l0.5 0.5M18.5 5.5l0.5 -0.5M5.5 5.5l-0.5 -0.5M5.5 18.5l-0.5 0.5`,children:(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`stroke-dashoffset`,begin:`0.2s`,dur:`0.2s`,values:`4;2`})}),(0,r.jsx)(`set`,{fill:`freeze`,attributeName:`opacity`,begin:`0.5s`,to:`0`})]}),(0,r.jsx)(`path`,{d:`M7 6 C7 12.08 11.92 17 18 17 C18.53 17 19.05 16.96 19.56 16.89 C17.95 19.36 15.17 21 12 21 C7.03 21 3 16.97 3 12 C3 8.83 4.64 6.05 7.11 4.44 C7.04 4.95 7 5.47 7 6 Z`,opacity:`0`,children:(0,r.jsx)(`set`,{fill:`freeze`,attributeName:`opacity`,begin:`0.5s`,to:`1`})})]}),(0,r.jsxs)(`mask`,{id:`lineMdSunnyOutlineToMoonLoopTransition1`,children:[(0,r.jsx)(`circle`,{cx:`12`,cy:`12`,r:`12`,fill:`#fff`}),(0,r.jsx)(`circle`,{cx:`12`,cy:`12`,r:`4`,children:(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`r`,begin:`0.1s`,dur:`0.4s`,values:`4;8`})}),(0,r.jsxs)(`circle`,{cx:`22`,cy:`2`,r:`3`,fill:`#fff`,children:[(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`cx`,begin:`0.1s`,dur:`0.4s`,values:`22;18`}),(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`cy`,begin:`0.1s`,dur:`0.4s`,values:`2;6`}),(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`r`,begin:`0.1s`,dur:`0.4s`,values:`3;12`})]}),(0,r.jsxs)(`circle`,{cx:`22`,cy:`2`,r:`1`,children:[(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`cx`,begin:`0.1s`,dur:`0.4s`,values:`22;18`}),(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`cy`,begin:`0.1s`,dur:`0.4s`,values:`2;6`}),(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`r`,begin:`0.1s`,dur:`0.4s`,values:`1;10`})]})]}),(0,r.jsxs)(`circle`,{cx:`12`,cy:`12`,r:`6`,mask:`url(#lineMdSunnyOutlineToMoonLoopTransition1)`,fill:`currentColor`,children:[(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`r`,begin:`0.1s`,dur:`0.4s`,values:`6;10`}),(0,r.jsx)(`set`,{fill:`freeze`,attributeName:`opacity`,begin:`0.5s`,to:`0`})]})]}):(0,r.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:t,height:t,viewBox:`0 0 24 24`,className:at.icon,style:n,onClick:o,children:[(0,r.jsxs)(`g`,{fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`2`,children:[(0,r.jsxs)(`path`,{strokeDasharray:`2`,strokeDashoffset:`2`,d:`M12 19v1M19 12h1M12 5v-1M5 12h-1`,children:[(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`d`,begin:`1.2s`,dur:`0.2s`,values:`M12 19v1M19 12h1M12 5v-1M5 12h-1;M12 21v1M21 12h1M12 3v-1M3 12h-1`}),(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`stroke-dashoffset`,begin:`1.2s`,dur:`0.2s`,values:`2;0`})]}),(0,r.jsxs)(`path`,{strokeDasharray:`2`,strokeDashoffset:`2`,d:`M17 17l0.5 0.5M17 7l0.5 -0.5M7 7l-0.5 -0.5M7 17l-0.5 0.5`,children:[(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`d`,begin:`1.4s`,dur:`0.2s`,values:`M17 17l0.5 0.5M17 7l0.5 -0.5M7 7l-0.5 -0.5M7 17l-0.5 0.5;M18.5 18.5l0.5 0.5M18.5 5.5l0.5 -0.5M5.5 5.5l-0.5 -0.5M5.5 18.5l-0.5 0.5`}),(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`stroke-dashoffset`,begin:`1.4s`,dur:`0.2s`,values:`2;0`})]}),(0,r.jsx)(`animateTransform`,{attributeName:`transform`,dur:`30s`,repeatCount:`indefinite`,type:`rotate`,values:`0 12 12;360 12 12`})]}),(0,r.jsxs)(`g`,{fill:`currentColor`,children:[(0,r.jsx)(`path`,{d:`M15.22 6.03L17.75 4.09L14.56 4L13.5 1L12.44 4L9.25 4.09L11.78 6.03L10.87 9.09L13.5 7.28L16.13 9.09L15.22 6.03Z`,children:(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,dur:`0.4s`,values:`1;0`})}),(0,r.jsx)(`path`,{d:`M19.61 12.25L21.25 11L19.19 10.95L18.5 9L17.81 10.95L15.75 11L17.39 12.25L16.8 14.23L18.5 13.06L20.2 14.23L19.61 12.25Z`,children:(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,begin:`0.2s`,dur:`0.4s`,values:`1;0`})})]}),(0,r.jsx)(`path`,{fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`2`,d:`M7 6 C7 12.08 11.92 17 18 17 C18.53 17 19.05 16.96 19.56 16.89 C17.95 19.36 15.17 21 12 21 C7.03 21 3 16.97 3 12 C3 8.83 4.64 6.05 7.11 4.44 C7.04 4.95 7 5.47 7 6 Z`,children:(0,r.jsx)(`set`,{fill:`freeze`,attributeName:`opacity`,begin:`0.6s`,to:`0`})}),(0,r.jsxs)(`mask`,{id:`lineMdMoonToSunnyOutlineLoopTransition0`,children:[(0,r.jsx)(`circle`,{cx:`12`,cy:`12`,r:`12`,fill:`#fff`}),(0,r.jsx)(`circle`,{cx:`12`,cy:`12`,r:`8`,children:(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`r`,begin:`0.6s`,dur:`0.4s`,values:`8;4`})}),(0,r.jsxs)(`circle`,{cx:`18`,cy:`6`,r:`12`,fill:`#fff`,children:[(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`cx`,begin:`0.6s`,dur:`0.4s`,values:`18;22`}),(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`cy`,begin:`0.6s`,dur:`0.4s`,values:`6;2`}),(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`r`,begin:`0.6s`,dur:`0.4s`,values:`12;3`})]}),(0,r.jsxs)(`circle`,{cx:`18`,cy:`6`,r:`10`,children:[(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`cx`,begin:`0.6s`,dur:`0.4s`,values:`18;22`}),(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`cy`,begin:`0.6s`,dur:`0.4s`,values:`6;2`}),(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`r`,begin:`0.6s`,dur:`0.4s`,values:`10;1`})]})]}),(0,r.jsxs)(`circle`,{cx:`12`,cy:`12`,r:`10`,mask:`url(#lineMdMoonToSunnyOutlineLoopTransition0)`,opacity:`0`,fill:`currentColor`,children:[(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`r`,begin:`0.6s`,dur:`0.4s`,values:`10;6`}),(0,r.jsx)(`set`,{fill:`freeze`,attributeName:`opacity`,begin:`0.6s`,to:`1`})]})]})},B={arrow:`_arrow_kn879_19`,loading:`_loading_kn879_49`,normal:`_normal_kn879_55`,pending:`_pending_kn879_64`},ut=e=>{let{direction:t=`right`,loading:n=!1,pending:i=!1,size:a=`2rem`,style:o}=e,s=t===`up`?`rotate(270deg)`:t===`down`?`rotate(90deg)`:t===`left`?`rotate(180deg)`:`rotate(0deg)`;return(0,r.jsx)(`div`,{className:[B.arrow,!n&&!i?B.normal:void 0,n?B.loading:void 0,!n&&i?B.pending:void 0,e.className].filter(Boolean).join(` `),style:{"--size":a,transform:s,...o}})},dt={wrapper:`_wrapper_1c6r3_1`,favicon:`_favicon_1c6r3_24`,text:`_text_1c6r3_29`},ft=e=>{let{name:t,href:i,favicon:a,style:o}=e;return(0,r.jsxs)(`a`,{className:[dt.wrapper,e.className].filter(Boolean).join(` `),href:i,target:`_blank`,rel:`noopener noreferrer`,style:o,children:[a==null?(0,r.jsx)(y,{d:n.mdiEarth,size:`2.5rem`,style:{opacity:.7}}):(0,r.jsx)(`img`,{className:dt.favicon,src:a,alt:`favicon of ${t??i}`}),(0,r.jsx)(`div`,{className:dt.text,children:(0,r.jsx)(_,{size:`.6rem`,children:t??i})})]})},pt={cube:`_cube_1merk_1`,"elmethis-cube-icon-rotate":`_elmethis-cube-icon-rotate_1merk_1`,face:`_face_1merk_8`},mt=[{name:`front`,rotate:``},{name:`back`,rotate:`rotateY(180deg)`},{name:`left`,rotate:`rotateY(-90deg)`},{name:`right`,rotate:`rotateY(90deg)`},{name:`top`,rotate:`rotateX(90deg)`},{name:`bottom`,rotate:`rotateX(-90deg)`}],ht=e=>{let{size:n=128,style:i}=e,a=(0,t.useMemo)(()=>`translateZ(${n/2}px)`,[n]);return(0,r.jsx)(`div`,{className:[pt.cube,e.className].filter(Boolean).join(` `),style:{width:`${n}px`,height:`${n}px`,...i},children:mt.map(e=>(0,r.jsx)(`div`,{className:pt.face,style:{transform:`${e.rotate} ${a}`}},e.name))})},gt={icon:`_icon_140bn_1`},_t=e=>{let{size:t=`2rem`,isLogin:i=!1,isLoading:a=!1,style:o}=e,s=a?n.mdiLoading:i?n.mdiLogoutVariant:n.mdiLoginVariant,c=a?`gray`:i?`#b36472`:`#6987b8`;return(0,r.jsx)(`div`,{className:[gt.icon,e.className].filter(Boolean).join(` `),style:o,children:(0,r.jsx)(y,{d:s,color:c,size:t})})},V={file:`_file_sk4pw_1`,"left-container":`_left-container_sk4pw_19`,"right-container":`_right-container_sk4pw_26`,"download-icon":`_download-icon_sk4pw_33`};function vt(e){let t=e.split(/[?#]/)[0].split(`/`).filter(Boolean);return t.length>0?t[t.length-1]:null}var yt=({name:e,src:i,filesize:a,style:o,className:s})=>{let c=(0,t.useCallback)(async()=>{let t;try{let n=await fetch(i);if(!n.ok)throw Error(`Failed to download file`);let r=await n.blob();t=document.createElement(`a`),t.href=URL.createObjectURL(r),t.download=e??vt(i)??`file`,t.click()}catch(e){console.error(`ERROR:`,e)}finally{t&&URL.revokeObjectURL(t.href)}},[i,e]),l=e??vt(i)??`unknown file`;return(0,r.jsxs)(`div`,{className:[V.file,s].filter(Boolean).join(` `),style:o,children:[(0,r.jsxs)(`div`,{className:V[`left-container`],children:[(0,r.jsx)(y,{d:n.mdiFileOutline,size:`1.25em`}),(0,r.jsx)(_,{children:l})]}),(0,r.jsxs)(`div`,{className:V[`right-container`],children:[a&&(0,r.jsx)(`span`,{style:{opacity:.6},children:(0,r.jsx)(_,{children:a})}),(0,r.jsx)(`div`,{className:V[`download-icon`],onClick:c,children:(0,r.jsx)(y,{d:n.mdiDownload,size:`1.25em`})})]})]})},H={parent:`_parent_1hx4v_1`,bookmark:`_bookmark_1hx4v_23`,image:`_image_1hx4v_42`,typography:`_typography_1hx4v_62`,title:`_title_1hx4v_73`,date:`_date_1hx4v_81`,link:`_link_1hx4v_90`,favicon:`_favicon_1hx4v_100`},bt=({hideUrl:e=!1,openInNewTab:i=!0,title:a,description:o=`No description provided`,image:s,url:c,createdAt:l,updatedAt:u,onClick:d,favicon:f,style:p,className:m})=>{let[h,v]=(0,t.useState)(!1),b=e=>{d&&(e.preventDefault(),d())},x=o!=null&&o.length>100?o.slice(0,100)+`...`:o;return(0,r.jsx)(`div`,{className:[H.parent,m].filter(Boolean).join(` `),style:p,children:(0,r.jsxs)(`a`,{className:H.bookmark,href:c,target:i?`_blank`:void 0,rel:`noopener noreferrer`,onClick:b,children:[s!=null&&!h&&(0,r.jsx)(`div`,{className:H.image,children:(0,r.jsx)(`img`,{src:s,alt:`OGP Image`,onError:()=>v(!0),style:{width:`100%`,height:`100%`,objectFit:`cover`}})}),(0,r.jsxs)(`div`,{className:H.typography,children:[(0,r.jsx)(`div`,{className:H.title,children:(0,r.jsx)(_,{bold:!0,children:a??`No title provided`})}),(0,r.jsx)(`div`,{children:(0,r.jsx)(_,{size:`0.8rem`,children:(0,r.jsx)(`span`,{style:{opacity:.6},children:x})})}),(l!=null||u!=null)&&(0,r.jsxs)(`div`,{className:H.date,children:[l!=null&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(y,{d:n.mdiCalendarMonth,size:`1em`}),(0,r.jsx)(_,{size:`0.8rem`,children:l})]}),u!=null&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(y,{d:n.mdiCalendarRefresh,size:`1em`}),(0,r.jsx)(_,{size:`0.8rem`,children:u})]})]}),!e&&c!=null&&(0,r.jsxs)(`div`,{className:H.link,children:[f&&(0,r.jsx)(g,{src:f}),(0,r.jsx)(_,{size:`0.8rem`,color:`#6987b8`,children:c})]})]})]})})},U={container:`_container_1r6mu_1`,"link-container":`_link-container_1r6mu_10`,text:`_text_1r6mu_36`},xt=({links:e,style:i,className:a})=>{let o=(0,t.useRef)(null),[s,c]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{let e=o.current;if(!e)return;let t=new IntersectionObserver(([e])=>{c(e.isIntersecting)});return t.observe(e),()=>t.disconnect()},[]),(0,r.jsx)(`nav`,{className:[U.container,a].filter(Boolean).join(` `),ref:o,style:{"--opacity":+!!s,...i},children:e.map((i,a)=>(0,r.jsxs)(t.default.Fragment,{children:[(0,r.jsxs)(`div`,{className:U[`link-container`],onClick:i.onClick,children:[(0,r.jsx)(`span`,{className:U.text,style:{"--delay":`${a*100}ms`},children:(0,r.jsx)(y,{d:a===0?n.mdiHome:a===e.length-1?n.mdiApplicationOutline:n.mdiFolderOpen,size:`1.25em`})}),(0,r.jsx)(`span`,{className:U.text,style:{"--delay":`${a*100+50}ms`},children:(0,r.jsx)(_,{children:i.text})})]}),e.length!==a+1&&(0,r.jsx)(`span`,{className:U.text,style:{"--delay":`${a*100+100}ms`},children:(0,r.jsx)(y,{d:n.mdiChevronRight,size:`1em`,color:`#b69545`})})]},a))})},W={wrapper:`_wrapper_1tlqa_1`,"wrapper--visible":`_wrapper--visible_1tlqa_33`,partial:`_partial_1tlqa_63`,move:`_move_1tlqa_1`,text:`_text_1tlqa_104`},St=({position:e=`right`,style:n,className:i})=>{let[a,o]=(0,t.useState)(!1);(0,t.useEffect)(()=>{let e=()=>{o(window.scrollY>100)};return window.addEventListener(`scroll`,e,{passive:!0}),e(),()=>window.removeEventListener(`scroll`,e)},[]);let s=()=>{window.scrollTo({top:0,behavior:`smooth`})};return(0,r.jsxs)(`nav`,{className:[W.wrapper,a?W[`wrapper--visible`]:void 0,i].filter(Boolean).join(` `),style:{"--size":`64px`,left:e===`left`?`0`:`auto`,right:e===`right`?`0`:`auto`,...n},onClick:s,children:[(0,r.jsx)(`div`,{"aria-hidden":`true`,className:W.partial}),(0,r.jsx)(`div`,{"aria-hidden":`true`,className:W.partial}),(0,r.jsx)(`div`,{"aria-hidden":`true`,className:W.partial}),(0,r.jsx)(`span`,{className:W.text,children:`Back to Top`})]})},Ct={toc:`_toc_eubcy_1`,link:`_link_eubcy_15`},wt=({headings:e,style:t,className:i})=>(0,r.jsx)(`nav`,{className:[Ct.toc,i].filter(Boolean).join(` `),style:t,children:e.map((e,t)=>(0,r.jsxs)(`a`,{className:Ct.link,href:`#${e.id??e.text}`,style:{"--padding-left":`${e.level*.5}rem`},children:[(0,r.jsx)(`sup`,{children:(0,r.jsx)(_,{size:`0.6rem`,color:`#6987b8`,children:`H${e.level}`})}),(0,r.jsx)(_,{children:e.text}),(0,r.jsx)(y,{d:n.mdiMenuDown,size:`1em`,color:`#6987b8`})]},t))}),G={"color-bg":`_color-bg_yiibu_1`,text:`_text_yiibu_17`},Tt=({color:e,style:a,className:o})=>{let[s,c]=(0,t.useState)(!1),l=(0,t.useRef)(null),u=(0,i.parseToRgb)(e),{hue:d,saturation:f,lightness:p}=(0,i.parseToHsl)(e),m=(0,i.rgbToColorString)(u),h=`rgb(${u.red}, ${u.green}, ${u.blue})`,g=`hsl(${Math.floor(d)}, ${Math.floor(f*100)}%, ${Math.floor(p*100)}%)`,_=(0,t.useCallback)(e=>{navigator.clipboard.writeText(e).then(()=>{c(!0),l.current&&clearTimeout(l.current),l.current=setTimeout(()=>c(!1),1500)})},[]);return(0,r.jsx)(`div`,{className:o,style:{"--color":e,...a},children:(0,r.jsx)(Ee,{original:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(`div`,{className:G[`color-bg`],style:{"--background-color":e},onClick:()=>_(m),children:s&&(0,r.jsx)(y,{d:n.mdiCheck,size:`1em`,color:`white`})}),(0,r.jsx)(`div`,{className:G.text,onClick:()=>_(m),children:m})]}),tooltip:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(`div`,{className:G.text,onClick:()=>_(m),children:m}),(0,r.jsx)(`div`,{className:G.text,onClick:()=>_(h),children:h}),(0,r.jsx)(`div`,{className:G.text,onClick:()=>_(g),children:g})]})})})},Et={container:`_container_a7c06_1`,"row-container":`_row-container_a7c06_9`,"color-name":`_color-name_a7c06_17`},Dt=[-3,-.25,-.2,-.15,-.1,-.05,0,.05,.1,.15,.2,.25,.3],Ot=({colors:e,style:t,className:n})=>(0,r.jsx)(`div`,{className:[Et.container,n].filter(Boolean).join(` `),style:t,children:e.map(e=>(0,r.jsxs)(`div`,{className:Et[`row-container`],children:[(0,r.jsx)(`div`,{className:Et[`color-name`],style:{"--color":e.code},children:e.name}),Dt.map(t=>(0,r.jsx)(Tt,{color:(0,i.darken)(t,e.code)},t))]},e.name))}),K={palette:`_palette_1glfh_1`,header:`_header_1glfh_11`,input:`_input_1glfh_31`,body:`_body_1glfh_43`,"empty-result":`_empty-result_1glfh_60`,command:`_command_1glfh_71`,"command-selected":`_command-selected_1glfh_98`,"command-icon":`_command-icon_1glfh_103`,tag:`_tag_1glfh_107`,footer:`_footer_1glfh_118`},kt={brown:`#a17c5b`,crimson:`#c56565`,amber:`#d48b70`,gold:`#cdb57b`,emerald:`#59b57c`,cyan:`#59a7b5`,blue:`#6987b8`,purple:`#9771bd`,pink:`#c9699e`};function At(e,t){if(!t.trim())return[];let n=t.toLowerCase();return e.filter(e=>e.label.toLowerCase().includes(n)||e.description?.toLowerCase().includes(n)||e.keywords?.some(e=>e.toLowerCase().includes(n)))}var jt=({commands:e,onCommandInvoked:a,style:o,className:s})=>{let[c,l]=(0,t.useState)(``),[u,d]=(0,t.useState)([]),[f,p]=(0,t.useState)(null),m=(0,t.useRef)(null);(0,t.useEffect)(()=>{m.current?.focus()},[]);let h=(0,t.useCallback)(t=>{let n=t.target.value;l(n);let r=At(e,n);d(r),p(r.length>0?0:null)},[e]),g=(0,t.useCallback)(e=>{if(e===null)return;let t=u[e];t&&(t.onInvoke?.(),a?.(t))},[u,a]);return(0,t.useEffect)(()=>{let e=e=>{e.key===`ArrowDown`||e.key===`Tab`?(e.preventDefault(),p(e=>e===null?0:e<u.length-1?e+1:e)):e.key===`ArrowUp`?(e.preventDefault(),p(e=>e===null?0:e>0?e-1:0)):e.key===`Enter`&&(e.preventDefault(),g(f))};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[g,f,u.length]),(0,r.jsxs)(`div`,{className:[K.palette,s].filter(Boolean).join(` `),style:{"--height":`500px`,"--width":`800px`,...o},children:[(0,r.jsxs)(`header`,{className:K.header,children:[(0,r.jsx)(y,{d:n.mdiConsoleLine}),(0,r.jsx)(`input`,{ref:m,className:K.input,value:c,onChange:h,type:`text`,inputMode:`text`})]}),(0,r.jsx)(`div`,{className:K.body,children:u.length===0?(0,r.jsx)(`div`,{className:K[`empty-result`],children:(0,r.jsx)(_,{children:`search anything...`})}):u.map((e,t)=>(0,r.jsxs)(`button`,{className:`${K.command} ${t===f?K[`command-selected`]:``}`,onClick:()=>{p(t),g(t)},children:[e.icon?(0,r.jsx)(`img`,{className:K[`command-icon`],src:e.icon,alt:e.label}):(0,r.jsx)(y,{d:n.mdiConsoleLine,size:`1rem`}),e.tag?(0,r.jsx)(`div`,{className:K.tag,style:{"--tag-color":(0,i.opacify)(-.3,kt[e.tag.color])},children:e.tag.name}):(0,r.jsx)(`div`,{className:K.tag}),(0,r.jsx)(_,{style:{whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`,maxWidth:`24rem`},children:e.label}),(0,r.jsx)(_,{style:{opacity:.4,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`},children:e.description??`-`}),(0,r.jsx)(`div`,{children:(0,r.jsx)(y,{d:n.mdiKeyboardReturn})})]},e.id))}),(0,r.jsxs)(`footer`,{className:K.footer,children:[(0,r.jsx)(_,{kbd:!0,children:`Esc`}),(0,r.jsx)(_,{children:`Close`})]})]})},Mt={"jarkup-body":`_jarkup-body_jsvhx_1`,"unsupported-block":`_unsupported-block_jsvhx_5`},Nt=({jsonComponents:e,style:t,className:n})=>(0,r.jsx)(`div`,{className:[Mt[`jarkup-body`],n].filter(Boolean).join(` `),style:t,children:e.map((e,t)=>(0,r.jsx)(`div`,{className:Mt[`unsupported-block`],children:(0,r.jsx)(`code`,{children:JSON.stringify(e,null,2)})},t))}),Pt={"jarkup-body":`_jarkup-body_1rlbi_1`,"column-list":`_column-list_1rlbi_9`,column:`_column_1rlbi_9`},Ft={paragraph:`_paragraph_ewdky_1`},It=e=>(0,r.jsx)(`p`,{className:[Ft.paragraph,e.className].filter(Boolean).join(` `),style:{backgroundColor:e.backgroundColor,...e.style},children:e.children}),Lt={"elmethis-list-common":`_elmethis-list-common_1qwri_1`,"elmethis-bulleted-list":`_elmethis-bulleted-list_1qwri_7`,"elmethis-numbered-list":`_elmethis-numbered-list_1qwri_25`},Rt=({listStyle:e=`unordered`,...t})=>{let n=[Lt[`elmethis-list-common`],e===`unordered`?Lt[`elmethis-bulleted-list`]:Lt[`elmethis-numbered-list`],t.className].filter(Boolean).join(` `);return e===`ordered`?(0,r.jsx)(`ol`,{className:n,style:t.style,children:t.children}):(0,r.jsx)(`ul`,{className:n,style:t.style,children:t.children})},q={blockquote:`_blockquote_x79j0_1`,cite:`_cite_x79j0_16`,icon:`_icon_x79j0_37`},zt=e=>(0,r.jsxs)(`blockquote`,{ref:(0,t.useRef)(null),className:[q.blockquote,e.className].filter(Boolean).join(` `),cite:e.cite,style:{...e.style},children:[e.children,e.cite&&(0,r.jsx)(`cite`,{className:q.cite,children:(0,r.jsx)(`a`,{href:e.cite,target:`_blank`,rel:`noopener noreferrer`,children:e.cite})}),(0,r.jsx)(`svg`,{className:q.icon,style:{top:`0.25rem`,left:`0.25rem`},viewBox:`0 0 24 24`,width:`1rem`,height:`1rem`,children:(0,r.jsx)(`path`,{d:n.mdiFormatQuoteOpen})}),(0,r.jsx)(`svg`,{className:q.icon,style:{bottom:`0.25rem`,right:`0.25rem`},viewBox:`0 0 24 24`,width:`1rem`,height:`1rem`,children:(0,r.jsx)(`path`,{d:n.mdiFormatQuoteClose})})]}),Bt={callout:`_callout_16oli_1`,header:`_header_16oli_24`},Vt=Object.freeze({note:{code:`#6987b8`,icon:n.mdiInformation},tip:{code:`#59b57c`,icon:n.mdiLightbulbOn},important:{code:`#9771bd`,icon:n.mdiShieldAlert},warning:{code:`#b8a36e`,icon:n.mdiAlert},caution:{code:`#b36472`,icon:n.mdiAlertOctagram}}),Ht=({type:e=`note`,...t})=>{let n=Vt[e];return(0,r.jsxs)(`aside`,{className:[Bt.callout,t.className].filter(Boolean).join(` `),style:{"--elmethis-scoped-border-color":n.code,"--elmethis-scoped-background-color":`color-mix(in srgb, ${n.code} 10%, transparent)`,...t.style},children:[(0,r.jsxs)(`div`,{className:Bt.header,children:[(0,r.jsx)(y,{d:n.icon,size:`1.25em`,color:n.code}),(0,r.jsx)(_,{color:n.code,children:e.toUpperCase()})]}),(0,r.jsx)(`div`,{children:t.children})]})},Ut={divider:`_divider_uq5jr_1`},Wt=e=>(0,r.jsx)(`hr`,{className:[Ut.divider,e.className].filter(Boolean).join(` `),style:e.style}),J={table:`_table_197ge_1`,caption:`_caption_197ge_8`,"caption-inner":`_caption-inner_197ge_18`,spacing:`_spacing_197ge_25`},Gt=(0,t.createContext)(!1),Kt=(0,t.createContext)(!1),qt=({caption:e,hasRowHeader:t=!1,header:i,body:a,style:o,className:s})=>(0,r.jsx)(Kt.Provider,{value:t,children:(0,r.jsxs)(`table`,{className:[J.table,s].filter(Boolean).join(` `),style:o,children:[e!=null&&(0,r.jsx)(`caption`,{children:(0,r.jsxs)(`span`,{className:J.caption,children:[(0,r.jsx)(`span`,{className:J.spacing}),(0,r.jsxs)(`span`,{className:J[`caption-inner`],children:[(0,r.jsx)(`svg`,{viewBox:`0 0 24 24`,width:`1rem`,height:`1rem`,children:(0,r.jsx)(`path`,{d:n.mdiTable,fill:`#6987b8`})}),(0,r.jsx)(_,{children:e})]}),(0,r.jsx)(`span`,{className:J.spacing})]})}),i,a]})}),Jt={thead:`_thead_184mb_1`},Yt=({children:e,style:t,className:n})=>(0,r.jsx)(Gt.Provider,{value:!0,children:(0,r.jsx)(`thead`,{className:[Jt.thead,n].filter(Boolean).join(` `),style:t,children:e})}),Xt=({children:e,style:t,className:n})=>(0,r.jsx)(Gt.Provider,{value:!1,children:(0,r.jsx)(`tbody`,{className:n,style:t,children:e})}),Zt={tr:`_tr_1l64j_1`,"has-row-header":`_has-row-header_1l64j_25`},Y=({children:e,style:n,className:i})=>{let a=(0,t.useContext)(Kt);return(0,r.jsx)(`tr`,{className:[Zt.tr,a?Zt[`has-row-header`]:void 0,i].filter(Boolean).join(` `),style:n,children:e})},X={common:`_common_15vhm_1`,td:`_td_15vhm_26`,th:`_th_15vhm_34`},Qt=({children:e,style:n,hasHeader:i=!1,text:a,className:o})=>{let s=(0,t.useContext)(Gt),c=i||s;return(0,r.jsx)(c?`th`:`td`,{className:[X.common,c?X.th:X.td,o].filter(Boolean).join(` `),style:n,children:a??e})},$t=(0,t.lazy)(()=>Promise.resolve().then(()=>require(`./ElmMermaid-DnSjC5T_.cjs`)).then(e=>e.n).then(e=>({default:e.ElmMermaid}))),en=e=>e.map(e=>e.type===`Text`?e.props.text:``).join(``),tn={Text:(e,t,n,i)=>{let a=e.id??n,o=e.props;return o.katex?(0,r.jsx)(ae,{expression:o.text,block:!1},a):(0,r.jsx)(_,{color:o.color,backgroundColor:o.backgroundColor,bold:o.bold,italic:o.italic,underline:o.underline,strikethrough:o.strikethrough,code:o.code,ruby:o.ruby,href:o.href,favicon:o.favicon,children:o.text},a)},Icon:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(g,{src:e.props.src,alt:e.props.alt},a)},Fragment:(e,n,i,a)=>{let o=e.id??i;return(0,r.jsx)(t.default.Fragment,{children:n(e.slots.default)},o)},Heading:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(w,{level:e.props.level,id:(0,c.kebabCase)(en(e.slots.default)),style:n===0?{"--elmethis-margin-block-start":`0`}:void 0,children:t(e.slots.default)},a)},Paragraph:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(It,{backgroundColor:e.props?.backgroundColor,style:n===0?{"--elmethis-margin-block-start":`0`}:void 0,children:t(e.slots.default)},a)},ListItem:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(`li`,{children:t(e.slots.default)},a)},List:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(Rt,{listStyle:e.props?.listStyle===`unordered`?`unordered`:`ordered`,style:n===0?{"--elmethis-margin-block-start":`0`}:void 0,children:t(e.slots.default)},a)},BlockQuote:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(zt,{cite:e.props?.cite,style:n===0?{"--elmethis-margin-block-start":`0`}:void 0,children:t(e.slots.default)},a)},Callout:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(Ht,{type:e.props?.type,style:n===0?{"--elmethis-margin-block-start":`0`}:void 0,children:t(e.slots.default)},a)},Divider:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(Wt,{style:n===0?{"--elmethis-margin-block-start":`0`}:void 0},a)},Toggle:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(je,{summaryContent:t(e.slots.summary),style:n===0?{"--elmethis-margin-block-start":`0`}:void 0,children:t(e.slots.default)},a)},Bookmark:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(bt,{url:e.props.url,title:e.props.title,description:e.props.description,image:e.props.image,style:n===0?{"--elmethis-margin-block-start":`0`}:void 0},a)},File:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(yt,{src:e.props.src,name:e.props.name,style:n===0?{"--elmethis-margin-block-start":`0`}:void 0},a)},Image:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(P,{src:e.props.src,alt:e.props.alt,width:e.props.width,height:e.props.height,block:!0,enableModal:!0,style:n===0?{"--elmethis-margin-block-start":`0`}:void 0},a)},CodeBlock:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(re,{code:e.props.code,language:e.props.language,style:n===0?{"--elmethis-margin-block-start":`0`}:void 0},a)},Katex:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(ae,{expression:e.props.expression,block:!0,style:n===0?{"--elmethis-margin-block-start":`0`}:void 0},a)},Mermaid:(e,n,i,a)=>{let o=e.id??i;return(0,r.jsx)(t.Suspense,{fallback:(0,r.jsx)(Ke,{}),children:(0,r.jsx)($t,{code:e.props.code,style:i===0?{"--elmethis-margin-block-start":`0`}:void 0})},o)},Tab:(e,t,n,r)=>[],Tabs:(e,t,n,i)=>{let a=e.id??n,o=[],s=[];for(let n of e.slots.default)o.push((0,r.jsx)(`span`,{children:t(n.slots.labels)})),s.push((0,r.jsx)(`div`,{children:t(n.slots.contents)}));return(0,r.jsx)(Ae,{tabLabels:o,tabContents:s},a)},Table:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(qt,{caption:e.props?.caption,hasRowHeader:e.props?.hasRowHeader,header:e.slots.header?(0,r.jsx)(Yt,{children:t(e.slots.header)}):void 0,body:(0,r.jsx)(Xt,{children:t(e.slots.body)}),style:n===0?{"--elmethis-margin-block-start":`0`}:void 0},a)},TableRow:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(Y,{children:t(e.slots.default)},a)},TableCell:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(Qt,{children:t(e.slots.default)},a)},ColumnList:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(`div`,{className:Pt[`column-list`],style:n===0?{"--elmethis-margin-block-start":`0`}:void 0,children:t(e.slots.default)},a)},Column:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(`div`,{className:Pt.column,style:{"--width-ratio":e.props?.widthRatio??1,width:e.props?.widthRatio?`${e.props.widthRatio*100}%`:void 0,...n===0?{"--elmethis-margin-block-start":`0`}:void 0},children:t(e.slots.default)},a)},Unsupported:(e,t,n,i)=>{let a=e.id??n;return i?.skipUnsupportedComponentWarning?null:(0,r.jsx)(I,{details:e.props?.details??`Unsupported component type: ${e.type}`,style:n===0?{"--elmethis-margin-block-start":`0`}:void 0},a)}},nn=({jsonComponents:e,skipUnsupportedComponentWarning:t=!1,renderFunctionMap:n,style:i,className:a})=>{let o={...tn,...n},s=e=>e.map((e,n)=>{let a=e.id??n,c=o[e.type];return c?c(e,s,n,{skipUnsupportedComponentWarning:t,style:i}):t?null:(0,r.jsx)(I,{details:`Unsupported component type: ${e.type}`},a)});return(0,r.jsx)(`div`,{className:[Pt[`jarkup-body`],a].filter(Boolean).join(` `),style:{"--elmethis-margin-block-start":i?.[`--elmethis-margin-block-start`]??`2.5rem`,...i},children:s(e)})},rn={"markdown-body":`_markdown-body_130yx_1`},Z=e=>e===0?{"--elmethis-margin-block-start":`0`}:void 0,an={blockquote:(e,t,n)=>{if(!e.tokens||e.tokens.length===0)return null;let i=e.tokens.flatMap(e=>e.type===`paragraph`&&e.tokens?e.tokens:[e]);return(0,r.jsx)(zt,{style:Z(n),children:t(i)},n)},br:(e,t,n)=>(0,r.jsx)(`br`,{},n),checkbox:(e,t,n)=>(0,r.jsx)(Ye,{label:e.raw,checked:e.checked,style:Z(n)},n),code:(e,t,n)=>(0,r.jsx)(re,{code:e.text.trim(),language:e.lang,style:Z(n)},n),codespan:(e,t,n)=>(0,r.jsx)(_,{code:!0,children:e.text},n),def:()=>null,del:(e,t,n)=>e.tokens&&e.tokens.length!==0?(0,r.jsx)(_,{strikethrough:!0,children:t(e.tokens)},n):(0,r.jsx)(_,{strikethrough:!0,children:e.text},n),em:(e,t,n)=>e.tokens&&e.tokens.length!==0?(0,r.jsx)(_,{italic:!0,children:t(e.tokens)},n):(0,r.jsx)(_,{italic:!0,children:e.text},n),escape:()=>null,heading:(e,t,n)=>{let i=e.depth;return e.tokens&&e.tokens.length!==0?(0,r.jsx)(w,{level:i,style:Z(n),children:t(e.tokens)},n):(0,r.jsx)(w,{level:i,text:e.text,style:Z(n)},n)},hr:(e,t,n)=>(0,r.jsx)(Wt,{style:Z(n)},n),html:()=>null,image:(e,t,n)=>(0,r.jsx)(P,{block:!0,enableModal:!0,src:e.href,alt:e.text,style:Z(n)},n),link:(e,t,n)=>e.tokens&&e.tokens.length!==0?(0,r.jsx)(_,{href:e.href,children:t(e.tokens)},n):(0,r.jsx)(_,{href:e.href,children:e.text},n),list:(e,t,n)=>{let i=e.items.map((e,n)=>(0,r.jsx)(`li`,{children:t(e.tokens)},n));return(0,r.jsx)(Rt,{listStyle:e.ordered?`ordered`:`unordered`,style:Z(n),children:i},n)},list_item:(e,t,n)=>(0,r.jsx)(`li`,{children:e.tokens&&e.tokens.length!==0?t(e.tokens):e.text},n),paragraph:(e,t,n)=>e.tokens&&e.tokens.length!==0?(0,r.jsx)(It,{style:Z(n),children:t(e.tokens)},n):null,space:()=>null,strong:(e,t,n)=>e.tokens&&e.tokens.length!==0?(0,r.jsx)(_,{bold:!0,children:t(e.tokens)},n):(0,r.jsx)(_,{bold:!0,children:e.text},n),table:(e,t,n)=>{let i=e=>e.map((e,n)=>(0,r.jsx)(Qt,{children:t(e.tokens)},n)),a=(0,r.jsx)(Y,{children:i(e.header)}),o=e.rows.map((e,t)=>(0,r.jsx)(Y,{children:i(e)},t));return(0,r.jsx)(qt,{header:(0,r.jsx)(Yt,{children:a}),body:(0,r.jsx)(Xt,{children:o}),style:Z(n)},n)},text:(e,t,n)=>e.tokens&&e.tokens.length!==0?(0,r.jsx)(_,{children:t(e.tokens)},n):(0,r.jsx)(_,{children:e.text},n)},on=({markdown:e,style:t,className:n,renderFunctionMap:i})=>{let a={...an,...i},o=e=>e.map((e,t)=>{let n=a[e.type];return n?n(e,o,t):null}),s=l.marked.setOptions({gfm:!0}).lexer(e);return(0,r.jsx)(`div`,{className:[rn[`markdown-body`],n].filter(Boolean).join(` `),style:{"--elmethis-margin-block-start":`2.5rem`,...t},children:o(s)})},Q={char:`_char_sojtj_1`,typed:`_typed_sojtj_20`,current:`_current_sojtj_24`,incorrect:`_incorrect_sojtj_29`},sn=({target:e=`Typing game`,style:n,className:i})=>{let[a,o]=(0,t.useState)(()=>{let t=e.split(``).map(e=>({char:e,status:`default`}));return t.length>0&&(t[0].status=`current`),t}),[s,c]=(0,t.useState)(0),[l,u]=(0,t.useState)(0),[d,f]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{let t=e.split(``).map(e=>({char:e,status:`default`}));t.length>0&&(t[0].status=`current`);let n=window.setTimeout(()=>{o(t),c(0),u(0),f(!1)},0);return()=>clearTimeout(n)},[e]),(0,t.useEffect)(()=>{let e=e=>{d||e.key.length!==1||o(t=>{if(!t[s])return t;let n=[...t];return e.key===n[s].char?(n[s]={...n[s],status:`typed`},s===n.length-1?f(!0):c(e=>(n[e+1]={...n[e+1],status:`current`},e+1))):(n[s]={...n[s],status:`incorrect`},u(e=>e+1)),n})};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[s,d]),(0,r.jsxs)(`div`,{className:i,style:n,children:[(0,r.jsx)(`div`,{children:a.map((e,t)=>(0,r.jsx)(`span`,{className:[Q.char,e.status===`typed`?Q.typed:``,e.status===`current`?Q.current:``,e.status===`incorrect`?Q.incorrect:``].filter(Boolean).join(` `),children:e.char},t))}),d&&(0,r.jsx)(`div`,{children:`FINISH!`}),l>0&&(0,r.jsxs)(`div`,{children:[`Mistakes: `,l]})]})},cn={"elm-template":`_elm-template_18rwn_1`},ln=e=>(0,r.jsx)(`div`,{className:[cn[`elm-template`],e.className].filter(Boolean).join(` `),style:e.style,children:`PLACEHOLDER`}),un={text:`_text_zrzts_1`,cursor:`_cursor_zrzts_30`,blink:`_blink_zrzts_1`},$=e=>new Promise(t=>{setTimeout(t,e)}),dn=({texts:e=[],interval:n=3e3,fontSize:i=`1rem`,...a})=>{let[o,s]=(0,t.useState)(``),c=(0,t.useRef)(!1);return(0,t.useEffect)(()=>(c.current=!1,(async()=>{for(;!c.current;)for(let t of e){for(let e=0;e<t.length;e++){if(c.current||(await $(75),c.current))return;s(t.slice(0,e+1))}if(await $(n),c.current)return;for(let e=t.length;e>=0;e--)if(c.current||(s(t.slice(0,e)),await $(25),c.current))return;if(await $(200),c.current)return}})(),()=>{c.current=!0}),[e,n]),(0,r.jsxs)(`span`,{className:[un.text,a.className].filter(Boolean).join(` `),style:{fontSize:i,...a.style},children:[o,(0,r.jsx)(`span`,{className:un.cursor,children:`\xA0`})]})},fn=`elm-local-storage-change`;function pn(e,n,r){let i=!!(r&&`raw`in r&&r.raw),a=r?.broadcastChannel??!1,o=(0,t.useRef)(n),s=(0,t.useRef)(i?e=>String(e):!i&&r&&`serializer`in r&&r.serializer||(e=>JSON.stringify(e))),c=(0,t.useRef)(i?e=>e:!i&&r&&`deserializer`in r&&r.deserializer||(e=>JSON.parse(e)));(0,t.useEffect)(()=>{s.current=i?e=>String(e):!i&&r&&`serializer`in r&&r.serializer||(e=>JSON.stringify(e)),c.current=i?e=>e:!i&&r&&`deserializer`in r&&r.deserializer||(e=>JSON.parse(e))});let l=(0,t.useRef)(null),[u,d]=(0,t.useState)(()=>{if(typeof localStorage>`u`)return n;try{let t=localStorage.getItem(e);return t===null?n:(i?e=>e:!i&&r&&`deserializer`in r&&r.deserializer||(e=>JSON.parse(e)))(t)}catch(t){return console.warn(`useLocalStorage: failed to read "${e}"`,t),n}}),f=(0,t.useCallback)(()=>{if(typeof localStorage>`u`)return o.current;try{let t=localStorage.getItem(e);return t===null?o.current:c.current(t)}catch(t){return console.warn(`useLocalStorage: failed to read "${e}"`,t),o.current}},[e]),p=(0,t.useCallback)(t=>{typeof window>`u`||(window.dispatchEvent(new CustomEvent(fn,{detail:{key:e,newValue:t}})),l.current?.postMessage({newValue:t}))},[e]),m=(0,t.useCallback)(t=>{let n=f(),r=typeof t==`function`?t(n):t;if(typeof localStorage<`u`)try{localStorage.setItem(e,s.current(r))}catch(t){console.warn(`useLocalStorage: failed to write "${e}"`,t)}d(r),p(r)},[e,f,p]),h=(0,t.useCallback)(()=>{typeof localStorage<`u`&&localStorage.removeItem(e),d(o.current),p(null)},[e,p]);return(0,t.useEffect)(()=>{if(typeof window>`u`)return;let t=t=>{if(t.key===e){if(t.newValue===null){d(o.current);return}try{d(c.current(t.newValue))}catch(t){console.warn(`useLocalStorage: failed to parse storage event for "${e}"`,t)}}},n=t=>{let{key:n,newValue:r}=t.detail;n===e&&d(r===null?o.current:r)};return window.addEventListener(`storage`,t),window.addEventListener(fn,n),()=>{window.removeEventListener(`storage`,t),window.removeEventListener(fn,n)}},[e]),(0,t.useEffect)(()=>{if(!a||typeof BroadcastChannel>`u`)return;let t=new BroadcastChannel(`elm-local-storage:${e}`);return l.current=t,t.onmessage=e=>{d(e.data.newValue===null?o.current:e.data.newValue)},()=>{t.close(),l.current=null}},[e,a]),[u,m,h]}var mn=`elm-local-storage-change`;function hn(e,n,r){let i=typeof e==`string`,a=i?e:null,o=i?n:e,s=i?r:n,c=(0,t.useRef)(o);(0,t.useEffect)(()=>{c.current=o});let l=(0,t.useRef)(s),[u,d]=(0,t.useState)(()=>{if(!a||typeof localStorage>`u`)return s;try{let e=localStorage.getItem(a);return e===null?s:JSON.parse(e)}catch{return s}}),f=(0,t.useCallback)(e=>{!a||typeof window>`u`||window.dispatchEvent(new CustomEvent(mn,{detail:{key:a,newValue:e}}))},[a]),p=(0,t.useCallback)(e=>{d(t=>{let n=c.current(t,e);if(a&&typeof localStorage<`u`)try{localStorage.setItem(a,JSON.stringify(n))}catch(e){console.warn(`useLocalStorageDispatch: failed to write "${a}"`,e)}return f(n),n})},[a,f]),m=(0,t.useCallback)(()=>{a&&typeof localStorage<`u`&&localStorage.removeItem(a),d(l.current),f(l.current)},[a,f]);return(0,t.useEffect)(()=>{if(!a||typeof window>`u`)return;let e=e=>{if(e.key===a){if(e.newValue===null){d(l.current);return}try{d(JSON.parse(e.newValue))}catch{console.warn(`useLocalStorageDispatch: failed to parse storage event for "${a}"`)}}},t=e=>{let{key:t,newValue:n}=e.detail;t===a&&d(n)};return window.addEventListener(`storage`,e),window.addEventListener(mn,t),()=>{window.removeEventListener(`storage`,e),window.removeEventListener(mn,t)}},[a]),[u,p,m]}exports.ElmArrowIcon=ut,exports.ElmBlockFallback=Ke,exports.ElmBlockQuote=zt,exports.ElmBookmark=bt,exports.ElmBookmarkIcon=ft,exports.ElmBreadcrumb=xt,exports.ElmButton=he,exports.ElmCallout=Ht,exports.ElmCheckbox=Ye,exports.ElmCodeBlock=re,exports.ElmCollapse=se,exports.ElmColorSample=Tt,exports.ElmColorTable=Ot,exports.ElmColumn=le,exports.ElmColumnList=de,exports.ElmCommandPalette=jt,exports.ElmConfirmModal=xe,exports.ElmCubeIcon=ht,exports.ElmDesktopWindow=Se,exports.ElmDivider=Wt,exports.ElmDotLoadingIcon=x,exports.ElmFile=yt,exports.ElmFragmentIdentifier=ve,exports.ElmHeading=w,exports.ElmImage=P,exports.ElmInlineIcon=g,exports.ElmInlineText=_,exports.ElmJarkup=nn,exports.ElmJsonComponentRenderer=Nt,exports.ElmKatex=ae,exports.ElmLanguageIcon=p,exports.ElmList=Rt,exports.ElmLoginIcon=_t,exports.ElmMarkdown=on,exports.ElmMdiIcon=y,exports.ElmMermaid=e.t,exports.ElmModal=me,exports.ElmModelSelect=Fe,exports.ElmMultiProgress=Re,exports.ElmOEmbed=He,exports.ElmPageTop=St,exports.ElmParagraph=It,exports.ElmParallax=we,exports.ElmProgress=Ie,exports.ElmRectangleWave=Ge,exports.ElmSelect=Ne,exports.ElmShikiHighlighter=ne,exports.ElmSimpleTooltip=De,exports.ElmSnackbar=Oe,exports.ElmSnackbarContainer=ke,exports.ElmSpinner=Je,exports.ElmSquareLoadingIcon=it,exports.ElmStatusMessage=Ve,exports.ElmSwitch=Xe,exports.ElmTable=qt,exports.ElmTableBody=Xt,exports.ElmTableCell=Qt,exports.ElmTableHeader=Yt,exports.ElmTableOfContents=wt,exports.ElmTableRow=Y,exports.ElmTabs=Ae,exports.ElmTemplate=ln,exports.ElmTextField=Qe,exports.ElmToggle=je,exports.ElmToggleTheme=lt,exports.ElmTooltip=Ee,exports.ElmTyping=sn,exports.ElmTypingAnimation=dn,exports.ElmUnsupportedBlock=I,exports.ElmValidation=et,exports.LANGUAGES=tt,exports.useElmethisTheme=ct,exports.useLocalStorage=pn,exports.useLocalStorageDispatch=hn;
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./ElmMermaid-DnSjC5T_.cjs`);let t=require(`react`);t=e.r(t);let n=require(`@mdi/js`),r=require(`react/jsx-runtime`),i=require(`polished`),a=require(`clsx`);a=e.r(a);let o=require(`react-dom`),s=require(`@radix-ui/react-use-controllable-state`),c=require(`lodash-es`),l=require(`marked`);var u={wrapper:`_wrapper_189iv_1`,header:`_header_189iv_18`,header__left:`_header__left_189iv_36`,caption:`_caption_189iv_44`,header__right:`_header__right_189iv_50`,"copy-icon":`_copy-icon_189iv_58`,code:`_code_189iv_81`,"code-body":`_code-body_189iv_89`,fallback:`_fallback_189iv_93`},d={icon:`_icon_18sdb_1`},f={rust:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20128%20128'%20fill='%23a84f33'%20width='128'%20height='128'%20%3e%3cpath%20d='M62.96.242c-.232.135-1.203%201.528-2.16%203.097c-2.4%203.94-2.426%203.942-5.65.55c-2.098-2.208-2.605-2.612-3.28-2.607c-.44.002-.995.152-1.235.332s-.916%201.612-1.504%203.183c-1.346%203.6-1.41%203.715-2.156%203.86c-.46.086-1.343-.407-3.463-1.929c-1.565-1.125-3.1-2.045-3.411-2.045c-1.291%200-1.655.706-2.27%204.4c-.78%204.697-.754%204.681-4.988%202.758c-1.71-.776-3.33-1.41-3.603-1.41s-.792.293-1.15.652c-.652.652-.653.655-.475%204.246l.178%203.595l-.68.364c-.602.322-1.017.283-3.684-.348c-3.48-.822-4.216-.8-4.92.15l-.516.693l.692%202.964c.38%201.63.745%203.2.814%203.487c.067.287-.05.746-.26%201.02c-.348.448-.717.49-3.94.44c-5.452-.086-5.761.382-3.51%205.3c.718%201.56%201.305%202.98%201.305%203.15c0%20.898-.717%201.224-3.794%201.727c-1.722.28-3.218.51-3.326.51c-.107%200-.43.235-.717.522c-.937.936-.671%201.816%201.453%204.814c2.646%203.735%202.642%203.75-1.73%205.421c-4.971%201.902-5.072%202.37-1.287%205.96c3.525%203.344%203.53%203.295-.461%205.804C.208%2062.8.162%2062.846.085%2063.876c-.093%201.253-.071%201.275%203.538%203.48c3.57%202.18%203.57%202.246.067%205.56C-.078%2076.48.038%2077%205.013%2078.877c4.347%201.64%204.353%201.66%201.702%205.394c-1.502%202.117-1.981%203-1.981%203.653c0%201.223.637%201.535%204.44%202.174c3.206.54%203.92.857%203.92%201.741c0%20.182-.588%201.612-1.307%203.177c-2.236%204.87-1.981%205.275%203.31%205.275c4.93%200%204.799-.15%203.737%204.294c-.8%203.35-.813%203.992-.088%204.715c.554.556%201.6.494%204.87-.289c2.499-.596%202.937-.637%203.516-.328l.66.354l-.177%203.594c-.178%203.593-.177%203.595.475%204.248c.358.36.884.652%201.165.652s1.903-.63%203.604-1.404c4.22-1.916%204.194-1.932%204.973%202.75c.617%203.711.977%204.4%202.294%204.4c.327%200%201.83-.88%203.34-1.958c2.654-1.893%203.342-2.19%204.049-1.74c.182.115.89%201.67%201.572%203.455c1.003%202.625%201.37%203.31%201.929%203.576c1.062.51%201.72.1%204.218-2.62c3.016-3.286%203.14-3.27%205.602.72c2.72%204.406%203.424%204.396%206.212-.089c2.402-3.864%202.374-3.862%205.621-.47c2.157%202.25%202.616%202.61%203.343%202.61c.464%200%201.019-.175%201.23-.388c.214-.213.92-1.786%201.568-3.496c.649-1.71%201.321-3.2%201.495-3.31c.687-.436%201.398-.13%204.048%201.752c1.56%201.108%203.028%201.96%203.377%201.96c1.296%200%201.764-.92%202.302-4.535c.46-3.082.554-3.378%201.16-3.685c.596-.302.954-.2%203.75%201.07c1.701.77%203.323%201.402%203.604%201.402s.816-.302%201.184-.672l.672-.67l-.184-3.448c-.177-3.29-.16-3.468.364-3.943c.54-.488.596-.486%203.615.204c3.656.835%204.338.857%205.025.17c.671-.67.664-.818-.254-4.69c-1.03-4.346-1.168-4.19%203.78-4.19c3.374%200%203.75-.049%204.18-.523c.718-.793.547-1.702-.896-4.779c-.729-1.55-1.32-2.96-1.315-3.135c.024-.914.743-1.227%204.065-1.767c2.033-.329%203.553-.71%203.829-.96c.923-.833.584-1.918-1.523-4.873c-2.642-3.703-2.63-3.738%201.599-5.297c5.064-1.866%205.209-2.488%201.419-6.09c-3.51-3.335-3.512-3.317.333-5.677c4.648-2.853%204.655-3.496.082-6.335c-3.933-2.44-3.93-2.406-.405-5.753c3.78-3.593%203.678-4.063-1.295-5.965c-4.388-1.679-4.402-1.72-1.735-5.38c1.588-2.18%201.982-2.903%201.982-3.65c0-1.306-.586-1.598-4.436-2.22c-3.216-.52-3.924-.835-3.924-1.75c0-.174.588-1.574%201.307-3.113c1.406-3.013%201.604-4.22.808-4.94c-.428-.387-1-.443-4.067-.392c-3.208.054-3.618.008-4.063-.439c-.486-.488-.48-.557.278-3.725c.931-3.88.935-3.975.17-4.694c-.777-.73-1.262-.718-4.826.121c-2.597.612-3.027.653-3.617.337l-.67-.36l.185-3.582l.186-3.58l-.67-.67c-.369-.37-.891-.67-1.163-.67c-.27%200-1.884.64-3.583%201.421c-2.838%201.306-3.143%201.393-3.757%201.072c-.612-.32-.714-.637-1.237-3.829c-.603-3.693-.977-4.412-2.288-4.412c-.311%200-1.853.925-3.426%202.055c-2.584%201.856-2.93%202.032-3.574%201.807c-.533-.186-.843-.59-1.221-1.599c-.28-.742-.817-2.172-1.194-3.177c-.762-2.028-1.187-2.482-2.328-2.482c-.637%200-1.213.458-3.28%202.604c-3.25%203.375-3.261%203.374-5.65-.545C66.073%201.78%2065.075.382%2064.81.24c-.597-.32-1.3-.32-1.85.002m2.96%2011.798c2.83%202.014%201.326%206.75-2.144%206.75c-3.368%200-5.064-4.057-2.66-6.36c1.358-1.3%203.304-1.459%204.805-.39m-3.558%2012.507c1.855.705%202.616.282%206.852-3.8l3.182-3.07l1.347.18c4.225.56%2012.627%204.25%2017.455%207.666c4.436%203.14%2010.332%209.534%2012.845%2013.93l.537.942l-2.38%205.364c-1.31%202.95-2.382%205.673-2.382%206.053c0%20.878.576%202.267%201.13%202.726c.234.195%202.457%201.265%204.939%202.378l4.51%202.025l.178%201.148c.23%201.495.26%205.167.052%206.21l-.163.816h-2.575c-2.987%200-2.756-.267-2.918%203.396c-.118%202.656-.76%204.124-2.22%205.075c-2.377%201.551-6.304%201.27-7.97-.57c-.255-.284-.752-1.705-1.105-3.16c-1.03-4.254-2.413-6.64-5.193-8.965c-.878-.733-1.595-1.418-1.595-1.522c0-.102.965-.915%202.145-1.803c4.298-3.24%206.77-7.012%207.04-10.747c.519-7.126-5.158-13.767-13.602-15.92c-2.002-.51-2.857-.526-27.624-.526c-14.057%200-25.56-.092-25.56-.204c0-.263%203.125-3.295%204.965-4.816c5.054-4.178%2011.618-7.465%2018.417-9.22l2.35-.61l3.34%203.387c1.839%201.863%203.64%203.5%204.003%203.637M20.3%2046.34c1.539%201.008%202.17%203.54%201.26%205.062c-1.405%202.356-4.966%202.455-6.373.178c-2.046-3.309%201.895-7.349%205.113-5.24m90.672.13c4.026%202.454.906%208.493-3.404%206.586c-2.877-1.273-2.97-5.206-.155-6.64c1.174-.6%202.523-.579%203.56.053M32.163%2061.5v15.02h-13.28l-.526-2.285c-1.036-4.5-1.472-9.156-1.211-12.969l.182-2.679l4.565-2.047c2.864-1.283%204.706-2.262%204.943-2.625c1.038-1.584.94-2.715-.518-5.933l-.68-1.502h6.523V61.5M70.39%2047.132c2.843.74%204.345%202.245%204.349%204.355c.002%201.55-.765%202.52-2.67%203.38c-1.348.61-1.562.625-10.063.708l-8.686.084v-8.92h7.782c6.078%200%208.112.086%209.288.393m-2.934%2021.554c1.41.392%203.076%201.616%203.93%202.888c.898%201.337%201.423%203.076%202.667%208.836c1.05%204.87%201.727%206.46%203.62%208.532c2.345%202.566%201.8%202.466%2013.514%202.466c5.61%200%2010.198.09%2010.198.2c0%20.197-3.863%204.764-4.03%204.764c-.048%200-2.066-.422-4.484-.939c-6.829-1.458-7.075-1.287-8.642%206.032l-1.008%204.702l-.91.448c-1.518.75-6.453%202.292-9.01%202.82c-4.228.87-8.828%201.162-12.871.821c-6.893-.585-16.02-3.259-16.377-4.8c-.075-.327-.535-2.443-1.018-4.704c-.485-2.26-1.074-4.404-1.31-4.764c-1.13-1.724-2.318-1.83-7.547-.674c-1.98.44-3.708.796-3.84.796c-.248%200-3.923-4.249-3.923-4.535c0-.09%208.728-.194%2019.396-.23l19.395-.066l.07-6.89c.05-4.865-.018-6.997-.23-7.25c-.234-.284-1.485-.358-6.011-.358H53.32v-8.36l6.597.001c3.626.002%207.02.12%207.539.264M37.57%20100.02c3.084%201.88%201.605%206.804-2.043%206.8c-3.74%200-5.127-4.88-1.94-6.826c1.055-.643%202.908-.63%203.983.026m56.48.206c1.512%201.108%202.015%203.413%201.079%204.95c-2.46%204.034-8.612.827-6.557-3.419c1.01-2.085%203.695-2.837%205.478-1.53'%20/%3e%3c/svg%3e`,javascript:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='128'%20height='128'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23f0db4f'%20d='M1.408%201.408h125.184v125.185H1.408z'%20/%3e%3cpath%20fill='%23323330'%20d='M116.347%2096.736c-.917-5.711-4.641-10.508-15.672-14.981c-3.832-1.761-8.104-3.022-9.377-5.926c-.452-1.69-.512-2.642-.226-3.665c.821-3.32%204.784-4.355%207.925-3.403c2.023.678%203.938%202.237%205.093%204.724c5.402-3.498%205.391-3.475%209.163-5.879c-1.381-2.141-2.118-3.129-3.022-4.045c-3.249-3.629-7.676-5.498-14.756-5.355l-3.688.477c-3.534.893-6.902%202.748-8.877%205.235c-5.926%206.724-4.236%2018.492%202.975%2023.335c7.104%205.332%2017.54%206.545%2018.873%2011.531c1.297%206.104-4.486%208.08-10.234%207.378c-4.236-.881-6.592-3.034-9.139-6.949c-4.688%202.713-4.688%202.713-9.508%205.485c1.143%202.499%202.344%203.63%204.26%205.795c9.068%209.198%2031.76%208.746%2035.83-5.176c.165-.478%201.261-3.666.38-8.581M69.462%2058.943H57.753l-.048%2030.272c0%206.438.333%2012.34-.714%2014.149c-1.713%203.558-6.152%203.117-8.175%202.427c-2.059-1.012-3.106-2.451-4.319-4.485c-.333-.584-.583-1.036-.667-1.071l-9.52%205.83c1.583%203.249%203.915%206.069%206.902%207.901c4.462%202.678%2010.459%203.499%2016.731%202.059c4.082-1.189%207.604-3.652%209.448-7.401c2.666-4.915%202.094-10.864%202.07-17.444c.06-10.735.001-21.468.001-32.237'%20/%3e%3c/svg%3e`,typescript:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='128'%20height='128'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23fff'%20d='M22.67%2047h99.67v73.67H22.67z'%20/%3e%3cpath%20fill='%23007acc'%20d='M1.5%2063.91v62.5h125v-125H1.5zm100.73-5a15.56%2015.56%200%200%201%207.82%204.5a20.6%2020.6%200%200%201%203%204c0%20.16-5.4%203.81-8.69%205.85c-.12.08-.6-.44-1.13-1.23a7.09%207.09%200%200%200-5.87-3.53c-3.79-.26-6.23%201.73-6.21%205a4.6%204.6%200%200%200%20.54%202.34c.83%201.73%202.38%202.76%207.24%204.86c8.95%203.85%2012.78%206.39%2015.16%2010c2.66%204%203.25%2010.46%201.45%2015.24c-2%205.2-6.9%208.73-13.83%209.9a38.3%2038.3%200%200%201-9.52-.1a23%2023%200%200%201-12.72-6.63c-1.15-1.27-3.39-4.58-3.25-4.82a9%209%200%200%201%201.15-.73L82%20101l3.59-2.08l.75%201.11a16.8%2016.8%200%200%200%204.74%204.54c4%202.1%209.46%201.81%2012.16-.62a5.43%205.43%200%200%200%20.69-6.92c-1-1.39-3-2.56-8.59-5c-6.45-2.78-9.23-4.5-11.77-7.24a16.5%2016.5%200%200%201-3.43-6.25a25%2025%200%200%201-.22-8c1.33-6.23%206-10.58%2012.82-11.87a31.7%2031.7%200%200%201%209.49.26zm-29.34%205.24v5.12H56.66v46.23H45.15V69.26H28.88v-5a49%2049%200%200%201%20.12-5.17C29.08%2059%2039%2059%2051%2059h21.83z'%20/%3e%3c/svg%3e`,shell:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20128%20128'%20width='24'%20height='24'%3e%3cpath%20fill='none'%20d='M4.24%204.24h119.53v119.53H4.24z'%20/%3e%3cpath%20fill='%23293138'%20d='M109.01%2028.64L71.28%206.24c-2.25-1.33-4.77-2-7.28-2s-5.03.67-7.28%202.01l-37.74%2022.4c-4.5%202.67-7.28%207.61-7.28%2012.96v44.8c0%205.35%202.77%2010.29%207.28%2012.96l37.73%2022.4c2.25%201.34%204.76%202%207.28%202c2.51%200%205.03-.67%207.28-2l37.74-22.4c4.5-2.67%207.28-7.62%207.28-12.96V41.6c0-5.34-2.77-10.29-7.28-12.96M79.79%2098.59l.06%203.22c0%20.39-.25.83-.55.99l-1.91%201.1c-.3.15-.56-.03-.56-.42l-.03-3.17c-1.63.68-3.29.84-4.34.42c-.2-.08-.29-.37-.21-.71l.69-2.91c.06-.23.18-.46.34-.6c.06-.06.12-.1.18-.13c.11-.06.22-.07.31-.03c1.14.38%202.59.2%203.99-.5c1.78-.9%202.97-2.72%202.95-4.52c-.02-1.64-.9-2.31-3.05-2.33c-2.74.01-5.3-.53-5.34-4.57c-.03-3.32%201.69-6.78%204.43-8.96l-.03-3.25c0-.4.24-.84.55-1l1.85-1.18c.3-.15.56.04.56.43l.03%203.25c1.36-.54%202.54-.69%203.61-.44c.23.06.34.38.24.75l-.72%202.88c-.06.22-.18.44-.33.58a.8.8%200%200%201-.19.14c-.1.05-.19.06-.28.05c-.49-.11-1.65-.36-3.48.56c-1.92.97-2.59%202.64-2.58%203.88c.02%201.48.77%201.93%203.39%201.97c3.49.06%204.99%201.58%205.03%205.09c.05%203.44-1.79%207.15-4.61%209.41m26.34-60.5l-35.7%2022.05c-4.45%202.6-7.73%205.52-7.74%2010.89v43.99c0%203.21%201.3%205.29%203.29%205.9c-.65.11-1.32.19-1.98.19c-2.09%200-4.15-.57-5.96-1.64l-37.73-22.4c-3.69-2.19-5.98-6.28-5.98-10.67V41.6c0-4.39%202.29-8.48%205.98-10.67l37.74-22.4c1.81-1.07%203.87-1.64%205.96-1.64s4.15.57%205.96%201.64l37.74%2022.4c3.11%201.85%205.21%205.04%205.8%208.63c-1.27-2.67-4.09-3.39-7.38-1.47'%20/%3e%3cpath%20fill='%234fa847'%20d='m99.12%2090.73l-9.4%205.62c-.25.15-.43.31-.43.61v2.46c0%20.3.2.43.45.28l9.54-5.8c.25-.15.29-.42.29-.72v-2.17c0-.3-.2-.42-.45-.28'%20/%3e%3c/svg%3e`,terraform:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cg%20fill-rule='evenodd'%3e%3cpath%20fill='%235c4ee5'%20d='M77.941%2044.5v36.836L46.324%2062.918V26.082zm0%200'%20/%3e%3cpath%20fill='%234040b2'%20d='m81.41%2081.336l31.633-18.418V26.082L81.41%2044.5zm0%200'%20/%3e%3cpath%20fill='%235c4ee5'%20d='M11.242%2042.36L42.86%2060.776V23.941L11.242%205.523zm66.699%2043.015L46.324%2066.957v36.82l31.617%2018.418zm0%200'%20/%3e%3c/g%3e%3c/svg%3e`,html:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23e44d26'%20d='M19.037%20113.876L9.032%201.661h109.936l-10.016%20112.198l-45.019%2012.48z'%20/%3e%3cpath%20fill='%23f16529'%20d='m64%20116.8l36.378-10.086l8.559-95.878H64z'%20/%3e%3cpath%20fill='%23ebebeb'%20d='M64%2052.455H45.788L44.53%2038.361H64V24.599H29.489l.33%203.692l3.382%2037.927H64zm0%2035.743l-.061.017l-15.327-4.14l-.979-10.975H33.816l1.928%2021.609l28.193%207.826l.063-.017z'%20/%3e%3cpath%20fill='%23fff'%20d='M63.952%2052.455v13.763h16.947l-1.597%2017.849l-15.35%204.143v14.319l28.215-7.82l.207-2.325l3.234-36.233l.335-3.696h-3.708zm0-27.856v13.762h33.244l.276-3.092l.628-6.978l.329-3.692z'%20/%3e%3c/svg%3e`,css:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='128'%20height='128'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23639'%20d='M0%200h107.52C118.831%200%20128%209.168%20128%2020.48v87.04c0%2011.312-9.168%2020.48-20.48%2020.48H20.48C9.169%20128%200%20118.832%200%20107.52Z'%20/%3e%3cpath%20fill='%23fff'%20d='M45.836%20117.762c-8.219-.008-13.293-4.64-13.195-13.16V83.05q0-6.481%203.793-9.852c4.543-4.379%2015.082-4.644%2019.53.067c2.743%202.417%203.778%207.355%203.532%2011.964H50.06c.074-1.808-.024-4.554-1.09-5.586c-1.383-1.87-5.035-1.652-6.004.297c-.594%201.059-.89%202.621-.89%204.696v18.71q0%205.884%204.09%205.95q1.914-.001%202.905-1.39c.918-1.099%201.063-3.528.989-5.29h9.437c.645%208.969-4.652%2015.254-13.66%2015.144Zm29.957%200c-9.11.125-13.184-6.36-12.934-15.145h8.91c-.25%203.832%201.067%207.32%204.223%207.078q2.11%200%202.969-1.324c1.086-1.613%201.293-6.265-.266-8.066c-1.085-1.735-4.996-3.266-7.058-4.297q-4.423-2.115-6.367-5.027c-2.93-4.305-2.657-13.754%201.449-17.586c3.992-4.727%2014.414-4.942%2018.41-.098c2.465%202.496%203.54%207.41%203.332%2011.934h-8.578c.074-1.86-.102-4.86-.824-5.95q-.762-1.39-2.871-1.39q-3.762.001-3.762%204.496c.027%203.18%201.27%204.488%204.16%205.816c3.742%201.453%208.5%203.938%2010.227%206.942c5.144%209.16%201.613%2023.148-11.02%2022.613Zm28.77%200c-9.11.125-13.184-6.36-12.934-15.145h8.91c-.25%203.832%201.066%207.32%204.223%207.078q2.108%200%202.969-1.324c1.085-1.613%201.289-6.265-.266-8.066c-1.086-1.735-4.996-3.266-7.059-4.297q-4.423-2.115-6.367-5.027c-2.93-4.305-2.656-13.754%201.45-17.586c3.992-4.727%2014.413-4.942%2018.41-.098c2.464%202.496%203.539%207.41%203.332%2011.934h-8.579c.07-1.86-.101-4.86-.824-5.95q-.762-1.39-2.87-1.39q-3.763.001-3.763%204.496c.028%203.18%201.27%204.488%204.16%205.816c3.743%201.453%208.5%203.938%2010.227%206.942c5.145%209.16%201.614%2023.148-11.02%2022.613Z'%20/%3e%3c/svg%3e`,npm:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23cb3837'%20d='M0%207.062C0%203.225%203.225%200%207.062%200h113.88c3.838%200%207.063%203.225%207.063%207.062v113.88c0%203.838-3.225%207.063-7.063%207.063H7.062c-3.837%200-7.062-3.225-7.062-7.063zm23.69%2097.518h40.395l.05-58.532h19.494l-.05%2058.581h19.543l.05-78.075l-78.075-.1l-.1%2078.126z'%20/%3e%3cpath%20fill='%23fff'%20d='M25.105%2065.52V26.512H40.96c8.72%200%2026.274.034%2039.008.075l23.153.075v77.866H83.645v-58.54H64.057v58.54H25.105z'%20/%3e%3c/svg%3e`,java:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%230074bd'%20d='M47.617%2098.12s-4.767%202.774%203.397%203.71c9.892%201.13%2014.947.968%2025.845-1.092c0%200%202.871%201.795%206.873%203.351c-24.439%2010.47-55.308-.607-36.115-5.969m-2.988-13.665s-5.348%203.959%202.823%204.805c10.567%201.091%2018.91%201.18%2033.354-1.6c0%200%201.993%202.025%205.132%203.131c-29.542%208.64-62.446.68-41.309-6.336'%20/%3e%3cpath%20fill='%23ea2d2e'%20d='M69.802%2061.271c6.025%206.935-1.58%2013.17-1.58%2013.17s15.289-7.891%208.269-17.777c-6.559-9.215-11.587-13.792%2015.635-29.58c0%20.001-42.731%2010.67-22.324%2034.187'%20/%3e%3cpath%20fill='%230074bd'%20d='M102.123%20108.229s3.529%202.91-3.888%205.159c-14.102%204.272-58.706%205.56-71.094.171c-4.451-1.938%203.899-4.625%206.526-5.192c2.739-.593%204.303-.485%204.303-.485c-4.953-3.487-32.013%206.85-13.743%209.815c49.821%208.076%2090.817-3.637%2077.896-9.468M49.912%2070.294s-22.686%205.389-8.033%207.348c6.188.828%2018.518.638%2030.011-.326c9.39-.789%2018.813-2.474%2018.813-2.474s-3.308%201.419-5.704%203.053c-23.042%206.061-67.544%203.238-54.731-2.958c10.832-5.239%2019.644-4.643%2019.644-4.643m40.697%2022.747c23.421-12.167%2012.591-23.86%205.032-22.285c-1.848.385-2.677.72-2.677.72s.688-1.079%202-1.543c14.953-5.255%2026.451%2015.503-4.823%2023.725c0-.002.359-.327.468-.617'%20/%3e%3cpath%20fill='%23ea2d2e'%20d='M76.491%201.587S89.459%2014.563%2064.188%2034.51c-20.266%2016.006-4.621%2025.13-.007%2035.559c-11.831-10.673-20.509-20.07-14.688-28.815C58.041%2028.42%2081.722%2022.195%2076.491%201.587'%20/%3e%3cpath%20fill='%230074bd'%20d='M52.214%20126.021c22.476%201.437%2057-.8%2057.817-11.436c0%200-1.571%204.032-18.577%207.231c-19.186%203.612-42.854%203.191-56.887.874c0%20.001%202.875%202.381%2017.647%203.331'%20/%3e%3c/svg%3e`,kotlin:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cdefs%3e%3clinearGradient%20id='deviconKotlin0'%20x1='500.003'%20x2='-.097'%20y1='579.106'%20y2='1079.206'%20gradientTransform='translate(15.534%20-96.774)scale(.1939)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.003'%20stop-color='%23e44857'%20/%3e%3cstop%20offset='.469'%20stop-color='%23c711e1'%20/%3e%3cstop%20offset='1'%20stop-color='%237f52ff'%20/%3e%3c/linearGradient%3e%3c/defs%3e%3cpath%20fill='url(%23deviconKotlin0)'%20d='M112.484%20112.484H15.516V15.516h96.968L64%2064Zm0%200'%20/%3e%3c/svg%3e`,go:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cg%20fill='%2300acd7'%20fill-rule='evenodd'%3e%3cpath%20d='M11.156%2054.829c-.243%200-.303-.122-.182-.303l1.273-1.637c.12-.182.424-.303.666-.303H34.55c.243%200%20.303.182.182.364l-1.03%201.576c-.121.181-.424.363-.606.363zm-9.152%205.575c-.242%200-.303-.12-.182-.303l1.273-1.636c.121-.182.424-.303.667-.303h27.636c.242%200%20.364.182.303.364l-.485%201.454c-.06.243-.303.364-.545.364zM16.67%2065.98c-.242%200-.302-.182-.181-.364l.848-1.515c.122-.182.364-.363.607-.363h12.12c.243%200%20.364.181.364.424l-.12%201.454c0%20.243-.243.425-.425.425zm62.91-12.242c-3.819.97-6.425%201.697-10.182%202.666c-.91.243-.97.303-1.758-.606c-.909-1.03-1.576-1.697-2.848-2.303c-3.819-1.878-7.516-1.333-10.97.91c-4.121%202.666-6.242%206.605-6.182%2011.514c.06%204.849%203.394%208.849%208.182%209.516c4.121.545%207.576-.91%2010.303-4c.545-.667%201.03-1.394%201.636-2.243H56.064c-1.272%200-1.575-.788-1.151-1.818c.788-1.879%202.242-5.03%203.09-6.606c.183-.364.607-.97%201.516-.97h22.06c-.12%201.637-.12%203.273-.363%204.91c-.667%204.363-2.303%208.363-4.97%2011.878c-4.364%205.758-10.06%209.333-17.273%2010.303c-5.939.788-11.454-.364-16.302-4c-4.485-3.394-7.03-7.879-7.697-13.454c-.788-6.606%201.151-12.546%205.151-17.758c4.303-5.636%2010-9.212%2016.97-10.485c5.697-1.03%2011.151-.363%2016.06%202.97c3.212%202.121%205.515%205.03%207.03%208.545c.364.546.122.849-.606%201.03z'%20/%3e%3cpath%20fill-rule='nonzero'%20d='M99.64%2087.253c-5.515-.122-10.546-1.697-14.788-5.334c-3.576-3.09-5.818-7.03-6.545-11.697c-1.091-6.848.787-12.909%204.909-18.302c4.424-5.819%209.757-8.849%2016.97-10.122c6.181-1.09%2012-.484%2017.272%203.091c4.788%203.273%207.757%207.697%208.545%2013.515c1.03%208.182-1.333%2014.849-6.97%2020.546c-4%204.06-8.909%206.606-14.545%207.757c-1.636.303-3.273.364-4.848.546m14.424-24.485c-.06-.788-.06-1.394-.182-2c-1.09-6-6.606-9.394-12.363-8.06c-5.637%201.272-9.273%204.848-10.606%2010.545c-1.091%204.727%201.212%209.515%205.575%2011.454c3.334%201.455%206.667%201.273%209.879-.363c4.788-2.485%207.394-6.364%207.697-11.576'%20/%3e%3c/g%3e%3c/svg%3e`,python:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3clinearGradient%20id='deviconPython0'%20x1='70.252'%20x2='170.659'%20y1='1237.476'%20y2='1151.089'%20gradientTransform='matrix(.563%200%200%20-.568%20-29.215%20707.817)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%235a9fd4'%20/%3e%3cstop%20offset='1'%20stop-color='%23306998'%20/%3e%3c/linearGradient%3e%3clinearGradient%20id='deviconPython1'%20x1='209.474'%20x2='173.62'%20y1='1098.811'%20y2='1149.537'%20gradientTransform='matrix(.563%200%200%20-.568%20-29.215%20707.817)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23ffd43b'%20/%3e%3cstop%20offset='1'%20stop-color='%23ffe873'%20/%3e%3c/linearGradient%3e%3cpath%20fill='url(%23deviconPython0)'%20d='M63.391%201.988c-4.222.02-8.252.379-11.8%201.007c-10.45%201.846-12.346%205.71-12.346%2012.837v9.411h24.693v3.137H29.977c-7.176%200-13.46%204.313-15.426%2012.521c-2.268%209.405-2.368%2015.275%200%2025.096c1.755%207.311%205.947%2012.519%2013.124%2012.519h8.491V67.234c0-8.151%207.051-15.34%2015.426-15.34h24.665c6.866%200%2012.346-5.654%2012.346-12.548V15.833c0-6.693-5.646-11.72-12.346-12.837c-4.244-.706-8.645-1.027-12.866-1.008M50.037%209.557c2.55%200%204.634%202.117%204.634%204.721c0%202.593-2.083%204.69-4.634%204.69c-2.56%200-4.633-2.097-4.633-4.69c-.001-2.604%202.073-4.721%204.633-4.721'%20transform='translate(0%2010.26)'%20/%3e%3cpath%20fill='url(%23deviconPython1)'%20d='M91.682%2028.38v10.966c0%208.5-7.208%2015.655-15.426%2015.655H51.591c-6.756%200-12.346%205.783-12.346%2012.549v23.515c0%206.691%205.818%2010.628%2012.346%2012.547c7.816%202.297%2015.312%202.713%2024.665%200c6.216-1.801%2012.346-5.423%2012.346-12.547v-9.412H63.938v-3.138h37.012c7.176%200%209.852-5.005%2012.348-12.519c2.578-7.735%202.467-15.174%200-25.096c-1.774-7.145-5.161-12.521-12.348-12.521h-9.268zM77.809%2087.927c2.561%200%204.634%202.097%204.634%204.692c0%202.602-2.074%204.719-4.634%204.719c-2.55%200-4.633-2.117-4.633-4.719c0-2.595%202.083-4.692%204.633-4.692'%20transform='translate(0%2010.26)'%20/%3e%3cradialGradient%20id='deviconPython2'%20cx='1825.678'%20cy='444.45'%20r='26.743'%20gradientTransform='matrix(0%20-.24%20-1.055%200%20532.979%20557.576)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23b8b8b8'%20stop-opacity='0.498'%20/%3e%3cstop%20offset='1'%20stop-color='%237f7f7f'%20stop-opacity='0'%20/%3e%3c/radialGradient%3e%3cpath%20fill='url(%23deviconPython2)'%20d='M97.309%20119.597c0%203.543-14.816%206.416-33.091%206.416c-18.276%200-33.092-2.873-33.092-6.416s14.815-6.417%2033.092-6.417c18.275%200%2033.091%202.872%2033.091%206.417'%20opacity='0.444'%20/%3e%3c/svg%3e`,sql:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%2300618a'%20d='M117.688%2098.242c-6.973-.191-12.297.461-16.852%202.379c-1.293.547-3.355.559-3.566%202.18c.711.746.82%201.859%201.387%202.777c1.086%201.754%202.922%204.113%204.559%205.352c1.789%201.348%203.633%202.793%205.551%203.961c3.414%202.082%207.223%203.27%2010.504%205.352c1.938%201.23%203.859%202.777%205.75%204.164c.934.684%201.563%201.75%202.773%202.18v-.195c-.637-.812-.801-1.93-1.387-2.777l-2.578-2.578c-2.52-3.344-5.719-6.281-9.117-8.719c-2.711-1.949-8.781-4.578-9.91-7.73l-.199-.199c1.922-.219%204.172-.914%205.949-1.391c2.98-.797%205.645-.59%208.719-1.387l4.164-1.187v-.793c-1.555-1.594-2.664-3.707-4.359-5.152c-4.441-3.781-9.285-7.555-14.273-10.703c-2.766-1.746-6.184-2.883-9.117-4.363c-.988-.496-2.719-.758-3.371-1.586c-1.539-1.961-2.379-4.449-3.566-6.738c-2.488-4.793-4.93-10.023-7.137-15.066c-1.504-3.437-2.484-6.828-4.359-9.91c-9-14.797-18.687-23.73-33.695-32.508c-3.195-1.867-7.039-2.605-11.102-3.57l-6.543-.395c-1.332-.555-2.715-2.184-3.965-2.977C16.977%203.52%204.223-3.312.539%205.672C-1.785%2011.34%204.016%2016.871%206.09%2019.746c1.457%202.012%203.32%204.273%204.359%206.539c.688%201.492.805%202.984%201.391%204.559c1.438%203.883%202.695%208.109%204.559%2011.695c.941%201.816%201.98%203.727%203.172%205.352c.727.996%201.98%201.438%202.18%202.973c-1.227%201.715-1.297%204.375-1.984%206.543c-3.098%209.77-1.926%2021.91%202.578%2029.137c1.383%202.223%204.641%206.98%209.117%205.156c3.918-1.598%203.043-6.539%204.164-10.902c.254-.988.098-1.715.594-2.379v.199l3.57%207.133c2.641%204.254%207.324%208.699%2011.297%2011.699c2.059%201.555%203.68%204.242%206.344%205.152v-.199h-.199c-.516-.805-1.324-1.137-1.98-1.781c-1.551-1.523-3.277-3.414-4.559-5.156c-3.613-4.902-6.805-10.27-9.711-15.855c-1.391-2.668-2.598-5.609-3.77-8.324c-.453-1.047-.445-2.633-1.387-3.172c-1.281%201.988-3.172%203.598-4.164%205.945c-1.582%203.754-1.789%208.336-2.375%2013.082c-.348.125-.195.039-.398.199c-2.762-.668-3.73-3.508-4.758-5.949c-2.594-6.164-3.078-16.09-.793-23.191c.59-1.836%203.262-7.617%202.18-9.316c-.516-1.691-2.219-2.672-3.172-3.965c-1.18-1.598-2.355-3.703-3.172-5.551c-2.125-4.805-3.113-10.203-5.352-15.062c-1.07-2.324-2.875-4.676-4.359-6.738c-1.645-2.289-3.484-3.977-4.758-6.742c-.453-.984-1.066-2.559-.398-3.566c.215-.684.516-.969%201.191-1.191c1.148-.887%204.352.297%205.547.793c3.18%201.32%205.832%202.578%208.527%204.363c1.289.855%202.598%202.512%204.16%202.973h1.785c2.789.641%205.914.195%208.523.988c4.609%201.402%208.738%203.582%2012.488%205.949c11.422%207.215%2020.766%2017.48%2027.156%2029.734c1.027%201.973%201.473%203.852%202.379%205.945c1.824%204.219%204.125%208.559%205.941%2012.688c1.816%204.113%203.582%208.27%206.148%2011.695c1.348%201.801%206.551%202.766%208.918%203.766c1.66.699%204.379%201.43%205.949%202.379c3%201.809%205.906%203.965%208.723%205.945c1.402.992%205.73%203.168%205.945%204.957zm-88.605-75.52c-1.453-.027-2.48.156-3.566.395v.199h.195c.695%201.422%201.918%202.34%202.777%203.566l1.98%204.164l.199-.195c1.227-.867%201.789-2.25%201.781-4.363c-.492-.52-.562-1.164-.992-1.785c-.562-.824-1.66-1.289-2.375-1.98zm0%200'%20/%3e%3c/svg%3e`,json:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3e%3cpath%20fill='%23788191'%20d='M5%203h2v2H5v5a2%202%200%200%201-2%202a2%202%200%200%201%202%202v5h2v2H5c-1.07-.27-2-.9-2-2v-4a2%202%200%200%200-2-2H0v-2h1a2%202%200%200%200%202-2V5a2%202%200%200%201%202-2m14%200a2%202%200%200%201%202%202v4a2%202%200%200%200%202%202h1v2h-1a2%202%200%200%200-2%202v4a2%202%200%200%201-2%202h-2v-2h2v-5a2%202%200%200%201%202-2a2%202%200%200%201-2-2V5h-2V3zm-7%2012a1%201%200%200%201%201%201a1%201%200%200%201-1%201a1%201%200%200%201-1-1a1%201%200%200%201%201-1m-4%200a1%201%200%200%201%201%201a1%201%200%200%201-1%201a1%201%200%200%201-1-1a1%201%200%200%201%201-1m8%200a1%201%200%200%201%201%201a1%201%200%200%201-1%201a1%201%200%200%201-1-1a1%201%200%200%201%201-1'%20/%3e%3c/svg%3e`,lua:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23000080'%20d='M112.956.708c-7.912%200-14.335%206.424-14.335%2014.336s6.424%2014.335%2014.335%2014.335s14.335-6.41%2014.335-14.335c0-7.912-6.424-14.336-14.335-14.336M64%2015.058c-27.02%200-48.956%2021.935-48.956%2048.955S36.979%20112.97%2064%20112.97c27.02%200%2048.956-21.935%2048.956-48.956c0-27.02-21.936-48.956-48.956-48.956'%20/%3e%3cpath%20fill='%23fff'%20d='M84.285%2029.392c-7.91%200-14.335%206.424-14.335%2014.335s6.424%2014.336%2014.335%2014.336s14.336-6.424%2014.336-14.336s-6.424-14.335-14.335-14.335zM30.773%2056.36v32.119h19.961v-3.611H34.87V56.359Zm57.584%208.37c-3.354%200-6.126.975-7.668%202.692c-1.055%201.19-1.488%202.516-1.582%204.801h3.705c.311-2.826%201.988-4.098%205.423-4.098c3.3%200%205.153%201.231%205.153%203.435v.974c0%201.542-.92%202.205-3.827%202.556c-5.193.663-5.991.839-7.398%201.407c-2.69%201.095-4.057%203.164-4.057%206.166c0%204.193%202.908%206.83%207.574%206.83c2.907%200%205.247-1.014%207.843-3.395c.257%202.34%201.407%203.395%203.787%203.395c.757%200%201.325-.081%202.515-.392v-2.773a3%203%200%200%201-.798.095c-1.284%200-1.988-.663-1.988-1.812V71.032c0-4.098-3.002-6.302-8.682-6.302m-33.742.664V83.19c0%203.84%202.867%206.302%207.357%206.302c3.395%200%205.545-1.19%207.709-4.233v3.219h3.3V65.393h-3.652v13.09c0%204.72-2.475%207.804-6.302%207.804c-2.907%200-4.76-1.772-4.76-4.544v-16.35Zm38.773%2011.67v4.139c0%201.244-.365%201.988-1.46%203.002c-1.502%201.366-3.3%202.07-5.464%202.07c-2.867%200-4.544-1.367-4.544-3.706c0-2.42%201.636-3.665%205.558-4.233c3.881-.528%204.68-.703%205.91-1.271z'%20/%3e%3cpath%20fill='%23808080'%20d='M61.733%200a64%2064%200%200%200-5.57.436l.179%201.458a63%2063%200%200%201%205.442-.426zm5.585.046l-.075%201.468a62%2062%200%200%201%205.433.52L72.88.578a64%2064%200%200%200-5.561-.532Zm-16.665%201.31a63%2063%200%200%200-5.409%201.398l.43%201.405a62%2062%200%200%201%205.284-1.367Zm27.72.237l-.33%201.431a63%2063%200%200%201%205.262%201.455l.452-1.397a64%2064%200%200%200-5.384-1.489M39.98%204.623a64%2064%200%200%200-5.081%202.323l.668%201.308a62%2062%200%200%201%204.964-2.27zm49.012.41l-.573%201.353a63%2063%200%200%201%204.929%202.346l.688-1.298a64%2064%200%200%200-5.044-2.4ZM30.04%209.706a64%2064%200%200%200-4.6%203.17l.886%201.173a63%2063%200%200%201%204.494-3.098zm-8.906%206.728a64%2064%200%200%200-3.983%203.918l1.075%201.001a63%2063%200%200%201%203.891-3.827zm-7.61%208.165a64%2064%200%200%200-3.247%204.546l1.231.8a63%2063%200%200%201%203.172-4.44zm-6.086%209.357a64%2064%200%200%200-2.408%205.042l1.352.574a62%2062%200%200%201%202.352-4.925zm113.623.973l-1.31.667a63%2063%200%200%201%202.263%204.967l1.362-.55a64%2064%200%200%200-2.315-5.083zM3.075%2044.23a63%2063%200%200%200-1.49%205.385l1.432.328a62%2062%200%200%201%201.455-5.26Zm122.166%201.049l-1.404.429a63%2063%200%200%201%201.366%205.285l1.437-.306a64%2064%200%200%200-1.399-5.409zM.574%2055.108a64%2064%200%200%200-.528%205.561l1.467.075a63%2063%200%200%201%20.516-5.434Zm126.988%201.088l-1.458.179a63%2063%200%200%201%20.428%205.441l1.468-.05a64%2064%200%200%200-.438-5.57M1.468%2066.205L0%2066.255a64%2064%200%200%200%20.435%205.57l1.458-.179a63%2063%200%200%201-.425-5.441m125.018%201.071a63%2063%200%200%201-.518%205.434l1.455.203a64%2064%200%200%200%20.53-5.561zM2.79%2077.031l-1.437.304a63%2063%200%200%200%201.398%205.41l1.405-.43A62%2062%200%200%201%202.79%2077.03Zm122.188%201.046a62%2062%200%200%201-1.457%205.26l1.397.454a63%2063%200%200%200%201.492-5.384zM5.981%2087.459l-1.362.551a63%2063%200%200%200%202.323%205.082l1.307-.669a62%2062%200%200%201-2.268-4.964m115.627.99a62%2062%200%200%201-2.354%204.925l1.296.69a64%2064%200%200%200%202.41-5.04zM10.944%2097.17l-1.245.78a64%2064%200%200%200%203.17%204.6l1.172-.885a63%2063%200%200%201-3.097-4.495m105.534.904a63%2063%200%200%201-3.173%204.44l1.156.906a64%2064%200%200%200%203.249-4.545zm-98.96%207.8l-1.092.983a64%2064%200%200%200%203.917%203.983l1.002-1.074a63%2063%200%200%201-3.827-3.892m92.24.79a63%2063%200%200%201-3.893%203.826l.983%201.092a64%2064%200%200%200%203.984-3.916zm-84.263%206.648l-.906%201.157a64%2064%200%200%200%204.546%203.248l.8-1.232a63%2063%200%200%201-4.44-3.173m76.16.654a63%2063%200%200%201-4.495%203.096l.78%201.245a64%2064%200%200%200%204.6-3.17zm-67.018%205.294l-.691%201.296a64%2064%200%200%200%205.04%202.409l.575-1.352a62%2062%200%200%201-4.924-2.353m57.775.496a62%2062%200%200%201-4.964%202.268l.551%201.362a63%2063%200%200%200%205.082-2.322zm-47.74%203.77l-.453%201.396a63%2063%200%200%200%205.385%201.49l.329-1.43a62%2062%200%200%201-5.26-1.456zm37.632.322a62%2062%200%200%201-5.284%201.365l.304%201.437a63%2063%200%200%200%205.41-1.398zm-27.003%202.122l-.203%201.455a64%2064%200%200%200%205.561.529l.075-1.467a63%2063%200%200%201-5.433-.517m16.335.139a63%2063%200%200%201-5.442.424l.05%201.468a64%2064%200%200%200%205.57-.434z'%20/%3e%3c/svg%3e`,csharp:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%239b4f96'%20d='M115.4%2030.7L67.1%202.9c-.8-.5-1.9-.7-3.1-.7s-2.3.3-3.1.7l-48%2027.9c-1.7%201-2.9%203.5-2.9%205.4v55.7c0%201.1.2%202.4%201%203.5l106.8-62c-.6-1.2-1.5-2.1-2.4-2.7'%20/%3e%3cpath%20fill='%2368217a'%20d='M10.7%2095.3c.5.8%201.2%201.5%201.9%201.9l48.2%2027.9c.8.5%201.9.7%203.1.7s2.3-.3%203.1-.7l48-27.9c1.7-1%202.9-3.5%202.9-5.4V36.1c0-.9-.1-1.9-.6-2.8z'%20/%3e%3cpath%20fill='%23fff'%20d='M85.3%2076.1C81.1%2083.5%2073.1%2088.5%2064%2088.5c-13.5%200-24.5-11-24.5-24.5s11-24.5%2024.5-24.5c9.1%200%2017.1%205%2021.3%2012.5l13-7.5c-6.8-11.9-19.6-20-34.3-20c-21.8%200-39.5%2017.7-39.5%2039.5s17.7%2039.5%2039.5%2039.5c14.6%200%2027.4-8%2034.2-19.8zM97%2066.2l.9-4.3h-4.2v-4.7h5.1L100%2051h4.9l-1.2%206.1h3.8l1.2-6.1h4.8l-1.2%206.1h2.4v4.7h-3.3l-.9%204.3h4.2v4.7h-5.1l-1.2%206h-4.9l1.2-6h-3.8l-1.2%206h-4.8l1.2-6h-2.4v-4.7H97zm4.8%200h3.8l.9-4.3h-3.8z'%20/%3e%3c/svg%3e`,cpp:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%2300599c'%20d='M118.766%2095.82c.89-1.543%201.441-3.28%201.441-4.843V36.78c0-1.558-.55-3.297-1.441-4.84l-55.32%2031.94Zm0%200'%20/%3e%3cpath%20fill='%23004482'%20d='m68.36%20126.586l46.933-27.094c1.352-.781%202.582-2.129%203.473-3.672l-55.32-31.94L8.12%2095.82c.89%201.543%202.121%202.89%203.473%203.672l46.933%2027.094c2.703%201.562%207.13%201.562%209.832%200Zm0%200'%20/%3e%3cpath%20fill='%23659ad2'%20d='M118.766%2031.941c-.891-1.546-2.121-2.894-3.473-3.671L68.359%201.172c-2.703-1.563-7.129-1.563-9.832%200L11.594%2028.27C8.89%2029.828%206.68%2033.66%206.68%2036.78v54.196c0%201.562.55%203.3%201.441%204.843L63.445%2063.88Zm0%200'%20/%3e%3cpath%20fill='%23fff'%20d='M63.445%2026.035c-20.867%200-37.843%2016.977-37.843%2037.844s16.976%2037.844%2037.843%2037.844c13.465%200%2026.024-7.247%2032.77-18.91L79.84%2073.335c-3.38%205.84-9.66%209.465-16.395%209.465c-10.433%200-18.922-8.488-18.922-18.922s8.49-18.922%2018.922-18.922c6.73%200%2013.017%203.629%2016.39%209.465l16.38-9.477c-6.75-11.664-19.305-18.91-32.77-18.91zM92.88%2057.57v4.207h-4.207v4.203h4.207v4.207h4.203V65.98h4.203v-4.203h-4.203V57.57zm15.766%200v4.207h-4.204v4.203h4.204v4.207h4.207V65.98h4.203v-4.203h-4.203V57.57z'%20/%3e%3c/svg%3e`,c:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23659ad3'%20d='M115.4%2030.7L67.1%202.9c-.8-.5-1.9-.7-3.1-.7s-2.3.3-3.1.7l-48%2027.9c-1.7%201-2.9%203.5-2.9%205.4v55.7c0%201.1.2%202.4%201%203.5l106.8-62c-.6-1.2-1.5-2.1-2.4-2.7'%20/%3e%3cpath%20fill='%2303599c'%20d='M10.7%2095.3c.5.8%201.2%201.5%201.9%201.9l48.2%2027.9c.8.5%201.9.7%203.1.7s2.3-.3%203.1-.7l48-27.9c1.7-1%202.9-3.5%202.9-5.4V36.1c0-.9-.1-1.9-.6-2.8z'%20/%3e%3cpath%20fill='%23fff'%20d='M85.3%2076.1C81.1%2083.5%2073.1%2088.5%2064%2088.5c-13.5%200-24.5-11-24.5-24.5s11-24.5%2024.5-24.5c9.1%200%2017.1%205%2021.3%2012.5l13-7.5c-6.8-11.9-19.6-20-34.3-20c-21.8%200-39.5%2017.7-39.5%2039.5s17.7%2039.5%2039.5%2039.5c14.6%200%2027.4-8%2034.2-19.8z'%20/%3e%3c/svg%3e`,file:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3e%3cpath%20fill='%23788191'%20d='m12.89%203l1.96.4L11.11%2021l-1.96-.4zm6.7%209L16%208.41V5.58L22.42%2012L16%2018.41v-2.83zM1.58%2012L8%205.58v2.83L4.41%2012L8%2015.58v2.83z'%20/%3e%3c/svg%3e`},p=e=>(0,r.jsx)(`img`,{className:[d.icon,e.className].filter(Boolean).join(` `),src:f[e.language]||`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3e%3cpath%20fill='%23788191'%20d='m12.89%203l1.96.4L11.11%2021l-1.96-.4zm6.7%209L16%208.41V5.58L22.42%2012L16%2018.41v-2.83zM1.58%2012L8%205.58v2.83L4.41%2012L8%2015.58v2.83z'%20/%3e%3c/svg%3e`,width:e.size,height:e.size,alt:e.language,style:{width:e.size,height:e.size,...e.style}}),m={text:`_text_1nnze_1`,link:`_link_1nnze_19`},h={icon:`_icon_k0isg_1`},g=({src:e,alt:n,className:i})=>{let[a,o]=(0,t.useState)(e);return(0,r.jsx)(`img`,{className:[h.icon,i].filter(Boolean).join(` `),src:a,alt:n,onError:()=>{o(`data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="gray" d="M17.9 17.39c-.26-.8-1.01-1.39-1.9-1.39h-1v-3a1 1 0 0 0-1-1H8v-2h2a1 1 0 0 0 1-1V7h2a2 2 0 0 0 2-2v-.41a7.984 7.984 0 0 1 2.9 12.8M11 19.93c-3.95-.49-7-3.85-7-7.93c0-.62.08-1.22.21-1.79L9 15v1a2 2 0 0 0 2 2m1-16A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2"/></svg>`)}})},_=e=>{let t=e=>{let t=e.children;return e.kbd&&(t=(0,r.jsx)(`kbd`,{children:t})),e.code&&(t=(0,r.jsx)(`code`,{children:t})),e.strikethrough&&(t=(0,r.jsx)(`del`,{children:t})),e.underline&&(t=(0,r.jsx)(`ins`,{children:t})),e.italic&&(t=(0,r.jsx)(`em`,{children:t})),e.bold&&(t=(0,r.jsx)(`strong`,{children:t})),e.ruby&&(t=(0,r.jsxs)(`ruby`,{children:[t,(0,r.jsx)(`rt`,{children:e.ruby})]})),t},n=({favicon:e,href:t,children:n})=>(0,r.jsxs)(`a`,{className:m.link,href:t,target:`_blank`,rel:`noopener noreferrer`,children:[e&&(0,r.jsx)(g,{src:e}),n]}),a=e=>e.href?n(e):t(e);return(0,r.jsx)(`span`,{className:[m.text,e.className].filter(Boolean).join(` `),style:{"--elmethis-text-color-light":e.color,"--elmethis-text-color-dark":e.color,"--elmethis-text-background-color-light":e.backgroundColor,"--elmethis-text-background-color-dark":e.backgroundColor,color:e.color??(e.backgroundColor?(0,i.getLuminance)(e.backgroundColor)>.5?`#3e434b`:`#eeeff1`:void 0),backgroundColor:e.backgroundColor,...e.style},children:a(e)})},v={icon:`_icon_g71ox_1`,"icon-theme-color":`_icon-theme-color_g71ox_10`},y=e=>(0,r.jsx)(`div`,{className:e.className,style:e.style,children:(0,r.jsx)(`svg`,{width:e.size||`1.25rem`,height:e.size||`1.25rem`,viewBox:`0 0 24 24`,focusable:`false`,role:`img`,children:(0,r.jsx)(`path`,{style:{"--elmethis-scoped-color":e.colorLight??e.color,"--elmethis-scoped-color-dark":e.colorDark??e.color,...e.style},className:e.useThemeColor?v[`icon-theme-color`]:v.icon,fill:`currentColor`,d:e.d})})}),b={wrapper:`_wrapper_1q92c_15`,dot:`_dot_1q92c_22`,bounce:`_bounce_1q92c_1`},x=e=>{let{color:t,size:n=`64px`,style:i}=e;return(0,r.jsx)(`div`,{className:[b.wrapper,e.className].filter(Boolean).join(` `),style:{width:n,height:n,...i},children:[1,2,3].map(e=>(0,r.jsx)(`div`,{className:b.dot,"aria-hidden":!0,style:t?{backgroundColor:t}:void 0},e))})},ee={code:`_code_1nyfa_1`},S=null;function te(){return S||(S=import(`shiki`).then(({createHighlighter:e})=>e({langs:`abap.bash.c.clojure.coffeescript.cpp.csharp.css.dart.diff.docker.elixir.elm.erlang.fsharp.gherkin.glsl.go.graphql.groovy.haskell.html.java.javascript.json.julia.kotlin.latex.less.lisp.lua.makefile.markdown.matlab.mermaid.nix.objective-c.ocaml.pascal.perl.php.plaintext.powershell.prolog.protobuf.python.r.ruby.rust.sass.scala.scheme.scss.shell.sql.swift.toml.typescript.wasm.xml.yaml`.split(`.`),themes:[`vitesse-light`,`vitesse-dark`]}))),S}var ne=({code:e,language:n=`txt`,onRendered:i,style:a,className:o})=>{let[s,c]=(0,t.useState)(`<pre>${e}</pre>`);return(0,t.useEffect)(()=>{let t=!1;return te().then(r=>{if(!t)try{let a=r.codeToHtml(e,{lang:n,themes:{dark:`vitesse-dark`,light:`vitesse-light`},colorReplacements:{"#ffffff":`transparent`,"#121212":`transparent`}});t||(c(a),i?.(!0))}catch{t||i?.(!0)}}).catch(()=>{t||i?.(!0)}),()=>{t=!0}},[e,n,i]),(0,r.jsx)(`div`,{className:[ee.code,o].filter(Boolean).join(` `),style:a,children:(0,r.jsx)(`div`,{className:`shiki`,dangerouslySetInnerHTML:{__html:s}})})},re=({code:e,language:i=`txt`,caption:a,style:o,className:s})=>{let[c,l]=(0,t.useState)(!1),[d,f]=(0,t.useState)(!1),[m,h]=(0,t.useState)(!1),g=(0,t.useRef)(null),v=(0,t.useRef)(null);(0,t.useEffect)(()=>{let e=g.current;if(!e)return;let t=new IntersectionObserver(([e])=>{h(e.isIntersecting)});return t.observe(e),()=>t.disconnect()},[]);let b=(0,t.useCallback)(()=>{navigator.clipboard.writeText(e).then(()=>{f(!0),v.current&&clearTimeout(v.current),v.current=setTimeout(()=>f(!1),2e3)})},[e]);return(0,t.useEffect)(()=>()=>{v.current&&clearTimeout(v.current)},[]),(0,r.jsxs)(`div`,{ref:g,className:[u.wrapper,s].filter(Boolean).join(` `),style:{opacity:+!!m,...o},children:[(0,r.jsxs)(`div`,{className:u.header,children:[(0,r.jsxs)(`div`,{className:u.header__left,children:[(0,r.jsx)(p,{language:i,size:20}),(0,r.jsx)(`span`,{className:u.caption,children:(0,r.jsx)(_,{children:a??i})})]}),(0,r.jsx)(`div`,{className:u.header__right,children:(0,r.jsx)(`div`,{className:u[`copy-icon`],onClick:b,children:(0,r.jsx)(y,{size:`1.25em`,d:d?n.mdiClipboardCheckMultipleOutline:n.mdiClipboardMultipleOutline,useThemeColor:d})})})]}),(0,r.jsxs)(`div`,{className:u.code,children:[(0,r.jsx)(`div`,{className:u[`code-body`],style:{opacity:+!!c},children:(0,r.jsx)(ne,{code:e,language:i,onRendered:l})}),(0,r.jsx)(`div`,{className:u.fallback,style:{opacity:+!c},children:(0,r.jsx)(x,{size:`48px`})})]})]})},ie={katex:`_katex_1a1aj_1`},ae=({expression:e,block:n=!1,style:i,className:a})=>{let[o,s]=(0,t.useState)();(0,t.useEffect)(()=>{import(`katex`).then(({renderToString:t})=>{try{s(t(e,{displayMode:n,output:`mathml`}))}catch(e){console.error(`KaTeX rendering error:`,e)}}).catch(()=>{})},[e,n]);let c=[ie.katex,a].filter(Boolean).join(` `);return n?(0,r.jsx)(`div`,{className:c,style:i,dangerouslySetInnerHTML:o?{__html:o}:void 0}):(0,r.jsx)(`span`,{className:c,style:i,dangerouslySetInnerHTML:o?{__html:o}:void 0})},oe={"elm-collapse":`_elm-collapse_j2kw5_1`,inner:`_inner_j2kw5_8`,open:`_open_j2kw5_12`},se=e=>(0,r.jsx)(`div`,{className:(0,a.default)(oe[`elm-collapse`],{[oe.open]:e.isOpen}),style:e.style,children:(0,r.jsx)(`div`,{className:oe.inner,children:e.children})}),ce={column:`_column_12uje_1`},le=e=>(0,r.jsx)(`div`,{className:[ce.column,e.className].filter(Boolean).join(` `),style:e.style,children:e.children}),ue={"column-list":`_column-list_rt1o3_1`},de=e=>(0,r.jsx)(`div`,{className:[ue[`column-list`],e.className].filter(Boolean).join(` `),style:e.style,children:e.children}),fe={body:`_body_gd5gc_1`,button:`_button_gd5gc_5`},pe={provider:`_provider_qbioz_1`,exit:`_exit_qbioz_23`},me=({closeOnClickOutside:e=!0,duration:n=200,isOpen:i,setIsOpen:s,...c})=>{let[l,u]=(0,t.useState)(!1);(0,t.useEffect)(()=>{if(i){let e=window.setTimeout(()=>u(!0),0);return()=>clearTimeout(e)}else{let e=window.setTimeout(()=>u(!1),n);return()=>clearTimeout(e)}},[i,n]);let d=(0,t.useCallback)(()=>{e&&s&&s(!1)},[e,s]),f=(0,t.useCallback)(e=>{e.stopPropagation()},[]);return!i&&!l?null:(0,o.createPortal)((0,r.jsx)(`div`,{className:(0,a.default)(pe.provider,{[pe.exit]:!i}),style:{transitionDuration:`${n}ms`},onClick:d,children:(0,r.jsx)(`div`,{className:c.className,style:c.style,onClick:f,children:c.children})}),document.body)},C={button:`_button_c0mex_1`,"button-ornament":`_button-ornament_c0mex_29`,normal:`_normal_c0mex_40`,primary:`_primary_c0mex_50`,colored:`_colored_c0mex_60`,enable:`_enable_c0mex_64`,flex:`_flex_c0mex_95`,ripple:`_ripple_c0mex_117`,"button-ripple":`_button-ripple_c0mex_1`},he=({loading:e=!1,block:n=!1,disabled:i=!1,primary:a=!1,...o})=>{let[s,c]=(0,t.useState)(!1),l=(0,t.useRef)(void 0),{onClick:u}=o,d=(0,t.useCallback)(()=>{!e&&!i&&u&&(c(!0),l.current=window.setTimeout(()=>c(!1),300),u())},[e,i,u]);return(0,t.useEffect)(()=>()=>{l.current&&clearTimeout(l.current)},[]),(0,r.jsxs)(`button`,{className:[C.button,!e&&!i?C.enable:``,o.color?C.colored:``,!o.color&&!a?C.normal:``,!o.color&&a?C.primary:``,o.className].filter(Boolean).join(` `),style:{display:n?`flex`:`inline-flex`,width:n?`100%`:`auto`,cursor:i?`not-allowed`:e?`progress`:`pointer`,"--opacity":i||e?.6:void 0,"--color":o.color,...o.style},onClick:d,children:[s&&(0,r.jsx)(`div`,{className:C.ripple}),e?(0,r.jsx)(x,{size:`1.5rem`}):(0,r.jsx)(`span`,{className:C.flex,children:o.children}),(0,r.jsx)(`div`,{className:C[`button-ornament`]})]})},ge={"heading-common":`_heading-common_1ytfd_1`,h1:`_h1_1ytfd_22`,h2:`_h2_1ytfd_57`,h2__underline:`_h2__underline_1ytfd_91`,h3:`_h3_1ytfd_110`,h4:`_h4_1ytfd_130`,h5:`_h5_1ytfd_134`,h6:`_h6_1ytfd_138`,"heading-stretch":`_heading-stretch_1ytfd_1`},_e={fragment:`_fragment_il7xb_1`},ve=e=>{let n=(0,t.useCallback)(e=>{let t=new URL(window.location.href);t.hash=e,window.history.replaceState(null,``,t.toString()),document.getElementById(e)?.scrollIntoView({behavior:`smooth`})},[]);return(0,r.jsx)(`span`,{className:[_e.fragment,e.className].filter(Boolean).join(` `),style:e.style,onClick:()=>n(e.id),children:`#`})},ye=Object.freeze({1:1.5,2:1.4,3:1.3,4:1.2,5:1.15,6:1.1}),be=e=>e.replace(/([a-z])([A-Z])/g,`$1-$2`).replace(/[\s_]+/g,`-`).toLowerCase(),w=({level:e=1,disableFragmentIdentifier:n=!1,...i})=>{let a=(0,t.useRef)(null),[o,s]=(0,t.useState)(!1);(0,t.useEffect)(()=>{let e=a.current;if(!e)return;let t=new IntersectionObserver(([e])=>{s(e.isIntersecting)});return t.observe(e),()=>t.disconnect()},[]);let c=`h${e}`,l=i.id??(i.text?be(i.text):void 0);return(0,r.jsxs)(c,{ref:a,className:[ge[`heading-common`],ge[`h${e}`],i.className].filter(Boolean).join(` `),id:l,style:{"--font-size":i.size??`${ye[e]}rem`,"--scale":+!!o,"--opacity":+!!o,...i.style},children:[i.text&&(0,r.jsx)(`span`,{children:i.text}),i.children,!n&&l&&(0,r.jsx)(ve,{id:l}),e===2&&(0,r.jsx)(`span`,{className:ge.h2__underline,"aria-hidden":`true`})]})},xe=({closeOnClickOutside:e=!0,onChange:i,onConfirm:a,onSuccess:o,onError:s,...c})=>{let[l,u]=(0,t.useState)(!1),d=(0,t.useCallback)(()=>{i&&i(!1)},[i]),f=(0,t.useCallback)(async()=>{u(!0);try{await a(),u(!1),i&&i(!1),o&&o()}catch(e){s&&s(e),u(!1),i&&i(!1)}},[a,o,s,i]);return(0,r.jsx)(me,{isOpen:c.value,setIsOpen:i,closeOnClickOutside:e,className:c.className,children:(0,r.jsxs)(`div`,{children:[(0,r.jsx)(w,{level:2,disableFragmentIdentifier:!0,children:c.title}),(0,r.jsx)(`div`,{className:fe.body,children:c.children}),(0,r.jsxs)(`div`,{className:fe.button,children:[(0,r.jsxs)(he,{block:!0,onClick:d,loading:l,children:[(0,r.jsx)(y,{d:n.mdiArrowLeft}),(0,r.jsx)(`span`,{children:`Cancel`})]}),(0,r.jsxs)(he,{block:!0,onClick:f,primary:!0,loading:l,children:[(0,r.jsx)(y,{d:n.mdiCheckCircle,color:`currentColor`}),(0,r.jsx)(`span`,{children:`Confirm`})]})]})]})})},T={window:`_window_l8snl_1`,header:`_header_l8snl_14`,dot:`_dot_l8snl_25`},Se=({minHeight:e=`6rem`,...t})=>(0,r.jsxs)(`div`,{className:[T.window,t.className].filter(Boolean).join(` `),style:t.style,children:[(0,r.jsxs)(`div`,{className:T.header,children:[(0,r.jsx)(`div`,{"aria-hidden":!0,className:T.dot,style:{"--bg":`#c48691`}}),(0,r.jsx)(`div`,{"aria-hidden":!0,className:T.dot,style:{"--bg":`#c9b990`}}),(0,r.jsx)(`div`,{"aria-hidden":!0,className:T.dot,style:{"--bg":`#7cc598`}})]}),(0,r.jsx)(`div`,{style:{minHeight:e},children:t.children})]}),Ce={parallax:`_parallax_1tovg_1`},we=({className:e,...n})=>{let[i,a]=(0,t.useState)(0);return(0,t.useEffect)(()=>{let e=null,t=()=>{e??(e=requestAnimationFrame(()=>{a(window.scrollY),e=null}))};return window.addEventListener(`scroll`,t,{passive:!0}),()=>{window.removeEventListener(`scroll`,t),e!=null&&cancelAnimationFrame(e)}},[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(`div`,{className:[Ce.parallax,e].filter(Boolean).join(` `),style:{backgroundImage:`url(${n.imageUrl1})`,transform:`scale(1.2) translateY(${i/400}%)`,transformOrigin:`bottom`,...n.style}}),(0,r.jsx)(`div`,{className:Ce.parallax,style:{backgroundImage:`url(${n.imageUrl2})`,transform:`scale(1.2) translateY(${i/900}%)`,transformOrigin:`bottom`}})]})},E={container:`_container_1mzm0_1`,title:`_title_1mzm0_16`,text:`_text_1mzm0_22`},Te={original:`_original_3zasf_1`,tooltip:`_tooltip_3zasf_5`,"tooltip-enter":`_tooltip-enter_3zasf_17`},Ee=e=>{let n=(0,t.useRef)(null),[i,a]=(0,t.useState)(!1),[o,s]=(0,t.useState)({}),c=(0,t.useCallback)(()=>{let e=n.current;if(!e)return;let t=e.getBoundingClientRect(),r=window.innerWidth;t.x>r/2?s({top:`${t.y+t.height}px`,right:`${r-t.x-t.width}px`}):s({top:`${t.y+t.height}px`,left:`${t.x}px`})},[]);return(0,t.useEffect)(()=>{i&&c()},[i,c]),(0,r.jsxs)(`span`,{ref:n,className:[Te.original,e.className].filter(Boolean).join(` `),onMouseOver:()=>a(!0),onMouseLeave:()=>a(!1),style:e.style,children:[e.original,i&&(0,r.jsx)(`div`,{className:`${Te.tooltip} ${Te[`tooltip-enter`]}`,style:o,children:e.tooltip})]})},De=e=>(0,r.jsx)(Ee,{original:e.children,tooltip:(0,r.jsxs)(`div`,{className:[E.container,e.className].filter(Boolean).join(` `),style:e.style,children:[e.title&&(0,r.jsx)(`div`,{className:E.title,children:e.title}),(0,r.jsx)(`div`,{className:E.text,children:e.text})]})}),D={snackbar:`_snackbar_1f0go_1`,icon:`_icon_1f0go_19`,progress:`_progress_1f0go_45`},Oe=({timeout:e=5e3,...t})=>(0,r.jsxs)(`div`,{className:[D.snackbar,t.className].filter(Boolean).join(` `),style:t.style,children:[t.label==null?t.children:(0,r.jsx)(_,{children:t.label}),(0,r.jsx)(`div`,{className:D.icon,onClick:t.close,children:(0,r.jsx)(y,{d:n.mdiCloseCircleOutline,size:`1em`})}),(0,r.jsx)(`div`,{className:D.progress,style:{animationDuration:`${e}ms`}})]}),O={"snackbar-screen":`_snackbar-screen_up7j2_1`,"snackbar-container":`_snackbar-container_up7j2_14`,"snackbar-item":`_snackbar-item_up7j2_23`},ke=e=>(0,r.jsx)(`div`,{className:[O[`snackbar-screen`],e.className].filter(Boolean).join(` `),style:e.style,children:(0,r.jsx)(`div`,{className:O[`snackbar-container`],children:e.snackbars.map(e=>(0,r.jsx)(`div`,{className:O[`snackbar-item`],children:(0,r.jsx)(Oe,{label:e.label,timeout:e.timeout,close:e.close,children:e.children})},e.id))})}),k={"elm-tabs":`_elm-tabs_ykoqx_1`,"tab-container":`_tab-container_ykoqx_18`,tab:`_tab_ykoqx_18`,active:`_active_ykoqx_40`,"tab-content-container":`_tab-content-container_ykoqx_51`,"tab-content":`_tab-content_ykoqx_51`},Ae=e=>{let[n,i]=(0,t.useState)(0);return(0,r.jsxs)(`div`,{className:[k[`elm-tabs`],e.className].filter(Boolean).join(` `),style:e.style,children:[(0,r.jsx)(`div`,{className:k[`tab-container`],children:e.tabLabels.map((e,t)=>(0,r.jsx)(`div`,{className:`${k.tab} ${n===t?k.active:``}`,onClick:()=>i(t),children:e},t))}),(0,r.jsx)(`div`,{className:k[`tab-content-container`],children:e.tabContents.map((e,t)=>(0,r.jsx)(`div`,{className:`${k[`tab-content`]} ${n===t?k.active:``}`,children:e},t))})]})},A={toggle:`_toggle_16f85_1`,open:`_open_16f85_14`,summary:`_summary_16f85_19`,"summary-left":`_summary-left_16f85_33`,divider:`_divider_16f85_40`,chevron:`_chevron_16f85_57`,cross:`_cross_16f85_70`,border:`_border_16f85_84`,content:`_content_16f85_92`,close:`_close_16f85_96`},je=e=>{let[t,i]=(0,s.useControllableState)({prop:e.isOpen,defaultProp:!1,onChange:e.setIsOpen}),o=e=>{e.preventDefault(),i(!t)};return(0,r.jsxs)(`div`,{className:(0,a.default)(A.toggle,e.className,{[A.open]:t}),style:{...e.style},children:[(0,r.jsxs)(`div`,{className:A.summary,onClick:o,children:[(0,r.jsxs)(`div`,{className:A[`summary-left`],children:[(0,r.jsx)(y,{className:(0,a.default)(A.chevron,{[A.open]:t}),d:n.mdiChevronRight,color:`#59b57c`,size:`1rem`}),(0,r.jsx)(`div`,{children:e.summary==null?e.summaryContent:(0,r.jsx)(_,{children:e.summary})})]}),(0,r.jsx)(`hr`,{className:A.divider}),(0,r.jsx)(y,{className:(0,a.default)(A.cross,{[A.open]:t}),d:n.mdiPlus,size:`1rem`,color:t?`#b36472`:`#59b57c`})]}),(0,r.jsx)(`div`,{className:A.border}),(0,r.jsx)(`div`,{className:(0,a.default)(A.content,{[A.close]:!t}),children:e.children})]})},Me={option:`_option_hdb87_1`},j={wrapper:`_wrapper_1xby6_1`,active:`_active_1xby6_29`,header:`_header_1xby6_33`,label:`_label_1xby6_41`,body:`_body_1xby6_54`,select:`_select_1xby6_63`,selected:`_selected_1xby6_72`,fallback:`_fallback_1xby6_77`,pulldown:`_pulldown_1xby6_85`,collapse:`_collapse_1xby6_106`,option:`_option_1xby6_116`,selectable:`_selectable_1xby6_129`,description:`_description_1xby6_140`},Ne=({disabled:e=!1,loading:i=!1,...o})=>{let[s,c]=(0,t.useState)(!1),l=(0,t.useRef)(null),u=()=>{!e&&!i&&c(e=>!e)},{options:d,onSelect:f}=o,p=e=>{let t=d.find(t=>t.id===e);t&&f&&(f(t.id),c(!1))};(0,t.useEffect)(()=>{let e=e=>{l.current&&!l.current.contains(e.target)&&c(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[]);let m=(e,t,i)=>{let s=o.options.find(t=>t.id===e);if(!s)return null;let c=t?e=>{e.stopPropagation(),p(s.id)}:void 0,l=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(`span`,{children:s.label}),s.description&&(0,r.jsx)(`span`,{className:j.description,children:s.description})]});return(0,r.jsxs)(`div`,{className:(0,a.default)(j.option,{[j.selectable]:t}),onClick:c,children:[t&&(0,r.jsx)(y,{d:n.mdiChevronRight,color:`#868e9c`,size:`0.75em`}),s.children?s.children:l]},i)};return(0,r.jsxs)(`div`,{ref:l,className:(0,a.default)(j.wrapper,o.className,{[j.active]:s}),style:{backgroundColor:e||i?`rgba(0,0,0,0.15)`:void 0,...o.style},onClick:u,children:[(0,r.jsx)(`div`,{className:j.header,children:(0,r.jsx)(`span`,{className:j.label,children:o.label})}),(0,r.jsx)(`div`,{className:j.body,children:(0,r.jsxs)(`div`,{className:j.select,children:[(0,r.jsx)(`div`,{className:j.selected,children:o.selectedOptionId?m(o.selectedOptionId,!1):(0,r.jsxs)(`div`,{className:j.fallback,children:[(0,r.jsx)(y,{d:n.mdiArrowDownDropCircleOutline}),(0,r.jsx)(`span`,{children:o.placeholder??`Select an option`})]})}),(0,r.jsx)(y,{d:n.mdiMenuDown,size:`1.5rem`}),(0,r.jsx)(`div`,{className:(0,a.default)(j.pulldown,{[j.active]:s}),children:(0,r.jsx)(`div`,{className:j.collapse,children:o.options.map(e=>m(e.id,!0,e.id))})})]})})]})},Pe=e=>({id:e.modelId,label:e.label,children:(0,r.jsxs)(`div`,{className:Me.option,children:[(0,r.jsx)(g,{src:e.icon,alt:e.label,className:Me.icon}),(0,r.jsx)(_,{children:e.label})]})}),Fe=e=>{let n=t.default.useMemo(()=>{let t=e.models.find(t=>t.modelId===e.selectedModelId)||null;return t?Pe(t):null},[e.models,e.selectedModelId]);return(0,r.jsx)(Ne,{label:`Model`,options:e.models.map(Pe),selectedOptionId:n?.id,onSelect:e.setSelectedModelId})},M={progress:`_progress_e6hmw_1`,container:`_container_e6hmw_27`,value:`_value_e6hmw_41`,loading:`_loading_e6hmw_56`,buffer:`_buffer_e6hmw_72`},Ie=({value:e,buffer:t,max:n=100,weight:i=`4px`,round:a=!0,color:o,loading:s=!1,style:c,className:l})=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(`progress`,{className:M.progress,value:e,max:n}),(0,r.jsxs)(`div`,{className:[M.container,l].filter(Boolean).join(` `),style:{"--weight":i,"--border-radius":a?`calc(var(--weight) / 2)`:void 0,"--color":o,...c},children:[(0,r.jsx)(`div`,{className:M.value,style:{"--scale-x":`scaleX(${s?0:e/n})`}}),s&&(0,r.jsx)(`div`,{className:M.loading}),(0,r.jsx)(`div`,{className:M.buffer,style:{"--scale-x":`scaleX(${s?0:t==null?e/n:t/n})`}})]})]}),Le={container:`_container_13d02_1`,bar:`_bar_13d02_15`},Re=({progress:e,weight:n=`4px`,round:i=!0,style:a,className:o})=>{let s=(0,t.useMemo)(()=>{let t=e.reduce((e,t)=>e+t.value,0),n=e.map(e=>e.value/t*100);return e.map((e,t)=>({...e,scale:n[t]/100,start:n.slice(0,t).reduce((e,t)=>e+t,0)}))},[e]);return(0,r.jsx)(`div`,{className:[Le.container,o].filter(Boolean).join(` `),style:{"--weight":n,"--border-radius":i?`calc(var(--weight) / 2)`:void 0,...a},children:s.map((e,t)=>(0,r.jsx)(`div`,{className:Le.bar,style:{"--transform":`translateX(${e.start}%) scaleX(${e.scale})`,"--color":e.color}},t))})},ze={wrapper:`_wrapper_17chp_1`},Be=Object.freeze({pending:{color:`#6987b8`,icon:n.mdiReload},error:{color:`#c56565`,icon:n.mdiAlertCircle},warning:{color:`#cdb57b`,icon:n.mdiAlert},success:{color:`#59b57c`,icon:n.mdiCheckCircle}}),Ve=({status:e,message:t,style:n,className:i})=>{let{color:a,icon:o}=Be[e];return(0,r.jsxs)(`div`,{className:[ze.wrapper,i].filter(Boolean).join(` `),style:n,children:[(0,r.jsx)(y,{d:o,color:a,size:`1em`}),(0,r.jsx)(_,{color:a,children:t})]})},N={wrapper:`_wrapper_gcui5_1`,error:`_error_gcui5_9`,"image-frame":`_image-frame_gcui5_21`,fallback:`_fallback_gcui5_29`,pulse:`_pulse_gcui5_1`,"image-inline":`_image-inline_gcui5_56`,"image-block":`_image-block_gcui5_67`,"alt-container":`_alt-container_gcui5_79`,"alt-text":`_alt-text_gcui5_90`,modal:`_modal_gcui5_94`,"modal-image":`_modal-image_gcui5_108`},P=({src:e,alt:i,block:a=!1,enableModal:o=!1,width:s,height:c,style:l,className:u})=>{let[d,f]=(0,t.useState)(!0),[p,m]=(0,t.useState)(!1),[h,g]=(0,t.useState)(!1),v=(0,t.useRef)(null);return(0,t.useEffect)(()=>{let t=new Image;t.src=e,t.onload=()=>{f(!1),m(!1)},t.onerror=()=>{f(!1),m(!0)}},[e]),(0,t.useEffect)(()=>{let e=e=>{e.key===`Escape`&&(e.preventDefault(),g(!1))};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[]),(0,r.jsxs)(`div`,{className:[N.wrapper,u].filter(Boolean).join(` `),ref:v,style:l,children:[p&&(0,r.jsx)(`div`,{className:N.error,children:(0,r.jsx)(_,{color:`#c56565`,size:`1.5rem`,children:`Error loading image`})}),(0,r.jsxs)(`div`,{className:N[`image-frame`],style:l,children:[d&&(0,r.jsx)(`div`,{className:N.fallback,style:{aspectRatio:s&&c?`${s} / ${c}`:`1200 / 630`,width:s?`${s}px`:void 0,height:c?`${c}px`:void 0}}),(0,r.jsx)(`img`,{className:a?N[`image-block`]:N[`image-inline`],src:e,alt:i,width:s,height:c,onClick:()=>{o&&g(!0)},style:{"--width":s?`${s}px`:void 0,"--height":c?`${c}px`:void 0,cursor:o?`zoom-in`:void 0,opacity:+(!d&&!p),pointerEvents:!d&&!p?void 0:`none`}})]}),a&&!d&&i!=null&&i.trim()!==``&&(0,r.jsxs)(`div`,{className:N[`alt-container`],children:[(0,r.jsx)(y,{d:n.mdiMessageImageOutline,color:`#b69545`,style:{flexShrink:0}}),(0,r.jsx)(`div`,{className:N[`alt-text`],children:(0,r.jsx)(_,{size:`0.8rem`,children:i})})]}),h&&(0,r.jsx)(`div`,{className:N.modal,onClick:()=>g(!1),children:(0,r.jsx)(`img`,{className:N[`modal-image`],src:e,alt:i,width:s,height:c})})]})},He=({oEmbed:e,style:t,className:n})=>e.type===`photo`?(0,r.jsx)(`div`,{className:n,style:t,children:(0,r.jsx)(P,{src:e.url,alt:e.title,width:e.width,height:e.height,block:!0})}):e.type===`video`||e.type===`rich`?(0,r.jsx)(`div`,{style:{width:e.width?`${e.width}px`:void 0,height:e.height?`${e.height}px`:void 0,...t},dangerouslySetInnerHTML:{__html:e.html}}):(0,r.jsx)(`div`,{className:n,style:t,children:(0,r.jsx)(_,{href:e.author_url??e.provider_url??`#`,children:e.title??e.author_name??e.provider_name??`Link`})}),Ue={"block-fallback":`_block-fallback_adya7_1`},We={"rectangle-wave":`_rectangle-wave_gxedo_21`,"elm-rectangle-wave":`_elm-rectangle-wave_gxedo_1`},Ge=e=>(0,r.jsx)(`div`,{"aria-hidden":!0,className:[We[`rectangle-wave`],e.className].filter(Boolean).join(` `),style:e.style}),Ke=e=>{let{height:t=`16rem`,style:n}=e;return(0,r.jsxs)(`div`,{className:[Ue[`block-fallback`],e.className].filter(Boolean).join(` `),style:{"--height":t,...n},children:[(0,r.jsx)(x,{}),(0,r.jsx)(Ge,{})]})},qe={circle:`_circle_ycu2l_19`,"draw-line":`_draw-line_ycu2l_1`,rotate:`_rotate_ycu2l_1`},Je=e=>{let{radius:t=16,weight:n=2,style:i}=e;return(0,r.jsx)(`svg`,{className:e.className,height:t*2,width:t*2,style:i,children:(0,r.jsx)(`circle`,{className:qe.circle,cx:t,cy:t,r:t-n,fill:`transparent`,strokeWidth:n})})},F={unsupported:`_unsupported_1xu4c_1`,message:`_message_1xu4c_13`,icon:`_icon_1xu4c_20`,details:`_details_1xu4c_24`},I=e=>(0,r.jsxs)(`div`,{className:[F.unsupported,e.className].filter(Boolean).join(` `),style:e.style,children:[(0,r.jsxs)(`div`,{className:F.message,children:[(0,r.jsx)(`svg`,{viewBox:`0 0 24 24`,width:`1.25rem`,height:`1.25rem`,className:F.icon,children:(0,r.jsx)(`path`,{d:n.mdiInformation})}),(0,r.jsx)(_,{color:`#868e9c`,children:`UNSUPPORTED BLOCK`})]}),e.details&&(0,r.jsx)(`div`,{className:F.details,children:(0,r.jsx)(_,{color:`#868e9c`,children:e.details})})]}),L={container:`_container_12edl_1`,"container-disable":`_container-disable_12edl_14`,checkbox:`_checkbox_12edl_23`,rect:`_rect_12edl_32`,"rect-loading":`_rect-loading_12edl_36`,"rect-checked":`_rect-checked_12edl_40`,loading:`_loading_12edl_48`,"check-line":`_check-line_12edl_67`,"elmethis-checkbox-check-line":`_elmethis-checkbox-check-line_12edl_1`},Ye=({loading:e=!1,disable:n=!1,...i})=>{let[a,o]=(0,s.useControllableState)({prop:i.checked,defaultProp:!1,onChange:i.onChange}),c=(0,t.useCallback)(()=>{!e&&!n&&o&&o(!a)},[e,n,a,o]),l=[L.container,n?L[`container-disable`]:``,i.className].filter(Boolean).join(` `),u=[L.rect,a?L[`rect-checked`]:``,e?L[`rect-loading`]:``].filter(Boolean).join(` `);return(0,r.jsx)(`div`,{className:l,style:i.style,onClick:c,children:(0,r.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:`0.5rem`},children:[(0,r.jsxs)(`svg`,{width:`24`,height:`24`,className:L.checkbox,children:[(0,r.jsxs)(`circle`,{cx:`0`,cy:`0`,r:`2`,className:L.loading,style:{opacity:+!!e},children:[(0,r.jsx)(`animate`,{attributeName:`cx`,values:`4; 20; 20; 4; 4`,dur:`1.2s`,repeatCount:`indefinite`,keySplines:`0.25 0.1 0.25 1; 0.42 0 0.58 1; 0.25 0.1 0.25 1; 0.42 0 0.58 1`,calcMode:`spline`}),(0,r.jsx)(`animate`,{attributeName:`cy`,values:`4; 4; 20; 20; 4`,dur:`1.2s`,repeatCount:`indefinite`,keySplines:`0.25 0.1 0.25 1; 0.42 0 0.58 1; 0.25 0.1 0.25 1; 0.42 0 0.58 1`,calcMode:`spline`})]}),(0,r.jsxs)(`circle`,{cx:`20`,cy:`20`,r:`2`,className:L.loading,style:{opacity:+!!e},children:[(0,r.jsx)(`animate`,{attributeName:`cx`,values:`20; 4; 4; 20; 20`,dur:`1.2s`,repeatCount:`indefinite`,keySplines:`0.25 0.1 0.25 1; 0.42 0 0.58 1; 0.25 0.1 0.25 1; 0.42 0 0.58 1`,calcMode:`spline`}),(0,r.jsx)(`animate`,{attributeName:`cy`,values:`20; 20; 4; 4; 20`,dur:`1.2s`,repeatCount:`indefinite`,keySplines:`0.25 0.1 0.25 1; 0.42 0 0.58 1; 0.25 0.1 0.25 1; 0.42 0 0.58 1`,calcMode:`spline`})]}),(0,r.jsx)(`rect`,{x:`4`,y:`4`,width:`16`,height:`16`,className:u,strokeWidth:`0.8`}),a&&(0,r.jsx)(`polyline`,{className:L[`check-line`],points:`5,12 10,17 19,8`,strokeWidth:`1.5`,fill:`transparent`}),(0,r.jsx)(`line`,{x1:`0`,y1:`1`,x2:`4`,y2:`1`,strokeWidth:`2`,fill:`transparent`}),(0,r.jsx)(`line`,{x1:`4`,y1:`0`,x2:`24`,y2:`0`,strokeWidth:`1`,fill:`transparent`}),(0,r.jsx)(`line`,{x1:`0`,y1:`4`,x2:`0`,y2:`16`,strokeWidth:`1`,fill:`transparent`}),(0,r.jsx)(`line`,{x1:`0`,y1:`18`,x2:`0`,y2:`20`,strokeWidth:`1`,fill:`transparent`}),(0,r.jsx)(`line`,{x1:`0`,y1:`24`,x2:`20`,y2:`24`,strokeWidth:`1`,fill:`transparent`}),(0,r.jsx)(`line`,{x1:`20`,y1:`23`,x2:`24`,y2:`23`,strokeWidth:`1.5`,fill:`transparent`}),(0,r.jsx)(`line`,{x1:`24`,y1:`4`,x2:`24`,y2:`20`,style:{strokeWidth:1},fill:`transparent`})]}),(0,r.jsx)(`span`,{children:i.label})]})})},R={switch:`_switch_8t362_1`,bar:`_bar_8t362_5`,"bar-checked":`_bar-checked_8t362_21`,"bar-disabled":`_bar-disabled_8t362_26`,circle:`_circle_8t362_30`,"circle-checked":`_circle-checked_8t362_45`,"circle-disabled":`_circle-disabled_8t362_49`},Xe=({color:e=`#bfa056`,size:n=`18px`,disabled:i=!1,checked:a=!1,...o})=>{let{onChange:s}=o,c=(0,t.useCallback)(()=>{!i&&s&&s(!a)},[i,a,s]),l=[R.bar,a?R[`bar-checked`]:``,i?R[`bar-disabled`]:``].filter(Boolean).join(` `),u=[R.circle,a?R[`circle-checked`]:``,i?R[`circle-disabled`]:``].filter(Boolean).join(` `);return(0,r.jsxs)(`div`,{className:o.className,onClick:c,style:{"--color":e,"--padding":`2px`,"--size":n,"--width":`calc(${n} * 2 + 2px * 2)`,...o.style},children:[(0,r.jsx)(`input`,{className:R.switch,type:`checkbox`,checked:a,disabled:i,readOnly:!0}),(0,r.jsx)(`div`,{className:l,children:(0,r.jsx)(`div`,{className:u})})]})},z={loading:`_loading_1y96m_23`,wrapper:`_wrapper_1y96m_38`,active:`_active_1y96m_66`,header:`_header_1y96m_70`,label:`_label_1y96m_78`,required:`_required_1y96m_95`,body:`_body_1y96m_101`,input:`_input_1y96m_109`,"icon-box":`_icon-box_1y96m_141`,icon:`_icon_1y96m_141`,suffix:`_suffix_1y96m_159`,counter:`_counter_1y96m_172`,"counter-over":`_counter-over_1y96m_177`},Ze={text:n.mdiText,pen:n.mdiPen,email:n.mdiEmail,user:n.mdiAccount,lock:n.mdiLock,key:n.mdiKey,earth:n.mdiEarth,tag:n.mdiTag,archive:n.mdiArchive,link:n.mdiLinkVariant,search:n.mdiMagnify},Qe=({disabled:e=!1,loading:i=!1,isPassword:a=!1,required:o=!1,value:s=``,...c})=>{let l=(0,t.useId)(),u=(0,t.useRef)(null),[d,f]=(0,t.useState)(!1),[p,m]=(0,t.useState)(a?`password`:`text`),{onChange:h}=c,g=(0,t.useCallback)(()=>{!i&&!e&&h&&h(``)},[i,e,h]),_=(0,t.useCallback)(()=>{!i&&!e&&m(e=>e===`text`?`password`:`text`)},[i,e]),v=(0,t.useCallback)(e=>t=>{(t.key===`Enter`||t.key===` `)&&(t.preventDefault(),e())},[]);return(0,r.jsxs)(`div`,{className:[z.wrapper,d?z.active:``,c.className].filter(Boolean).join(` `),style:{backgroundColor:e||i?`rgba(0,0,0,0.15)`:void 0,"--highlight-color":d?`#bfa056`:void 0,...c.style},children:[(0,r.jsxs)(`div`,{className:z.header,children:[(0,r.jsxs)(`label`,{htmlFor:l,className:z.label,children:[(0,r.jsx)(`span`,{children:c.label}),o&&(0,r.jsx)(`span`,{className:z.required,children:`*`})]}),c.maxLength!=null&&(0,r.jsxs)(`span`,{className:[z.counter,s.length>c.maxLength?z[`counter-over`]:``].filter(Boolean).join(` `),children:[s.length,` / `,c.maxLength]})]}),(0,r.jsxs)(`div`,{className:z.body,children:[c.icon&&(0,r.jsx)(y,{d:Ze[c.icon],size:`1.5rem`,color:`gray`}),(0,r.jsx)(`input`,{id:l,ref:u,type:p,className:z.input,placeholder:c.placeholder,value:s,onChange:e=>h?.(e.target.value),onFocus:()=>f(!0),onBlur:()=>f(!1),disabled:e||i,style:{cursor:e?`not-allowed`:i?`progress`:`auto`},"aria-required":o}),(0,r.jsxs)(`div`,{className:z[`icon-box`],children:[c.suffix!=null&&(0,r.jsx)(`span`,{className:z.suffix,children:c.suffix}),(0,r.jsx)(`div`,{className:z.icon,onClick:_,onKeyDown:v(_),role:`button`,tabIndex:0,children:(0,r.jsx)(y,{d:p===`text`?n.mdiEyeOutline:n.mdiEyeOffOutline,size:`1.75em`,color:`gray`})}),(0,r.jsx)(`div`,{className:z.icon,onClick:g,onKeyDown:v(g),role:`button`,tabIndex:0,children:(0,r.jsx)(y,{d:n.mdiBackspaceOutline,size:`1.75em`,color:`gray`})})]})]}),(0,r.jsx)(`div`,{className:z.loading,style:{opacity:i?.2:0}})]})},$e={validation:`_validation_wuw0j_1`},et=({validColor:e=`#449763`,...t})=>(0,r.jsxs)(`div`,{className:[$e.validation,t.className].filter(Boolean).join(` `),style:{"--opacity":t.isValid?1:.5,...t.style},children:[(0,r.jsx)(y,{d:t.isValid?n.mdiCheckCircle:n.mdiCheckCircleOutline,color:t.isValid?e:void 0}),(0,r.jsx)(`span`,{style:{color:t.isValid?e:void 0},children:t.text})]}),tt=[`rust`,`javascript`,`typescript`,`shell`,`terraform`,`html`,`css`,`npm`,`java`,`kotlin`,`go`,`python`,`sql`,`json`,`lua`,`csharp`,`cpp`,`c`,`file`],nt={wrapper:`_wrapper_1yu3x_19`,square:`_square_1yu3x_28`,appear:`_appear_1yu3x_1`},rt=1200,it=e=>{let{size:t=`3rem`,dimensions:n=4,style:i}=e,a=rt/(n*3),o=Array.from({length:n});return(0,r.jsx)(`div`,{className:[nt.wrapper,e.className].filter(Boolean).join(` `),style:{"--size":t,"--dimensions":n,"--duration":`${rt}ms`,...i},children:o.map((e,t)=>o.map((e,n)=>(0,r.jsx)(`div`,{className:nt.square,style:{"--delay":`${a*(t+n)}ms`}},`${t}-${n}`)))})},at={icon:`_icon_x4u0f_1`},ot=`elmethis-theme`;function st(){if(typeof document<`u`){let e=document.documentElement.getAttribute(`data-theme`);if(e!=null)return e===`dark`}if(typeof localStorage<`u`){let e=localStorage.getItem(ot);if(e!=null)return e===`dark`}return!1}function ct(){let[e,n]=(0,t.useState)(st),r=(0,t.useCallback)(()=>{n(e=>!e)},[]);return(0,t.useEffect)(()=>{if(typeof document<`u`){document.documentElement.setAttribute(`data-theme`,e?`dark`:`light`);let t=document.querySelector(`body`);t!=null&&(t.style.colorScheme=e?`dark`:`light`),typeof localStorage<`u`&&localStorage.setItem(ot,e?`dark`:`light`)}},[e]),{isDarkTheme:e,toggleTheme:r}}var lt=e=>{let{size:t=`2rem`,style:n,className:i}=e,{isDarkTheme:a,toggleTheme:o}=ct();return a?(0,r.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:t,height:t,viewBox:`0 0 24 24`,className:[at.icon,i].filter(Boolean).join(` `),style:n,onClick:o,children:[(0,r.jsxs)(`path`,{fillOpacity:`0`,d:`M15.22 6.03l2.53-1.94L14.56 4L13.5 1l-1.06 3l-3.19.09l2.53 1.94l-.91 3.06l2.63-1.81l2.63 1.81z`,fill:`currentColor`,children:[(0,r.jsx)(`animate`,{id:`lineMdSunnyOutlineToMoonLoopTransition0`,fill:`freeze`,attributeName:`fill-opacity`,begin:`0.6s;lineMdSunnyOutlineToMoonLoopTransition0.begin+6s`,dur:`0.4s`,values:`0;1`}),(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,begin:`lineMdSunnyOutlineToMoonLoopTransition0.begin+2.2s`,dur:`0.4s`,values:`1;0`})]}),(0,r.jsxs)(`path`,{fillOpacity:`0`,d:`M13.61 5.25L15.25 4l-2.06-.05L12.5 2l-.69 1.95L9.75 4l1.64 1.25l-.59 1.98l1.7-1.17l1.7 1.17z`,fill:`currentColor`,children:[(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,begin:`lineMdSunnyOutlineToMoonLoopTransition0.begin+3s`,dur:`0.4s`,values:`0;1`}),(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,begin:`lineMdSunnyOutlineToMoonLoopTransition0.begin+5.2s`,dur:`0.4s`,values:`1;0`})]}),(0,r.jsxs)(`path`,{fillOpacity:`0`,d:`M19.61 12.25L21.25 11l-2.06-.05L18.5 9l-.69 1.95l-2.06.05l1.64 1.25l-.59 1.98l1.7-1.17l1.7 1.17z`,fill:`currentColor`,children:[(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,begin:`lineMdSunnyOutlineToMoonLoopTransition0.begin+0.4s`,dur:`0.4s`,values:`0;1`}),(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,begin:`lineMdSunnyOutlineToMoonLoopTransition0.begin+2.8s`,dur:`0.4s`,values:`1;0`})]}),(0,r.jsxs)(`path`,{fillOpacity:`0`,d:`M20.828 9.731l1.876-1.439l-2.366-.067L19.552 6l-.786 2.225l-2.366.067l1.876 1.439L17.601 12l1.951-1.342L21.503 12z`,fill:`currentColor`,children:[(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,begin:`lineMdSunnyOutlineToMoonLoopTransition0.begin+3.4s`,dur:`0.4s`,values:`0;1`}),(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,begin:`lineMdSunnyOutlineToMoonLoopTransition0.begin+5.6s`,dur:`0.4s`,values:`1;0`})]}),(0,r.jsxs)(`g`,{fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`2`,children:[(0,r.jsxs)(`g`,{children:[(0,r.jsx)(`path`,{strokeDasharray:`2`,strokeDashoffset:`4`,d:`M12 21v1M21 12h1M12 3v-1M3 12h-1`,children:(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`stroke-dashoffset`,dur:`0.2s`,values:`4;2`})}),(0,r.jsx)(`path`,{strokeDasharray:`2`,strokeDashoffset:`4`,d:`M18.5 18.5l0.5 0.5M18.5 5.5l0.5 -0.5M5.5 5.5l-0.5 -0.5M5.5 18.5l-0.5 0.5`,children:(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`stroke-dashoffset`,begin:`0.2s`,dur:`0.2s`,values:`4;2`})}),(0,r.jsx)(`set`,{fill:`freeze`,attributeName:`opacity`,begin:`0.5s`,to:`0`})]}),(0,r.jsx)(`path`,{d:`M7 6 C7 12.08 11.92 17 18 17 C18.53 17 19.05 16.96 19.56 16.89 C17.95 19.36 15.17 21 12 21 C7.03 21 3 16.97 3 12 C3 8.83 4.64 6.05 7.11 4.44 C7.04 4.95 7 5.47 7 6 Z`,opacity:`0`,children:(0,r.jsx)(`set`,{fill:`freeze`,attributeName:`opacity`,begin:`0.5s`,to:`1`})})]}),(0,r.jsxs)(`mask`,{id:`lineMdSunnyOutlineToMoonLoopTransition1`,children:[(0,r.jsx)(`circle`,{cx:`12`,cy:`12`,r:`12`,fill:`#fff`}),(0,r.jsx)(`circle`,{cx:`12`,cy:`12`,r:`4`,children:(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`r`,begin:`0.1s`,dur:`0.4s`,values:`4;8`})}),(0,r.jsxs)(`circle`,{cx:`22`,cy:`2`,r:`3`,fill:`#fff`,children:[(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`cx`,begin:`0.1s`,dur:`0.4s`,values:`22;18`}),(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`cy`,begin:`0.1s`,dur:`0.4s`,values:`2;6`}),(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`r`,begin:`0.1s`,dur:`0.4s`,values:`3;12`})]}),(0,r.jsxs)(`circle`,{cx:`22`,cy:`2`,r:`1`,children:[(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`cx`,begin:`0.1s`,dur:`0.4s`,values:`22;18`}),(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`cy`,begin:`0.1s`,dur:`0.4s`,values:`2;6`}),(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`r`,begin:`0.1s`,dur:`0.4s`,values:`1;10`})]})]}),(0,r.jsxs)(`circle`,{cx:`12`,cy:`12`,r:`6`,mask:`url(#lineMdSunnyOutlineToMoonLoopTransition1)`,fill:`currentColor`,children:[(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`r`,begin:`0.1s`,dur:`0.4s`,values:`6;10`}),(0,r.jsx)(`set`,{fill:`freeze`,attributeName:`opacity`,begin:`0.5s`,to:`0`})]})]}):(0,r.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:t,height:t,viewBox:`0 0 24 24`,className:at.icon,style:n,onClick:o,children:[(0,r.jsxs)(`g`,{fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`2`,children:[(0,r.jsxs)(`path`,{strokeDasharray:`2`,strokeDashoffset:`2`,d:`M12 19v1M19 12h1M12 5v-1M5 12h-1`,children:[(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`d`,begin:`1.2s`,dur:`0.2s`,values:`M12 19v1M19 12h1M12 5v-1M5 12h-1;M12 21v1M21 12h1M12 3v-1M3 12h-1`}),(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`stroke-dashoffset`,begin:`1.2s`,dur:`0.2s`,values:`2;0`})]}),(0,r.jsxs)(`path`,{strokeDasharray:`2`,strokeDashoffset:`2`,d:`M17 17l0.5 0.5M17 7l0.5 -0.5M7 7l-0.5 -0.5M7 17l-0.5 0.5`,children:[(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`d`,begin:`1.4s`,dur:`0.2s`,values:`M17 17l0.5 0.5M17 7l0.5 -0.5M7 7l-0.5 -0.5M7 17l-0.5 0.5;M18.5 18.5l0.5 0.5M18.5 5.5l0.5 -0.5M5.5 5.5l-0.5 -0.5M5.5 18.5l-0.5 0.5`}),(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`stroke-dashoffset`,begin:`1.4s`,dur:`0.2s`,values:`2;0`})]}),(0,r.jsx)(`animateTransform`,{attributeName:`transform`,dur:`30s`,repeatCount:`indefinite`,type:`rotate`,values:`0 12 12;360 12 12`})]}),(0,r.jsxs)(`g`,{fill:`currentColor`,children:[(0,r.jsx)(`path`,{d:`M15.22 6.03L17.75 4.09L14.56 4L13.5 1L12.44 4L9.25 4.09L11.78 6.03L10.87 9.09L13.5 7.28L16.13 9.09L15.22 6.03Z`,children:(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,dur:`0.4s`,values:`1;0`})}),(0,r.jsx)(`path`,{d:`M19.61 12.25L21.25 11L19.19 10.95L18.5 9L17.81 10.95L15.75 11L17.39 12.25L16.8 14.23L18.5 13.06L20.2 14.23L19.61 12.25Z`,children:(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,begin:`0.2s`,dur:`0.4s`,values:`1;0`})})]}),(0,r.jsx)(`path`,{fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`2`,d:`M7 6 C7 12.08 11.92 17 18 17 C18.53 17 19.05 16.96 19.56 16.89 C17.95 19.36 15.17 21 12 21 C7.03 21 3 16.97 3 12 C3 8.83 4.64 6.05 7.11 4.44 C7.04 4.95 7 5.47 7 6 Z`,children:(0,r.jsx)(`set`,{fill:`freeze`,attributeName:`opacity`,begin:`0.6s`,to:`0`})}),(0,r.jsxs)(`mask`,{id:`lineMdMoonToSunnyOutlineLoopTransition0`,children:[(0,r.jsx)(`circle`,{cx:`12`,cy:`12`,r:`12`,fill:`#fff`}),(0,r.jsx)(`circle`,{cx:`12`,cy:`12`,r:`8`,children:(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`r`,begin:`0.6s`,dur:`0.4s`,values:`8;4`})}),(0,r.jsxs)(`circle`,{cx:`18`,cy:`6`,r:`12`,fill:`#fff`,children:[(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`cx`,begin:`0.6s`,dur:`0.4s`,values:`18;22`}),(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`cy`,begin:`0.6s`,dur:`0.4s`,values:`6;2`}),(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`r`,begin:`0.6s`,dur:`0.4s`,values:`12;3`})]}),(0,r.jsxs)(`circle`,{cx:`18`,cy:`6`,r:`10`,children:[(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`cx`,begin:`0.6s`,dur:`0.4s`,values:`18;22`}),(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`cy`,begin:`0.6s`,dur:`0.4s`,values:`6;2`}),(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`r`,begin:`0.6s`,dur:`0.4s`,values:`10;1`})]})]}),(0,r.jsxs)(`circle`,{cx:`12`,cy:`12`,r:`10`,mask:`url(#lineMdMoonToSunnyOutlineLoopTransition0)`,opacity:`0`,fill:`currentColor`,children:[(0,r.jsx)(`animate`,{fill:`freeze`,attributeName:`r`,begin:`0.6s`,dur:`0.4s`,values:`10;6`}),(0,r.jsx)(`set`,{fill:`freeze`,attributeName:`opacity`,begin:`0.6s`,to:`1`})]})]})},B={arrow:`_arrow_kn879_19`,loading:`_loading_kn879_49`,normal:`_normal_kn879_55`,pending:`_pending_kn879_64`},ut=e=>{let{direction:t=`right`,loading:n=!1,pending:i=!1,size:a=`2rem`,style:o}=e,s=t===`up`?`rotate(270deg)`:t===`down`?`rotate(90deg)`:t===`left`?`rotate(180deg)`:`rotate(0deg)`;return(0,r.jsx)(`div`,{className:[B.arrow,!n&&!i?B.normal:void 0,n?B.loading:void 0,!n&&i?B.pending:void 0,e.className].filter(Boolean).join(` `),style:{"--size":a,transform:s,...o}})},dt={wrapper:`_wrapper_1c6r3_1`,favicon:`_favicon_1c6r3_24`,text:`_text_1c6r3_29`},ft=e=>{let{name:t,href:i,favicon:a,style:o}=e;return(0,r.jsxs)(`a`,{className:[dt.wrapper,e.className].filter(Boolean).join(` `),href:i,target:`_blank`,rel:`noopener noreferrer`,style:o,children:[a==null?(0,r.jsx)(y,{d:n.mdiEarth,size:`2.5rem`,style:{opacity:.7}}):(0,r.jsx)(`img`,{className:dt.favicon,src:a,alt:`favicon of ${t??i}`}),(0,r.jsx)(`div`,{className:dt.text,children:(0,r.jsx)(_,{size:`.6rem`,children:t??i})})]})},pt={cube:`_cube_1merk_1`,"elmethis-cube-icon-rotate":`_elmethis-cube-icon-rotate_1merk_1`,face:`_face_1merk_8`},mt=[{name:`front`,rotate:``},{name:`back`,rotate:`rotateY(180deg)`},{name:`left`,rotate:`rotateY(-90deg)`},{name:`right`,rotate:`rotateY(90deg)`},{name:`top`,rotate:`rotateX(90deg)`},{name:`bottom`,rotate:`rotateX(-90deg)`}],ht=e=>{let{size:n=128,style:i}=e,a=(0,t.useMemo)(()=>`translateZ(${n/2}px)`,[n]);return(0,r.jsx)(`div`,{className:[pt.cube,e.className].filter(Boolean).join(` `),style:{width:`${n}px`,height:`${n}px`,...i},children:mt.map(e=>(0,r.jsx)(`div`,{className:pt.face,style:{transform:`${e.rotate} ${a}`}},e.name))})},gt={icon:`_icon_140bn_1`},_t=e=>{let{size:t=`2rem`,isLogin:i=!1,isLoading:a=!1,style:o}=e,s=a?n.mdiLoading:i?n.mdiLogoutVariant:n.mdiLoginVariant,c=a?`gray`:i?`#b36472`:`#6987b8`;return(0,r.jsx)(`div`,{className:[gt.icon,e.className].filter(Boolean).join(` `),style:o,children:(0,r.jsx)(y,{d:s,color:c,size:t})})},V={file:`_file_sk4pw_1`,"left-container":`_left-container_sk4pw_19`,"right-container":`_right-container_sk4pw_26`,"download-icon":`_download-icon_sk4pw_33`};function vt(e){let t=e.split(/[?#]/)[0].split(`/`).filter(Boolean);return t.length>0?t[t.length-1]:null}var yt=({name:e,src:i,filesize:a,style:o,className:s})=>{let c=(0,t.useCallback)(async()=>{let t;try{let n=await fetch(i);if(!n.ok)throw Error(`Failed to download file`);let r=await n.blob();t=document.createElement(`a`),t.href=URL.createObjectURL(r),t.download=e??vt(i)??`file`,t.click()}catch(e){console.error(`ERROR:`,e)}finally{t&&URL.revokeObjectURL(t.href)}},[i,e]),l=e??vt(i)??`unknown file`;return(0,r.jsxs)(`div`,{className:[V.file,s].filter(Boolean).join(` `),style:o,children:[(0,r.jsxs)(`div`,{className:V[`left-container`],children:[(0,r.jsx)(y,{d:n.mdiFileOutline,size:`1.25em`}),(0,r.jsx)(_,{children:l})]}),(0,r.jsxs)(`div`,{className:V[`right-container`],children:[a&&(0,r.jsx)(`span`,{style:{opacity:.6},children:(0,r.jsx)(_,{children:a})}),(0,r.jsx)(`div`,{className:V[`download-icon`],onClick:c,children:(0,r.jsx)(y,{d:n.mdiDownload,size:`1.25em`})})]})]})},H={parent:`_parent_1hx4v_1`,bookmark:`_bookmark_1hx4v_23`,image:`_image_1hx4v_42`,typography:`_typography_1hx4v_62`,title:`_title_1hx4v_73`,date:`_date_1hx4v_81`,link:`_link_1hx4v_90`,favicon:`_favicon_1hx4v_100`},bt=({hideUrl:e=!1,openInNewTab:i=!0,title:a,description:o=`No description provided`,image:s,url:c,createdAt:l,updatedAt:u,onClick:d,favicon:f,style:p,className:m})=>{let[h,v]=(0,t.useState)(!1),b=e=>{d&&(e.preventDefault(),d())},x=o!=null&&o.length>100?o.slice(0,100)+`...`:o;return(0,r.jsx)(`div`,{className:[H.parent,m].filter(Boolean).join(` `),style:p,children:(0,r.jsxs)(`a`,{className:H.bookmark,href:c,target:i?`_blank`:void 0,rel:`noopener noreferrer`,onClick:b,children:[s!=null&&!h&&(0,r.jsx)(`div`,{className:H.image,children:(0,r.jsx)(`img`,{src:s,alt:`OGP Image`,onError:()=>v(!0),style:{width:`100%`,height:`100%`,objectFit:`cover`}})}),(0,r.jsxs)(`div`,{className:H.typography,children:[(0,r.jsx)(`div`,{className:H.title,children:(0,r.jsx)(_,{bold:!0,children:a??`No title provided`})}),(0,r.jsx)(`div`,{children:(0,r.jsx)(_,{size:`0.8rem`,children:(0,r.jsx)(`span`,{style:{opacity:.6},children:x})})}),(l!=null||u!=null)&&(0,r.jsxs)(`div`,{className:H.date,children:[l!=null&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(y,{d:n.mdiCalendarMonth,size:`1em`}),(0,r.jsx)(_,{size:`0.8rem`,children:l})]}),u!=null&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(y,{d:n.mdiCalendarRefresh,size:`1em`}),(0,r.jsx)(_,{size:`0.8rem`,children:u})]})]}),!e&&c!=null&&(0,r.jsxs)(`div`,{className:H.link,children:[f&&(0,r.jsx)(g,{src:f}),(0,r.jsx)(_,{size:`0.8rem`,color:`#6987b8`,children:c})]})]})]})})},U={container:`_container_1r6mu_1`,"link-container":`_link-container_1r6mu_10`,text:`_text_1r6mu_36`},xt=({links:e,style:i,className:a})=>{let o=(0,t.useRef)(null),[s,c]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{let e=o.current;if(!e)return;let t=new IntersectionObserver(([e])=>{c(e.isIntersecting)});return t.observe(e),()=>t.disconnect()},[]),(0,r.jsx)(`nav`,{className:[U.container,a].filter(Boolean).join(` `),ref:o,style:{"--opacity":+!!s,...i},children:e.map((i,a)=>(0,r.jsxs)(t.default.Fragment,{children:[(0,r.jsxs)(`div`,{className:U[`link-container`],onClick:i.onClick,children:[(0,r.jsx)(`span`,{className:U.text,style:{"--delay":`${a*100}ms`},children:(0,r.jsx)(y,{d:a===0?n.mdiHome:a===e.length-1?n.mdiApplicationOutline:n.mdiFolderOpen,size:`1.25em`})}),(0,r.jsx)(`span`,{className:U.text,style:{"--delay":`${a*100+50}ms`},children:(0,r.jsx)(_,{children:i.text})})]}),e.length!==a+1&&(0,r.jsx)(`span`,{className:U.text,style:{"--delay":`${a*100+100}ms`},children:(0,r.jsx)(y,{d:n.mdiChevronRight,size:`1em`,color:`#b69545`})})]},a))})},W={wrapper:`_wrapper_1tlqa_1`,"wrapper--visible":`_wrapper--visible_1tlqa_33`,partial:`_partial_1tlqa_63`,move:`_move_1tlqa_1`,text:`_text_1tlqa_104`},St=({position:e=`right`,style:n,className:i})=>{let[a,o]=(0,t.useState)(!1);(0,t.useEffect)(()=>{let e=()=>{o(window.scrollY>100)};return window.addEventListener(`scroll`,e,{passive:!0}),e(),()=>window.removeEventListener(`scroll`,e)},[]);let s=()=>{window.scrollTo({top:0,behavior:`smooth`})};return(0,r.jsxs)(`nav`,{className:[W.wrapper,a?W[`wrapper--visible`]:void 0,i].filter(Boolean).join(` `),style:{"--size":`64px`,left:e===`left`?`0`:`auto`,right:e===`right`?`0`:`auto`,...n},onClick:s,children:[(0,r.jsx)(`div`,{"aria-hidden":`true`,className:W.partial}),(0,r.jsx)(`div`,{"aria-hidden":`true`,className:W.partial}),(0,r.jsx)(`div`,{"aria-hidden":`true`,className:W.partial}),(0,r.jsx)(`span`,{className:W.text,children:`Back to Top`})]})},Ct={toc:`_toc_eubcy_1`,link:`_link_eubcy_15`},wt=({headings:e,style:t,className:i})=>(0,r.jsx)(`nav`,{className:[Ct.toc,i].filter(Boolean).join(` `),style:t,children:e.map((e,t)=>(0,r.jsxs)(`a`,{className:Ct.link,href:`#${e.id??e.text}`,style:{"--padding-left":`${e.level*.5}rem`},children:[(0,r.jsx)(`sup`,{children:(0,r.jsx)(_,{size:`0.6rem`,color:`#6987b8`,children:`H${e.level}`})}),(0,r.jsx)(_,{children:e.text}),(0,r.jsx)(y,{d:n.mdiMenuDown,size:`1em`,color:`#6987b8`})]},t))}),G={"color-bg":`_color-bg_yiibu_1`,text:`_text_yiibu_17`},Tt=({color:e,style:a,className:o})=>{let[s,c]=(0,t.useState)(!1),l=(0,t.useRef)(null),u=(0,i.parseToRgb)(e),{hue:d,saturation:f,lightness:p}=(0,i.parseToHsl)(e),m=(0,i.rgbToColorString)(u),h=`rgb(${u.red}, ${u.green}, ${u.blue})`,g=`hsl(${Math.floor(d)}, ${Math.floor(f*100)}%, ${Math.floor(p*100)}%)`,_=(0,t.useCallback)(e=>{navigator.clipboard.writeText(e).then(()=>{c(!0),l.current&&clearTimeout(l.current),l.current=setTimeout(()=>c(!1),1500)})},[]);return(0,r.jsx)(`div`,{className:o,style:{"--color":e,...a},children:(0,r.jsx)(Ee,{original:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(`div`,{className:G[`color-bg`],style:{"--background-color":e},onClick:()=>_(m),children:s&&(0,r.jsx)(y,{d:n.mdiCheck,size:`1em`,color:`white`})}),(0,r.jsx)(`div`,{className:G.text,onClick:()=>_(m),children:m})]}),tooltip:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(`div`,{className:G.text,onClick:()=>_(m),children:m}),(0,r.jsx)(`div`,{className:G.text,onClick:()=>_(h),children:h}),(0,r.jsx)(`div`,{className:G.text,onClick:()=>_(g),children:g})]})})})},Et={container:`_container_a7c06_1`,"row-container":`_row-container_a7c06_9`,"color-name":`_color-name_a7c06_17`},Dt=[-3,-.25,-.2,-.15,-.1,-.05,0,.05,.1,.15,.2,.25,.3],Ot=({colors:e,style:t,className:n})=>(0,r.jsx)(`div`,{className:[Et.container,n].filter(Boolean).join(` `),style:t,children:e.map(e=>(0,r.jsxs)(`div`,{className:Et[`row-container`],children:[(0,r.jsx)(`div`,{className:Et[`color-name`],style:{"--color":e.code},children:e.name}),Dt.map(t=>(0,r.jsx)(Tt,{color:(0,i.darken)(t,e.code)},t))]},e.name))}),K={palette:`_palette_1glfh_1`,header:`_header_1glfh_11`,input:`_input_1glfh_31`,body:`_body_1glfh_43`,"empty-result":`_empty-result_1glfh_60`,command:`_command_1glfh_71`,"command-selected":`_command-selected_1glfh_98`,"command-icon":`_command-icon_1glfh_103`,tag:`_tag_1glfh_107`,footer:`_footer_1glfh_118`},kt={brown:`#a17c5b`,crimson:`#c56565`,amber:`#d48b70`,gold:`#cdb57b`,emerald:`#59b57c`,cyan:`#59a7b5`,blue:`#6987b8`,purple:`#9771bd`,pink:`#c9699e`};function At(e,t){if(!t.trim())return[];let n=t.toLowerCase();return e.filter(e=>e.label.toLowerCase().includes(n)||e.description?.toLowerCase().includes(n)||e.keywords?.some(e=>e.toLowerCase().includes(n)))}var jt=({commands:e,onCommandInvoked:a,style:o,className:s})=>{let[c,l]=(0,t.useState)(``),[u,d]=(0,t.useState)([]),[f,p]=(0,t.useState)(null),m=(0,t.useRef)(null);(0,t.useEffect)(()=>{m.current?.focus()},[]);let h=(0,t.useCallback)(t=>{let n=t.target.value;l(n);let r=At(e,n);d(r),p(r.length>0?0:null)},[e]),g=(0,t.useCallback)(e=>{if(e===null)return;let t=u[e];t&&(t.onInvoke?.(),a?.(t))},[u,a]);return(0,t.useEffect)(()=>{let e=e=>{e.key===`ArrowDown`||e.key===`Tab`?(e.preventDefault(),p(e=>e===null?0:e<u.length-1?e+1:e)):e.key===`ArrowUp`?(e.preventDefault(),p(e=>e===null?0:e>0?e-1:0)):e.key===`Enter`&&(e.preventDefault(),g(f))};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[g,f,u.length]),(0,r.jsxs)(`div`,{className:[K.palette,s].filter(Boolean).join(` `),style:{"--height":`500px`,"--width":`800px`,...o},children:[(0,r.jsxs)(`header`,{className:K.header,children:[(0,r.jsx)(y,{d:n.mdiConsoleLine}),(0,r.jsx)(`input`,{ref:m,className:K.input,value:c,onChange:h,type:`text`,inputMode:`text`})]}),(0,r.jsx)(`div`,{className:K.body,children:u.length===0?(0,r.jsx)(`div`,{className:K[`empty-result`],children:(0,r.jsx)(_,{children:`search anything...`})}):u.map((e,t)=>(0,r.jsxs)(`button`,{className:`${K.command} ${t===f?K[`command-selected`]:``}`,onClick:()=>{p(t),g(t)},children:[e.icon?(0,r.jsx)(`img`,{className:K[`command-icon`],src:e.icon,alt:e.label}):(0,r.jsx)(y,{d:n.mdiConsoleLine,size:`1rem`}),e.tag?(0,r.jsx)(`div`,{className:K.tag,style:{"--tag-color":(0,i.opacify)(-.3,kt[e.tag.color])},children:e.tag.name}):(0,r.jsx)(`div`,{className:K.tag}),(0,r.jsx)(_,{style:{whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`,maxWidth:`24rem`},children:e.label}),(0,r.jsx)(_,{style:{opacity:.4,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`},children:e.description??`-`}),(0,r.jsx)(`div`,{children:(0,r.jsx)(y,{d:n.mdiKeyboardReturn})})]},e.id))}),(0,r.jsxs)(`footer`,{className:K.footer,children:[(0,r.jsx)(_,{kbd:!0,children:`Esc`}),(0,r.jsx)(_,{children:`Close`})]})]})},Mt={"jarkup-body":`_jarkup-body_jsvhx_1`,"unsupported-block":`_unsupported-block_jsvhx_5`},Nt=({jsonComponents:e,style:t,className:n})=>(0,r.jsx)(`div`,{className:[Mt[`jarkup-body`],n].filter(Boolean).join(` `),style:t,children:e.map((e,t)=>(0,r.jsx)(`div`,{className:Mt[`unsupported-block`],children:(0,r.jsx)(`code`,{children:JSON.stringify(e,null,2)})},t))}),Pt={"jarkup-body":`_jarkup-body_1rlbi_1`,"column-list":`_column-list_1rlbi_9`,column:`_column_1rlbi_9`},Ft={paragraph:`_paragraph_ewdky_1`},It=e=>(0,r.jsx)(`p`,{className:[Ft.paragraph,e.className].filter(Boolean).join(` `),style:{backgroundColor:e.backgroundColor,...e.style},children:e.children}),Lt={"elmethis-list-common":`_elmethis-list-common_1qwri_1`,"elmethis-bulleted-list":`_elmethis-bulleted-list_1qwri_7`,"elmethis-numbered-list":`_elmethis-numbered-list_1qwri_25`},Rt=({listStyle:e=`unordered`,...t})=>{let n=[Lt[`elmethis-list-common`],e===`unordered`?Lt[`elmethis-bulleted-list`]:Lt[`elmethis-numbered-list`],t.className].filter(Boolean).join(` `);return e===`ordered`?(0,r.jsx)(`ol`,{className:n,style:t.style,children:t.children}):(0,r.jsx)(`ul`,{className:n,style:t.style,children:t.children})},q={blockquote:`_blockquote_x79j0_1`,cite:`_cite_x79j0_16`,icon:`_icon_x79j0_37`},zt=e=>(0,r.jsxs)(`blockquote`,{ref:(0,t.useRef)(null),className:[q.blockquote,e.className].filter(Boolean).join(` `),cite:e.cite,style:{...e.style},children:[e.children,e.cite&&(0,r.jsx)(`cite`,{className:q.cite,children:(0,r.jsx)(`a`,{href:e.cite,target:`_blank`,rel:`noopener noreferrer`,children:e.cite})}),(0,r.jsx)(`svg`,{className:q.icon,style:{top:`0.25rem`,left:`0.25rem`},viewBox:`0 0 24 24`,width:`1rem`,height:`1rem`,children:(0,r.jsx)(`path`,{d:n.mdiFormatQuoteOpen})}),(0,r.jsx)(`svg`,{className:q.icon,style:{bottom:`0.25rem`,right:`0.25rem`},viewBox:`0 0 24 24`,width:`1rem`,height:`1rem`,children:(0,r.jsx)(`path`,{d:n.mdiFormatQuoteClose})})]}),Bt={callout:`_callout_16oli_1`,header:`_header_16oli_24`},Vt=Object.freeze({note:{code:`#6987b8`,icon:n.mdiInformation},tip:{code:`#59b57c`,icon:n.mdiLightbulbOn},important:{code:`#9771bd`,icon:n.mdiShieldAlert},warning:{code:`#b8a36e`,icon:n.mdiAlert},caution:{code:`#b36472`,icon:n.mdiAlertOctagram}}),Ht=({type:e=`note`,...t})=>{let n=Vt[e];return(0,r.jsxs)(`aside`,{className:[Bt.callout,t.className].filter(Boolean).join(` `),style:{"--elmethis-scoped-border-color":n.code,"--elmethis-scoped-background-color":`color-mix(in srgb, ${n.code} 10%, transparent)`,...t.style},children:[(0,r.jsxs)(`div`,{className:Bt.header,children:[(0,r.jsx)(y,{d:n.icon,size:`1.25em`,color:n.code}),(0,r.jsx)(_,{color:n.code,children:e.toUpperCase()})]}),(0,r.jsx)(`div`,{children:t.children})]})},Ut={divider:`_divider_uq5jr_1`},Wt=e=>(0,r.jsx)(`hr`,{className:[Ut.divider,e.className].filter(Boolean).join(` `),style:e.style}),J={table:`_table_197ge_1`,caption:`_caption_197ge_8`,"caption-inner":`_caption-inner_197ge_18`,spacing:`_spacing_197ge_25`},Gt=(0,t.createContext)(!1),Kt=(0,t.createContext)(!1),qt=({caption:e,hasRowHeader:t=!1,header:i,body:a,style:o,className:s})=>(0,r.jsx)(Kt.Provider,{value:t,children:(0,r.jsxs)(`table`,{className:[J.table,s].filter(Boolean).join(` `),style:o,children:[e!=null&&(0,r.jsx)(`caption`,{children:(0,r.jsxs)(`span`,{className:J.caption,children:[(0,r.jsx)(`span`,{className:J.spacing}),(0,r.jsxs)(`span`,{className:J[`caption-inner`],children:[(0,r.jsx)(`svg`,{viewBox:`0 0 24 24`,width:`1rem`,height:`1rem`,children:(0,r.jsx)(`path`,{d:n.mdiTable,fill:`#6987b8`})}),(0,r.jsx)(_,{children:e})]}),(0,r.jsx)(`span`,{className:J.spacing})]})}),i,a]})}),Jt={thead:`_thead_184mb_1`},Yt=({children:e,style:t,className:n})=>(0,r.jsx)(Gt.Provider,{value:!0,children:(0,r.jsx)(`thead`,{className:[Jt.thead,n].filter(Boolean).join(` `),style:t,children:e})}),Xt=({children:e,style:t,className:n})=>(0,r.jsx)(Gt.Provider,{value:!1,children:(0,r.jsx)(`tbody`,{className:n,style:t,children:e})}),Zt={tr:`_tr_1l64j_1`,"has-row-header":`_has-row-header_1l64j_25`},Y=({children:e,style:n,className:i})=>{let a=(0,t.useContext)(Kt);return(0,r.jsx)(`tr`,{className:[Zt.tr,a?Zt[`has-row-header`]:void 0,i].filter(Boolean).join(` `),style:n,children:e})},X={common:`_common_15vhm_1`,td:`_td_15vhm_26`,th:`_th_15vhm_34`},Qt=({children:e,style:n,hasHeader:i=!1,text:a,className:o})=>{let s=(0,t.useContext)(Gt),c=i||s;return(0,r.jsx)(c?`th`:`td`,{className:[X.common,c?X.th:X.td,o].filter(Boolean).join(` `),style:n,children:a??e})},$t=(0,t.lazy)(()=>Promise.resolve().then(()=>require(`./ElmMermaid-DnSjC5T_.cjs`)).then(e=>e.n).then(e=>({default:e.ElmMermaid}))),en=e=>e.map(e=>e.type===`Text`?e.props.text:``).join(``),tn={Text:(e,t,n,i)=>{let a=e.id??n,o=e.props;return o.katex?(0,r.jsx)(ae,{expression:o.text,block:!1},a):(0,r.jsx)(_,{color:o.color,backgroundColor:o.backgroundColor,bold:o.bold,italic:o.italic,underline:o.underline,strikethrough:o.strikethrough,code:o.code,ruby:o.ruby,href:o.href,favicon:o.favicon,children:o.text},a)},Icon:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(g,{src:e.props.src,alt:e.props.alt},a)},Fragment:(e,n,i,a)=>{let o=e.id??i;return(0,r.jsx)(t.default.Fragment,{children:n(e.slots.default)},o)},Heading:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(w,{level:e.props.level,id:(0,c.kebabCase)(en(e.slots.default)),style:n===0?{"--elmethis-margin-block-start":`0`}:void 0,children:t(e.slots.default)},a)},Paragraph:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(It,{backgroundColor:e.props?.backgroundColor,style:n===0?{"--elmethis-margin-block-start":`0`}:void 0,children:t(e.slots.default)},a)},ListItem:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(`li`,{children:t(e.slots.default)},a)},List:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(Rt,{listStyle:e.props?.listStyle===`unordered`?`unordered`:`ordered`,style:n===0?{"--elmethis-margin-block-start":`0`}:void 0,children:t(e.slots.default)},a)},BlockQuote:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(zt,{cite:e.props?.cite,style:n===0?{"--elmethis-margin-block-start":`0`}:void 0,children:t(e.slots.default)},a)},Callout:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(Ht,{type:e.props?.type,style:n===0?{"--elmethis-margin-block-start":`0`}:void 0,children:t(e.slots.default)},a)},Divider:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(Wt,{style:n===0?{"--elmethis-margin-block-start":`0`}:void 0},a)},Toggle:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(je,{summaryContent:t(e.slots.summary),style:n===0?{"--elmethis-margin-block-start":`0`}:void 0,children:t(e.slots.default)},a)},Bookmark:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(bt,{url:e.props.url,title:e.props.title,description:e.props.description,image:e.props.image,style:n===0?{"--elmethis-margin-block-start":`0`}:void 0},a)},File:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(yt,{src:e.props.src,name:e.props.name,style:n===0?{"--elmethis-margin-block-start":`0`}:void 0},a)},Image:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(P,{src:e.props.src,alt:e.props.alt,width:e.props.width,height:e.props.height,block:!0,enableModal:!0,style:n===0?{"--elmethis-margin-block-start":`0`}:void 0},a)},CodeBlock:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(re,{code:e.props.code,language:e.props.language,style:n===0?{"--elmethis-margin-block-start":`0`}:void 0},a)},Katex:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(ae,{expression:e.props.expression,block:!0,style:n===0?{"--elmethis-margin-block-start":`0`}:void 0},a)},Mermaid:(e,n,i,a)=>{let o=e.id??i;return(0,r.jsx)(t.Suspense,{fallback:(0,r.jsx)(Ke,{}),children:(0,r.jsx)($t,{code:e.props.code,style:i===0?{"--elmethis-margin-block-start":`0`}:void 0})},o)},Tab:(e,t,n,r)=>[],Tabs:(e,t,n,i)=>{let a=e.id??n,o=[],s=[];for(let n of e.slots.default)o.push((0,r.jsx)(`span`,{children:t(n.slots.labels)})),s.push((0,r.jsx)(`div`,{children:t(n.slots.contents)}));return(0,r.jsx)(Ae,{tabLabels:o,tabContents:s},a)},Table:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(qt,{caption:e.props?.caption,hasRowHeader:e.props?.hasRowHeader,header:e.slots.header?(0,r.jsx)(Yt,{children:t(e.slots.header)}):void 0,body:(0,r.jsx)(Xt,{children:t(e.slots.body)}),style:n===0?{"--elmethis-margin-block-start":`0`}:void 0},a)},TableRow:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(Y,{children:t(e.slots.default)},a)},TableCell:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(Qt,{children:t(e.slots.default)},a)},ColumnList:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(`div`,{className:Pt[`column-list`],style:n===0?{"--elmethis-margin-block-start":`0`}:void 0,children:t(e.slots.default)},a)},Column:(e,t,n,i)=>{let a=e.id??n;return(0,r.jsx)(`div`,{className:Pt.column,style:{"--width-ratio":e.props?.widthRatio??1,width:e.props?.widthRatio?`${e.props.widthRatio*100}%`:void 0,...n===0?{"--elmethis-margin-block-start":`0`}:void 0},children:t(e.slots.default)},a)},Unsupported:(e,t,n,i)=>{let a=e.id??n;return i?.skipUnsupportedComponentWarning?null:(0,r.jsx)(I,{details:e.props?.details??`Unsupported component type: ${e.type}`,style:n===0?{"--elmethis-margin-block-start":`0`}:void 0},a)}},nn=({jsonComponents:e,skipUnsupportedComponentWarning:t=!1,renderFunctionMap:n,style:i,className:a})=>{let o={...tn,...n},s=e=>e.map((e,n)=>{let a=e.id??n,c=o[e.type];return c?c(e,s,n,{skipUnsupportedComponentWarning:t,style:i}):t?null:(0,r.jsx)(I,{details:`Unsupported component type: ${e.type}`},a)});return(0,r.jsx)(`div`,{className:[Pt[`jarkup-body`],a].filter(Boolean).join(` `),style:{"--elmethis-margin-block-start":i?.[`--elmethis-margin-block-start`]??`2.5rem`,...i},children:s(e)})},rn={"markdown-body":`_markdown-body_130yx_1`},Z=e=>e===0?{"--elmethis-margin-block-start":`0`}:void 0,an={blockquote:(e,t,n)=>{if(!e.tokens||e.tokens.length===0)return null;let i=e.tokens.flatMap(e=>e.type===`paragraph`&&e.tokens?e.tokens:[e]);return(0,r.jsx)(zt,{style:Z(n),children:t(i)},n)},br:(e,t,n)=>(0,r.jsx)(`br`,{},n),checkbox:(e,t,n)=>(0,r.jsx)(Ye,{label:e.raw,checked:e.checked,style:Z(n)},n),code:(e,t,n)=>(0,r.jsx)(re,{code:e.text.trim(),language:e.lang,style:Z(n)},n),codespan:(e,t,n)=>(0,r.jsx)(_,{code:!0,children:e.text},n),def:()=>null,del:(e,t,n)=>e.tokens&&e.tokens.length!==0?(0,r.jsx)(_,{strikethrough:!0,children:t(e.tokens)},n):(0,r.jsx)(_,{strikethrough:!0,children:e.text},n),em:(e,t,n)=>e.tokens&&e.tokens.length!==0?(0,r.jsx)(_,{italic:!0,children:t(e.tokens)},n):(0,r.jsx)(_,{italic:!0,children:e.text},n),escape:()=>null,heading:(e,t,n)=>{let i=e.depth;return e.tokens&&e.tokens.length!==0?(0,r.jsx)(w,{level:i,style:Z(n),children:t(e.tokens)},n):(0,r.jsx)(w,{level:i,text:e.text,style:Z(n)},n)},hr:(e,t,n)=>(0,r.jsx)(Wt,{style:Z(n)},n),html:()=>null,image:(e,t,n)=>(0,r.jsx)(P,{block:!0,enableModal:!0,src:e.href,alt:e.text,style:Z(n)},n),link:(e,t,n)=>e.tokens&&e.tokens.length!==0?(0,r.jsx)(_,{href:e.href,children:t(e.tokens)},n):(0,r.jsx)(_,{href:e.href,children:e.text},n),list:(e,t,n)=>{let i=e.items.map((e,n)=>(0,r.jsx)(`li`,{children:t(e.tokens)},n));return(0,r.jsx)(Rt,{listStyle:e.ordered?`ordered`:`unordered`,style:Z(n),children:i},n)},list_item:(e,t,n)=>(0,r.jsx)(`li`,{children:e.tokens&&e.tokens.length!==0?t(e.tokens):e.text},n),paragraph:(e,t,n)=>e.tokens&&e.tokens.length!==0?(0,r.jsx)(It,{style:Z(n),children:t(e.tokens)},n):null,space:()=>null,strong:(e,t,n)=>e.tokens&&e.tokens.length!==0?(0,r.jsx)(_,{bold:!0,children:t(e.tokens)},n):(0,r.jsx)(_,{bold:!0,children:e.text},n),table:(e,t,n)=>{let i=e=>e.map((e,n)=>(0,r.jsx)(Qt,{children:t(e.tokens)},n)),a=(0,r.jsx)(Y,{children:i(e.header)}),o=e.rows.map((e,t)=>(0,r.jsx)(Y,{children:i(e)},t));return(0,r.jsx)(qt,{header:(0,r.jsx)(Yt,{children:a}),body:(0,r.jsx)(Xt,{children:o}),style:Z(n)},n)},text:(e,t,n)=>e.tokens&&e.tokens.length!==0?(0,r.jsx)(_,{children:t(e.tokens)},n):(0,r.jsx)(_,{children:e.text},n)},on=({markdown:e,style:t,className:n,renderFunctionMap:i})=>{let a={...an,...i},o=e=>e.map((e,t)=>{let n=a[e.type];return n?n(e,o,t):null}),s=l.marked.setOptions({gfm:!0}).lexer(e);return(0,r.jsx)(`div`,{className:[rn[`markdown-body`],n].filter(Boolean).join(` `),style:{"--elmethis-margin-block-start":`2.5rem`,...t},children:o(s)})},Q={char:`_char_sojtj_1`,typed:`_typed_sojtj_20`,current:`_current_sojtj_24`,incorrect:`_incorrect_sojtj_29`},sn=({target:e=`Typing game`,style:n,className:i})=>{let[a,o]=(0,t.useState)(()=>{let t=e.split(``).map(e=>({char:e,status:`default`}));return t.length>0&&(t[0].status=`current`),t}),[s,c]=(0,t.useState)(0),[l,u]=(0,t.useState)(0),[d,f]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{let t=e.split(``).map(e=>({char:e,status:`default`}));t.length>0&&(t[0].status=`current`);let n=window.setTimeout(()=>{o(t),c(0),u(0),f(!1)},0);return()=>clearTimeout(n)},[e]),(0,t.useEffect)(()=>{let e=e=>{d||e.key.length!==1||o(t=>{if(!t[s])return t;let n=[...t];return e.key===n[s].char?(n[s]={...n[s],status:`typed`},s===n.length-1?f(!0):c(e=>(n[e+1]={...n[e+1],status:`current`},e+1))):(n[s]={...n[s],status:`incorrect`},u(e=>e+1)),n})};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[s,d]),(0,r.jsxs)(`div`,{className:i,style:n,children:[(0,r.jsx)(`div`,{children:a.map((e,t)=>(0,r.jsx)(`span`,{className:[Q.char,e.status===`typed`?Q.typed:``,e.status===`current`?Q.current:``,e.status===`incorrect`?Q.incorrect:``].filter(Boolean).join(` `),children:e.char},t))}),d&&(0,r.jsx)(`div`,{children:`FINISH!`}),l>0&&(0,r.jsxs)(`div`,{children:[`Mistakes: `,l]})]})},cn={"elm-template":`_elm-template_18rwn_1`},ln=e=>(0,r.jsx)(`div`,{className:[cn[`elm-template`],e.className].filter(Boolean).join(` `),style:e.style,children:`PLACEHOLDER`}),un={text:`_text_zrzts_1`,cursor:`_cursor_zrzts_30`,blink:`_blink_zrzts_1`},$=e=>new Promise(t=>{setTimeout(t,e)}),dn=({texts:e=[],interval:n=3e3,fontSize:i=`1rem`,...a})=>{let[o,s]=(0,t.useState)(``),c=(0,t.useRef)(!1);return(0,t.useEffect)(()=>(c.current=!1,(async()=>{for(;!c.current;)for(let t of e){for(let e=0;e<t.length;e++){if(c.current||(await $(75),c.current))return;s(t.slice(0,e+1))}if(await $(n),c.current)return;for(let e=t.length;e>=0;e--)if(c.current||(s(t.slice(0,e)),await $(25),c.current))return;if(await $(200),c.current)return}})(),()=>{c.current=!0}),[e,n]),(0,r.jsxs)(`span`,{className:[un.text,a.className].filter(Boolean).join(` `),style:{fontSize:i,...a.style},children:[o,(0,r.jsx)(`span`,{className:un.cursor,children:`\xA0`})]})},fn=`elm-local-storage-change`;function pn(e,n,r){let i=!!(r&&`raw`in r&&r.raw),a=r?.broadcastChannel??!1,o=(0,t.useRef)(n),s=(0,t.useRef)(i?e=>String(e):!i&&r&&`serializer`in r&&r.serializer||(e=>JSON.stringify(e))),c=(0,t.useRef)(i?e=>e:!i&&r&&`deserializer`in r&&r.deserializer||(e=>JSON.parse(e)));(0,t.useEffect)(()=>{s.current=i?e=>String(e):!i&&r&&`serializer`in r&&r.serializer||(e=>JSON.stringify(e)),c.current=i?e=>e:!i&&r&&`deserializer`in r&&r.deserializer||(e=>JSON.parse(e))});let l=(0,t.useRef)(null),[u,d]=(0,t.useState)(()=>{if(typeof localStorage>`u`)return n;try{let t=localStorage.getItem(e);return t===null?n:(i?e=>e:!i&&r&&`deserializer`in r&&r.deserializer||(e=>JSON.parse(e)))(t)}catch(t){return console.warn(`useLocalStorage: failed to read "${e}"`,t),n}}),f=(0,t.useCallback)(()=>{if(typeof localStorage>`u`)return o.current;try{let t=localStorage.getItem(e);return t===null?o.current:c.current(t)}catch(t){return console.warn(`useLocalStorage: failed to read "${e}"`,t),o.current}},[e]),p=(0,t.useCallback)(t=>{typeof window>`u`||(window.dispatchEvent(new CustomEvent(fn,{detail:{key:e,newValue:t}})),l.current?.postMessage({newValue:t}))},[e]),m=(0,t.useCallback)(t=>{let n=f(),r=typeof t==`function`?t(n):t;if(typeof localStorage<`u`)try{localStorage.setItem(e,s.current(r))}catch(t){console.warn(`useLocalStorage: failed to write "${e}"`,t)}d(r),p(r)},[e,f,p]),h=(0,t.useCallback)(()=>{typeof localStorage<`u`&&localStorage.removeItem(e),d(o.current),p(null)},[e,p]);return(0,t.useEffect)(()=>{if(typeof window>`u`)return;let t=t=>{if(t.key===e){if(t.newValue===null){d(o.current);return}try{d(c.current(t.newValue))}catch(t){console.warn(`useLocalStorage: failed to parse storage event for "${e}"`,t)}}},n=t=>{let{key:n,newValue:r}=t.detail;n===e&&d(r===null?o.current:r)};return window.addEventListener(`storage`,t),window.addEventListener(fn,n),()=>{window.removeEventListener(`storage`,t),window.removeEventListener(fn,n)}},[e]),(0,t.useEffect)(()=>{if(!a||typeof BroadcastChannel>`u`)return;let t=new BroadcastChannel(`elm-local-storage:${e}`);return l.current=t,t.onmessage=e=>{d(e.data.newValue===null?o.current:e.data.newValue)},()=>{t.close(),l.current=null}},[e,a]),[u,m,h]}var mn=`elm-local-storage-change`;function hn(e,n,r){let i=(0,t.useRef)(n);(0,t.useEffect)(()=>{i.current=n});let a=(0,t.useRef)(r),[o,s]=(0,t.useState)(()=>{if(typeof localStorage>`u`)return r;try{let t=localStorage.getItem(e);return t===null?r:JSON.parse(t)}catch{return r}}),c=(0,t.useCallback)(t=>{typeof window>`u`||window.dispatchEvent(new CustomEvent(mn,{detail:{key:e,newValue:t}}))},[e]),l=(0,t.useCallback)(t=>{s(n=>{let r=i.current(n,t);if(typeof localStorage<`u`)try{localStorage.setItem(e,JSON.stringify(r))}catch(t){console.warn(`useLocalStorageDispatch: failed to write "${e}"`,t)}return c(r),r})},[e,c]),u=(0,t.useCallback)(()=>{typeof localStorage<`u`&&localStorage.removeItem(e),s(a.current),c(a.current)},[e,c]);return(0,t.useEffect)(()=>{if(typeof window>`u`)return;let t=t=>{if(t.key===e){if(t.newValue===null){s(a.current);return}try{s(JSON.parse(t.newValue))}catch{console.warn(`useLocalStorageDispatch: failed to parse storage event for "${e}"`)}}},n=t=>{let{key:n,newValue:r}=t.detail;n===e&&s(r)};return window.addEventListener(`storage`,t),window.addEventListener(mn,n),()=>{window.removeEventListener(`storage`,t),window.removeEventListener(mn,n)}},[e]),[o,l,u]}exports.ElmArrowIcon=ut,exports.ElmBlockFallback=Ke,exports.ElmBlockQuote=zt,exports.ElmBookmark=bt,exports.ElmBookmarkIcon=ft,exports.ElmBreadcrumb=xt,exports.ElmButton=he,exports.ElmCallout=Ht,exports.ElmCheckbox=Ye,exports.ElmCodeBlock=re,exports.ElmCollapse=se,exports.ElmColorSample=Tt,exports.ElmColorTable=Ot,exports.ElmColumn=le,exports.ElmColumnList=de,exports.ElmCommandPalette=jt,exports.ElmConfirmModal=xe,exports.ElmCubeIcon=ht,exports.ElmDesktopWindow=Se,exports.ElmDivider=Wt,exports.ElmDotLoadingIcon=x,exports.ElmFile=yt,exports.ElmFragmentIdentifier=ve,exports.ElmHeading=w,exports.ElmImage=P,exports.ElmInlineIcon=g,exports.ElmInlineText=_,exports.ElmJarkup=nn,exports.ElmJsonComponentRenderer=Nt,exports.ElmKatex=ae,exports.ElmLanguageIcon=p,exports.ElmList=Rt,exports.ElmLoginIcon=_t,exports.ElmMarkdown=on,exports.ElmMdiIcon=y,exports.ElmMermaid=e.t,exports.ElmModal=me,exports.ElmModelSelect=Fe,exports.ElmMultiProgress=Re,exports.ElmOEmbed=He,exports.ElmPageTop=St,exports.ElmParagraph=It,exports.ElmParallax=we,exports.ElmProgress=Ie,exports.ElmRectangleWave=Ge,exports.ElmSelect=Ne,exports.ElmShikiHighlighter=ne,exports.ElmSimpleTooltip=De,exports.ElmSnackbar=Oe,exports.ElmSnackbarContainer=ke,exports.ElmSpinner=Je,exports.ElmSquareLoadingIcon=it,exports.ElmStatusMessage=Ve,exports.ElmSwitch=Xe,exports.ElmTable=qt,exports.ElmTableBody=Xt,exports.ElmTableCell=Qt,exports.ElmTableHeader=Yt,exports.ElmTableOfContents=wt,exports.ElmTableRow=Y,exports.ElmTabs=Ae,exports.ElmTemplate=ln,exports.ElmTextField=Qe,exports.ElmToggle=je,exports.ElmToggleTheme=lt,exports.ElmTooltip=Ee,exports.ElmTyping=sn,exports.ElmTypingAnimation=dn,exports.ElmUnsupportedBlock=I,exports.ElmValidation=et,exports.LANGUAGES=tt,exports.useElmethisTheme=ct,exports.useLocalStorage=pn,exports.useLocalStorageDispatch=hn;
|
package/lib/index.react.mjs
CHANGED
|
@@ -3194,61 +3194,61 @@ function Cr(e, t, n) {
|
|
|
3194
3194
|
//#region src/hooks/useLocalStorageDispatch.ts
|
|
3195
3195
|
var wr = "elm-local-storage-change";
|
|
3196
3196
|
function Tr(e, t, n) {
|
|
3197
|
-
let r =
|
|
3197
|
+
let r = u(t);
|
|
3198
3198
|
s(() => {
|
|
3199
|
-
|
|
3199
|
+
r.current = t;
|
|
3200
3200
|
});
|
|
3201
|
-
let
|
|
3202
|
-
if (
|
|
3201
|
+
let i = u(n), [o, c] = d(() => {
|
|
3202
|
+
if (typeof localStorage > "u") return n;
|
|
3203
3203
|
try {
|
|
3204
|
-
let
|
|
3205
|
-
return
|
|
3204
|
+
let t = localStorage.getItem(e);
|
|
3205
|
+
return t === null ? n : JSON.parse(t);
|
|
3206
3206
|
} catch {
|
|
3207
|
-
return
|
|
3207
|
+
return n;
|
|
3208
3208
|
}
|
|
3209
|
-
}),
|
|
3210
|
-
|
|
3211
|
-
key:
|
|
3212
|
-
newValue:
|
|
3209
|
+
}), l = a((t) => {
|
|
3210
|
+
typeof window > "u" || window.dispatchEvent(new CustomEvent(wr, { detail: {
|
|
3211
|
+
key: e,
|
|
3212
|
+
newValue: t
|
|
3213
3213
|
} }));
|
|
3214
|
-
}, [
|
|
3215
|
-
|
|
3216
|
-
let
|
|
3217
|
-
if (
|
|
3218
|
-
localStorage.setItem(
|
|
3219
|
-
} catch (
|
|
3220
|
-
console.warn(`useLocalStorageDispatch: failed to write "${
|
|
3214
|
+
}, [e]), f = a((t) => {
|
|
3215
|
+
c((n) => {
|
|
3216
|
+
let i = r.current(n, t);
|
|
3217
|
+
if (typeof localStorage < "u") try {
|
|
3218
|
+
localStorage.setItem(e, JSON.stringify(i));
|
|
3219
|
+
} catch (t) {
|
|
3220
|
+
console.warn(`useLocalStorageDispatch: failed to write "${e}"`, t);
|
|
3221
3221
|
}
|
|
3222
|
-
return
|
|
3222
|
+
return l(i), i;
|
|
3223
3223
|
});
|
|
3224
|
-
}, [
|
|
3225
|
-
|
|
3226
|
-
}, [
|
|
3224
|
+
}, [e, l]), p = a(() => {
|
|
3225
|
+
typeof localStorage < "u" && localStorage.removeItem(e), c(i.current), l(i.current);
|
|
3226
|
+
}, [e, l]);
|
|
3227
3227
|
return s(() => {
|
|
3228
|
-
if (
|
|
3229
|
-
let
|
|
3230
|
-
if (
|
|
3231
|
-
if (
|
|
3232
|
-
|
|
3228
|
+
if (typeof window > "u") return;
|
|
3229
|
+
let t = (t) => {
|
|
3230
|
+
if (t.key === e) {
|
|
3231
|
+
if (t.newValue === null) {
|
|
3232
|
+
c(i.current);
|
|
3233
3233
|
return;
|
|
3234
3234
|
}
|
|
3235
3235
|
try {
|
|
3236
|
-
|
|
3236
|
+
c(JSON.parse(t.newValue));
|
|
3237
3237
|
} catch {
|
|
3238
|
-
console.warn(`useLocalStorageDispatch: failed to parse storage event for "${
|
|
3238
|
+
console.warn(`useLocalStorageDispatch: failed to parse storage event for "${e}"`);
|
|
3239
3239
|
}
|
|
3240
3240
|
}
|
|
3241
|
-
},
|
|
3242
|
-
let { key:
|
|
3243
|
-
|
|
3241
|
+
}, n = (t) => {
|
|
3242
|
+
let { key: n, newValue: r } = t.detail;
|
|
3243
|
+
n === e && c(r);
|
|
3244
3244
|
};
|
|
3245
|
-
return window.addEventListener("storage",
|
|
3246
|
-
window.removeEventListener("storage",
|
|
3245
|
+
return window.addEventListener("storage", t), window.addEventListener(wr, n), () => {
|
|
3246
|
+
window.removeEventListener("storage", t), window.removeEventListener(wr, n);
|
|
3247
3247
|
};
|
|
3248
|
-
}, [
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3248
|
+
}, [e]), [
|
|
3249
|
+
o,
|
|
3250
|
+
f,
|
|
3251
|
+
p
|
|
3252
3252
|
];
|
|
3253
3253
|
}
|
|
3254
3254
|
//#endregion
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
export declare function useLocalStorageDispatch<S, A>(reducer: (state: S, action: A) => S, initialState: S): [S, (action: A) => void, () => void];
|
|
2
1
|
export declare function useLocalStorageDispatch<S, A>(key: string, reducer: (state: S, action: A) => S, initialState: S): [S, (action: A) => void, () => void];
|
|
3
2
|
//# sourceMappingURL=useLocalStorageDispatch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLocalStorageDispatch.d.ts","sourceRoot":"","sources":["../../src/hooks/useLocalStorageDispatch.ts"],"names":[],"mappings":"AAIA,wBAAgB,uBAAuB,CAAC,CAAC,EAAE,CAAC,EAC1C,
|
|
1
|
+
{"version":3,"file":"useLocalStorageDispatch.d.ts","sourceRoot":"","sources":["../../src/hooks/useLocalStorageDispatch.ts"],"names":[],"mappings":"AAIA,wBAAgB,uBAAuB,CAAC,CAAC,EAAE,CAAC,EAC1C,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,KAAK,CAAC,EACnC,YAAY,EAAE,CAAC,GACd,CAAC,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,IAAI,EAAE,MAAM,IAAI,CAAC,CAwFtC"}
|
|
@@ -2,6 +2,5 @@ import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
|
2
2
|
declare const meta: Meta;
|
|
3
3
|
export default meta;
|
|
4
4
|
type Story = StoryObj<typeof meta>;
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const WithLocalStorage: Story;
|
|
5
|
+
export declare const Primary: Story;
|
|
7
6
|
//# sourceMappingURL=useLocalStorageDispatch.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLocalStorageDispatch.stories.d.ts","sourceRoot":"","sources":["../../src/hooks/useLocalStorageDispatch.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"useLocalStorageDispatch.stories.d.ts","sourceRoot":"","sources":["../../src/hooks/useLocalStorageDispatch.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAwC5D,QAAA,MAAM,IAAI,EAAE,IAGX,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC"}
|