@diplodoc/client 5.5.1 → 5.5.2

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.
@@ -794,7 +794,7 @@
794
794
  "versions-select-placeholder": "Versiyalar"
795
795
  }
796
796
  }
797
- `,zhTw:'{\n "controls": {\n "label_wide_format": "寬幅格式",\n "description_wide_format_enabled": "已開啓",\n "description_wide_format_disabled": "已關閉",\n "label_show_mini_toc": "浏覽當前文章",\n "description_show_mini_toc_enabled": "已啟用",\n "description_show_mini_toc_disabled": "已停用",\n "label_theme": "主題",\n "label_light_theme": "亮色",\n "full_label_light_theme": "亮色主題",\n "label_dark_theme": "深色",\n "full_label_dark_theme": "深色主題",\n "description_enabled_dark_theme": "已開啓",\n "description_disabled_dark_theme": "已關閉",\n "label_text_size": "文字大小",\n "description_s_text_size": "減小",\n "description_m_text_size": "默認值",\n "description_l_text_size": "增大",\n "full-screen-text-enabled": "退出閱覽模式(Esc)",\n "full-screen-text-disabled": "閱覽模式",\n "single-page-text-enabled": "退出單頁模式",\n "single-page-text-disabled": "單頁模式",\n "pdf-text": "PDF",\n "edit-text-github": "在GitHub上進行編輯",\n "edit-text-arcanum": "在Arcanum上進行編輯",\n "edit-text": "編輯",\n "settings-text": "設置",\n "lang-text": "語言",\n "like-text": "文章有所裨益",\n "dislike-text": "文章了無用處",\n "cancel-like-text": "變得更糟",\n "cancel-dislike-text": "變得更好",\n "feedback-success-title": "謝謝!",\n "feedback-success-text": "您的回答將有助于完善文件",\n "subscribe-text": "訂閱",\n "subscribe-documentation-title": "訂閱整份文件",\n "unsubscribe-documentation-title": "退訂文件",\n "subscribe-documentation-placeholder": "輸入您的電子郵件地址",\n "subscribe-page-title": "訂閱當前頁面",\n "unsubscribe-page-title": "取消訂閱頁面",\n "email-text-invalid": "電子郵件地址無效",\n "email-request-fail": "出錯了。請您在幾分鍾後再試一次",\n "verify-title": "請確認您的電子郵箱",\n "verify-text": "電子郵件已發送到您的郵箱,其中包含一個鏈接,用于確認您的電子郵件地址是否正確。請您點擊電子郵件中的鏈接完成訂閱。",\n "dislike-variants-title": "請您告訴我,這篇文章有什麽問題",\n "send-action-text": "發送",\n "skip-action-text": "跳轉",\n "feedback-comment-placeholder": "補充信息將有所幫助",\n "lang-control-text-ru": "俄語",\n "lang-control-text-en": "英語",\n "label_to-main-menu": "回到主菜單"\n },\n "mini-toc": {\n "title": "在這篇文章中",\n "article-navigation": "文章導航",\n "description": "當前文章的內容"\n },\n "toc-nav-panel": {\n "hint_previous": "上一篇",\n "hint_next": "下一篇",\n "drop-down-list": "下拉列表"\n },\n "authors": {\n "title": "文章已完成"\n },\n "contributors": {\n "title": "已得到完善"\n },\n "feedback": {\n "like-text": "文章有所裨益",\n "dislike-text": "文章了無用處",\n "cancel-like-text": "變得更糟",\n "cancel-dislike-text": "變得更好",\n "success-title": "謝謝!",\n "success-text": "您的回答將有助于完善文件",\n "dislike-variants-title": "請您告訴我,這篇文章有什麽問題",\n "send-action-text": "發送",\n "comment-placeholder": "補充信息將有所幫助",\n "button-like-text": "是",\n "button-dislike-text": "不是",\n "main-question": "這篇文章是否有用?"\n },\n "feedback-variants": {\n "irrelevant-answer": "沒有回答我的問題",\n "useless-recs": "這些建議沒有作用",\n "content-mismatch": "內容與標題不一致",\n "other": "其它"\n },\n "search-bar": {\n "search-query-label": "已按要求找到",\n "close": "關閉",\n "prev": "上一個",\n "next": "下一個"\n },\n "error": {\n "label_meta-title-403": "無訪問權限",\n "label_meta-title-404": "找不到頁面",\n "label_meta-title-500": "出錯了",\n "label_title-code": "出錯了 {{code}}",\n "label_title-403_project": "無法進入該項目",\n "label_title-403_page-group": "無法進入該頁面",\n "label_title-404": "該頁面不存在",\n "label_title-500": "服務器無法加載該頁面",\n "label_description-1": "我們已著手解決此類問題",\n "label_description-link": "重新加載頁面",\n "label_description-2": "。",\n "label_link-main": "返回主頁",\n "label_link-access": "請求訪問權限",\n\n "label_subtext": "它可在以下語言使用:",\n "label_lang-ar": "阿拉伯語",\n "label_lang-bg": "保加利亞語",\n "label_lang-cs": "捷克語",\n "label_lang-el": "希臘語",\n "label_lang-en": "英語",\n "label_lang-es": "西班牙語",\n "label_lang-et": "愛沙尼亞語",\n "label_lang-fr": "法語",\n "label_lang-he": "希伯來語",\n "label_lang-kk": "哈薩克語",\n "label_lang-pt": "葡萄牙語",\n "label_lang-ru": "俄語",\n "label_lang-tr": "土耳其語",\n "label_lang-uz": "烏茲別克語",\n "label_lang-zh": "簡體中文",\n "label_lang-zh-tw": "繁體中文"\n },\n "search": {\n "search_placeholder": "搜索",\n "search_action": "找到",\n "search_close": "關閉",\n "search_request-query": "根據請求提供的結果",\n "search_not-found-title": "未找到與您的請求相關的信息",\n "search_not-found-text": "請您檢查一下拼寫是否正確或嘗試其他關鍵詞。",\n "search_mark_like": "所需信息",\n "search_mark_dislike": "完全沒有此類信息",\n "search_mark-result-text": "感謝評價!"\n },\n "search-suggest": {\n "search-suggest_all-results": "所有結果",\n "search-suggest_not-found": "未找到相關結果「{{query}}」。",\n "search-suggest_error-text": "出了些問題。請再試一次。",\n "search-item_type-all": "全部",\n "search-item_type-doc": "文件",\n "search-item_type-main": "主頁",\n "search-suggest_ask-ai": "向 AI 提問",\n "search-suggest_ai-chat": "AI 聊天"\n },\n "paginator": {\n "next": "下一頁",\n "prev": "上一頁"\n },\n "header": {\n "versions-select-placeholder": "版本"\n }\n}\n',zh:'{\n "controls": {\n "label_wide_format": "宽幅格式",\n "description_wide_format_enabled": "已开启",\n "description_wide_format_disabled": "已关闭",\n "label_show_mini_toc": "浏览当前文章",\n "description_show_mini_toc_enabled": "已启用",\n "description_show_mini_toc_disabled": "已禁用",\n "label_theme": "主题",\n "label_light_theme": "浅色",\n "full_label_light_theme": "浅色主题",\n "label_dark_theme": "深色",\n "full_label_dark_theme": "深色主题",\n "description_enabled_dark_theme": "已开启",\n "description_disabled_dark_theme": "已关闭",\n "label_text_size": "文字大小",\n "description_s_text_size": "减小",\n "description_m_text_size": "默认值",\n "description_l_text_size": "增大",\n "full-screen-text-enabled": "退出阅览模式(Esc)",\n "full-screen-text-disabled": "阅览模式",\n "single-page-text-enabled": "退出单页模式",\n "single-page-text-disabled": "单页模式",\n "pdf-text": "PDF",\n "edit-text-github": "在GitHub上进行编辑",\n "edit-text-arcanum": "在Arcanum上进行编辑",\n "edit-text": "编辑",\n "settings-text": "设置",\n "lang-text": "语言",\n "like-text": "文章有所裨益",\n "dislike-text": "文章了无用处",\n "cancel-like-text": "变得更糟",\n "cancel-dislike-text": "变得更好",\n "feedback-success-title": "谢谢!",\n "feedback-success-text": "您的回答将有助于完善文件",\n "subscribe-text": "订阅",\n "subscribe-documentation-title": "订阅整份文件",\n "unsubscribe-documentation-title": "退订文件",\n "subscribe-documentation-placeholder": "输入您的电子邮件地址",\n "subscribe-page-title": "订阅当前页面",\n "unsubscribe-page-title": "取消订阅页面",\n "email-text-invalid": "电子邮件地址无效",\n "email-request-fail": "出错了。请您在几分钟后再试一次",\n "verify-title": "请确认您的电子邮箱",\n "verify-text": "电子邮件已发送到您的邮箱,其中包含一个链接,用于确认您的电子邮件地址是否正确。请您点击电子邮件中的链接完成订阅。",\n "dislike-variants-title": "请您告诉我,这篇文章有什么问题",\n "send-action-text": "发送",\n "skip-action-text": "跳转",\n "feedback-comment-placeholder": "补充信息将有所帮助",\n "lang-control-text-ru": "俄语",\n "lang-control-text-en": "英语",\n "label_to-main-menu": "返回主菜单"\n },\n "mini-toc": {\n "title": "在这篇文章中",\n "article-navigation": "文章导航",\n "description": "当前文章的内容"\n },\n "toc-nav-panel": {\n "hint_previous": "上一篇",\n "hint_next": "下一篇",\n "drop-down-list": "下拉列表"\n },\n "authors": {\n "title": "文章已完成"\n },\n "contributors": {\n "title": "已得到完善"\n },\n "feedback": {\n "like-text": "文章有所裨益",\n "dislike-text": "文章了无用处",\n "cancel-like-text": "变得更糟",\n "cancel-dislike-text": "变得更好",\n "success-title": "谢谢!",\n "success-text": "您的回答将有助于完善文件",\n "dislike-variants-title": "请您告诉我,这篇文章有什么问题",\n "send-action-text": "发送",\n "comment-placeholder": "补充信息将有所帮助",\n "button-like-text": "是",\n "button-dislike-text": "不是",\n "main-question": "这篇文章是否有用?"\n },\n "feedback-variants": {\n "irrelevant-answer": "没有回答我的问题",\n "useless-recs": "这些建议没有作用",\n "content-mismatch": "内容与标题不一致",\n "other": "其它"\n },\n "search-bar": {\n "search-query-label": "已按要求找到",\n "close": "关闭",\n "prev": "上一个",\n "next": "下一个"\n },\n "error": {\n "label_meta-title-403": "无访问权限",\n "label_meta-title-404": "找不到页面",\n "label_meta-title-500": "出错了",\n "label_title-code": "出错了 {{code}}",\n "label_title-403_project": "无法进入该项目",\n "label_title-403_page-group": "无法进入该页面",\n "label_title-404": "该页面不存在",\n "label_title-500": "服务器无法加载该页面",\n "label_description-1": "我们已着手解决此类问题",\n "label_description-link": "重新加载页面",\n "label_description-2": "。",\n "label_link-main": "返回主页",\n "label_link-access": "请求访问权限",\n\n "label_subtext": "可在以下语言使用:",\n "label_lang-ar": "阿拉伯语",\n "label_lang-bg": "保加利亚语",\n "label_lang-cs": "捷克语",\n "label_lang-el": "希腊语",\n "label_lang-en": "英语",\n "label_lang-es": "西班牙语",\n "label_lang-et": "爱沙尼亚语",\n "label_lang-fr": "法语",\n "label_lang-he": "希伯来语",\n "label_lang-kk": "哈萨克语",\n "label_lang-pt": "葡萄牙语",\n "label_lang-ru": "俄语",\n "label_lang-tr": "土耳其语",\n "label_lang-uz": "乌兹别克语",\n "label_lang-zh": "简体中文",\n "label_lang-zh-tw": "繁体中文"\n },\n "search": {\n "search_placeholder": "搜索",\n "search_action": "找到",\n "search_close": "关闭",\n "search_request-query": "根据请求提供的结果",\n "search_not-found-title": "未找到与您的请求相关的信息",\n "search_not-found-text": "请您检查一下拼写是否正确或尝试其他关键词。",\n "search_mark_like": "所需信息",\n "search_mark_dislike": "完全没有此类信息",\n "search_mark-result-text": "感谢评价!"\n },\n "search-suggest": {\n "search-suggest_all-results": "所有结果",\n "search-suggest_not-found": "没有找到“{{query}}”的结果。",\n "search-suggest_error-text": "出现了一些问题。请再试一次。",\n "search-item_type-all": "全部",\n "search-item_type-doc": "文档",\n "search-item_type-main": "首页",\n "search-suggest_ask-ai": "向 AI 提问",\n "search-suggest_ai-chat": "AI 聊天"\n },\n "paginator": {\n "next": "下一页",\n "prev": "上一页"\n },\n "header": {\n "versions-select-placeholder": "版本"\n }\n}\n'}},78184(e,t,n){"use strict";n.d(t,{JA:()=>p,KG:()=>g,MW:()=>f,Sx:()=>u,Uv:()=>h,ov:()=>d,v6:()=>m});var r,a,i,l,o,s,c,u=((r=u||{}).Light="light",r.Dark="dark",r),d=((a=d||{}).S="s",a.M="m",a.L="l",a),h=((i=h||{}).M="m",i.L="l",i.XL="xl",i),p=((l=p||{}).Ru="ru",l.En="en",l.He="he",l.Es="es",l.Fr="fr",l.Cs="cs",l.Ar="ar",l),f=((o=f||{}).like="like",o.dislike="dislike",o.indeterminate="indeterminate",o),m=((s=m||{}).documentation="documentation",s.page="page",s),g=((c=g||{}).Base="BASE",c.Leading="LEADING",c.PageConstructor="PAGE_CONSTRUCTOR",c)},85391(e,t,n){"use strict";if(n.d(t,{W:()=>l}),509==n.j)var r=n(58786);var a=Object.defineProperty,i=(e,t,n)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?a(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n},l=class{constructor(e){i(this,"config"),i(this,"initialized",!1),this.config=e}async init(){if(!this.initialized){this.initialized=!0;try{let{id:e,params:t={}}=this.config;o()(e,"init",t),await (0,r.V)({url:"https://mc.yandex.ru/metrika/tag.js",element:document.head,defer:!1})}catch(e){console.error("Yandex Metrika load failed",e)}}}send(e,t){o()(this.config.id,"reachGoal",e,t)}};function o(){let e=window;return e.ym||(e.ym=(...t)=>{(e.ym.a=e.ym.a||[]).push(t)},e.ym.l=new Date().getTime()),e.ym}},87112(e,t,n){"use strict";n.d(t,{j:()=>o});var r=class{send(e,t){let n=console,r=new Date().toLocaleTimeString();n.groupCollapsed(`%c\u{1F4CA} Analytics%c ${e} %c${r}`,"color: #2196F3; font-weight: bold;","color: #4CAF50; font-weight: bold;","color: #999; font-size: 0.9em;"),t&&n.log("Params:",t),n.groupEnd()}},a="_analytics_debug",i=Object.defineProperty,l=(e,t,n)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?i(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n},o=class{constructor(e){l(this,"adapters"),l(this,"initialized",!1),this.adapters=new Set(e.adapters),this.track=this.track.bind(this),("boolean"==typeof e.debug?e.debug:function(){try{var e,t;let n;if("u"<typeof window)return!1;let r=new URLSearchParams(window.location.search).get(a),i=(e=a,(n=document.cookie.match(RegExp(`(^| )${encodeURIComponent(e)}=([^;]+)`)))?n[2]:null);if("1"===r)return"1"!==i&&function(e,t,n=1){document.cookie=`${encodeURIComponent(e)}=${encodeURIComponent("1")}; path=/; max-age=${24*n*3600}`}(a,"1"),!0;if("0"===r){return i&&(t=a,document.cookie=`${encodeURIComponent(t)}=; path=/; max-age=0`),!1}return"1"===i}catch(e){return!1}}())&&this.adapters.add(new r)}async init(){if(!this.initialized){this.initialized=!0;try{let e=Array.from(this.adapters,e=>"function"==typeof e.init?e.init():null);await Promise.all(e)}catch(e){this.initialized=!1,console.error("Failed to initialize the analytics service:",e)}}}track(e,t){for(let n of this.adapters)n.send(e,t)}}},27039(e,t,n){"use strict";n.d(t,{Q:()=>a});var r,a=((r=a||{}).DOCS_EDIT_IN_VCS_CLICK="DOCS_EDIT-IN-VCS_CLICK",r.DOCS_READING_MODE_CLICK="DOCS_READING-MODE_CLICK",r.DOCS_FOOTER_LIKE_CLICK="DOCS_FOOTER-LIKE_CLICK",r.DOCS_FOOTER_DISLIKE_CLICK="DOCS_FOOTER-DISLIKE_CLICK",r.DOCS_ASIDE_LIKE_CLICK="DOCS_ASIDE-LIKE_CLICK",r.DOCS_ASIDE_DISLIKE_CLICK="DOCS_ASIDE-DISLIKE_CLICK",r.DOCS_SEARCH_CLICK="DOCS_SEARCH_CLICK",r.DOCS_FOOTER_NEXT_CLICK="DOCS_FOOTER-NEXT_CLICK",r.DOCS_FOOTER_PREV_CLICK="DOCS_FOOTER-PREV_CLICK",r.DOCS_LANG_CLICK="DOCS_LANG_CLICK",r.DOCS_HEADER_SETTINGS_CLICK="DOCS_HEADER-SETTINGS_CLICK",r.DOCS_HEADER_LOGO_CLICK="DOCS_HEADER-LOGO_CLICK",r.DOCS_HEADER_SANDWICH_MENU_CLICK="DOCS_HEADER-SANDWICH-MENU_CLICK",r.DOCS_WIDESCREEN_MODE_CLICK="DOCS_WIDESCREEN-MODE_CLICK",r.DOCS_HIDE_PAGE_NAV_CLICK="DOCS_HIDE-PAGE-NAV_CLICK",r.DOCS_FONTSIZE_MODE_CLICK="DOCS_FONTSIZE-MODE_CLICK",r)},56701(e,t,n){"use strict";n.d(t,{s:()=>o,y:()=>l});var r=n(96540),a=new(n(87112)).j({debug:!1,adapters:[]}),i=(0,r.createContext)(a),l=i.Provider;function o(){return(0,r.useContext)(i)}},58786(e,t,n){"use strict";async function r(e){let{url:t,defer:n=!1,element:r=document.body}=e;return new Promise((e,a)=>{let i=document.createElement("script");i.type="text/javascript",i.src=t,i.async=!n,i.defer=n,i.onload=e,i.onerror=a,r.appendChild(i)})}n.d(t,{V:()=>i});var a=509==n.j?{}:null;async function i(e){let{url:t}=e,n=a[t];if(n)return Promise.resolve(n);let i=await r(e);return a[t]=i,i}},63323(e,t,n){"use strict";let r;n.d(t,{ZR:()=>nh,Fd:()=>nc,Mt:()=>ng,LA:()=>nx,cQ:()=>nv,sZ:()=>nu,WC:()=>nd,Uj:()=>nf,M5:()=>ny,il:()=>nE,$T:()=>nw,ig:()=>nb,VP:()=>nm,xT:()=>np});var a,i=n(88835),l=n(96540),o=n(23614),s=n(81836),c=Object.defineProperty,u=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,p=(e,t,n)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,f=e=>{var{useMainTag:t=!0,children:n}=e,r=((e,t)=>{var n={};for(var r in e)d.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&u)for(var r of u(e))0>t.indexOf(r)&&h.call(e,r)&&(n[r]=e[r]);return n})(e,["useMainTag","children"]);return l.createElement(t?"main":"div",((e,t)=>{for(var n in t||(t={}))d.call(t,n)&&p(e,n,t[n]);if(u)for(var n of u(t))h.call(t,n)&&p(e,n,t[n]);return e})({},r),n)},m=n(81900),g=n(40258),v=Object.defineProperty,b=Object.defineProperties,w=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,C=(e,t,n)=>t in e?v(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,A=(0,o.default)("dc-doc-layout"),k=()=>null,S=()=>null,_=()=>null,M=({children:e,className:t,fullScreen:n=!1,wideFormat:r=!1,hideRight:a=!1,loading:i=!1,footer:o=null,legacyToc:s=!1,toc:c,router:u,headerHeight:d,tocTitleIcon:h,hideToc:p,singlePage:f,onChangeSinglePage:v,pdfLink:M,pdfIconConfig:j,hideTocHeader:O})=>{let R,L,T,N,z,D=(0,g.j)("toc"),P=(0,g.j)("toc-header"),B={"regular-page-width":!r,"full-screen":n,"hidden-right":a,loading:i};return l.Children.forEach(e,e=>{if(e)switch(e.type){case k:R=e.props.children;break;case S:L=e.props.children;break;case _:T=e.props.children}}),l.createElement("div",{className:A(null,t)},l.createElement("div",{className:A("mobile-only")},o),n?null:!D&&l.createElement("div",{className:A("left",B,s?A("legacy-toc"):void 0)},c&&!p&&l.createElement("div",{className:A("toc")},l.createElement(m.A,(N=((e,t)=>{for(var n in t||(t={}))x.call(t,n)&&C(e,n,t[n]);if(y)for(var n of y(t))E.call(t,n)&&C(e,n,t[n]);return e})({key:np(a,r,c.singlePage)},c),z={router:u,headerHeight:d,tocTitleIcon:h,hideTocHeader:O||P,singlePage:f,onChangeSinglePage:v,pdfLink:M,pdfIconConfig:j},b(N,w(z))))),R),n||a?null:l.createElement("div",{className:A("right",B)},T),l.createElement("div",{className:A("center",B)},L,l.createElement("div",{className:A("desktop-only")},o)))};M.Left=k,M.Center=S,M.Right=_;var j=(0,o.default)("dc-doc-page"),{wideFormat:O}=s.a$,R=({data:e,toc:t,router:n,headerHeight:r,wideFormat:a=O,hideToc:i,tocTitleIcon:o,footer:s,children:c,useMainTag:u,legacyToc:d,fullScreen:h,hideTocHeader:p,pdfLink:m,textSize:g,pdfIconConfig:v})=>{let b=j("body",{"text-size":g},"yfm");return l.createElement(M,{toc:t,router:n,headerHeight:r,className:j({"regular-page-width":!a}),hideToc:i,fullScreen:h||(null==e?void 0:e.fullScreen),tocTitleIcon:o,footer:s,hideRight:!0,wideFormat:a,legacyToc:d,hideTocHeader:p,pdfLink:m,pdfIconConfig:v},l.createElement(M.Center,null,l.createElement("div",{className:j("main")},l.createElement(f,{className:j("content",{},b),useMainTag:u},c))))},L=(0,o.default)("dc-mark"),T=({text:e,color:t="blue",size:n="s",className:r})=>l.createElement("span",{className:L({color:t,size:n},r)},e.toUpperCase()),N={preview:"blue",new:"green"},z=Object.keys(N),D=({stage:e,size:t="s",className:n})=>{if(!(e&&z.includes(e)))return null;let r=N[e];return l.createElement(T,{className:n,text:e,color:r,size:t})},P=(0,o.default)("dc-doc-page-title"),B=({children:e,stage:t,className:n})=>{let r=l.createElement(D,{stage:"tech-preview"===t?"preview":t,className:P("label")});return l.createElement("h1",{className:P(null,n)},r,e)},I=n(80165),H=({data:e="",html:t=!1,block:n=!1})=>{if(!e)return null;let r=Array.isArray(e)?e:[e];return l.createElement(l.Fragment,null,r.map((e,r)=>l.createElement(n?"div":"p",{key:r,className:n?"p":null},t?l.createElement(I.g,null,e):e)))},V=n(81988),q=n(94650),F=n(43168),$=(0,o.default)("dc-note"),U=({notification:e,notificationCb:t})=>{let[n,r]=(0,l.useState)(!0);if(!e||!n)return null;let{title:a="",content:i="",type:o="",permanent:s}=e,c=["info","tip","warning","alert"].includes(o.toLowerCase());return l.createElement("div",{className:$("wrapper")},l.createElement("div",{className:$({},c?`dc-accent-${o}`:$("template"))},a&&l.createElement("p",{className:$("title")},a),!s&&l.createElement(V.$,{view:"flat",className:$("xmark"),style:{position:"absolute"},onClick:()=>{t&&t(),r(!1)}},l.createElement(q.I,{data:F.A})),i&&l.createElement(I.g,{className:$("content")},i)))},G=n(60787),W=Object.defineProperty,K=Object.getOwnPropertySymbols,Z=Object.prototype.hasOwnProperty,Y=Object.prototype.propertyIsEnumerable,J=(e,t,n)=>t in e?W(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,X=(0,o.default)("dc-share-button"),Q={width:24,height:24},ee=({title:e,iconSize:t=Q,size:n="m",view:r="flat-secondary",className:a})=>{let i,o,s=(i="u"<typeof window?"":window.location.href,o=(0,l.useMemo)(()=>({title:e,url:i}),[e,i]),(0,l.useCallback)(()=>{navigator&&navigator.share?navigator.share(o).then(()=>{}).catch(e=>console.error("Error sharing",e)):console.log("Share not supported",o)},[o]));return l.createElement(V.$,{className:a+" "+X(),size:n,view:r,onClick:s},l.createElement(V.$.Icon,null,l.createElement(G.A,((e,t)=>{for(var n in t||(t={}))Z.call(t,n)&&J(e,n,t[n]);if(K)for(var n of K(t))Y.call(t,n)&&J(e,n,t[n]);return e})({},t))))},et=(0,o.default)("dc-doc-leading-page"),{wideFormat:en}=s.a$,er=({data:e,isRoot:t})=>l.createElement("li",{className:et("links-item",{root:t})},((e,t)=>{let{imgSrc:n}=e;return n&&t?l.createElement("div",{className:et("links-left")},l.createElement("img",{src:n})):null})(e,t),((e,t)=>{let n,{title:r,description:a,href:i,links:o}=e;return n=i?l.createElement("a",{href:i,className:et("links-link")},r):r,n=t?l.createElement("h2",{className:et("links-title",{root:t})},n):l.createElement("div",{className:et("links-title")},n),l.createElement("div",{className:et("links-right")},n,a&&t?l.createElement("p",{className:et("links-description")},a):null,l.createElement(ea,{links:o}))})(e,t)),ea=({links:e,isRoot:t})=>e&&e.length?l.createElement("ul",{className:et("links",{root:t})},e.map((e,n)=>l.createElement(er,{key:n,data:e,isRoot:t}))):null,ei=({data:{title:e,description:t,links:n},toc:r,router:a,headerHeight:i,wideFormat:o=en,hideTocHeader:s,hideToc:c,tocTitleIcon:u,footer:d,useMainTag:h,legacyToc:p,notification:m,notificationCb:g,isMobile:v,fullScreen:b,pdfLink:w,textSize:y})=>l.createElement(M,{toc:r,router:a,headerHeight:i,className:et({"regular-page-width":!o}),hideTocHeader:s,hideToc:c,tocTitleIcon:u,footer:d,legacyToc:p,fullScreen:b,pdfLink:w},l.createElement(M.Center,null,l.createElement(U,{notification:m,notificationCb:g}),l.createElement(f,{className:et("main"),useMainTag:h},l.createElement(B,{stage:null==r?void 0:r.stage,className:et("title")},l.createElement(I.g,null,e),v&&l.createElement(ee,{className:et("share-button"),title:e})),l.createElement("div",{className:et("description")},l.createElement(H,{data:t,html:!0,block:!0})),l.createElement("div",{className:et("body",{"text-size":y})},l.createElement(ea,{links:n,isRoot:!0}))))),el=n(85889),eo=n(40961),es=n(6790),ec=n(78184),eu=n(42344),ed=n(97201),eh=(0,o.default)("dc-bookmark-button"),ep=({isBookmarked:e,onBookmark:t})=>{let n=e?eu.A:ed.A;return l.createElement(V.$,{className:eh({active:e}),onClick:()=>{t(!e)},view:"flat-secondary"},l.createElement(V.$.Icon,{className:eh("icon")},l.createElement(n,{width:24,height:24})))},ef=(0,o.default)("dc-breadcrumbs"),em=({items:e,className:t})=>e&&e.length?l.createElement("nav",{className:ef(null,t),"aria-label":"Breadcrumbs"},l.createElement("ol",{className:ef("items")},e.map(({name:e,url:t},n,r)=>l.createElement("li",{key:n,className:ef("item")},function({name:e,url:t},n){let r=t&&!n;return l.createElement(r?"a":"span",{className:ef("text",{link:r}),href:t,"aria-current":n?"page":null},e)}({name:e,url:t},n===r.length-1))))):null,eg=n(62438),ev=n(64131),eb=((a=eb||{}).BIG="big",a.SMALL="small",a);function ew(e,t=!1){return t?ey(e):ey(e).split(" ").reduce((e,t,n)=>n>0?`${e} ${t.charAt(0)}.`:t,"")}function ey(e){let{name:t,email:n,login:r}=e;return t||n||r||""}var ex=(0,o.default)("dc-contributor-avatars");function eE(e,t,n){t||n||e.preventDefault()}var eC=e=>{let{avatarData:t,popupData:n,isRedirect:r=!1}=e,{contributor:a,size:i=eb.SMALL,inDetails:o=!1}=t,{changeVisiblilityPopup:s=()=>{},ref:c}=n||{},{avatar:u,email:d,login:h}=a,p=`avatar-${h||d}`;if(u)return l.createElement("img",{key:p,className:ex("avatar",{size:i}),src:u,ref:c,onMouseOver:()=>s(!0),onMouseLeave:()=>s(!1),onTouchStart:()=>s(),onTouchEnd:e=>eE(e,o,r)});let f=ey(a).charAt(0).toUpperCase();return l.createElement("button",{key:p,className:ex("avatar",{size:i,default:!0}),ref:c,onMouseOver:()=>s(!0),onMouseLeave:()=>s(!1),onTouchStart:()=>s(),onTouchEnd:e=>eE(e,o,r)},f)},eA=n(83880),ek=n(26591),eS=(0,o.default)("dc-contributor-avatars"),e_=e=>{let{contributors:t,popupData:n}=e,{ref:r,isVisiblePopup:a,changeVisiblilityPopup:i}=n||{},o=t.map(e=>(function(e){let{login:t,email:n,url:r}=e,a={contributor:e,size:eb.BIG,inDetails:!0},i=l.createElement(eC,{avatarData:a});return l.createElement(ev.N,{href:r,key:`details-${t||n}`},l.createElement("div",{className:eS("details")},i,l.createElement("div",{className:eS("details_name")},ew(e,!0))))})(e));return l.createElement(eA.z,{anchorRef:r,open:a,onOutsideClick:()=>i(!1),className:eS("popup"),placement:ek.k.BOTTOM,hasArrow:!0},o)},eM=e=>{let{contributor:t,avatarSize:n}=e,r=(0,l.useRef)(null),[a,i]=(0,l.useState)(!1),o={changeVisiblilityPopup:e=>{void 0!==e?i(e):i(!a)},ref:r,isVisiblePopup:a},s=l.createElement(eC,{avatarData:{contributor:t,size:n},popupData:o});return l.createElement(l.Fragment,null,s,l.createElement(e_,{contributors:[t],popupData:o}))},ej=(0,o.default)("dc-contributor-avatars"),eO=e=>{let{contributors:t,avatarsSize:n}=e,r=t.length,a=(0,l.useRef)(null),[i,o]=(0,l.useState)(!1);if(0===r)return null;let s=r>9?"9+":`+${r}`;return l.createElement(l.Fragment,null,l.createElement("button",{className:ej("avatar",{size:n}),ref:a,onClick:e=>{o(!i),e.preventDefault()},"aria-expanded":i},s),l.createElement(e_,{contributors:t,popupData:{ref:a,isVisiblePopup:i,changeVisiblilityPopup:()=>o(!1)}}))},eR=(0,o.default)("dc-contributor-avatars"),eL=e=>{let{contributors:t,isAuthor:n=!1,onlyAuthor:r=!1}=e;if(!t||0===t.length)return null;if(1===t.length){var a,i,o;let e;return a=t[0],i=n,o=r,e={contributor:a,size:eb.SMALL},l.createElement("div",{className:eR("one_contributor",i?{onlyAuthor:o}:{})},function(e,t,n=!1){return l.createElement(ev.N,{href:t,extraProps:{tabIndex:e.contributor.avatar?void 0:-1}},l.createElement(eC,{avatarData:e,isRedirect:n}))}(e,a.url),l.createElement("div",null,l.createElement(ev.N,{href:a.url},ew(a,i))))}let s=[...t],c=s.splice(3),u=s.map(e=>{let{url:t,login:n,email:r}=e;return l.createElement(ev.N,{key:`displayed-contributors-${n||r}`,href:t,extraProps:{tabIndex:e.avatar?void 0:-1}},l.createElement(eM,{contributor:e,avatarSize:eb.SMALL}))}),d=l.createElement(eO,{contributors:c,avatarsSize:eb.SMALL});return l.createElement(l.Fragment,null,l.createElement("div",{className:eR("displayed_avatars")},u),l.createElement("div",{className:eR("hidden_avatars")},d))},eT=(0,o.default)("dc-contributors"),eN=e=>{let{users:t,onlyAuthor:n=!1,isAuthor:r=!1,translationName:a="contributors"}=e,{t:i}=(0,eg.B)(a);return l.createElement("div",{className:eT()},l.createElement("div",{className:eT("title")},i("title")),l.createElement(eL,{contributors:t,isAuthor:r,onlyAuthor:n}))},ez=n(76746),eD=n(26141),eP=n(25346),eB=n(73895),eI=n(93847),eH=n(43507),eV=n(65342),eq=n(99866),eF=(0,o.default)("dc-sidebar-navigation"),e$=({isSidebarOpened:e,onSidebarOpenedChange:t,mobileControlsData:n,children:r,className:a})=>{let i=(0,l.useCallback)(n=>{n.nativeEvent.stopImmediatePropagation(),t(!e)},[e,t]);return l.createElement("div",{className:eF()},l.createElement(V.$,{className:eF("button",a),onClick:i,view:"flat",size:"xl"},l.createElement(V.$.Icon,null,e?l.createElement(F.A,{width:20,height:20}):l.createElement(eH.A,{width:20,height:20}))),l.createElement(eV.A,{isOpened:e},l.createElement(eq.A,{mobileControlsData:n},l.createElement("nav",{className:eF("navigation")},r))))};let eU=function(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=function e(t){var n,r,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t)if(Array.isArray(t)){var i=t.length;for(n=0;n<i;n++)t[n]&&(r=e(t[n]))&&(a&&(a+=" "),a+=r)}else for(r in t)t[r]&&(a&&(a+=" "),a+=r);return a}(e))&&(r&&(r+=" "),r+=t);return r};var eG=(0,o.default)("dc-mini-toc"),eW=({headings:e,activeHeading:t,onItemClick:n})=>{let{t:r}=(0,eg.B)("mini-toc"),[a,i]=(0,l.useState)(!1),o=(0,l.useRef)(null),[s]=(0,l.useState)(()=>new WeakMap);return(0,l.useLayoutEffect)(()=>{var e,t,n,r;i((null!=(t=null==(e=o.current)?void 0:e.scrollHeight)?t:0)>(null!=(r=null==(n=o.current)?void 0:n.clientHeight)?r:0))},[e]),(0,l.useLayoutEffect)(()=>{let e=t&&s.get(t),n=o.current;if(!e||!n)return;let r=!(e.offsetTop>n.scrollTop&&e.offsetTop+e.clientHeight<n.scrollTop+n.clientHeight),a=e.offsetTop>n.scrollTop?1:-1,i=r?e.offsetTop+a*(n.clientHeight/2):0;r&&n.scroll({top:i,behavior:"smooth"})},[s,t]),e.length?l.createElement("nav",{className:eG(),"aria-label":r("article-navigation")},l.createElement("h2",{className:eG("title")},r("title"),":"),l.createElement("ul",{className:eU(eG("sections"),a&&"dc-mini-toc_overflowed"),"aria-label":r("description"),ref:o},e.map(e=>l.createElement("li",{key:e.href,"data-hash":e.href,onClick:n,className:eG("section",{child:e.isChild,active:e.href===(null==t?void 0:t.href)}),ref:t=>s.set(e,t)},l.createElement("a",{href:e.href,className:eG("section-link"),"data-router-shallow":!0},e.title)))),l.createElement("div",{className:eG("bottom")})):null},eK=n(48869),eZ=Object.defineProperty,eY=Object.defineProperties,eJ=Object.getOwnPropertyDescriptors,eX=Object.getOwnPropertySymbols,eQ=Object.prototype.hasOwnProperty,e0=Object.prototype.propertyIsEnumerable,e1=(e,t,n)=>t in e?eZ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,e5=(e,t)=>{for(var n in t||(t={}))eQ.call(t,n)&&e1(e,n,t[n]);if(eX)for(var n of eX(t))e0.call(t,n)&&e1(e,n,t[n]);return e},e2=(0,o.default)("dc-subnavigation"),e7={width:20,height:20},e3=(0,l.memo)(({pageTitle:e="",router:t,toc:n,keyDOM:r,headings:a,mobileControlsData:i,headerHeight:o,hideMiniToc:s,hideBurger:c,hideTocHeader:u,tocTitleIcon:d,onMiniTocItemClick:h})=>{var p;let f=(0,l.useRef)(null),v=(0,g.j)("toc"),[b,w]=(0,l.useState)(!1),{miniTocOpen:y,closeMiniToc:x,miniTocHandler:E}=((e,t)=>{let[n,r]=(0,l.useState)(!1),a=(0,l.useCallback)(()=>r(!1),[]),i=(0,l.useCallback)(()=>{r(!n)},[n]);return{miniTocOpen:n,closeMiniToc:a,miniTocHandler:(0,l.useMemo)(()=>e||t?()=>{}:i,[e,t,i])}})(s,b),[C,A]=((e,t)=>{let[n,r]=(0,l.useState)(!0),[a,i]=(0,l.useState)(void 0),[o,s]=(0,l.useState)("u"<typeof window?null:window.scrollY),c=(0,l.useCallback)(()=>{let l=window.scrollY;if(null===o)return s(l);if(t||e||l<55){if(n)return;return r(!0)}n&&l>o?r(!1):!n&&l<o&&r(!0);let c=Math.abs(l-o);a||c<55||(s(l),i(window.setTimeout(()=>{window.clearTimeout(a),i(void 0)},300)))},[t,e,n,o,a]),u=(0,l.useCallback)(e=>r(e),[]);return(0,l.useEffect)(()=>{window.scrollY<55||(s(window.scrollY),i(window.setTimeout(()=>{s(window.scrollY),i(void 0)},100)))},[]),(0,l.useEffect)(()=>(window.addEventListener("scroll",c),()=>{window.removeEventListener("scroll",c)}),[c]),[n,u]})(b,y),{flatHeadings:k,activeHeading:S}=(({headings:e,rootRef:t})=>{var n;let r,[a,i]=(0,l.useState)(null),o=(0,l.useRef)(),s=(n=e=>{var t;for(let{target:n,isIntersecting:r}of e){let e=null==(t=o.current)?void 0:t.get(n);if(r&&e){i(e);break}}},(r=(0,l.useRef)(n)).current=n,(0,l.useCallback)((...e)=>r.current(...e),[])),c=(0,l.useMemo)(()=>(function e(t,n=!1){return t.reduce((t,{href:r,title:a,items:i})=>t.concat({title:a,href:r,isChild:n},e(i||[],!0)),[])})(e),[e]);return(0,l.useEffect)(()=>{let e,n=(e=new Map,c.forEach(t=>{let n=document.getElementById((e=>{let[,t=""]=e.split("#");return t})(t.href));n&&e.set(n,t)}),e);o.current=n;let r=new IntersectionObserver(s,{root:null==t?void 0:t.current});return[...n.keys()].forEach(e=>r.observe(e)),()=>r.disconnect()},[t,c,s]),{flatHeadings:c,activeHeading:a}})({headings:a}),_=(0,l.useCallback)(e=>{h&&h(e),setTimeout(()=>{A(!1),x()},0)},[A,x,h]),M=(0,l.useCallback)(()=>{x(),w(!b)},[b,x]),j=!c&&l.createElement(e$,{isSidebarOpened:b,onSidebarOpenedChange:M,mobileControlsData:i},!v&&l.createElement("div",{className:e2("toc")},l.createElement(m.A,eY(e5({},n),eJ({tocTitleIcon:d,router:t,headerHeight:o,hideTocHeader:u}))))),O=l.createElement(ee,{size:"xl",view:"flat",iconSize:e7,className:e2("share-button",{invisible:b&&c}),title:e}),R=l.createElement("button",{className:e2("mini-toc-button",{disabled:b||s}),type:"button",disabled:b||s,onClick:E},!s&&l.createElement("div",{className:e2("icon")},l.createElement(eI.A,e5({},e7))),l.createElement("span",{className:e2("title",{single:!0})},null!=(p=null==S?void 0:S.title)?p:e)),L=!s&&l.createElement("div",{ref:f,className:e2("mini-toc",{open:y})},l.createElement(eW,{key:r,headings:k,activeHeading:S,onItemClick:_}));return l.createElement(eK.A,{className:e2("wrapper"),anchor:f,onOutsideClick:x},l.createElement("div",{ref:f,className:e2({invisible:!C,visible:!s&&C,hidden:s&&c})},j,R,O),!s&&L)});e3.displayName="SubNavigation";var e6=n(36635);function e4(){return(e4=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}n(74848);var e8=["shift","alt","meta","mod","ctrl"],e9={esc:"escape",return:"enter",".":"period",",":"comma","-":"slash"," ":"space","`":"backquote","#":"backslash","+":"bracketright",ShiftLeft:"shift",ShiftRight:"shift",AltLeft:"alt",AltRight:"alt",MetaLeft:"meta",MetaRight:"meta",OSLeft:"meta",OSRight:"meta",ControlLeft:"ctrl",ControlRight:"ctrl"};function te(e){return(e&&e9[e]||e||"").trim().toLowerCase().replace(/key|digit|numpad|arrow/,"")}function tt(e,t){return void 0===t&&(t=","),e.split(t)}function tn(e,t,n){void 0===t&&(t="+");var r=e.toLocaleLowerCase().split(t).map(function(e){return te(e)}),a={alt:r.includes("alt"),ctrl:r.includes("ctrl")||r.includes("control"),shift:r.includes("shift"),meta:r.includes("meta"),mod:r.includes("mod")},i=r.filter(function(e){return!e8.includes(e)});return e4({},a,{keys:i,description:n,hotkey:e})}"u">typeof document&&(document.addEventListener("keydown",function(e){void 0!==e.key&&ti([te(e.key),te(e.code)])}),document.addEventListener("keyup",function(e){void 0!==e.key&&tl([te(e.key),te(e.code)])})),"u">typeof window&&window.addEventListener("blur",function(){tr.clear()});var tr=new Set;function ta(e){return Array.isArray(e)}function ti(e){var t=Array.isArray(e)?e:[e];tr.has("meta")&&tr.forEach(function(e){return!e8.includes(e)&&tr.delete(e.toLowerCase())}),t.forEach(function(e){return tr.add(e.toLowerCase())})}function tl(e){var t=Array.isArray(e)?e:[e];"meta"===e?tr.clear():t.forEach(function(e){return tr.delete(e.toLowerCase())})}function to(e,t){void 0===t&&(t=!1);var n,r=e.target,a=e.composed,i=null;return(i=(n=r).tagName&&!n.tagName.startsWith("-")&&n.tagName.includes("-")&&a?e.composedPath()[0]&&e.composedPath()[0].tagName:r&&r.tagName,ta(t))?!!(i&&t&&t.some(function(e){var t;return e.toLowerCase()===(null==(t=i)?void 0:t.toLowerCase())})):!!(i&&t&&t)}var ts=function(e,t,n){void 0===n&&(n=!1);var r,a=t.alt,i=t.meta,l=t.mod,o=t.shift,s=t.ctrl,c=t.keys,u=e.key,d=e.code,h=e.ctrlKey,p=e.metaKey,f=e.shiftKey,m=e.altKey,g=te(d),v=u.toLowerCase();if(!(null!=c&&c.includes(g))&&!(null!=c&&c.includes(v))&&!["ctrl","control","unknown","meta","alt","shift","os"].includes(g))return!1;if(!n){if(!m===a&&"alt"!==v||!f===o&&"shift"!==v)return!1;if(l){if(!p&&!h)return!1}else if(!p===i&&"meta"!==v&&"os"!==v||!h===s&&"ctrl"!==v&&"control"!==v)return!1}return!!(c&&1===c.length&&(c.includes(v)||c.includes(g)))||(c?(void 0===r&&(r=","),(ta(c)?c:c.split(r)).every(function(e){return tr.has(e.trim().toLowerCase())})):!c||!1)},tc=(0,l.createContext)(void 0),tu=(0,l.createContext)({hotkeys:[],enabledScopes:[],toggleScope:function(){},enableScope:function(){},disableScope:function(){}}),td=function(e){e.stopPropagation(),e.preventDefault(),e.stopImmediatePropagation()},th="u">typeof window?l.useLayoutEffect:l.useEffect;function tp(e,t,n,r){var a,i=(0,l.useState)(null),o=i[0],s=i[1],c=(0,l.useRef)(!1),u=n instanceof Array?r instanceof Array?void 0:r:n,d=ta(e)?e.join(null==u?void 0:u.splitKey):e,h=n instanceof Array?n:r instanceof Array?r:void 0,p=(0,l.useCallback)(t,null!=h?h:[]),f=(0,l.useRef)(p);h?f.current=p:f.current=t;var m=(!function e(t,n){return t&&n&&"object"==typeof t&&"object"==typeof n?Object.keys(t).length===Object.keys(n).length&&Object.keys(t).reduce(function(r,a){return r&&e(t[a],n[a])},!0):t===n}((a=(0,l.useRef)(void 0)).current,u)&&(a.current=u),a.current),g=(0,l.useContext)(tu).enabledScopes,v=(0,l.useContext)(tc);return th(function(){var e;if((null==m?void 0:m.enabled)!==!1&&(e=null==m?void 0:m.scopes,0===g.length&&e?(console.warn('A hotkey has the "scopes" option set, however no active scopes were found. If you want to use the global scopes feature, you need to wrap your app in a <HotkeysProvider>'),!0):!e||g.some(function(t){return e.includes(t)})||g.includes("*"))){var t=function(e,t){var n;if(void 0===t&&(t=!1),!to(e,["input","textarea","select"])||to(e,null==m?void 0:m.enableOnFormTags)){if(null!==o){var r=o.getRootNode();if((r instanceof Document||r instanceof ShadowRoot)&&r.activeElement!==o&&!o.contains(r.activeElement))return void td(e)}(null==(n=e.target)||!n.isContentEditable||null!=m&&m.enableOnContentEditable)&&tt(d,null==m?void 0:m.splitKey).forEach(function(n){var r,a,i,l=tn(n,null==m?void 0:m.combinationKey);if(ts(e,l,null==m?void 0:m.ignoreModifiers)||null!=(i=l.keys)&&i.includes("*")){if(null!=m&&null!=m.ignoreEventWhen&&m.ignoreEventWhen(e)||t&&c.current)return;if(("function"==typeof(r=null==m?void 0:m.preventDefault)&&r(e,l)||!0===r)&&e.preventDefault(),"function"==typeof(a=null==m?void 0:m.enabled)?!a(e,l):!0!==a&&void 0!==a)return void td(e);f.current(e,l),t||(c.current=!0)}})}},n=function(e){void 0!==e.key&&(ti(te(e.code)),((null==m?void 0:m.keydown)===void 0&&(null==m?void 0:m.keyup)!==!0||null!=m&&m.keydown)&&t(e))},r=function(e){void 0!==e.key&&(tl(te(e.code)),c.current=!1,null!=m&&m.keyup&&t(e,!0))},a=o||(null==u?void 0:u.document)||document;return a.addEventListener("keyup",r,null==u?void 0:u.eventListenerOptions),a.addEventListener("keydown",n,null==u?void 0:u.eventListenerOptions),v&&tt(d,null==m?void 0:m.splitKey).forEach(function(e){return v.addHotkey(tn(e,null==m?void 0:m.combinationKey,null==m?void 0:m.description))}),function(){a.removeEventListener("keyup",r,null==u?void 0:u.eventListenerOptions),a.removeEventListener("keydown",n,null==u?void 0:u.eventListenerOptions),v&&tt(d,null==m?void 0:m.splitKey).forEach(function(e){return v.removeHotkey(tn(e,null==m?void 0:m.combinationKey,null==m?void 0:m.description))})}}},[o,d,m,g]),s}var tf=n(25625),tm=Object.defineProperty,tg=Object.getOwnPropertySymbols,tv=Object.prototype.hasOwnProperty,tb=Object.prototype.propertyIsEnumerable,tw=(e,t,n)=>t in e?tm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ty=(0,o.default)("dc-search-bar"),tx=()=>{},tE=(0,l.memo)(e=>{let{t}=(0,eg.B)("search-bar"),{searchQuery:n,searchCurrentIndex:r,searchCountResults:a,onClickPrevSearch:i=tx,onClickNextSearch:o=tx,onCloseSearchBar:s=tx}=e,c={enabled:!0,preventDefault:!0},u="⇧+enter",d="enter";return tp(u,i,c,[i]),tp(d,o,c,[o]),l.createElement("div",{className:ty()},l.createElement("div",{className:ty("left")},l.createElement("div",{className:ty("navigation")},l.createElement(tf.A,{onClick:i,tooltipText:`${t("prev")} (${u})`,icon:e6.A}),l.createElement("span",{className:ty("counter")},r,"/",a),l.createElement(tf.A,{onClick:o,tooltipText:`${t("next")} (${d})`,icon:e=>l.createElement(e6.A,((e,t)=>{for(var n in t||(t={}))tv.call(t,n)&&tw(e,n,t[n]);if(tg)for(var n of tg(t))tb.call(t,n)&&tw(e,n,t[n]);return e})({className:ty("next-arrow")},e))})),l.createElement("span",{className:ty("search-query-label")},t("search-query-label"),":\xa0"),l.createElement("span",{className:ty("search-query")},n)),l.createElement("div",{className:ty("right")},l.createElement(tf.A,{size:ec.Uv.M,onClick:s,tooltipText:t("close"),icon:F.A})))});tE.displayName="DCSearchBar";var tC=n(7350),tA=n.n(tC),tk="dc-search-highlighted",tS="dc-search-highlighted_selected",t_={element:"span",className:tk,exclude:[`.${tk}`,"svg *"]},tM=n(25380);function tj(e,t=0){return Math.floor(Number(e.getBoundingClientRect().top))-t}function tO({elements:e,offset:t=0,top:n=0,bottom:r=1/0,reverse:a=!1}){let i;for(let l=0;l<e.length;l++){let o=tj(e[l],t);if(o>=n&&o<=r&&(i=l+1,!a))break}return i}function tR({highlightedDOMElements:e,headerHeight:t,hash:n}){let r=0;if(n&&"u">typeof document){let e=document.getElementById(n);e&&(r=tj(e,t))}let a=tO({top:r,elements:e,offset:t}),i=tO({top:r+window.innerHeight,elements:e,offset:t}),l=tO({top:-1/0,bottom:r,reverse:!0,elements:e,offset:t});return a||i||l}var tL=Object.defineProperty,tT=Object.defineProperties,tN=Object.getOwnPropertyDescriptors,tz=Object.getOwnPropertySymbols,tD=Object.prototype.hasOwnProperty,tP=Object.prototype.propertyIsEnumerable,tB=(e,t,n)=>t in e?tL(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tI=(e,t)=>{for(var n in t||(t={}))tD.call(t,n)&&tB(e,n,t[n]);if(tz)for(var n of tz(t))tP.call(t,n)&&tB(e,n,t[n]);return e},tH=n(12517),tV=n(94084),tq=n(56701),tF=n(27039),t$=Object.defineProperty,tU=Object.defineProperties,tG=Object.getOwnPropertyDescriptors,tW=Object.getOwnPropertySymbols,tK=Object.prototype.hasOwnProperty,tZ=Object.prototype.propertyIsEnumerable,tY=(e,t,n)=>t in e?t$(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tJ=(0,o.default)("dc-nav-toc-panel"),tX=(0,l.memo)(({item:e,isNext:t,onClick:n})=>{let{t:r}=(0,eg.B)("toc-nav-panel"),a=t?"hint_next":"hint_previous",i=e&&nh(e.href),o={href:null==e?void 0:e.href,target:i?"_blank":"_self",rel:i?"noopener noreferrer":void 0};return l.createElement("div",{className:tJ("control",{left:!t,right:t})},e&&l.createElement(l.Fragment,null,l.createElement("div",{className:tJ("control-hint")},r(a)),l.createElement("div",{className:tJ("control-text"),onClick:n},l.createElement("a",tU(((e,t)=>{for(var n in t||(t={}))tK.call(t,n)&&tY(e,n,t[n]);if(tW)for(var n of tW(t))tZ.call(t,n)&&tY(e,n,t[n]);return e})({},o),tG({className:tJ("link"),"data-router-shallow":!0})),!t&&l.createElement(tH.A,{width:24,height:24}),l.createElement("div",{className:tJ("control-name")},e.name),t&&l.createElement(tV.A,{width:24,height:24})))))});tX.displayName="TocNavControl";var tQ=(0,l.memo)(({items:e,router:t,fixed:n,className:r,onClick:a})=>{let i=(0,tq.s)(),o=(0,l.useMemo)(()=>(function e(t){return t.reduce((t,{href:n,name:r,items:a})=>(n&&t.push({name:r,href:n}),t.concat(e(a||[]))),[])})(e||[]),[e]),{prevItem:s,nextItem:c}=(0,l.useMemo)(()=>(function(e,t){for(let n=0;n<e.length;n++){let{href:r}=e[n];if(nd(t,r))return{prevItem:e[n-1]||null,nextItem:e[n+1]||null}}return{prevItem:null,nextItem:null}})(o,t),[o,t]),u=(0,l.useCallback)(e=>{let t="prev"===e?tF.Q.DOCS_FOOTER_PREV_CLICK:tF.Q.DOCS_FOOTER_NEXT_CLICK;i.track(t),null==a||a(e)},[a,i]),d=(0,l.useCallback)(()=>u("prev"),[u]),h=(0,l.useCallback)(()=>u("next"),[u]);return o.length?l.createElement("div",{className:tJ({fixed:n},r)},l.createElement("div",{className:tJ("content")},l.createElement(tX,{item:s,onClick:d}),l.createElement(tX,{item:c,isNext:!0,onClick:h}))):null});tQ.displayName="TocNavPanel";var t0=n(12905),t1="en",t5=new Map,t2=(0,o.default)("dc-updated-at-date"),t7=(0,l.memo)(({updatedAt:e})=>{let{t}=(0,eg.B)("updated-at-date"),n=(0,l.useMemo)(()=>{let{localeCode:t}=(0,t0.zj)();return((e,t,n=t1)=>(function(e){if(!t5.has(e)){let t={longDate:new Intl.DateTimeFormat(e,{year:"numeric",month:"long",day:"numeric"}),shortDate:new Intl.DateTimeFormat(e,{year:"numeric",month:"numeric",day:"numeric"}),longMonthDay:new Intl.DateTimeFormat(e,{month:"long",day:"numeric"}),shortMonthDay:new Intl.DateTimeFormat(e,{month:"numeric",day:"numeric"}),longDateTime:new Intl.DateTimeFormat(e,{year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric"}),shortDateTime:new Intl.DateTimeFormat(e,{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric"}),shortTime:new Intl.DateTimeFormat(e,{hour:"numeric",minute:"numeric"}),nanoTime:new Intl.DateTimeFormat(e,{minute:"numeric",second:"numeric"}),year:new Intl.DateTimeFormat(e,{year:"numeric"})};t5.set(e,t)}return t5.get(e)})(n)[t].format(new Date(e)))(e,"longDate",t)},[e]);return l.createElement("div",{className:t2()},l.createElement("div",{className:t2("wrapper")},t("title")," ",n))}),t3=({html:e,forwardRef:t,className:n=""})=>{let r=(0,l.useMemo)(()=>({__html:e}),[e]);return l.createElement("div",{ref:t,className:n,dangerouslySetInnerHTML:r})},t6=n(86639),t4=e=>{let t=(0,l.useContext)(t6.W),n=(0,l.useMemo)(()=>t.reduce((e,t)=>t(e),t3),[t]);return l.createElement(n,e)},t8=Object.defineProperty,t9=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,nt=Object.getOwnPropertySymbols,nn=Object.prototype.hasOwnProperty,nr=Object.prototype.propertyIsEnumerable,na=(e,t,n)=>t in e?t8(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ni=(e,t,n)=>na(e,"symbol"!=typeof t?t+"":t,n),nl=(0,o.default)("dc-doc-page"),no=class extends l.Component{constructor(e){super(e),ni(this,"state"),ni(this,"bodyRef",null),ni(this,"bodyObserver",null),ni(this,"handleBodyMutation",e=>{let{onContentMutation:t,onContentLoaded:n}=this.props;this.props.singlePage&&this.bodyObserver&&this.bodyRef&&(this.bodyObserver.disconnect(),this.addLinksToOriginalArticle(),this.bodyObserver.observe(this.bodyRef,{childList:!0,subtree:!0})),t&&setTimeout(t,0),this.setState({loading:!1}),n&&setTimeout(()=>{e.filter(({type:e})=>"childList"===e).forEach(e=>{Array.from(e.target.querySelectorAll("img")).forEach(e=>{e.addEventListener("load",n,!1)})})},0)}),ni(this,"setBodyRef",e=>{this.bodyRef=e}),ni(this,"addLinksToOriginalArticle",()=>{let{singlePage:e,generatePathToVcs:t}=this.props;if(this.bodyRef&&e)for(let e of Array.from(this.bodyRef.querySelectorAll("[data-original-article]"))){for(let t of Array.from(e.querySelectorAll(".yfm-anchor")))t.classList.contains("yfm-original-link")||t.classList.add("yfm-anchor_hidden");"function"==typeof t&&e.classList.add(nl("header-container"))}}),ni(this,"getIsVerticalView",()=>{let{fullScreen:e}=this.props;return!this.showMiniToc||e}),ni(this,"renderSearchBar",()=>{let{showSearchBar:e,searchQuery:t,searchCurrentIndex:n,searchCountResults:r,onClickPrevSearch:a,onClickNextSearch:i,onCloseSearchBar:o,singlePage:s}=this.props,{isHidden:c}=this.context;return c("toc")||!e||s?null:l.createElement("div",{className:nl("search-bar")},l.createElement(tE,{searchCurrentIndex:n,searchCountResults:r,onClickPrevSearch:a,onClickNextSearch:i,onCloseSearchBar:o,searchQuery:t}))}),this.state={loading:e.singlePage,keyDOM:nm()}}componentDidMount(){let{singlePage:e}=this.props;e&&this.addLinksToOriginalArticle(),this.setState({loading:!1}),this.addBodyObserver()}componentDidUpdate(e){e.singlePage!==this.props.singlePage&&this.setState({loading:!0}),e.html!==this.props.html&&this.setState({keyDOM:nm()})}componentWillUnmount(){this.bodyObserver&&this.bodyObserver.disconnect()}render(){let{toc:e,router:t,headings:n,lang:r,langs:a,theme:i,title:o,headerHeight:s,wideFormat:c,fullScreen:u,singlePage:d,tocTitleIcon:h,hideTocHeader:p,hideToc:m,footer:g,onChangeSinglePage:v,pdfLink:b,pdfIconConfig:w,useMainTag:y,onChangeLang:x,onChangeTheme:E,onMiniTocItemClick:C,legacyToc:A,notification:k,notificationCb:S,availableLangs:_=[],beforeSubNavigationContent:j}=this.props,O=void 0!==s&&s>0,R={controlSize:ec.Uv.L,lang:r,userSettings:{langs:a,availableLangs:_,onChangeLang:x,theme:i,onChangeTheme:E}};return l.createElement(M,{toc:e,router:t,headerHeight:s,className:nl({"regular-page-width":!c,"full-screen":u,"single-page":d}),fullScreen:u,tocTitleIcon:h,wideFormat:c,hideTocHeader:p,hideToc:m,loading:this.state.loading,footer:g,singlePage:d,onChangeSinglePage:v,pdfLink:b,pdfIconConfig:w,legacyToc:A},l.createElement(M.Center,null,this.renderSearchBar(),l.createElement(U,{notification:k,notificationCb:S}),this.renderBreadcrumbs(),this.renderControls(),l.createElement("div",{className:nl("main")},l.createElement(f,{className:nl("content"),useMainTag:y},this.renderTitle(),this.renderPageContributors(),this.showMiniToc&&this.renderContentMiniToc(),this.renderBody(),this.renderFeedback()),this.renderTocNavPanel()),this.renderLoader(),this.renderSinglePageControls()),l.createElement(M.Right,null,l.createElement("div",{className:nl("aside"),key:np(this.showMiniToc,c,d)},j,l.createElement(e3,{router:t,toc:e,tocTitleIcon:h,keyDOM:this.state.keyDOM,pageTitle:o,headings:n,mobileControlsData:R,headerHeight:s,hideMiniToc:!this.showMiniToc,hideBurger:O,hideTocHeader:p,onMiniTocItemClick:C}))))}addBodyObserver(){this.bodyObserver||(this.bodyObserver=new MutationObserver(this.handleBodyMutation)),this.bodyRef&&this.bodyObserver.observe(this.bodyRef,{childList:!0,subtree:!0})}renderLoader(){let{renderLoader:e}=this.props,{loading:t}=this.state;return e&&t?l.createElement("div",{className:nl("loader-wrapper")},e()):null}renderSinglePageControls(){let{singlePage:e,convertPathToOriginalArticle:t,generatePathToVcs:n,vcsType:r}=this.props;return this.bodyRef&&e?Array.from(this.bodyRef.querySelectorAll("[data-original-article]")).reduce((e,a,i)=>{let o=nf(t,a.getAttribute("data-original-article")||"");if(o&&a){let t=nf(n,o);e.push((0,eo.createPortal)(l.createElement(l.Fragment,null,l.createElement("a",{className:"yfm-anchor yfm-original-link",href:o},l.createElement(el.A,null)),t&&l.createElement(ez.A,{vcsUrl:t,vcsType:r,view:"wide",className:nl("edit-button")})),a,"key-"+i))}return e},[]):null}get showMiniToc(){let{showMiniToc:e,singlePage:t,headings:n,toc:r}=this.props;if(t)return!1;let a=0===n.length||r.singlePage,i=1===n.length&&n[0].items&&n[0].items.length>=1;return!a&&!!(i||n.length>=2)&&e}renderBreadcrumbs(){let{breadcrumbs:e}=this.props;return!e||e.length<2?null:l.createElement("div",{className:nl("breadcrumbs")},l.createElement(em,{items:e}))}renderTitle(){let{title:e,meta:t,bookmarkedPage:n,onChangeBookmarkPage:r,isMobile:a,headerHeight:i}=this.props,o=a&&Number(i)>0&&!this.showMiniToc;return e?l.createElement(B,{stage:t.stage,className:nl("title")},l.createElement(I.g,null,e),r&&l.createElement(ep,{isBookmarked:!!n,onBookmark:r}),o&&l.createElement(ee,{className:nl("share-button"),title:e})):null}renderPageContributors(){var e;let{meta:t,hideContributors:n}=this.props;if(n)return null;let r=this.renderAuthor(!(null==(e=null==t?void 0:t.contributors)?void 0:e.length)),a=this.renderContributors(),i=this.renderUpdatedAt(null==t?void 0:t.updatedAt);return l.createElement("div",{className:nl("page-contributors")},r,a,i)}renderUpdatedAt(e){return e?l.createElement(t7,{updatedAt:e}):null}renderAuthor(e){let{meta:t}=this.props;return nv(null==t?void 0:t.author)?l.createElement(eN,{users:[t.author],onlyAuthor:e,translationName:"authors",isAuthor:!0}):null}renderContributors(){let{meta:e}=this.props;return(null==e?void 0:e.contributors)&&0!==e.contributors.length?l.createElement(eN,{users:e.contributors}):null}renderContentMiniToc(){let{headings:e}=this.props;return l.createElement("div",{className:nl("content-mini-toc","yfm")},l.createElement("ul",null,e.map(({title:e,href:t,level:n,items:r},a)=>2!==n?null:l.createElement("li",{key:a},l.createElement("a",{href:t},e),r&&l.createElement("ul",null,r.map(({title:e,href:t,level:n},r)=>3!==n?null:l.createElement("li",{key:r},l.createElement("a",{href:t},e))))))))}renderBody(){let{html:e,mdxArtifacts:t,textSize:n}=this.props;return e?l.createElement(t4,{forwardRef:this.setBodyRef,className:nl("body",{"text-size":n},"yfm"),html:e,mdxArtifacts:t}):null}renderFeedback(){let{singlePage:e,isLiked:t,isDisliked:n,onSendFeedback:r,hideFeedback:a,hideFeedbackControls:i}=this.props,{isHidden:o}=this.context,s=o("feedback");return a||s||e||i||!r?null:l.createElement("div",{className:nl("feedback")},l.createElement(eB.A,{isLiked:t,isDisliked:n,onSendFeedback:r,view:eB.z.Wide}))}renderTocNavPanel(){let{toc:e,singlePage:t,router:n,fullScreen:r,onTocNavPanelClick:a}=this.props,{isHidden:i}=this.context;return i("toc")||!e||t?null:l.createElement(tQ,t9(((e,t)=>{for(var n in t||(t={}))nn.call(t,n)&&na(e,n,t[n]);if(nt)for(var n of nt(t))nr.call(t,n)&&na(e,n,t[n]);return e})({},e),ne({onClick:a,router:n,fixed:r,className:nl("toc-nav-panel")})))}isEditable(){let{toc:e,meta:t,vcsUrl:n,vcsType:r}=this.props;return!!("preview"!==e.stage&&"preview"!==t.stage&&!1!==t.editable&&!1!==e.editable&&n&&r)}renderControls(){let{lang:e,langs:t,textSize:n,theme:r,wideFormat:a,fullScreen:i,singlePage:o,vcsUrl:s,vcsType:c,onChangeLang:u,onChangeFullScreen:d,onChangeWideFormat:h,onChangeShowMiniToc:p,onChangeTheme:f,onChangeTextSize:m,onSendFeedback:g,onSubscribe:v,isLiked:b,isDisliked:w,hideControls:y,hideEditControl:x,hideFeedbackControls:E,availableLangs:C=[]}=this.props;if(y)return null;let A=this.getIsVerticalView();return l.createElement("div",{className:nl("controls",{vertical:A})},l.createElement(eD.n,{isVerticalView:A},l.createElement(eP.A,{lang:e,langs:t,textSize:n,theme:r,wideFormat:a,showMiniToc:this.showMiniToc,fullScreen:i,singlePage:o,vcsUrl:s,vcsType:c,isLiked:b,isDisliked:w,onChangeLang:u,onChangeFullScreen:d,onChangeWideFormat:h,onChangeShowMiniToc:p,onChangeTheme:f,onChangeTextSize:m,onSendFeedback:g,onSubscribe:v,hideEditControl:x||i||!this.isEditable(),hideFeedbackControls:E,availableLangs:C})))}};ni(no,"defaultProps",s.a$),ni(no,"contextType",es.Z);var ns=(r=e=>{let{html:t,searchWords:n=[],showSearchBar:r=!1,onCloseSearchBar:a,onNotFoundWords:i=()=>{},onContentMutation:o,onContentLoaded:s,headerHeight:c=0,router:{hash:u}}=e,[d,h]=(0,l.useState)(!0),p=(0,l.useCallback)(()=>h(!1),[]);(0,l.useEffect)(()=>{h(!1)},[t,n]);let{highlightedHtml:f,highlightedDOMElements:m,searchBarIsVisible:g,wasChangedDOM:v,onContentMutation:b,onContentLoaded:w}=function({html:e,searchWords:t,showSearchBar:n,onContentMutation:r,onContentLoaded:a,onNotFoundWords:i}){var o,s,c;let u,d=function(e,t,n){let[r,a]=(0,l.useState)(e);return(0,l.useEffect)(()=>{if(!t.length||!n)return void a(e);let r=function({html:e,keywords:t,options:n}){let r=document.createElement("div");return r.innerHTML=e,new tM.default(r).mark(t,n),r.innerHTML}({html:e,keywords:t,options:t_});r.includes(tk)?a(r):a(e)},[e,t,n]),r}(e,t,n),{wasChangedDOM:h,onContentMutation:p,onContentLoaded:f}=function({onContentMutation:e,onContentLoaded:t}){let[n,r]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{n&&r(!1)},[n]),{wasChangedDOM:n,onContentMutation:(0,l.useCallback)(()=>{e&&e(),r(!0)},[e]),onContentLoaded:(0,l.useCallback)(()=>{t&&t(),r(!0)},[t])}}({onContentMutation:r,onContentLoaded:a}),m=(o=d,s=h,c=n,u=(0,l.useRef)([]),((0,l.useEffect)(()=>{u.current=[]},[o]),(0,l.useEffect)(()=>{s&&(u.current=[])},[s]),u.current.length)?u.current:!c||"u"<typeof document?[]:(u.current=Array.from(document.querySelectorAll(`.${tk}`)),u.current)),g=function({showSearchBar:e,searchWords:t,highlightedHtml:n,html:r}){let[a,i]=(0,l.useState)(e);return(0,l.useEffect)(()=>{i(e&&!!(t&&t.length)&&n!==r)},[e,t,n,r]),a}({showSearchBar:n,searchWords:t,highlightedHtml:d,html:e});return function({showSearchBar:e,highlightedDOMElements:t,onNotFoundWords:n}){(0,l.useEffect)(()=>{n&&e&&!t.length&&n()},[t,e,n])}({highlightedDOMElements:m,showSearchBar:n,onNotFoundWords:i}),{highlightedHtml:d,highlightedDOMElements:m,searchBarIsVisible:g,wasChangedDOM:h,onContentMutation:p,onContentLoaded:f}}({html:t,searchWords:n,showSearchBar:r,onContentMutation:o,onContentLoaded:s,onNotFoundWords:i}),{searchCurrentIndex:y,setSearchCurrentIndex:x,searchCountResults:E,onClickPrevSearch:C,onClickNextSearch:A}=function({highlightedDOMElements:e,stopSyncOnScroll:t,headerHeight:n,hash:r}){let[a,i]=(0,l.useState)(1),[o,s]=(0,l.useState)(1);(0,l.useEffect)(()=>{i(tR({highlightedDOMElements:e,headerHeight:n,hash:r})||1),s(e.length||1)},[e,n,r]);let c=(0,l.useCallback)(n=>{if(n.stopPropagation(),n.preventDefault(),t(),!e.length)return;let r=a+1;r>e.length&&(r=1),i(r)},[e,a,i,t]),u=(0,l.useCallback)(n=>{if(n.stopPropagation(),n.preventDefault(),t(),!e.length)return;let r=a-1;r<1&&(r=e.length),i(r)},[e,a,i,t]);return{searchCurrentIndex:a,setSearchCurrentIndex:i,searchCountResults:o,onClickPrevSearch:u,onClickNextSearch:c}}({highlightedDOMElements:m,stopSyncOnScroll:p,headerHeight:c,hash:u});if(!function({searchCurrentIndex:e,highlightedDOMElements:t,wasChangedDOM:n,syncOnScroll:r,hash:a}){(0,l.useEffect)(()=>{try{if(!t||!t.length)return;for(let e=0;e<t.length;e++)t[e].classList.remove(tS);t[e-1].classList.add(tS)}catch(e){console.error(e)}},[t,e,n]),(0,l.useEffect)(()=>{if(!r){var n;(n=t[e-1])&&n.scrollIntoView({block:"center",inline:"center"})}},[n,e,t,r,a])}({searchCurrentIndex:y,highlightedDOMElements:m,wasChangedDOM:v,syncOnScroll:d,hash:u}),!function({highlightedDOMElements:e,searchWords:t,syncOnScroll:n,searchBarIsVisible:r,setSearchCurrentIndex:a,headerHeight:i,setSyncOnScroll:o}){let s=(0,l.useRef)(),c=(0,l.useCallback)(()=>{if(s.current&&clearTimeout(s.current),s.current=setTimeout(()=>{o(!0)},50),!n||!r)return;let t=tR({highlightedDOMElements:e,headerHeight:i});isNaN(t)||a(t)},[o,r,n,a,e,i]),u=tA()(c,50);(0,l.useEffect)(()=>(r&&window.addEventListener("scroll",u),()=>{window.removeEventListener("scroll",u)}),[r,t,u])}({highlightedDOMElements:m,searchWords:n,syncOnScroll:d,searchBarIsVisible:g,setSearchCurrentIndex:x,headerHeight:c,setSyncOnScroll:h}),g)return l.createElement(no,tT(tI({},e),tN({html:f,onContentMutation:b,onContentLoaded:w,searchCurrentIndex:y,searchCountResults:E,onCloseSearchBar:a,onClickPrevSearch:C,onClickNextSearch:A})));return l.createElement(no,tT(tI({},e),tN({showSearchBar:!1})))},e=>{let{useSearchBar:t=!1}=e;return t?l.createElement(r,tI({},e)):l.createElement(no,tI({},e))});function nc(e){return e?e.replace(/^\//,"").replace(/\.html(\?.*)?$/,"$1").replace(/\/index(\?.*)?$/,"/$1"):e}function nu(e){return e&&e.startsWith("#")?e.substring(1):e}function nd(e,t,n){return n?nu(e.hash)===nu((0,i.parse)(t).hash):nc(e.pathname)===nc((0,i.parse)(t).pathname)}function nh(e){return e.startsWith("http")||e.startsWith("//")}function np(e,t,n){return[e?"showMiniToc":"",t?"wideFormat":"",n?"singlePage":""].join("|")}function nf(e,t){if("function"==typeof e)return e(t);if(void 0===e)return t;throw Error("Path converter should be a function")}var nm=()=>Math.random();function ng(e){return!/\S+@\S+/.test(e)}function nv(e){if(!e||"object"!=typeof e)return!1;for(let t of["avatar","login","url","name","email"])if(t in e)return!0;return!1}var nb=(e,t)=>e&&"rtl"===t?ek.k.RIGHT_START:e?ek.k.LEFT_START:ek.k.BOTTOM_END;function nw(e){return({[ec.KG.Base]:ns,[ec.KG.Leading]:ei,[ec.KG.PageConstructor]:R})[e]||null}function ny({data:e,leading:t}){return t&&e?Object.prototype.hasOwnProperty.call(e,"blocks")?ec.KG.PageConstructor:ec.KG.Leading:ec.KG.Base}function nx(e,t){var n;return e+16*!!(null==(n=t.options)?void 0:n.tld)}function nE(e,t){return t.reduce((t,n)=>t+nx(e,n),0)}},89457(e,t,n){"use strict";n.d(t,{l:()=>a});var r=n(96540);function a(e){let t=function(){let[e,t]=(0,r.useState)(null),n=(0,r.useCallback)(async t=>{if(e)return e.run(t)},[e]);return(0,r.useEffect)(()=>((window.latexJsonp=window.latexJsonp||[]).push(t),()=>{let e=window.latexJsonp.indexOf(t);e>-1&&window.latexJsonp.splice(e,1)}),[]),n}();return(0,r.useEffect)(()=>{t(e).catch(e.onError||(()=>{}))}),null}},58498(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);function a(e){var t,n;let a=function(){let[e,t]=(0,r.useState)(null),n=(0,r.useCallback)(async(t,n)=>{if(e)return e.initialize(t),e.run(n)},[e]);return(0,r.useEffect)(()=>((window.mermaidJsonp=window.mermaidJsonp||[]).push(t),()=>{let e=window.mermaidJsonp.indexOf(t);e>-1&&window.mermaidJsonp.splice(e,1)}),[]),n}(),i=(t=["querySelector","nodes","nonce","onError"],Object.keys(e).reduce((n,r)=>(t.includes(r)||(n[r]=e[r]),n),{})),l=(n=["querySelector","nodes","nonce"],Object.keys(e).reduce((t,r)=>(n.includes(r)&&(t[r]=e[r]),t),{}));return(0,r.useEffect)(()=>{a(i,l).catch(e.onError||(()=>{}))}),null}},13700(e,t,n){"use strict";let r,a,i;n.d(t,{v:()=>e7});var l=n(96540),o=n(40961),s=n(81988),c=n(68506),u=n(68472),d=n(32565),h=n(27087),p=n(74848),f=n(54699),m=n(37242);let g={pc:{NormalizeMap:{arrowup:"up",arrowdown:"down",arrowleft:"left",arrowright:"right",esc:"escape",return:"enter",mod:"ctrl",control:"ctrl",opt:"alt",option:"alt",cmd:"ctrl",command:"ctrl"},Priority:{shift:200,alt:300,ctrl:400},DisplayName:{up:"↑",down:"↓",left:"←",right:"→",escape:"Esc",plus:"+",minus:"-",enter:"Enter",ctrl:"Ctrl",alt:"Alt",shift:"Shift",tab:"Tab",backspace:"Backspace"}},mac:{NormalizeMap:{arrowup:"up",arrowdown:"down",arrowleft:"left",arrowright:"right",esc:"escape",enter:"return",mod:"command",ctrl:"control",alt:"option",opt:"option",cmd:"command"},Priority:{command:100,shift:200,option:300,control:400},DisplayName:{up:"▲",down:"▼",left:"◀",right:"▶",escape:"esc",plus:"+",minus:"-",return:"⏎",command:"⌘",option:"⌥",control:"⌃",shift:"⇧",backspace:"⌫",tab:"⇥"}}};var v=n(14792),b=n(50014);function w(e,t){return e.trim().split(t).filter(Boolean)}let y=/\s/;function x(e){return e.displayName??v(e.id)}let E=(0,f.om)("hotkey"),C={BetweenGroups:String.fromCharCode(160),BetweenKeys:String.fromCharCode(8239)},A=l.forwardRef(function(e,t){var n,r;let{value:a,platform:i,view:l="light",qa:o,style:s,className:c,...u}=e,d=(n=a,r=g[({platform:i}).platform??("u">typeof navigator&&/Mac|iP(hone|[oa]d)/.test(navigator.platform)?"mac":"pc")],w(n,y).map(e=>{var t;return b(w(e,"+").map((t=r,function(e){var n,r;let a=(n=t,r=(r=e).toLowerCase(),n.NormalizeMap[r]??r);return{raw:e,id:a,priority:t.Priority[a]??0,displayName:t.DisplayName[a]}})).sort((e,t)=>t.priority-e.priority),e=>e.id).map(x)})),h=[],f=!1;return(d.forEach((e,t)=>{0!==e.length&&(f?h.push(C.BetweenGroups):f=!0,e.forEach((e,n)=>{0!==n&&h.push(C.BetweenKeys,(0,p.jsx)("span",{className:E("plus"),children:"+"},`${e}_${t}_${n}_plus`),C.BetweenKeys),h.push((0,p.jsx)("kbd",{children:e},`${e}_${t}_${n}`))}))}),0===h.length)?null:(0,p.jsx)("kbd",{...(0,m.$)(u,{labelable:!0}),ref:t,style:s,"data-qa":o,className:E({view:l},c),children:h})});var k=n(176),S=n(34743),_=n(95419),M=n(72835),j=n(26812),O=n(29548),R=n(18325),L=n(77753);let T=(0,f.om)("tooltip");function N({children:e,open:t,onOpenChange:n,strategy:r,placement:a="bottom",offset:i=4,disabled:o,content:s,trigger:c,role:u="tooltip",openDelay:d=1e3,closeDelay:h=0,container:f,disablePortal:g,className:v,style:b,qa:w,...y}){let[x,E]=l.useState(null),{placement:C,middleware:A}=(0,O.QT)(a,!1),[N,z]=(0,M.P)(t,!1,n),{refs:D,floatingStyles:P,context:B}=(0,k.we)({open:N,onOpenChange:z,strategy:r,placement:C,middleware:[(0,S.cY)(i),(0,S.BN)({padding:4,limiter:(0,S.ER)()}),A],whileElementsMounted:_.ll,elements:{reference:x}}),I=(0,k.Mk)(B,{enabled:"focus"!==c,delay:{open:d,close:h},move:!1}),H=(0,k.iQ)(B),V=(0,k.It)(B,{role:u}),q=(0,k.s9)(B,{outsidePress:!1,ancestorScroll:!0}),{getReferenceProps:F,getFloatingProps:$}=(0,k.bv)([I,H,V,q]),U=(0,j.N)(E,l.isValidElement(e)?(0,L.Q)(e):void 0),G=l.isValidElement(e)?F(e.props):F(),W=l.isValidElement(e)?l.cloneElement(e,{...G,ref:U}):e(G,U);return(0,p.jsxs)(l.Fragment,{children:[W,N&&!o?(0,p.jsx)(R.Z,{container:f,disablePortal:g,children:(0,p.jsx)("div",{ref:D.setFloating,style:{position:"absolute",top:0,left:0,zIndex:1e4,width:"max-content",...P},...$(),children:(0,p.jsx)("div",{className:T(null,v),style:b,"data-qa":w,...(0,m.$)(y,{labelable:!0}),children:s})})}):null]})}let z=(0,f.om)("action-tooltip");function D({title:e,description:t,hotkey:n,openDelay:r=500,closeDelay:a=0,className:i,...o}){let s=l.useMemo(()=>(0,p.jsxs)(l.Fragment,{children:[(0,p.jsxs)("div",{className:z("heading"),children:[(0,p.jsx)("div",{className:z("title"),children:e}),n&&(0,p.jsx)(A,{view:"dark",value:n,className:z("hotkey")})]}),t&&(0,p.jsx)("div",{className:z("description"),children:t})]}),[e,t,n]);return(0,p.jsx)(N,{...o,role:"label",content:s,openDelay:r,closeDelay:a,className:z(null,i)})}var P=n(49741),B=n(90132),I=n(17682),H=JSON.parse('{"startCopy":"Copy","endCopy":"Copied"}'),V=JSON.parse('{"startCopy":"Копировать","endCopy":"Скопировано"}');let q=(0,I.N)({en:H,ru:V},"ClipboardButton"),F=(0,f.om)("clipboard-button"),$={xs:12,s:16,m:16,l:16,xl:20},U=e=>{let{t}=q.useTranslation(),{size:n="m",hasTooltip:r=!0,tooltipInitialText:a=t("startCopy"),tooltipSuccessText:i=t("endCopy"),status:l,view:o="flat",children:c,iconPosition:u="start",closeDelay:d,icon:h,...f}=e,m=(0,p.jsx)(s.$.Icon,{className:F("icon"),children:h??(0,p.jsx)(P.u,{size:$[n],status:l})});return(0,p.jsx)(D,{title:"success"===l?i:a,disabled:!r,closeDelay:d,children:(0,p.jsxs)(s.$,{view:o,size:n,"aria-label":a,...f,children:["start"===u?m:null,c,"end"===u?m:null]})})};function G(e){let{text:t,timeout:n=1200,onCopy:r,hasTooltip:a=!0,onMouseEnter:i,onFocus:o,...s}=e,c=l.useRef(),[u,d]=l.useState(void 0),[h,f]=l.useState(!1);l.useEffect(()=>window.clearTimeout(c.current),[]);let m=l.useCallback((e,t)=>{r?.(e,t),f(!1),d(n),window.clearTimeout(c.current),c.current=window.setTimeout(()=>{f(!0)},n)},[r,n]),g=l.useCallback(()=>{h&&(f(!1),d(void 0))},[h]),v=l.useCallback(e=>{i?.(e),g()},[i,g]),b=l.useCallback(e=>{o?.(e),g()},[o,g]);return(0,p.jsx)(B.$,{text:t,timeout:n,onCopy:m,children:e=>(0,p.jsx)(U,{...s,closeDelay:u,hasTooltip:a&&!h,status:e,onMouseEnter:v,onFocus:b})})}var W=n(46281),K=n(75621),Z=n(79246),Y=n(53681);class J{nativeEvent;target;currentTarget;relatedTarget;bubbles;cancelable;defaultPrevented;eventPhase;isTrusted;timeStamp;type;constructor(e,t,n={}){this.nativeEvent=t,this.target=n.target??t.target,this.currentTarget=n.currentTarget??t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}}var X=n(83397),Q=n(30142),ee=n(16701);let et=(0,f.om)("radio"),en=l.forwardRef(function(e,t){let{size:n="m",disabled:r=!1,content:a,children:i,title:o,style:s,className:c,qa:u}=e,{checked:d,inputProps:h}=function({name:e,value:t,checked:n,defaultChecked:r,disabled:a,controlRef:i,controlProps:o,onUpdate:s,onChange:c,onFocus:u,onBlur:d,id:h}){let p=(0,Y.u)(),f=l.useRef(null),[m,g]=(0,M.P)(n,r??!1,s),v=(0,X.d)({initialValue:m,onReset:g}),b=(0,j.N)(i,f,v),w={...o,name:e||p,value:t,id:h,onFocus:u,onBlur:d,disabled:a,type:"radio",onChange:e=>{g(e.target.checked),c&&c(e)},onChangeCapture:e=>{Q.o.publish({componentId:"Radio",eventId:"click",domEvent:e})},checked:n,defaultChecked:r,ref:b};return{checked:m,inputProps:w}}(e),f=(0,p.jsxs)("span",{className:et("indicator"),children:[(0,p.jsx)("span",{className:et("disc")}),(0,p.jsx)("input",{...h,className:et("control")}),(0,p.jsx)("span",{className:et("outline")})]});return(0,p.jsx)(ee.m,{ref:t,title:o,style:s,size:n,disabled:r,className:et({size:n,disabled:r,checked:d},c),qa:u,control:f,children:a||i})}),er=(0,f.om)("radio-group"),ea=l.forwardRef(function(e,t){let{size:n="m",direction:r="horizontal",style:a,className:i,optionClassName:o,qa:s,children:c}=e,u=e.options;u||(u=l.Children.toArray(c).map(({props:e})=>({value:e.value,content:e.content||e.children,disabled:e.disabled,qa:e.qa})));let{containerProps:d,optionsProps:h}=function(e){let{name:t,value:n,defaultValue:r,options:a=[],disabled:i,onUpdate:o,onChange:s,onFocus:c,onBlur:u}=e,d=(0,Y.u)(),[h,p]=(0,M.P)(n,r??null,o),f=(0,X.d)({initialValue:h,onReset:p}),{focusWithinProps:g}=function(e){let{onFocusWithin:t,onBlurWithin:n,onFocusWithinChange:r,isDisabled:a}=e,i=l.useRef(!1),{onBlur:o,onFocus:s}=function({onFocus:e,onBlur:t,isDisabled:n}){let r,a=l.useRef(!1),i=l.useRef(null);l.useEffect(()=>{if(n)return;let e=function(){a.current=!1},r=function(e){!a.current&&i.current&&(t(new J("blur",new FocusEvent("blur",{...e,relatedTarget:e.target,bubbles:!1,cancelable:!1}),{target:i.current,currentTarget:i.current})),i.current=null)};return window.addEventListener("focus",e,{capture:!0}),window.addEventListener("focusin",r),()=>{window.removeEventListener("focus",e,{capture:!0}),window.removeEventListener("focusin",r)}},[n,t]);let o=l.useCallback(e=>{document.activeElement!==e.target&&(null===e.relatedTarget||e.relatedTarget===document.body||e.relatedTarget===document)&&(t(e),i.current=null)},[t]),s=(r=l.useRef({isFocused:!1,observer:null}),l.useEffect(()=>{let e=r.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]),l.useCallback(e=>{let n=e.target;if(n instanceof HTMLButtonElement||n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement||n instanceof HTMLSelectElement){r.current.isFocused=!0,n.addEventListener("focusout",e=>{r.current.isFocused=!1,n.disabled&&t?.(new J("blur",e)),r.current.observer&&(r.current.observer.disconnect(),r.current.observer=null)},{once:!0});let e=new MutationObserver(()=>{if(r.current.isFocused&&n.disabled){e.disconnect(),r.current.observer=null;let t=n===document.activeElement?null:document.activeElement;n.dispatchEvent(new FocusEvent("blur",{relatedTarget:t})),n.dispatchEvent(new FocusEvent("focusout",{relatedTarget:t,bubbles:!0}))}});e.observe(n,{attributes:!0,attributeFilter:["disabled"]}),r.current.observer=e}},[t]));return{onBlur:o,onFocus:l.useCallback(t=>{a.current=!0,i.current=t.target,s(t),e(t)},[s,e])}}({onFocus:l.useCallback(e=>{!i.current&&document.activeElement===e.target&&(i.current=!0,t&&t(e),r&&r(!0))},[t,r]),onBlur:l.useCallback(e=>{i.current&&(i.current=!1,n&&n(e),r&&r(!1))},[n,r]),isDisabled:a});return a?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:s,onBlur:o}}}({onFocusWithin:c,onBlurWithin:u}),v=l.useCallback(e=>{p(e.target.value),s&&s(e)},[s,p]),b=l.useMemo(()=>({name:t||d,currentValue:h,disabled:!!i,ref:f,onChange:v}),[d,h,i,f,v,t]);return{containerProps:{...(0,m.$)(e,{labelable:!0}),...g,role:"radiogroup","aria-disabled":i},optionsProps:a.map(e=>({name:t||d,value:e.value,content:e.content,title:e.title,checked:h===String(e.value),disabled:i||e.disabled,onChange:v,ref:f})),contextProps:b}}({...e,options:u});return(0,p.jsx)("div",{...d,ref:t,style:a,className:er({size:n,direction:r},i),"data-qa":s,children:h.map(e=>(0,l.createElement)(en,{...e,key:e.value,className:er("option",o),size:n}))})});ea.Option=en;var ei=n(22462),el=n(70900),eo=n(9439);let es=(0,f.om)("row"),ec=({children:e,style:t,className:n,space:r,spaceRow:a,qa:i})=>{let l,o,{getClosestMediaProps:s}=(0,el.L)();if("object"==typeof r){let e=s(r);void 0!==e&&(l=(0,eo.si)(e))}else void 0!==r&&(l=(0,eo.si)(r));if("object"==typeof a){let e=s(a);void 0!==e&&(o=(0,eo.si)(e))}else void 0!==a&&(o=String(a));return(0,p.jsx)("div",{style:t,className:es({s:l,sr:o},n),"data-qa":i,children:e})},eu=(0,f.om)("col"),ed=({size:e,children:t,style:n,className:r,qa:a,...i})=>{let l,o,{getClosestMediaProps:s}=(0,el.L)();Array.isArray(e)?[o,l]=e:"object"==typeof e?l=e||i:(o=e,l=i);let c=s(l);return(0,p.jsx)("div",{style:n,className:eu({size:void 0===c?o:(0,eo.si)(c)},r),"data-qa":a,children:t})};var eh=n(12015),ep=Object.create,ef=Object.defineProperty,em=Object.defineProperties,eg=Object.getOwnPropertyDescriptor,ev=Object.getOwnPropertyDescriptors,eb=Object.getOwnPropertyNames,ew=Object.getOwnPropertySymbols,ey=Object.getPrototypeOf,ex=Object.prototype.hasOwnProperty,eE=Object.prototype.propertyIsEnumerable,eC=(e,t,n)=>t in e?ef(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,eA=(e,t)=>{for(var n in t||(t={}))ex.call(t,n)&&eC(e,n,t[n]);if(ew)for(var n of ew(t))eE.call(t,n)&&eC(e,n,t[n]);return e},ek=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),eS=(e,t,n)=>eC(e,"symbol"!=typeof t?t+"":t,n),e_=(e,t,n)=>new Promise((r,a)=>{var i=e=>{try{o(n.next(e))}catch(e){a(e)}},l=e=>{try{o(n.throw(e))}catch(e){a(e)}},o=e=>e.done?r(e.value):Promise.resolve(e.value).then(i,l);o((n=n.apply(e,t)).next())}),eM=ek((e,t)=>{var n;n=function(){var e=[function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1);t.ERROR_BLOCK_NAME_TYPE="Block name should be a string",t.ERROR_BLOCK_NAME_EMPTY="Block name should be non-empty";var a={ns:"",el:"__",mod:"_",modValue:"_"},i=function(e){return"string"==typeof e},l=function(e){return"string"!=typeof e},o=function(e,t){for(var n=[],a=2;a<arguments.length;a++)n[a-2]=arguments[a];var i=r.assign({},t);return i.mixes=i.mixes.concat(n),d(i,e)},s=function(e,t,n){for(var a=[],i=3;i<arguments.length;i++)a[i-3]=arguments[i];var l=r.assign({},t),o=r.assign({},l.states||{});return o[n]=r.assign.apply(void 0,[{},o[n]||{}].concat(a)),l.states=o,d(l,e)},c=function(e,t,n,r){return String.prototype.split.call(u(e,t),n,r)},u=function(e,t){var n,r=t.name,a=t.mods,i=t.mixes,l=t.states,o=[r];if(a&&(o=o.concat(Object.keys(a).filter(function(e){return a[e]}).map(function(t){var n=a[t];return!0===n?r+e.mod+t:r+e.mod+t+e.modValue+n}))),l&&Object.keys(l).forEach(function(e){var t=l[e];o=o.concat(Object.keys(t).filter(function(e){return t[e]}).map(function(t){return e+t}))}),e.ns&&(o=o.map(function(t){return e.ns+t})),i&&(o=o.concat((void 0===(n=i)&&(n=[]),n.map(function(e){return Array.isArray(e)?e.join(" "):"object"==typeof e&&null!==e||"function"==typeof e?e.toString():"string"==typeof e?e:""}).filter(function(e){return!!e})))),e.classMap){var s=e.classMap;o=o.map(function(e){return s[e]||e})}return o.join(" ")},d=function(e,t){return{mix:o.bind(null,t,e),split:c.bind(null,t,e),is:s.bind(null,t,e,"is-"),has:s.bind(null,t,e,"has-"),state:s.bind(null,t,e,"is-"),toString:u.bind(null,t,e)}},h=function(e,t){var n={name:e,mods:{},mixes:[],states:{"is-":{},"has-":{}}},a=(function(e,t){for(var n=[],a=2;a<arguments.length;a++)n[a-2]=arguments[a];if(!n.length)return u(e,t);var o=r.assign({},t),s=n.filter(i).reduce(function(t,n){return t+e.el+n},"");s&&(o.name=o.name+s);var c=n.filter(l).reduce(function(e,t){return r.assign(e,t)},{});return o.mods=r.assign({},o.mods,c),d(o,e)}).bind(null,t,n);return a.mix=o.bind(null,t,n),a.split=c.bind(null,t,n),a.is=s.bind(null,t,n,"is-"),a.has=s.bind(null,t,n,"has-"),a.state=s.bind(null,t,n,"is-"),a.toString=u.bind(null,t,n),a};t.setup=function(e){return void 0===e&&(e={}),function(n){if("string"!=typeof n)throw Error(t.ERROR_BLOCK_NAME_TYPE);var i=n.trim();if(!i)throw Error(t.ERROR_BLOCK_NAME_EMPTY);return h(i,r.assign({},a,e))}},t.block=t.setup(),t.default=t.block},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.assign=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0;r<t.length;r++){var a=t[r];for(var i in a)a.hasOwnProperty(i)&&(e[i]=a[i])}return e}}],t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t||4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,(function(t){return e[t]}).bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)},"object"==typeof e&&"object"==typeof t?t.exports=n():"function"==typeof define&&define.amd?define([],n):e.block=n()}),ej=(i=null!=(r=ek(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=eM(),n=(0,t.setup)();function r(e){return"string"==typeof e}function a(e){var t=n(e);function a(){for(var e,n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];var i,l=n.shift(),o=n[0],s=n[1];return("string"!=typeof l||r(e=o)||Array.isArray(e)&&e.every(r))&&(s=o,o=null),i=t(l,o),s&&(i=i.mix(s)),i.toString()}return a.builder=function(){return t},a}a.setup=function(e){n=(0,t.setup)(e)},a.reset=function(){n=(0,t.setup)()},e.default=a})())?ep(ey(r)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of eb(t))ex.call(e,a)||a===n||ef(e,a,{get:()=>t[a],enumerable:!(r=eg(t,a))||r.enumerable});return e})(!a&&r&&r.__esModule?i:ef(i,"default",{value:r,enumerable:!0}),r)),eO="Body",eR={header:"Header",query:"Query"},eL=(0,ej.default)("yfm-sandbox"),eT=["CORS","Network Failure",'URL scheme must be "http" or "https" for CORS request.'],eN=({className:e,gap:t=20,children:n,minWidth:r})=>l.createElement("div",{className:eL("column",e),style:{gap:t+"px",minWidth:r}},n),ez=(e,t)=>e.reduce((e,n)=>Object.assign(e,t(n)),{});function eD(e){return{type:sessionStorage.getItem(`${e}_type`),value:sessionStorage.getItem(`${e}_value`)}}function eP(e,{type:t,value:n}){sessionStorage.setItem(`${e}_type`,t),sessionStorage.setItem(`${e}_value`,n)}function eB(e){return"apiKey"===e.type}function eI(e){return"oauth2"===e.type}var eH=class extends l.Component{constructor(e){super(e),eS(this,"onchange"),eS(this,"createOnChange",e=>t=>{this.setState(n=>({errors:void 0,values:em(eA({},n.values),ev({[e]:t}))}))}),this.state={errors:void 0,values:ez(e.params||[],e=>{var t;return{[e.name]:null!=(t=e.example)?t:""}})},this.onchange=ez(e.params||[],e=>({[e.name]:this.createOnChange(e.name)}))}render(){let{params:e,title:t}=this.props,{values:n,errors:r}=this.state;return e&&e.length?l.createElement(eN,{gap:15},l.createElement(c.E,{variant:"header-1"},t),l.createElement(eN,{gap:10},e.map((e,t)=>l.createElement(eN,{gap:5,key:t},l.createElement(c.E,{variant:"body-2"},e.name,!!e.required&&l.createElement(c.E,{variant:"body-2",color:"danger"},"*"),":"),l.createElement(u.k,{value:n[e.name],name:e.name,placeholder:e.placeholder,onUpdate:this.onchange[e.name],error:r&&r[e.name]||!1}))))):null}validate(){var e,t;let n,r=(e=this.props.params,t=this.state.values,Object.keys(n=ez(e||[],e=>e.required&&!t[e.name]?{[e.name]:"Required"}:void 0)).length?n:void 0);return this.setState({errors:r}),r}value(){return this.state.values}},eV=class extends l.Component{constructor(e){super(e),this.state={error:null,value:e.value}}render(){let{error:e,value:t}=this.state;if(null==t||"application/json"!==this.props.bodyType)return null;let n=e=>{this.setState(t=>em(eA({},t),ev({value:e})))};return l.createElement(eN,{gap:10},l.createElement(c.E,{variant:"header-1"},eO),l.createElement(d.f,{error:e||!1,rows:10,name:"body",value:t,onUpdate:n}))}validate(){let e=this.isRequired&&!this.state.value?"Required":void 0;return this.setState({error:e}),e}value(){return this.state.value}get isRequired(){return void 0!==this.props.value&&null!==this.props.value}},eq=e=>void 0!==e,eF=({onChange:e})=>{let t=(0,l.useRef)(1),[n,r]=(0,l.useState)({}),a=(0,l.useCallback)(t=>n=>{r(r=>{var a;let i=null==(a=n.target.files)?void 0:a[0],l=em(eA({},r),ev({[t]:i}));return e(Object.values(l).filter(eq)),l})},[r]),i=(0,l.useCallback)(()=>{r(e=>em(eA({},e),ev({[t.current++]:void 0})))},[r,t]),o=(0,l.useCallback)(e=>()=>{r(t=>(delete t[e],t))},[r]);return l.createElement(eN,{gap:3},Object.keys(n).map((e,t)=>l.createElement("div",{key:e},l.createElement("input",{type:"file",onChange:a(t)}),!!t&&l.createElement(s.$,{view:"normal",size:"s",type:"button",onClick:o(Number(e))},"-"))),l.createElement("div",null,l.createElement(s.$,{view:"normal",size:"s",type:"button",onClick:i},"Add file")))},e$=class extends l.Component{constructor(e){super(e),eS(this,"formValue"),this.formValue=new FormData,this.state={error:null}}renderInput(e){return l.createElement(eN,{gap:2},l.createElement(c.E,{variant:"body-2"},e,":"),l.createElement("input",{type:"file",onChange:t=>{var n;this.createOnChange(e)(null==(n=t.target.files)?void 0:n[0])}}))}renderFileInput(e){return l.createElement(eN,{gap:2},l.createElement(c.E,{variant:"body-2"},e,":"),l.createElement(eF,{onChange:this.createOnChange(e)}))}renderTextArea(e,t){var n;let r=JSON.parse(null!=(n=this.props.example)?n:"{}"),a="string"===t.type?r[e]:JSON.stringify(r[e],null,2),i="string"===t.type?1:3;return l.createElement(eN,{gap:2},l.createElement(c.E,{variant:"body-2"},e,":"),l.createElement(d.f,{onUpdate:this.createOnChange(e),defaultValue:a,rows:i}))}renderProperty(e,t){if("object"!=typeof t)return null;if("string"===t.type&&"binary"===t.format)return this.renderInput(e);if("array"===t.type&&"object"==typeof t.items&&!Array.isArray(t.items)){let{format:n,type:r}=t.items;if("string"===r&&"binary"===n)return this.renderFileInput(e)}return this.renderTextArea(e,t)}render(){var e;let{properties:t,type:n}=null!=(e=this.props.schema)?e:{};if("object"!==n||!t||"multipart/form-data"!==this.props.bodyType)return null;let r=Object.entries(t);return l.createElement(eN,{gap:10},l.createElement(c.E,{variant:"header-1"},eO),r.map(([e,t])=>this.renderProperty(e,t)))}createOnChange(e){return t=>{if(!t)return void this.formValue.delete(e);if("string"==typeof t)return void this.formValue.set(e,t);if(Array.isArray(t)){for(let n of(this.formValue.delete(e),t))this.formValue.append(e,n);return}this.formValue.set(e,t)}}validate(){let e=this.isRequired&&!this.value?"Required":void 0;return this.setState({error:e}),e}value(){return this.formValue}get isRequired(){return void 0!==this.props.example&&null!==this.props.example}},eU=({response:e})=>{let{url:t,status:n,file:r,text:a}=e,[i,o]=(0,l.useState)(null);return(0,l.useEffect)(()=>(r&&o(window.URL.createObjectURL(r.blob)),()=>{i&&window.URL.revokeObjectURL(i)}),[r]),l.createElement(eN,{gap:10},l.createElement(c.E,{variant:"header-2"},"Response"),l.createElement("div",null,l.createElement(c.E,{variant:"subheader-2",as:"div"},"Status",":"),l.createElement(c.E,{variant:"body-2",as:"div"},n)),l.createElement("div",null,l.createElement(c.E,{variant:"subheader-2",as:"div"},"Request URL",":"),l.createElement(c.E,{variant:"body-2",as:"div"},t)),void 0!==a&&l.createElement("div",null,l.createElement(c.E,{variant:"subheader-2"},"Body",":"),l.createElement("div",{className:eL("card-wrapper")},l.createElement(h.Z,{theme:"info",type:"container",view:"filled",className:eL("card")},l.createElement(c.E,{variant:"code-2",className:eL("card-text")},l.createElement("pre",{className:eL("pre")},a))),l.createElement(G,{size:"m",text:a,className:eL("clipboard-button")}))),r&&i&&l.createElement("div",null,l.createElement(c.E,{variant:"subheader-2",as:"div"},"File from response",":"),l.createElement(c.E,{variant:"body-2",as:"div"},l.createElement("a",{href:i,download:r.name,"data-router":"off"},r.name))))},eG=({message:e})=>l.createElement(eN,null,l.createElement(c.E,{variant:"header-1"},"Response error"),l.createElement(h.Z,{theme:"danger",type:"container",view:"filled",className:eL("card")},l.createElement(c.E,{variant:"code-2",className:eL("card-text")},e," ",l.createElement("br",null),"Possible Reasons:",l.createElement("ul",{className:eL("possible-reasons")},eT.map((e,t)=>l.createElement("li",{key:t},e)))))),eW=()=>l.createElement("div",{className:eL("loader-container")},l.createElement(W.a,null));function eK(e){return e_(this,null,function*(){let t=e.headers.get("Content-Type")||"";if((e.headers.get("Content-Disposition")||"").includes("attachment"))return{status:e.status,url:e.url,file:{blob:yield e.blob(),name:(e=>{let t=e.headers.get("Content-Disposition");if(t){let e=/filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/.exec(t);if(null!==e&&e[1])return e[1].replace(/['"]/g,"")}return"unknown file"})(e)}};{let n;return n=t.includes("json")?JSON.stringify((yield e.json()),null,2):yield e.text(),{status:e.status,url:e.url,text:n}}})}var eZ=({request:e})=>{let[t,n]=(0,l.useState)(null),[r,a]=(0,l.useState)(null);return(0,l.useEffect)(()=>(e.then(eK).then(t=>e==e?n(t):null,t=>e==e?a(t):null),()=>{n(null),a(null)}),[e]),l.createElement(l.Fragment,null,!t&&!r&&l.createElement(eW,null),t&&l.createElement(eU,{response:t}),r&&l.createElement(eG,{message:r.message}))},eY=e=>l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),l.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M13.5 8a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0M15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0m-3.9-1.55a.75.75 0 1 0-1.2-.9L7.419 8.858 6.03 7.47a.75.75 0 0 0-1.06 1.06l2 2a.75.75 0 0 0 1.13-.08z",clipRule:"evenodd"})),eJ=e=>{let{security:t=[]}=e,{isOpen:n,close:r,open:a,activeSecurityTab:i,activeType:o,setActiveType:c,auth:u,setAuth:d,hasAnyAuthorization:h}=function({projectName:e,security:t}){var n;let r=null==(n=(t=t||[])[0])?void 0:n.type,[a,i]=(0,l.useState)(!1),[o,s]=(e=>{let{projectName:t}=e,[n,r]=(0,l.useState)(function({projectName:e,initialType:t}){return()=>{var n,r,a,i;let l=window.location.hash;if(l.includes("access_token=")){let t=new URLSearchParams(l.slice(1)).get("access_token");if(t){null==(r=null==(n=document.querySelector(".openapi"))?void 0:n.querySelector(".yfm-tab:nth-child(2)"))||r.click();let a=new URL(window.location.toString());a.hash="",window.history.replaceState(null,document.title,a);let i={type:"oauth2",value:t};return eP(e,i),i}}return{type:null!=(a=eD(e).type)?a:t,value:null!=(i=eD(e).value)?i:""}}}(e));return[n,(0,l.useCallback)(e=>{r(e),eP(t,e)},[r])]})({projectName:e,initialType:r}),c=!!o.value,[u,d]=(0,l.useState)(o.type),h=(0,l.useMemo)(()=>(null==t?void 0:t.find(({type:e})=>u===e))||void 0,[u]);return{isOpen:a,close:(0,l.useCallback)(()=>{i(!1)},[i]),open:(0,l.useCallback)(()=>{d(o.type||r),i(!0)},[i,r]),activeSecurityTab:h,activeType:u,setActiveType:d,auth:o,setAuth:s,hasAnyAuthorization:c}}(e);return t&&t.length&&i?l.createElement(eN,{gap:10},l.createElement(s.$,{size:"m",width:"auto",style:{marginLeft:"auto"},view:"normal",onClick:a},h&&l.createElement(eY,{color:"#3AB935"})," Authorization"),l.createElement(K.l,{open:n,onClose:r,hasCloseButton:!0},l.createElement(K.l.Header,{caption:"Available authorizations"}),l.createElement(K.l.Body,null,l.createElement(eN,{gap:0,minWidth:400},l.createElement(Z.a,null,l.createElement(ea,{onChange:e=>{c(e.currentTarget.value)},value:o,options:t.map(e=>({value:e.type,content:e.type})),size:"m"})),l.createElement(Z.a,{spacing:{pt:"4"}},l.createElement(eX,{close:r,security:i,initialValue:u.type===o?u.value:"",setAuth:d})))))):null};function eX({security:e,close:t,initialValue:n,setAuth:r}){return eB(e)?l.createElement(e0,em(eA({},e),ev({close:t,initialValue:n,setAuth:r}))):eI(e)&&"x-inline"in e&&e["x-inline"]?l.createElement(e5,em(eA({},e),ev({close:t,initialValue:n,setAuth:r}))):eI(e)&&"flows"in e&&"implicit"in e.flows?l.createElement(e1,em(eA({},e),ev({close:t,initialValue:n,setAuth:r}))):l.createElement(eQ,{type:e.type})}function eQ({type:e}){return l.createElement(c.E,null,"Unsupported type: ",e)}function e0({in:e,name:t,close:n,initialValue:r,setAuth:a}){var i,o;let[u,h]=(0,l.useState)((o=r)?o.length>6?`${o.slice(0,3)}${"*".repeat(o.length-6)}${o.slice(-3)}`:"*".repeat(o.length):"");return l.createElement(ei.s,{direction:"column",width:"100%",gap:4},l.createElement(ei.s,{direction:"column",width:"100%",gap:4},l.createElement(ec,{space:1},l.createElement(ed,{s:2},l.createElement(c.E,{variant:"subheader-1"},"In")),l.createElement(ed,{s:10},l.createElement(c.E,{variant:"body-1"},null!=(i=eR[e])?i:e))),l.createElement(ec,{space:1},l.createElement(ed,{s:2},l.createElement(c.E,{variant:"subheader-1"},"Name")),l.createElement(ed,{s:10},l.createElement(c.E,{variant:"body-1"},t))),l.createElement(ec,{space:1},l.createElement(ed,{s:2},l.createElement(c.E,{variant:"subheader-1"},"Key")),l.createElement(ed,{s:10},l.createElement(d.f,{rows:2,value:u,onUpdate:h,onFocus:()=>{h("")}})))),l.createElement(ei.s,{justifyContent:"end",spacing:{mb:4},gap:4},l.createElement(s.$,{size:"l",view:"flat",onClick:n},"Cancel"),l.createElement(s.$,{size:"l",view:"action",onClick:()=>{a({type:"apiKey",value:u}),n()}},"Save")))}function e1({flows:{implicit:{scopes:e,authorizationUrl:t}},initialValue:n,close:r,setAuth:a}){let[i,o]=(0,l.useState)(""),[u,h]=(0,l.useState)(n),[p,f]=(0,l.useState)({}),[m,g]=(0,l.useState)(void 0),v=!!u,b=Object.keys(e),w=!!b.length,y=!v&&w;return l.createElement(ei.s,{direction:"column",width:"100%",gap:4},l.createElement(c.E,{variant:"subheader-2"},"Authorization Url"),l.createElement(c.E,{variant:"body-1",color:"secondary"},t),l.createElement(ei.s,{direction:"column",width:"100%",gap:4},l.createElement(ec,{space:1},l.createElement(ed,{s:2},l.createElement(c.E,{variant:"subheader-1"},"Flow")),l.createElement(ed,{s:10},l.createElement(c.E,{variant:"body-1",color:"secondary"},"implicit"))),l.createElement(ec,{space:1},l.createElement(ed,{s:2,style:{marginTop:6}},l.createElement(c.E,{variant:"subheader-1"},"Client_id")),l.createElement(ed,{s:10,style:{marginTop:8*!!v}},v?l.createElement(c.E,{variant:"body-1"},"**********"):l.createElement(d.f,{rows:1,value:i,onUpdate:e=>{o(e),g(void 0)},onFocus:()=>{o("")},error:m}))),l.createElement(ec,{space:1},l.createElement(ed,{s:2},y&&l.createElement(c.E,{variant:"subheader-1"},"Scopes")),l.createElement(ed,{s:10,style:{marginTop:4}},y&&l.createElement(ei.s,{direction:"column",gap:1},b.map(e=>l.createElement(eh.S,{key:e,value:e,onUpdate:t=>f(n=>em(eA({},n),ev({[e]:t})))},e)))))),l.createElement(ei.s,{justifyContent:"end",spacing:{mb:4},gap:4},l.createElement(s.$,{size:"l",view:"flat",onClick:r},"Cancel"),v?l.createElement(s.$,{size:"l",view:"action",onClick:()=>{o(""),g(void 0),f({}),h(""),a({value:"",type:"oauth2"})}},"Log out"):l.createElement(s.$,{size:"l",view:"action",onClick:()=>{if(!i)return void g("Required field!");let e=new URL(t);e.searchParams.set("response_type","token"),e.searchParams.set("redirect_uri",window.location.href),e.searchParams.set("client_id",i),Object.entries(p).forEach(([t,n])=>{n&&e.searchParams.append("scope",t)}),window.location.href=e.toString(),r()}},"Request")))}var e5=({close:e,initialValue:t,setAuth:n})=>{var r;let[a,i]=(0,l.useState)((r=t)?r.length>6?`${r.slice(0,3)}${"*".repeat(r.length-6)}${r.slice(-3)}`:"*".repeat(r.length):"");return l.createElement(ei.s,{direction:"column",width:"100%",gap:4},l.createElement(ei.s,{direction:"column",width:"100%",gap:4},l.createElement(ec,{space:1},l.createElement(ed,{s:2},l.createElement(c.E,{variant:"subheader-1"},"In")),l.createElement(ed,{s:10},l.createElement(c.E,{variant:"body-1"},"Header"))),l.createElement(ec,{space:1},l.createElement(ed,{s:2},l.createElement(c.E,{variant:"subheader-1"},"Name")),l.createElement(ed,{s:10},l.createElement(c.E,{variant:"body-1"},"Authorization"))),l.createElement(ec,{space:1},l.createElement(ed,{s:2},l.createElement(c.E,{variant:"subheader-1"},"Value")),l.createElement(ed,{s:10},l.createElement(d.f,{rows:2,value:a,onUpdate:i,onFocus:()=>{i("")}})))),l.createElement(ei.s,{justifyContent:"end",spacing:{mb:4},gap:4},l.createElement(s.$,{size:"l",view:"flat",onClick:e},"Cancel"),l.createElement(s.$,{size:"l",view:"action",onClick:()=>{n({type:"oauth2",value:a}),e()}},"Save")))},e2=e=>{let t={path:(0,l.useRef)(null),search:(0,l.useRef)(null),headers:(0,l.useRef)(null),bodyJson:(0,l.useRef)(null),bodyFormData:(0,l.useRef)(null)},[n,r]=(0,l.useState)(null);return l.createElement("form",{onSubmit:n=>e_(null,null,function*(){var a;let i;if(n.preventDefault(),Object.keys(i=Object.keys(t).reduce((e,n)=>{let r=t[n].current;if(!r)return e;let a=r.validate();return a&&(e[n]=a),e},{})).length?i:null)return;let l=Object.keys(t).reduce((e,n)=>{let r=t[n].current;return r&&(e[n]=r.value()),e},{}),{url:o,headers:s,body:c}=((e,{search:t,headers:n,path:r,bodyJson:a,bodyFormData:i},l,o,s)=>{let c=eA({},n),u=Object.entries(r).reduce((e,[t,n])=>e.replace(`{${t}}`,encodeURIComponent(n)),e),d=new URLSearchParams;if(Object.entries(t).forEach(([e,t])=>{d.append(e,t)}),s)for(let e of s){let t=function(e,t){let n=sessionStorage.getItem(`${e}_type`);return{type:n,value:t===n?sessionStorage.getItem(`${e}_value`):null}}(l,e.type).value;eB(e)&&t&&("header"===e.in?c[e.name]=t:"query"===e.in&&d.set(e.name,t)),eI(e)&&t&&(c.Authorization=`Bearer ${t}`)}let h=d.toString();return{url:u+(h?"?"+h:""),headers:"application/json"===o?em(eA({},c),ev({"Content-Type":"application/json"})):c,body:(({bodyType:e,bodyJson:t,bodyFormData:n})=>{switch(e){case"application/json":return{body:t};case"multipart/form-data":return{body:n};default:return{}}})({bodyFormData:i,bodyJson:a,bodyType:o})}})((null!=(a=e.host)?a:"")+"/"+e.path,l,e.projectName,e.bodyType,e.security);r(fetch(o,eA({method:e.method,headers:s},c)))}),className:eL()},l.createElement(eN,null,l.createElement(eJ,{security:e.security,projectName:e.projectName}),l.createElement(eH,{ref:t.path,title:"Path parameters",params:e.pathParams}),l.createElement(eH,{ref:t.search,title:"Query parameters",params:e.searchParams}),l.createElement(eH,{ref:t.headers,title:"Header parameters",params:e.headers}),l.createElement(eV,{ref:t.bodyJson,value:e.body,bodyType:e.bodyType}),l.createElement(e$,{ref:t.bodyFormData,schema:e.schema,example:e.body,bodyType:e.bodyType}),l.createElement("div",null,l.createElement(s.$,{size:"l",view:"action",type:"submit"},"Send")),n&&l.createElement(eZ,{request:n})))},e7=()=>{var e,t,n,r,a,i;let[s,c]=(0,l.useState)(null);if((0,l.useEffect)(()=>{c(document.querySelector(".yfm-openapi-sandbox-js"))}),!s||!s.dataset.props)return null;try{let c,u,d=null!=(i=null==(a=null==(r=null==(n=null==(t=null==(e=window.__DATA__)?void 0:e.props)?void 0:t.pageProps)?void 0:n.data)?void 0:r.viewerConfigParams)?void 0:a["project-name"])?i:"unknown-project",h=JSON.parse(decodeURIComponent(s.dataset.props));return(0,o.createPortal)(l.createElement(e2,eA({},(c=eA({},h),u={projectName:d},em(c,ev(u))))),s)}catch(e){return console.log(e),null}}},59071(e,t,n){"use strict";n.d(t,{UQ:()=>i});var r=n(96540),a=Symbol.for("page-constructor-store");function i({theme:e,preMountHook:t}){let n=function(e){let[t,n]=(0,r.useState)(null);return(0,r.useEffect)(()=>{let t=(e=>{if("u">typeof window&&void 0!==window.document){if(window[e]){if(!Array.isArray(window[e]))throw Error(`Expected window[${String(e)}] to be an array`)}else window[e]=[];return window[e]}throw Error("Cannot initialize QueueStore in a non-browser environment.")})(e),r=e=>{n(e)};return t.push(r),()=>{let e=t.indexOf(r);e>-1&&t.splice(e,1)}},[e]),t}(a);return(0,r.useEffect)(()=>{n?.render(e,t)},[n,e,t]),null}},81397(e,t,n){"use strict";var r=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,c=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,u=(e,t)=>{for(var n in t||(t={}))o.call(t,n)&&c(e,n,t[n]);if(l)for(var n of l(t))s.call(t,n)&&c(e,n,t[n]);return e},d={},h={TabsRuntime:()=>b,useDiplodocTabs:()=>g};for(var p in h)r(d,p,{get:h[p],enumerable:!0});e.exports=((e,t,n,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of i(t))o.call(e,s)||s===n||r(e,s,{get:()=>t[s],enumerable:!(l=a(t,s))||l.enumerable});return e})(r({},"__esModule",{value:!0}),d);var f=n(96540),m=Symbol.for("diplodocTabs");function g(e){if(void 0!==e){let t=(0,f.useCallback)(({tab:t,currentTabId:n})=>{e(t,n)},[e]);(0,f.useEffect)(()=>window[m].onSelectTab(t),[t])}return{selectTabById:(0,f.useCallback)((e,t)=>window[m].selectTabById(e,t),[]),selectTab:(0,f.useCallback)(e=>window[m].selectTab(e),[]),configure:(0,f.useCallback)(e=>window[m].configure(e),[]),restoreTabs:(0,f.useCallback)(e=>window[m].restoreTabs(e),[]),onPageChanged:(0,f.useCallback)(()=>window[m].onPageChanged(),[]),getTabsFromLocalStorage:(0,f.useCallback)(()=>window[m].getTabsFromLocalStorage(),[]),getTabsFromSearchQuery:(0,f.useCallback)(()=>window[m].getTabsFromSearchQuery(),[]),getCurrentPageTabHistory:(0,f.useCallback)(e=>window[m].getCurrentPageTabHistory(e),[]),updateLocalStorageWithTabs:(0,f.useCallback)(e=>window[m].updateLocalStorageWithTabs(e),[]),updateQueryParamWithTabs:(0,f.useCallback)(e=>window[m].updateQueryParamWithTabs(e),[])}}var v=n(96540);function b(e={}){if("u"<typeof window)return null;let t=g();return(0,v.useEffect)(()=>{t.configure(u({},e))},[e,t]),(0,v.useEffect)(()=>{t.onPageChanged(),t.restoreTabs(u(u({},t.getTabsFromLocalStorage()),t.getTabsFromSearchQuery()))},[e.router]),null}},20553(){"use strict";(()=>{let e,t,n,r,a,i,l;var o,s,c,u,d,h,p,f,m,g,v,b,w,y=Object.create,x=Object.defineProperty,E=Object.getOwnPropertyDescriptor,C=Object.getOwnPropertyNames,A=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty,S=(e={"node_modules/get-root-node-polyfill/index.js"(e,t){function n(e){return null!=e.parentNode?n(e.parentNode):e}"object"==typeof t&&t.exports&&(t.exports=function(e){return"object"==typeof e&&e.composed?function e(t){var r,a=n(t);return"#document-fragment"===(r=a).nodeName&&"ShadowRoot"===r.constructor.name?e(a.host):a}(this):n(this)})}},function(){return t||(0,e[C(e)[0]])((t={exports:{}}).exports,t),t.exports}),_="yfm_cut",M="yfm-cut-highlight",j=class{constructor(){((e,t,n)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?x(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n})(this,"disposers",[]),this.disposers.push(this.init())}init(){let e=!1,t=()=>{e=!0},n=()=>{e=!1},r=t=>{var n,r;(null==(r=null==(n=t.target)?void 0:n.tagName)?void 0:r.toLowerCase())==="summary"&&(null==n?void 0:n.classList.contains("yfm-cut-title"))&&!e&&this.focusActiveCut(t.target)};return document.addEventListener("mousedown",t),document.addEventListener("mouseup",n),document.addEventListener("focus",r,!0),()=>{document.removeEventListener("mousedown",t),document.removeEventListener("mouseup",n),document.removeEventListener("focus",r,!0)}}dispose(){for(let e of this.disposers)e()}focusActiveCut(e){let t=e.parentNode;if(!O(t))return;let n=t;for(;n;)O(n)&&(n.open=!0),n=n.parentElement;setTimeout(()=>{t.classList.add(M)},70),setTimeout(()=>{t.classList.remove(M)},1e3)}};function O(e){var t;return(null==(t=null==e?void 0:e.tagName)?void 0:t.toLowerCase())==="details"&&(null==e?void 0:e.classList.contains("yfm-cut"))}"u">typeof window&&!window[_]&&(window[_]=new j),o="active",s="data-diplodoc-group",c="data-diplodoc-key",u="data-diplodoc-variant",(n=d||{}).Regular="regular",n.Radio="radio",n.Dropdown="dropdown",n.Accordion="accordion",d=n,h=Symbol.for("diplodocTabs"),p=e=>{let t=e.composedPath();return Array.isArray(t)&&t.length>0?t[0]:e.target},f=e=>{let t=p(e);return!t||!t.matches},m=e=>Math.abs(e.scrollHeight-e.clientHeight)>1?e:e.parentElement?m(e.parentElement):void 0,g=(e,t)=>{let n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return{top:n.top-r.top,left:n.left-r.left,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}},v={TABS:".yfm-tabs",TAB_LIST:".yfm-tab-list",TAB:".yfm-tab",TAB_PANEL:".yfm-tab-panel",VERTICAL_TABS:".yfm-tabs-vertical"},b=class{constructor(e,t={}){this._onSelectTabHandlers=new Set,this._currentPageTabGroups=[],this._isRestoringTabs=!1,this._document=e,this._options=Object.assign({saveTabsToLocalStorage:!1,saveTabsToQueryStateMode:"none"},t),this._document.addEventListener("click",e=>{let t=p(e);if(e.target&&this.hideAllDropdown(e.target),f(e))return;if(this.isElementDropdownSelect(t))return void t.classList.toggle(o);if(!this.isValidTabElement(t))return;let n=this.getTabDataFromHTMLElement(t);n&&this._selectTab(n,t)}),this._document.addEventListener("keydown",e=>{let t=null;switch(e.key){case"ArrowLeft":case"ArrowUp":t="left";break;case"ArrowRight":case"ArrowDown":t="right"}if(!t)return;let n=p(e);if(f(e)||!this.isValidTabElement(n))return;let{tabs:r,nodes:a}=this.getTabs(n),i=this.getTabDataFromHTMLElement(n),l=r.findIndex(({key:e})=>(null==i?void 0:i.key)&&e===i.key);if(!i||r.length<=1||-1===l)return;let o=(l+("left"===t?-1:1)+r.length)%r.length;this.selectTab(r[o]),a[o].focus()})}configure(e){this._options=Object.assign(this._options,e)}onSelectTab(e){return this._onSelectTabHandlers.add(e),()=>{this._onSelectTabHandlers.delete(e)}}selectTabById(e,t){let n=this._document.querySelector(`${v.TAB}[data-diplodoc-id="${e}"]`);if(!n||!this.isValidTabElement(n))return;let r=this.getTabDataFromHTMLElement(n);r&&this._selectTab(r,n),null!=t&&t.scrollToElement&&n.scrollIntoView()}selectTab(e){this._selectTab(e)}restoreTabs(e){this._isRestoringTabs=!0;try{for(let[t,n]of Object.entries(e))if(t){let e={group:t,...n};this.selectTab(e)}}finally{this._isRestoringTabs=!1}}getTabsFromLocalStorage(){return JSON.parse(localStorage.getItem("tabsHistory")||"{}")}getTabsFromSearchQuery(){let e={},t=new URLSearchParams(window.location.search);return t.has("tabs")&&(t.get("tabs")||"").split(",").forEach(t=>{let n=t.split("_"),[r,a]=n,i="regular";3===n.length&&(i=n[2]),r&&a&&Object.values(d).includes(i)&&(e[r]={key:a,variant:i})}),e}updateLocalStorageWithTabs(e){this._options.saveTabsToLocalStorage&&(this._isRestoringTabs||localStorage.setItem("tabsHistory",JSON.stringify(e)))}updateQueryParamWithTabs(e){if(this._isRestoringTabs)return;let t=new URLSearchParams(window.location.search),n=Object.entries(e).map(([e,{key:t,variant:n}])=>"regular"===n?`${e}_${t}`:`${e}_${t}_${n}`);n.length>0?t.set("tabs",n.join(",")):t.delete("tabs");let r=history.state||{},a=new URL(window.location.href);a.search=t.toString(),window.history.replaceState({...r},document.title,a.href)}getCurrentPageTabHistory(e){return Object.fromEntries(Object.entries(e).filter(([e])=>this._currentPageTabGroups.includes(e)))}onPageChanged(){this._currentPageTabGroups=this.getCurrentPageTabGroups()}getCurrentPageTabGroups(){let e=this._document.getElementsByClassName("yfm-tabs"),t=new Set;return Array.from(e).forEach(e=>{let n=e.getAttribute(s);n&&t.add(n)}),Array.from(t)}clearTabsPreferred(){localStorage.removeItem("tabsHistory"),this.updateQueryParamWithTabs({})}_selectTab(e,t){let{group:n,key:r,variant:a}=e;if(!n)return;this.saveTabPreferred({group:n,key:r,variant:a});let i=t&&m(t),l=i&&g(t,i);this.updateHTML({group:n,key:r,variant:a},t,a)>0&&(this.fireSelectTabEvent({group:n,key:r,variant:a},null==t?void 0:t.dataset.diplodocId),l&&this.resetScroll(t,i,l))}updateHTML(e,t,n){switch(n){case"radio":return this.updateHTMLRadio(e,t);case"accordion":return this.updateHTMLAccordion(e,t);case"regular":return this.updateHTMLRegular(e);case"dropdown":return this.updateHTMLDropdown(e);default:return 0}}saveTabPreferred(e){let t={};switch(this._options.saveTabsToLocalStorage&&(t=JSON.parse(localStorage.getItem("tabsHistory")||"{}")),t[e.group]={key:e.key,variant:e.variant},this._options.saveTabsToLocalStorage&&this.updateLocalStorageWithTabs(t),this._options.saveTabsToQueryStateMode){case"all":this.updateQueryParamWithTabs(t);break;case"page":this.updateQueryParamWithTabs(this.getCurrentPageTabHistory(t))}}updateHTMLRadio(e,t){let{group:n,key:r}=e,{isForced:a,root:i}=this.didTabOpenForce(t),l=a?'.yfm-vertical-tab[data-diplodoc-forced="true"]':"",o=this._document.querySelectorAll(`${v.TABS}[${s}="${n}"] ${v.TAB}[${c}="${r}"]${l}`);a&&(null==i||i.removeAttribute("data-diplodoc-forced"));let u=0;return o.forEach(e=>{let t=e.parentNode.children;for(let n=0;n<t.length;n+=2){let[r,a]=[t.item(n),t.item(n+1)],i=r.children.item(0);if(r===e){i.checked?(r.classList.remove("active"),null==a||a.classList.remove("active"),i.removeAttribute("checked")):(r.classList.add("active"),null==a||a.classList.add("active"),i.setAttribute("checked","true"));continue}i.hasAttribute("checked")&&(r.classList.remove("active"),null==a||a.classList.remove("active"),i.removeAttribute("checked")),u++}}),u}updateHTMLRegular(e){let{group:t,key:n}=e,r=this._document.querySelectorAll(`${v.TABS}[${s}="${t}"] ${v.TAB}[${c}="${n}"]`),a=0;return r.forEach(e=>{if(!this.isValidTabElement(e)||"true"===e.dataset.diplodocIsActive)return;a++;let t=e.parentNode,n=null==t?void 0:t.parentNode,r=Array.from((null==t?void 0:t.querySelectorAll(v.TAB))||[]),i=Array.from((null==n?void 0:n.children)||[]).filter(e=>e.classList.contains("yfm-tab-panel")),l=r.indexOf(e);r.forEach((e,t)=>{let n=i[t],r=t===l;e.dataset.diplodocIsActive=r?"true":"false",e.classList.toggle(o,r),e.setAttribute("aria-selected",r.toString()),e.setAttribute("tabindex",r?"0":"-1"),n.classList.toggle(o,r)})}),a}updateHTMLDropdown(e){let{group:t,key:n}=e,r=this._document.querySelectorAll(`${v.TABS}[${s}="${t}"] ${v.TAB}[${c}="${n}"]`),a=0;return r.forEach(e=>{let t=e.closest(`[${u}=dropdown]`);if(!(null!=t&&t.children))return;let n=t.children.item(0),r=t.children.item(1);null==n||n.classList.remove(o);let i=Array.from((null==r?void 0:r.children)||[]).indexOf(e)+2;for(let l=2;l<t.children.length;l++){let s=t.children.item(l),c=null==r?void 0:r.children.item(l-2);if(a++,i===l){null==s||s.classList.add(o),c.classList.add(o),n.innerHTML=e.innerHTML,n.classList.add("filled");continue}c.classList.remove(o),s.classList.remove(o)}}),a}updateHTMLAccordion(e,t){let{group:n,key:r}=e,a=this._document.querySelectorAll(`${v.TABS}[${s}="${n}"] ${v.TAB}[${c}="${r}"]`),i=0;return a.forEach(e=>{let t=e.closest(`[${u}=accordion]`);if(null!=t&&t.children)for(let n=0;n<t.children.length;n+=2){let r=t.children.item(n),a=t.children.item(n+1);if(i++,e===r){null==r||r.classList.toggle(o),null==a||a.classList.toggle(o);continue}null==r||r.classList.remove(o),null==a||a.classList.remove(o)}}),t&&!this.checkVisible(t)&&setTimeout(()=>{t.scrollIntoView({block:"nearest"})}),i}checkVisible(e){let t=e.getBoundingClientRect(),n=Math.max(document.documentElement.clientHeight,window.innerHeight);return!(t.bottom<0||t.top-n>=0)}hideAllDropdown(e){this._document.querySelectorAll(".yfm-tabs-dropdown-select.active").forEach(t=>{t.contains(e)||t.classList.remove(o)})}resetScroll(e,t,n){let r=g(e,t),a=r.top-n.top,i=r.left-n.left,l=r.scrollTop-n.scrollTop,o=r.scrollLeft-n.scrollLeft;t.scrollTo(t.scrollLeft+i-o,t.scrollTop+a-l)}didTabOpenForce(e){if(!e)return{};if(e.dataset.diplodocForced)return{root:e,isForced:!0};let t=e.dataset.diplodocVerticalTab?e:e.parentElement,n=void 0!==(null==t?void 0:t.dataset.diplodocForced);return{root:t,isForced:n}}fireSelectTabEvent(e,t){let{group:n,key:r,variant:a}=e,i=n.startsWith("defaultTabsGroup-")?{key:r,variant:a}:e;this._onSelectTabHandlers.forEach(e=>{e({tab:i,currentTabId:t})})}getTabsType(e){let t=e.closest(`[${u}]`);if(t)return t.dataset.diplodocVariant}isValidTabElement(e){return!!this.getTabsType(e)}isElementDropdownSelect(e){return e.classList.contains("yfm-tabs-dropdown-select")}getTabDataFromHTMLElement(e){var t,n,r;let a=this.getTabsType(e);if("radio"===a){let n=e.dataset.diplodocVerticalTab?e:e.parentElement,r=n.dataset.diplodocKey,a=null==(t=n.closest(v.TABS))?void 0:t.dataset.diplodocGroup;return r&&a?{group:a,key:r,variant:"radio"}:null}if("dropdown"===a||"accordion"===a){let t=e.dataset.diplodocKey,r=null==(n=e.closest(v.TABS))?void 0:n.dataset.diplodocGroup;return t&&r?{group:r,key:t,variant:a}:null}let i=e.dataset.diplodocKey,l=null==(r=e.closest(v.TABS))?void 0:r.dataset.diplodocGroup;return i&&l?{group:l,key:i,variant:"regular"}:null}getTabs(e){var t,n;let r=null==(t=e.closest(v.TABS))?void 0:t.dataset.diplodocGroup,a=null==(n=e.closest(v.TAB_LIST))?void 0:n.querySelectorAll(v.TAB),i=[];return a.forEach(e=>{let t=null==e?void 0:e.dataset.diplodocKey;t&&i.push({group:r,key:t,variant:"regular"})}),{tabs:i,nodes:a}}},"u"<typeof window||"u"<typeof document||window[h]||(window[h]=new b(document));var R=(i=null!=(r=S())?y(A(r)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of C(t))k.call(e,a)||a===n||x(e,a,{get:()=>t[a],enumerable:!(r=E(t,a))||r.enumerable});return e})(!a&&r&&r.__esModule?i:x(i,"default",{value:r,enumerable:!0}),r));"u">typeof document&&((l=(w=Element.prototype).matches||w.matchesSelector||w.webkitMatchesSelector||w.mozMatchesSelector||w.msMatchesSelector||w.oMatchesSelector)?w.matches=w.matchesSelector=l:w.matches=w.matchesSelector=function(e){let t=(w.getRootNode?w.getRootNode():R.default.call(w)).querySelectorAll(e),n=this;return Array.prototype.some.call(t,e=>e===n)});var L=e=>{let t=e.composedPath();return Array.isArray(t)&&t.length>0?t[0]:e.target},T=e=>{let t=L(e);return!t||!t.matches},N=async e=>{if(!e)return;if(navigator.clipboard&&(navigator.clipboard.writeText,1))return navigator.clipboard.writeText(e);let t=document.createElement("textarea");t.setAttribute("style","position: absolute; left: 1000%"),t.textContent=e,document.body.append(t),t.select(),document.execCommand("copy"),document.body.removeChild(t)};"u">typeof document&&document.addEventListener("click",e=>{var t,n;if(T(e))return;let r=L(e);if(r.matches(".yfm-clipboard-button")){let e,n;n=null==(e=null==(t=r.parentNode)?void 0:t.parentNode)?void 0:e.querySelector("pre code"),e&&n&&N(Array.from(n.childNodes).filter(e=>!(e instanceof HTMLElement&&e.classList.contains("yfm-line-number"))).map(e=>e.textContent).join("").trim()).then(()=>{!function(e){if(!e)return;let t=e.getAttribute("data-animation"),n=e.getRootNode().getElementById(`visibileAnimation-${t}`);n&&n.beginElement()}(e.querySelector(".yfm-clipboard-icon")),setTimeout(()=>r.blur(),1500)})}else{let e,t;r.matches(".yfm-wrapping-button")&&(t=null==(e=null==(n=r.parentNode)?void 0:n.parentNode)?void 0:e.querySelector("pre code"),e&&t&&(t.classList.toggle("wrap"),setTimeout(()=>r.blur(),500)))}});var z="yfm yfm-tooltip",D="open",P="data-tooltip-id",B={mainAxis:5},I={top:"bottom",bottom:"top",left:"right",right:"left"},H={top:0,bottom:0,left:0,right:0};function V(e){return"top"===e||"bottom"===e}function q(e){let[t,n]=e.split("-");return{side:t,alignment:n}}function F(e,t,n){return function(e,t,n=0){let{top:r,bottom:a,left:i,right:l}=function(e=0){return"number"==typeof e?{top:e,bottom:e,left:e,right:e}:{...H,...e}}(n);return{top:e.top-t.top+r,bottom:t.bottom-e.bottom+a,left:e.left-t.left+i,right:t.right-e.right+l}}(n,U(e,{top:t.y,left:t.x}),5)}function $(e){return{...e,right:e.left+e.width,bottom:e.top+e.height}}function U(e,t){var n,r,a,i;return $({top:null!=(n=t.top)?n:e.top,left:null!=(r=t.left)?r:e.left,width:null!=(a=t.width)?a:e.width,height:null!=(i=t.height)?i:e.height})}function G(){let{documentElement:e,body:t}=document,n=window.scrollY||e.scrollTop||t.scrollTop,r=window.scrollX||e.scrollLeft||t.scrollLeft;return $({top:Math.round(n-(e.clientTop||t.clientTop||0)),left:Math.round(r-(e.clientLeft||t.clientLeft||0)),width:document.body.clientWidth,height:document.body.clientHeight})}function W(e){let t=G(),n=e.getBoundingClientRect();return $({top:Math.round(n.top+t.top),left:Math.round(n.left+t.left),width:n.width,height:n.height})}function K(e,t,n,r,a){let{side:i,alignment:l}=q(r),o=V(i),s=o?"x":"y",c="y"===s?"height":"width",u=e.left+e.width/2-t.width/2,d=e.top+e.height/2-t.height/2,h=e[c]/2-t[c]/2,p={x:e.left,y:e.top};switch(i){case"top":p.x=u,p.y=e.top-t.height;break;case"bottom":p.x=u,p.y=e.top+e.height;break;case"right":p.x=e.left+e.width,p.y=d;break;case"left":p.x=e.left-t.width,p.y=d}switch(l){case"start":p[s]-=h*(a&&o?-1:1);break;case"end":p[s]+=h*(a&&o?-1:1)}let f=function(e,t,n){let{mainAxis:r=0,crossAxis:a=0}=e,i=V(t),l=r*("top"===t||"left"===t?-1:1),o=a*(n&&i?-1:1);return i?{x:o,y:l}:{x:l,y:o}}(n,i,a);return p.x+=f.x,p.y+=f.y,p}function Z(e={}){let{closeDelay:t=1e3,additionalClassName:n}=e,r=!1,a={currentId:null,timer:null,unsubscribe:null},i=()=>a.currentId?document.getElementById(a.currentId):null,l=()=>a.currentId?Y(a.currentId):null,o=()=>{let e=i();a.timer&&(clearTimeout(a.timer),a.timer=null),a.unsubscribe&&(a.unsubscribe(),a.unsubscribe=null),e&&(e.classList.remove(D),function(e){if(e.id){let t=Y(e.id);null==t||t.removeAttribute(P)}e.remove()}(e),a.currentId=null)},s=()=>{let t=i(),n=l();t&&!n?o():t&&n&&J(e,n,t)};return{get visible(){return!!a.currentId},getActiveReference:l,show:(r,i)=>{var l,s,c,u,d;let h,p,f;o();let m=function(e){let t,n,{text:r,className:a}=e,i=(t=Math.random().toString(36).substring(2,6),n=Date.now().toString(36),`${t}${n}`),l=document.createElement("div");return l.id=i,l.className=a?`${z} ${a}`:z,l.setAttribute("role","tooltip"),l.setAttribute("aria-live","polite"),l.textContent=r,l}({text:i,className:n}),g=J.bind(null,e,r,m);a.currentId=m.id,l=m,s=r,h=document.querySelector(".dc-doc-page__content")||document.body,p=s.getAttribute("aria-live"),s.setAttribute(P,l.id),p&&l.setAttribute("aria-live",p),h.appendChild(l),c=r,u=g,(f=(d=c).closest("table")||d.closest("code")||d.parentElement||document.body).addEventListener("scroll",u),a.unsubscribe=()=>{f.removeEventListener("scroll",u)},m.classList.add(D),g(),t>0&&(a.timer=setTimeout(o,t))},hide:o,init:()=>{r||(r=!0,window.addEventListener("scroll",s),window.addEventListener("resize",s))},cleanup:()=>{r&&(r=!1,window.removeEventListener("scroll",s),window.removeEventListener("resize",s))}}}function Y(e){return document.querySelector(`[${P}="${e}"]`)}function J(e,t,n){let r=function(e,t){let n=t.parentElement;if(!n)return null;let r=G(),a=W(e),{width:i,height:l}=t.getBoundingClientRect();return{isRtl:"rtl"===document.dir,viewport:r,reference:a,tooltip:$({top:0,left:0,width:i,height:l}),elements:{reference:e,tooltip:t,offsetParent:n}}}(t,n);if(!r)return;let a=function(e,t){var n,r;let a,{placement:i="bottom-start",offset:l=B,flip:o=!0}=t,{reference:s,tooltip:c,viewport:u,isRtl:d}=e,{coords:h}=function(e,t,n,r,a,i,l=!0){var o,s,c;let u,d=K(e,t,a,r,i);if(!l)return{coords:d,placement:r};let h=F(t,d,n),{side:p}=q(r);if(h[p]<=0)return{coords:d,placement:r};let f=function(e){let{side:t,alignment:n}=q(e),r=I[t];return n?`${r}-${n}`:r}(r),m=K(e,t,a,f,i);return(o=h,s=F(t,m,n),u=I[c=p],o[c]>0&&s[u]<o[c])?{coords:m,placement:f}:{coords:d,placement:r}}(s,c,u,i,l,d,o),p=(n=U(c,{top:h.y,left:h.x}),a=W(r=e.elements.offsetParent),$({top:n.top-a.top+r.offsetTop,left:n.left-a.left+r.offsetLeft,width:n.width,height:n.height}));return{x:p.left,y:p.top}}(r,e);n.style.top=`${a.y}px`,n.style.left=`${a.x}px`}var X={ru:"Скопировано",en:"Copied",ar:"تم النسخ",cs:"Zkop\xedrov\xe1no",fr:"Copi\xe9",es:"Copiado",he:"הועתק",bg:"Копирано",et:"Kopeeritud",el:"Αντιγράφηκε",pt:"Copiado",zh:"已复制","zh-tw":"已複製",kk:"Көшірілді",tr:"Kopyalandı",uz:"Nusxalandi"},Q=/^(?:https?|file):$/,ee=Z();"u">typeof document&&(ee.init(),document.addEventListener("click",e=>{let t,n=L(e);!T(e)&&n.matches(".yfm-clipboard-anchor")&&N((t=new URL(("A"===n.nodeName?n.href:n.dataset.href)||"",window.location.href),Q.test(t.protocol)?t.href:window.location.href)).then(()=>{var e;let t=null!=(e=X[document.documentElement.lang||"en"])?e:X.en;ee.show(n,t)})}));var et="yfm-clipboard-inline-code",en=`.${et}`,er=Z({additionalClassName:"inline_code_tooltip"});function ea(e){let t=e.innerText;t&&N(t).then(()=>{var t;let n=null!=(t=X[document.documentElement.lang||"en"])?t:X.en;er.show(e,n)})}"u">typeof document&&(er.init(),document.addEventListener("click",e=>{let t=L(e),n=t.matches(en);!T(e)&&n&&ea(t)}),document.addEventListener("keydown",e=>{if("Enter"===e.key&&document.activeElement){let e=document.activeElement;if(!e.classList.contains(et))return;ea(e)}if("Escape"===e.key&&er.visible){let e=er.getActiveReference();er.hide(),null==e||e.focus()}}));var ei=".yfm .yfm-term_dfn",el="open",eo=ei.replace(/\./g,"")+" "+el,es=!0;function ec(e,t){let{x:n,y:r,right:a,left:i,width:l,height:o}=t.getBoundingClientRect(),s=ed(t);if(!s)return;let{right:c,left:u}=s.getBoundingClientRect();if((c<i||u>a)&&!es)return void ep(e);es&&s&&(s.addEventListener("scroll",eu),es=!1);let d=Number(e.getAttribute("relativeX")),h=Number(e.getAttribute("relativeY"));if(d===n&&h===r)return;e.setAttribute("relativeX",String(n)),e.setAttribute("relativeY",String(r));let p=e.parentElement;if(!p)return;let{width:f}=e.getBoundingClientRect(),{left:m}=p.getBoundingClientRect(),g=Number(ef(t).left),v=f+g,b=v>document.body.clientWidth,w=b||"rtl"===document.dir,y=ef(p).top-p.offsetTop,x=b?v-document.body.clientWidth+5:0,E=ef(t).left-m+p.offsetLeft-(w&&!(g-f<0)?f-l:0),C=E+f>=document.body.clientWidth;e.style.top=Number(ef(t).top+(o+5)-y)+"px",e.style.left=Number(E-(C?x:0))+"px"}function eu(){let e=document.getElementsByClassName(eo)[0];if(!e)return;let t=e.getAttribute("term-id")||"",n=document.getElementById(t);n&&ec(e,n)}function ed(e){return e?e.closest("table")||e.closest("code")||e.parentElement:null}function eh(e){let t,n=document.getElementsByClassName(eo)[0],r=e.getAttribute("id"),a=e.getAttribute("term-key"),i=`${a}_element`;if(e.closest(".wide-container")){let n=e.closest(".wide-content");if(!n)return;t=n.querySelector(`[id="${i}"]`)}else t=document.getElementById(i);if(n&&r===n.getAttribute("term-id"))return void ep(n);let l=e.closest([ei.replace(" ",""),el].join("."));if(n&&!l&&ep(n),e.matches(".yfm .yfm-term_title")&&t){var o,s,c;let n,r,a,i,l;o=t,n=e.getAttribute("id")||Math.random().toString(36).substr(2,8),null==o||o.setAttribute("term-id",n);s=t,r=e.getAttribute("aria-live")||"polite",null==s||s.setAttribute("aria-live",r),null==s||s.setAttribute("aria-modal","true"),ec(t,e),t.classList.toggle(el),i=(a=(c=t).querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'))[0],l=a[a.length-1],i&&i.focus(),c.addEventListener("keydown",function(e){("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===i&&(l.focus(),e.preventDefault()):document.activeElement===l&&(i.focus(),e.preventDefault()))})}}function ep(e){e.classList.remove(el);let t=ed(em(e));t&&(t.removeEventListener("scroll",eu),es=!0)}function ef(e){let t=e.getBoundingClientRect(),n=document.body,r=document.documentElement,a=window.pageYOffset||r.scrollTop||n.scrollTop,i=window.pageXOffset||r.scrollLeft||n.scrollLeft,l=r.clientTop||n.clientTop||0,o=r.clientLeft||n.clientLeft||0;return{top:Math.round(t.top+a-l),left:Math.round(t.left+i-o)}}function em(e){let t=e.getAttribute("term-id");if(!t)return null;if(e.closest(".wide-container")){let n=e.closest(".wide-content");return n?n.querySelector(`[id="${t}"]`):null}return document.getElementById(t)}"u">typeof document&&(document.addEventListener("click",e=>{(L(e)||!T(e))&&eh(L(e))}),document.addEventListener("keydown",e=>{var t;let n=document.getElementsByClassName(eo)[0];"Enter"===e.key&&document.activeElement&&eh(document.activeElement),"Escape"===e.key&&n&&(ep(n),null==(t=em(n))||t.focus())}),window.addEventListener("resize",()=>{let e=document.getElementsByClassName(eo)[0];if(!e)return;let t=e.getAttribute("term-id")||"",n=document.getElementById(t);n?ec(e,n):e.classList.toggle(el)}));var eg=()=>{window.wideTemplate&&(window.wideTemplate.style.display="none",window.wideTemplate.content(void 0))},ev=e=>{var t;if(null==(t=e.parentElement)?void 0:t.classList.contains("wide-element-wrapper"))return;e.classList.add("wide-inner-element");let n=document.createElement("div");n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M7.754 2.004a.75.75 0 0 0 0 1.5h4.75v4.742a.75.75 0 0 0 1.5 0V2.754a.75.75 0 0 0-.75-.75zm.492 11.992a.75.75 0 0 0 0-1.5h-4.75V7.754a.75.75 0 0 0-1.5 0v5.492a.75.75 0 0 0 .75.75z" clip-rule="evenodd"/></svg>',n.classList.add("wide-content-viewer"),n.addEventListener("click",()=>{var t;let n;return t=e,void((n=(()=>{if(window.wideTemplate)return window.wideTemplate;let e=document.createElement("div");e.classList.add("dc-doc-page","wide-container");let t=document.createElement("div");t.classList.add("wide-content-overlay"),t.addEventListener("click",eg);let n=document.createElement("div");n.classList.add("yfm","wide-content-wrapper");let r=document.createElement("div");r.classList.add("wide-toolbar");let a=document.createElement("div");a.classList.add("wide-actions"),a.addEventListener("click",eg),a.innerHTML='<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg" class="close-action"><path fillRule="evenodd" clipRule="evenodd" d="M9.46967 9.46967C9.76256 9.17678 10.2374 9.17678 10.5303 9.46967L14 12.9393L17.4697 9.46967C17.7626 9.17678 18.2374 9.17678 18.5303 9.46967C18.8232 9.76256 18.8232 10.2374 18.5303 10.5303L15.0607 14L18.5303 17.4697C18.8232 17.7626 18.8232 18.2374 18.5303 18.5303C18.2374 18.8232 17.7626 18.8232 17.4697 18.5303L14 15.0607L10.5303 18.5303C10.2374 18.8232 9.76256 18.8232 9.46967 18.5303C9.17678 18.2374 9.17678 17.7626 9.46967 17.4697L12.9393 14L9.46967 10.5303C9.17678 10.2374 9.17678 9.76256 9.46967 9.46967Z" fill="var(--g-color-text-primary)" fillOpacity="0.85"/></svg>';let i=document.createElement("p");i.classList.add("wide-entity-name"),e.label=e=>{i.innerHTML=e||""};let l=document.createElement("div");return l.classList.add("wide-content"),e.content=e=>{var t;if(void 0===e){l.innerHTML="";return}let n=e.cloneNode(!0),r=(e=>{if("TABLE"!==e.tagName)return;let t=Array.from(e.children);if(!t.find(e=>"THEAD"===e.tagName))return t.find(e=>"TBODY"===e.tagName)})(n);null==(t=null==r?void 0:r.classList)||t.add("wide-thead-content");let a=n.querySelectorAll(".yfm-term_title"),i=[];a.forEach(e=>{let t=e.getAttribute("term-key");if(t){let e=document.getElementById(t+"_element");if(e){let t=e.cloneNode(!0);i.push(t)}}}),l.replaceChildren(n,...i)},r.append(i,a),n.append(r,l),e.append(t,n),e.style.display="none",document.body.appendChild(e),window.wideTemplate=e,e})()).label(t.title),n.content(t),n.style.display="flex")});let r=document.createElement("div");r.classList.add("wide-element-wrapper"),e.before(r),r.appendChild(e),r.appendChild(n)},eb=()=>{Array.from(document.querySelectorAll("[wide-content]")).forEach(ev)};"u">typeof window&&"u">typeof document&&window.addEventListener("load",eb),"u">typeof window&&(window.patchAfterRender=()=>{eb()})})()},12517(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M14.75 8a.75.75 0 0 1-.75.75H3.81l2.72 2.72a.75.75 0 1 1-1.06 1.06l-4-4a.75.75 0 0 1 0-1.06l4-4a.75.75 0 0 1 1.06 1.06L3.81 7.25H14a.75.75 0 0 1 .75.75",clipRule:"evenodd"}))},94084(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M1.25 8A.75.75 0 0 1 2 7.25h10.19L9.47 4.53a.75.75 0 0 1 1.06-1.06l4 4a.75.75 0 0 1 0 1.06l-4 4a.75.75 0 1 1-1.06-1.06l2.72-2.72H2A.75.75 0 0 1 1.25 8",clipRule:"evenodd"}))},60787(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M9 9v2.665a.335.335 0 0 0 .55.257l4.72-3.934a.635.635 0 0 0 0-.976L9.55 3.078a.335.335 0 0 0-.55.257V6H7.5c-1.584 0-3.182.571-4.241 1.692-.9.951-1.549 2.446-1.31 4.723.65-1.026 1.365-1.837 2.201-2.413C5.198 9.279 6.323 9 7.5 9zm-3 1.731c-1.162.396-2.165 1.337-3.151 3.106-.223.4-.64.663-1.098.663-.552 0-1.04-.376-1.143-.917C-.598 7.237 3.678 4.5 7.499 4.5V3.335a1.835 1.835 0 0 1 3.01-1.41l4.722 3.935a2.135 2.135 0 0 1 0 3.28l-4.721 3.935a1.835 1.835 0 0 1-3.01-1.41V10.5c-.533 0-1.03.07-1.5.231",clipRule:"evenodd"}))},93704(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.323 12.383a5.5 5.5 0 0 1-7.706-7.706zm1.06-1.06L4.677 3.617a5.5 5.5 0 0 1 7.706 7.706M15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0",clipRule:"evenodd"}))},43507(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M1.25 3.25A.75.75 0 0 1 2 2.5h12A.75.75 0 0 1 14 4H2a.75.75 0 0 1-.75-.75m0 4.75A.75.75 0 0 1 2 7.25h12a.75.75 0 0 1 0 1.5H2A.75.75 0 0 1 1.25 8M2 12a.75.75 0 0 0 0 1.5h12a.75.75 0 0 0 0-1.5z",clipRule:"evenodd"}))},88786(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.97 5.47a.75.75 0 0 1 1.06 0L8 9.44l3.97-3.97a.75.75 0 1 1 1.06 1.06l-4.5 4.5a.75.75 0 0 1-1.06 0l-4.5-4.5a.75.75 0 0 1 0-1.06",clipRule:"evenodd"}))},36635(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M10.53 2.97a.75.75 0 0 1 0 1.06L6.56 8l3.97 3.97a.75.75 0 1 1-1.06 1.06l-4.5-4.5a.75.75 0 0 1 0-1.06l4.5-4.5a.75.75 0 0 1 1.06 0",clipRule:"evenodd"}))},90594(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.47 13.03a.75.75 0 0 1 0-1.06L9.44 8 5.47 4.03a.75.75 0 0 1 1.06-1.06l4.5 4.5a.75.75 0 0 1 0 1.06l-4.5 4.5a.75.75 0 0 1-1.06 0",clipRule:"evenodd"}))},89757(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 2a.75.75 0 0 1 .75.75v10.5a.75.75 0 0 1-1.5 0V2.75A.75.75 0 0 1 8 2M2.22 4.97a.75.75 0 0 0 0 1.06L4.19 8 2.22 9.97a.75.75 0 1 0 1.06 1.06l2.5-2.5a.75.75 0 0 0 0-1.06l-2.5-2.5a.75.75 0 0 0-1.06 0m11.56 1.06a.75.75 0 0 0-1.06-1.06l-2.5 2.5a.75.75 0 0 0 0 1.06l2.5 2.5a.75.75 0 1 0 1.06-1.06L11.81 8z",clipRule:"evenodd"}))},56029(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M1.5 2.75a.75.75 0 0 0-1.5 0v10.5a.75.75 0 0 0 1.5 0zm14.5 0a.75.75 0 0 0-1.5 0v10.5a.75.75 0 0 0 1.5 0zM6.53 4.97a.75.75 0 0 1 0 1.06L4.56 8l1.97 1.97a.75.75 0 1 1-1.06 1.06l-2.5-2.5a.75.75 0 0 1 0-1.06l2.5-2.5a.75.75 0 0 1 1.06 0m2.94 1.06a.75.75 0 0 1 1.06-1.06l2.5 2.5a.75.75 0 0 1 0 1.06l-2.5 2.5a.75.75 0 1 1-1.06-1.06L11.44 8z",clipRule:"evenodd"}))},11169(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M13.5 8a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0M15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0m-3.9-1.55a.75.75 0 1 0-1.2-.9L7.419 8.858 6.03 7.47a.75.75 0 0 0-1.06 1.06l2 2a.75.75 0 0 0 1.13-.08z",clipRule:"evenodd"}))},83544(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14m3.1-8.55a.75.75 0 1 0-1.2-.9L7.419 8.858 6.03 7.47a.75.75 0 0 0-1.06 1.06l2 2a.75.75 0 0 0 1.13-.08z",clipRule:"evenodd"}))},52198(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 13.5a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14m1-9.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0m-.25 3a.75.75 0 0 0-1.5 0V11a.75.75 0 0 0 1.5 0z",clipRule:"evenodd"}))},63584(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14m1-9.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0M8 7.75a.75.75 0 0 1 .75.75V11a.75.75 0 0 1-1.5 0V8.5A.75.75 0 0 1 8 7.75",clipRule:"evenodd"}))},66840(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M13.5 8a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0M15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0M6.53 5.47a.75.75 0 0 0-1.06 1.06L6.94 8 5.47 9.47a.75.75 0 1 0 1.06 1.06L8 9.06l1.47 1.47a.75.75 0 1 0 1.06-1.06L9.06 8l1.47-1.47a.75.75 0 1 0-1.06-1.06L8 6.94z",clipRule:"evenodd"}))},17453(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14M6.53 5.47a.75.75 0 0 0-1.06 1.06L6.94 8 5.47 9.47a.75.75 0 1 0 1.06 1.06L8 9.06l1.47 1.47a.75.75 0 1 0 1.06-1.06L9.06 8l1.47-1.47a.75.75 0 1 0-1.06-1.06L8 6.94z",clipRule:"evenodd"}))},16400(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 2.5H8A1.5 1.5 0 0 0 6.5 4v1H8a3 3 0 0 1 3 3v1.5h1A1.5 1.5 0 0 0 13.5 8V4A1.5 1.5 0 0 0 12 2.5M11 11h1a3 3 0 0 0 3-3V4a3 3 0 0 0-3-3H8a3 3 0 0 0-3 3v1H4a3 3 0 0 0-3 3v4a3 3 0 0 0 3 3h4a3 3 0 0 0 3-3zM4 6.5h4A1.5 1.5 0 0 1 9.5 8v4A1.5 1.5 0 0 1 8 13.5H4A1.5 1.5 0 0 1 2.5 12V8A1.5 1.5 0 0 1 4 6.5",clipRule:"evenodd"}))},45422(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("g",{fill:"currentColor"},r.createElement("path",{d:"m8 9.076.085-.107a.751.751 0 1 0-1.171-.937L5.438 9.877 5.03 9.47a.747.747 0 0 0-1.06 0 .75.75 0 0 0 0 1.06l.407.408.593.592a.75.75 0 0 0 1.116-.061l.522-.654h.001z"}),r.createElement("path",{fillRule:"evenodd",d:"M12 11a3 3 0 0 0 3-3V4a3 3 0 0 0-3-3H8a3 3 0 0 0-3 3v1H4a3 3 0 0 0-3 3v4a3 3 0 0 0 3 3h4a3 3 0 0 0 3-3v-1zM4 6.5A1.5 1.5 0 0 0 2.5 8v4A1.5 1.5 0 0 0 4 13.5h4A1.5 1.5 0 0 0 9.5 12V8A1.5 1.5 0 0 0 8 6.5zM13.5 4A1.5 1.5 0 0 0 12 2.5H8A1.5 1.5 0 0 0 6.5 4v1H8a3 3 0 0 1 3 3v1.5h1A1.5 1.5 0 0 0 13.5 8z",clipRule:"evenodd"})))},28643(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.5 12c0 .414-.168.79-.44 1.06A1.5 1.5 0 0 1 8 13.5H4a1.5 1.5 0 0 1-1.06-.44A1.5 1.5 0 0 1 2.5 12V8c0-.414.168-.79.44-1.06A1.5 1.5 0 0 1 4 6.5h4c.414 0 .79.168 1.06.44.272.27.44.646.44 1.06zm-1.47-1.03L7.06 10l.97-.97a.75.75 0 0 0-1.06-1.06L6 8.94l-.97-.97a.75.75 0 0 0-1.06 1.06l.97.97-.97.97a.75.75 0 0 0 1.06 1.06l.97-.97.97.97a.75.75 0 0 0 1.06-1.06M6.5 5H8a3 3 0 0 1 3 3v1.5h1A1.5 1.5 0 0 0 13.5 8V4A1.5 1.5 0 0 0 12 2.5H8A1.5 1.5 0 0 0 6.5 4zM5 4a3 3 0 0 1 3-3h4a3 3 0 0 1 3 3v4a3 3 0 0 1-3 3h-1v1a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3V8a3 3 0 0 1 3-3h1z",clipRule:"evenodd"}))},37881(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.5 4h9c.25 0 .485.06.692.169L8.75 7.5a1.25 1.25 0 0 1-1.5 0L2.808 4.169C3.015 4.06 3.251 4 3.5 4M2.001 5.438 2 5.5v5A1.5 1.5 0 0 0 3.5 12h9a1.5 1.5 0 0 0 1.5-1.5v-5l-.001-.062L9.65 8.7a2.75 2.75 0 0 1-3.3 0zM.5 5.5a3 3 0 0 1 3-3h9a3 3 0 0 1 3 3v5a3 3 0 0 1-3 3h-9a3 3 0 0 1-3-3z",clipRule:"evenodd"}))},64482(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M7.199 2H8.8a.2.2 0 0 1 .2.2c0 1.808 1.958 2.939 3.524 2.034a.2.2 0 0 1 .271.073l.802 1.388a.2.2 0 0 1-.073.272c-1.566.904-1.566 3.164 0 4.069a.2.2 0 0 1 .073.271l-.802 1.388a.2.2 0 0 1-.271.073C10.958 10.863 9 11.993 9 13.8a.2.2 0 0 1-.199.2H7.2a.2.2 0 0 1-.2-.2c0-1.808-1.958-2.938-3.524-2.034a.2.2 0 0 1-.272-.073l-.8-1.388a.2.2 0 0 1 .072-.271c1.566-.905 1.566-3.165 0-4.07a.2.2 0 0 1-.073-.27l.801-1.389a.2.2 0 0 1 .272-.072C5.042 5.138 7 4.007 7 2.199c0-.11.089-.199.199-.199M5.5 2.2c0-.94.76-1.7 1.699-1.7H8.8c.94 0 1.7.76 1.7 1.7a.85.85 0 0 0 1.274.735 1.7 1.7 0 0 1 2.32.622l.802 1.388c.469.813.19 1.851-.622 2.32a.85.85 0 0 0 0 1.472 1.7 1.7 0 0 1 .622 2.32l-.802 1.388a1.7 1.7 0 0 1-2.32.622.85.85 0 0 0-1.274.735c0 .939-.76 1.7-1.699 1.7H7.2a1.7 1.7 0 0 1-1.699-1.7.85.85 0 0 0-1.274-.735 1.7 1.7 0 0 1-2.32-.622l-.802-1.388a1.7 1.7 0 0 1 .622-2.32.85.85 0 0 0 0-1.471 1.7 1.7 0 0 1-.622-2.32l.801-1.389a1.7 1.7 0 0 1 2.32-.622A.85.85 0 0 0 5.5 2.2m4 5.8a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0",clipRule:"evenodd"}))},9568(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.208 12.346c-.485 1-.953 1.154-1.208 1.154s-.723-.154-1.208-1.154c-.372-.768-.647-1.858-.749-3.187a21 21 0 0 0 3.914 0c-.102 1.329-.377 2.419-.75 3.187m.788-4.699C9.358 7.714 8.69 7.75 8 7.75s-1.358-.036-1.996-.103c.037-1.696.343-3.075.788-3.993C7.277 2.654 7.745 2.5 8 2.5s.723.154 1.208 1.154c.445.918.75 2.297.788 3.993m1.478 1.306c-.085 1.516-.375 2.848-.836 3.874a5.5 5.5 0 0 0 2.843-4.364c-.621.199-1.295.364-2.007.49m1.918-2.043c-.572.204-1.21.379-1.901.514-.056-1.671-.354-3.14-.853-4.251a5.5 5.5 0 0 1 2.754 3.737m-8.883.514c.056-1.671.354-3.14.853-4.251A5.5 5.5 0 0 0 2.608 6.91c.572.204 1.21.379 1.901.514M2.52 8.463a5.5 5.5 0 0 0 2.843 4.364c-.46-1.026-.75-2.358-.836-3.874a15.5 15.5 0 0 1-2.007-.49M15 8A7 7 0 1 0 1 8a7 7 0 0 0 14 0",clipRule:"evenodd"}))},52605(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M7 3a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M5.5 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3m5 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3m0-5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3M7 13a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m3.5 1.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3",clipRule:"evenodd"}))},85889(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.47 6.53a.75.75 0 0 1 1.06 1.061l-.727.727a2.743 2.743 0 0 0 3.879 3.879l.727-.727a.75.75 0 0 1 1.06 1.06l-.726.727a4.243 4.243 0 0 1-6-6zm8 1.879a.75.75 0 0 0 1.06 1.06l.727-.726a4.243 4.243 0 0 0-6-6l-.727.727a.75.75 0 0 0 1.061 1.06l.727-.727a2.743 2.743 0 0 1 3.879 3.879zm-.94-1.879a.75.75 0 1 0-1.06-1.06l-4 4a.75.75 0 1 0 1.06 1.06z",clipRule:"evenodd"}))},84941(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.5 7a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0m-.82 4.74a6 6 0 1 1 1.06-1.06l2.79 2.79a.75.75 0 1 1-1.06 1.06z",clipRule:"evenodd"}))},39688(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.423 1A3.577 3.577 0 0 1 15 4.577c0 .27-.108.53-.3.722l-.528.529-1.971 1.971-5.059 5.059a3 3 0 0 1-1.533.82l-2.638.528a1 1 0 0 1-1.177-1.177l.528-2.638a3 3 0 0 1 .82-1.533l5.059-5.059 2.5-2.5c.191-.191.451-.299.722-.299m-2.31 4.009-4.91 4.91a1.5 1.5 0 0 0-.41.766l-.38 1.903 1.902-.38a1.5 1.5 0 0 0 .767-.41l4.91-4.91a2.08 2.08 0 0 0-1.88-1.88m3.098.658a3.6 3.6 0 0 0-1.878-1.879l1.28-1.28c.995.09 1.788.884 1.878 1.88z",clipRule:"evenodd"}))},10571(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",d:"M13 10a.75.75 0 0 1 .725.556 2.37 2.37 0 0 0 1.72 1.72.75.75 0 0 1 0 1.449 2.37 2.37 0 0 0-1.72 1.72.75.75 0 0 1-1.45 0 2.37 2.37 0 0 0-1.72-1.72.75.75 0 0 1 0-1.45 2.37 2.37 0 0 0 1.72-1.72l.043-.117A.75.75 0 0 1 13 10M7 0a1 1 0 0 1 .986.836c.279 1.67.815 2.8 1.596 3.582.781.781 1.912 1.317 3.582 1.596a1 1 0 0 1 0 1.972c-1.67.279-2.8.815-3.582 1.596-.781.781-1.317 1.912-1.596 3.582a1 1 0 0 1-1.972 0c-.279-1.67-.815-2.8-1.596-3.582-.781-.781-1.912-1.317-3.582-1.596a1 1 0 0 1 0-1.972c1.67-.279 2.8-.815 3.582-1.596.781-.781 1.317-1.912 1.596-3.582l.018-.089A1 1 0 0 1 7 0"}))},51011(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M4.5 3A1.5 1.5 0 0 0 3 4.5v1.75a.75.75 0 0 1-1.5 0V4.5a3 3 0 0 1 3-3h1.75a.75.75 0 0 1 0 1.5zM9 2.25a.75.75 0 0 1 .75-.75h1.75a3 3 0 0 1 3 3v1.75a.75.75 0 0 1-1.5 0V4.5A1.5 1.5 0 0 0 11.5 3H9.75A.75.75 0 0 1 9 2.25M2.25 9a.75.75 0 0 1 .75.75v1.75A1.5 1.5 0 0 0 4.5 13h1.75a.75.75 0 0 1 0 1.5H4.5a3 3 0 0 1-3-3V9.75A.75.75 0 0 1 2.25 9m11.5 0a.75.75 0 0 1 .75.75v1.75a3 3 0 0 1-3 3H9.75a.75.75 0 0 1 0-1.5h1.75a1.5 1.5 0 0 0 1.5-1.5V9.75a.75.75 0 0 1 .75-.75",clipRule:"evenodd"}))},12191(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 4.5A1.5 1.5 0 0 1 4.5 3h1.75a.75.75 0 0 0 0-1.5H4.5a3 3 0 0 0-3 3v1.75a.75.75 0 0 0 1.5 0zm6.75-3a.75.75 0 0 0 0 1.5h1.75A1.5 1.5 0 0 1 13 4.5v1.75a.75.75 0 0 0 1.5 0V4.5a3 3 0 0 0-3-3zM3 9.75a.75.75 0 0 0-1.5 0v1.75a3 3 0 0 0 3 3h1.75a.75.75 0 0 0 0-1.5H4.5A1.5 1.5 0 0 1 3 11.5zm11.5 0a.75.75 0 0 0-1.5 0v1.75a1.5 1.5 0 0 1-1.5 1.5H9.75a.75.75 0 0 0 0 1.5h1.75a3 3 0 0 0 3-3zM10 8a2 2 0 1 1-4 0 2 2 0 0 1 4 0m1.5 0a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0",clipRule:"evenodd"}))},93847(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M4.5 3h7A1.5 1.5 0 0 1 13 4.5v7a1.5 1.5 0 0 1-1.5 1.5h-7A1.5 1.5 0 0 1 3 11.5v-7A1.5 1.5 0 0 1 4.5 3m-3 1.5a3 3 0 0 1 3-3h7a3 3 0 0 1 3 3v7a3 3 0 0 1-3 3h-7a3 3 0 0 1-3-3zm4.75.75a1 1 0 1 1-2 0 1 1 0 0 1 2 0m1 0A.75.75 0 0 1 8 4.5h2.75a.75.75 0 0 1 0 1.5H8a.75.75 0 0 1-.75-.75M5.25 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2m1 1.75a1 1 0 1 1-2 0 1 1 0 0 1 2 0M8 7.25a.75.75 0 0 0 0 1.5h2.75a.75.75 0 0 0 0-1.5zm-.75 3.5A.75.75 0 0 1 8 10h2.75a.75.75 0 0 1 0 1.5H8a.75.75 0 0 1-.75-.75",clipRule:"evenodd"}))},97201(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"m9.194 5 .351.873.94.064 3.197.217-2.46 2.055-.722.603.23.914.782 3.108-2.714-1.704L8 10.629l-.798.5-2.714 1.705.782-3.108.23-.914-.723-.603-2.46-2.055 3.198-.217.94-.064.35-.874L8 2.025zm-7.723-.292 3.943-.268L6.886.773C7.29-.231 8.71-.231 9.114.773l1.472 3.667 3.943.268c1.08.073 1.518 1.424.688 2.118L12.185 9.36l.964 3.832c.264 1.05-.886 1.884-1.802 1.31L8 12.4l-3.347 2.101c-.916.575-2.066-.26-1.802-1.309l.964-3.832L.783 6.826c-.83-.694-.391-2.045.688-2.118",clipRule:"evenodd"}))},42344(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",d:"M6.886.773C7.29-.231 8.71-.231 9.114.773l1.472 3.667 3.943.268c1.08.073 1.518 1.424.688 2.118L12.185 9.36l.964 3.832c.264 1.05-.886 1.884-1.802 1.31L8 12.4l-3.347 2.101c-.916.575-2.066-.26-1.802-1.309l.964-3.832L.783 6.826c-.83-.694-.391-2.045.688-2.118l3.943-.268z"}))},76463(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 3a.75.75 0 0 1-.75-.75V.75a.75.75 0 0 1 1.5 0v1.5A.75.75 0 0 1 8 3m0 7.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8m-.75 3.25a.75.75 0 0 0 1.5 0v-1.5a.75.75 0 0 0-1.5 0zM13 8a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 0 1.5h-1.5A.75.75 0 0 1 13 8M.75 7.25a.75.75 0 0 0 0 1.5h1.5a.75.75 0 0 0 0-1.5zm10.786-2.786a.75.75 0 0 1 0-1.06l1.06-1.06a.75.75 0 0 1 1.06 1.06l-1.06 1.06a.75.75 0 0 1-1.06 0m-9.193 8.132a.75.75 0 0 0 1.06 1.06l1.062-1.06a.75.75 0 0 0-1.061-1.06zm9.193-1.06a.75.75 0 0 1 1.06 0l1.06 1.06a.75.75 0 0 1-1.06 1.06l-1.06-1.06a.75.75 0 0 1 0-1.06M3.404 2.343a.75.75 0 0 0-1.06 1.06l1.06 1.061a.75.75 0 1 0 1.06-1.06z",clipRule:"evenodd"}))},79072(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"m12 9-2.94 5.041a1.932 1.932 0 0 1-3.56-1.378l.25-1.163.321-1.5h-2.94a2 2 0 0 1-1.927-2.535l.879-3.162A4 4 0 0 1 6.404 1.4L11.5 2zM6.229 2.89l3.863.455.379 5.3-2.708 4.64a.432.432 0 0 1-.796-.308l.571-2.663.389-1.814H3.13a.5.5 0 0 1-.482-.634l.879-3.162a2.5 2.5 0 0 1 2.7-1.814m7.023 5.663a.75.75 0 1 0 1.496-.106l-.5-7a.75.75 0 0 0-1.496.106z",clipRule:"evenodd"}))},61509(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8.9 14.315a1.38 1.38 0 0 1-2.542-.984L7.07 10H3.13a2 2 0 0 1-1.927-2.535l.879-3.162A4 4 0 0 1 6.404 1.4L11.5 2l.5 7zm4.352-5.762a.75.75 0 1 0 1.496-.106l-.5-7a.75.75 0 0 0-1.496.106z",clipRule:"evenodd"}))},52869(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"m4 7 2.94-5.041a1.932 1.932 0 0 1 3.56 1.378L10.25 4.5 9.93 6h2.94a2 2 0 0 1 1.927 2.535l-.879 3.162A4 4 0 0 1 9.596 14.6L4.5 14zm5.771 6.11-3.863-.455-.379-5.3 2.708-4.64a.432.432 0 0 1 .796.308l-.571 2.663L8.073 7.5h4.796a.5.5 0 0 1 .482.634l-.879 3.162a2.5 2.5 0 0 1-2.7 1.814M2.748 7.447a.75.75 0 1 0-1.496.106l.5 7a.75.75 0 0 0 1.496-.106z",clipRule:"evenodd"}))},87812(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M7.1 1.685a1.38 1.38 0 0 1 2.542.984L8.93 6h3.94a2 2 0 0 1 1.927 2.535l-.879 3.162A4 4 0 0 1 9.596 14.6L4.5 14 4 7zM2.749 7.447a.75.75 0 1 0-1.496.106l.5 7a.75.75 0 0 0 1.496-.106z",clipRule:"evenodd"}))},33844(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"m7.836 6 .76-2.027L9.336 2H5.5a.72.72 0 0 0-.664.45L2.513 8.257a.177.177 0 0 0 .164.243h4.965l-.732 2.013-1.082 2.975a.382.382 0 0 0 .637.392l6.956-7.391A.29.29 0 0 0 13.21 6H7.835m2.727-3 .235-.627A1.386 1.386 0 0 0 9.5.5h-4c-.906 0-1.72.552-2.057 1.393L1.12 7.7A1.677 1.677 0 0 0 2.677 10H5.5l-.545 1.5-.537 1.475a1.882 1.882 0 0 0 3.14 1.933l6.956-7.391A1.79 1.79 0 0 0 13.21 4.5H10z",clipRule:"evenodd"}))},16017(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",d:"m14.61 6.914-7.632 8.08a1.614 1.614 0 0 1-2.69-1.66L5.5 10H2.677A1.677 1.677 0 0 1 1.12 7.7l2.323-5.807A2.22 2.22 0 0 1 5.5.5h4c.968 0 1.637.967 1.298 1.873L10 4.5h3.569a1.431 1.431 0 0 1 1.04 2.414"}))},14204(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M7.134 2.994 2.217 11.5a1 1 0 0 0 .866 1.5h9.834a1 1 0 0 0 .866-1.5L8.866 2.993a1 1 0 0 0-1.732 0m3.03-.75c-.962-1.665-3.366-1.665-4.329 0L.918 10.749c-.963 1.666.24 3.751 2.165 3.751h9.834c1.925 0 3.128-2.085 2.164-3.751zM8 5a.75.75 0 0 1 .75.75v2a.75.75 0 0 1-1.5 0v-2A.75.75 0 0 1 8 5m1 5.75a1 1 0 1 1-2 0 1 1 0 0 1 2 0",clipRule:"evenodd"}))},75561(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.835 2.244c.963-1.665 3.367-1.665 4.33 0l4.916 8.505c.964 1.666-.24 3.751-2.164 3.751H3.083c-1.925 0-3.128-2.085-2.165-3.751zM8 5a.75.75 0 0 1 .75.75v2a.75.75 0 1 1-1.5 0v-2A.75.75 0 0 1 8 5m1 5.75a1 1 0 1 1-2 0 1 1 0 0 1 2 0",clipRule:"evenodd"}))},43168(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.47 3.47a.75.75 0 0 1 1.06 0L8 6.94l3.47-3.47a.75.75 0 1 1 1.06 1.06L9.06 8l3.47 3.47a.75.75 0 1 1-1.06 1.06L8 9.06l-3.47 3.47a.75.75 0 0 1-1.06-1.06L6.94 8 3.47 4.53a.75.75 0 0 1 0-1.06",clipRule:"evenodd"}))},46442(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var l=i(n(62440)),o=n(79878),s=new Set(["input","option","optgroup","select","button","datalist","textarea"]),c=new Set(["p"]),u=new Set(["thead","tbody"]),d=new Set(["dd","dt"]),h=new Set(["rt","rp"]),p=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",c],["h1",c],["h2",c],["h3",c],["h4",c],["h5",c],["h6",c],["select",s],["input",s],["output",s],["button",s],["datalist",s],["textarea",s],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",d],["dt",d],["address",c],["article",c],["aside",c],["blockquote",c],["details",c],["div",c],["dl",c],["fieldset",c],["figcaption",c],["figure",c],["footer",c],["form",c],["header",c],["hr",c],["main",c],["nav",c],["ol",c],["pre",c],["section",c],["table",c],["ul",c],["rt",h],["rp",h],["tbody",u],["tfoot",u]]),f=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),m=new Set(["math","svg"]),g=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),v=/\s|\//;t.Parser=function(){function e(e,t){var n,r,a,i,o;void 0===t&&(t={}),this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=null!=e?e:{},this.lowerCaseTagNames=null!=(n=t.lowerCaseTags)?n:!t.xmlMode,this.lowerCaseAttributeNames=null!=(r=t.lowerCaseAttributeNames)?r:!t.xmlMode,this.tokenizer=new(null!=(a=t.Tokenizer)?a:l.default)(this.options,this),null==(o=(i=this.cbs).onparserinit)||o.call(i,this)}return e.prototype.ontext=function(e,t){var n,r,a=this.getSlice(e,t);this.endIndex=t-1,null==(r=(n=this.cbs).ontext)||r.call(n,a),this.startIndex=t},e.prototype.ontextentity=function(e){var t,n,r=this.tokenizer.getSectionStart();this.endIndex=r-1,null==(n=(t=this.cbs).ontext)||n.call(t,(0,o.fromCodePoint)(e)),this.startIndex=r},e.prototype.isVoidElement=function(e){return!this.options.xmlMode&&f.has(e)},e.prototype.onopentagname=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);this.lowerCaseTagNames&&(n=n.toLowerCase()),this.emitOpenTag(n)},e.prototype.emitOpenTag=function(e){this.openTagStart=this.startIndex,this.tagname=e;var t,n,r,a,i=!this.options.xmlMode&&p.get(e);if(i)for(;this.stack.length>0&&i.has(this.stack[this.stack.length-1]);){var l=this.stack.pop();null==(n=(t=this.cbs).onclosetag)||n.call(t,l,!0)}!this.isVoidElement(e)&&(this.stack.push(e),m.has(e)?this.foreignContext.push(!0):g.has(e)&&this.foreignContext.push(!1)),null==(a=(r=this.cbs).onopentagname)||a.call(r,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.endOpenTag=function(e){var t,n;this.startIndex=this.openTagStart,this.attribs&&(null==(n=(t=this.cbs).onopentag)||n.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},e.prototype.onopentagend=function(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1},e.prototype.onclosetag=function(e,t){this.endIndex=t;var n,r,a,i,l,o,s=this.getSlice(e,t);if(this.lowerCaseTagNames&&(s=s.toLowerCase()),(m.has(s)||g.has(s))&&this.foreignContext.pop(),this.isVoidElement(s))this.options.xmlMode||"br"!==s||(null==(r=(n=this.cbs).onopentagname)||r.call(n,"br"),null==(i=(a=this.cbs).onopentag)||i.call(a,"br",{},!0),null==(o=(l=this.cbs).onclosetag)||o.call(l,"br",!1));else{var c=this.stack.lastIndexOf(s);if(-1!==c)if(this.cbs.onclosetag)for(var u=this.stack.length-c;u--;)this.cbs.onclosetag(this.stack.pop(),0!==u);else this.stack.length=c;else this.options.xmlMode||"p"!==s||(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1},e.prototype.onselfclosingtag=function(e){this.endIndex=e,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)},e.prototype.closeCurrentTag=function(e){var t,n,r=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===r&&(null==(n=(t=this.cbs).onclosetag)||n.call(t,r,!e),this.stack.pop())},e.prototype.onattribname=function(e,t){this.startIndex=e;var n=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n},e.prototype.onattribdata=function(e,t){this.attribvalue+=this.getSlice(e,t)},e.prototype.onattribentity=function(e){this.attribvalue+=(0,o.fromCodePoint)(e)},e.prototype.onattribend=function(e,t){var n,r;this.endIndex=t,null==(r=(n=this.cbs).onattribute)||r.call(n,this.attribname,this.attribvalue,e===l.QuoteType.Double?'"':e===l.QuoteType.Single?"'":e===l.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},e.prototype.getInstructionName=function(e){var t=e.search(v),n=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n},e.prototype.ondeclaration=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var r=this.getInstructionName(n);this.cbs.onprocessinginstruction("!".concat(r),"!".concat(n))}this.startIndex=t+1},e.prototype.onprocessinginstruction=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var r=this.getInstructionName(n);this.cbs.onprocessinginstruction("?".concat(r),"?".concat(n))}this.startIndex=t+1},e.prototype.oncomment=function(e,t,n){var r,a,i,l;this.endIndex=t,null==(a=(r=this.cbs).oncomment)||a.call(r,this.getSlice(e,t-n)),null==(l=(i=this.cbs).oncommentend)||l.call(i),this.startIndex=t+1},e.prototype.oncdata=function(e,t,n){this.endIndex=t;var r,a,i,l,o,s,c,u,d,h,p=this.getSlice(e,t-n);this.options.xmlMode||this.options.recognizeCDATA?(null==(a=(r=this.cbs).oncdatastart)||a.call(r),null==(l=(i=this.cbs).ontext)||l.call(i,p),null==(s=(o=this.cbs).oncdataend)||s.call(o)):(null==(u=(c=this.cbs).oncomment)||u.call(c,"[CDATA[".concat(p,"]]")),null==(h=(d=this.cbs).oncommentend)||h.call(d)),this.startIndex=t+1},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var n=this.stack.length;n>0;this.cbs.onclosetag(this.stack[--n],!0));}null==(t=(e=this.cbs).onend)||t.call(e)},e.prototype.reset=function(){var e,t,n,r;null==(t=(e=this.cbs).onreset)||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,null==(r=(n=this.cbs).onparserinit)||r.call(n,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.getSlice=function(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var n=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,t-this.bufferOffset);return n},e.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},e.prototype.write=function(e){var t,n;if(this.ended){null==(n=(t=this.cbs).onerror)||n.call(t,Error(".write() after done!"));return}this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++)},e.prototype.end=function(e){var t,n;if(this.ended){null==(n=(t=this.cbs).onerror)||n.call(t,Error(".end() after done!"));return}e&&this.write(e),this.ended=!0,this.tokenizer.end()},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()},e.prototype.parseChunk=function(e){this.write(e)},e.prototype.done=function(e){this.end(e)},e}()},62440(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QuoteType=void 0;var r,a,i,l,o,s,c=n(79878);function u(e){return e===l.Space||e===l.NewLine||e===l.Tab||e===l.FormFeed||e===l.CarriageReturn}function d(e){return e===l.Slash||e===l.Gt||u(e)}function h(e){return e>=l.Zero&&e<=l.Nine}(r=l||(l={}))[r.Tab=9]="Tab",r[r.NewLine=10]="NewLine",r[r.FormFeed=12]="FormFeed",r[r.CarriageReturn=13]="CarriageReturn",r[r.Space=32]="Space",r[r.ExclamationMark=33]="ExclamationMark",r[r.Number=35]="Number",r[r.Amp=38]="Amp",r[r.SingleQuote=39]="SingleQuote",r[r.DoubleQuote=34]="DoubleQuote",r[r.Dash=45]="Dash",r[r.Slash=47]="Slash",r[r.Zero=48]="Zero",r[r.Nine=57]="Nine",r[r.Semi=59]="Semi",r[r.Lt=60]="Lt",r[r.Eq=61]="Eq",r[r.Gt=62]="Gt",r[r.Questionmark=63]="Questionmark",r[r.UpperA=65]="UpperA",r[r.LowerA=97]="LowerA",r[r.UpperF=70]="UpperF",r[r.LowerF=102]="LowerF",r[r.UpperZ=90]="UpperZ",r[r.LowerZ=122]="LowerZ",r[r.LowerX=120]="LowerX",r[r.OpeningSquareBracket=91]="OpeningSquareBracket",(a=o||(o={}))[a.Text=1]="Text",a[a.BeforeTagName=2]="BeforeTagName",a[a.InTagName=3]="InTagName",a[a.InSelfClosingTag=4]="InSelfClosingTag",a[a.BeforeClosingTagName=5]="BeforeClosingTagName",a[a.InClosingTagName=6]="InClosingTagName",a[a.AfterClosingTagName=7]="AfterClosingTagName",a[a.BeforeAttributeName=8]="BeforeAttributeName",a[a.InAttributeName=9]="InAttributeName",a[a.AfterAttributeName=10]="AfterAttributeName",a[a.BeforeAttributeValue=11]="BeforeAttributeValue",a[a.InAttributeValueDq=12]="InAttributeValueDq",a[a.InAttributeValueSq=13]="InAttributeValueSq",a[a.InAttributeValueNq=14]="InAttributeValueNq",a[a.BeforeDeclaration=15]="BeforeDeclaration",a[a.InDeclaration=16]="InDeclaration",a[a.InProcessingInstruction=17]="InProcessingInstruction",a[a.BeforeComment=18]="BeforeComment",a[a.CDATASequence=19]="CDATASequence",a[a.InSpecialComment=20]="InSpecialComment",a[a.InCommentLike=21]="InCommentLike",a[a.BeforeSpecialS=22]="BeforeSpecialS",a[a.SpecialStartSequence=23]="SpecialStartSequence",a[a.InSpecialTag=24]="InSpecialTag",a[a.BeforeEntity=25]="BeforeEntity",a[a.BeforeNumericEntity=26]="BeforeNumericEntity",a[a.InNamedEntity=27]="InNamedEntity",a[a.InNumericEntity=28]="InNumericEntity",a[a.InHexEntity=29]="InHexEntity",(i=s=t.QuoteType||(t.QuoteType={}))[i.NoValue=0]="NoValue",i[i.Unquoted=1]="Unquoted",i[i.Single=2]="Single",i[i.Double=3]="Double";var p={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])};t.default=function(){function e(e,t){var n=e.xmlMode,r=void 0!==n&&n,a=e.decodeEntities;this.cbs=t,this.state=o.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=o.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=r,this.decodeEntities=void 0===a||a,this.entityTrie=r?c.xmlDecodeTree:c.htmlDecodeTree}return e.prototype.reset=function(){this.state=o.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=o.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},e.prototype.write=function(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()},e.prototype.end=function(){this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},e.prototype.getIndex=function(){return this.index},e.prototype.getSectionStart=function(){return this.sectionStart},e.prototype.stateText=function(e){e===l.Lt||!this.decodeEntities&&this.fastForwardTo(l.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=o.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===l.Amp&&(this.state=o.BeforeEntity)},e.prototype.stateSpecialStartSequence=function(e){var t=this.sequenceIndex===this.currentSequence.length;if(t?d(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=o.InTagName,this.stateInTagName(e)},e.prototype.stateInSpecialTag=function(e){if(this.sequenceIndex===this.currentSequence.length){if(e===l.Gt||u(e)){var t=this.index-this.currentSequence.length;if(this.sectionStart<t){var n=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=n}this.isSpecial=!1,this.sectionStart=t+2,this.stateInClosingTagName(e);return}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===p.TitleEnd?this.decodeEntities&&e===l.Amp&&(this.state=o.BeforeEntity):this.fastForwardTo(l.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===l.Lt)},e.prototype.stateCDATASequence=function(e){e===p.Cdata[this.sequenceIndex]?++this.sequenceIndex===p.Cdata.length&&(this.state=o.InCommentLike,this.currentSequence=p.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=o.InDeclaration,this.stateInDeclaration(e))},e.prototype.fastForwardTo=function(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1},e.prototype.stateInCommentLike=function(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===p.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=o.Text):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},e.prototype.isTagStartChar=function(e){return this.xmlMode?!d(e):e>=l.LowerA&&e<=l.LowerZ||e>=l.UpperA&&e<=l.UpperZ},e.prototype.startSpecial=function(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=o.SpecialStartSequence},e.prototype.stateBeforeTagName=function(e){if(e===l.ExclamationMark)this.state=o.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===l.Questionmark)this.state=o.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){var t=32|e;this.sectionStart=this.index,this.xmlMode||t!==p.TitleEnd[2]?this.state=this.xmlMode||t!==p.ScriptEnd[2]?o.InTagName:o.BeforeSpecialS:this.startSpecial(p.TitleEnd,3)}else e===l.Slash?this.state=o.BeforeClosingTagName:(this.state=o.Text,this.stateText(e))},e.prototype.stateInTagName=function(e){d(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=o.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateBeforeClosingTagName=function(e){u(e)||(e===l.Gt?this.state=o.Text:(this.state=this.isTagStartChar(e)?o.InClosingTagName:o.InSpecialComment,this.sectionStart=this.index))},e.prototype.stateInClosingTagName=function(e){(e===l.Gt||u(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=o.AfterClosingTagName,this.stateAfterClosingTagName(e))},e.prototype.stateAfterClosingTagName=function(e){(e===l.Gt||this.fastForwardTo(l.Gt))&&(this.state=o.Text,this.baseState=o.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeAttributeName=function(e){e===l.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=o.InSpecialTag,this.sequenceIndex=0):this.state=o.Text,this.baseState=this.state,this.sectionStart=this.index+1):e===l.Slash?this.state=o.InSelfClosingTag:u(e)||(this.state=o.InAttributeName,this.sectionStart=this.index)},e.prototype.stateInSelfClosingTag=function(e){e===l.Gt?(this.cbs.onselfclosingtag(this.index),this.state=o.Text,this.baseState=o.Text,this.sectionStart=this.index+1,this.isSpecial=!1):u(e)||(this.state=o.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateInAttributeName=function(e){(e===l.Eq||d(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=o.AfterAttributeName,this.stateAfterAttributeName(e))},e.prototype.stateAfterAttributeName=function(e){e===l.Eq?this.state=o.BeforeAttributeValue:e===l.Slash||e===l.Gt?(this.cbs.onattribend(s.NoValue,this.index),this.state=o.BeforeAttributeName,this.stateBeforeAttributeName(e)):u(e)||(this.cbs.onattribend(s.NoValue,this.index),this.state=o.InAttributeName,this.sectionStart=this.index)},e.prototype.stateBeforeAttributeValue=function(e){e===l.DoubleQuote?(this.state=o.InAttributeValueDq,this.sectionStart=this.index+1):e===l.SingleQuote?(this.state=o.InAttributeValueSq,this.sectionStart=this.index+1):u(e)||(this.sectionStart=this.index,this.state=o.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))},e.prototype.handleInAttributeValue=function(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===l.DoubleQuote?s.Double:s.Single,this.index),this.state=o.BeforeAttributeName):this.decodeEntities&&e===l.Amp&&(this.baseState=this.state,this.state=o.BeforeEntity)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,l.DoubleQuote)},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,l.SingleQuote)},e.prototype.stateInAttributeValueNoQuotes=function(e){u(e)||e===l.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(s.Unquoted,this.index),this.state=o.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===l.Amp&&(this.baseState=this.state,this.state=o.BeforeEntity)},e.prototype.stateBeforeDeclaration=function(e){e===l.OpeningSquareBracket?(this.state=o.CDATASequence,this.sequenceIndex=0):this.state=e===l.Dash?o.BeforeComment:o.InDeclaration},e.prototype.stateInDeclaration=function(e){(e===l.Gt||this.fastForwardTo(l.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=o.Text,this.sectionStart=this.index+1)},e.prototype.stateInProcessingInstruction=function(e){(e===l.Gt||this.fastForwardTo(l.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=o.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeComment=function(e){e===l.Dash?(this.state=o.InCommentLike,this.currentSequence=p.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=o.InDeclaration},e.prototype.stateInSpecialComment=function(e){(e===l.Gt||this.fastForwardTo(l.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=o.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeSpecialS=function(e){var t=32|e;t===p.ScriptEnd[3]?this.startSpecial(p.ScriptEnd,4):t===p.StyleEnd[3]?this.startSpecial(p.StyleEnd,4):(this.state=o.InTagName,this.stateInTagName(e))},e.prototype.stateBeforeEntity=function(e){this.entityExcess=1,this.entityResult=0,e===l.Number?this.state=o.BeforeNumericEntity:e===l.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=o.InNamedEntity,this.stateInNamedEntity(e))},e.prototype.stateInNamedEntity=function(e){if(this.entityExcess+=1,this.trieIndex=(0,c.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0){this.emitNamedEntity(),this.index--;return}this.trieCurrent=this.entityTrie[this.trieIndex];var t=this.trieCurrent&c.BinTrieFlags.VALUE_LENGTH;if(t){var n=(t>>14)-1;if(this.allowLegacyEntity()||e===l.Semi){var r=this.index-this.entityExcess+1;r>this.sectionStart&&this.emitPartial(this.sectionStart,r),this.entityResult=this.trieIndex,this.trieIndex+=n,this.entityExcess=0,this.sectionStart=this.index+1,0===n&&this.emitNamedEntity()}else this.trieIndex+=n}},e.prototype.emitNamedEntity=function(){if(this.state=this.baseState,0!==this.entityResult)switch((this.entityTrie[this.entityResult]&c.BinTrieFlags.VALUE_LENGTH)>>14){case 1:this.emitCodePoint(this.entityTrie[this.entityResult]&~c.BinTrieFlags.VALUE_LENGTH);break;case 2:this.emitCodePoint(this.entityTrie[this.entityResult+1]);break;case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}},e.prototype.stateBeforeNumericEntity=function(e){(32|e)===l.LowerX?(this.entityExcess++,this.state=o.InHexEntity):(this.state=o.InNumericEntity,this.stateInNumericEntity(e))},e.prototype.emitNumericEntity=function(e){var t=this.index-this.entityExcess-1;t+2+Number(this.state===o.InHexEntity)!==this.index&&(t>this.sectionStart&&this.emitPartial(this.sectionStart,t),this.sectionStart=this.index+Number(e),this.emitCodePoint((0,c.replaceCodePoint)(this.entityResult))),this.state=this.baseState},e.prototype.stateInNumericEntity=function(e){e===l.Semi?this.emitNumericEntity(!0):h(e)?(this.entityResult=10*this.entityResult+(e-l.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.stateInHexEntity=function(e){if(e===l.Semi)this.emitNumericEntity(!0);else if(h(e))this.entityResult=16*this.entityResult+(e-l.Zero),this.entityExcess++;else e>=l.UpperA&&e<=l.UpperF||e>=l.LowerA&&e<=l.LowerF?(this.entityResult=16*this.entityResult+((32|e)-l.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===o.Text||this.baseState===o.InSpecialTag)},e.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===o.Text||this.state===o.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===o.InAttributeValueDq||this.state===o.InAttributeValueSq||this.state===o.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},e.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},e.prototype.parse=function(){for(;this.shouldContinue();){var e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case o.Text:this.stateText(e);break;case o.SpecialStartSequence:this.stateSpecialStartSequence(e);break;case o.InSpecialTag:this.stateInSpecialTag(e);break;case o.CDATASequence:this.stateCDATASequence(e);break;case o.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(e);break;case o.InAttributeName:this.stateInAttributeName(e);break;case o.InCommentLike:this.stateInCommentLike(e);break;case o.InSpecialComment:this.stateInSpecialComment(e);break;case o.BeforeAttributeName:this.stateBeforeAttributeName(e);break;case o.InTagName:this.stateInTagName(e);break;case o.InClosingTagName:this.stateInClosingTagName(e);break;case o.BeforeTagName:this.stateBeforeTagName(e);break;case o.AfterAttributeName:this.stateAfterAttributeName(e);break;case o.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(e);break;case o.BeforeAttributeValue:this.stateBeforeAttributeValue(e);break;case o.BeforeClosingTagName:this.stateBeforeClosingTagName(e);break;case o.AfterClosingTagName:this.stateAfterClosingTagName(e);break;case o.BeforeSpecialS:this.stateBeforeSpecialS(e);break;case o.InAttributeValueNq:this.stateInAttributeValueNoQuotes(e);break;case o.InSelfClosingTag:this.stateInSelfClosingTag(e);break;case o.InDeclaration:this.stateInDeclaration(e);break;case o.BeforeDeclaration:this.stateBeforeDeclaration(e);break;case o.BeforeComment:this.stateBeforeComment(e);break;case o.InProcessingInstruction:this.stateInProcessingInstruction(e);break;case o.InNamedEntity:this.stateInNamedEntity(e);break;case o.BeforeEntity:this.stateBeforeEntity(e);break;case o.InHexEntity:this.stateInHexEntity(e);break;case o.InNumericEntity:this.stateInNumericEntity(e);break;default:this.stateBeforeNumericEntity(e)}this.index++}this.cleanup()},e.prototype.finish=function(){this.state===o.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},e.prototype.handleTrailingData=function(){var e=this.buffer.length+this.offset;this.state===o.InCommentLike?this.currentSequence===p.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===o.InNumericEntity&&this.allowLegacyEntity()||this.state===o.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===o.InTagName||this.state===o.BeforeAttributeName||this.state===o.BeforeAttributeValue||this.state===o.AfterAttributeName||this.state===o.InAttributeName||this.state===o.InAttributeValueSq||this.state===o.InAttributeValueDq||this.state===o.InAttributeValueNq||this.state===o.InClosingTagName||this.cbs.ontext(this.sectionStart,e)},e.prototype.emitPartial=function(e,t){this.baseState!==o.Text&&this.baseState!==o.InSpecialTag?this.cbs.onattribdata(e,t):this.cbs.ontext(e,t)},e.prototype.emitCodePoint=function(e){this.baseState!==o.Text&&this.baseState!==o.InSpecialTag?this.cbs.onattribentity(e):this.cbs.ontextentity(e)},e}()},30453(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DomUtils=t.parseFeed=t.getFeed=t.ElementType=t.Tokenizer=t.createDomStream=t.parseDOM=t.parseDocument=t.DefaultHandler=t.DomHandler=t.Parser=void 0;var o=n(46442),s=n(46442);Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return s.Parser}});var c=n(41141),u=n(41141);function d(e,t){var n=new c.DomHandler(void 0,t);return new o.Parser(n,t).end(e),n.root}function h(e,t){return d(e,t).children}Object.defineProperty(t,"DomHandler",{enumerable:!0,get:function(){return u.DomHandler}}),Object.defineProperty(t,"DefaultHandler",{enumerable:!0,get:function(){return u.DomHandler}}),t.parseDocument=d,t.parseDOM=h,t.createDomStream=function(e,t,n){var r=new c.DomHandler(e,t,n);return new o.Parser(r,t)};var p=n(62440);Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return l(p).default}}),t.ElementType=i(n(45413));var f=n(98888),m=n(98888);Object.defineProperty(t,"getFeed",{enumerable:!0,get:function(){return m.getFeed}});var g={xmlMode:!0};t.parseFeed=function(e,t){return void 0===t&&(t=g),(0,f.getFeed)(h(e,t))},t.DomUtils=i(n(98888))},93646(e,t,n){let r=n(30453),a=n(52834),{isPlainObject:i}=n(78682),l=n(14744),o=n(29466),{parse:s}=n(12895),c=["img","audio","video","picture","svg","object","map","iframe","embed"],u=["script","style"];function d(e,t){e&&Object.keys(e).forEach(function(n){t(e[n],n)})}function h(e,t){return({}).hasOwnProperty.call(e,t)}function p(e,t){let n=[];return d(e,function(e){t(e)&&n.push(e)}),n}e.exports=m;let f=/^[^\0\t\n\f\r /<=>]+$/;function m(e,t,n){let v,b,w,y,x,E,C,A,k;if(null==e)return"";"number"==typeof e&&(e=e.toString());let S="",_="";function M(e,t){let n=this;this.tag=e,this.attribs=t||{},this.tagPosition=S.length,this.text="",this.mediaChildren=[],this.updateParentNodeText=function(){if(x.length){let e=x[x.length-1];e.text+=n.text}},this.updateParentNodeMediaChildren=function(){x.length&&c.includes(this.tag)&&x[x.length-1].mediaChildren.push(this.tag)}}(t=Object.assign({},m.defaults,t)).parser=Object.assign({},g,t.parser);let j=function(e){return!1===t.allowedTags||(t.allowedTags||[]).indexOf(e)>-1};u.forEach(function(e){j(e)&&!t.allowVulnerableTags&&console.warn(`
797
+ `,zhTw:'{\n "controls": {\n "label_wide_format": "寬幅格式",\n "description_wide_format_enabled": "已開啓",\n "description_wide_format_disabled": "已關閉",\n "label_show_mini_toc": "浏覽當前文章",\n "description_show_mini_toc_enabled": "已啟用",\n "description_show_mini_toc_disabled": "已停用",\n "label_theme": "主題",\n "label_light_theme": "亮色",\n "full_label_light_theme": "亮色主題",\n "label_dark_theme": "深色",\n "full_label_dark_theme": "深色主題",\n "description_enabled_dark_theme": "已開啓",\n "description_disabled_dark_theme": "已關閉",\n "label_text_size": "文字大小",\n "description_s_text_size": "減小",\n "description_m_text_size": "默認值",\n "description_l_text_size": "增大",\n "full-screen-text-enabled": "退出閱覽模式(Esc)",\n "full-screen-text-disabled": "閱覽模式",\n "single-page-text-enabled": "退出單頁模式",\n "single-page-text-disabled": "單頁模式",\n "pdf-text": "PDF",\n "edit-text-github": "在GitHub上進行編輯",\n "edit-text-arcanum": "在Arcanum上進行編輯",\n "edit-text": "編輯",\n "settings-text": "設置",\n "lang-text": "語言",\n "like-text": "文章有所裨益",\n "dislike-text": "文章了無用處",\n "cancel-like-text": "變得更糟",\n "cancel-dislike-text": "變得更好",\n "feedback-success-title": "謝謝!",\n "feedback-success-text": "您的回答將有助于完善文件",\n "subscribe-text": "訂閱",\n "subscribe-documentation-title": "訂閱整份文件",\n "unsubscribe-documentation-title": "退訂文件",\n "subscribe-documentation-placeholder": "輸入您的電子郵件地址",\n "subscribe-page-title": "訂閱當前頁面",\n "unsubscribe-page-title": "取消訂閱頁面",\n "email-text-invalid": "電子郵件地址無效",\n "email-request-fail": "出錯了。請您在幾分鍾後再試一次",\n "verify-title": "請確認您的電子郵箱",\n "verify-text": "電子郵件已發送到您的郵箱,其中包含一個鏈接,用于確認您的電子郵件地址是否正確。請您點擊電子郵件中的鏈接完成訂閱。",\n "dislike-variants-title": "請您告訴我,這篇文章有什麽問題",\n "send-action-text": "發送",\n "skip-action-text": "跳轉",\n "feedback-comment-placeholder": "補充信息將有所幫助",\n "lang-control-text-ru": "俄語",\n "lang-control-text-en": "英語",\n "label_to-main-menu": "回到主菜單"\n },\n "mini-toc": {\n "title": "在這篇文章中",\n "article-navigation": "文章導航",\n "description": "當前文章的內容"\n },\n "toc-nav-panel": {\n "hint_previous": "上一篇",\n "hint_next": "下一篇",\n "drop-down-list": "下拉列表"\n },\n "authors": {\n "title": "文章已完成"\n },\n "contributors": {\n "title": "已得到完善"\n },\n "feedback": {\n "like-text": "文章有所裨益",\n "dislike-text": "文章了無用處",\n "cancel-like-text": "變得更糟",\n "cancel-dislike-text": "變得更好",\n "success-title": "謝謝!",\n "success-text": "您的回答將有助于完善文件",\n "dislike-variants-title": "請您告訴我,這篇文章有什麽問題",\n "send-action-text": "發送",\n "comment-placeholder": "補充信息將有所幫助",\n "button-like-text": "是",\n "button-dislike-text": "不是",\n "main-question": "這篇文章是否有用?"\n },\n "feedback-variants": {\n "irrelevant-answer": "沒有回答我的問題",\n "useless-recs": "這些建議沒有作用",\n "content-mismatch": "內容與標題不一致",\n "other": "其它"\n },\n "search-bar": {\n "search-query-label": "已按要求找到",\n "close": "關閉",\n "prev": "上一個",\n "next": "下一個"\n },\n "error": {\n "label_meta-title-403": "無訪問權限",\n "label_meta-title-404": "找不到頁面",\n "label_meta-title-500": "出錯了",\n "label_title-code": "出錯了 {{code}}",\n "label_title-403_project": "無法進入該項目",\n "label_title-403_page-group": "無法進入該頁面",\n "label_title-404": "該頁面不存在",\n "label_title-500": "服務器無法加載該頁面",\n "label_description-1": "我們已著手解決此類問題",\n "label_description-link": "重新加載頁面",\n "label_description-2": "。",\n "label_link-main": "返回主頁",\n "label_link-access": "請求訪問權限",\n\n "label_subtext": "它可在以下語言使用:",\n "label_lang-ar": "阿拉伯語",\n "label_lang-bg": "保加利亞語",\n "label_lang-cs": "捷克語",\n "label_lang-el": "希臘語",\n "label_lang-en": "英語",\n "label_lang-es": "西班牙語",\n "label_lang-et": "愛沙尼亞語",\n "label_lang-fr": "法語",\n "label_lang-he": "希伯來語",\n "label_lang-kk": "哈薩克語",\n "label_lang-pt": "葡萄牙語",\n "label_lang-ru": "俄語",\n "label_lang-tr": "土耳其語",\n "label_lang-uz": "烏茲別克語",\n "label_lang-zh": "簡體中文",\n "label_lang-zh-tw": "繁體中文"\n },\n "search": {\n "search_placeholder": "搜索",\n "search_action": "找到",\n "search_close": "關閉",\n "search_request-query": "根據請求提供的結果",\n "search_not-found-title": "未找到與您的請求相關的信息",\n "search_not-found-text": "請您檢查一下拼寫是否正確或嘗試其他關鍵詞。",\n "search_mark_like": "所需信息",\n "search_mark_dislike": "完全沒有此類信息",\n "search_mark-result-text": "感謝評價!"\n },\n "search-suggest": {\n "search-suggest_all-results": "所有結果",\n "search-suggest_not-found": "未找到相關結果「{{query}}」。",\n "search-suggest_error-text": "出了些問題。請再試一次。",\n "search-item_type-all": "全部",\n "search-item_type-doc": "文件",\n "search-item_type-main": "主頁",\n "search-suggest_ask-ai": "向 AI 提問",\n "search-suggest_ai-chat": "AI 聊天"\n },\n "paginator": {\n "next": "下一頁",\n "prev": "上一頁"\n },\n "header": {\n "versions-select-placeholder": "版本"\n }\n}\n',zh:'{\n "controls": {\n "label_wide_format": "宽幅格式",\n "description_wide_format_enabled": "已开启",\n "description_wide_format_disabled": "已关闭",\n "label_show_mini_toc": "浏览当前文章",\n "description_show_mini_toc_enabled": "已启用",\n "description_show_mini_toc_disabled": "已禁用",\n "label_theme": "主题",\n "label_light_theme": "浅色",\n "full_label_light_theme": "浅色主题",\n "label_dark_theme": "深色",\n "full_label_dark_theme": "深色主题",\n "description_enabled_dark_theme": "已开启",\n "description_disabled_dark_theme": "已关闭",\n "label_text_size": "文字大小",\n "description_s_text_size": "减小",\n "description_m_text_size": "默认值",\n "description_l_text_size": "增大",\n "full-screen-text-enabled": "退出阅览模式(Esc)",\n "full-screen-text-disabled": "阅览模式",\n "single-page-text-enabled": "退出单页模式",\n "single-page-text-disabled": "单页模式",\n "pdf-text": "PDF",\n "edit-text-github": "在GitHub上进行编辑",\n "edit-text-arcanum": "在Arcanum上进行编辑",\n "edit-text": "编辑",\n "settings-text": "设置",\n "lang-text": "语言",\n "like-text": "文章有所裨益",\n "dislike-text": "文章了无用处",\n "cancel-like-text": "变得更糟",\n "cancel-dislike-text": "变得更好",\n "feedback-success-title": "谢谢!",\n "feedback-success-text": "您的回答将有助于完善文件",\n "subscribe-text": "订阅",\n "subscribe-documentation-title": "订阅整份文件",\n "unsubscribe-documentation-title": "退订文件",\n "subscribe-documentation-placeholder": "输入您的电子邮件地址",\n "subscribe-page-title": "订阅当前页面",\n "unsubscribe-page-title": "取消订阅页面",\n "email-text-invalid": "电子邮件地址无效",\n "email-request-fail": "出错了。请您在几分钟后再试一次",\n "verify-title": "请确认您的电子邮箱",\n "verify-text": "电子邮件已发送到您的邮箱,其中包含一个链接,用于确认您的电子邮件地址是否正确。请您点击电子邮件中的链接完成订阅。",\n "dislike-variants-title": "请您告诉我,这篇文章有什么问题",\n "send-action-text": "发送",\n "skip-action-text": "跳转",\n "feedback-comment-placeholder": "补充信息将有所帮助",\n "lang-control-text-ru": "俄语",\n "lang-control-text-en": "英语",\n "label_to-main-menu": "返回主菜单"\n },\n "mini-toc": {\n "title": "在这篇文章中",\n "article-navigation": "文章导航",\n "description": "当前文章的内容"\n },\n "toc-nav-panel": {\n "hint_previous": "上一篇",\n "hint_next": "下一篇",\n "drop-down-list": "下拉列表"\n },\n "authors": {\n "title": "文章已完成"\n },\n "contributors": {\n "title": "已得到完善"\n },\n "feedback": {\n "like-text": "文章有所裨益",\n "dislike-text": "文章了无用处",\n "cancel-like-text": "变得更糟",\n "cancel-dislike-text": "变得更好",\n "success-title": "谢谢!",\n "success-text": "您的回答将有助于完善文件",\n "dislike-variants-title": "请您告诉我,这篇文章有什么问题",\n "send-action-text": "发送",\n "comment-placeholder": "补充信息将有所帮助",\n "button-like-text": "是",\n "button-dislike-text": "不是",\n "main-question": "这篇文章是否有用?"\n },\n "feedback-variants": {\n "irrelevant-answer": "没有回答我的问题",\n "useless-recs": "这些建议没有作用",\n "content-mismatch": "内容与标题不一致",\n "other": "其它"\n },\n "search-bar": {\n "search-query-label": "已按要求找到",\n "close": "关闭",\n "prev": "上一个",\n "next": "下一个"\n },\n "error": {\n "label_meta-title-403": "无访问权限",\n "label_meta-title-404": "找不到页面",\n "label_meta-title-500": "出错了",\n "label_title-code": "出错了 {{code}}",\n "label_title-403_project": "无法进入该项目",\n "label_title-403_page-group": "无法进入该页面",\n "label_title-404": "该页面不存在",\n "label_title-500": "服务器无法加载该页面",\n "label_description-1": "我们已着手解决此类问题",\n "label_description-link": "重新加载页面",\n "label_description-2": "。",\n "label_link-main": "返回主页",\n "label_link-access": "请求访问权限",\n\n "label_subtext": "可在以下语言使用:",\n "label_lang-ar": "阿拉伯语",\n "label_lang-bg": "保加利亚语",\n "label_lang-cs": "捷克语",\n "label_lang-el": "希腊语",\n "label_lang-en": "英语",\n "label_lang-es": "西班牙语",\n "label_lang-et": "爱沙尼亚语",\n "label_lang-fr": "法语",\n "label_lang-he": "希伯来语",\n "label_lang-kk": "哈萨克语",\n "label_lang-pt": "葡萄牙语",\n "label_lang-ru": "俄语",\n "label_lang-tr": "土耳其语",\n "label_lang-uz": "乌兹别克语",\n "label_lang-zh": "简体中文",\n "label_lang-zh-tw": "繁体中文"\n },\n "search": {\n "search_placeholder": "搜索",\n "search_action": "找到",\n "search_close": "关闭",\n "search_request-query": "根据请求提供的结果",\n "search_not-found-title": "未找到与您的请求相关的信息",\n "search_not-found-text": "请您检查一下拼写是否正确或尝试其他关键词。",\n "search_mark_like": "所需信息",\n "search_mark_dislike": "完全没有此类信息",\n "search_mark-result-text": "感谢评价!"\n },\n "search-suggest": {\n "search-suggest_all-results": "所有结果",\n "search-suggest_not-found": "没有找到“{{query}}”的结果。",\n "search-suggest_error-text": "出现了一些问题。请再试一次。",\n "search-item_type-all": "全部",\n "search-item_type-doc": "文档",\n "search-item_type-main": "首页",\n "search-suggest_ask-ai": "向 AI 提问",\n "search-suggest_ai-chat": "AI 聊天"\n },\n "paginator": {\n "next": "下一页",\n "prev": "上一页"\n },\n "header": {\n "versions-select-placeholder": "版本"\n }\n}\n'}},78184(e,t,n){"use strict";n.d(t,{JA:()=>p,KG:()=>g,MW:()=>f,Sx:()=>u,Uv:()=>h,ov:()=>d,v6:()=>m});var r,a,i,l,o,s,c,u=((r=u||{}).Light="light",r.Dark="dark",r),d=((a=d||{}).S="s",a.M="m",a.L="l",a),h=((i=h||{}).M="m",i.L="l",i.XL="xl",i),p=((l=p||{}).Ru="ru",l.En="en",l.He="he",l.Es="es",l.Fr="fr",l.Cs="cs",l.Ar="ar",l),f=((o=f||{}).like="like",o.dislike="dislike",o.indeterminate="indeterminate",o),m=((s=m||{}).documentation="documentation",s.page="page",s),g=((c=g||{}).Base="BASE",c.Leading="LEADING",c.PageConstructor="PAGE_CONSTRUCTOR",c)},85391(e,t,n){"use strict";if(n.d(t,{W:()=>l}),509==n.j)var r=n(58786);var a=Object.defineProperty,i=(e,t,n)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?a(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n},l=class{constructor(e){i(this,"config"),i(this,"initialized",!1),this.config=e}async init(){if(!this.initialized){this.initialized=!0;try{let{id:e,params:t={}}=this.config;o()(e,"init",t),await (0,r.V)({url:"https://mc.yandex.ru/metrika/tag.js",element:document.head,defer:!1})}catch(e){console.error("Yandex Metrika load failed",e)}}}send(e,t){o()(this.config.id,"reachGoal",e,t)}};function o(){let e=window;return e.ym||(e.ym=(...t)=>{(e.ym.a=e.ym.a||[]).push(t)},e.ym.l=new Date().getTime()),e.ym}},87112(e,t,n){"use strict";n.d(t,{j:()=>o});var r=class{send(e,t){let n=console,r=new Date().toLocaleTimeString();n.groupCollapsed(`%c\u{1F4CA} Analytics%c ${e} %c${r}`,"color: #2196F3; font-weight: bold;","color: #4CAF50; font-weight: bold;","color: #999; font-size: 0.9em;"),t&&n.log("Params:",t),n.groupEnd()}},a="_analytics_debug",i=Object.defineProperty,l=(e,t,n)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?i(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n},o=class{constructor(e){l(this,"adapters"),l(this,"initialized",!1),this.adapters=new Set(e.adapters),this.track=this.track.bind(this),("boolean"==typeof e.debug?e.debug:function(){try{var e,t;let n;if("u"<typeof window)return!1;let r=new URLSearchParams(window.location.search).get(a),i=(e=a,(n=document.cookie.match(RegExp(`(^| )${encodeURIComponent(e)}=([^;]+)`)))?n[2]:null);if("1"===r)return"1"!==i&&function(e,t,n=1){document.cookie=`${encodeURIComponent(e)}=${encodeURIComponent("1")}; path=/; max-age=${24*n*3600}`}(a,"1"),!0;if("0"===r){return i&&(t=a,document.cookie=`${encodeURIComponent(t)}=; path=/; max-age=0`),!1}return"1"===i}catch(e){return!1}}())&&this.adapters.add(new r)}async init(){if(!this.initialized){this.initialized=!0;try{let e=Array.from(this.adapters,e=>"function"==typeof e.init?e.init():null);await Promise.all(e)}catch(e){this.initialized=!1,console.error("Failed to initialize the analytics service:",e)}}}track(e,t){for(let n of this.adapters)n.send(e,t)}}},27039(e,t,n){"use strict";n.d(t,{Q:()=>a});var r,a=((r=a||{}).DOCS_EDIT_IN_VCS_CLICK="DOCS_EDIT-IN-VCS_CLICK",r.DOCS_READING_MODE_CLICK="DOCS_READING-MODE_CLICK",r.DOCS_FOOTER_LIKE_CLICK="DOCS_FOOTER-LIKE_CLICK",r.DOCS_FOOTER_DISLIKE_CLICK="DOCS_FOOTER-DISLIKE_CLICK",r.DOCS_ASIDE_LIKE_CLICK="DOCS_ASIDE-LIKE_CLICK",r.DOCS_ASIDE_DISLIKE_CLICK="DOCS_ASIDE-DISLIKE_CLICK",r.DOCS_SEARCH_CLICK="DOCS_SEARCH_CLICK",r.DOCS_FOOTER_NEXT_CLICK="DOCS_FOOTER-NEXT_CLICK",r.DOCS_FOOTER_PREV_CLICK="DOCS_FOOTER-PREV_CLICK",r.DOCS_LANG_CLICK="DOCS_LANG_CLICK",r.DOCS_HEADER_SETTINGS_CLICK="DOCS_HEADER-SETTINGS_CLICK",r.DOCS_HEADER_LOGO_CLICK="DOCS_HEADER-LOGO_CLICK",r.DOCS_HEADER_SANDWICH_MENU_CLICK="DOCS_HEADER-SANDWICH-MENU_CLICK",r.DOCS_WIDESCREEN_MODE_CLICK="DOCS_WIDESCREEN-MODE_CLICK",r.DOCS_HIDE_PAGE_NAV_CLICK="DOCS_HIDE-PAGE-NAV_CLICK",r.DOCS_FONTSIZE_MODE_CLICK="DOCS_FONTSIZE-MODE_CLICK",r)},56701(e,t,n){"use strict";n.d(t,{s:()=>o,y:()=>l});var r=n(96540),a=new(n(87112)).j({debug:!1,adapters:[]}),i=(0,r.createContext)(a),l=i.Provider;function o(){return(0,r.useContext)(i)}},58786(e,t,n){"use strict";async function r(e){let{url:t,defer:n=!1,element:r=document.body}=e;return new Promise((e,a)=>{let i=document.createElement("script");i.type="text/javascript",i.src=t,i.async=!n,i.defer=n,i.onload=e,i.onerror=a,r.appendChild(i)})}n.d(t,{V:()=>i});var a=509==n.j?{}:null;async function i(e){let{url:t}=e,n=a[t];if(n)return Promise.resolve(n);let i=await r(e);return a[t]=i,i}},63323(e,t,n){"use strict";let r;n.d(t,{ZR:()=>nh,Fd:()=>nc,Mt:()=>ng,LA:()=>nx,cQ:()=>nv,sZ:()=>nu,WC:()=>nd,Uj:()=>nf,M5:()=>ny,il:()=>nE,$T:()=>nw,ig:()=>nb,VP:()=>nm,xT:()=>np});var a,i=n(88835),l=n(96540),o=n(23614),s=n(81836),c=Object.defineProperty,u=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,p=(e,t,n)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,f=e=>{var{useMainTag:t=!0,children:n}=e,r=((e,t)=>{var n={};for(var r in e)d.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&u)for(var r of u(e))0>t.indexOf(r)&&h.call(e,r)&&(n[r]=e[r]);return n})(e,["useMainTag","children"]);return l.createElement(t?"main":"div",((e,t)=>{for(var n in t||(t={}))d.call(t,n)&&p(e,n,t[n]);if(u)for(var n of u(t))h.call(t,n)&&p(e,n,t[n]);return e})({},r),n)},m=n(81900),g=n(40258),v=Object.defineProperty,b=Object.defineProperties,w=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,C=(e,t,n)=>t in e?v(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,A=(0,o.default)("dc-doc-layout"),k=()=>null,S=()=>null,_=()=>null,M=({children:e,className:t,fullScreen:n=!1,wideFormat:r=!1,hideRight:a=!1,loading:i=!1,footer:o=null,legacyToc:s=!1,toc:c,router:u,headerHeight:d,tocTitleIcon:h,hideToc:p,singlePage:f,onChangeSinglePage:v,pdfLink:M,pdfIconConfig:j,hideTocHeader:O})=>{let R,L,T,N,z,D=(0,g.j)("toc"),P=(0,g.j)("toc-header"),B={"regular-page-width":!r,"full-screen":n,"hidden-right":a,loading:i};return l.Children.forEach(e,e=>{if(e)switch(e.type){case k:R=e.props.children;break;case S:L=e.props.children;break;case _:T=e.props.children}}),l.createElement("div",{className:A(null,t)},l.createElement("div",{className:A("mobile-only")},o),n?null:!D&&l.createElement("div",{className:A("left",B,s?A("legacy-toc"):void 0)},c&&!p&&l.createElement("div",{className:A("toc")},l.createElement(m.A,(N=((e,t)=>{for(var n in t||(t={}))x.call(t,n)&&C(e,n,t[n]);if(y)for(var n of y(t))E.call(t,n)&&C(e,n,t[n]);return e})({key:np(a,r,c.singlePage)},c),z={router:u,headerHeight:d,tocTitleIcon:h,hideTocHeader:O||P,singlePage:f,onChangeSinglePage:v,pdfLink:M,pdfIconConfig:j},b(N,w(z))))),R),n||a?null:l.createElement("div",{className:A("right",B)},T),l.createElement("div",{className:A("center",B)},L,l.createElement("div",{className:A("desktop-only")},o)))};M.Left=k,M.Center=S,M.Right=_;var j=(0,o.default)("dc-doc-page"),{wideFormat:O}=s.a$,R=({data:e,toc:t,router:n,headerHeight:r,wideFormat:a=O,hideToc:i,tocTitleIcon:o,footer:s,children:c,useMainTag:u,legacyToc:d,fullScreen:h,hideTocHeader:p,pdfLink:m,textSize:g,pdfIconConfig:v})=>{let b=j("body",{"text-size":g},"yfm");return l.createElement(M,{toc:t,router:n,headerHeight:r,className:j({"regular-page-width":!a}),hideToc:i,fullScreen:h||(null==e?void 0:e.fullScreen),tocTitleIcon:o,footer:s,hideRight:!0,wideFormat:a,legacyToc:d,hideTocHeader:p,pdfLink:m,pdfIconConfig:v},l.createElement(M.Center,null,l.createElement("div",{className:j("main")},l.createElement(f,{className:j("content",{},b),useMainTag:u},c))))},L=(0,o.default)("dc-mark"),T=({text:e,color:t="blue",size:n="s",className:r})=>l.createElement("span",{className:L({color:t,size:n},r)},e.toUpperCase()),N={preview:"blue",new:"green"},z=Object.keys(N),D=({stage:e,size:t="s",className:n})=>{if(!(e&&z.includes(e)))return null;let r=N[e];return l.createElement(T,{className:n,text:e,color:r,size:t})},P=(0,o.default)("dc-doc-page-title"),B=({children:e,stage:t,className:n})=>{let r=l.createElement(D,{stage:"tech-preview"===t?"preview":t,className:P("label")});return l.createElement("h1",{className:P(null,n)},r,e)},I=n(80165),H=({data:e="",html:t=!1,block:n=!1})=>{if(!e)return null;let r=Array.isArray(e)?e:[e];return l.createElement(l.Fragment,null,r.map((e,r)=>l.createElement(n?"div":"p",{key:r,className:n?"p":null},t?l.createElement(I.g,null,e):e)))},V=n(81988),q=n(94650),F=n(43168),$=(0,o.default)("dc-note"),U=({notification:e,notificationCb:t})=>{let[n,r]=(0,l.useState)(!0);if(!e||!n)return null;let{title:a="",content:i="",type:o="",permanent:s}=e,c=["info","tip","warning","alert"].includes(o.toLowerCase());return l.createElement("div",{className:$("wrapper")},l.createElement("div",{className:$({},c?`dc-accent-${o}`:$("template"))},a&&l.createElement("p",{className:$("title")},a),!s&&l.createElement(V.$,{view:"flat",className:$("xmark"),style:{position:"absolute"},onClick:()=>{t&&t(),r(!1)}},l.createElement(q.I,{data:F.A})),i&&l.createElement(I.g,{className:$("content")},i)))},G=n(60787),W=Object.defineProperty,K=Object.getOwnPropertySymbols,Z=Object.prototype.hasOwnProperty,Y=Object.prototype.propertyIsEnumerable,J=(e,t,n)=>t in e?W(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,X=(0,o.default)("dc-share-button"),Q={width:24,height:24},ee=({title:e,iconSize:t=Q,size:n="m",view:r="flat-secondary",className:a})=>{let i,o,s=(i="u"<typeof window?"":window.location.href,o=(0,l.useMemo)(()=>({title:e,url:i}),[e,i]),(0,l.useCallback)(()=>{navigator&&navigator.share?navigator.share(o).then(()=>{}).catch(e=>console.error("Error sharing",e)):console.log("Share not supported",o)},[o]));return l.createElement(V.$,{className:a+" "+X(),size:n,view:r,onClick:s},l.createElement(V.$.Icon,null,l.createElement(G.A,((e,t)=>{for(var n in t||(t={}))Z.call(t,n)&&J(e,n,t[n]);if(K)for(var n of K(t))Y.call(t,n)&&J(e,n,t[n]);return e})({},t))))},et=(0,o.default)("dc-doc-leading-page"),{wideFormat:en}=s.a$,er=({data:e,isRoot:t})=>l.createElement("li",{className:et("links-item",{root:t})},((e,t)=>{let{imgSrc:n}=e;return n&&t?l.createElement("div",{className:et("links-left")},l.createElement("img",{src:n})):null})(e,t),((e,t)=>{let n,{title:r,description:a,href:i,links:o}=e;return n=i?l.createElement("a",{href:i,className:et("links-link")},r):r,n=t?l.createElement("h2",{className:et("links-title",{root:t})},n):l.createElement("div",{className:et("links-title")},n),l.createElement("div",{className:et("links-right")},n,a&&t?l.createElement("p",{className:et("links-description")},a):null,l.createElement(ea,{links:o}))})(e,t)),ea=({links:e,isRoot:t})=>e&&e.length?l.createElement("ul",{className:et("links",{root:t})},e.map((e,n)=>l.createElement(er,{key:n,data:e,isRoot:t}))):null,ei=({data:{title:e,description:t,links:n},toc:r,router:a,headerHeight:i,wideFormat:o=en,hideTocHeader:s,hideToc:c,tocTitleIcon:u,footer:d,useMainTag:h,legacyToc:p,notification:m,notificationCb:g,isMobile:v,fullScreen:b,pdfLink:w,textSize:y})=>l.createElement(M,{toc:r,router:a,headerHeight:i,className:et({"regular-page-width":!o}),hideTocHeader:s,hideToc:c,tocTitleIcon:u,footer:d,legacyToc:p,fullScreen:b,pdfLink:w},l.createElement(M.Center,null,l.createElement(U,{notification:m,notificationCb:g}),l.createElement(f,{className:et("main"),useMainTag:h},l.createElement(B,{stage:null==r?void 0:r.stage,className:et("title")},l.createElement(I.g,null,e),v&&l.createElement(ee,{className:et("share-button"),title:e})),l.createElement("div",{className:et("description")},l.createElement(H,{data:t,html:!0,block:!0})),l.createElement("div",{className:et("body",{"text-size":y})},l.createElement(ea,{links:n,isRoot:!0}))))),el=n(85889),eo=n(40961),es=n(6790),ec=n(78184),eu=n(42344),ed=n(97201),eh=(0,o.default)("dc-bookmark-button"),ep=({isBookmarked:e,onBookmark:t})=>{let n=e?eu.A:ed.A;return l.createElement(V.$,{className:eh({active:e}),onClick:()=>{t(!e)},view:"flat-secondary"},l.createElement(V.$.Icon,{className:eh("icon")},l.createElement(n,{width:24,height:24})))},ef=(0,o.default)("dc-breadcrumbs"),em=({items:e,className:t})=>e&&e.length?l.createElement("nav",{className:ef(null,t),"aria-label":"Breadcrumbs"},l.createElement("ol",{className:ef("items")},e.map(({name:e,url:t},n,r)=>l.createElement("li",{key:n,className:ef("item")},function({name:e,url:t},n){let r=t&&!n;return l.createElement(r?"a":"span",{className:ef("text",{link:r}),href:t,"aria-current":n?"page":null},e)}({name:e,url:t},n===r.length-1))))):null,eg=n(62438),ev=n(64131),eb=((a=eb||{}).BIG="big",a.SMALL="small",a);function ew(e,t=!1){return t?ey(e):ey(e).split(" ").reduce((e,t,n)=>n>0?`${e} ${t.charAt(0)}.`:t,"")}function ey(e){let{name:t,email:n,login:r}=e;return t||n||r||""}var ex=(0,o.default)("dc-contributor-avatars");function eE(e,t,n){t||n||e.preventDefault()}var eC=e=>{let{avatarData:t,popupData:n,isRedirect:r=!1}=e,{contributor:a,size:i=eb.SMALL,inDetails:o=!1}=t,{changeVisiblilityPopup:s=()=>{},ref:c}=n||{},{avatar:u,email:d,login:h}=a,p=`avatar-${h||d}`;if(u)return l.createElement("img",{key:p,className:ex("avatar",{size:i}),src:u,ref:c,onMouseOver:()=>s(!0),onMouseLeave:()=>s(!1),onTouchStart:()=>s(),onTouchEnd:e=>eE(e,o,r)});let f=ey(a).charAt(0).toUpperCase();return l.createElement("button",{key:p,className:ex("avatar",{size:i,default:!0}),ref:c,onMouseOver:()=>s(!0),onMouseLeave:()=>s(!1),onTouchStart:()=>s(),onTouchEnd:e=>eE(e,o,r)},f)},eA=n(83880),ek=n(26591),eS=(0,o.default)("dc-contributor-avatars"),e_=e=>{let{contributors:t,popupData:n}=e,{ref:r,isVisiblePopup:a,changeVisiblilityPopup:i}=n||{},o=t.map(e=>(function(e){let{login:t,email:n,url:r}=e,a={contributor:e,size:eb.BIG,inDetails:!0},i=l.createElement(eC,{avatarData:a});return l.createElement(ev.N,{href:r,key:`details-${t||n}`},l.createElement("div",{className:eS("details")},i,l.createElement("div",{className:eS("details_name")},ew(e,!0))))})(e));return l.createElement(eA.z,{anchorRef:r,open:a,onOutsideClick:()=>i(!1),className:eS("popup"),placement:ek.k.BOTTOM,hasArrow:!0},o)},eM=e=>{let{contributor:t,avatarSize:n}=e,r=(0,l.useRef)(null),[a,i]=(0,l.useState)(!1),o={changeVisiblilityPopup:e=>{void 0!==e?i(e):i(!a)},ref:r,isVisiblePopup:a},s=l.createElement(eC,{avatarData:{contributor:t,size:n},popupData:o});return l.createElement(l.Fragment,null,s,l.createElement(e_,{contributors:[t],popupData:o}))},ej=(0,o.default)("dc-contributor-avatars"),eO=e=>{let{contributors:t,avatarsSize:n}=e,r=t.length,a=(0,l.useRef)(null),[i,o]=(0,l.useState)(!1);if(0===r)return null;let s=r>9?"9+":`+${r}`;return l.createElement(l.Fragment,null,l.createElement("button",{className:ej("avatar",{size:n}),ref:a,onClick:e=>{o(!i),e.preventDefault()},"aria-expanded":i},s),l.createElement(e_,{contributors:t,popupData:{ref:a,isVisiblePopup:i,changeVisiblilityPopup:()=>o(!1)}}))},eR=(0,o.default)("dc-contributor-avatars"),eL=e=>{let{contributors:t,isAuthor:n=!1,onlyAuthor:r=!1}=e;if(!t||0===t.length)return null;if(1===t.length){var a,i,o;let e;return a=t[0],i=n,o=r,e={contributor:a,size:eb.SMALL},l.createElement("div",{className:eR("one_contributor",i?{onlyAuthor:o}:{})},function(e,t,n=!1){return l.createElement(ev.N,{href:t,extraProps:{tabIndex:e.contributor.avatar?void 0:-1}},l.createElement(eC,{avatarData:e,isRedirect:n}))}(e,a.url),l.createElement("div",null,l.createElement(ev.N,{href:a.url},ew(a,i))))}let s=[...t],c=s.splice(3),u=s.map(e=>{let{url:t,login:n,email:r}=e;return l.createElement(ev.N,{key:`displayed-contributors-${n||r}`,href:t,extraProps:{tabIndex:e.avatar?void 0:-1}},l.createElement(eM,{contributor:e,avatarSize:eb.SMALL}))}),d=l.createElement(eO,{contributors:c,avatarsSize:eb.SMALL});return l.createElement(l.Fragment,null,l.createElement("div",{className:eR("displayed_avatars")},u),l.createElement("div",{className:eR("hidden_avatars")},d))},eT=(0,o.default)("dc-contributors"),eN=e=>{let{users:t,onlyAuthor:n=!1,isAuthor:r=!1,translationName:a="contributors"}=e,{t:i}=(0,eg.B)(a);return l.createElement("div",{className:eT()},l.createElement("div",{className:eT("title")},i("title")),l.createElement(eL,{contributors:t,isAuthor:r,onlyAuthor:n}))},ez=n(76746),eD=n(26141),eP=n(25346),eB=n(73895),eI=n(93847),eH=n(43507),eV=n(65342),eq=n(99866),eF=(0,o.default)("dc-sidebar-navigation"),e$=({isSidebarOpened:e,onSidebarOpenedChange:t,mobileControlsData:n,children:r,className:a})=>{let i=(0,l.useCallback)(n=>{n.nativeEvent.stopImmediatePropagation(),t(!e)},[e,t]);return l.createElement("div",{className:eF()},l.createElement(V.$,{className:eF("button",a),onClick:i,view:"flat",size:"xl"},l.createElement(V.$.Icon,null,e?l.createElement(F.A,{width:20,height:20}):l.createElement(eH.A,{width:20,height:20}))),l.createElement(eV.A,{isOpened:e},l.createElement(eq.A,{mobileControlsData:n},l.createElement("nav",{className:eF("navigation")},r))))};let eU=function(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=function e(t){var n,r,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t)if(Array.isArray(t)){var i=t.length;for(n=0;n<i;n++)t[n]&&(r=e(t[n]))&&(a&&(a+=" "),a+=r)}else for(r in t)t[r]&&(a&&(a+=" "),a+=r);return a}(e))&&(r&&(r+=" "),r+=t);return r};var eG=(0,o.default)("dc-mini-toc"),eW=({headings:e,activeHeading:t,onItemClick:n})=>{let{t:r}=(0,eg.B)("mini-toc"),[a,i]=(0,l.useState)(!1),o=(0,l.useRef)(null),[s]=(0,l.useState)(()=>new WeakMap);return(0,l.useLayoutEffect)(()=>{var e,t,n,r;i((null!=(t=null==(e=o.current)?void 0:e.scrollHeight)?t:0)>(null!=(r=null==(n=o.current)?void 0:n.clientHeight)?r:0))},[e]),(0,l.useLayoutEffect)(()=>{let e=t&&s.get(t),n=o.current;if(!e||!n)return;let r=!(e.offsetTop>n.scrollTop&&e.offsetTop+e.clientHeight<n.scrollTop+n.clientHeight),a=e.offsetTop>n.scrollTop?1:-1,i=r?e.offsetTop+a*(n.clientHeight/2):0;r&&n.scroll({top:i,behavior:"smooth"})},[s,t]),e.length?l.createElement("nav",{className:eG(),"aria-label":r("article-navigation")},l.createElement("h2",{className:eG("title")},r("title"),":"),l.createElement("ul",{className:eU(eG("sections"),a&&"dc-mini-toc_overflowed"),"aria-label":r("description"),ref:o},e.map(e=>l.createElement("li",{key:e.href,"data-hash":e.href,onClick:n,className:eG("section",{child:e.isChild,active:e.href===(null==t?void 0:t.href)}),ref:t=>s.set(e,t)},l.createElement("a",{href:e.href,className:eG("section-link"),"data-router-shallow":!0},e.title)))),l.createElement("div",{className:eG("bottom")})):null},eK=n(48869),eZ=Object.defineProperty,eY=Object.defineProperties,eJ=Object.getOwnPropertyDescriptors,eX=Object.getOwnPropertySymbols,eQ=Object.prototype.hasOwnProperty,e0=Object.prototype.propertyIsEnumerable,e1=(e,t,n)=>t in e?eZ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,e5=(e,t)=>{for(var n in t||(t={}))eQ.call(t,n)&&e1(e,n,t[n]);if(eX)for(var n of eX(t))e0.call(t,n)&&e1(e,n,t[n]);return e},e2=(0,o.default)("dc-subnavigation"),e7={width:20,height:20},e3=(0,l.memo)(({pageTitle:e="",router:t,toc:n,keyDOM:r,headings:a,mobileControlsData:i,headerHeight:o,hideMiniToc:s,hideBurger:c,hideTocHeader:u,tocTitleIcon:d,onMiniTocItemClick:h})=>{var p;let f=(0,l.useRef)(null),v=(0,g.j)("toc"),[b,w]=(0,l.useState)(!1),{miniTocOpen:y,closeMiniToc:x,miniTocHandler:E}=((e,t)=>{let[n,r]=(0,l.useState)(!1),a=(0,l.useCallback)(()=>r(!1),[]),i=(0,l.useCallback)(()=>{r(!n)},[n]);return{miniTocOpen:n,closeMiniToc:a,miniTocHandler:(0,l.useMemo)(()=>e||t?()=>{}:i,[e,t,i])}})(s,b),[C,A]=((e,t)=>{let[n,r]=(0,l.useState)(!0),[a,i]=(0,l.useState)(void 0),[o,s]=(0,l.useState)("u"<typeof window?null:window.scrollY),c=(0,l.useCallback)(()=>{let l=window.scrollY;if(null===o)return s(l);if(t||e||l<55){if(n)return;return r(!0)}n&&l>o?r(!1):!n&&l<o&&r(!0);let c=Math.abs(l-o);a||c<55||(s(l),i(window.setTimeout(()=>{window.clearTimeout(a),i(void 0)},300)))},[t,e,n,o,a]),u=(0,l.useCallback)(e=>r(e),[]);return(0,l.useEffect)(()=>{window.scrollY<55||(s(window.scrollY),i(window.setTimeout(()=>{s(window.scrollY),i(void 0)},100)))},[]),(0,l.useEffect)(()=>(window.addEventListener("scroll",c),()=>{window.removeEventListener("scroll",c)}),[c]),[n,u]})(b,y),{flatHeadings:k,activeHeading:S}=(({headings:e,rootRef:t})=>{var n;let r,[a,i]=(0,l.useState)(null),o=(0,l.useRef)(),s=(n=e=>{var t;for(let{target:n,isIntersecting:r}of e){let e=null==(t=o.current)?void 0:t.get(n);if(r&&e){i(e);break}}},(r=(0,l.useRef)(n)).current=n,(0,l.useCallback)((...e)=>r.current(...e),[])),c=(0,l.useMemo)(()=>(function e(t,n=!1){return t.reduce((t,{href:r,title:a,items:i})=>t.concat({title:a,href:r,isChild:n},e(i||[],!0)),[])})(e),[e]);return(0,l.useEffect)(()=>{let e,n=(e=new Map,c.forEach(t=>{let n=document.getElementById((e=>{let[,t=""]=e.split("#");return t})(t.href));n&&e.set(n,t)}),e);o.current=n;let r=new IntersectionObserver(s,{root:null==t?void 0:t.current});return[...n.keys()].forEach(e=>r.observe(e)),()=>r.disconnect()},[t,c,s]),{flatHeadings:c,activeHeading:a}})({headings:a}),_=(0,l.useCallback)(e=>{h&&h(e),setTimeout(()=>{A(!1),x()},0)},[A,x,h]),M=(0,l.useCallback)(()=>{x(),w(!b)},[b,x]),j=!c&&l.createElement(e$,{isSidebarOpened:b,onSidebarOpenedChange:M,mobileControlsData:i},!v&&l.createElement("div",{className:e2("toc")},l.createElement(m.A,eY(e5({},n),eJ({tocTitleIcon:d,router:t,headerHeight:o,hideTocHeader:u}))))),O=l.createElement(ee,{size:"xl",view:"flat",iconSize:e7,className:e2("share-button",{invisible:b&&c}),title:e}),R=l.createElement("button",{className:e2("mini-toc-button",{disabled:b||s}),type:"button",disabled:b||s,onClick:E},!s&&l.createElement("div",{className:e2("icon")},l.createElement(eI.A,e5({},e7))),l.createElement("span",{className:e2("title",{single:!0})},null!=(p=null==S?void 0:S.title)?p:e)),L=!s&&l.createElement("div",{ref:f,className:e2("mini-toc",{open:y})},l.createElement(eW,{key:r,headings:k,activeHeading:S,onItemClick:_}));return l.createElement(eK.A,{className:e2("wrapper"),anchor:f,onOutsideClick:x},l.createElement("div",{ref:f,className:e2({invisible:!C,visible:!s&&C,hidden:s&&c})},j,R,O),!s&&L)});e3.displayName="SubNavigation";var e6=n(36635);function e4(){return(e4=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}n(74848);var e8=["shift","alt","meta","mod","ctrl"],e9={esc:"escape",return:"enter",".":"period",",":"comma","-":"slash"," ":"space","`":"backquote","#":"backslash","+":"bracketright",ShiftLeft:"shift",ShiftRight:"shift",AltLeft:"alt",AltRight:"alt",MetaLeft:"meta",MetaRight:"meta",OSLeft:"meta",OSRight:"meta",ControlLeft:"ctrl",ControlRight:"ctrl"};function te(e){return(e&&e9[e]||e||"").trim().toLowerCase().replace(/key|digit|numpad|arrow/,"")}function tt(e,t){return void 0===t&&(t=","),e.split(t)}function tn(e,t,n){void 0===t&&(t="+");var r=e.toLocaleLowerCase().split(t).map(function(e){return te(e)}),a={alt:r.includes("alt"),ctrl:r.includes("ctrl")||r.includes("control"),shift:r.includes("shift"),meta:r.includes("meta"),mod:r.includes("mod")},i=r.filter(function(e){return!e8.includes(e)});return e4({},a,{keys:i,description:n,hotkey:e})}"u">typeof document&&(document.addEventListener("keydown",function(e){void 0!==e.key&&ti([te(e.key),te(e.code)])}),document.addEventListener("keyup",function(e){void 0!==e.key&&tl([te(e.key),te(e.code)])})),"u">typeof window&&window.addEventListener("blur",function(){tr.clear()});var tr=new Set;function ta(e){return Array.isArray(e)}function ti(e){var t=Array.isArray(e)?e:[e];tr.has("meta")&&tr.forEach(function(e){return!e8.includes(e)&&tr.delete(e.toLowerCase())}),t.forEach(function(e){return tr.add(e.toLowerCase())})}function tl(e){var t=Array.isArray(e)?e:[e];"meta"===e?tr.clear():t.forEach(function(e){return tr.delete(e.toLowerCase())})}function to(e,t){void 0===t&&(t=!1);var n,r=e.target,a=e.composed,i=null;return(i=(n=r).tagName&&!n.tagName.startsWith("-")&&n.tagName.includes("-")&&a?e.composedPath()[0]&&e.composedPath()[0].tagName:r&&r.tagName,ta(t))?!!(i&&t&&t.some(function(e){var t;return e.toLowerCase()===(null==(t=i)?void 0:t.toLowerCase())})):!!(i&&t&&t)}var ts=function(e,t,n){void 0===n&&(n=!1);var r,a=t.alt,i=t.meta,l=t.mod,o=t.shift,s=t.ctrl,c=t.keys,u=e.key,d=e.code,h=e.ctrlKey,p=e.metaKey,f=e.shiftKey,m=e.altKey,g=te(d),v=u.toLowerCase();if(!(null!=c&&c.includes(g))&&!(null!=c&&c.includes(v))&&!["ctrl","control","unknown","meta","alt","shift","os"].includes(g))return!1;if(!n){if(!m===a&&"alt"!==v||!f===o&&"shift"!==v)return!1;if(l){if(!p&&!h)return!1}else if(!p===i&&"meta"!==v&&"os"!==v||!h===s&&"ctrl"!==v&&"control"!==v)return!1}return!!(c&&1===c.length&&(c.includes(v)||c.includes(g)))||(c?(void 0===r&&(r=","),(ta(c)?c:c.split(r)).every(function(e){return tr.has(e.trim().toLowerCase())})):!c||!1)},tc=(0,l.createContext)(void 0),tu=(0,l.createContext)({hotkeys:[],enabledScopes:[],toggleScope:function(){},enableScope:function(){},disableScope:function(){}}),td=function(e){e.stopPropagation(),e.preventDefault(),e.stopImmediatePropagation()},th="u">typeof window?l.useLayoutEffect:l.useEffect;function tp(e,t,n,r){var a,i=(0,l.useState)(null),o=i[0],s=i[1],c=(0,l.useRef)(!1),u=n instanceof Array?r instanceof Array?void 0:r:n,d=ta(e)?e.join(null==u?void 0:u.splitKey):e,h=n instanceof Array?n:r instanceof Array?r:void 0,p=(0,l.useCallback)(t,null!=h?h:[]),f=(0,l.useRef)(p);h?f.current=p:f.current=t;var m=(!function e(t,n){return t&&n&&"object"==typeof t&&"object"==typeof n?Object.keys(t).length===Object.keys(n).length&&Object.keys(t).reduce(function(r,a){return r&&e(t[a],n[a])},!0):t===n}((a=(0,l.useRef)(void 0)).current,u)&&(a.current=u),a.current),g=(0,l.useContext)(tu).enabledScopes,v=(0,l.useContext)(tc);return th(function(){var e;if((null==m?void 0:m.enabled)!==!1&&(e=null==m?void 0:m.scopes,0===g.length&&e?(console.warn('A hotkey has the "scopes" option set, however no active scopes were found. If you want to use the global scopes feature, you need to wrap your app in a <HotkeysProvider>'),!0):!e||g.some(function(t){return e.includes(t)})||g.includes("*"))){var t=function(e,t){var n;if(void 0===t&&(t=!1),!to(e,["input","textarea","select"])||to(e,null==m?void 0:m.enableOnFormTags)){if(null!==o){var r=o.getRootNode();if((r instanceof Document||r instanceof ShadowRoot)&&r.activeElement!==o&&!o.contains(r.activeElement))return void td(e)}(null==(n=e.target)||!n.isContentEditable||null!=m&&m.enableOnContentEditable)&&tt(d,null==m?void 0:m.splitKey).forEach(function(n){var r,a,i,l=tn(n,null==m?void 0:m.combinationKey);if(ts(e,l,null==m?void 0:m.ignoreModifiers)||null!=(i=l.keys)&&i.includes("*")){if(null!=m&&null!=m.ignoreEventWhen&&m.ignoreEventWhen(e)||t&&c.current)return;if(("function"==typeof(r=null==m?void 0:m.preventDefault)&&r(e,l)||!0===r)&&e.preventDefault(),"function"==typeof(a=null==m?void 0:m.enabled)?!a(e,l):!0!==a&&void 0!==a)return void td(e);f.current(e,l),t||(c.current=!0)}})}},n=function(e){void 0!==e.key&&(ti(te(e.code)),((null==m?void 0:m.keydown)===void 0&&(null==m?void 0:m.keyup)!==!0||null!=m&&m.keydown)&&t(e))},r=function(e){void 0!==e.key&&(tl(te(e.code)),c.current=!1,null!=m&&m.keyup&&t(e,!0))},a=o||(null==u?void 0:u.document)||document;return a.addEventListener("keyup",r,null==u?void 0:u.eventListenerOptions),a.addEventListener("keydown",n,null==u?void 0:u.eventListenerOptions),v&&tt(d,null==m?void 0:m.splitKey).forEach(function(e){return v.addHotkey(tn(e,null==m?void 0:m.combinationKey,null==m?void 0:m.description))}),function(){a.removeEventListener("keyup",r,null==u?void 0:u.eventListenerOptions),a.removeEventListener("keydown",n,null==u?void 0:u.eventListenerOptions),v&&tt(d,null==m?void 0:m.splitKey).forEach(function(e){return v.removeHotkey(tn(e,null==m?void 0:m.combinationKey,null==m?void 0:m.description))})}}},[o,d,m,g]),s}var tf=n(25625),tm=Object.defineProperty,tg=Object.getOwnPropertySymbols,tv=Object.prototype.hasOwnProperty,tb=Object.prototype.propertyIsEnumerable,tw=(e,t,n)=>t in e?tm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ty=(0,o.default)("dc-search-bar"),tx=()=>{},tE=(0,l.memo)(e=>{let{t}=(0,eg.B)("search-bar"),{searchQuery:n,searchCurrentIndex:r,searchCountResults:a,onClickPrevSearch:i=tx,onClickNextSearch:o=tx,onCloseSearchBar:s=tx}=e,c={enabled:!0,preventDefault:!0},u="⇧+enter",d="enter";return tp(u,i,c,[i]),tp(d,o,c,[o]),l.createElement("div",{className:ty()},l.createElement("div",{className:ty("left")},l.createElement("div",{className:ty("navigation")},l.createElement(tf.A,{onClick:i,tooltipText:`${t("prev")} (${u})`,icon:e6.A}),l.createElement("span",{className:ty("counter")},r,"/",a),l.createElement(tf.A,{onClick:o,tooltipText:`${t("next")} (${d})`,icon:e=>l.createElement(e6.A,((e,t)=>{for(var n in t||(t={}))tv.call(t,n)&&tw(e,n,t[n]);if(tg)for(var n of tg(t))tb.call(t,n)&&tw(e,n,t[n]);return e})({className:ty("next-arrow")},e))})),l.createElement("span",{className:ty("search-query-label")},t("search-query-label"),":\xa0"),l.createElement("span",{className:ty("search-query")},n)),l.createElement("div",{className:ty("right")},l.createElement(tf.A,{size:ec.Uv.M,onClick:s,tooltipText:t("close"),icon:F.A})))});tE.displayName="DCSearchBar";var tC=n(7350),tA=n.n(tC),tk="dc-search-highlighted",tS="dc-search-highlighted_selected",t_={element:"span",className:tk,exclude:[`.${tk}`,"svg *"]},tM=n(25380);function tj(e,t=0){return Math.floor(Number(e.getBoundingClientRect().top))-t}function tO({elements:e,offset:t=0,top:n=0,bottom:r=1/0,reverse:a=!1}){let i;for(let l=0;l<e.length;l++){let o=tj(e[l],t);if(o>=n&&o<=r&&(i=l+1,!a))break}return i}function tR({highlightedDOMElements:e,headerHeight:t,hash:n}){let r=0;if(n&&"u">typeof document){let e=document.getElementById(n);e&&(r=tj(e,t))}let a=tO({top:r,elements:e,offset:t}),i=tO({top:r+window.innerHeight,elements:e,offset:t}),l=tO({top:-1/0,bottom:r,reverse:!0,elements:e,offset:t});return a||i||l}var tL=Object.defineProperty,tT=Object.defineProperties,tN=Object.getOwnPropertyDescriptors,tz=Object.getOwnPropertySymbols,tD=Object.prototype.hasOwnProperty,tP=Object.prototype.propertyIsEnumerable,tB=(e,t,n)=>t in e?tL(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tI=(e,t)=>{for(var n in t||(t={}))tD.call(t,n)&&tB(e,n,t[n]);if(tz)for(var n of tz(t))tP.call(t,n)&&tB(e,n,t[n]);return e},tH=n(12517),tV=n(94084),tq=n(56701),tF=n(27039),t$=Object.defineProperty,tU=Object.defineProperties,tG=Object.getOwnPropertyDescriptors,tW=Object.getOwnPropertySymbols,tK=Object.prototype.hasOwnProperty,tZ=Object.prototype.propertyIsEnumerable,tY=(e,t,n)=>t in e?t$(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tJ=(0,o.default)("dc-nav-toc-panel"),tX=(0,l.memo)(({item:e,isNext:t,onClick:n})=>{let{t:r}=(0,eg.B)("toc-nav-panel"),a=t?"hint_next":"hint_previous",i=e&&nh(e.href),o={href:null==e?void 0:e.href,target:i?"_blank":"_self",rel:i?"noopener noreferrer":void 0};return l.createElement("div",{className:tJ("control",{left:!t,right:t})},e&&l.createElement(l.Fragment,null,l.createElement("div",{className:tJ("control-hint")},r(a)),l.createElement("div",{className:tJ("control-text"),onClick:n},l.createElement("a",tU(((e,t)=>{for(var n in t||(t={}))tK.call(t,n)&&tY(e,n,t[n]);if(tW)for(var n of tW(t))tZ.call(t,n)&&tY(e,n,t[n]);return e})({},o),tG({className:tJ("link"),"data-router-shallow":!0})),!t&&l.createElement(tH.A,{width:24,height:24}),l.createElement("div",{className:tJ("control-name")},e.name),t&&l.createElement(tV.A,{width:24,height:24})))))});tX.displayName="TocNavControl";var tQ=(0,l.memo)(({items:e,router:t,fixed:n,className:r,onClick:a})=>{let i=(0,tq.s)(),o=(0,l.useMemo)(()=>(function e(t){return t.reduce((t,{href:n,name:r,items:a})=>(n&&t.push({name:r,href:n}),t.concat(e(a||[]))),[])})(e||[]),[e]),{prevItem:s,nextItem:c}=(0,l.useMemo)(()=>(function(e,t){for(let n=0;n<e.length;n++){let{href:r}=e[n];if(nd(t,r))return{prevItem:e[n-1]||null,nextItem:e[n+1]||null}}return{prevItem:null,nextItem:null}})(o,t),[o,t]),u=(0,l.useCallback)(e=>{let t="prev"===e?tF.Q.DOCS_FOOTER_PREV_CLICK:tF.Q.DOCS_FOOTER_NEXT_CLICK;i.track(t),null==a||a(e)},[a,i]),d=(0,l.useCallback)(()=>u("prev"),[u]),h=(0,l.useCallback)(()=>u("next"),[u]);return o.length?l.createElement("div",{className:tJ({fixed:n},r)},l.createElement("div",{className:tJ("content")},l.createElement(tX,{item:s,onClick:d}),l.createElement(tX,{item:c,isNext:!0,onClick:h}))):null});tQ.displayName="TocNavPanel";var t0=n(12905),t1="en",t5=new Map,t2=(0,o.default)("dc-updated-at-date"),t7=(0,l.memo)(({updatedAt:e})=>{let{t}=(0,eg.B)("updated-at-date"),n=(0,l.useMemo)(()=>{let{localeCode:t}=(0,t0.zj)();return((e,t,n=t1)=>(function(e){if(!t5.has(e)){let t={longDate:new Intl.DateTimeFormat(e,{year:"numeric",month:"long",day:"numeric"}),shortDate:new Intl.DateTimeFormat(e,{year:"numeric",month:"numeric",day:"numeric"}),longMonthDay:new Intl.DateTimeFormat(e,{month:"long",day:"numeric"}),shortMonthDay:new Intl.DateTimeFormat(e,{month:"numeric",day:"numeric"}),longDateTime:new Intl.DateTimeFormat(e,{year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric"}),shortDateTime:new Intl.DateTimeFormat(e,{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric"}),shortTime:new Intl.DateTimeFormat(e,{hour:"numeric",minute:"numeric"}),nanoTime:new Intl.DateTimeFormat(e,{minute:"numeric",second:"numeric"}),year:new Intl.DateTimeFormat(e,{year:"numeric"})};t5.set(e,t)}return t5.get(e)})(n)[t].format(new Date(e)))(e,"longDate",t)},[e]);return l.createElement("div",{className:t2()},l.createElement("div",{className:t2("wrapper")},t("title")," ",n))}),t3=({html:e,forwardRef:t,className:n=""})=>{let r=(0,l.useMemo)(()=>({__html:e}),[e]);return l.createElement("div",{ref:t,className:n,dangerouslySetInnerHTML:r})},t6=n(86639),t4=e=>{let t=(0,l.useContext)(t6.W),n=(0,l.useMemo)(()=>t.reduce((e,t)=>t(e),t3),[t]);return l.createElement(n,e)},t8=Object.defineProperty,t9=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,nt=Object.getOwnPropertySymbols,nn=Object.prototype.hasOwnProperty,nr=Object.prototype.propertyIsEnumerable,na=(e,t,n)=>t in e?t8(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ni=(e,t,n)=>na(e,"symbol"!=typeof t?t+"":t,n),nl=(0,o.default)("dc-doc-page"),no=class extends l.Component{constructor(e){super(e),ni(this,"state"),ni(this,"bodyRef",null),ni(this,"bodyObserver",null),ni(this,"handleBodyMutation",e=>{let{onContentMutation:t,onContentLoaded:n}=this.props;this.props.singlePage&&this.bodyObserver&&this.bodyRef&&(this.bodyObserver.disconnect(),this.addLinksToOriginalArticle(),this.bodyObserver.observe(this.bodyRef,{childList:!0,subtree:!0})),t&&setTimeout(t,0),this.setState({loading:!1}),n&&setTimeout(()=>{e.filter(({type:e})=>"childList"===e).forEach(e=>{Array.from(e.target.querySelectorAll("img")).forEach(e=>{e.addEventListener("load",n,!1)})})},0)}),ni(this,"setBodyRef",e=>{this.bodyRef=e}),ni(this,"addLinksToOriginalArticle",()=>{let{singlePage:e,generatePathToVcs:t}=this.props;if(this.bodyRef&&e)for(let e of Array.from(this.bodyRef.querySelectorAll("[data-original-article]"))){for(let t of Array.from(e.querySelectorAll(".yfm-anchor")))t.classList.contains("yfm-original-link")||t.classList.add("yfm-anchor_hidden");"function"==typeof t&&e.classList.add(nl("header-container"))}}),ni(this,"getIsVerticalView",()=>{let{fullScreen:e}=this.props;return!this.showMiniToc||e}),ni(this,"renderSearchBar",()=>{let{showSearchBar:e,searchQuery:t,searchCurrentIndex:n,searchCountResults:r,onClickPrevSearch:a,onClickNextSearch:i,onCloseSearchBar:o,singlePage:s}=this.props,{isHidden:c}=this.context;return c("toc")||!e||s?null:l.createElement("div",{className:nl("search-bar")},l.createElement(tE,{searchCurrentIndex:n,searchCountResults:r,onClickPrevSearch:a,onClickNextSearch:i,onCloseSearchBar:o,searchQuery:t}))}),this.state={loading:e.singlePage,keyDOM:nm()}}componentDidMount(){let{singlePage:e}=this.props;e&&this.addLinksToOriginalArticle(),this.setState({loading:!1}),this.addBodyObserver()}componentDidUpdate(e){e.singlePage!==this.props.singlePage&&this.setState({loading:!0}),e.html!==this.props.html&&this.setState({keyDOM:nm()})}componentWillUnmount(){this.bodyObserver&&this.bodyObserver.disconnect()}render(){let{toc:e,router:t,headings:n,lang:r,langs:a,theme:i,title:o,headerHeight:s,wideFormat:c,fullScreen:u,singlePage:d,tocTitleIcon:h,hideTocHeader:p,hideToc:m,footer:g,onChangeSinglePage:v,pdfIconConfig:b,useMainTag:w,onChangeLang:y,onChangeTheme:x,onMiniTocItemClick:E,legacyToc:C,notification:A,notificationCb:k,availableLangs:S=[],beforeSubNavigationContent:_}=this.props,j=void 0!==s&&s>0,{tocPdfLink:O}=this.resolvePdfPlacement(),R={controlSize:ec.Uv.L,lang:r,userSettings:{langs:a,availableLangs:S,onChangeLang:y,theme:i,onChangeTheme:x}};return l.createElement(M,{toc:e,router:t,headerHeight:s,className:nl({"regular-page-width":!c,"full-screen":u,"single-page":d}),fullScreen:u,tocTitleIcon:h,wideFormat:c,hideTocHeader:p,hideToc:m,loading:this.state.loading,footer:g,singlePage:d,onChangeSinglePage:v,pdfLink:O,pdfIconConfig:b,legacyToc:C},l.createElement(M.Center,null,this.renderSearchBar(),l.createElement(U,{notification:A,notificationCb:k}),this.renderBreadcrumbs(),this.renderControls(),l.createElement("div",{className:nl("main")},l.createElement(f,{className:nl("content"),useMainTag:w},this.renderTitle(),this.renderPageContributors(),this.showMiniToc&&this.renderContentMiniToc(),this.renderBody(),this.renderFeedback()),this.renderTocNavPanel()),this.renderLoader(),this.renderSinglePageControls()),l.createElement(M.Right,null,l.createElement("div",{className:nl("aside"),key:np(this.showMiniToc,c,d)},_,l.createElement(e3,{router:t,toc:e,tocTitleIcon:h,keyDOM:this.state.keyDOM,pageTitle:o,headings:n,mobileControlsData:R,headerHeight:s,hideMiniToc:!this.showMiniToc,hideBurger:j,hideTocHeader:p,onMiniTocItemClick:E}))))}addBodyObserver(){this.bodyObserver||(this.bodyObserver=new MutationObserver(this.handleBodyMutation)),this.bodyRef&&this.bodyObserver.observe(this.bodyRef,{childList:!0,subtree:!0})}renderLoader(){let{renderLoader:e}=this.props,{loading:t}=this.state;return e&&t?l.createElement("div",{className:nl("loader-wrapper")},e()):null}renderSinglePageControls(){let{singlePage:e,convertPathToOriginalArticle:t,generatePathToVcs:n,vcsType:r}=this.props;return this.bodyRef&&e?Array.from(this.bodyRef.querySelectorAll("[data-original-article]")).reduce((e,a,i)=>{let o=nf(t,a.getAttribute("data-original-article")||"");if(o&&a){let t=nf(n,o);e.push((0,eo.createPortal)(l.createElement(l.Fragment,null,l.createElement("a",{className:"yfm-anchor yfm-original-link",href:o},l.createElement(el.A,null)),t&&l.createElement(ez.A,{vcsUrl:t,vcsType:r,view:"wide",className:nl("edit-button")})),a,"key-"+i))}return e},[]):null}get showMiniToc(){let{showMiniToc:e,singlePage:t,headings:n,toc:r}=this.props;if(t)return!1;let a=0===n.length||r.singlePage,i=1===n.length&&n[0].items&&n[0].items.length>=1;return!a&&!!(i||n.length>=2)&&e}renderBreadcrumbs(){let{breadcrumbs:e}=this.props;return!e||e.length<2?null:l.createElement("div",{className:nl("breadcrumbs")},l.createElement(em,{items:e}))}renderTitle(){let{title:e,meta:t,bookmarkedPage:n,onChangeBookmarkPage:r,isMobile:a,headerHeight:i}=this.props,o=a&&Number(i)>0&&!this.showMiniToc;return e?l.createElement(B,{stage:t.stage,className:nl("title")},l.createElement(I.g,null,e),r&&l.createElement(ep,{isBookmarked:!!n,onBookmark:r}),o&&l.createElement(ee,{className:nl("share-button"),title:e})):null}renderPageContributors(){var e;let{meta:t,hideContributors:n}=this.props;if(n)return null;let r=this.renderAuthor(!(null==(e=null==t?void 0:t.contributors)?void 0:e.length)),a=this.renderContributors(),i=this.renderUpdatedAt(null==t?void 0:t.updatedAt);return l.createElement("div",{className:nl("page-contributors")},r,a,i)}renderUpdatedAt(e){return e?l.createElement(t7,{updatedAt:e}):null}renderAuthor(e){let{meta:t}=this.props;return nv(null==t?void 0:t.author)?l.createElement(eN,{users:[t.author],onlyAuthor:e,translationName:"authors",isAuthor:!0}):null}renderContributors(){let{meta:e}=this.props;return(null==e?void 0:e.contributors)&&0!==e.contributors.length?l.createElement(eN,{users:e.contributors}):null}renderContentMiniToc(){let{headings:e}=this.props;return l.createElement("div",{className:nl("content-mini-toc","yfm")},l.createElement("ul",null,e.map(({title:e,href:t,level:n,items:r},a)=>2!==n?null:l.createElement("li",{key:a},l.createElement("a",{href:t},e),r&&l.createElement("ul",null,r.map(({title:e,href:t,level:n},r)=>3!==n?null:l.createElement("li",{key:r},l.createElement("a",{href:t},e))))))))}renderBody(){let{html:e,mdxArtifacts:t,textSize:n}=this.props;return e?l.createElement(t4,{forwardRef:this.setBodyRef,className:nl("body",{"text-size":n},"yfm"),html:e,mdxArtifacts:t}):null}renderFeedback(){let{singlePage:e,isLiked:t,isDisliked:n,onSendFeedback:r,hideFeedback:a,hideFeedbackControls:i}=this.props,{isHidden:o}=this.context,s=o("feedback");return a||s||e||i||!r?null:l.createElement("div",{className:nl("feedback")},l.createElement(eB.A,{isLiked:t,isDisliked:n,onSendFeedback:r,view:eB.z.Wide}))}renderTocNavPanel(){let{toc:e,singlePage:t,router:n,fullScreen:r,onTocNavPanelClick:a}=this.props,{isHidden:i}=this.context;return i("toc")||!e||t?null:l.createElement(tQ,t9(((e,t)=>{for(var n in t||(t={}))nn.call(t,n)&&na(e,n,t[n]);if(nt)for(var n of nt(t))nr.call(t,n)&&na(e,n,t[n]);return e})({},e),ne({onClick:a,router:n,fixed:r,className:nl("toc-nav-panel")})))}isEditable(){let{toc:e,meta:t,vcsUrl:n,vcsType:r}=this.props;return!!("preview"!==e.stage&&"preview"!==t.stage&&!1!==t.editable&&!1!==e.editable&&n&&r)}resolvePdfPlacement(){let{pdfLink:e,pdfIconConfig:t}=this.props,n=(null==t?void 0:t.position)==="header";return{tocPdfLink:n?void 0:e,headerPdfLink:n?e:void 0,headerPdfIconConfig:n?t:void 0}}renderControls(){let{lang:e,langs:t,textSize:n,theme:r,wideFormat:a,fullScreen:i,singlePage:o,vcsUrl:s,vcsType:c,onChangeLang:u,onChangeFullScreen:d,onChangeWideFormat:h,onChangeShowMiniToc:p,onChangeTheme:f,onChangeTextSize:m,onSendFeedback:g,onSubscribe:v,isLiked:b,isDisliked:w,hideControls:y,hideEditControl:x,hideFeedbackControls:E,availableLangs:C=[]}=this.props;if(y)return null;let A=this.getIsVerticalView(),{headerPdfLink:k,headerPdfIconConfig:S}=this.resolvePdfPlacement();return l.createElement("div",{className:nl("controls",{vertical:A})},l.createElement(eD.n,{isVerticalView:A},l.createElement(eP.A,{lang:e,langs:t,textSize:n,theme:r,wideFormat:a,showMiniToc:this.showMiniToc,fullScreen:i,singlePage:o,vcsUrl:s,vcsType:c,isLiked:b,isDisliked:w,onChangeLang:u,onChangeFullScreen:d,onChangeWideFormat:h,onChangeShowMiniToc:p,onChangeTheme:f,onChangeTextSize:m,onSendFeedback:g,onSubscribe:v,hideEditControl:x||i||!this.isEditable(),hideFeedbackControls:E,availableLangs:C,pdfLink:k,pdfIconConfig:S})))}};ni(no,"defaultProps",s.a$),ni(no,"contextType",es.Z);var ns=(r=e=>{let{html:t,searchWords:n=[],showSearchBar:r=!1,onCloseSearchBar:a,onNotFoundWords:i=()=>{},onContentMutation:o,onContentLoaded:s,headerHeight:c=0,router:{hash:u}}=e,[d,h]=(0,l.useState)(!0),p=(0,l.useCallback)(()=>h(!1),[]);(0,l.useEffect)(()=>{h(!1)},[t,n]);let{highlightedHtml:f,highlightedDOMElements:m,searchBarIsVisible:g,wasChangedDOM:v,onContentMutation:b,onContentLoaded:w}=function({html:e,searchWords:t,showSearchBar:n,onContentMutation:r,onContentLoaded:a,onNotFoundWords:i}){var o,s,c;let u,d=function(e,t,n){let[r,a]=(0,l.useState)(e);return(0,l.useEffect)(()=>{if(!t.length||!n)return void a(e);let r=function({html:e,keywords:t,options:n}){let r=document.createElement("div");return r.innerHTML=e,new tM.default(r).mark(t,n),r.innerHTML}({html:e,keywords:t,options:t_});r.includes(tk)?a(r):a(e)},[e,t,n]),r}(e,t,n),{wasChangedDOM:h,onContentMutation:p,onContentLoaded:f}=function({onContentMutation:e,onContentLoaded:t}){let[n,r]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{n&&r(!1)},[n]),{wasChangedDOM:n,onContentMutation:(0,l.useCallback)(()=>{e&&e(),r(!0)},[e]),onContentLoaded:(0,l.useCallback)(()=>{t&&t(),r(!0)},[t])}}({onContentMutation:r,onContentLoaded:a}),m=(o=d,s=h,c=n,u=(0,l.useRef)([]),((0,l.useEffect)(()=>{u.current=[]},[o]),(0,l.useEffect)(()=>{s&&(u.current=[])},[s]),u.current.length)?u.current:!c||"u"<typeof document?[]:(u.current=Array.from(document.querySelectorAll(`.${tk}`)),u.current)),g=function({showSearchBar:e,searchWords:t,highlightedHtml:n,html:r}){let[a,i]=(0,l.useState)(e);return(0,l.useEffect)(()=>{i(e&&!!(t&&t.length)&&n!==r)},[e,t,n,r]),a}({showSearchBar:n,searchWords:t,highlightedHtml:d,html:e});return function({showSearchBar:e,highlightedDOMElements:t,onNotFoundWords:n}){(0,l.useEffect)(()=>{n&&e&&!t.length&&n()},[t,e,n])}({highlightedDOMElements:m,showSearchBar:n,onNotFoundWords:i}),{highlightedHtml:d,highlightedDOMElements:m,searchBarIsVisible:g,wasChangedDOM:h,onContentMutation:p,onContentLoaded:f}}({html:t,searchWords:n,showSearchBar:r,onContentMutation:o,onContentLoaded:s,onNotFoundWords:i}),{searchCurrentIndex:y,setSearchCurrentIndex:x,searchCountResults:E,onClickPrevSearch:C,onClickNextSearch:A}=function({highlightedDOMElements:e,stopSyncOnScroll:t,headerHeight:n,hash:r}){let[a,i]=(0,l.useState)(1),[o,s]=(0,l.useState)(1);(0,l.useEffect)(()=>{i(tR({highlightedDOMElements:e,headerHeight:n,hash:r})||1),s(e.length||1)},[e,n,r]);let c=(0,l.useCallback)(n=>{if(n.stopPropagation(),n.preventDefault(),t(),!e.length)return;let r=a+1;r>e.length&&(r=1),i(r)},[e,a,i,t]),u=(0,l.useCallback)(n=>{if(n.stopPropagation(),n.preventDefault(),t(),!e.length)return;let r=a-1;r<1&&(r=e.length),i(r)},[e,a,i,t]);return{searchCurrentIndex:a,setSearchCurrentIndex:i,searchCountResults:o,onClickPrevSearch:u,onClickNextSearch:c}}({highlightedDOMElements:m,stopSyncOnScroll:p,headerHeight:c,hash:u});if(!function({searchCurrentIndex:e,highlightedDOMElements:t,wasChangedDOM:n,syncOnScroll:r,hash:a}){(0,l.useEffect)(()=>{try{if(!t||!t.length)return;for(let e=0;e<t.length;e++)t[e].classList.remove(tS);t[e-1].classList.add(tS)}catch(e){console.error(e)}},[t,e,n]),(0,l.useEffect)(()=>{if(!r){var n;(n=t[e-1])&&n.scrollIntoView({block:"center",inline:"center"})}},[n,e,t,r,a])}({searchCurrentIndex:y,highlightedDOMElements:m,wasChangedDOM:v,syncOnScroll:d,hash:u}),!function({highlightedDOMElements:e,searchWords:t,syncOnScroll:n,searchBarIsVisible:r,setSearchCurrentIndex:a,headerHeight:i,setSyncOnScroll:o}){let s=(0,l.useRef)(),c=(0,l.useCallback)(()=>{if(s.current&&clearTimeout(s.current),s.current=setTimeout(()=>{o(!0)},50),!n||!r)return;let t=tR({highlightedDOMElements:e,headerHeight:i});isNaN(t)||a(t)},[o,r,n,a,e,i]),u=tA()(c,50);(0,l.useEffect)(()=>(r&&window.addEventListener("scroll",u),()=>{window.removeEventListener("scroll",u)}),[r,t,u])}({highlightedDOMElements:m,searchWords:n,syncOnScroll:d,searchBarIsVisible:g,setSearchCurrentIndex:x,headerHeight:c,setSyncOnScroll:h}),g)return l.createElement(no,tT(tI({},e),tN({html:f,onContentMutation:b,onContentLoaded:w,searchCurrentIndex:y,searchCountResults:E,onCloseSearchBar:a,onClickPrevSearch:C,onClickNextSearch:A})));return l.createElement(no,tT(tI({},e),tN({showSearchBar:!1})))},e=>{let{useSearchBar:t=!1}=e;return t?l.createElement(r,tI({},e)):l.createElement(no,tI({},e))});function nc(e){return e?e.replace(/^\//,"").replace(/\.html(\?.*)?$/,"$1").replace(/\/index(\?.*)?$/,"/$1"):e}function nu(e){return e&&e.startsWith("#")?e.substring(1):e}function nd(e,t,n){return n?nu(e.hash)===nu((0,i.parse)(t).hash):nc(e.pathname)===nc((0,i.parse)(t).pathname)}function nh(e){return e.startsWith("http")||e.startsWith("//")}function np(e,t,n){return[e?"showMiniToc":"",t?"wideFormat":"",n?"singlePage":""].join("|")}function nf(e,t){if("function"==typeof e)return e(t);if(void 0===e)return t;throw Error("Path converter should be a function")}var nm=()=>Math.random();function ng(e){return!/\S+@\S+/.test(e)}function nv(e){if(!e||"object"!=typeof e)return!1;for(let t of["avatar","login","url","name","email"])if(t in e)return!0;return!1}var nb=(e,t)=>e&&"rtl"===t?ek.k.RIGHT_START:e?ek.k.LEFT_START:ek.k.BOTTOM_END;function nw(e){return({[ec.KG.Base]:ns,[ec.KG.Leading]:ei,[ec.KG.PageConstructor]:R})[e]||null}function ny({data:e,leading:t}){return t&&e?Object.prototype.hasOwnProperty.call(e,"blocks")?ec.KG.PageConstructor:ec.KG.Leading:ec.KG.Base}function nx(e,t){var n;return e+16*!!(null==(n=t.options)?void 0:n.tld)}function nE(e,t){return t.reduce((t,n)=>t+nx(e,n),0)}},89457(e,t,n){"use strict";n.d(t,{l:()=>a});var r=n(96540);function a(e){let t=function(){let[e,t]=(0,r.useState)(null),n=(0,r.useCallback)(async t=>{if(e)return e.run(t)},[e]);return(0,r.useEffect)(()=>((window.latexJsonp=window.latexJsonp||[]).push(t),()=>{let e=window.latexJsonp.indexOf(t);e>-1&&window.latexJsonp.splice(e,1)}),[]),n}();return(0,r.useEffect)(()=>{t(e).catch(e.onError||(()=>{}))}),null}},58498(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);function a(e){var t,n;let a=function(){let[e,t]=(0,r.useState)(null),n=(0,r.useCallback)(async(t,n)=>{if(e)return e.initialize(t),e.run(n)},[e]);return(0,r.useEffect)(()=>((window.mermaidJsonp=window.mermaidJsonp||[]).push(t),()=>{let e=window.mermaidJsonp.indexOf(t);e>-1&&window.mermaidJsonp.splice(e,1)}),[]),n}(),i=(t=["querySelector","nodes","nonce","onError"],Object.keys(e).reduce((n,r)=>(t.includes(r)||(n[r]=e[r]),n),{})),l=(n=["querySelector","nodes","nonce"],Object.keys(e).reduce((t,r)=>(n.includes(r)&&(t[r]=e[r]),t),{}));return(0,r.useEffect)(()=>{a(i,l).catch(e.onError||(()=>{}))}),null}},13700(e,t,n){"use strict";let r,a,i;n.d(t,{v:()=>e7});var l=n(96540),o=n(40961),s=n(81988),c=n(68506),u=n(68472),d=n(32565),h=n(27087),p=n(74848),f=n(54699),m=n(37242);let g={pc:{NormalizeMap:{arrowup:"up",arrowdown:"down",arrowleft:"left",arrowright:"right",esc:"escape",return:"enter",mod:"ctrl",control:"ctrl",opt:"alt",option:"alt",cmd:"ctrl",command:"ctrl"},Priority:{shift:200,alt:300,ctrl:400},DisplayName:{up:"↑",down:"↓",left:"←",right:"→",escape:"Esc",plus:"+",minus:"-",enter:"Enter",ctrl:"Ctrl",alt:"Alt",shift:"Shift",tab:"Tab",backspace:"Backspace"}},mac:{NormalizeMap:{arrowup:"up",arrowdown:"down",arrowleft:"left",arrowright:"right",esc:"escape",enter:"return",mod:"command",ctrl:"control",alt:"option",opt:"option",cmd:"command"},Priority:{command:100,shift:200,option:300,control:400},DisplayName:{up:"▲",down:"▼",left:"◀",right:"▶",escape:"esc",plus:"+",minus:"-",return:"⏎",command:"⌘",option:"⌥",control:"⌃",shift:"⇧",backspace:"⌫",tab:"⇥"}}};var v=n(14792),b=n(50014);function w(e,t){return e.trim().split(t).filter(Boolean)}let y=/\s/;function x(e){return e.displayName??v(e.id)}let E=(0,f.om)("hotkey"),C={BetweenGroups:String.fromCharCode(160),BetweenKeys:String.fromCharCode(8239)},A=l.forwardRef(function(e,t){var n,r;let{value:a,platform:i,view:l="light",qa:o,style:s,className:c,...u}=e,d=(n=a,r=g[({platform:i}).platform??("u">typeof navigator&&/Mac|iP(hone|[oa]d)/.test(navigator.platform)?"mac":"pc")],w(n,y).map(e=>{var t;return b(w(e,"+").map((t=r,function(e){var n,r;let a=(n=t,r=(r=e).toLowerCase(),n.NormalizeMap[r]??r);return{raw:e,id:a,priority:t.Priority[a]??0,displayName:t.DisplayName[a]}})).sort((e,t)=>t.priority-e.priority),e=>e.id).map(x)})),h=[],f=!1;return(d.forEach((e,t)=>{0!==e.length&&(f?h.push(C.BetweenGroups):f=!0,e.forEach((e,n)=>{0!==n&&h.push(C.BetweenKeys,(0,p.jsx)("span",{className:E("plus"),children:"+"},`${e}_${t}_${n}_plus`),C.BetweenKeys),h.push((0,p.jsx)("kbd",{children:e},`${e}_${t}_${n}`))}))}),0===h.length)?null:(0,p.jsx)("kbd",{...(0,m.$)(u,{labelable:!0}),ref:t,style:s,"data-qa":o,className:E({view:l},c),children:h})});var k=n(176),S=n(34743),_=n(95419),M=n(72835),j=n(26812),O=n(29548),R=n(18325),L=n(77753);let T=(0,f.om)("tooltip");function N({children:e,open:t,onOpenChange:n,strategy:r,placement:a="bottom",offset:i=4,disabled:o,content:s,trigger:c,role:u="tooltip",openDelay:d=1e3,closeDelay:h=0,container:f,disablePortal:g,className:v,style:b,qa:w,...y}){let[x,E]=l.useState(null),{placement:C,middleware:A}=(0,O.QT)(a,!1),[N,z]=(0,M.P)(t,!1,n),{refs:D,floatingStyles:P,context:B}=(0,k.we)({open:N,onOpenChange:z,strategy:r,placement:C,middleware:[(0,S.cY)(i),(0,S.BN)({padding:4,limiter:(0,S.ER)()}),A],whileElementsMounted:_.ll,elements:{reference:x}}),I=(0,k.Mk)(B,{enabled:"focus"!==c,delay:{open:d,close:h},move:!1}),H=(0,k.iQ)(B),V=(0,k.It)(B,{role:u}),q=(0,k.s9)(B,{outsidePress:!1,ancestorScroll:!0}),{getReferenceProps:F,getFloatingProps:$}=(0,k.bv)([I,H,V,q]),U=(0,j.N)(E,l.isValidElement(e)?(0,L.Q)(e):void 0),G=l.isValidElement(e)?F(e.props):F(),W=l.isValidElement(e)?l.cloneElement(e,{...G,ref:U}):e(G,U);return(0,p.jsxs)(l.Fragment,{children:[W,N&&!o?(0,p.jsx)(R.Z,{container:f,disablePortal:g,children:(0,p.jsx)("div",{ref:D.setFloating,style:{position:"absolute",top:0,left:0,zIndex:1e4,width:"max-content",...P},...$(),children:(0,p.jsx)("div",{className:T(null,v),style:b,"data-qa":w,...(0,m.$)(y,{labelable:!0}),children:s})})}):null]})}let z=(0,f.om)("action-tooltip");function D({title:e,description:t,hotkey:n,openDelay:r=500,closeDelay:a=0,className:i,...o}){let s=l.useMemo(()=>(0,p.jsxs)(l.Fragment,{children:[(0,p.jsxs)("div",{className:z("heading"),children:[(0,p.jsx)("div",{className:z("title"),children:e}),n&&(0,p.jsx)(A,{view:"dark",value:n,className:z("hotkey")})]}),t&&(0,p.jsx)("div",{className:z("description"),children:t})]}),[e,t,n]);return(0,p.jsx)(N,{...o,role:"label",content:s,openDelay:r,closeDelay:a,className:z(null,i)})}var P=n(49741),B=n(90132),I=n(17682),H=JSON.parse('{"startCopy":"Copy","endCopy":"Copied"}'),V=JSON.parse('{"startCopy":"Копировать","endCopy":"Скопировано"}');let q=(0,I.N)({en:H,ru:V},"ClipboardButton"),F=(0,f.om)("clipboard-button"),$={xs:12,s:16,m:16,l:16,xl:20},U=e=>{let{t}=q.useTranslation(),{size:n="m",hasTooltip:r=!0,tooltipInitialText:a=t("startCopy"),tooltipSuccessText:i=t("endCopy"),status:l,view:o="flat",children:c,iconPosition:u="start",closeDelay:d,icon:h,...f}=e,m=(0,p.jsx)(s.$.Icon,{className:F("icon"),children:h??(0,p.jsx)(P.u,{size:$[n],status:l})});return(0,p.jsx)(D,{title:"success"===l?i:a,disabled:!r,closeDelay:d,children:(0,p.jsxs)(s.$,{view:o,size:n,"aria-label":a,...f,children:["start"===u?m:null,c,"end"===u?m:null]})})};function G(e){let{text:t,timeout:n=1200,onCopy:r,hasTooltip:a=!0,onMouseEnter:i,onFocus:o,...s}=e,c=l.useRef(),[u,d]=l.useState(void 0),[h,f]=l.useState(!1);l.useEffect(()=>window.clearTimeout(c.current),[]);let m=l.useCallback((e,t)=>{r?.(e,t),f(!1),d(n),window.clearTimeout(c.current),c.current=window.setTimeout(()=>{f(!0)},n)},[r,n]),g=l.useCallback(()=>{h&&(f(!1),d(void 0))},[h]),v=l.useCallback(e=>{i?.(e),g()},[i,g]),b=l.useCallback(e=>{o?.(e),g()},[o,g]);return(0,p.jsx)(B.$,{text:t,timeout:n,onCopy:m,children:e=>(0,p.jsx)(U,{...s,closeDelay:u,hasTooltip:a&&!h,status:e,onMouseEnter:v,onFocus:b})})}var W=n(46281),K=n(75621),Z=n(79246),Y=n(53681);class J{nativeEvent;target;currentTarget;relatedTarget;bubbles;cancelable;defaultPrevented;eventPhase;isTrusted;timeStamp;type;constructor(e,t,n={}){this.nativeEvent=t,this.target=n.target??t.target,this.currentTarget=n.currentTarget??t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}}var X=n(83397),Q=n(30142),ee=n(16701);let et=(0,f.om)("radio"),en=l.forwardRef(function(e,t){let{size:n="m",disabled:r=!1,content:a,children:i,title:o,style:s,className:c,qa:u}=e,{checked:d,inputProps:h}=function({name:e,value:t,checked:n,defaultChecked:r,disabled:a,controlRef:i,controlProps:o,onUpdate:s,onChange:c,onFocus:u,onBlur:d,id:h}){let p=(0,Y.u)(),f=l.useRef(null),[m,g]=(0,M.P)(n,r??!1,s),v=(0,X.d)({initialValue:m,onReset:g}),b=(0,j.N)(i,f,v),w={...o,name:e||p,value:t,id:h,onFocus:u,onBlur:d,disabled:a,type:"radio",onChange:e=>{g(e.target.checked),c&&c(e)},onChangeCapture:e=>{Q.o.publish({componentId:"Radio",eventId:"click",domEvent:e})},checked:n,defaultChecked:r,ref:b};return{checked:m,inputProps:w}}(e),f=(0,p.jsxs)("span",{className:et("indicator"),children:[(0,p.jsx)("span",{className:et("disc")}),(0,p.jsx)("input",{...h,className:et("control")}),(0,p.jsx)("span",{className:et("outline")})]});return(0,p.jsx)(ee.m,{ref:t,title:o,style:s,size:n,disabled:r,className:et({size:n,disabled:r,checked:d},c),qa:u,control:f,children:a||i})}),er=(0,f.om)("radio-group"),ea=l.forwardRef(function(e,t){let{size:n="m",direction:r="horizontal",style:a,className:i,optionClassName:o,qa:s,children:c}=e,u=e.options;u||(u=l.Children.toArray(c).map(({props:e})=>({value:e.value,content:e.content||e.children,disabled:e.disabled,qa:e.qa})));let{containerProps:d,optionsProps:h}=function(e){let{name:t,value:n,defaultValue:r,options:a=[],disabled:i,onUpdate:o,onChange:s,onFocus:c,onBlur:u}=e,d=(0,Y.u)(),[h,p]=(0,M.P)(n,r??null,o),f=(0,X.d)({initialValue:h,onReset:p}),{focusWithinProps:g}=function(e){let{onFocusWithin:t,onBlurWithin:n,onFocusWithinChange:r,isDisabled:a}=e,i=l.useRef(!1),{onBlur:o,onFocus:s}=function({onFocus:e,onBlur:t,isDisabled:n}){let r,a=l.useRef(!1),i=l.useRef(null);l.useEffect(()=>{if(n)return;let e=function(){a.current=!1},r=function(e){!a.current&&i.current&&(t(new J("blur",new FocusEvent("blur",{...e,relatedTarget:e.target,bubbles:!1,cancelable:!1}),{target:i.current,currentTarget:i.current})),i.current=null)};return window.addEventListener("focus",e,{capture:!0}),window.addEventListener("focusin",r),()=>{window.removeEventListener("focus",e,{capture:!0}),window.removeEventListener("focusin",r)}},[n,t]);let o=l.useCallback(e=>{document.activeElement!==e.target&&(null===e.relatedTarget||e.relatedTarget===document.body||e.relatedTarget===document)&&(t(e),i.current=null)},[t]),s=(r=l.useRef({isFocused:!1,observer:null}),l.useEffect(()=>{let e=r.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]),l.useCallback(e=>{let n=e.target;if(n instanceof HTMLButtonElement||n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement||n instanceof HTMLSelectElement){r.current.isFocused=!0,n.addEventListener("focusout",e=>{r.current.isFocused=!1,n.disabled&&t?.(new J("blur",e)),r.current.observer&&(r.current.observer.disconnect(),r.current.observer=null)},{once:!0});let e=new MutationObserver(()=>{if(r.current.isFocused&&n.disabled){e.disconnect(),r.current.observer=null;let t=n===document.activeElement?null:document.activeElement;n.dispatchEvent(new FocusEvent("blur",{relatedTarget:t})),n.dispatchEvent(new FocusEvent("focusout",{relatedTarget:t,bubbles:!0}))}});e.observe(n,{attributes:!0,attributeFilter:["disabled"]}),r.current.observer=e}},[t]));return{onBlur:o,onFocus:l.useCallback(t=>{a.current=!0,i.current=t.target,s(t),e(t)},[s,e])}}({onFocus:l.useCallback(e=>{!i.current&&document.activeElement===e.target&&(i.current=!0,t&&t(e),r&&r(!0))},[t,r]),onBlur:l.useCallback(e=>{i.current&&(i.current=!1,n&&n(e),r&&r(!1))},[n,r]),isDisabled:a});return a?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:s,onBlur:o}}}({onFocusWithin:c,onBlurWithin:u}),v=l.useCallback(e=>{p(e.target.value),s&&s(e)},[s,p]),b=l.useMemo(()=>({name:t||d,currentValue:h,disabled:!!i,ref:f,onChange:v}),[d,h,i,f,v,t]);return{containerProps:{...(0,m.$)(e,{labelable:!0}),...g,role:"radiogroup","aria-disabled":i},optionsProps:a.map(e=>({name:t||d,value:e.value,content:e.content,title:e.title,checked:h===String(e.value),disabled:i||e.disabled,onChange:v,ref:f})),contextProps:b}}({...e,options:u});return(0,p.jsx)("div",{...d,ref:t,style:a,className:er({size:n,direction:r},i),"data-qa":s,children:h.map(e=>(0,l.createElement)(en,{...e,key:e.value,className:er("option",o),size:n}))})});ea.Option=en;var ei=n(22462),el=n(70900),eo=n(9439);let es=(0,f.om)("row"),ec=({children:e,style:t,className:n,space:r,spaceRow:a,qa:i})=>{let l,o,{getClosestMediaProps:s}=(0,el.L)();if("object"==typeof r){let e=s(r);void 0!==e&&(l=(0,eo.si)(e))}else void 0!==r&&(l=(0,eo.si)(r));if("object"==typeof a){let e=s(a);void 0!==e&&(o=(0,eo.si)(e))}else void 0!==a&&(o=String(a));return(0,p.jsx)("div",{style:t,className:es({s:l,sr:o},n),"data-qa":i,children:e})},eu=(0,f.om)("col"),ed=({size:e,children:t,style:n,className:r,qa:a,...i})=>{let l,o,{getClosestMediaProps:s}=(0,el.L)();Array.isArray(e)?[o,l]=e:"object"==typeof e?l=e||i:(o=e,l=i);let c=s(l);return(0,p.jsx)("div",{style:n,className:eu({size:void 0===c?o:(0,eo.si)(c)},r),"data-qa":a,children:t})};var eh=n(12015),ep=Object.create,ef=Object.defineProperty,em=Object.defineProperties,eg=Object.getOwnPropertyDescriptor,ev=Object.getOwnPropertyDescriptors,eb=Object.getOwnPropertyNames,ew=Object.getOwnPropertySymbols,ey=Object.getPrototypeOf,ex=Object.prototype.hasOwnProperty,eE=Object.prototype.propertyIsEnumerable,eC=(e,t,n)=>t in e?ef(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,eA=(e,t)=>{for(var n in t||(t={}))ex.call(t,n)&&eC(e,n,t[n]);if(ew)for(var n of ew(t))eE.call(t,n)&&eC(e,n,t[n]);return e},ek=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),eS=(e,t,n)=>eC(e,"symbol"!=typeof t?t+"":t,n),e_=(e,t,n)=>new Promise((r,a)=>{var i=e=>{try{o(n.next(e))}catch(e){a(e)}},l=e=>{try{o(n.throw(e))}catch(e){a(e)}},o=e=>e.done?r(e.value):Promise.resolve(e.value).then(i,l);o((n=n.apply(e,t)).next())}),eM=ek((e,t)=>{var n;n=function(){var e=[function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1);t.ERROR_BLOCK_NAME_TYPE="Block name should be a string",t.ERROR_BLOCK_NAME_EMPTY="Block name should be non-empty";var a={ns:"",el:"__",mod:"_",modValue:"_"},i=function(e){return"string"==typeof e},l=function(e){return"string"!=typeof e},o=function(e,t){for(var n=[],a=2;a<arguments.length;a++)n[a-2]=arguments[a];var i=r.assign({},t);return i.mixes=i.mixes.concat(n),d(i,e)},s=function(e,t,n){for(var a=[],i=3;i<arguments.length;i++)a[i-3]=arguments[i];var l=r.assign({},t),o=r.assign({},l.states||{});return o[n]=r.assign.apply(void 0,[{},o[n]||{}].concat(a)),l.states=o,d(l,e)},c=function(e,t,n,r){return String.prototype.split.call(u(e,t),n,r)},u=function(e,t){var n,r=t.name,a=t.mods,i=t.mixes,l=t.states,o=[r];if(a&&(o=o.concat(Object.keys(a).filter(function(e){return a[e]}).map(function(t){var n=a[t];return!0===n?r+e.mod+t:r+e.mod+t+e.modValue+n}))),l&&Object.keys(l).forEach(function(e){var t=l[e];o=o.concat(Object.keys(t).filter(function(e){return t[e]}).map(function(t){return e+t}))}),e.ns&&(o=o.map(function(t){return e.ns+t})),i&&(o=o.concat((void 0===(n=i)&&(n=[]),n.map(function(e){return Array.isArray(e)?e.join(" "):"object"==typeof e&&null!==e||"function"==typeof e?e.toString():"string"==typeof e?e:""}).filter(function(e){return!!e})))),e.classMap){var s=e.classMap;o=o.map(function(e){return s[e]||e})}return o.join(" ")},d=function(e,t){return{mix:o.bind(null,t,e),split:c.bind(null,t,e),is:s.bind(null,t,e,"is-"),has:s.bind(null,t,e,"has-"),state:s.bind(null,t,e,"is-"),toString:u.bind(null,t,e)}},h=function(e,t){var n={name:e,mods:{},mixes:[],states:{"is-":{},"has-":{}}},a=(function(e,t){for(var n=[],a=2;a<arguments.length;a++)n[a-2]=arguments[a];if(!n.length)return u(e,t);var o=r.assign({},t),s=n.filter(i).reduce(function(t,n){return t+e.el+n},"");s&&(o.name=o.name+s);var c=n.filter(l).reduce(function(e,t){return r.assign(e,t)},{});return o.mods=r.assign({},o.mods,c),d(o,e)}).bind(null,t,n);return a.mix=o.bind(null,t,n),a.split=c.bind(null,t,n),a.is=s.bind(null,t,n,"is-"),a.has=s.bind(null,t,n,"has-"),a.state=s.bind(null,t,n,"is-"),a.toString=u.bind(null,t,n),a};t.setup=function(e){return void 0===e&&(e={}),function(n){if("string"!=typeof n)throw Error(t.ERROR_BLOCK_NAME_TYPE);var i=n.trim();if(!i)throw Error(t.ERROR_BLOCK_NAME_EMPTY);return h(i,r.assign({},a,e))}},t.block=t.setup(),t.default=t.block},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.assign=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0;r<t.length;r++){var a=t[r];for(var i in a)a.hasOwnProperty(i)&&(e[i]=a[i])}return e}}],t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t||4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,(function(t){return e[t]}).bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)},"object"==typeof e&&"object"==typeof t?t.exports=n():"function"==typeof define&&define.amd?define([],n):e.block=n()}),ej=(i=null!=(r=ek(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=eM(),n=(0,t.setup)();function r(e){return"string"==typeof e}function a(e){var t=n(e);function a(){for(var e,n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];var i,l=n.shift(),o=n[0],s=n[1];return("string"!=typeof l||r(e=o)||Array.isArray(e)&&e.every(r))&&(s=o,o=null),i=t(l,o),s&&(i=i.mix(s)),i.toString()}return a.builder=function(){return t},a}a.setup=function(e){n=(0,t.setup)(e)},a.reset=function(){n=(0,t.setup)()},e.default=a})())?ep(ey(r)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of eb(t))ex.call(e,a)||a===n||ef(e,a,{get:()=>t[a],enumerable:!(r=eg(t,a))||r.enumerable});return e})(!a&&r&&r.__esModule?i:ef(i,"default",{value:r,enumerable:!0}),r)),eO="Body",eR={header:"Header",query:"Query"},eL=(0,ej.default)("yfm-sandbox"),eT=["CORS","Network Failure",'URL scheme must be "http" or "https" for CORS request.'],eN=({className:e,gap:t=20,children:n,minWidth:r})=>l.createElement("div",{className:eL("column",e),style:{gap:t+"px",minWidth:r}},n),ez=(e,t)=>e.reduce((e,n)=>Object.assign(e,t(n)),{});function eD(e){return{type:sessionStorage.getItem(`${e}_type`),value:sessionStorage.getItem(`${e}_value`)}}function eP(e,{type:t,value:n}){sessionStorage.setItem(`${e}_type`,t),sessionStorage.setItem(`${e}_value`,n)}function eB(e){return"apiKey"===e.type}function eI(e){return"oauth2"===e.type}var eH=class extends l.Component{constructor(e){super(e),eS(this,"onchange"),eS(this,"createOnChange",e=>t=>{this.setState(n=>({errors:void 0,values:em(eA({},n.values),ev({[e]:t}))}))}),this.state={errors:void 0,values:ez(e.params||[],e=>{var t;return{[e.name]:null!=(t=e.example)?t:""}})},this.onchange=ez(e.params||[],e=>({[e.name]:this.createOnChange(e.name)}))}render(){let{params:e,title:t}=this.props,{values:n,errors:r}=this.state;return e&&e.length?l.createElement(eN,{gap:15},l.createElement(c.E,{variant:"header-1"},t),l.createElement(eN,{gap:10},e.map((e,t)=>l.createElement(eN,{gap:5,key:t},l.createElement(c.E,{variant:"body-2"},e.name,!!e.required&&l.createElement(c.E,{variant:"body-2",color:"danger"},"*"),":"),l.createElement(u.k,{value:n[e.name],name:e.name,placeholder:e.placeholder,onUpdate:this.onchange[e.name],error:r&&r[e.name]||!1}))))):null}validate(){var e,t;let n,r=(e=this.props.params,t=this.state.values,Object.keys(n=ez(e||[],e=>e.required&&!t[e.name]?{[e.name]:"Required"}:void 0)).length?n:void 0);return this.setState({errors:r}),r}value(){return this.state.values}},eV=class extends l.Component{constructor(e){super(e),this.state={error:null,value:e.value}}render(){let{error:e,value:t}=this.state;if(null==t||"application/json"!==this.props.bodyType)return null;let n=e=>{this.setState(t=>em(eA({},t),ev({value:e})))};return l.createElement(eN,{gap:10},l.createElement(c.E,{variant:"header-1"},eO),l.createElement(d.f,{error:e||!1,rows:10,name:"body",value:t,onUpdate:n}))}validate(){let e=this.isRequired&&!this.state.value?"Required":void 0;return this.setState({error:e}),e}value(){return this.state.value}get isRequired(){return void 0!==this.props.value&&null!==this.props.value}},eq=e=>void 0!==e,eF=({onChange:e})=>{let t=(0,l.useRef)(1),[n,r]=(0,l.useState)({}),a=(0,l.useCallback)(t=>n=>{r(r=>{var a;let i=null==(a=n.target.files)?void 0:a[0],l=em(eA({},r),ev({[t]:i}));return e(Object.values(l).filter(eq)),l})},[r]),i=(0,l.useCallback)(()=>{r(e=>em(eA({},e),ev({[t.current++]:void 0})))},[r,t]),o=(0,l.useCallback)(e=>()=>{r(t=>(delete t[e],t))},[r]);return l.createElement(eN,{gap:3},Object.keys(n).map((e,t)=>l.createElement("div",{key:e},l.createElement("input",{type:"file",onChange:a(t)}),!!t&&l.createElement(s.$,{view:"normal",size:"s",type:"button",onClick:o(Number(e))},"-"))),l.createElement("div",null,l.createElement(s.$,{view:"normal",size:"s",type:"button",onClick:i},"Add file")))},e$=class extends l.Component{constructor(e){super(e),eS(this,"formValue"),this.formValue=new FormData,this.state={error:null}}renderInput(e){return l.createElement(eN,{gap:2},l.createElement(c.E,{variant:"body-2"},e,":"),l.createElement("input",{type:"file",onChange:t=>{var n;this.createOnChange(e)(null==(n=t.target.files)?void 0:n[0])}}))}renderFileInput(e){return l.createElement(eN,{gap:2},l.createElement(c.E,{variant:"body-2"},e,":"),l.createElement(eF,{onChange:this.createOnChange(e)}))}renderTextArea(e,t){var n;let r=JSON.parse(null!=(n=this.props.example)?n:"{}"),a="string"===t.type?r[e]:JSON.stringify(r[e],null,2),i="string"===t.type?1:3;return l.createElement(eN,{gap:2},l.createElement(c.E,{variant:"body-2"},e,":"),l.createElement(d.f,{onUpdate:this.createOnChange(e),defaultValue:a,rows:i}))}renderProperty(e,t){if("object"!=typeof t)return null;if("string"===t.type&&"binary"===t.format)return this.renderInput(e);if("array"===t.type&&"object"==typeof t.items&&!Array.isArray(t.items)){let{format:n,type:r}=t.items;if("string"===r&&"binary"===n)return this.renderFileInput(e)}return this.renderTextArea(e,t)}render(){var e;let{properties:t,type:n}=null!=(e=this.props.schema)?e:{};if("object"!==n||!t||"multipart/form-data"!==this.props.bodyType)return null;let r=Object.entries(t);return l.createElement(eN,{gap:10},l.createElement(c.E,{variant:"header-1"},eO),r.map(([e,t])=>this.renderProperty(e,t)))}createOnChange(e){return t=>{if(!t)return void this.formValue.delete(e);if("string"==typeof t)return void this.formValue.set(e,t);if(Array.isArray(t)){for(let n of(this.formValue.delete(e),t))this.formValue.append(e,n);return}this.formValue.set(e,t)}}validate(){let e=this.isRequired&&!this.value?"Required":void 0;return this.setState({error:e}),e}value(){return this.formValue}get isRequired(){return void 0!==this.props.example&&null!==this.props.example}},eU=({response:e})=>{let{url:t,status:n,file:r,text:a}=e,[i,o]=(0,l.useState)(null);return(0,l.useEffect)(()=>(r&&o(window.URL.createObjectURL(r.blob)),()=>{i&&window.URL.revokeObjectURL(i)}),[r]),l.createElement(eN,{gap:10},l.createElement(c.E,{variant:"header-2"},"Response"),l.createElement("div",null,l.createElement(c.E,{variant:"subheader-2",as:"div"},"Status",":"),l.createElement(c.E,{variant:"body-2",as:"div"},n)),l.createElement("div",null,l.createElement(c.E,{variant:"subheader-2",as:"div"},"Request URL",":"),l.createElement(c.E,{variant:"body-2",as:"div"},t)),void 0!==a&&l.createElement("div",null,l.createElement(c.E,{variant:"subheader-2"},"Body",":"),l.createElement("div",{className:eL("card-wrapper")},l.createElement(h.Z,{theme:"info",type:"container",view:"filled",className:eL("card")},l.createElement(c.E,{variant:"code-2",className:eL("card-text")},l.createElement("pre",{className:eL("pre")},a))),l.createElement(G,{size:"m",text:a,className:eL("clipboard-button")}))),r&&i&&l.createElement("div",null,l.createElement(c.E,{variant:"subheader-2",as:"div"},"File from response",":"),l.createElement(c.E,{variant:"body-2",as:"div"},l.createElement("a",{href:i,download:r.name,"data-router":"off"},r.name))))},eG=({message:e})=>l.createElement(eN,null,l.createElement(c.E,{variant:"header-1"},"Response error"),l.createElement(h.Z,{theme:"danger",type:"container",view:"filled",className:eL("card")},l.createElement(c.E,{variant:"code-2",className:eL("card-text")},e," ",l.createElement("br",null),"Possible Reasons:",l.createElement("ul",{className:eL("possible-reasons")},eT.map((e,t)=>l.createElement("li",{key:t},e)))))),eW=()=>l.createElement("div",{className:eL("loader-container")},l.createElement(W.a,null));function eK(e){return e_(this,null,function*(){let t=e.headers.get("Content-Type")||"";if((e.headers.get("Content-Disposition")||"").includes("attachment"))return{status:e.status,url:e.url,file:{blob:yield e.blob(),name:(e=>{let t=e.headers.get("Content-Disposition");if(t){let e=/filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/.exec(t);if(null!==e&&e[1])return e[1].replace(/['"]/g,"")}return"unknown file"})(e)}};{let n;return n=t.includes("json")?JSON.stringify((yield e.json()),null,2):yield e.text(),{status:e.status,url:e.url,text:n}}})}var eZ=({request:e})=>{let[t,n]=(0,l.useState)(null),[r,a]=(0,l.useState)(null);return(0,l.useEffect)(()=>(e.then(eK).then(t=>e==e?n(t):null,t=>e==e?a(t):null),()=>{n(null),a(null)}),[e]),l.createElement(l.Fragment,null,!t&&!r&&l.createElement(eW,null),t&&l.createElement(eU,{response:t}),r&&l.createElement(eG,{message:r.message}))},eY=e=>l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),l.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M13.5 8a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0M15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0m-3.9-1.55a.75.75 0 1 0-1.2-.9L7.419 8.858 6.03 7.47a.75.75 0 0 0-1.06 1.06l2 2a.75.75 0 0 0 1.13-.08z",clipRule:"evenodd"})),eJ=e=>{let{security:t=[]}=e,{isOpen:n,close:r,open:a,activeSecurityTab:i,activeType:o,setActiveType:c,auth:u,setAuth:d,hasAnyAuthorization:h}=function({projectName:e,security:t}){var n;let r=null==(n=(t=t||[])[0])?void 0:n.type,[a,i]=(0,l.useState)(!1),[o,s]=(e=>{let{projectName:t}=e,[n,r]=(0,l.useState)(function({projectName:e,initialType:t}){return()=>{var n,r,a,i;let l=window.location.hash;if(l.includes("access_token=")){let t=new URLSearchParams(l.slice(1)).get("access_token");if(t){null==(r=null==(n=document.querySelector(".openapi"))?void 0:n.querySelector(".yfm-tab:nth-child(2)"))||r.click();let a=new URL(window.location.toString());a.hash="",window.history.replaceState(null,document.title,a);let i={type:"oauth2",value:t};return eP(e,i),i}}return{type:null!=(a=eD(e).type)?a:t,value:null!=(i=eD(e).value)?i:""}}}(e));return[n,(0,l.useCallback)(e=>{r(e),eP(t,e)},[r])]})({projectName:e,initialType:r}),c=!!o.value,[u,d]=(0,l.useState)(o.type),h=(0,l.useMemo)(()=>(null==t?void 0:t.find(({type:e})=>u===e))||void 0,[u]);return{isOpen:a,close:(0,l.useCallback)(()=>{i(!1)},[i]),open:(0,l.useCallback)(()=>{d(o.type||r),i(!0)},[i,r]),activeSecurityTab:h,activeType:u,setActiveType:d,auth:o,setAuth:s,hasAnyAuthorization:c}}(e);return t&&t.length&&i?l.createElement(eN,{gap:10},l.createElement(s.$,{size:"m",width:"auto",style:{marginLeft:"auto"},view:"normal",onClick:a},h&&l.createElement(eY,{color:"#3AB935"})," Authorization"),l.createElement(K.l,{open:n,onClose:r,hasCloseButton:!0},l.createElement(K.l.Header,{caption:"Available authorizations"}),l.createElement(K.l.Body,null,l.createElement(eN,{gap:0,minWidth:400},l.createElement(Z.a,null,l.createElement(ea,{onChange:e=>{c(e.currentTarget.value)},value:o,options:t.map(e=>({value:e.type,content:e.type})),size:"m"})),l.createElement(Z.a,{spacing:{pt:"4"}},l.createElement(eX,{close:r,security:i,initialValue:u.type===o?u.value:"",setAuth:d})))))):null};function eX({security:e,close:t,initialValue:n,setAuth:r}){return eB(e)?l.createElement(e0,em(eA({},e),ev({close:t,initialValue:n,setAuth:r}))):eI(e)&&"x-inline"in e&&e["x-inline"]?l.createElement(e5,em(eA({},e),ev({close:t,initialValue:n,setAuth:r}))):eI(e)&&"flows"in e&&"implicit"in e.flows?l.createElement(e1,em(eA({},e),ev({close:t,initialValue:n,setAuth:r}))):l.createElement(eQ,{type:e.type})}function eQ({type:e}){return l.createElement(c.E,null,"Unsupported type: ",e)}function e0({in:e,name:t,close:n,initialValue:r,setAuth:a}){var i,o;let[u,h]=(0,l.useState)((o=r)?o.length>6?`${o.slice(0,3)}${"*".repeat(o.length-6)}${o.slice(-3)}`:"*".repeat(o.length):"");return l.createElement(ei.s,{direction:"column",width:"100%",gap:4},l.createElement(ei.s,{direction:"column",width:"100%",gap:4},l.createElement(ec,{space:1},l.createElement(ed,{s:2},l.createElement(c.E,{variant:"subheader-1"},"In")),l.createElement(ed,{s:10},l.createElement(c.E,{variant:"body-1"},null!=(i=eR[e])?i:e))),l.createElement(ec,{space:1},l.createElement(ed,{s:2},l.createElement(c.E,{variant:"subheader-1"},"Name")),l.createElement(ed,{s:10},l.createElement(c.E,{variant:"body-1"},t))),l.createElement(ec,{space:1},l.createElement(ed,{s:2},l.createElement(c.E,{variant:"subheader-1"},"Key")),l.createElement(ed,{s:10},l.createElement(d.f,{rows:2,value:u,onUpdate:h,onFocus:()=>{h("")}})))),l.createElement(ei.s,{justifyContent:"end",spacing:{mb:4},gap:4},l.createElement(s.$,{size:"l",view:"flat",onClick:n},"Cancel"),l.createElement(s.$,{size:"l",view:"action",onClick:()=>{a({type:"apiKey",value:u}),n()}},"Save")))}function e1({flows:{implicit:{scopes:e,authorizationUrl:t}},initialValue:n,close:r,setAuth:a}){let[i,o]=(0,l.useState)(""),[u,h]=(0,l.useState)(n),[p,f]=(0,l.useState)({}),[m,g]=(0,l.useState)(void 0),v=!!u,b=Object.keys(e),w=!!b.length,y=!v&&w;return l.createElement(ei.s,{direction:"column",width:"100%",gap:4},l.createElement(c.E,{variant:"subheader-2"},"Authorization Url"),l.createElement(c.E,{variant:"body-1",color:"secondary"},t),l.createElement(ei.s,{direction:"column",width:"100%",gap:4},l.createElement(ec,{space:1},l.createElement(ed,{s:2},l.createElement(c.E,{variant:"subheader-1"},"Flow")),l.createElement(ed,{s:10},l.createElement(c.E,{variant:"body-1",color:"secondary"},"implicit"))),l.createElement(ec,{space:1},l.createElement(ed,{s:2,style:{marginTop:6}},l.createElement(c.E,{variant:"subheader-1"},"Client_id")),l.createElement(ed,{s:10,style:{marginTop:8*!!v}},v?l.createElement(c.E,{variant:"body-1"},"**********"):l.createElement(d.f,{rows:1,value:i,onUpdate:e=>{o(e),g(void 0)},onFocus:()=>{o("")},error:m}))),l.createElement(ec,{space:1},l.createElement(ed,{s:2},y&&l.createElement(c.E,{variant:"subheader-1"},"Scopes")),l.createElement(ed,{s:10,style:{marginTop:4}},y&&l.createElement(ei.s,{direction:"column",gap:1},b.map(e=>l.createElement(eh.S,{key:e,value:e,onUpdate:t=>f(n=>em(eA({},n),ev({[e]:t})))},e)))))),l.createElement(ei.s,{justifyContent:"end",spacing:{mb:4},gap:4},l.createElement(s.$,{size:"l",view:"flat",onClick:r},"Cancel"),v?l.createElement(s.$,{size:"l",view:"action",onClick:()=>{o(""),g(void 0),f({}),h(""),a({value:"",type:"oauth2"})}},"Log out"):l.createElement(s.$,{size:"l",view:"action",onClick:()=>{if(!i)return void g("Required field!");let e=new URL(t);e.searchParams.set("response_type","token"),e.searchParams.set("redirect_uri",window.location.href),e.searchParams.set("client_id",i),Object.entries(p).forEach(([t,n])=>{n&&e.searchParams.append("scope",t)}),window.location.href=e.toString(),r()}},"Request")))}var e5=({close:e,initialValue:t,setAuth:n})=>{var r;let[a,i]=(0,l.useState)((r=t)?r.length>6?`${r.slice(0,3)}${"*".repeat(r.length-6)}${r.slice(-3)}`:"*".repeat(r.length):"");return l.createElement(ei.s,{direction:"column",width:"100%",gap:4},l.createElement(ei.s,{direction:"column",width:"100%",gap:4},l.createElement(ec,{space:1},l.createElement(ed,{s:2},l.createElement(c.E,{variant:"subheader-1"},"In")),l.createElement(ed,{s:10},l.createElement(c.E,{variant:"body-1"},"Header"))),l.createElement(ec,{space:1},l.createElement(ed,{s:2},l.createElement(c.E,{variant:"subheader-1"},"Name")),l.createElement(ed,{s:10},l.createElement(c.E,{variant:"body-1"},"Authorization"))),l.createElement(ec,{space:1},l.createElement(ed,{s:2},l.createElement(c.E,{variant:"subheader-1"},"Value")),l.createElement(ed,{s:10},l.createElement(d.f,{rows:2,value:a,onUpdate:i,onFocus:()=>{i("")}})))),l.createElement(ei.s,{justifyContent:"end",spacing:{mb:4},gap:4},l.createElement(s.$,{size:"l",view:"flat",onClick:e},"Cancel"),l.createElement(s.$,{size:"l",view:"action",onClick:()=>{n({type:"oauth2",value:a}),e()}},"Save")))},e2=e=>{let t={path:(0,l.useRef)(null),search:(0,l.useRef)(null),headers:(0,l.useRef)(null),bodyJson:(0,l.useRef)(null),bodyFormData:(0,l.useRef)(null)},[n,r]=(0,l.useState)(null);return l.createElement("form",{onSubmit:n=>e_(null,null,function*(){var a;let i;if(n.preventDefault(),Object.keys(i=Object.keys(t).reduce((e,n)=>{let r=t[n].current;if(!r)return e;let a=r.validate();return a&&(e[n]=a),e},{})).length?i:null)return;let l=Object.keys(t).reduce((e,n)=>{let r=t[n].current;return r&&(e[n]=r.value()),e},{}),{url:o,headers:s,body:c}=((e,{search:t,headers:n,path:r,bodyJson:a,bodyFormData:i},l,o,s)=>{let c=eA({},n),u=Object.entries(r).reduce((e,[t,n])=>e.replace(`{${t}}`,encodeURIComponent(n)),e),d=new URLSearchParams;if(Object.entries(t).forEach(([e,t])=>{d.append(e,t)}),s)for(let e of s){let t=function(e,t){let n=sessionStorage.getItem(`${e}_type`);return{type:n,value:t===n?sessionStorage.getItem(`${e}_value`):null}}(l,e.type).value;eB(e)&&t&&("header"===e.in?c[e.name]=t:"query"===e.in&&d.set(e.name,t)),eI(e)&&t&&(c.Authorization=`Bearer ${t}`)}let h=d.toString();return{url:u+(h?"?"+h:""),headers:"application/json"===o?em(eA({},c),ev({"Content-Type":"application/json"})):c,body:(({bodyType:e,bodyJson:t,bodyFormData:n})=>{switch(e){case"application/json":return{body:t};case"multipart/form-data":return{body:n};default:return{}}})({bodyFormData:i,bodyJson:a,bodyType:o})}})((null!=(a=e.host)?a:"")+"/"+e.path,l,e.projectName,e.bodyType,e.security);r(fetch(o,eA({method:e.method,headers:s},c)))}),className:eL()},l.createElement(eN,null,l.createElement(eJ,{security:e.security,projectName:e.projectName}),l.createElement(eH,{ref:t.path,title:"Path parameters",params:e.pathParams}),l.createElement(eH,{ref:t.search,title:"Query parameters",params:e.searchParams}),l.createElement(eH,{ref:t.headers,title:"Header parameters",params:e.headers}),l.createElement(eV,{ref:t.bodyJson,value:e.body,bodyType:e.bodyType}),l.createElement(e$,{ref:t.bodyFormData,schema:e.schema,example:e.body,bodyType:e.bodyType}),l.createElement("div",null,l.createElement(s.$,{size:"l",view:"action",type:"submit"},"Send")),n&&l.createElement(eZ,{request:n})))},e7=()=>{var e,t,n,r,a,i;let[s,c]=(0,l.useState)(null);if((0,l.useEffect)(()=>{c(document.querySelector(".yfm-openapi-sandbox-js"))}),!s||!s.dataset.props)return null;try{let c,u,d=null!=(i=null==(a=null==(r=null==(n=null==(t=null==(e=window.__DATA__)?void 0:e.props)?void 0:t.pageProps)?void 0:n.data)?void 0:r.viewerConfigParams)?void 0:a["project-name"])?i:"unknown-project",h=JSON.parse(decodeURIComponent(s.dataset.props));return(0,o.createPortal)(l.createElement(e2,eA({},(c=eA({},h),u={projectName:d},em(c,ev(u))))),s)}catch(e){return console.log(e),null}}},59071(e,t,n){"use strict";n.d(t,{UQ:()=>i});var r=n(96540),a=Symbol.for("page-constructor-store");function i({theme:e,preMountHook:t}){let n=function(e){let[t,n]=(0,r.useState)(null);return(0,r.useEffect)(()=>{let t=(e=>{if("u">typeof window&&void 0!==window.document){if(window[e]){if(!Array.isArray(window[e]))throw Error(`Expected window[${String(e)}] to be an array`)}else window[e]=[];return window[e]}throw Error("Cannot initialize QueueStore in a non-browser environment.")})(e),r=e=>{n(e)};return t.push(r),()=>{let e=t.indexOf(r);e>-1&&t.splice(e,1)}},[e]),t}(a);return(0,r.useEffect)(()=>{n?.render(e,t)},[n,e,t]),null}},81397(e,t,n){"use strict";var r=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,c=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,u=(e,t)=>{for(var n in t||(t={}))o.call(t,n)&&c(e,n,t[n]);if(l)for(var n of l(t))s.call(t,n)&&c(e,n,t[n]);return e},d={},h={TabsRuntime:()=>b,useDiplodocTabs:()=>g};for(var p in h)r(d,p,{get:h[p],enumerable:!0});e.exports=((e,t,n,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of i(t))o.call(e,s)||s===n||r(e,s,{get:()=>t[s],enumerable:!(l=a(t,s))||l.enumerable});return e})(r({},"__esModule",{value:!0}),d);var f=n(96540),m=Symbol.for("diplodocTabs");function g(e){if(void 0!==e){let t=(0,f.useCallback)(({tab:t,currentTabId:n})=>{e(t,n)},[e]);(0,f.useEffect)(()=>window[m].onSelectTab(t),[t])}return{selectTabById:(0,f.useCallback)((e,t)=>window[m].selectTabById(e,t),[]),selectTab:(0,f.useCallback)(e=>window[m].selectTab(e),[]),configure:(0,f.useCallback)(e=>window[m].configure(e),[]),restoreTabs:(0,f.useCallback)(e=>window[m].restoreTabs(e),[]),onPageChanged:(0,f.useCallback)(()=>window[m].onPageChanged(),[]),getTabsFromLocalStorage:(0,f.useCallback)(()=>window[m].getTabsFromLocalStorage(),[]),getTabsFromSearchQuery:(0,f.useCallback)(()=>window[m].getTabsFromSearchQuery(),[]),getCurrentPageTabHistory:(0,f.useCallback)(e=>window[m].getCurrentPageTabHistory(e),[]),updateLocalStorageWithTabs:(0,f.useCallback)(e=>window[m].updateLocalStorageWithTabs(e),[]),updateQueryParamWithTabs:(0,f.useCallback)(e=>window[m].updateQueryParamWithTabs(e),[])}}var v=n(96540);function b(e={}){if("u"<typeof window)return null;let t=g();return(0,v.useEffect)(()=>{t.configure(u({},e))},[e,t]),(0,v.useEffect)(()=>{t.onPageChanged(),t.restoreTabs(u(u({},t.getTabsFromLocalStorage()),t.getTabsFromSearchQuery()))},[e.router]),null}},20553(){"use strict";(()=>{let e,t,n,r,a,i,l;var o,s,c,u,d,h,p,f,m,g,v,b,w,y=Object.create,x=Object.defineProperty,E=Object.getOwnPropertyDescriptor,C=Object.getOwnPropertyNames,A=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty,S=(e={"node_modules/get-root-node-polyfill/index.js"(e,t){function n(e){return null!=e.parentNode?n(e.parentNode):e}"object"==typeof t&&t.exports&&(t.exports=function(e){return"object"==typeof e&&e.composed?function e(t){var r,a=n(t);return"#document-fragment"===(r=a).nodeName&&"ShadowRoot"===r.constructor.name?e(a.host):a}(this):n(this)})}},function(){return t||(0,e[C(e)[0]])((t={exports:{}}).exports,t),t.exports}),_="yfm_cut",M="yfm-cut-highlight",j=class{constructor(){((e,t,n)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?x(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n})(this,"disposers",[]),this.disposers.push(this.init())}init(){let e=!1,t=()=>{e=!0},n=()=>{e=!1},r=t=>{var n,r;(null==(r=null==(n=t.target)?void 0:n.tagName)?void 0:r.toLowerCase())==="summary"&&(null==n?void 0:n.classList.contains("yfm-cut-title"))&&!e&&this.focusActiveCut(t.target)};return document.addEventListener("mousedown",t),document.addEventListener("mouseup",n),document.addEventListener("focus",r,!0),()=>{document.removeEventListener("mousedown",t),document.removeEventListener("mouseup",n),document.removeEventListener("focus",r,!0)}}dispose(){for(let e of this.disposers)e()}focusActiveCut(e){let t=e.parentNode;if(!O(t))return;let n=t;for(;n;)O(n)&&(n.open=!0),n=n.parentElement;setTimeout(()=>{t.classList.add(M)},70),setTimeout(()=>{t.classList.remove(M)},1e3)}};function O(e){var t;return(null==(t=null==e?void 0:e.tagName)?void 0:t.toLowerCase())==="details"&&(null==e?void 0:e.classList.contains("yfm-cut"))}"u">typeof window&&!window[_]&&(window[_]=new j),o="active",s="data-diplodoc-group",c="data-diplodoc-key",u="data-diplodoc-variant",(n=d||{}).Regular="regular",n.Radio="radio",n.Dropdown="dropdown",n.Accordion="accordion",d=n,h=Symbol.for("diplodocTabs"),p=e=>{let t=e.composedPath();return Array.isArray(t)&&t.length>0?t[0]:e.target},f=e=>{let t=p(e);return!t||!t.matches},m=e=>Math.abs(e.scrollHeight-e.clientHeight)>1?e:e.parentElement?m(e.parentElement):void 0,g=(e,t)=>{let n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return{top:n.top-r.top,left:n.left-r.left,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}},v={TABS:".yfm-tabs",TAB_LIST:".yfm-tab-list",TAB:".yfm-tab",TAB_PANEL:".yfm-tab-panel",VERTICAL_TABS:".yfm-tabs-vertical"},b=class{constructor(e,t={}){this._onSelectTabHandlers=new Set,this._currentPageTabGroups=[],this._isRestoringTabs=!1,this._document=e,this._options=Object.assign({saveTabsToLocalStorage:!1,saveTabsToQueryStateMode:"none"},t),this._document.addEventListener("click",e=>{let t=p(e);if(e.target&&this.hideAllDropdown(e.target),f(e))return;if(this.isElementDropdownSelect(t))return void t.classList.toggle(o);if(!this.isValidTabElement(t))return;let n=this.getTabDataFromHTMLElement(t);n&&this._selectTab(n,t)}),this._document.addEventListener("keydown",e=>{let t=null;switch(e.key){case"ArrowLeft":case"ArrowUp":t="left";break;case"ArrowRight":case"ArrowDown":t="right"}if(!t)return;let n=p(e);if(f(e)||!this.isValidTabElement(n))return;let{tabs:r,nodes:a}=this.getTabs(n),i=this.getTabDataFromHTMLElement(n),l=r.findIndex(({key:e})=>(null==i?void 0:i.key)&&e===i.key);if(!i||r.length<=1||-1===l)return;let o=(l+("left"===t?-1:1)+r.length)%r.length;this.selectTab(r[o]),a[o].focus()})}configure(e){this._options=Object.assign(this._options,e)}onSelectTab(e){return this._onSelectTabHandlers.add(e),()=>{this._onSelectTabHandlers.delete(e)}}selectTabById(e,t){let n=this._document.querySelector(`${v.TAB}[data-diplodoc-id="${e}"]`);if(!n||!this.isValidTabElement(n))return;let r=this.getTabDataFromHTMLElement(n);r&&this._selectTab(r,n),null!=t&&t.scrollToElement&&n.scrollIntoView()}selectTab(e){this._selectTab(e)}restoreTabs(e){this._isRestoringTabs=!0;try{for(let[t,n]of Object.entries(e))if(t){let e={group:t,...n};this.selectTab(e)}}finally{this._isRestoringTabs=!1}}getTabsFromLocalStorage(){return JSON.parse(localStorage.getItem("tabsHistory")||"{}")}getTabsFromSearchQuery(){let e={},t=new URLSearchParams(window.location.search);return t.has("tabs")&&(t.get("tabs")||"").split(",").forEach(t=>{let n=t.split("_"),[r,a]=n,i="regular";3===n.length&&(i=n[2]),r&&a&&Object.values(d).includes(i)&&(e[r]={key:a,variant:i})}),e}updateLocalStorageWithTabs(e){this._options.saveTabsToLocalStorage&&(this._isRestoringTabs||localStorage.setItem("tabsHistory",JSON.stringify(e)))}updateQueryParamWithTabs(e){if(this._isRestoringTabs)return;let t=new URLSearchParams(window.location.search),n=Object.entries(e).map(([e,{key:t,variant:n}])=>"regular"===n?`${e}_${t}`:`${e}_${t}_${n}`);n.length>0?t.set("tabs",n.join(",")):t.delete("tabs");let r=history.state||{},a=new URL(window.location.href);a.search=t.toString(),window.history.replaceState({...r},document.title,a.href)}getCurrentPageTabHistory(e){return Object.fromEntries(Object.entries(e).filter(([e])=>this._currentPageTabGroups.includes(e)))}onPageChanged(){this._currentPageTabGroups=this.getCurrentPageTabGroups()}getCurrentPageTabGroups(){let e=this._document.getElementsByClassName("yfm-tabs"),t=new Set;return Array.from(e).forEach(e=>{let n=e.getAttribute(s);n&&t.add(n)}),Array.from(t)}clearTabsPreferred(){localStorage.removeItem("tabsHistory"),this.updateQueryParamWithTabs({})}_selectTab(e,t){let{group:n,key:r,variant:a}=e;if(!n)return;this.saveTabPreferred({group:n,key:r,variant:a});let i=t&&m(t),l=i&&g(t,i);this.updateHTML({group:n,key:r,variant:a},t,a)>0&&(this.fireSelectTabEvent({group:n,key:r,variant:a},null==t?void 0:t.dataset.diplodocId),l&&this.resetScroll(t,i,l))}updateHTML(e,t,n){switch(n){case"radio":return this.updateHTMLRadio(e,t);case"accordion":return this.updateHTMLAccordion(e,t);case"regular":return this.updateHTMLRegular(e);case"dropdown":return this.updateHTMLDropdown(e);default:return 0}}saveTabPreferred(e){let t={};switch(this._options.saveTabsToLocalStorage&&(t=JSON.parse(localStorage.getItem("tabsHistory")||"{}")),t[e.group]={key:e.key,variant:e.variant},this._options.saveTabsToLocalStorage&&this.updateLocalStorageWithTabs(t),this._options.saveTabsToQueryStateMode){case"all":this.updateQueryParamWithTabs(t);break;case"page":this.updateQueryParamWithTabs(this.getCurrentPageTabHistory(t))}}updateHTMLRadio(e,t){let{group:n,key:r}=e,{isForced:a,root:i}=this.didTabOpenForce(t),l=a?'.yfm-vertical-tab[data-diplodoc-forced="true"]':"",o=this._document.querySelectorAll(`${v.TABS}[${s}="${n}"] ${v.TAB}[${c}="${r}"]${l}`);a&&(null==i||i.removeAttribute("data-diplodoc-forced"));let u=0;return o.forEach(e=>{let t=e.parentNode.children;for(let n=0;n<t.length;n+=2){let[r,a]=[t.item(n),t.item(n+1)],i=r.children.item(0);if(r===e){i.checked?(r.classList.remove("active"),null==a||a.classList.remove("active"),i.removeAttribute("checked")):(r.classList.add("active"),null==a||a.classList.add("active"),i.setAttribute("checked","true"));continue}i.hasAttribute("checked")&&(r.classList.remove("active"),null==a||a.classList.remove("active"),i.removeAttribute("checked")),u++}}),u}updateHTMLRegular(e){let{group:t,key:n}=e,r=this._document.querySelectorAll(`${v.TABS}[${s}="${t}"] ${v.TAB}[${c}="${n}"]`),a=0;return r.forEach(e=>{if(!this.isValidTabElement(e)||"true"===e.dataset.diplodocIsActive)return;a++;let t=e.parentNode,n=null==t?void 0:t.parentNode,r=Array.from((null==t?void 0:t.querySelectorAll(v.TAB))||[]),i=Array.from((null==n?void 0:n.children)||[]).filter(e=>e.classList.contains("yfm-tab-panel")),l=r.indexOf(e);r.forEach((e,t)=>{let n=i[t],r=t===l;e.dataset.diplodocIsActive=r?"true":"false",e.classList.toggle(o,r),e.setAttribute("aria-selected",r.toString()),e.setAttribute("tabindex",r?"0":"-1"),n.classList.toggle(o,r)})}),a}updateHTMLDropdown(e){let{group:t,key:n}=e,r=this._document.querySelectorAll(`${v.TABS}[${s}="${t}"] ${v.TAB}[${c}="${n}"]`),a=0;return r.forEach(e=>{let t=e.closest(`[${u}=dropdown]`);if(!(null!=t&&t.children))return;let n=t.children.item(0),r=t.children.item(1);null==n||n.classList.remove(o);let i=Array.from((null==r?void 0:r.children)||[]).indexOf(e)+2;for(let l=2;l<t.children.length;l++){let s=t.children.item(l),c=null==r?void 0:r.children.item(l-2);if(a++,i===l){null==s||s.classList.add(o),c.classList.add(o),n.innerHTML=e.innerHTML,n.classList.add("filled");continue}c.classList.remove(o),s.classList.remove(o)}}),a}updateHTMLAccordion(e,t){let{group:n,key:r}=e,a=this._document.querySelectorAll(`${v.TABS}[${s}="${n}"] ${v.TAB}[${c}="${r}"]`),i=0;return a.forEach(e=>{let t=e.closest(`[${u}=accordion]`);if(null!=t&&t.children)for(let n=0;n<t.children.length;n+=2){let r=t.children.item(n),a=t.children.item(n+1);if(i++,e===r){null==r||r.classList.toggle(o),null==a||a.classList.toggle(o);continue}null==r||r.classList.remove(o),null==a||a.classList.remove(o)}}),t&&!this.checkVisible(t)&&setTimeout(()=>{t.scrollIntoView({block:"nearest"})}),i}checkVisible(e){let t=e.getBoundingClientRect(),n=Math.max(document.documentElement.clientHeight,window.innerHeight);return!(t.bottom<0||t.top-n>=0)}hideAllDropdown(e){this._document.querySelectorAll(".yfm-tabs-dropdown-select.active").forEach(t=>{t.contains(e)||t.classList.remove(o)})}resetScroll(e,t,n){let r=g(e,t),a=r.top-n.top,i=r.left-n.left,l=r.scrollTop-n.scrollTop,o=r.scrollLeft-n.scrollLeft;t.scrollTo(t.scrollLeft+i-o,t.scrollTop+a-l)}didTabOpenForce(e){if(!e)return{};if(e.dataset.diplodocForced)return{root:e,isForced:!0};let t=e.dataset.diplodocVerticalTab?e:e.parentElement,n=void 0!==(null==t?void 0:t.dataset.diplodocForced);return{root:t,isForced:n}}fireSelectTabEvent(e,t){let{group:n,key:r,variant:a}=e,i=n.startsWith("defaultTabsGroup-")?{key:r,variant:a}:e;this._onSelectTabHandlers.forEach(e=>{e({tab:i,currentTabId:t})})}getTabsType(e){let t=e.closest(`[${u}]`);if(t)return t.dataset.diplodocVariant}isValidTabElement(e){return!!this.getTabsType(e)}isElementDropdownSelect(e){return e.classList.contains("yfm-tabs-dropdown-select")}getTabDataFromHTMLElement(e){var t,n,r;let a=this.getTabsType(e);if("radio"===a){let n=e.dataset.diplodocVerticalTab?e:e.parentElement,r=n.dataset.diplodocKey,a=null==(t=n.closest(v.TABS))?void 0:t.dataset.diplodocGroup;return r&&a?{group:a,key:r,variant:"radio"}:null}if("dropdown"===a||"accordion"===a){let t=e.dataset.diplodocKey,r=null==(n=e.closest(v.TABS))?void 0:n.dataset.diplodocGroup;return t&&r?{group:r,key:t,variant:a}:null}let i=e.dataset.diplodocKey,l=null==(r=e.closest(v.TABS))?void 0:r.dataset.diplodocGroup;return i&&l?{group:l,key:i,variant:"regular"}:null}getTabs(e){var t,n;let r=null==(t=e.closest(v.TABS))?void 0:t.dataset.diplodocGroup,a=null==(n=e.closest(v.TAB_LIST))?void 0:n.querySelectorAll(v.TAB),i=[];return a.forEach(e=>{let t=null==e?void 0:e.dataset.diplodocKey;t&&i.push({group:r,key:t,variant:"regular"})}),{tabs:i,nodes:a}}},"u"<typeof window||"u"<typeof document||window[h]||(window[h]=new b(document));var R=(i=null!=(r=S())?y(A(r)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of C(t))k.call(e,a)||a===n||x(e,a,{get:()=>t[a],enumerable:!(r=E(t,a))||r.enumerable});return e})(!a&&r&&r.__esModule?i:x(i,"default",{value:r,enumerable:!0}),r));"u">typeof document&&((l=(w=Element.prototype).matches||w.matchesSelector||w.webkitMatchesSelector||w.mozMatchesSelector||w.msMatchesSelector||w.oMatchesSelector)?w.matches=w.matchesSelector=l:w.matches=w.matchesSelector=function(e){let t=(w.getRootNode?w.getRootNode():R.default.call(w)).querySelectorAll(e),n=this;return Array.prototype.some.call(t,e=>e===n)});var L=e=>{let t=e.composedPath();return Array.isArray(t)&&t.length>0?t[0]:e.target},T=e=>{let t=L(e);return!t||!t.matches},N=async e=>{if(!e)return;if(navigator.clipboard&&(navigator.clipboard.writeText,1))return navigator.clipboard.writeText(e);let t=document.createElement("textarea");t.setAttribute("style","position: absolute; left: 1000%"),t.textContent=e,document.body.append(t),t.select(),document.execCommand("copy"),document.body.removeChild(t)};"u">typeof document&&document.addEventListener("click",e=>{var t,n;if(T(e))return;let r=L(e);if(r.matches(".yfm-clipboard-button")){let e,n;n=null==(e=null==(t=r.parentNode)?void 0:t.parentNode)?void 0:e.querySelector("pre code"),e&&n&&N(Array.from(n.childNodes).filter(e=>!(e instanceof HTMLElement&&e.classList.contains("yfm-line-number"))).map(e=>e.textContent).join("").trim()).then(()=>{!function(e){if(!e)return;let t=e.getAttribute("data-animation"),n=e.getRootNode().getElementById(`visibileAnimation-${t}`);n&&n.beginElement()}(e.querySelector(".yfm-clipboard-icon")),setTimeout(()=>r.blur(),1500)})}else{let e,t;r.matches(".yfm-wrapping-button")&&(t=null==(e=null==(n=r.parentNode)?void 0:n.parentNode)?void 0:e.querySelector("pre code"),e&&t&&(t.classList.toggle("wrap"),setTimeout(()=>r.blur(),500)))}});var z="yfm yfm-tooltip",D="open",P="data-tooltip-id",B={mainAxis:5},I={top:"bottom",bottom:"top",left:"right",right:"left"},H={top:0,bottom:0,left:0,right:0};function V(e){return"top"===e||"bottom"===e}function q(e){let[t,n]=e.split("-");return{side:t,alignment:n}}function F(e,t,n){return function(e,t,n=0){let{top:r,bottom:a,left:i,right:l}=function(e=0){return"number"==typeof e?{top:e,bottom:e,left:e,right:e}:{...H,...e}}(n);return{top:e.top-t.top+r,bottom:t.bottom-e.bottom+a,left:e.left-t.left+i,right:t.right-e.right+l}}(n,U(e,{top:t.y,left:t.x}),5)}function $(e){return{...e,right:e.left+e.width,bottom:e.top+e.height}}function U(e,t){var n,r,a,i;return $({top:null!=(n=t.top)?n:e.top,left:null!=(r=t.left)?r:e.left,width:null!=(a=t.width)?a:e.width,height:null!=(i=t.height)?i:e.height})}function G(){let{documentElement:e,body:t}=document,n=window.scrollY||e.scrollTop||t.scrollTop,r=window.scrollX||e.scrollLeft||t.scrollLeft;return $({top:Math.round(n-(e.clientTop||t.clientTop||0)),left:Math.round(r-(e.clientLeft||t.clientLeft||0)),width:document.body.clientWidth,height:document.body.clientHeight})}function W(e){let t=G(),n=e.getBoundingClientRect();return $({top:Math.round(n.top+t.top),left:Math.round(n.left+t.left),width:n.width,height:n.height})}function K(e,t,n,r,a){let{side:i,alignment:l}=q(r),o=V(i),s=o?"x":"y",c="y"===s?"height":"width",u=e.left+e.width/2-t.width/2,d=e.top+e.height/2-t.height/2,h=e[c]/2-t[c]/2,p={x:e.left,y:e.top};switch(i){case"top":p.x=u,p.y=e.top-t.height;break;case"bottom":p.x=u,p.y=e.top+e.height;break;case"right":p.x=e.left+e.width,p.y=d;break;case"left":p.x=e.left-t.width,p.y=d}switch(l){case"start":p[s]-=h*(a&&o?-1:1);break;case"end":p[s]+=h*(a&&o?-1:1)}let f=function(e,t,n){let{mainAxis:r=0,crossAxis:a=0}=e,i=V(t),l=r*("top"===t||"left"===t?-1:1),o=a*(n&&i?-1:1);return i?{x:o,y:l}:{x:l,y:o}}(n,i,a);return p.x+=f.x,p.y+=f.y,p}function Z(e={}){let{closeDelay:t=1e3,additionalClassName:n}=e,r=!1,a={currentId:null,timer:null,unsubscribe:null},i=()=>a.currentId?document.getElementById(a.currentId):null,l=()=>a.currentId?Y(a.currentId):null,o=()=>{let e=i();a.timer&&(clearTimeout(a.timer),a.timer=null),a.unsubscribe&&(a.unsubscribe(),a.unsubscribe=null),e&&(e.classList.remove(D),function(e){if(e.id){let t=Y(e.id);null==t||t.removeAttribute(P)}e.remove()}(e),a.currentId=null)},s=()=>{let t=i(),n=l();t&&!n?o():t&&n&&J(e,n,t)};return{get visible(){return!!a.currentId},getActiveReference:l,show:(r,i)=>{var l,s,c,u,d;let h,p,f;o();let m=function(e){let t,n,{text:r,className:a}=e,i=(t=Math.random().toString(36).substring(2,6),n=Date.now().toString(36),`${t}${n}`),l=document.createElement("div");return l.id=i,l.className=a?`${z} ${a}`:z,l.setAttribute("role","tooltip"),l.setAttribute("aria-live","polite"),l.textContent=r,l}({text:i,className:n}),g=J.bind(null,e,r,m);a.currentId=m.id,l=m,s=r,h=document.querySelector(".dc-doc-page__content")||document.body,p=s.getAttribute("aria-live"),s.setAttribute(P,l.id),p&&l.setAttribute("aria-live",p),h.appendChild(l),c=r,u=g,(f=(d=c).closest("table")||d.closest("code")||d.parentElement||document.body).addEventListener("scroll",u),a.unsubscribe=()=>{f.removeEventListener("scroll",u)},m.classList.add(D),g(),t>0&&(a.timer=setTimeout(o,t))},hide:o,init:()=>{r||(r=!0,window.addEventListener("scroll",s),window.addEventListener("resize",s))},cleanup:()=>{r&&(r=!1,window.removeEventListener("scroll",s),window.removeEventListener("resize",s))}}}function Y(e){return document.querySelector(`[${P}="${e}"]`)}function J(e,t,n){let r=function(e,t){let n=t.parentElement;if(!n)return null;let r=G(),a=W(e),{width:i,height:l}=t.getBoundingClientRect();return{isRtl:"rtl"===document.dir,viewport:r,reference:a,tooltip:$({top:0,left:0,width:i,height:l}),elements:{reference:e,tooltip:t,offsetParent:n}}}(t,n);if(!r)return;let a=function(e,t){var n,r;let a,{placement:i="bottom-start",offset:l=B,flip:o=!0}=t,{reference:s,tooltip:c,viewport:u,isRtl:d}=e,{coords:h}=function(e,t,n,r,a,i,l=!0){var o,s,c;let u,d=K(e,t,a,r,i);if(!l)return{coords:d,placement:r};let h=F(t,d,n),{side:p}=q(r);if(h[p]<=0)return{coords:d,placement:r};let f=function(e){let{side:t,alignment:n}=q(e),r=I[t];return n?`${r}-${n}`:r}(r),m=K(e,t,a,f,i);return(o=h,s=F(t,m,n),u=I[c=p],o[c]>0&&s[u]<o[c])?{coords:m,placement:f}:{coords:d,placement:r}}(s,c,u,i,l,d,o),p=(n=U(c,{top:h.y,left:h.x}),a=W(r=e.elements.offsetParent),$({top:n.top-a.top+r.offsetTop,left:n.left-a.left+r.offsetLeft,width:n.width,height:n.height}));return{x:p.left,y:p.top}}(r,e);n.style.top=`${a.y}px`,n.style.left=`${a.x}px`}var X={ru:"Скопировано",en:"Copied",ar:"تم النسخ",cs:"Zkop\xedrov\xe1no",fr:"Copi\xe9",es:"Copiado",he:"הועתק",bg:"Копирано",et:"Kopeeritud",el:"Αντιγράφηκε",pt:"Copiado",zh:"已复制","zh-tw":"已複製",kk:"Көшірілді",tr:"Kopyalandı",uz:"Nusxalandi"},Q=/^(?:https?|file):$/,ee=Z();"u">typeof document&&(ee.init(),document.addEventListener("click",e=>{let t,n=L(e);!T(e)&&n.matches(".yfm-clipboard-anchor")&&N((t=new URL(("A"===n.nodeName?n.href:n.dataset.href)||"",window.location.href),Q.test(t.protocol)?t.href:window.location.href)).then(()=>{var e;let t=null!=(e=X[document.documentElement.lang||"en"])?e:X.en;ee.show(n,t)})}));var et="yfm-clipboard-inline-code",en=`.${et}`,er=Z({additionalClassName:"inline_code_tooltip"});function ea(e){let t=e.innerText;t&&N(t).then(()=>{var t;let n=null!=(t=X[document.documentElement.lang||"en"])?t:X.en;er.show(e,n)})}"u">typeof document&&(er.init(),document.addEventListener("click",e=>{let t=L(e),n=t.matches(en);!T(e)&&n&&ea(t)}),document.addEventListener("keydown",e=>{if("Enter"===e.key&&document.activeElement){let e=document.activeElement;if(!e.classList.contains(et))return;ea(e)}if("Escape"===e.key&&er.visible){let e=er.getActiveReference();er.hide(),null==e||e.focus()}}));var ei=".yfm .yfm-term_dfn",el="open",eo=ei.replace(/\./g,"")+" "+el,es=!0;function ec(e,t){let{x:n,y:r,right:a,left:i,width:l,height:o}=t.getBoundingClientRect(),s=ed(t);if(!s)return;let{right:c,left:u}=s.getBoundingClientRect();if((c<i||u>a)&&!es)return void ep(e);es&&s&&(s.addEventListener("scroll",eu),es=!1);let d=Number(e.getAttribute("relativeX")),h=Number(e.getAttribute("relativeY"));if(d===n&&h===r)return;e.setAttribute("relativeX",String(n)),e.setAttribute("relativeY",String(r));let p=e.parentElement;if(!p)return;let{width:f}=e.getBoundingClientRect(),{left:m}=p.getBoundingClientRect(),g=Number(ef(t).left),v=f+g,b=v>document.body.clientWidth,w=b||"rtl"===document.dir,y=ef(p).top-p.offsetTop,x=b?v-document.body.clientWidth+5:0,E=ef(t).left-m+p.offsetLeft-(w&&!(g-f<0)?f-l:0),C=E+f>=document.body.clientWidth;e.style.top=Number(ef(t).top+(o+5)-y)+"px",e.style.left=Number(E-(C?x:0))+"px"}function eu(){let e=document.getElementsByClassName(eo)[0];if(!e)return;let t=e.getAttribute("term-id")||"",n=document.getElementById(t);n&&ec(e,n)}function ed(e){return e?e.closest("table")||e.closest("code")||e.parentElement:null}function eh(e){let t,n=document.getElementsByClassName(eo)[0],r=e.getAttribute("id"),a=e.getAttribute("term-key"),i=`${a}_element`;if(e.closest(".wide-container")){let n=e.closest(".wide-content");if(!n)return;t=n.querySelector(`[id="${i}"]`)}else t=document.getElementById(i);if(n&&r===n.getAttribute("term-id"))return void ep(n);let l=e.closest([ei.replace(" ",""),el].join("."));if(n&&!l&&ep(n),e.matches(".yfm .yfm-term_title")&&t){var o,s,c;let n,r,a,i,l;o=t,n=e.getAttribute("id")||Math.random().toString(36).substr(2,8),null==o||o.setAttribute("term-id",n);s=t,r=e.getAttribute("aria-live")||"polite",null==s||s.setAttribute("aria-live",r),null==s||s.setAttribute("aria-modal","true"),ec(t,e),t.classList.toggle(el),i=(a=(c=t).querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'))[0],l=a[a.length-1],i&&i.focus(),c.addEventListener("keydown",function(e){("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===i&&(l.focus(),e.preventDefault()):document.activeElement===l&&(i.focus(),e.preventDefault()))})}}function ep(e){e.classList.remove(el);let t=ed(em(e));t&&(t.removeEventListener("scroll",eu),es=!0)}function ef(e){let t=e.getBoundingClientRect(),n=document.body,r=document.documentElement,a=window.pageYOffset||r.scrollTop||n.scrollTop,i=window.pageXOffset||r.scrollLeft||n.scrollLeft,l=r.clientTop||n.clientTop||0,o=r.clientLeft||n.clientLeft||0;return{top:Math.round(t.top+a-l),left:Math.round(t.left+i-o)}}function em(e){let t=e.getAttribute("term-id");if(!t)return null;if(e.closest(".wide-container")){let n=e.closest(".wide-content");return n?n.querySelector(`[id="${t}"]`):null}return document.getElementById(t)}"u">typeof document&&(document.addEventListener("click",e=>{(L(e)||!T(e))&&eh(L(e))}),document.addEventListener("keydown",e=>{var t;let n=document.getElementsByClassName(eo)[0];"Enter"===e.key&&document.activeElement&&eh(document.activeElement),"Escape"===e.key&&n&&(ep(n),null==(t=em(n))||t.focus())}),window.addEventListener("resize",()=>{let e=document.getElementsByClassName(eo)[0];if(!e)return;let t=e.getAttribute("term-id")||"",n=document.getElementById(t);n?ec(e,n):e.classList.toggle(el)}));var eg=()=>{window.wideTemplate&&(window.wideTemplate.style.display="none",window.wideTemplate.content(void 0))},ev=e=>{var t;if(null==(t=e.parentElement)?void 0:t.classList.contains("wide-element-wrapper"))return;e.classList.add("wide-inner-element");let n=document.createElement("div");n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M7.754 2.004a.75.75 0 0 0 0 1.5h4.75v4.742a.75.75 0 0 0 1.5 0V2.754a.75.75 0 0 0-.75-.75zm.492 11.992a.75.75 0 0 0 0-1.5h-4.75V7.754a.75.75 0 0 0-1.5 0v5.492a.75.75 0 0 0 .75.75z" clip-rule="evenodd"/></svg>',n.classList.add("wide-content-viewer"),n.addEventListener("click",()=>{var t;let n;return t=e,void((n=(()=>{if(window.wideTemplate)return window.wideTemplate;let e=document.createElement("div");e.classList.add("dc-doc-page","wide-container");let t=document.createElement("div");t.classList.add("wide-content-overlay"),t.addEventListener("click",eg);let n=document.createElement("div");n.classList.add("yfm","wide-content-wrapper");let r=document.createElement("div");r.classList.add("wide-toolbar");let a=document.createElement("div");a.classList.add("wide-actions"),a.addEventListener("click",eg),a.innerHTML='<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg" class="close-action"><path fillRule="evenodd" clipRule="evenodd" d="M9.46967 9.46967C9.76256 9.17678 10.2374 9.17678 10.5303 9.46967L14 12.9393L17.4697 9.46967C17.7626 9.17678 18.2374 9.17678 18.5303 9.46967C18.8232 9.76256 18.8232 10.2374 18.5303 10.5303L15.0607 14L18.5303 17.4697C18.8232 17.7626 18.8232 18.2374 18.5303 18.5303C18.2374 18.8232 17.7626 18.8232 17.4697 18.5303L14 15.0607L10.5303 18.5303C10.2374 18.8232 9.76256 18.8232 9.46967 18.5303C9.17678 18.2374 9.17678 17.7626 9.46967 17.4697L12.9393 14L9.46967 10.5303C9.17678 10.2374 9.17678 9.76256 9.46967 9.46967Z" fill="var(--g-color-text-primary)" fillOpacity="0.85"/></svg>';let i=document.createElement("p");i.classList.add("wide-entity-name"),e.label=e=>{i.innerHTML=e||""};let l=document.createElement("div");return l.classList.add("wide-content"),e.content=e=>{var t;if(void 0===e){l.innerHTML="";return}let n=e.cloneNode(!0),r=(e=>{if("TABLE"!==e.tagName)return;let t=Array.from(e.children);if(!t.find(e=>"THEAD"===e.tagName))return t.find(e=>"TBODY"===e.tagName)})(n);null==(t=null==r?void 0:r.classList)||t.add("wide-thead-content");let a=n.querySelectorAll(".yfm-term_title"),i=[];a.forEach(e=>{let t=e.getAttribute("term-key");if(t){let e=document.getElementById(t+"_element");if(e){let t=e.cloneNode(!0);i.push(t)}}}),l.replaceChildren(n,...i)},r.append(i,a),n.append(r,l),e.append(t,n),e.style.display="none",document.body.appendChild(e),window.wideTemplate=e,e})()).label(t.title),n.content(t),n.style.display="flex")});let r=document.createElement("div");r.classList.add("wide-element-wrapper"),e.before(r),r.appendChild(e),r.appendChild(n)},eb=()=>{Array.from(document.querySelectorAll("[wide-content]")).forEach(ev)};"u">typeof window&&"u">typeof document&&window.addEventListener("load",eb),"u">typeof window&&(window.patchAfterRender=()=>{eb()})})()},12517(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M14.75 8a.75.75 0 0 1-.75.75H3.81l2.72 2.72a.75.75 0 1 1-1.06 1.06l-4-4a.75.75 0 0 1 0-1.06l4-4a.75.75 0 0 1 1.06 1.06L3.81 7.25H14a.75.75 0 0 1 .75.75",clipRule:"evenodd"}))},94084(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M1.25 8A.75.75 0 0 1 2 7.25h10.19L9.47 4.53a.75.75 0 0 1 1.06-1.06l4 4a.75.75 0 0 1 0 1.06l-4 4a.75.75 0 1 1-1.06-1.06l2.72-2.72H2A.75.75 0 0 1 1.25 8",clipRule:"evenodd"}))},60787(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M9 9v2.665a.335.335 0 0 0 .55.257l4.72-3.934a.635.635 0 0 0 0-.976L9.55 3.078a.335.335 0 0 0-.55.257V6H7.5c-1.584 0-3.182.571-4.241 1.692-.9.951-1.549 2.446-1.31 4.723.65-1.026 1.365-1.837 2.201-2.413C5.198 9.279 6.323 9 7.5 9zm-3 1.731c-1.162.396-2.165 1.337-3.151 3.106-.223.4-.64.663-1.098.663-.552 0-1.04-.376-1.143-.917C-.598 7.237 3.678 4.5 7.499 4.5V3.335a1.835 1.835 0 0 1 3.01-1.41l4.722 3.935a2.135 2.135 0 0 1 0 3.28l-4.721 3.935a1.835 1.835 0 0 1-3.01-1.41V10.5c-.533 0-1.03.07-1.5.231",clipRule:"evenodd"}))},93704(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.323 12.383a5.5 5.5 0 0 1-7.706-7.706zm1.06-1.06L4.677 3.617a5.5 5.5 0 0 1 7.706 7.706M15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0",clipRule:"evenodd"}))},43507(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M1.25 3.25A.75.75 0 0 1 2 2.5h12A.75.75 0 0 1 14 4H2a.75.75 0 0 1-.75-.75m0 4.75A.75.75 0 0 1 2 7.25h12a.75.75 0 0 1 0 1.5H2A.75.75 0 0 1 1.25 8M2 12a.75.75 0 0 0 0 1.5h12a.75.75 0 0 0 0-1.5z",clipRule:"evenodd"}))},88786(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.97 5.47a.75.75 0 0 1 1.06 0L8 9.44l3.97-3.97a.75.75 0 1 1 1.06 1.06l-4.5 4.5a.75.75 0 0 1-1.06 0l-4.5-4.5a.75.75 0 0 1 0-1.06",clipRule:"evenodd"}))},36635(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M10.53 2.97a.75.75 0 0 1 0 1.06L6.56 8l3.97 3.97a.75.75 0 1 1-1.06 1.06l-4.5-4.5a.75.75 0 0 1 0-1.06l4.5-4.5a.75.75 0 0 1 1.06 0",clipRule:"evenodd"}))},90594(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.47 13.03a.75.75 0 0 1 0-1.06L9.44 8 5.47 4.03a.75.75 0 0 1 1.06-1.06l4.5 4.5a.75.75 0 0 1 0 1.06l-4.5 4.5a.75.75 0 0 1-1.06 0",clipRule:"evenodd"}))},89757(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 2a.75.75 0 0 1 .75.75v10.5a.75.75 0 0 1-1.5 0V2.75A.75.75 0 0 1 8 2M2.22 4.97a.75.75 0 0 0 0 1.06L4.19 8 2.22 9.97a.75.75 0 1 0 1.06 1.06l2.5-2.5a.75.75 0 0 0 0-1.06l-2.5-2.5a.75.75 0 0 0-1.06 0m11.56 1.06a.75.75 0 0 0-1.06-1.06l-2.5 2.5a.75.75 0 0 0 0 1.06l2.5 2.5a.75.75 0 1 0 1.06-1.06L11.81 8z",clipRule:"evenodd"}))},56029(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M1.5 2.75a.75.75 0 0 0-1.5 0v10.5a.75.75 0 0 0 1.5 0zm14.5 0a.75.75 0 0 0-1.5 0v10.5a.75.75 0 0 0 1.5 0zM6.53 4.97a.75.75 0 0 1 0 1.06L4.56 8l1.97 1.97a.75.75 0 1 1-1.06 1.06l-2.5-2.5a.75.75 0 0 1 0-1.06l2.5-2.5a.75.75 0 0 1 1.06 0m2.94 1.06a.75.75 0 0 1 1.06-1.06l2.5 2.5a.75.75 0 0 1 0 1.06l-2.5 2.5a.75.75 0 1 1-1.06-1.06L11.44 8z",clipRule:"evenodd"}))},11169(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M13.5 8a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0M15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0m-3.9-1.55a.75.75 0 1 0-1.2-.9L7.419 8.858 6.03 7.47a.75.75 0 0 0-1.06 1.06l2 2a.75.75 0 0 0 1.13-.08z",clipRule:"evenodd"}))},83544(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14m3.1-8.55a.75.75 0 1 0-1.2-.9L7.419 8.858 6.03 7.47a.75.75 0 0 0-1.06 1.06l2 2a.75.75 0 0 0 1.13-.08z",clipRule:"evenodd"}))},52198(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 13.5a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14m1-9.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0m-.25 3a.75.75 0 0 0-1.5 0V11a.75.75 0 0 0 1.5 0z",clipRule:"evenodd"}))},63584(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14m1-9.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0M8 7.75a.75.75 0 0 1 .75.75V11a.75.75 0 0 1-1.5 0V8.5A.75.75 0 0 1 8 7.75",clipRule:"evenodd"}))},66840(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M13.5 8a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0M15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0M6.53 5.47a.75.75 0 0 0-1.06 1.06L6.94 8 5.47 9.47a.75.75 0 1 0 1.06 1.06L8 9.06l1.47 1.47a.75.75 0 1 0 1.06-1.06L9.06 8l1.47-1.47a.75.75 0 1 0-1.06-1.06L8 6.94z",clipRule:"evenodd"}))},17453(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14M6.53 5.47a.75.75 0 0 0-1.06 1.06L6.94 8 5.47 9.47a.75.75 0 1 0 1.06 1.06L8 9.06l1.47 1.47a.75.75 0 1 0 1.06-1.06L9.06 8l1.47-1.47a.75.75 0 1 0-1.06-1.06L8 6.94z",clipRule:"evenodd"}))},16400(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 2.5H8A1.5 1.5 0 0 0 6.5 4v1H8a3 3 0 0 1 3 3v1.5h1A1.5 1.5 0 0 0 13.5 8V4A1.5 1.5 0 0 0 12 2.5M11 11h1a3 3 0 0 0 3-3V4a3 3 0 0 0-3-3H8a3 3 0 0 0-3 3v1H4a3 3 0 0 0-3 3v4a3 3 0 0 0 3 3h4a3 3 0 0 0 3-3zM4 6.5h4A1.5 1.5 0 0 1 9.5 8v4A1.5 1.5 0 0 1 8 13.5H4A1.5 1.5 0 0 1 2.5 12V8A1.5 1.5 0 0 1 4 6.5",clipRule:"evenodd"}))},45422(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("g",{fill:"currentColor"},r.createElement("path",{d:"m8 9.076.085-.107a.751.751 0 1 0-1.171-.937L5.438 9.877 5.03 9.47a.747.747 0 0 0-1.06 0 .75.75 0 0 0 0 1.06l.407.408.593.592a.75.75 0 0 0 1.116-.061l.522-.654h.001z"}),r.createElement("path",{fillRule:"evenodd",d:"M12 11a3 3 0 0 0 3-3V4a3 3 0 0 0-3-3H8a3 3 0 0 0-3 3v1H4a3 3 0 0 0-3 3v4a3 3 0 0 0 3 3h4a3 3 0 0 0 3-3v-1zM4 6.5A1.5 1.5 0 0 0 2.5 8v4A1.5 1.5 0 0 0 4 13.5h4A1.5 1.5 0 0 0 9.5 12V8A1.5 1.5 0 0 0 8 6.5zM13.5 4A1.5 1.5 0 0 0 12 2.5H8A1.5 1.5 0 0 0 6.5 4v1H8a3 3 0 0 1 3 3v1.5h1A1.5 1.5 0 0 0 13.5 8z",clipRule:"evenodd"})))},28643(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.5 12c0 .414-.168.79-.44 1.06A1.5 1.5 0 0 1 8 13.5H4a1.5 1.5 0 0 1-1.06-.44A1.5 1.5 0 0 1 2.5 12V8c0-.414.168-.79.44-1.06A1.5 1.5 0 0 1 4 6.5h4c.414 0 .79.168 1.06.44.272.27.44.646.44 1.06zm-1.47-1.03L7.06 10l.97-.97a.75.75 0 0 0-1.06-1.06L6 8.94l-.97-.97a.75.75 0 0 0-1.06 1.06l.97.97-.97.97a.75.75 0 0 0 1.06 1.06l.97-.97.97.97a.75.75 0 0 0 1.06-1.06M6.5 5H8a3 3 0 0 1 3 3v1.5h1A1.5 1.5 0 0 0 13.5 8V4A1.5 1.5 0 0 0 12 2.5H8A1.5 1.5 0 0 0 6.5 4zM5 4a3 3 0 0 1 3-3h4a3 3 0 0 1 3 3v4a3 3 0 0 1-3 3h-1v1a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3V8a3 3 0 0 1 3-3h1z",clipRule:"evenodd"}))},37881(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.5 4h9c.25 0 .485.06.692.169L8.75 7.5a1.25 1.25 0 0 1-1.5 0L2.808 4.169C3.015 4.06 3.251 4 3.5 4M2.001 5.438 2 5.5v5A1.5 1.5 0 0 0 3.5 12h9a1.5 1.5 0 0 0 1.5-1.5v-5l-.001-.062L9.65 8.7a2.75 2.75 0 0 1-3.3 0zM.5 5.5a3 3 0 0 1 3-3h9a3 3 0 0 1 3 3v5a3 3 0 0 1-3 3h-9a3 3 0 0 1-3-3z",clipRule:"evenodd"}))},64482(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M7.199 2H8.8a.2.2 0 0 1 .2.2c0 1.808 1.958 2.939 3.524 2.034a.2.2 0 0 1 .271.073l.802 1.388a.2.2 0 0 1-.073.272c-1.566.904-1.566 3.164 0 4.069a.2.2 0 0 1 .073.271l-.802 1.388a.2.2 0 0 1-.271.073C10.958 10.863 9 11.993 9 13.8a.2.2 0 0 1-.199.2H7.2a.2.2 0 0 1-.2-.2c0-1.808-1.958-2.938-3.524-2.034a.2.2 0 0 1-.272-.073l-.8-1.388a.2.2 0 0 1 .072-.271c1.566-.905 1.566-3.165 0-4.07a.2.2 0 0 1-.073-.27l.801-1.389a.2.2 0 0 1 .272-.072C5.042 5.138 7 4.007 7 2.199c0-.11.089-.199.199-.199M5.5 2.2c0-.94.76-1.7 1.699-1.7H8.8c.94 0 1.7.76 1.7 1.7a.85.85 0 0 0 1.274.735 1.7 1.7 0 0 1 2.32.622l.802 1.388c.469.813.19 1.851-.622 2.32a.85.85 0 0 0 0 1.472 1.7 1.7 0 0 1 .622 2.32l-.802 1.388a1.7 1.7 0 0 1-2.32.622.85.85 0 0 0-1.274.735c0 .939-.76 1.7-1.699 1.7H7.2a1.7 1.7 0 0 1-1.699-1.7.85.85 0 0 0-1.274-.735 1.7 1.7 0 0 1-2.32-.622l-.802-1.388a1.7 1.7 0 0 1 .622-2.32.85.85 0 0 0 0-1.471 1.7 1.7 0 0 1-.622-2.32l.801-1.389a1.7 1.7 0 0 1 2.32-.622A.85.85 0 0 0 5.5 2.2m4 5.8a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0",clipRule:"evenodd"}))},9568(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.208 12.346c-.485 1-.953 1.154-1.208 1.154s-.723-.154-1.208-1.154c-.372-.768-.647-1.858-.749-3.187a21 21 0 0 0 3.914 0c-.102 1.329-.377 2.419-.75 3.187m.788-4.699C9.358 7.714 8.69 7.75 8 7.75s-1.358-.036-1.996-.103c.037-1.696.343-3.075.788-3.993C7.277 2.654 7.745 2.5 8 2.5s.723.154 1.208 1.154c.445.918.75 2.297.788 3.993m1.478 1.306c-.085 1.516-.375 2.848-.836 3.874a5.5 5.5 0 0 0 2.843-4.364c-.621.199-1.295.364-2.007.49m1.918-2.043c-.572.204-1.21.379-1.901.514-.056-1.671-.354-3.14-.853-4.251a5.5 5.5 0 0 1 2.754 3.737m-8.883.514c.056-1.671.354-3.14.853-4.251A5.5 5.5 0 0 0 2.608 6.91c.572.204 1.21.379 1.901.514M2.52 8.463a5.5 5.5 0 0 0 2.843 4.364c-.46-1.026-.75-2.358-.836-3.874a15.5 15.5 0 0 1-2.007-.49M15 8A7 7 0 1 0 1 8a7 7 0 0 0 14 0",clipRule:"evenodd"}))},52605(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M7 3a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M5.5 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3m5 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3m0-5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3M7 13a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m3.5 1.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3",clipRule:"evenodd"}))},85889(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.47 6.53a.75.75 0 0 1 1.06 1.061l-.727.727a2.743 2.743 0 0 0 3.879 3.879l.727-.727a.75.75 0 0 1 1.06 1.06l-.726.727a4.243 4.243 0 0 1-6-6zm8 1.879a.75.75 0 0 0 1.06 1.06l.727-.726a4.243 4.243 0 0 0-6-6l-.727.727a.75.75 0 0 0 1.061 1.06l.727-.727a2.743 2.743 0 0 1 3.879 3.879zm-.94-1.879a.75.75 0 1 0-1.06-1.06l-4 4a.75.75 0 1 0 1.06 1.06z",clipRule:"evenodd"}))},84941(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.5 7a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0m-.82 4.74a6 6 0 1 1 1.06-1.06l2.79 2.79a.75.75 0 1 1-1.06 1.06z",clipRule:"evenodd"}))},39688(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.423 1A3.577 3.577 0 0 1 15 4.577c0 .27-.108.53-.3.722l-.528.529-1.971 1.971-5.059 5.059a3 3 0 0 1-1.533.82l-2.638.528a1 1 0 0 1-1.177-1.177l.528-2.638a3 3 0 0 1 .82-1.533l5.059-5.059 2.5-2.5c.191-.191.451-.299.722-.299m-2.31 4.009-4.91 4.91a1.5 1.5 0 0 0-.41.766l-.38 1.903 1.902-.38a1.5 1.5 0 0 0 .767-.41l4.91-4.91a2.08 2.08 0 0 0-1.88-1.88m3.098.658a3.6 3.6 0 0 0-1.878-1.879l1.28-1.28c.995.09 1.788.884 1.878 1.88z",clipRule:"evenodd"}))},10571(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",d:"M13 10a.75.75 0 0 1 .725.556 2.37 2.37 0 0 0 1.72 1.72.75.75 0 0 1 0 1.449 2.37 2.37 0 0 0-1.72 1.72.75.75 0 0 1-1.45 0 2.37 2.37 0 0 0-1.72-1.72.75.75 0 0 1 0-1.45 2.37 2.37 0 0 0 1.72-1.72l.043-.117A.75.75 0 0 1 13 10M7 0a1 1 0 0 1 .986.836c.279 1.67.815 2.8 1.596 3.582.781.781 1.912 1.317 3.582 1.596a1 1 0 0 1 0 1.972c-1.67.279-2.8.815-3.582 1.596-.781.781-1.317 1.912-1.596 3.582a1 1 0 0 1-1.972 0c-.279-1.67-.815-2.8-1.596-3.582-.781-.781-1.912-1.317-3.582-1.596a1 1 0 0 1 0-1.972c1.67-.279 2.8-.815 3.582-1.596.781-.781 1.317-1.912 1.596-3.582l.018-.089A1 1 0 0 1 7 0"}))},51011(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M4.5 3A1.5 1.5 0 0 0 3 4.5v1.75a.75.75 0 0 1-1.5 0V4.5a3 3 0 0 1 3-3h1.75a.75.75 0 0 1 0 1.5zM9 2.25a.75.75 0 0 1 .75-.75h1.75a3 3 0 0 1 3 3v1.75a.75.75 0 0 1-1.5 0V4.5A1.5 1.5 0 0 0 11.5 3H9.75A.75.75 0 0 1 9 2.25M2.25 9a.75.75 0 0 1 .75.75v1.75A1.5 1.5 0 0 0 4.5 13h1.75a.75.75 0 0 1 0 1.5H4.5a3 3 0 0 1-3-3V9.75A.75.75 0 0 1 2.25 9m11.5 0a.75.75 0 0 1 .75.75v1.75a3 3 0 0 1-3 3H9.75a.75.75 0 0 1 0-1.5h1.75a1.5 1.5 0 0 0 1.5-1.5V9.75a.75.75 0 0 1 .75-.75",clipRule:"evenodd"}))},12191(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 4.5A1.5 1.5 0 0 1 4.5 3h1.75a.75.75 0 0 0 0-1.5H4.5a3 3 0 0 0-3 3v1.75a.75.75 0 0 0 1.5 0zm6.75-3a.75.75 0 0 0 0 1.5h1.75A1.5 1.5 0 0 1 13 4.5v1.75a.75.75 0 0 0 1.5 0V4.5a3 3 0 0 0-3-3zM3 9.75a.75.75 0 0 0-1.5 0v1.75a3 3 0 0 0 3 3h1.75a.75.75 0 0 0 0-1.5H4.5A1.5 1.5 0 0 1 3 11.5zm11.5 0a.75.75 0 0 0-1.5 0v1.75a1.5 1.5 0 0 1-1.5 1.5H9.75a.75.75 0 0 0 0 1.5h1.75a3 3 0 0 0 3-3zM10 8a2 2 0 1 1-4 0 2 2 0 0 1 4 0m1.5 0a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0",clipRule:"evenodd"}))},93847(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M4.5 3h7A1.5 1.5 0 0 1 13 4.5v7a1.5 1.5 0 0 1-1.5 1.5h-7A1.5 1.5 0 0 1 3 11.5v-7A1.5 1.5 0 0 1 4.5 3m-3 1.5a3 3 0 0 1 3-3h7a3 3 0 0 1 3 3v7a3 3 0 0 1-3 3h-7a3 3 0 0 1-3-3zm4.75.75a1 1 0 1 1-2 0 1 1 0 0 1 2 0m1 0A.75.75 0 0 1 8 4.5h2.75a.75.75 0 0 1 0 1.5H8a.75.75 0 0 1-.75-.75M5.25 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2m1 1.75a1 1 0 1 1-2 0 1 1 0 0 1 2 0M8 7.25a.75.75 0 0 0 0 1.5h2.75a.75.75 0 0 0 0-1.5zm-.75 3.5A.75.75 0 0 1 8 10h2.75a.75.75 0 0 1 0 1.5H8a.75.75 0 0 1-.75-.75",clipRule:"evenodd"}))},97201(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"m9.194 5 .351.873.94.064 3.197.217-2.46 2.055-.722.603.23.914.782 3.108-2.714-1.704L8 10.629l-.798.5-2.714 1.705.782-3.108.23-.914-.723-.603-2.46-2.055 3.198-.217.94-.064.35-.874L8 2.025zm-7.723-.292 3.943-.268L6.886.773C7.29-.231 8.71-.231 9.114.773l1.472 3.667 3.943.268c1.08.073 1.518 1.424.688 2.118L12.185 9.36l.964 3.832c.264 1.05-.886 1.884-1.802 1.31L8 12.4l-3.347 2.101c-.916.575-2.066-.26-1.802-1.309l.964-3.832L.783 6.826c-.83-.694-.391-2.045.688-2.118",clipRule:"evenodd"}))},42344(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",d:"M6.886.773C7.29-.231 8.71-.231 9.114.773l1.472 3.667 3.943.268c1.08.073 1.518 1.424.688 2.118L12.185 9.36l.964 3.832c.264 1.05-.886 1.884-1.802 1.31L8 12.4l-3.347 2.101c-.916.575-2.066-.26-1.802-1.309l.964-3.832L.783 6.826c-.83-.694-.391-2.045.688-2.118l3.943-.268z"}))},76463(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 3a.75.75 0 0 1-.75-.75V.75a.75.75 0 0 1 1.5 0v1.5A.75.75 0 0 1 8 3m0 7.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8m-.75 3.25a.75.75 0 0 0 1.5 0v-1.5a.75.75 0 0 0-1.5 0zM13 8a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 0 1.5h-1.5A.75.75 0 0 1 13 8M.75 7.25a.75.75 0 0 0 0 1.5h1.5a.75.75 0 0 0 0-1.5zm10.786-2.786a.75.75 0 0 1 0-1.06l1.06-1.06a.75.75 0 0 1 1.06 1.06l-1.06 1.06a.75.75 0 0 1-1.06 0m-9.193 8.132a.75.75 0 0 0 1.06 1.06l1.062-1.06a.75.75 0 0 0-1.061-1.06zm9.193-1.06a.75.75 0 0 1 1.06 0l1.06 1.06a.75.75 0 0 1-1.06 1.06l-1.06-1.06a.75.75 0 0 1 0-1.06M3.404 2.343a.75.75 0 0 0-1.06 1.06l1.06 1.061a.75.75 0 1 0 1.06-1.06z",clipRule:"evenodd"}))},79072(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"m12 9-2.94 5.041a1.932 1.932 0 0 1-3.56-1.378l.25-1.163.321-1.5h-2.94a2 2 0 0 1-1.927-2.535l.879-3.162A4 4 0 0 1 6.404 1.4L11.5 2zM6.229 2.89l3.863.455.379 5.3-2.708 4.64a.432.432 0 0 1-.796-.308l.571-2.663.389-1.814H3.13a.5.5 0 0 1-.482-.634l.879-3.162a2.5 2.5 0 0 1 2.7-1.814m7.023 5.663a.75.75 0 1 0 1.496-.106l-.5-7a.75.75 0 0 0-1.496.106z",clipRule:"evenodd"}))},61509(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8.9 14.315a1.38 1.38 0 0 1-2.542-.984L7.07 10H3.13a2 2 0 0 1-1.927-2.535l.879-3.162A4 4 0 0 1 6.404 1.4L11.5 2l.5 7zm4.352-5.762a.75.75 0 1 0 1.496-.106l-.5-7a.75.75 0 0 0-1.496.106z",clipRule:"evenodd"}))},52869(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"m4 7 2.94-5.041a1.932 1.932 0 0 1 3.56 1.378L10.25 4.5 9.93 6h2.94a2 2 0 0 1 1.927 2.535l-.879 3.162A4 4 0 0 1 9.596 14.6L4.5 14zm5.771 6.11-3.863-.455-.379-5.3 2.708-4.64a.432.432 0 0 1 .796.308l-.571 2.663L8.073 7.5h4.796a.5.5 0 0 1 .482.634l-.879 3.162a2.5 2.5 0 0 1-2.7 1.814M2.748 7.447a.75.75 0 1 0-1.496.106l.5 7a.75.75 0 0 0 1.496-.106z",clipRule:"evenodd"}))},87812(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M7.1 1.685a1.38 1.38 0 0 1 2.542.984L8.93 6h3.94a2 2 0 0 1 1.927 2.535l-.879 3.162A4 4 0 0 1 9.596 14.6L4.5 14 4 7zM2.749 7.447a.75.75 0 1 0-1.496.106l.5 7a.75.75 0 0 0 1.496-.106z",clipRule:"evenodd"}))},33844(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"m7.836 6 .76-2.027L9.336 2H5.5a.72.72 0 0 0-.664.45L2.513 8.257a.177.177 0 0 0 .164.243h4.965l-.732 2.013-1.082 2.975a.382.382 0 0 0 .637.392l6.956-7.391A.29.29 0 0 0 13.21 6H7.835m2.727-3 .235-.627A1.386 1.386 0 0 0 9.5.5h-4c-.906 0-1.72.552-2.057 1.393L1.12 7.7A1.677 1.677 0 0 0 2.677 10H5.5l-.545 1.5-.537 1.475a1.882 1.882 0 0 0 3.14 1.933l6.956-7.391A1.79 1.79 0 0 0 13.21 4.5H10z",clipRule:"evenodd"}))},16017(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",d:"m14.61 6.914-7.632 8.08a1.614 1.614 0 0 1-2.69-1.66L5.5 10H2.677A1.677 1.677 0 0 1 1.12 7.7l2.323-5.807A2.22 2.22 0 0 1 5.5.5h4c.968 0 1.637.967 1.298 1.873L10 4.5h3.569a1.431 1.431 0 0 1 1.04 2.414"}))},14204(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M7.134 2.994 2.217 11.5a1 1 0 0 0 .866 1.5h9.834a1 1 0 0 0 .866-1.5L8.866 2.993a1 1 0 0 0-1.732 0m3.03-.75c-.962-1.665-3.366-1.665-4.329 0L.918 10.749c-.963 1.666.24 3.751 2.165 3.751h9.834c1.925 0 3.128-2.085 2.164-3.751zM8 5a.75.75 0 0 1 .75.75v2a.75.75 0 0 1-1.5 0v-2A.75.75 0 0 1 8 5m1 5.75a1 1 0 1 1-2 0 1 1 0 0 1 2 0",clipRule:"evenodd"}))},75561(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.835 2.244c.963-1.665 3.367-1.665 4.33 0l4.916 8.505c.964 1.666-.24 3.751-2.164 3.751H3.083c-1.925 0-3.128-2.085-2.165-3.751zM8 5a.75.75 0 0 1 .75.75v2a.75.75 0 1 1-1.5 0v-2A.75.75 0 0 1 8 5m1 5.75a1 1 0 1 1-2 0 1 1 0 0 1 2 0",clipRule:"evenodd"}))},43168(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96540);let a=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.47 3.47a.75.75 0 0 1 1.06 0L8 6.94l3.47-3.47a.75.75 0 1 1 1.06 1.06L9.06 8l3.47 3.47a.75.75 0 1 1-1.06 1.06L8 9.06l-3.47 3.47a.75.75 0 0 1-1.06-1.06L6.94 8 3.47 4.53a.75.75 0 0 1 0-1.06",clipRule:"evenodd"}))},46442(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var l=i(n(62440)),o=n(79878),s=new Set(["input","option","optgroup","select","button","datalist","textarea"]),c=new Set(["p"]),u=new Set(["thead","tbody"]),d=new Set(["dd","dt"]),h=new Set(["rt","rp"]),p=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",c],["h1",c],["h2",c],["h3",c],["h4",c],["h5",c],["h6",c],["select",s],["input",s],["output",s],["button",s],["datalist",s],["textarea",s],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",d],["dt",d],["address",c],["article",c],["aside",c],["blockquote",c],["details",c],["div",c],["dl",c],["fieldset",c],["figcaption",c],["figure",c],["footer",c],["form",c],["header",c],["hr",c],["main",c],["nav",c],["ol",c],["pre",c],["section",c],["table",c],["ul",c],["rt",h],["rp",h],["tbody",u],["tfoot",u]]),f=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),m=new Set(["math","svg"]),g=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),v=/\s|\//;t.Parser=function(){function e(e,t){var n,r,a,i,o;void 0===t&&(t={}),this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=null!=e?e:{},this.lowerCaseTagNames=null!=(n=t.lowerCaseTags)?n:!t.xmlMode,this.lowerCaseAttributeNames=null!=(r=t.lowerCaseAttributeNames)?r:!t.xmlMode,this.tokenizer=new(null!=(a=t.Tokenizer)?a:l.default)(this.options,this),null==(o=(i=this.cbs).onparserinit)||o.call(i,this)}return e.prototype.ontext=function(e,t){var n,r,a=this.getSlice(e,t);this.endIndex=t-1,null==(r=(n=this.cbs).ontext)||r.call(n,a),this.startIndex=t},e.prototype.ontextentity=function(e){var t,n,r=this.tokenizer.getSectionStart();this.endIndex=r-1,null==(n=(t=this.cbs).ontext)||n.call(t,(0,o.fromCodePoint)(e)),this.startIndex=r},e.prototype.isVoidElement=function(e){return!this.options.xmlMode&&f.has(e)},e.prototype.onopentagname=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);this.lowerCaseTagNames&&(n=n.toLowerCase()),this.emitOpenTag(n)},e.prototype.emitOpenTag=function(e){this.openTagStart=this.startIndex,this.tagname=e;var t,n,r,a,i=!this.options.xmlMode&&p.get(e);if(i)for(;this.stack.length>0&&i.has(this.stack[this.stack.length-1]);){var l=this.stack.pop();null==(n=(t=this.cbs).onclosetag)||n.call(t,l,!0)}!this.isVoidElement(e)&&(this.stack.push(e),m.has(e)?this.foreignContext.push(!0):g.has(e)&&this.foreignContext.push(!1)),null==(a=(r=this.cbs).onopentagname)||a.call(r,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.endOpenTag=function(e){var t,n;this.startIndex=this.openTagStart,this.attribs&&(null==(n=(t=this.cbs).onopentag)||n.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},e.prototype.onopentagend=function(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1},e.prototype.onclosetag=function(e,t){this.endIndex=t;var n,r,a,i,l,o,s=this.getSlice(e,t);if(this.lowerCaseTagNames&&(s=s.toLowerCase()),(m.has(s)||g.has(s))&&this.foreignContext.pop(),this.isVoidElement(s))this.options.xmlMode||"br"!==s||(null==(r=(n=this.cbs).onopentagname)||r.call(n,"br"),null==(i=(a=this.cbs).onopentag)||i.call(a,"br",{},!0),null==(o=(l=this.cbs).onclosetag)||o.call(l,"br",!1));else{var c=this.stack.lastIndexOf(s);if(-1!==c)if(this.cbs.onclosetag)for(var u=this.stack.length-c;u--;)this.cbs.onclosetag(this.stack.pop(),0!==u);else this.stack.length=c;else this.options.xmlMode||"p"!==s||(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1},e.prototype.onselfclosingtag=function(e){this.endIndex=e,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)},e.prototype.closeCurrentTag=function(e){var t,n,r=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===r&&(null==(n=(t=this.cbs).onclosetag)||n.call(t,r,!e),this.stack.pop())},e.prototype.onattribname=function(e,t){this.startIndex=e;var n=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n},e.prototype.onattribdata=function(e,t){this.attribvalue+=this.getSlice(e,t)},e.prototype.onattribentity=function(e){this.attribvalue+=(0,o.fromCodePoint)(e)},e.prototype.onattribend=function(e,t){var n,r;this.endIndex=t,null==(r=(n=this.cbs).onattribute)||r.call(n,this.attribname,this.attribvalue,e===l.QuoteType.Double?'"':e===l.QuoteType.Single?"'":e===l.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},e.prototype.getInstructionName=function(e){var t=e.search(v),n=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n},e.prototype.ondeclaration=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var r=this.getInstructionName(n);this.cbs.onprocessinginstruction("!".concat(r),"!".concat(n))}this.startIndex=t+1},e.prototype.onprocessinginstruction=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var r=this.getInstructionName(n);this.cbs.onprocessinginstruction("?".concat(r),"?".concat(n))}this.startIndex=t+1},e.prototype.oncomment=function(e,t,n){var r,a,i,l;this.endIndex=t,null==(a=(r=this.cbs).oncomment)||a.call(r,this.getSlice(e,t-n)),null==(l=(i=this.cbs).oncommentend)||l.call(i),this.startIndex=t+1},e.prototype.oncdata=function(e,t,n){this.endIndex=t;var r,a,i,l,o,s,c,u,d,h,p=this.getSlice(e,t-n);this.options.xmlMode||this.options.recognizeCDATA?(null==(a=(r=this.cbs).oncdatastart)||a.call(r),null==(l=(i=this.cbs).ontext)||l.call(i,p),null==(s=(o=this.cbs).oncdataend)||s.call(o)):(null==(u=(c=this.cbs).oncomment)||u.call(c,"[CDATA[".concat(p,"]]")),null==(h=(d=this.cbs).oncommentend)||h.call(d)),this.startIndex=t+1},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var n=this.stack.length;n>0;this.cbs.onclosetag(this.stack[--n],!0));}null==(t=(e=this.cbs).onend)||t.call(e)},e.prototype.reset=function(){var e,t,n,r;null==(t=(e=this.cbs).onreset)||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,null==(r=(n=this.cbs).onparserinit)||r.call(n,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.getSlice=function(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var n=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,t-this.bufferOffset);return n},e.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},e.prototype.write=function(e){var t,n;if(this.ended){null==(n=(t=this.cbs).onerror)||n.call(t,Error(".write() after done!"));return}this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++)},e.prototype.end=function(e){var t,n;if(this.ended){null==(n=(t=this.cbs).onerror)||n.call(t,Error(".end() after done!"));return}e&&this.write(e),this.ended=!0,this.tokenizer.end()},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()},e.prototype.parseChunk=function(e){this.write(e)},e.prototype.done=function(e){this.end(e)},e}()},62440(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QuoteType=void 0;var r,a,i,l,o,s,c=n(79878);function u(e){return e===l.Space||e===l.NewLine||e===l.Tab||e===l.FormFeed||e===l.CarriageReturn}function d(e){return e===l.Slash||e===l.Gt||u(e)}function h(e){return e>=l.Zero&&e<=l.Nine}(r=l||(l={}))[r.Tab=9]="Tab",r[r.NewLine=10]="NewLine",r[r.FormFeed=12]="FormFeed",r[r.CarriageReturn=13]="CarriageReturn",r[r.Space=32]="Space",r[r.ExclamationMark=33]="ExclamationMark",r[r.Number=35]="Number",r[r.Amp=38]="Amp",r[r.SingleQuote=39]="SingleQuote",r[r.DoubleQuote=34]="DoubleQuote",r[r.Dash=45]="Dash",r[r.Slash=47]="Slash",r[r.Zero=48]="Zero",r[r.Nine=57]="Nine",r[r.Semi=59]="Semi",r[r.Lt=60]="Lt",r[r.Eq=61]="Eq",r[r.Gt=62]="Gt",r[r.Questionmark=63]="Questionmark",r[r.UpperA=65]="UpperA",r[r.LowerA=97]="LowerA",r[r.UpperF=70]="UpperF",r[r.LowerF=102]="LowerF",r[r.UpperZ=90]="UpperZ",r[r.LowerZ=122]="LowerZ",r[r.LowerX=120]="LowerX",r[r.OpeningSquareBracket=91]="OpeningSquareBracket",(a=o||(o={}))[a.Text=1]="Text",a[a.BeforeTagName=2]="BeforeTagName",a[a.InTagName=3]="InTagName",a[a.InSelfClosingTag=4]="InSelfClosingTag",a[a.BeforeClosingTagName=5]="BeforeClosingTagName",a[a.InClosingTagName=6]="InClosingTagName",a[a.AfterClosingTagName=7]="AfterClosingTagName",a[a.BeforeAttributeName=8]="BeforeAttributeName",a[a.InAttributeName=9]="InAttributeName",a[a.AfterAttributeName=10]="AfterAttributeName",a[a.BeforeAttributeValue=11]="BeforeAttributeValue",a[a.InAttributeValueDq=12]="InAttributeValueDq",a[a.InAttributeValueSq=13]="InAttributeValueSq",a[a.InAttributeValueNq=14]="InAttributeValueNq",a[a.BeforeDeclaration=15]="BeforeDeclaration",a[a.InDeclaration=16]="InDeclaration",a[a.InProcessingInstruction=17]="InProcessingInstruction",a[a.BeforeComment=18]="BeforeComment",a[a.CDATASequence=19]="CDATASequence",a[a.InSpecialComment=20]="InSpecialComment",a[a.InCommentLike=21]="InCommentLike",a[a.BeforeSpecialS=22]="BeforeSpecialS",a[a.SpecialStartSequence=23]="SpecialStartSequence",a[a.InSpecialTag=24]="InSpecialTag",a[a.BeforeEntity=25]="BeforeEntity",a[a.BeforeNumericEntity=26]="BeforeNumericEntity",a[a.InNamedEntity=27]="InNamedEntity",a[a.InNumericEntity=28]="InNumericEntity",a[a.InHexEntity=29]="InHexEntity",(i=s=t.QuoteType||(t.QuoteType={}))[i.NoValue=0]="NoValue",i[i.Unquoted=1]="Unquoted",i[i.Single=2]="Single",i[i.Double=3]="Double";var p={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])};t.default=function(){function e(e,t){var n=e.xmlMode,r=void 0!==n&&n,a=e.decodeEntities;this.cbs=t,this.state=o.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=o.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=r,this.decodeEntities=void 0===a||a,this.entityTrie=r?c.xmlDecodeTree:c.htmlDecodeTree}return e.prototype.reset=function(){this.state=o.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=o.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},e.prototype.write=function(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()},e.prototype.end=function(){this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},e.prototype.getIndex=function(){return this.index},e.prototype.getSectionStart=function(){return this.sectionStart},e.prototype.stateText=function(e){e===l.Lt||!this.decodeEntities&&this.fastForwardTo(l.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=o.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===l.Amp&&(this.state=o.BeforeEntity)},e.prototype.stateSpecialStartSequence=function(e){var t=this.sequenceIndex===this.currentSequence.length;if(t?d(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=o.InTagName,this.stateInTagName(e)},e.prototype.stateInSpecialTag=function(e){if(this.sequenceIndex===this.currentSequence.length){if(e===l.Gt||u(e)){var t=this.index-this.currentSequence.length;if(this.sectionStart<t){var n=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=n}this.isSpecial=!1,this.sectionStart=t+2,this.stateInClosingTagName(e);return}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===p.TitleEnd?this.decodeEntities&&e===l.Amp&&(this.state=o.BeforeEntity):this.fastForwardTo(l.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===l.Lt)},e.prototype.stateCDATASequence=function(e){e===p.Cdata[this.sequenceIndex]?++this.sequenceIndex===p.Cdata.length&&(this.state=o.InCommentLike,this.currentSequence=p.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=o.InDeclaration,this.stateInDeclaration(e))},e.prototype.fastForwardTo=function(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1},e.prototype.stateInCommentLike=function(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===p.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=o.Text):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},e.prototype.isTagStartChar=function(e){return this.xmlMode?!d(e):e>=l.LowerA&&e<=l.LowerZ||e>=l.UpperA&&e<=l.UpperZ},e.prototype.startSpecial=function(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=o.SpecialStartSequence},e.prototype.stateBeforeTagName=function(e){if(e===l.ExclamationMark)this.state=o.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===l.Questionmark)this.state=o.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){var t=32|e;this.sectionStart=this.index,this.xmlMode||t!==p.TitleEnd[2]?this.state=this.xmlMode||t!==p.ScriptEnd[2]?o.InTagName:o.BeforeSpecialS:this.startSpecial(p.TitleEnd,3)}else e===l.Slash?this.state=o.BeforeClosingTagName:(this.state=o.Text,this.stateText(e))},e.prototype.stateInTagName=function(e){d(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=o.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateBeforeClosingTagName=function(e){u(e)||(e===l.Gt?this.state=o.Text:(this.state=this.isTagStartChar(e)?o.InClosingTagName:o.InSpecialComment,this.sectionStart=this.index))},e.prototype.stateInClosingTagName=function(e){(e===l.Gt||u(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=o.AfterClosingTagName,this.stateAfterClosingTagName(e))},e.prototype.stateAfterClosingTagName=function(e){(e===l.Gt||this.fastForwardTo(l.Gt))&&(this.state=o.Text,this.baseState=o.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeAttributeName=function(e){e===l.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=o.InSpecialTag,this.sequenceIndex=0):this.state=o.Text,this.baseState=this.state,this.sectionStart=this.index+1):e===l.Slash?this.state=o.InSelfClosingTag:u(e)||(this.state=o.InAttributeName,this.sectionStart=this.index)},e.prototype.stateInSelfClosingTag=function(e){e===l.Gt?(this.cbs.onselfclosingtag(this.index),this.state=o.Text,this.baseState=o.Text,this.sectionStart=this.index+1,this.isSpecial=!1):u(e)||(this.state=o.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateInAttributeName=function(e){(e===l.Eq||d(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=o.AfterAttributeName,this.stateAfterAttributeName(e))},e.prototype.stateAfterAttributeName=function(e){e===l.Eq?this.state=o.BeforeAttributeValue:e===l.Slash||e===l.Gt?(this.cbs.onattribend(s.NoValue,this.index),this.state=o.BeforeAttributeName,this.stateBeforeAttributeName(e)):u(e)||(this.cbs.onattribend(s.NoValue,this.index),this.state=o.InAttributeName,this.sectionStart=this.index)},e.prototype.stateBeforeAttributeValue=function(e){e===l.DoubleQuote?(this.state=o.InAttributeValueDq,this.sectionStart=this.index+1):e===l.SingleQuote?(this.state=o.InAttributeValueSq,this.sectionStart=this.index+1):u(e)||(this.sectionStart=this.index,this.state=o.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))},e.prototype.handleInAttributeValue=function(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===l.DoubleQuote?s.Double:s.Single,this.index),this.state=o.BeforeAttributeName):this.decodeEntities&&e===l.Amp&&(this.baseState=this.state,this.state=o.BeforeEntity)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,l.DoubleQuote)},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,l.SingleQuote)},e.prototype.stateInAttributeValueNoQuotes=function(e){u(e)||e===l.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(s.Unquoted,this.index),this.state=o.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===l.Amp&&(this.baseState=this.state,this.state=o.BeforeEntity)},e.prototype.stateBeforeDeclaration=function(e){e===l.OpeningSquareBracket?(this.state=o.CDATASequence,this.sequenceIndex=0):this.state=e===l.Dash?o.BeforeComment:o.InDeclaration},e.prototype.stateInDeclaration=function(e){(e===l.Gt||this.fastForwardTo(l.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=o.Text,this.sectionStart=this.index+1)},e.prototype.stateInProcessingInstruction=function(e){(e===l.Gt||this.fastForwardTo(l.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=o.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeComment=function(e){e===l.Dash?(this.state=o.InCommentLike,this.currentSequence=p.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=o.InDeclaration},e.prototype.stateInSpecialComment=function(e){(e===l.Gt||this.fastForwardTo(l.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=o.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeSpecialS=function(e){var t=32|e;t===p.ScriptEnd[3]?this.startSpecial(p.ScriptEnd,4):t===p.StyleEnd[3]?this.startSpecial(p.StyleEnd,4):(this.state=o.InTagName,this.stateInTagName(e))},e.prototype.stateBeforeEntity=function(e){this.entityExcess=1,this.entityResult=0,e===l.Number?this.state=o.BeforeNumericEntity:e===l.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=o.InNamedEntity,this.stateInNamedEntity(e))},e.prototype.stateInNamedEntity=function(e){if(this.entityExcess+=1,this.trieIndex=(0,c.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0){this.emitNamedEntity(),this.index--;return}this.trieCurrent=this.entityTrie[this.trieIndex];var t=this.trieCurrent&c.BinTrieFlags.VALUE_LENGTH;if(t){var n=(t>>14)-1;if(this.allowLegacyEntity()||e===l.Semi){var r=this.index-this.entityExcess+1;r>this.sectionStart&&this.emitPartial(this.sectionStart,r),this.entityResult=this.trieIndex,this.trieIndex+=n,this.entityExcess=0,this.sectionStart=this.index+1,0===n&&this.emitNamedEntity()}else this.trieIndex+=n}},e.prototype.emitNamedEntity=function(){if(this.state=this.baseState,0!==this.entityResult)switch((this.entityTrie[this.entityResult]&c.BinTrieFlags.VALUE_LENGTH)>>14){case 1:this.emitCodePoint(this.entityTrie[this.entityResult]&~c.BinTrieFlags.VALUE_LENGTH);break;case 2:this.emitCodePoint(this.entityTrie[this.entityResult+1]);break;case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}},e.prototype.stateBeforeNumericEntity=function(e){(32|e)===l.LowerX?(this.entityExcess++,this.state=o.InHexEntity):(this.state=o.InNumericEntity,this.stateInNumericEntity(e))},e.prototype.emitNumericEntity=function(e){var t=this.index-this.entityExcess-1;t+2+Number(this.state===o.InHexEntity)!==this.index&&(t>this.sectionStart&&this.emitPartial(this.sectionStart,t),this.sectionStart=this.index+Number(e),this.emitCodePoint((0,c.replaceCodePoint)(this.entityResult))),this.state=this.baseState},e.prototype.stateInNumericEntity=function(e){e===l.Semi?this.emitNumericEntity(!0):h(e)?(this.entityResult=10*this.entityResult+(e-l.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.stateInHexEntity=function(e){if(e===l.Semi)this.emitNumericEntity(!0);else if(h(e))this.entityResult=16*this.entityResult+(e-l.Zero),this.entityExcess++;else e>=l.UpperA&&e<=l.UpperF||e>=l.LowerA&&e<=l.LowerF?(this.entityResult=16*this.entityResult+((32|e)-l.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===o.Text||this.baseState===o.InSpecialTag)},e.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===o.Text||this.state===o.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===o.InAttributeValueDq||this.state===o.InAttributeValueSq||this.state===o.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},e.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},e.prototype.parse=function(){for(;this.shouldContinue();){var e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case o.Text:this.stateText(e);break;case o.SpecialStartSequence:this.stateSpecialStartSequence(e);break;case o.InSpecialTag:this.stateInSpecialTag(e);break;case o.CDATASequence:this.stateCDATASequence(e);break;case o.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(e);break;case o.InAttributeName:this.stateInAttributeName(e);break;case o.InCommentLike:this.stateInCommentLike(e);break;case o.InSpecialComment:this.stateInSpecialComment(e);break;case o.BeforeAttributeName:this.stateBeforeAttributeName(e);break;case o.InTagName:this.stateInTagName(e);break;case o.InClosingTagName:this.stateInClosingTagName(e);break;case o.BeforeTagName:this.stateBeforeTagName(e);break;case o.AfterAttributeName:this.stateAfterAttributeName(e);break;case o.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(e);break;case o.BeforeAttributeValue:this.stateBeforeAttributeValue(e);break;case o.BeforeClosingTagName:this.stateBeforeClosingTagName(e);break;case o.AfterClosingTagName:this.stateAfterClosingTagName(e);break;case o.BeforeSpecialS:this.stateBeforeSpecialS(e);break;case o.InAttributeValueNq:this.stateInAttributeValueNoQuotes(e);break;case o.InSelfClosingTag:this.stateInSelfClosingTag(e);break;case o.InDeclaration:this.stateInDeclaration(e);break;case o.BeforeDeclaration:this.stateBeforeDeclaration(e);break;case o.BeforeComment:this.stateBeforeComment(e);break;case o.InProcessingInstruction:this.stateInProcessingInstruction(e);break;case o.InNamedEntity:this.stateInNamedEntity(e);break;case o.BeforeEntity:this.stateBeforeEntity(e);break;case o.InHexEntity:this.stateInHexEntity(e);break;case o.InNumericEntity:this.stateInNumericEntity(e);break;default:this.stateBeforeNumericEntity(e)}this.index++}this.cleanup()},e.prototype.finish=function(){this.state===o.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},e.prototype.handleTrailingData=function(){var e=this.buffer.length+this.offset;this.state===o.InCommentLike?this.currentSequence===p.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===o.InNumericEntity&&this.allowLegacyEntity()||this.state===o.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===o.InTagName||this.state===o.BeforeAttributeName||this.state===o.BeforeAttributeValue||this.state===o.AfterAttributeName||this.state===o.InAttributeName||this.state===o.InAttributeValueSq||this.state===o.InAttributeValueDq||this.state===o.InAttributeValueNq||this.state===o.InClosingTagName||this.cbs.ontext(this.sectionStart,e)},e.prototype.emitPartial=function(e,t){this.baseState!==o.Text&&this.baseState!==o.InSpecialTag?this.cbs.onattribdata(e,t):this.cbs.ontext(e,t)},e.prototype.emitCodePoint=function(e){this.baseState!==o.Text&&this.baseState!==o.InSpecialTag?this.cbs.onattribentity(e):this.cbs.ontextentity(e)},e}()},30453(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DomUtils=t.parseFeed=t.getFeed=t.ElementType=t.Tokenizer=t.createDomStream=t.parseDOM=t.parseDocument=t.DefaultHandler=t.DomHandler=t.Parser=void 0;var o=n(46442),s=n(46442);Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return s.Parser}});var c=n(41141),u=n(41141);function d(e,t){var n=new c.DomHandler(void 0,t);return new o.Parser(n,t).end(e),n.root}function h(e,t){return d(e,t).children}Object.defineProperty(t,"DomHandler",{enumerable:!0,get:function(){return u.DomHandler}}),Object.defineProperty(t,"DefaultHandler",{enumerable:!0,get:function(){return u.DomHandler}}),t.parseDocument=d,t.parseDOM=h,t.createDomStream=function(e,t,n){var r=new c.DomHandler(e,t,n);return new o.Parser(r,t)};var p=n(62440);Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return l(p).default}}),t.ElementType=i(n(45413));var f=n(98888),m=n(98888);Object.defineProperty(t,"getFeed",{enumerable:!0,get:function(){return m.getFeed}});var g={xmlMode:!0};t.parseFeed=function(e,t){return void 0===t&&(t=g),(0,f.getFeed)(h(e,t))},t.DomUtils=i(n(98888))},93646(e,t,n){let r=n(30453),a=n(52834),{isPlainObject:i}=n(78682),l=n(14744),o=n(29466),{parse:s}=n(12895),c=["img","audio","video","picture","svg","object","map","iframe","embed"],u=["script","style"];function d(e,t){e&&Object.keys(e).forEach(function(n){t(e[n],n)})}function h(e,t){return({}).hasOwnProperty.call(e,t)}function p(e,t){let n=[];return d(e,function(e){t(e)&&n.push(e)}),n}e.exports=m;let f=/^[^\0\t\n\f\r /<=>]+$/;function m(e,t,n){let v,b,w,y,x,E,C,A,k;if(null==e)return"";"number"==typeof e&&(e=e.toString());let S="",_="";function M(e,t){let n=this;this.tag=e,this.attribs=t||{},this.tagPosition=S.length,this.text="",this.mediaChildren=[],this.updateParentNodeText=function(){if(x.length){let e=x[x.length-1];e.text+=n.text}},this.updateParentNodeMediaChildren=function(){x.length&&c.includes(this.tag)&&x[x.length-1].mediaChildren.push(this.tag)}}(t=Object.assign({},m.defaults,t)).parser=Object.assign({},g,t.parser);let j=function(e){return!1===t.allowedTags||(t.allowedTags||[]).indexOf(e)>-1};u.forEach(function(e){j(e)&&!t.allowVulnerableTags&&console.warn(`
798
798
 
799
799
  ⚠️ Your \`allowedTags\` option includes, \`${e}\`, which is inherently
800
800
  vulnerable to XSS attacks. Please remove it from \`allowedTags\`.
@@ -859,4 +859,4 @@ ${S.current.stack}
859
859
  -ms-user-select: none;
860
860
  overflow-anchor: none;
861
861
  `}}],"always"),resting:nY(i,"resting"),dragging:nY(i,"dragging"),dropAnimating:nY(i,"dropAnimating"),userCancel:nY(i,"userCancel")}},[S]),i=(0,E.useRef)(null),l=(0,E.useRef)(null),o=eK(e8(e=>{let t=l.current;t||eP(),t.textContent=e}),[]),nJ(()=>{(i.current||l.current)&&eP();let e=nQ(L),t=nQ(L);return i.current=e,l.current=t,e.setAttribute(`${nU}-always`,S),t.setAttribute(`${nU}-dynamic`,S),nX().appendChild(e),nX().appendChild(t),s(a.always),o(a.resting),()=>{let e=e=>{let t=e.current;t||eP(),nX().removeChild(t),e.current=null};e(i),e(l)}},[L,s=eK(e=>{let t=i.current;t||eP(),t.textContent=e},[]),o,a.always,a.resting,S]),c=eK(()=>o(a.dragging),[o,a.dragging]),u=eK(e=>{"DROP"===e?o(a.dropAnimating):o(a.userCancel)},[o,a.dropAnimating,a.userCancel]),eW(()=>({dragging:c,dropping:u,resting:d}),[c,u,d=eK(()=>{l.current&&o(a.resting)},[o,a.resting])])),V=eK(e=>{rw(N).dispatch(e)},[]),q=eW(()=>j({publishWhileDragging:t1,updateDroppableScroll:t2,updateDroppableIsEnabled:t7,updateDroppableIsCombineEnabled:t3,collectionStarting:t5},V),[V]),F=(h=eW(n7,[]),(0,E.useEffect)(()=>function(){h.clean()},[h]),h),$=eW(()=>{let e,t,n;return e=null,t=function({registry:e,callbacks:t}){let n=nk(),r=null,a=()=>{r||(t.collectionStarting(),r=requestAnimationFrame(()=>{r=null,tK();let{additions:a,removals:i,modified:l}=n,o=Object.keys(a).map(t=>e.draggable.getById(t).getDimension(eZ)).sort((e,t)=>e.descriptor.index-t.descriptor.index),s=Object.keys(l).map(t=>{let n=e.droppable.getById(t).callbacks.getScrollWhileDragging();return{droppableId:t,scroll:n}}),c={additions:o,removals:Object.keys(i),modified:s};n=nk(),tZ(),t.publish(c)}))};return{add:e=>{let t=e.descriptor.id;n.additions[t]=e,n.modified[e.descriptor.droppableId]=!0,n.removals[t]&&delete n.removals[t],a()},remove:e=>{let t=e.descriptor;n.removals[t.id]=!0,n.modified[t.droppableId]=!0,n.additions[t.id]&&delete n.additions[t.id],a()},stop:()=>{r&&(cancelAnimationFrame(r),r=null,n=nk())}}}({callbacks:{publish:q.publishWhileDragging,collectionStarting:q.collectionStarting},registry:F}),n=n=>{e||eP();let r=e.critical.draggable;"ADDITION"===n.type&&nj(F,r,n.value)&&t.add(n.value),"REMOVAL"===n.type&&nj(F,r,n.value)&&t.remove(n.value)},{updateDroppableIsEnabled:(t,n)=>{F.droppable.exists(t)||eP(),e&&q.updateDroppableIsEnabled({id:t,isEnabled:n})},updateDroppableIsCombineEnabled:(t,n)=>{e&&(F.droppable.exists(t)||eP(),q.updateDroppableIsCombineEnabled({id:t,isCombineEnabled:n}))},scrollDroppable:(t,n)=>{e&&F.droppable.getById(t).callbacks.scroll(n)},updateDroppableScroll:(t,n)=>{e&&(F.droppable.exists(t)||eP(),q.updateDroppableScroll({id:t,newScroll:n}))},startPublishing:t=>{e&&eP();let r=F.draggable.getById(t.draggableId),a=F.droppable.getById(r.descriptor.droppableId),i={draggable:r.descriptor,droppable:a.descriptor};return e={critical:i,unsubscribe:F.subscribe(n)},(({critical:e,scrollOptions:t,registry:n})=>{let r,a,i,l,o,s;tK();let c=(r=nv(),a=nM(),i=r.y,l=r.x,s=(o=n_()).clientWidth,{frame:ex({top:i,left:l,right:l+s,bottom:i+o.clientHeight}),scroll:{initial:r,current:r,max:a,diff:{value:eZ,displacement:eZ}}}),u=c.scroll.current,d=e.droppable,h=n.droppable.getAllByType(d.type).map(e=>e.callbacks.getDimensionAndWatchScroll(u,t)),p={draggables:te(n.draggable.getAllByType(e.draggable.type).map(e=>e.getDimension(u))),droppables:e9(h)};return tZ(),{dimensions:p,critical:e,viewport:c}})({critical:i,registry:F,scrollOptions:t.scrollOptions})},stopPublishing:()=>{if(!e)return;t.stop();let n=e.critical.droppable;F.droppable.getAllByType(n.type).forEach(e=>e.callbacks.dragStopped()),e.unsubscribe(),e=null}}},[F,q]),U=eW(()=>(({scrollDroppable:e,scrollWindow:t,move:n,getAutoScrollerOptions:r})=>{let a=(({scrollWindow:e,scrollDroppable:t,getAutoScrollerOptions:n=()=>nT})=>{let r=eR(e),a=eR(t),i=null,l=e=>{i||eP();let{shouldUseTimeDampening:t,dragStartTime:l}=i;n$({state:e,scrollWindow:r,scrollDroppable:a,dragStartTime:l,shouldUseTimeDampening:t,getAutoScrollerOptions:n})};return{start:e=>{tK(),i&&eP();let t=Date.now(),r=!1,a=()=>{r=!0};n$({state:e,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:a,scrollDroppable:a,getAutoScrollerOptions:n}),i={dragStartTime:t,shouldUseTimeDampening:r},tZ(),r&&l(e)},stop:()=>{i&&(r.cancel(),a.cancel(),i=null)},scroll:l}})({scrollWindow:t,scrollDroppable:e,getAutoScrollerOptions:r}),i=(({move:e,scrollDroppable:t,scrollWindow:n})=>r=>{let a=r.scrollJumpRequest;if(!a)return;let i=tP(r.impact);i||eP();let l=((e,n)=>{let r;if(!nF(e,n))return n;let a=(r=e.frame)&&nF(e,n)?nH({current:r.scroll.current,max:r.scroll.max,change:n}):null;if(!a)return t(e.descriptor.id,n),null;let i=eJ(n,a);return t(e.descriptor.id,i),eJ(n,i)})(r.dimensions.droppables[i],a);if(!l)return;let o=r.viewport,s=((e,t,r)=>{if(!e||!nq(t,r))return r;let a=((e,t)=>{if(!nq(e,t))return null;let n=e.scroll.max;return nH({current:e.scroll.current,max:n,change:t})})(t,r);if(!a)return n(r),null;let i=eJ(r,a);return n(i),eJ(r,i)})(r.isWindowScrollAllowed,o,l);s&&e({client:eY(r.current.client.selection,s)})})({move:n,scrollWindow:t,scrollDroppable:e});return{scroll:e=>{r().disabled||"DRAGGING"!==e.phase||("FLUID"===e.movementMode?a.scroll(e):e.scrollJumpRequest&&i(e))},start:a.start,stop:a.stop}})({scrollWindow:nR,scrollDroppable:$.scrollDroppable,getAutoScrollerOptions:P,...j({move:t6},V)}),[$.scrollDroppable,V,P]),G=(p=(0,E.useRef)({}),f=(0,E.useRef)(null),m=(0,E.useRef)(null),g=(0,E.useRef)(!1),v=eK(function(e,t){let n={id:e,focus:t};return p.current[e]=n,function(){let t=p.current;t[e]!==n&&delete t[e]}},[]),b=eK(function(e){let t=n2(S,e);t&&t!==document.activeElement&&t.focus()},[S]),w=eK(function(e,t){f.current===e&&(f.current=t)},[]),y=eK(function(){m.current||g.current&&(m.current=requestAnimationFrame(()=>{m.current=null;let e=f.current;e&&b(e)}))},[b]),x=eK(function(e){f.current=null;let t=document.activeElement;t&&t.getAttribute(nG.draggableId)===e&&(f.current=e)},[]),nJ(()=>(g.current=!0,function(){g.current=!1;let e=m.current;e&&cancelAnimationFrame(e)}),[]),eW(()=>({register:v,tryRecordFocus:x,tryRestoreFocusRecorded:y,tryShiftRecord:w}),[v,x,y,w])),W=eW(()=>(({dimensionMarshal:e,focusMarshal:t,styleMarshal:n,getResponders:r,announce:a,autoScroller:i})=>{let l,o,s,c,u,d;return function e(t,n,r){if("function"!=typeof t)throw Error(A(2));if("function"==typeof n&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw Error(A(0));if("function"==typeof n&&void 0===r&&(r=n,n=void 0),void 0!==r){if("function"!=typeof r)throw Error(A(1));return r(e)(t,n)}let a=t,i=n,l=new Map,o=l,s=0,c=!1;function u(){o===l&&(o=new Map,l.forEach((e,t)=>{o.set(t,e)}))}function d(){if(c)throw Error(A(3));return i}function h(e){if("function"!=typeof e)throw Error(A(4));if(c)throw Error(A(5));let t=!0;u();let n=s++;return o.set(n,e),function(){if(t){if(c)throw Error(A(6));t=!1,u(),o.delete(n),l=null}}}function p(e){if(!function(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}(e))throw Error(A(7));if(void 0===e.type)throw Error(A(8));if("string"!=typeof e.type)throw Error(A(17));if(c)throw Error(A(9));try{c=!0,i=a(i,e)}finally{c=!1}return(l=o).forEach(e=>{e()}),e}return p({type:_.INIT}),{dispatch:p,subscribe:h,getState:d,replaceReducer:function(e){if("function"!=typeof e)throw Error(A(10));a=e,p({type:_.REPLACE})},[k]:function(){return{subscribe(e){if("object"!=typeof e||null===e)throw Error(A(11));function t(){e.next&&e.next(d())}return t(),{unsubscribe:h(t)}},[k](){return this}}}}}(tQ,O(function(...e){return t=>(n,r)=>{let a=t(n,r),i=()=>{throw Error(A(15))},l={getState:a.getState,dispatch:(e,...t)=>i(e,...t)};return i=O(...e.map(e=>e(l)))(a.dispatch),{...a,dispatch:i}}}(()=>e=>t=>{t0(t,"INITIAL_PUBLISH")&&n.dragging(),t0(t,"DROP_ANIMATE")&&n.dropping(t.payload.completed.result.reason),(t0(t,"FLUSH")||t0(t,"DROP_COMPLETE"))&&n.resting(),e(t)},()=>t=>n=>{(t0(n,"DROP_COMPLETE")||t0(n,"FLUSH")||t0(n,"DROP_ANIMATE"))&&e.stopPublishing(),t(n)},({getState:t,dispatch:n})=>r=>a=>{if(!t0(a,"LIFT"))return void r(a);let{id:i,clientSelection:l,movementMode:o}=a.payload,s=t();"DROP_ANIMATING"===s.phase&&n(nn({completed:s.completed})),"IDLE"!==t().phase&&eP(),n(nt()),n({type:"BEFORE_INITIAL_CAPTURE",payload:{draggableId:i,movementMode:o}});let{critical:c,dimensions:u,viewport:d}=e.startPublishing({draggableId:i,scrollOptions:{shouldPublishImmediately:"SNAP"===o}});n({type:"INITIAL_PUBLISH",payload:{critical:c,dimensions:u,clientSelection:l,movementMode:o,viewport:d}})},ng,nE,nC,nA,e=>t=>n=>{if(t0(n,"DROP_COMPLETE")||t0(n,"DROP_ANIMATE")||t0(n,"FLUSH")){i.stop(),t(n);return}if(t0(n,"INITIAL_PUBLISH")){t(n);let r=e.getState();"DRAGGING"!==r.phase&&eP(),i.start(r);return}t(n),i.scroll(e.getState())},nb,(l=!1,()=>e=>n=>{if(t0(n,"INITIAL_PUBLISH")){l=!0,t.tryRecordFocus(n.payload.critical.draggable.id),e(n),t.tryRestoreFocusRecorded();return}if(e(n),l){if(t0(n,"FLUSH")){l=!1,t.tryRestoreFocusRecorded();return}if(t0(n,"DROP_COMPLETE")){l=!1;let e=n.payload.completed.result;e.combine&&t.tryShiftRecord(e.draggableId,e.combine.draggableId),t.tryRestoreFocusRecorded()}}}),(o=[],s={add:e=>{let t=setTimeout(()=>(e=>{let t=o.findIndex(t=>t.timerId===e);-1===t&&eP();let[n]=o.splice(t,1);n.callback()})(t));o.push({timerId:t,callback:e})},flush:()=>{if(!o.length)return;let e=[...o];o.length=0,e.forEach(e=>{clearTimeout(e.timerId),e.callback()})}},c=null,d={beforeCapture:(e,t)=>{c&&eP(),nw("onBeforeCapture",()=>{let n=r().onBeforeCapture;n&&n({draggableId:e,mode:t})})},beforeStart:(e,t)=>{c&&eP(),nw("onBeforeDragStart",()=>{let n=r().onBeforeDragStart;n&&n(ny(e,t))})},start:(e,t)=>{c&&eP();let n=ny(e,t);c={mode:t,lastCritical:e,lastLocation:n.source,lastCombine:null},s.add(()=>{nw("onDragStart",()=>nx(r().onDragStart,n,a,eF))})},update:(e,t)=>{var n,i;let l=ta(t),o=ti(t);c||eP();let u=!((e,t)=>{if(e===t)return!0;let n=e.draggable.id===t.draggable.id&&e.draggable.droppableId===t.draggable.droppableId&&e.draggable.type===t.draggable.type&&e.draggable.index===t.draggable.index,r=e.droppable.id===t.droppable.id&&e.droppable.type===t.droppable.type;return n&&r})(e,c.lastCritical);u&&(c.lastCritical=e);let d=(n=c.lastLocation,(null!=n||null!=l)&&(null==n||null==l||n.droppableId!==l.droppableId||n.index!==l.index));d&&(c.lastLocation=l);let h=(i=c.lastCombine,(null!=i||null!=o)&&(null==i||null==o||i.draggableId!==o.draggableId||i.droppableId!==o.droppableId));if(h&&(c.lastCombine=o),!u&&!d&&!h)return;let p={...ny(e,c.mode),combine:o,destination:l};s.add(()=>{nw("onDragUpdate",()=>nx(r().onDragUpdate,p,a,e$))})},flush:()=>{c||eP(),s.flush()},drop:u=e=>{c||eP(),c=null,nw("onDragEnd",()=>nx(r().onDragEnd,e,a,eU))},abort:()=>{c&&u({...ny(c.lastCritical,c.mode),combine:null,destination:null,reason:"CANCEL"})}},e=>t=>n=>{if(t0(n,"BEFORE_INITIAL_CAPTURE"))return void d.beforeCapture(n.payload.draggableId,n.payload.movementMode);if(t0(n,"INITIAL_PUBLISH")){let e=n.payload.critical;d.beforeStart(e,n.payload.movementMode),t(n),d.start(e,n.payload.movementMode);return}if(t0(n,"DROP_COMPLETE")){let e=n.payload.completed.result;d.flush(),t(n),d.drop(e);return}if(t(n),t0(n,"FLUSH"))return void d.abort();let r=e.getState();"DRAGGING"===r.phase&&d.update(r.critical,r.impact)}))))})({announce:B,autoScroller:U,dimensionMarshal:$,focusMarshal:G,getResponders:D,styleMarshal:H}),[B,U,$,G,D,H]);N.current=W;let K=eK(()=>{let e=rw(N);"IDLE"!==e.getState().phase&&e.dispatch(nt())},[]),Z=eK(()=>{let e=rw(N).getState();return"DROP_ANIMATING"===e.phase||"IDLE"!==e.phase&&e.isDragging},[]);M(eW(()=>({isDragging:Z,tryAbort:K}),[Z,K]));let Y=eK(e=>nO(rw(N).getState(),e),[]),J=eK(()=>tB(rw(N).getState()),[]),X=eW(()=>({marshal:$,focus:G,contextId:S,canLift:Y,isMovementAllowed:J,dragHandleUsageInstructionsId:I,registry:F}),[S,$,I,G,Y,J,F]);return!function({contextId:e,store:t,registry:n,customSensors:r,enableDefaultSensors:a}){let i=[...a?rb:[],...r||[]],l=(0,E.useState)(()=>(function(){let e=null;function t(){e||eP(),e=null}return{isClaimed:function(){return!!e},isActive:function(t){return t===e},claim:function(t){e&&eP();let n={abandon:t};return e=n,n},release:t,tryAbandon:function(){e&&(e.abandon(),t())}}})())[0],o=eK(function(e,t){ri(e)&&!ri(t)&&l.tryAbandon()},[l]);nJ(function(){let e=t.getState();return t.subscribe(()=>{let n=t.getState();o(e,n),e=n})},[l,t,o]),nJ(()=>l.tryAbandon,[l.tryAbandon]);let s=eK(e=>rv({lockAPI:l,registry:n,store:t,draggableId:e}),[l,n,t]),c=eK((r,a,i)=>(function({lockAPI:e,contextId:t,store:n,registry:r,draggableId:a,forceSensorStop:i,sourceEvent:l}){var o;let s,c;if(!rv({lockAPI:e,store:n,registry:r,draggableId:a}))return null;let u=r.draggable.getById(a),d=(o=u.descriptor.id,(s=n0(document,`[${nW.contextId}="${t}"]`).find(e=>e.getAttribute(nW.id)===o))&&n5(s)?s:null);if(!d||l&&!u.options.canDragInteractiveElements&&n5(c=l.target)&&function e(t,n){if(null==n)return!1;if(rp.includes(n.tagName.toLowerCase()))return!0;let r=n.getAttribute("contenteditable");return"true"===r||""===r||n!==t&&e(t,n.parentElement)}(d,c))return null;let h=e.claim(i||eN),p="PRE_DRAG";function f(){return u.options.shouldRespectForcePress}function m(){return e.isActive(h)}let g=(function(e,t){rg({expected:e,phase:p,isLockActive:m,shouldWarn:!0})&&n.dispatch(t())}).bind(null,"DRAGGING");function v(t){function r(){e.release(),p="COMPLETED"}function a(e,i={shouldBlockNextClick:!1}){t.cleanup(),i.shouldBlockNextClick&&setTimeout(ez(window,[{eventName:"click",fn:rm,options:{once:!0,passive:!1,capture:!0}}])),r(),n.dispatch(nr({reason:e}))}return"PRE_DRAG"!==p&&(r(),eP()),n.dispatch({type:"LIFT",payload:t.liftActionArgs}),p="DRAGGING",{isActive:()=>rg({expected:"DRAGGING",phase:p,isLockActive:m,shouldWarn:!1}),shouldRespectForcePress:f,drop:e=>a("DROP",e),cancel:e=>a("CANCEL",e),...t.actions}}return{isActive:()=>rg({expected:"PRE_DRAG",phase:p,isLockActive:m,shouldWarn:!1}),shouldRespectForcePress:f,fluidLift:function(e){let t=eR(e=>{g(()=>t6({client:e}))});return{...v({liftActionArgs:{id:a,clientSelection:e,movementMode:"FLUID"},cleanup:()=>t.cancel(),actions:{move:t}}),move:t}},snapLift:function(){return v({liftActionArgs:{id:a,clientSelection:ex(d.getBoundingClientRect()).center,movementMode:"SNAP"},cleanup:eN,actions:{moveUp:()=>g(t4),moveRight:()=>g(t9),moveDown:()=>g(t8),moveLeft:()=>g(ne)}})},abort:function(){rg({expected:"PRE_DRAG",phase:p,isLockActive:m,shouldWarn:!0})&&e.release()}}})({lockAPI:l,registry:n,contextId:e,store:t,draggableId:r,forceSensorStop:a||null,sourceEvent:i&&i.sourceEvent?i.sourceEvent:null}),[e,l,n,t]),u=eK(t=>{let n;return(n=function(e,t){let n=t.target;if(!(n instanceof n1(n).Element))return null;let r=`[${nG.contextId}="${e}"]`,a=n.closest?n.closest(r):function e(t,n){return null==t?null:t[rf](n)?t:e(t.parentElement,n)}(n,r);return a&&n5(a)?a:null}(e,t))?n.getAttribute(nG.draggableId):null},[e]),d=eK(e=>{let t=n.draggable.findById(e);return t?t.options:null},[n.draggable]),h=eK(function(){l.isClaimed()&&(l.tryAbandon(),"IDLE"!==t.getState().phase&&t.dispatch(nt()))},[l,t]),p=eK(()=>l.isClaimed(),[l]),f=eW(()=>({canGetLock:s,tryGetLock:c,findClosestDraggableId:u,findOptionsForDraggable:d,tryReleaseLock:h,isLockClaimed:p}),[s,c,u,d,h,p]);for(let e=0;e<i.length;e++)i[e](f)}({contextId:S,store:W,registry:F,customSensors:R||null,enableDefaultSensors:!1!==e.enableDefaultSensors}),(0,E.useEffect)(()=>K,[K]),E.createElement(re.Provider,{value:X},E.createElement(ey,{context:n3,store:W},e.children))}function rx(e){let t=E.useId(),n=e.dragHandleUsageInstructions||eI;return E.createElement(eB,null,r=>E.createElement(ry,{nonce:e.nonce,contextId:t,setCallbacks:r,dragHandleUsageInstructions:n,enableDefaultSensors:e.enableDefaultSensors,sensors:e.sensors,onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragUpdate:e.onDragUpdate,onDragEnd:e.onDragEnd,autoScrollerOptions:e.autoScrollerOptions},e.children))}var rE=E.createContext(null);function rC(e){e&&n5(e)||eP()}function rA(e){let t=(0,E.useContext)(e);return t||eP(),t}function rk(e){e.preventDefault()}var rS=(e,t)=>e===t,r_=e=>{let{combine:t,destination:n}=e;return n?n.droppableId:t?t.droppableId:null};function rM(e=null){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}let rj={mapped:{type:"SECONDARY",offset:eZ,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:rM(null)}},rO=ew(()=>{let e,t,n,r,a,i,l,o,s=(e=e8((e,t)=>({x:e,y:t})),t=e8((e,t,n=null,r=null,a=null)=>({isDragging:!0,isClone:t,isDropAnimating:!!a,dropAnimation:a,mode:e,draggingOver:n,combineWith:r,combineTargetFor:null})),n=e8((e,n,r,a,i=null,l=null,o=null)=>({mapped:{type:"DRAGGING",dropping:null,draggingOver:i,combineWith:l,mode:n,offset:e,dimension:r,forceShouldAnimate:o,snapshot:t(n,a,i,l,null)}})),(r,a)=>{if(ri(r)){let t;if(r.critical.draggable.id!==a.draggableId)return null;let i=r.current.client.offset,l=r.dimensions.draggables[a.draggableId],o=tP(r.impact),s=(t=r.impact).at&&"COMBINE"===t.at.type?t.at.combine.draggableId:null,c=r.forceShouldAnimate;return n(e(i.x,i.y),r.movementMode,l,a.isClone,o,s,c)}if("DROP_ANIMATING"===r.phase){let e=r.completed;if(e.result.draggableId!==a.draggableId)return null;let n=a.isClone,i=r.dimensions.draggables[a.draggableId],l=e.result,o=l.mode,s=r_(l),c=l.combine?l.combine.draggableId:null,u={duration:r.dropDuration,curve:ni,moveTo:r.newHomeClientOffset,opacity:c?nl:null,scale:c?ns:null};return{mapped:{type:"DRAGGING",offset:r.newHomeClientOffset,dimension:i,dropping:u,draggingOver:s,combineWith:c,mode:o,forceShouldAnimate:null,snapshot:t(o,n,s,c,u)}}}return null}),c=(r=e8((e,t)=>({x:e,y:t})),a=e8(rM),i=e8((e,t=null,n)=>({mapped:{type:"SECONDARY",offset:e,combineTargetFor:t,shouldAnimateDisplacement:n,snapshot:a(t)}})),l=e=>e?i(eZ,e,!0):null,o=(e,t,n,a)=>{let o=n.displaced.visible[e],s=!!(a.inVirtualList&&a.effected[e]),c=ti(n),u=c&&c.draggableId===e?t:null;if(!o){if(!s)return l(u);if(n.displaced.invisible[e])return null;let t=eQ(a.displacedBy.point);return i(r(t.x,t.y),u,!0)}if(s)return l(u);let d=n.displacedBy.point;return i(r(d.x,d.y),u,o.shouldAnimate)},(e,t)=>{if(ri(e))return e.critical.draggable.id===t.draggableId?null:o(t.draggableId,e.critical.draggable.id,e.impact,e.afterCritical);if("DROP_ANIMATING"===e.phase){let n=e.completed;return n.result.draggableId===t.draggableId?null:o(t.draggableId,n.result.draggableId,n.impact,n.afterCritical)}return null});return(e,t)=>s(e,t)||c(e,t)||rj},{dropAnimationFinished:na},null,{context:n3,areStatePropsEqual:rS})(e=>{let t=(0,E.useRef)(null),n=eK((e=null)=>{t.current=e},[]),r=eK(()=>t.current,[]),{contextId:a,dragHandleUsageInstructionsId:i,registry:l}=rA(re),{type:o,droppableId:s}=rA(rE),c=eW(()=>({id:e.draggableId,index:e.index,type:o,droppableId:s}),[e.draggableId,e.index,o,s]),{children:u,draggableId:d,isEnabled:h,shouldRespectForcePress:p,canDragInteractiveElements:f,isClone:m,mapped:g,dropAnimationFinished:v}=e;rr(()=>{let t=e.draggableId;t||eP(!1),"string"!=typeof t&&eP(!1),Number.isInteger(e.index)||eP(!1),"DRAGGING"!==e.mapped.type&&(rC(r()),e.isEnabled&&(n2(a,t)||eP(!1)))}),m||function(e){let t=n9("draggable"),{descriptor:n,registry:r,getDraggableRef:a,canDragInteractiveElements:i,shouldRespectForcePress:l,isEnabled:o}=e,s=eW(()=>({canDragInteractiveElements:i,shouldRespectForcePress:l,isEnabled:o}),[i,o,l]),c=eK(e=>{let t=a();return t||eP(),function(e,t,n=eZ){let r=window.getComputedStyle(t),a=ej(t.getBoundingClientRect(),r),i=eM(a,n),l={client:a,tagName:t.tagName.toLowerCase(),display:r.display};return{descriptor:e,placeholder:l,displaceBy:{x:a.marginBox.width,y:a.marginBox.height},client:a,page:i}}(n,t,e)},[n,a]),u=eW(()=>({uniqueId:t,descriptor:n,options:s,getDimension:c}),[n,c,s,t]),d=(0,E.useRef)(u),h=(0,E.useRef)(!0);nJ(()=>(r.draggable.register(d.current),()=>r.draggable.unregister(d.current)),[r.draggable]),nJ(()=>{if(h.current){h.current=!1;return}let e=d.current;d.current=u,r.draggable.update(u,e)},[u,r.draggable])}(eW(()=>({descriptor:c,registry:l,getDraggableRef:r,canDragInteractiveElements:f,shouldRespectForcePress:p,isEnabled:h}),[c,l,r,f,p,h]));let b=eW(()=>h?{tabIndex:0,role:"button","aria-describedby":i,"data-rfd-drag-handle-draggable-id":d,"data-rfd-drag-handle-context-id":a,draggable:!1,onDragStart:rk}:null,[a,i,d,h]),w=eK(e=>{"DRAGGING"===g.type&&g.dropping&&"transform"===e.propertyName&&(0,C.flushSync)(v)},[v,g]),y=eW(()=>{let e="DRAGGING"===g.type?function(e){let t=e.dimension.client,{offset:n,combineWith:r,dropping:a}=e,i=!!r,l=null!=e.forceShouldAnimate?e.forceShouldAnimate:"SNAP"===e.mode,o=!!a,s=o?((e,t)=>{let n=nh(e);if(n)return t?`${n} scale(${ns})`:n})(n,i):nh(n);return{position:"fixed",top:t.marginBox.top,left:t.marginBox.left,boxSizing:"border-box",width:t.borderBox.width,height:t.borderBox.height,transition:a?nd.drop(a.duration):l?nd.snap:nd.fluid,transform:s,opacity:((e,t)=>{if(e)return t?nl:no})(i,o),zIndex:o?4500:5e3,pointerEvents:"none"}}(g):{transform:nh(g.offset),transition:g.shouldAnimateDisplacement?void 0:"none"};return{innerRef:n,draggableProps:{"data-rfd-draggable-context-id":a,"data-rfd-draggable-id":d,style:e,onTransitionEnd:"DRAGGING"===g.type&&g.dropping?w:void 0},dragHandleProps:b}},[a,b,d,g,w,n]),x=eW(()=>({draggableId:c.id,type:c.type,source:{index:c.index,droppableId:c.droppableId}}),[c.droppableId,c.id,c.index,c.type]);return E.createElement(E.Fragment,null,u(y,g.snapshot,x))});function rR(e){return rA(rE).isUsingCloneFor!==e.draggableId||e.isClone?E.createElement(rO,e):null}function rL(e){let t="boolean"!=typeof e.isDragDisabled||!e.isDragDisabled,n=!!e.disableInteractiveElementBlocking,r=!!e.shouldRespectForcePress;return E.createElement(rR,(0,eL.A)({},e,{isClone:!1,isEnabled:t,canDragInteractiveElements:n,shouldRespectForcePress:r}))}let rT=e=>t=>e===t,rN=rT("scroll"),rz=rT("auto");rT("visible");let rD=(e,t)=>t(e.overflowX)||t(e.overflowY),rP=e=>{let t,n;return null==e||e===document.body||e===document.documentElement?null:rD(n={overflowX:(t=window.getComputedStyle(e)).overflowX,overflowY:t.overflowY},rN)||rD(n,rz)?e:rP(e.parentElement)};var rB=e=>({x:e.scrollLeft,y:e.scrollTop});let rI=e=>!!e&&("fixed"===window.getComputedStyle(e).position||rI(e.parentElement)),rH={passive:!1},rV={passive:!0};var rq=e=>e.shouldPublishImmediately?rH:rV;let rF=e=>e&&e.env.closestScrollable||null;function r$(){}let rU={width:0,height:0,margin:{top:0,right:0,bottom:0,left:0}};var rG=E.memo(e=>{let t=(0,E.useRef)(null),n=eK(()=>{t.current&&(clearTimeout(t.current),t.current=null)},[]),{animate:r,onTransitionEnd:a,onClose:i,contextId:l}=e,[o,s]=(0,E.useState)("open"===e.animate);(0,E.useEffect)(()=>o?"open"!==r?(n(),s(!1),r$):t.current?r$:(t.current=setTimeout(()=>{t.current=null,s(!1)}),n):r$,[r,o,n]);let c=eK(e=>{"height"===e.propertyName&&(a(),"close"===r&&i())},[r,i,a]),u=(({isAnimatingOpenOnMount:e,placeholder:t,animate:n})=>{let r=(({isAnimatingOpenOnMount:e,placeholder:t,animate:n})=>e||"close"===n?rU:{height:t.client.borderBox.height,width:t.client.borderBox.width,margin:t.client.margin})({isAnimatingOpenOnMount:e,placeholder:t,animate:n});return{display:t.display,boxSizing:"border-box",width:r.width,height:r.height,marginTop:r.margin.top,marginRight:r.margin.right,marginBottom:r.margin.bottom,marginLeft:r.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:"none"!==n?nd.placeholder:null}})({isAnimatingOpenOnMount:o,animate:e.animate,placeholder:e.placeholder});return E.createElement(e.placeholder.tagName,{style:u,"data-rfd-placeholder-context-id":l,onTransitionEnd:c,ref:e.innerRef})});function rW(e){return"boolean"==typeof e}function rK(e,t){t.forEach(t=>t(e))}let rZ=[function({props:e}){e.droppableId||eP(),"string"!=typeof e.droppableId&&eP()},function({props:e}){rW(e.isDropDisabled)||eP(),rW(e.isCombineEnabled)||eP(),rW(e.ignoreContainerClipping)||eP()},function({getDroppableRef:e}){rC(e())}],rY=[function({props:e,getPlaceholderRef:t}){if(!e.placeholder||t())return}],rJ=[function({props:e}){e.renderClone||eP()},function({getPlaceholderRef:e}){e()&&eP()}];class rX extends E.PureComponent{constructor(...e){super(...e),this.state={isVisible:!!this.props.on,data:this.props.on,animate:this.props.shouldAnimate&&this.props.on?"open":"none"},this.onClose=()=>{"close"===this.state.animate&&this.setState({isVisible:!1})}}static getDerivedStateFromProps(e,t){return e.shouldAnimate?e.on?{isVisible:!0,data:e.on,animate:"open"}:t.isVisible?{isVisible:!0,data:t.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:!!e.on,data:e.on,animate:"none"}}render(){if(!this.state.isVisible)return null;let e={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(e)}}let rQ={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:function(){return document.body||eP(),document.body}},r0=e=>{let t,n={...e};for(t in rQ)void 0===e[t]&&(n={...n,[t]:rQ[t]});return n},r1=(e,t)=>t.draggables[e.draggable.id],r5=ew(()=>{let e={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},t={...e,shouldAnimatePlaceholder:!1},n=e8(e=>({draggableId:e.id,type:e.type,source:{index:e.index,droppableId:e.droppableId}})),r=e8((r,a,i,l,o,s)=>{let c=o.descriptor.id;if(o.descriptor.droppableId===r){let e=s?{render:s,dragging:n(o.descriptor)}:null;return{placeholder:o.placeholder,shouldAnimatePlaceholder:!1,snapshot:{isDraggingOver:i,draggingOverWith:i?c:null,draggingFromThisWith:c,isUsingPlaceholder:!0},useClone:e}}return a?l?{placeholder:o.placeholder,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:i,draggingOverWith:c,draggingFromThisWith:null,isUsingPlaceholder:!0},useClone:null}:e:t});return(n,a)=>{let i=r0(a),l=i.droppableId,o=i.type,s=!i.isDropDisabled,c=i.renderClone;if(ri(n)){let e=n.critical;if(o!==e.droppable.type)return t;let a=r1(e,n.dimensions),i=tP(n.impact)===l;return r(l,s,i,i,a,c)}if("DROP_ANIMATING"===n.phase){let e=n.completed;if(o!==e.critical.droppable.type)return t;let a=r1(e.critical,n.dimensions);return r(l,s,r_(e.result)===l,tP(e.impact)===l,a,c)}if("IDLE"===n.phase&&n.completed&&!n.shouldFlush){let r=n.completed;if(o!==r.critical.droppable.type)return t;let a=tP(r.impact)===l,i=!!(r.impact.at&&"COMBINE"===r.impact.at.type),s=r.critical.droppable.id===l;if(a)return i?e:t;if(s)return e}return t}},{updateViewportMaxScroll:e=>({type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:e})},(e,t,n)=>({...r0(n),...e,...t}),{context:n3,areStatePropsEqual:rS})(e=>{var t;let n=(0,E.useContext)(re);n||eP();let{contextId:r,isMovementAllowed:a}=n,i=(0,E.useRef)(null),l=(0,E.useRef)(null),{children:o,droppableId:s,type:c,mode:u,direction:d,ignoreContainerClipping:h,isDropDisabled:p,isCombineEnabled:f,snapshot:m,useClone:g,updateViewportMaxScroll:v,getContainerForClone:b}=e,w=eK(()=>i.current,[]),y=eK((e=null)=>{i.current=e},[]),x=eK(()=>l.current,[]),A=eK((e=null)=>{l.current=e},[]);t={props:e,getDroppableRef:w,getPlaceholderRef:x},rr(()=>{rK(t,rZ),"standard"===t.props.mode&&rK(t,rY),"virtual"===t.props.mode&&rK(t,rJ)});let k=eK(()=>{a()&&v({maxScroll:nM()})},[a,v]);!function(e){let t=(0,E.useRef)(null),n=rA(re),r=n9("droppable"),{registry:a,marshal:i}=n,l=ra(e),o=eW(()=>({id:e.droppableId,type:e.type,mode:e.mode}),[e.droppableId,e.mode,e.type]),s=(0,E.useRef)(o),c=eW(()=>e8((e,n)=>{t.current||eP(),i.updateDroppableScroll(o.id,{x:e,y:n})}),[o.id,i]),u=eK(()=>{let e=t.current;return e&&e.env.closestScrollable?rB(e.env.closestScrollable):eZ},[]),d=eK(()=>{let e=u();c(e.x,e.y)},[u,c]),h=eW(()=>eR(d),[d]),p=eK(()=>{let e=t.current,n=rF(e);(e&&n||eP(),e.scrollOptions.shouldPublishImmediately)?d():h()},[h,d]),f=eK((e,r)=>{t.current&&eP();let a=l.current,i=a.getDroppableRef();i||eP();let s={closestScrollable:rP(i),isFixedOnPage:rI(i)},c={ref:i,descriptor:o,env:s,scrollOptions:r};t.current=c;let u=(({ref:e,descriptor:t,env:n,windowScroll:r,direction:a,isDropDisabled:i,isCombineEnabled:l,shouldClipSubject:o})=>{let s=n.closestScrollable,c=((e,t)=>{let n=eO(e);if(!t||e!==t)return n;let r=n.paddingBox.top-t.scrollTop,a=n.paddingBox.left-t.scrollLeft,i=r+t.scrollHeight;return ek({borderBox:eE({top:r,right:a+t.scrollWidth,bottom:i,left:a},n.border),margin:n.margin,border:n.border,padding:n.padding})})(e,s),u=eM(c,r),d=(()=>{if(!s)return null;let e=eO(s),t={scrollHeight:s.scrollHeight,scrollWidth:s.scrollWidth};return{client:e,page:eM(e,r),scroll:rB(s),scrollSize:t,shouldClipSubject:o}})();return(({descriptor:e,isEnabled:t,isCombineEnabled:n,isFixedOnPage:r,direction:a,client:i,page:l,closest:o})=>{let s=(()=>{if(!o)return null;let{scrollSize:e,client:t}=o,n=nS({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,height:t.paddingBox.height,width:t.paddingBox.width});return{pageMarginBox:o.page.marginBox,frameClient:t,scrollSize:e,shouldClipSubject:o.shouldClipSubject,scroll:{initial:o.scroll,current:o.scroll,max:n,diff:{value:eZ,displacement:eZ}}}})(),c="vertical"===a?tf:tm,u=e6({page:l,withPlaceholder:null,axis:c,frame:s});return{descriptor:e,isCombineEnabled:n,isFixedOnPage:r,axis:c,isEnabled:t,client:i,page:l,frame:s,subject:u}})({descriptor:t,isEnabled:!i,isCombineEnabled:l,isFixedOnPage:n.isFixedOnPage,direction:a,client:c,page:u,closest:d})})({ref:i,descriptor:o,env:s,windowScroll:e,direction:a.direction,isDropDisabled:a.isDropDisabled,isCombineEnabled:a.isCombineEnabled,shouldClipSubject:!a.ignoreContainerClipping}),d=s.closestScrollable;return d&&(d.setAttribute(nZ.contextId,n.contextId),d.addEventListener("scroll",p,rq(c.scrollOptions))),u},[n.contextId,o,p,l]),m=eK(()=>{let e=t.current,n=rF(e);return e&&n||eP(),rB(n)},[]),g=eK(()=>{let e=t.current;e||eP();let n=rF(e);t.current=null,n&&(h.cancel(),n.removeAttribute(nZ.contextId),n.removeEventListener("scroll",p,rq(e.scrollOptions)))},[p,h]),v=eK(e=>{let n=t.current;n||eP();let r=rF(n);r||eP(),r.scrollTop+=e.y,r.scrollLeft+=e.x},[]),b=eW(()=>({getDimensionAndWatchScroll:f,getScrollWhileDragging:m,dragStopped:g,scroll:v}),[g,f,m,v]),w=eW(()=>({uniqueId:r,descriptor:o,callbacks:b}),[b,o,r]);nJ(()=>(s.current=w.descriptor,a.droppable.register(w),()=>{t.current&&g(),a.droppable.unregister(w)}),[b,o,g,w,i,a.droppable]),nJ(()=>{t.current&&i.updateDroppableIsEnabled(s.current.id,!e.isDropDisabled)},[e.isDropDisabled,i]),nJ(()=>{t.current&&i.updateDroppableIsCombineEnabled(s.current.id,e.isCombineEnabled)},[e.isCombineEnabled,i])}({droppableId:s,type:c,mode:u,direction:d,isDropDisabled:p,isCombineEnabled:f,ignoreContainerClipping:h,getDroppableRef:w});let S=eW(()=>E.createElement(rX,{on:e.placeholder,shouldAnimate:e.shouldAnimatePlaceholder},({onClose:e,data:t,animate:n})=>E.createElement(rG,{placeholder:t,onClose:e,innerRef:A,animate:n,contextId:r,onTransitionEnd:k})),[r,k,e.placeholder,e.shouldAnimatePlaceholder,A]),_=eW(()=>({innerRef:y,placeholder:S,droppableProps:{"data-rfd-droppable-id":s,"data-rfd-droppable-context-id":r}}),[r,s,S,y]),M=g?g.dragging.draggableId:null,j=eW(()=>({droppableId:s,type:c,isUsingCloneFor:M}),[s,M,c]);return E.createElement(rE.Provider,{value:j},o(_,m),function(){if(!g)return null;let{dragging:e,render:t}=g,n=E.createElement(rR,{draggableId:e.draggableId,index:e.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},(n,r)=>t(n,r,e));return C.createPortal(n,b())}())});var r2=n(2404),r7=n(23805);r="u">typeof window?window:"u">typeof self?self:n.g;let r3=null,r6=null,r4=r.clearTimeout,r8=r.setTimeout,r9=r.cancelAnimationFrame||r.mozCancelAnimationFrame||r.webkitCancelAnimationFrame,ae=r.requestAnimationFrame||r.mozRequestAnimationFrame||r.webkitRequestAnimationFrame;null==r9||null==ae?(r3=r4,r6=function(e){return r8(e,20)}):(r3=function([e,t]){r9(e),r4(t)},r6=function(e){let t=ae(function(){r4(n),e()}),n=r8(function(){r9(t),e()},20);return[t,n]});class at extends E.Component{constructor(...e){super(...e),this.state={height:this.props.defaultHeight||0,width:this.props.defaultWidth||0},this._autoSizer=null,this._detectElementResize=null,this._didLogDeprecationWarning=!1,this._parentNode=null,this._resizeObserver=null,this._timeoutId=null,this._onResize=()=>{this._timeoutId=null;let{disableHeight:e,disableWidth:t,onResize:n}=this.props;if(this._parentNode){let r=window.getComputedStyle(this._parentNode)||{},a=parseFloat(r.paddingLeft||"0"),i=parseFloat(r.paddingRight||"0"),l=parseFloat(r.paddingTop||"0"),o=parseFloat(r.paddingBottom||"0"),s=this._parentNode.getBoundingClientRect(),c=s.height-l-o,u=s.width-a-i;if(!e&&this.state.height!==c||!t&&this.state.width!==u){this.setState({height:c,width:u});let e=()=>{this._didLogDeprecationWarning||(this._didLogDeprecationWarning=!0,console.warn("scaledWidth and scaledHeight parameters have been deprecated; use width and height instead"))};"function"==typeof n&&n({height:c,width:u,get scaledHeight(){return e(),c},get scaledWidth(){return e(),u}})}}},this._setRef=e=>{this._autoSizer=e}}componentDidMount(){let{nonce:e}=this.props,t=this._autoSizer?this._autoSizer.parentNode:null;if(null!=t&&t.ownerDocument&&t.ownerDocument.defaultView&&t instanceof t.ownerDocument.defaultView.HTMLElement){this._parentNode=t;let n=t.ownerDocument.defaultView.ResizeObserver;null!=n?(this._resizeObserver=new n(()=>{this._timeoutId=setTimeout(this._onResize,0)}),this._resizeObserver.observe(t)):(this._detectElementResize=function(e){let t,n,a,i,l,o,s="u">typeof document&&document.attachEvent;if(!s){l=function(e){let t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,a=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,a.style.width=n.offsetWidth+1+"px",a.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},o=function(e){if(e.target.className&&"function"==typeof e.target.className.indexOf&&0>e.target.className.indexOf("contract-trigger")&&0>e.target.className.indexOf("expand-trigger"))return;let t=this;l(this),this.__resizeRAF__&&r3(this.__resizeRAF__),this.__resizeRAF__=r6(function(){(t.offsetWidth!==t.__resizeLast__.width||t.offsetHeight!==t.__resizeLast__.height)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach(function(n){n.call(t,e)}))})};let e=!1,r="";a="animationstart";let s="Webkit Moz O ms".split(" "),c="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" ");{let t=document.createElement("fakeelement");if(void 0!==t.style.animationName&&(e=!0),!1===e){for(let n=0;n<s.length;n++)if(void 0!==t.style[s[n]+"AnimationName"]){r="-"+s[n].toLowerCase()+"-",a=c[n],e=!0;break}}}t="@"+r+"keyframes "+(n="resizeanim")+" { from { opacity: 0; } to { opacity: 0; } } ",i=r+"animation: 1ms "+n+"; "}let c=function(n){if(!n.getElementById("detectElementResize")){let r=(t||"")+".resize-triggers { "+(i||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',a=n.head||n.getElementsByTagName("head")[0],l=n.createElement("style");l.id="detectElementResize",l.type="text/css",null!=e&&l.setAttribute("nonce",e),l.styleSheet?l.styleSheet.cssText=r:l.appendChild(n.createTextNode(r)),a.appendChild(l)}};return{addResizeListener:function(e,t){if(s)e.attachEvent("onresize",t);else{if(!e.__resizeTriggers__){let t=e.ownerDocument,i=r.getComputedStyle(e);i&&"static"===i.position&&(e.style.position="relative"),c(t),e.__resizeLast__={},e.__resizeListeners__=[],(e.__resizeTriggers__=t.createElement("div")).className="resize-triggers";let s=t.createElement("div");s.className="expand-trigger",s.appendChild(t.createElement("div"));let u=t.createElement("div");u.className="contract-trigger",e.__resizeTriggers__.appendChild(s),e.__resizeTriggers__.appendChild(u),e.appendChild(e.__resizeTriggers__),l(e),e.addEventListener("scroll",o,!0),a&&(e.__resizeTriggers__.__animationListener__=function(t){t.animationName===n&&l(e)},e.__resizeTriggers__.addEventListener(a,e.__resizeTriggers__.__animationListener__))}e.__resizeListeners__.push(t)}},removeResizeListener:function(e,t){if(s)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",o,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(a,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}(e),this._detectElementResize.addResizeListener(t,this._onResize)),this._onResize()}}componentWillUnmount(){this._parentNode&&(this._detectElementResize&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize),null!==this._timeoutId&&clearTimeout(this._timeoutId),this._resizeObserver&&this._resizeObserver.disconnect())}render(){let{children:e,defaultHeight:t,defaultWidth:n,disableHeight:r=!1,disableWidth:a=!1,doNotBailOutOnEmptyChildren:i=!1,nonce:l,onResize:o,style:s={},tagName:c="div",...u}=this.props,{height:d,width:h}=this.state,p={overflow:"visible"},f={},m=!1;return r||(0===d&&(m=!0),p.height=0,f.height=d,f.scaledHeight=d),a||(0===h&&(m=!0),p.width=0,f.width=h,f.scaledWidth=h),i&&(m=!1),(0,E.createElement)(c,{ref:this._setRef,style:{...p,...s},...u},!m&&e(f))}}function an(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var ar=n(20594),aa=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function ai(e,t){if(e.length!==t.length)return!1;for(var n,r,a=0;a<e.length;a++)if(!((n=e[a])===(r=t[a])||aa(n)&&aa(r))&&1)return!1;return!0}let al=function(e,t){void 0===t&&(t=ai);var n,r,a=[],i=!1;return function(){for(var l=[],o=0;o<arguments.length;o++)l[o]=arguments[o];return i&&n===this&&t(l,a)||(r=e.apply(this,l),i=!0,n=this,a=l),r}};var ao="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function as(e){cancelAnimationFrame(e.id)}var ac=-1;function au(e){if(void 0===e&&(e=!1),-1===ac||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),ac=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return ac}var ad=null;function ah(e){if(void 0===e&&(e=!1),null===ad||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),a=r.style;a.width="100px",a.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?ad="positive-descending":(t.scrollLeft=1,ad=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t)}return ad}var ap=function(e,t){return e},af=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},am=function(e,t,n){var r=e.itemSize,a=n.itemMetadataMap,i=n.lastMeasuredIndex;if(t>i){var l=0;if(i>=0){var o=a[i];l=o.offset+o.size}for(var s=i+1;s<=t;s++){var c=r(s);a[s]={offset:l,size:c},l+=c}n.lastMeasuredIndex=t}return a[t]},ag=function(e,t,n){var r=t.itemMetadataMap,a=t.lastMeasuredIndex;return(a>0?r[a].offset:0)>=n?av(e,t,a,0,n):ab(e,t,Math.max(0,a),n)},av=function(e,t,n,r,a){for(;r<=n;){var i=r+Math.floor((n-r)/2),l=am(e,i,t).offset;if(l===a)return i;l<a?r=i+1:l>a&&(n=i-1)}return r>0?r-1:0},ab=function(e,t,n,r){for(var a=e.itemCount,i=1;n<a&&am(e,n,t).offset<r;)n+=i,i*=2;return av(e,t,Math.min(n,a-1),Math.floor(n/2),r)},aw=function(e,t){var n=e.itemCount,r=t.itemMetadataMap,a=t.estimatedItemSize,i=t.lastMeasuredIndex,l=0;if(i>=n&&(i=n-1),i>=0){var o=r[i];l=o.offset+o.size}return l+(n-i-1)*a},ay=(h=(u={getItemOffset:function(e,t,n){return am(e,t,n).offset},getItemSize:function(e,t,n){return n.itemMetadataMap[t].size},getEstimatedTotalSize:aw,getOffsetForIndexAndAlignment:function(e,t,n,r,a,i){var l=e.direction,o=e.height,s=e.layout,c=e.width,u="horizontal"===l||"horizontal"===s?c:o,d=am(e,t,a),h=Math.max(0,Math.min(aw(e,a)-u,d.offset)),p=Math.max(0,d.offset-u+d.size+i);switch("smart"===n&&(n=r>=p-u&&r<=h+u?"auto":"center"),n){case"start":return h;case"end":return p;case"center":return Math.round(p+(h-p)/2);default:if(r>=p&&r<=h)return r;if(r<p)return p;return h}},getStartIndexForOffset:function(e,t,n){return ag(e,n,t)},getStopIndexForStartIndex:function(e,t,n,r){for(var a=e.direction,i=e.height,l=e.itemCount,o=e.layout,s=e.width,c=am(e,t,r),u=n+("horizontal"===a||"horizontal"===o?s:i),d=c.offset+c.size,h=t;h<l-1&&d<u;)d+=am(e,++h,r).size;return h},initInstanceProps:function(e,t){var n={itemMetadataMap:{},estimatedItemSize:e.estimatedItemSize||50,lastMeasuredIndex:-1};return t.resetAfterIndex=function(e,r){void 0===r&&(r=!0),n.lastMeasuredIndex=Math.min(n.lastMeasuredIndex,e-1),t._getItemStyleCache(-1),r&&t.forceUpdate()},n},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(e){e.itemSize}}).getItemOffset,p=u.getEstimatedTotalSize,f=u.getItemSize,m=u.getOffsetForIndexAndAlignment,g=u.getStartIndexForOffset,v=u.getStopIndexForStartIndex,b=u.initInstanceProps,w=u.shouldResetStyleCacheOnItemSizeChange,y=u.validateProps,(d=function(e){function t(t){var n;return(n=e.call(this,t)||this)._instanceProps=b(n.props,an(n)),n._outerRef=void 0,n._resetIsScrollingTimeoutId=null,n.state={instance:an(n),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof n.props.initialScrollOffset?n.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},n._callOnItemsRendered=void 0,n._callOnItemsRendered=al(function(e,t,r,a){return n.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:r,visibleStopIndex:a})}),n._callOnScroll=void 0,n._callOnScroll=al(function(e,t,r){return n.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:r})}),n._getItemStyle=void 0,n._getItemStyle=function(e){var t,r=n.props,a=r.direction,i=r.itemSize,l=r.layout,o=n._getItemStyleCache(w&&i,w&&l,w&&a);if(o.hasOwnProperty(e))t=o[e];else{var s=h(n.props,e,n._instanceProps),c=f(n.props,e,n._instanceProps),u="horizontal"===a||"horizontal"===l,d="rtl"===a,p=u?s:0;o[e]=t={position:"absolute",left:d?void 0:p,right:d?p:void 0,top:u?0:s,height:u?"100%":c,width:u?c:"100%"}}return t},n._getItemStyleCache=void 0,n._getItemStyleCache=al(function(e,t,n){return{}}),n._onScrollHorizontal=function(e){var t=e.currentTarget,r=t.clientWidth,a=t.scrollLeft,i=t.scrollWidth;n.setState(function(e){if(e.scrollOffset===a)return null;var t=n.props.direction,l=a;if("rtl"===t)switch(ah()){case"negative":l=-a;break;case"positive-descending":l=i-r-a}return l=Math.max(0,Math.min(l,i-r)),{isScrolling:!0,scrollDirection:e.scrollOffset<l?"forward":"backward",scrollOffset:l,scrollUpdateWasRequested:!1}},n._resetIsScrollingDebounced)},n._onScrollVertical=function(e){var t=e.currentTarget,r=t.clientHeight,a=t.scrollHeight,i=t.scrollTop;n.setState(function(e){if(e.scrollOffset===i)return null;var t=Math.max(0,Math.min(i,a-r));return{isScrolling:!0,scrollDirection:e.scrollOffset<t?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!1}},n._resetIsScrollingDebounced)},n._outerRefSetter=function(e){var t=n.props.outerRef;n._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},n._resetIsScrollingDebounced=function(){var e,t,r;null!==n._resetIsScrollingTimeoutId&&as(n._resetIsScrollingTimeoutId),e=n._resetIsScrolling,t=ao(),n._resetIsScrollingTimeoutId=r={id:requestAnimationFrame(function n(){ao()-t>=150?e.call(null):r.id=requestAnimationFrame(n)})}},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},function(){n._getItemStyleCache(-1,null)})},n}(0,ar.A)(t,e),t.getDerivedStateFromProps=function(e,t){return af(e,t),y(e),null};var n=t.prototype;return n.scrollTo=function(e){e=Math.max(0,e),this.setState(function(t){return t.scrollOffset===e?null:{scrollDirection:t.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},n.scrollToItem=function(e,t){void 0===t&&(t="auto");var n=this.props,r=n.itemCount,a=n.layout,i=this.state.scrollOffset;e=Math.max(0,Math.min(e,r-1));var l=0;if(this._outerRef){var o=this._outerRef;l="vertical"===a?o.scrollWidth>o.clientWidth?au():0:o.scrollHeight>o.clientHeight?au():0}this.scrollTo(m(this.props,e,t,i,this._instanceProps,l))},n.componentDidMount=function(){var e=this.props,t=e.direction,n=e.initialScrollOffset,r=e.layout;if("number"==typeof n&&null!=this._outerRef){var a=this._outerRef;"horizontal"===t||"horizontal"===r?a.scrollLeft=n:a.scrollTop=n}this._callPropsCallbacks()},n.componentDidUpdate=function(){var e=this.props,t=e.direction,n=e.layout,r=this.state,a=r.scrollOffset;if(r.scrollUpdateWasRequested&&null!=this._outerRef){var i=this._outerRef;if("horizontal"===t||"horizontal"===n)if("rtl"===t)switch(ah()){case"negative":i.scrollLeft=-a;break;case"positive-ascending":i.scrollLeft=a;break;default:var l=i.clientWidth,o=i.scrollWidth;i.scrollLeft=o-l-a}else i.scrollLeft=a;else i.scrollTop=a}this._callPropsCallbacks()},n.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&as(this._resetIsScrollingTimeoutId)},n.render=function(){var e=this.props,t=e.children,n=e.className,r=e.direction,a=e.height,i=e.innerRef,l=e.innerElementType,o=e.innerTagName,s=e.itemCount,c=e.itemData,u=e.itemKey,d=void 0===u?ap:u,h=e.layout,f=e.outerElementType,m=e.outerTagName,g=e.style,v=e.useIsScrolling,b=e.width,w=this.state.isScrolling,y="horizontal"===r||"horizontal"===h,x=y?this._onScrollHorizontal:this._onScrollVertical,C=this._getRangeToRender(),A=C[0],k=C[1],S=[];if(s>0)for(var _=A;_<=k;_++)S.push((0,E.createElement)(t,{data:c,key:d(_,c),index:_,isScrolling:v?w:void 0,style:this._getItemStyle(_)}));var M=p(this.props,this._instanceProps);return(0,E.createElement)(f||m||"div",{className:n,onScroll:x,ref:this._outerRefSetter,style:(0,eL.A)({position:"relative",height:a,width:b,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:r},g)},(0,E.createElement)(l||o||"div",{children:S,ref:i,style:{height:y?"100%":M,pointerEvents:w?"none":void 0,width:y?M:"100%"}}))},n._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),t=e[0],n=e[1],r=e[2],a=e[3];this._callOnItemsRendered(t,n,r,a)}if("function"==typeof this.props.onScroll){var i=this.state,l=i.scrollDirection,o=i.scrollOffset,s=i.scrollUpdateWasRequested;this._callOnScroll(l,o,s)}},n._getRangeToRender=function(){var e=this.props,t=e.itemCount,n=e.overscanCount,r=this.state,a=r.isScrolling,i=r.scrollDirection,l=r.scrollOffset;if(0===t)return[0,0,0,0];var o=g(this.props,l,this._instanceProps),s=v(this.props,o,l,this._instanceProps);return[Math.max(0,o-(a&&"backward"!==i?1:Math.max(1,n))),Math.max(0,Math.min(t-1,s+(a&&"forward"!==i?1:Math.max(1,n)))),o,s]},t}(E.PureComponent)).defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},d),ax=n(95100),aE=n(68472),aC=n(92340),aA=n(43302),ak=n(54699),aS=n(2795),a_=n(46281);let aM=(0,ak.om)("list"),aj=e=>{let t=E.useRef(null);return(({element:e,options:t,onIntersect:n})=>{E.useEffect(()=>{let r=new IntersectionObserver(([e])=>{e.isIntersecting&&n?.()},t);return e&&r.observe(e),()=>null===e?void 0:r.unobserve(e)},[e,t,n])})({element:t.current,onIntersect:e?.onIntersect}),(0,x.jsx)("div",{ref:t,className:aM("loading-indicator"),children:(0,x.jsx)(a_.a,{qa:"list-loader"})})},aO=E.forwardRef(({style:e,role:t,listId:n,...r},a)=>(0,x.jsx)("div",{ref:a,style:e,role:t,id:n,...r}));aO.displayName="VariableSizeListElementType";var aR=n(52605),aL=n(94650),aT=n(30142);let aN=[ax.D.TAB];function az(e,t){if("string"==typeof e&&"number"==typeof t)return`${e}-item-${t}`}let aD=(0,ak.om)("list"),aP=new Set(["option","gridcell","row","tab"]),aB=e=>String(e);class aI extends E.Component{static publishEvent=aT.o.withEventPublisher("List");node=null;render(){var e;let{item:t,height:n,style:r,sortable:a,sortHandleAlign:i,itemClassName:l,selected:o,active:s,role:c="listitem",isDragging:u=!1}=this.props,d={height:n,...r,right:void 0};return(0,x.jsxs)("div",{role:c,"aria-selected":aP.has(c)?o:void 0,"aria-disabled":t.disabled,"data-qa":s?"list-active-item":void 0,className:aD("item",{sortable:a,active:s,selected:o,inactive:t.disabled,"sort-handle-align":i,dragging:u},l),...this.props.provided?.draggableProps,style:(e=this.props.provided,d?{...e?.draggableProps.style,...d}:e?.draggableProps.style),onClick:t.disabled?void 0:this.onClick,onClickCapture:t.disabled?void 0:this.onClickCapture,onMouseEnter:this.onMouseEnter,ref:this.setRef,id:az(this.props.listId,this.props.itemIndex),children:[this.renderSortIcon(),this.renderContent()]})}getNode=()=>this.node;setRef=e=>{this.node=e,this.props.provided?.innerRef(e)};renderSortIcon(){let{sortable:e}=this.props;return e?(0,x.jsx)("div",{...this.props.provided?.dragHandleProps,className:aD("item-sort-icon"),children:(0,x.jsx)(aL.I,{data:aR.A,size:12})}):null}renderContent(){let{renderItem:e=aB,item:t,active:n,itemIndex:r}=this.props;return(0,x.jsx)("div",{className:aD("item-content"),children:e(t,n,r)})}onClick=e=>{this.props.onClick&&this.props.onClick(this.props.item,this.props.itemIndex,!1,e)};onClickCapture=e=>{aI.publishEvent({domEvent:e,eventId:"click"})};onMouseEnter=()=>!this.props.item.disabled&&this.props.onActivate(this.props.itemIndex)}function aH(e){return Array.from({length:e}).reduce((e,t,n)=>(e[n]=E.createRef(),e),{})}class aV extends E.Component{static getDerivedStateFromProps({itemCount:e},t){return e===Object.keys(t.refsList).length?t:{refsList:aH(e)}}node=null;constructor(e){super(e),this.state={refsList:aH(e.itemCount)}}render(){let e=E.Children.map(this.props.children,(e,t)=>E.cloneElement(e,{ref:this.state.refsList[t]}));return(0,x.jsx)("div",{ref:this.setRef,role:this.props.role,id:this.props.id,children:e})}scrollToItem(e){let t=this.state.refsList[e]?.current;if(t&&"function"==typeof t.getNode){let e=t.getNode();e&&!this.props.onScrollToItem?.(e)&&e.scrollIntoView?.({block:"nearest"})}}setRef=e=>{this.node=e,this.props.provided?.innerRef(e)}}let aq=(0,ak.om)("list"),aF={items:[],itemClassName:"",filterable:!0,sortable:!1,virtualized:!0,deactivateOnLeave:!0},a$=E.forwardRef((e,t)=>{let{role:n,listId:r,...a}=e,i=E.useMemo(()=>{let e;return(e=E.forwardRef((e,t)=>(0,x.jsx)(aO,{...e,role:n,ref:t,listId:r}))).displayName="VariableSizeListElementType",e},[n,r]);return(0,x.jsx)(ay,{ref:t,direction:(0,aA.j)(),innerElementType:i,...a})});a$.displayName="ListContainer";class aU extends E.Component{static defaultProps=aF;static moveListElement(e,t,n){if(t!==n){let[r]=e.splice(t,1);e.splice(n,0,r)}return e}static findNextIndex(e,t,n){let r=e.length,a=(t+r)%r;for(let t=0;t<r;t+=1){if(e[a]&&!e[a].disabled)return a;a=(a+r+n)%r}}state={items:this.props.items,activeItem:this.props.activeItemIndex,filter:""};refFilter=E.createRef();refContainer=E.createRef();blurTimer=null;loadingItem={value:"__LIST_ITEM_LOADING__",disabled:!1};uniqId=(0,aS.zm)();componentDidMount(){this.activateItem(this.props.activeItemIndex,!0)}componentDidUpdate(e,t){if(!r2(this.props.items,e.items)){let e=this.getFilter();e&&!this.props.onFilterUpdate?this.onUpdateFilterInternal(e):this.setState({items:this.props.items})}this.props.activeItemIndex!==e.activeItemIndex&&this.activateItem(this.props.activeItemIndex),this.props.onChangeActive&&this.state.activeItem!==t.activeItem&&this.props.onChangeActive(this.state.activeItem)}componentWillUnmount(){this.blurTimer=null}render(){let{id:e,emptyPlaceholder:t,virtualized:n,className:r,itemsClassName:a,qa:i}=this.props,{items:l}=this.state;return(0,x.jsx)(aC.G.Consumer,{children:({mobile:o})=>(0,x.jsxs)("div",{className:aq({mobile:o},r),"data-qa":i,tabIndex:-1,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyDown:this.onKeyDown,children:[this.renderFilter(),(0,x.jsxs)("div",{id:e,className:aq("items",{virtualized:n},a),style:this.getItemsStyle(),onMouseLeave:this.onMouseLeave,children:[this.renderItems(),0===l.length&&!!t&&(0,x.jsx)("div",{className:aq("empty-placeholder"),children:t})]})]})})}getItems(){return this.state.items}getItemsWithLoading(){return this.props.sortable?this.getItems():this.props.loading?[...this.state.items,this.loadingItem]:this.getItems()}getActiveItem(){return"number"==typeof this.state.activeItem?this.state.activeItem:null}activateItem(e,t=!0){this.setState({activeItem:e},()=>{"number"==typeof e&&t&&this.scrollToIndex(e)})}onKeyDown=e=>{let{activeItem:t,pageSize:n}=this.state;if(aN.includes(e.key))return;let r=e.target instanceof HTMLInputElement;switch(e.key){case ax.D.ARROW_DOWN:this.handleKeyMove(e,1,-1);break;case ax.D.ARROW_UP:this.handleKeyMove(e,-1);break;case ax.D.PAGE_DOWN:this.handleKeyMove(e,n??10);break;case ax.D.PAGE_UP:this.handleKeyMove(e,-(n??10));break;case ax.D.HOME:if(r)return;this.handleKeyMove(e,this.state.items.length-(t||0));break;case ax.D.END:if(r)return;this.handleKeyMove(e,-(t||0)-1);break;case ax.D.ENTER:"number"==typeof t&&this.props.onItemClick&&this.props.onItemClick(this.state.items[t],t,!0,e);break;default:this.refFilter.current&&this.refFilter.current.focus()}};renderItemContent=(e,t,n)=>{let{onLoadMore:r}=this.props;return r7(e)&&"value"in e&&e.value===this.loadingItem.value?(0,x.jsx)(aj,{onIntersect:0===n?void 0:r}):this.props.renderItem?this.props.renderItem(e,t,n):aB(e)};renderItem=({index:e,style:t,height:n,provided:r,isDragging:a})=>{let{sortHandleAlign:i,role:l}=this.props,{items:o,activeItem:s}=this.state,c=this.getItemsWithLoading()[e],u=this.props.sortable&&o.length>1&&!this.getFilter(),d=e===s||e===this.props.activeItemIndex,h=Array.isArray(this.props.selectedItemIndex)?this.props.selectedItemIndex.includes(e):e===this.props.selectedItemIndex;return(0,x.jsx)(aI,{style:t,height:n,itemIndex:e,item:c,sortable:u,sortHandleAlign:i,renderItem:this.renderItemContent,itemClassName:this.props.itemClassName,active:d,selected:h,onActivate:this.onItemActivate,onClick:this.props.onItemClick,role:"listbox"===l?"option":"listitem",listId:this.props.id??this.uniqId,provided:r,isDragging:a},e)};renderVirtualizedItem=({index:e,style:t})=>(0,x.jsx)(rL,{draggableId:String(e),index:e,children:n=>this.renderItem({index:e,style:t,provided:n})},`item-key-${e}`);renderFilter(){let{size:e,filterable:t,filter:n=this.state.filter,filterPlaceholder:r,filterClassName:a="",autoFocus:i}=this.props;return t?(0,x.jsx)("div",{className:aq("filter",a),children:(0,x.jsx)(aE.k,{controlRef:this.refFilter,size:e,placeholder:r,value:n,hasClear:!0,onUpdate:this.onFilterUpdate,autoFocus:i,controlProps:{role:"combobox","aria-activedescendant":az(this.props.id??this.uniqId,this.state.activeItem),"aria-autocomplete":"list","aria-controls":this.props.id??this.uniqId,"aria-expanded":!0}})}):null}renderSimpleContainer(){let{sortable:e,role:t="list"}=this.props,n=this.getItemsWithLoading();return e?(0,x.jsx)(rx,{onDragStart:this.onSortStart,onDragEnd:this.onSortEnd,children:(0,x.jsx)(r5,{droppableId:"droppable",renderClone:(e,t,n)=>this.renderItem({index:n.source.index,provided:e,isDragging:t.isDragging}),children:e=>(0,x.jsx)(aV,{ref:this.refContainer,itemCount:n.length,provided:e,onScrollToItem:this.props.onScrollToItem,role:t,id:this.props.id??this.uniqId,children:n.map((e,t)=>(0,x.jsx)(rL,{draggableId:String(t),index:t,children:(e,n)=>this.renderItem({index:t,isDragging:n.isDragging,provided:e,height:this.getItemHeight(t)})},`item-key-${t}`))})})}):(0,x.jsx)(aV,{itemCount:n.length,ref:this.refContainer,onScrollToItem:this.props.onScrollToItem,role:t,id:this.props.id??this.uniqId,children:n.map((e,t)=>this.renderItem({index:t,height:this.getItemHeight(t)}))})}renderVirtualizedContainer(){let{role:e="list"}=this.props,t=[...this.getItemsWithLoading()];return this.props.sortable?(0,x.jsx)(rx,{onDragStart:this.onSortStart,onDragEnd:this.onSortEnd,children:(0,x.jsx)(r5,{droppableId:"droppable",mode:"virtual",renderClone:(e,t,n)=>this.renderItem({index:n.source.index,provided:e,isDragging:t.isDragging}),children:n=>(0,x.jsx)(at,{children:({width:r,height:a})=>(0,x.jsx)(a$,{ref:this.refContainer,outerRef:n.innerRef,width:r,height:a,itemSize:this.getVirtualizedItemHeight,itemData:t,itemCount:t.length,overscanCount:10,onItemsRendered:this.onItemsRendered,role:e,listId:this.props.id??this.uniqId,activeItem:this.state.activeItem,children:this.renderVirtualizedItem})})})}):(0,x.jsx)(at,{children:({width:n,height:r})=>(0,x.jsx)(a$,{ref:this.refContainer,width:n,height:r,itemSize:this.getVirtualizedItemHeight,itemData:t,itemCount:t.length,overscanCount:10,onItemsRendered:this.onItemsRendered,role:e,listId:this.props.id??this.uniqId,activeItem:this.state.activeItem,children:this.renderItem})})}renderItems(){return this.props.virtualized?this.renderVirtualizedContainer():this.renderSimpleContainer()}filterItem=e=>t=>String(t).includes(e);getFilter(){let{filter:e=this.state.filter}=this.props;return e}getItemsStyle(){let{itemsHeight:e}=this.props;return"function"==typeof e&&(e=e(this.state.items)),e?{height:e}:void 0}scrollToIndex=e=>{let t=this.refContainer.current;t&&t.scrollToItem(e)};deactivate=()=>{this.blurTimer&&(this.blurTimer=null,this.props.deactivateOnLeave&&this.setState({activeItem:void 0}))};handleKeyMove(e,t,n=0){let{activeItem:r=n}=this.state;e.preventDefault();let a=this.getItemsWithLoading();this.activateItem(aU.findNextIndex(a,r+t,Math.sign(t)))}handleFocus=()=>{this.blurTimer&&(clearTimeout(this.blurTimer),this.blurTimer=null)};handleBlur=()=>{this.blurTimer||(this.blurTimer=setTimeout(this.deactivate,50))};onUpdateFilterInternal=e=>{let{items:t,filterItem:n=this.filterItem,onFilterEnd:r}=this.props;this.setState({filter:e,items:e?t.filter(n(e)):t},()=>{r&&r({items:this.state.items})})};onFilterUpdate=e=>{this.props.onFilterUpdate?this.props.onFilterUpdate(e):this.onUpdateFilterInternal(e)};onItemsRendered=({visibleStartIndex:e,visibleStopIndex:t})=>{this.setState({pageSize:t-e})};onItemActivate=e=>{this.state.sorting||this.activateItem(e,!1)};onMouseLeave=()=>{this.handleBlur()};onSortStart=()=>{this.setState({sorting:!0})};onSortEnd=e=>{if(!e.destination||e.source.index===e.destination.index)return void this.setState({sorting:!1});let t=e.source.index,n=e.destination.index;this.props.onSortEnd&&this.props.onSortEnd({oldIndex:t,newIndex:n});let r=((e,t,n)=>{let r=Array.from(e),[a]=r.splice(t,1);return r.splice(n,0,a),r})(this.getItems(),t,n);this.setState({activeItem:n,items:r,sorting:!1})};getItemHeight=e=>{let{itemHeight:t}=this.props;if("function"==typeof t){let{items:n}=this.state;return t(n[e],e)}return t};getVirtualizedItemHeight=e=>this.getItemHeight(e)||28}},46281(e,t,n){"use strict";n.d(t,{a:()=>i});var r=n(74848);let a=(0,n(54699).om)("loader");function i({size:e="s",className:t,qa:n}){return(0,r.jsxs)("div",{className:a({size:e},t),"data-qa":n,children:[(0,r.jsx)("div",{className:a("left")}),(0,r.jsx)("div",{className:a("center")}),(0,r.jsx)("div",{className:a("right")})]})}},45402(e,t,n){"use strict";n.d(t,{a:()=>y});var r=n(74848),a=n(96540),i=n(176),l=n(49054),o=n(95100),s=n(26812),c=n(95565),u=n(40707),d=n(18325),h=n(54699),p=n(37242),f=n(98308),m=n(17682),g=JSON.parse('{"close":"Закрыть"}');let v=(0,m.N)({en:{close:"Close"},ru:g},"Modal"),b=(0,h.om)("modal");function w({open:e=!1,onOpenChange:t,keepMounted:n=!1,disableBodyScrollLock:h=!1,disableEscapeKeyDown:m,disableOutsideClick:g,initialFocus:w,returnFocus:y,disableVisuallyHiddenDismiss:x,onEscapeKeyDown:E,onOutsideClick:C,onClose:A,onEnterKeyDown:k,onTransitionIn:S,onTransitionInComplete:_,onTransitionOut:M,onTransitionOutComplete:j,children:O,style:R,contentOverflow:L="visible",className:T,contentClassName:N,container:z,disablePortal:D,qa:P,floatingRef:B,disableHeightTransition:I=!1,...H}){(0,f.Z)({open:e,type:"modal"});let V=a.useRef(null),q=a.useCallback((e,n,r)=>{let a;t?.(e,n,r),!e&&n&&("escapeKeyDown"===(a="escape-key"===r?"escapeKeyDown":"outside-press"===r?"outsideClick":r)&&E&&E(n),"outsideClick"===a&&C&&C(n),A?.(n,a))},[t,E,C,A]),F=(0,i.fI)(),{refs:$,elements:U,context:G}=(0,i.we)({nodeId:F,open:e,onOpenChange:q}),W=(0,s.N)($.setFloating,B),K=(0,i.s9)(G,{enabled:!g||!m,outsidePress:e=>!g&&e.target.closest(`.${b()}`)===V.current,escapeKey:!m}),Z=(0,i.It)(G,{role:"dialog"}),{getFloatingProps:Y}=(0,i.bv)([K,Z]),{isMounted:J,status:X}=(0,u.B)({context:G,duration:150,onTransitionIn:S,onTransitionInComplete:_,onTransitionOut:M,onTransitionOutComplete:j});(0,c.e)({ref:$.floating,enabled:"open"===X&&!I});let Q=a.useCallback(e=>{if(!k||e.key!==o.D.ENTER||e.defaultPrevented)return;let t=U.floating;if(!t)return;let n=e.nativeEvent.composedPath(),r=n.indexOf(t),a=r<0?n:n.slice(0,r),i=a.findIndex(e=>e?.hasAttribute("data-floating-ui-focusable"));i<0?k(e.nativeEvent):a.slice(0,i).some(e=>(0,l.AO)(e))||k(e.nativeEvent)},[U.floating,k]),{t:ee}=v.useTranslation();return(0,r.jsx)(i.$c,{id:F,children:J||n?(0,r.jsx)(d.Z,{container:z,disablePortal:D,children:(0,r.jsx)(i.zR,{ref:V,style:R,className:b({open:e},T),"data-qa":P,"data-floating-ui-status":X,lockScroll:!h,children:(0,r.jsx)("div",{className:b("content-aligner"),children:(0,r.jsx)("div",{className:b("content-wrapper"),children:(0,r.jsx)(i.s3,{context:G,disabled:!J,modal:J,initialFocus:w??$.floating,returnFocus:y,visuallyHiddenDismiss:!x&&ee("close"),restoreFocus:!0,children:(0,r.jsx)("div",{...(0,p.$)(H,{labelable:!0}),className:b("content",{"has-scroll":"auto"===L},N),ref:W,...Y({onKeyDown:Q}),children:O})})})})})}):null})}function y(e){return null===(0,i.R1)()?(0,r.jsx)(i.P6,{children:(0,r.jsx)(w,{...e})}):(0,r.jsx)(w,{...e})}},29901(e,t,n){"use strict";n.d(t,{A:()=>h});var r=n(74848),a=n(96540),i=n(176),l=n(72835),o=n(26812),s=n(83880),c=n(54699),u=n(77753);let d=(0,c.om)("popover");function h({children:e,open:t,onOpenChange:n,disabled:c,content:h,trigger:p,openDelay:f=500,closeDelay:m=250,enableSafePolygon:g,className:v,...b}){let[w,y]=a.useState(null),[x,E]=a.useState(null),[C,A]=(0,l.P)(t,!1,n),k=(0,i.P7)({open:C&&!c,onOpenChange:A,elements:{reference:w,floating:x}}),S="click"!==p,_=[(0,i.Mk)(k,{enabled:S,delay:{open:f,close:m},move:!1,handleClose:g?(0,i.iB)():void 0}),(0,i.kp)(k,{ignoreMouse:S}),(0,i.It)(k,{role:"dialog"}),(0,i.s9)(k)],{getReferenceProps:M}=(0,i.bv)(_),j=(0,o.N)(y,a.isValidElement(e)?(0,u.Q)(e):void 0),O=a.isValidElement(e)?M(e.props):M(),R=a.isValidElement(e)?a.cloneElement(e,{...O,ref:j}):e(O,j);return(0,r.jsxs)(a.Fragment,{children:[R,(0,r.jsx)(s.z,{...b,open:k.open,floatingContext:k,floatingRef:E,floatingInteractions:_,className:d(null,v),children:h})]})}},83880(e,t,n){"use strict";n.d(t,{z:()=>E});var r=n(74848),a=n(96540),i=n(176),l=n(34743),o=n(95419),s=n(26812),c=n(40707),u=n(18325),d=n(54699),h=n(37242),p=n(98308);let f=(0,d.om)("popup"),m=a.forwardRef(function({styles:e},t){return(0,r.jsx)("div",{ref:t,className:f("arrow"),style:e,children:(0,r.jsxs)("div",{className:f("arrow-content"),children:[(0,r.jsx)("div",{className:f("arrow-circle-wrapper"),children:(0,r.jsx)("div",{className:f("arrow-circle",{left:!0})})}),(0,r.jsx)("div",{className:f("arrow-circle-wrapper"),children:(0,r.jsx)("div",{className:f("arrow-circle",{right:!0})})})]})})});var g=n(17682),v=JSON.parse('{"close":"Закрыть"}');let b=(0,g.N)({en:{close:"Close"},ru:v},"Popup");var w=n(29548);let y=(0,d.om)("popup");function x({keepMounted:e=!1,hasArrow:t=!1,open:n=!1,onOpenChange:d,strategy:f,placement:g,offset:v=4,anchorElement:x,anchorRef:E,floatingMiddlewares:C,floatingContext:A,floatingInteractions:k,floatingRef:S,floatingStyles:_,floatingClassName:M,modal:j=!1,initialFocus:O,returnFocus:R=!0,focusOrder:L,disableVisuallyHiddenDismiss:T=!j,onClose:N,onEscapeKeyDown:z,onOutsideClick:D,disableEscapeKeyDown:P=!1,disableOutsideClick:B=!1,disableFocusOut:I=!1,style:H,className:V,children:q,container:F,disablePortal:$=!1,disableLayer:U=!1,disableTransition:G=!1,qa:W,role:K,zIndex:Z=1e3,onTransitionIn:Y,onTransitionOut:J,onTransitionInComplete:X,onTransitionOutComplete:Q,...ee}){(0,p.Z)({open:n,type:"popup",enabled:!U});let et=a.useRef(null),[en,er]=a.useState(null),{offset:ea}=(0,w.CF)(v,t),{placement:ei,middleware:el}=(0,w.QT)(g,$),{t:eo}=b.useTranslation(),es=a.useCallback((e,t,n)=>{let r;d?.(e,t,n),!e&&t&&("escapeKeyDown"===(r="escape-key"===n?"escapeKeyDown":"outside-press"===n?"outsideClick":n)&&z&&z(t),"outsideClick"===r&&D&&D(t),N?.(t,r))},[d,N,z,D]),ec=(0,i.fI)(),{refs:eu,elements:ed,floatingStyles:eh,placement:ep,middlewareData:ef,context:em,update:eg,isPositioned:ev}=(0,i.we)({rootContext:A,nodeId:ec,strategy:f,placement:ei,open:n,onOpenChange:es,middleware:C??[(0,l.cY)(ea),(0,l.BN)({padding:4,limiter:(0,l.ER)({offset:4+18*!!t}),altBoundary:$}),el,t&&(0,l.UE)({element:en,padding:4}),t&&(0,w.Eh)()]});a.useEffect(()=>{let e=void 0===x?E?.current:x;void 0!==e&&e!==eu.reference.current&&eu.setReference(e)},[x,E,eu]);let eb=(0,i.It)(em,{enabled:!!(K||j),role:K??(j?"dialog":void 0)}),ew=(0,i.s9)(em,{enabled:!B||!P,outsidePress:!B,escapeKey:!P}),{getFloatingProps:ey}=(0,i.bv)(k??[eb,ew]),{isMounted:ex,status:eE}=(0,c.B)({context:em,duration:100*!G,onTransitionIn:Y,onTransitionInComplete:X,onTransitionOut:J,onTransitionOutComplete:Q});a.useEffect(()=>{if(ex&&ed.reference&&ed.floating)return(0,o.ll)(ed.reference,ed.floating,eg)},[ex,ed,eg]);let eC=(0,s.N)(eu.setFloating,S),eA=O;return void 0===eA&&(eA=j?eu.floating:-1),(0,r.jsx)(i.$c,{id:ec,children:ex||e?(0,r.jsx)(u.Z,{container:F,disablePortal:$,children:(0,r.jsx)(i.s3,{context:em,disabled:!ev,modal:j,initialFocus:eA,returnFocus:R,closeOnFocusOut:!I,visuallyHiddenDismiss:!T&&eo("close"),guards:j||!$,order:L,children:(0,r.jsx)("div",{ref:eC,className:M,style:{position:"absolute",top:0,left:0,zIndex:Z,width:"max-content",pointerEvents:ex?"auto":"none",outline:"none",...eh,..._},"data-floating-ui-placement":ep,"data-floating-ui-status":eE,"aria-modal":!!j&&!!ex||void 0,...ey(),children:(0,r.jsxs)("div",{ref:et,className:y({open:ex,"disable-transition":G},V),style:H,"data-qa":W,...(0,h.$)(ee),children:[t&&(0,r.jsx)(m,{ref:er,styles:ef.arrowStyles}),q]})})})}):null})}function E(e){return null===(0,i.R1)()?(0,r.jsx)(i.P6,{children:(0,r.jsx)(x,{...e})}):(0,r.jsx)(x,{...e})}},29548(e,t,n){"use strict";n.d(t,{QT:()=>l,CF:()=>i,Eh:()=>o});var r=n(34743);let a=["auto","auto-start","auto-end"];function i(e,t){let n=e;return t&&("number"==typeof n?n+=8:n={...n,mainAxis:(n.mainAxis??0)+8}),{offset:n}}function l(e,t){let n,i;if(Array.isArray(e))n=e[0],i=(0,r.UU)({padding:4,altBoundary:t,fallbackPlacements:e.slice(1)});else if(e&&a.includes(e)){let a;"auto-start"===e?a="start":"auto-end"===e&&(a="end"),n=void 0,i=(0,r.RK)({padding:4,altBoundary:t,alignment:a})}else{let a;a=e?.startsWith("top")||e?.startsWith("left")?"start":"end",n=e,i=(0,r.UU)({padding:4,altBoundary:t,fallbackAxisSideDirection:a})}return{placement:n,middleware:i}}let o=()=>({name:"arrowStyles",fn:({middlewareData:e})=>e.arrow?{data:{left:e.arrow.x,top:e.arrow.y}}:{}})},18325(e,t,n){"use strict";n.d(t,{Z:()=>u});var r=n(74848),a=n(96540),i=n(176);let l=a.createContext({current:null});l.displayName="PortalContext";var o=n(33324),s=n(35663);let c=(0,n(54699).om)("portal");function u({container:e,children:t,disablePortal:n}){let u,d,h=(u=a.useContext(l),d=null,"object"==typeof window&&(d=window.document.body),u.current??d),{scoped:p}=(0,s.w)(),f=e??h;return n?(0,r.jsx)(a.Fragment,{children:t}):f?(0,r.jsx)(i.XF,{root:f,children:p?(0,r.jsx)(o.N,{rootClassName:c("theme-wrapper"),scoped:!0,children:t}):t}):null}},68506(e,t,n){"use strict";n.d(t,{E:()=>o});var r=n(74848),a=n(96540),i=n(93071);let l=(0,n(54699).om)("text"),o=a.forwardRef(function({as:e,children:t,variant:n,className:a,ellipsis:o,color:s,whiteSpace:c,wordBreak:u,ellipsisLines:d,style:h,qa:p,...f},m){let g={...h};return"number"==typeof d&&(g.WebkitLineClamp=d),(0,r.jsx)(e||"span",{ref:m,className:(({variant:e="body-1",ellipsis:t,ellipsisLines:n,whiteSpace:r,wordBreak:a},i)=>l({variant:e,ellipsis:t,ws:r,wb:a,"ellipsis-lines":n},i))({variant:n,ellipsis:o,whiteSpace:c,wordBreak:u,ellipsisLines:"number"==typeof d},s?(0,i.$)({color:s},a):a),style:g,"data-qa":p,...f,children:t})});o.displayName="Text"},93071(e,t,n){"use strict";n.d(t,{$:()=>a});let r=(0,n(54699).om)("color-text"),a=({color:e},t)=>r({color:e},t)},32565(e,t,n){"use strict";n.d(t,{f:()=>v});var r=n(74848),a=n(96540),i=n(72835),l=n(26812),o=n(53681),s=n(83397),c=n(54699),u=n(40545),d=n(24768),h=n(95084),p=n(47257);let f=(0,c.om)("text-area");function m(e){let{name:t,id:n,tabIndex:i,autoComplete:o,placeholder:s,value:c,defaultValue:u,controlRef:d,controlProps:h,size:m,rows:g,minRows:v=1,maxRows:b,autoFocus:w,disabled:y,readOnly:x,onChange:E,onFocus:C,onBlur:A,onKeyDown:k,onKeyUp:S,onKeyPress:_}=e,M=a.useRef(null),j=(0,l.N)(d,M),O=Math.max(g||v,1),R=c||M?.current?.value,L=a.useCallback(()=>{let e=M?.current,t=e?.parentElement;if(e&&t&&!g){let n=getComputedStyle(e),r=parseInt(n.getPropertyValue("line-height"),10),a=parseInt(n.getPropertyValue("padding-top"),10),i=parseInt(n.getPropertyValue("padding-bottom"),10),l=(R?.match(/\n/g)||[]).length+1,o=t.style.height;t.style.height=`${t.offsetHeight}px`,e.style.height=`${r+a+i}px`;let s=e.style.overflow;e.style.overflow="hidden";let c=Math.max((e=>{let{height:t,lineHeight:n}=e;return(t-(Number.isNaN(e.paddingTop)?0:e.paddingTop)-(Number.isNaN(e.paddingBottom)?0:e.paddingBottom))/n})({height:e.scrollHeight,paddingTop:a,paddingBottom:i,lineHeight:r}),l);b&&b<c?e.style.height=`${b*r+a+i}px`:v&&v>c?e.style.height=`${Math.min(v,b||1/0)*r+a+i}px`:e.style.height=`${e.scrollHeight}px`,e.style.overflow=s,t.style.height=o}},[g,b,v,R]);return(0,p.w)({ref:g?void 0:M,onResize:L}),a.useEffect(()=>{L()},[L,m,c]),(0,r.jsx)("textarea",{...h,ref:j,style:{...h.style,height:g?"auto":void 0},className:f("control",h.className),name:t,id:n,tabIndex:i,placeholder:s,value:c,defaultValue:u,rows:O,autoFocus:w,autoComplete:o,onChange:E,onFocus:C,onBlur:A,onKeyDown:k,onKeyUp:S,onKeyPress:_,disabled:y??h.disabled,readOnly:x??h.readOnly})}let g=(0,c.om)("text-area"),v=a.forwardRef(function(e,t){let{view:n="normal",size:c="m",pin:p="round-round",name:f,value:v,defaultValue:b,disabled:w,readOnly:y,hasClear:x=!1,error:E,errorMessage:C,validationState:A,autoComplete:k,id:S,tabIndex:_,style:M,className:j,qa:O,controlProps:R,note:L,onUpdate:T,onChange:N}=e,{errorMessage:z,validationState:D}=(0,h.Av)({error:E,errorMessage:C,validationState:A}),[P,B]=(0,i.P)(v,b??"",T),I=a.useRef(null),H=(0,s.d)({initialValue:P,onReset:B}),V=(0,l.N)(e.controlRef,I,H),[q,F]=a.useState(!1),$=(0,h.lf)(D),U=(0,o.u)(),G="invalid"===D&&!!z,W=!!(x&&!w&&!y&&P),K=(0,o.u)(),Z=(0,o.u)(),Y=[R?.["aria-describedby"],L?Z:void 0,G?K:void 0].filter(Boolean).join(" "),J={id:S||U,tabIndex:_,name:f,onChange(e){B(e.target.value),N&&N(e)},autoComplete:(0,h.o$)(k),controlProps:{...R,"aria-describedby":Y||void 0,"aria-invalid":"invalid"===D||void 0}};return a.useEffect(()=>{let e=I.current;if(e){let t=e.scrollHeight>e.clientHeight;q!==t&&F(t)}},[P,q]),(0,r.jsxs)("span",{ref:t,style:M,className:g({view:n,size:c,disabled:w,state:$,pin:"clear"===n?void 0:p,"has-clear":W,"has-scrollbar":q},j),"data-qa":O,children:[(0,r.jsxs)("span",{className:g("content"),children:[(0,r.jsx)(m,{...e,...J,controlRef:V}),W&&(0,r.jsx)(u.k,{className:g("clear",{size:c}),size:(0,u.v)(c),onClick:e=>{let t=I.current;if(t){t.focus();let n=Object.create(e);n.target=t,n.currentTarget=t,t.value="",N&&N(n)}B("")}})]}),(0,r.jsx)(d.o,{errorMessage:G?z:null,errorMessageId:K,note:L,noteId:Z})]})})},68472(e,t,n){"use strict";n.d(t,{k:()=>V});var r,a,i=n(74848),l=n(96540),o=n(14204),s=n(72835),c=n(26812),u=n(53681),d=n(83397),h=n(36944),p=n(7350),f=n(56841);function m(e,t){let[n,r]=l.useState({width:0,height:0});return(0,f.N)(()=>{let t=e?.current;if(!t)return;r({width:h(t.offsetWidth,2),height:h(t.offsetHeight,2)});let n=new ResizeObserver(p(e=>{if(!Array.isArray(e))return;let t=e[0];if(t.borderBoxSize){let e=t.borderBoxSize[0]?t.borderBoxSize[0]:t.borderBoxSize;r({width:h(e.inlineSize,2),height:h(e.blockSize,2)})}else{let e=t.target;r({width:h(e.offsetWidth,2),height:h(e.offsetHeight,2)})}},16));return n.observe(t),()=>{n.disconnect()}},[e,t]),n}var g=n(94650),v=n(43168),b=n(81988),w=n(83880),y=n(43302),x=n(47954),E=n(54699);let C=(0,E.om)("popover-legacy"),A=(e,t=!1)=>{switch(e){case"special":return t?"normal-contrast":"flat-contrast";case"announcement":return t?"normal-contrast":"outlined";default:return t?"normal":"flat"}},k=({theme:e,tooltipActionButton:t,tooltipCancelButton:n})=>t||n?(0,i.jsxs)("div",{className:C("tooltip-buttons"),children:[t&&(0,i.jsx)(b.$,{view:A(e,!0),width:"max",onClick:t.onClick,className:C("tooltip-button"),children:t.text}),n&&(0,i.jsx)(b.$,{view:A(e,!1),width:"max",onClick:n.onClick,className:C("tooltip-button"),children:n.text})]}):null,S=({secondary:e,htmlContent:t,content:n,className:r})=>t||n?t?(0,i.jsx)("div",{className:C("tooltip-content",{secondary:e},r),dangerouslySetInnerHTML:{__html:t}}):n?(0,i.jsx)("div",{className:C("tooltip-content",{secondary:e},r),children:n}):null:null;var _=n(64131);let M=({links:e})=>0===e.length?null:(0,i.jsx)("div",{className:C("tooltip-links"),children:e.map((e,t)=>{let{text:n,href:r,target:a="_blank",onClick:o}=e;return(0,i.jsxs)(l.Fragment,{children:[(0,i.jsx)(_.N,{href:r,target:a,onClick:o,className:C("tooltip-link"),children:n}),(0,i.jsx)("br",{})]},`link-${t}`)})});var j=n(61885);let O=({open:e,openOnHover:t,disabled:n,className:r,openTooltip:a,closeTooltip:o,closedManually:s,onClick:c,children:u})=>{let d=async r=>{let i=e&&t;n||i||!(!c||await c(r))||(e?(o(),s.current=!0):(a(),s.current=!1))},{onKeyDown:h}=(0,j.N)(d);return"function"==typeof u?(0,i.jsx)(l.Fragment,{children:u({onClick:d,onKeyDown:h,open:e})}):(0,i.jsx)("div",{className:r,onClick:d,onKeyDown:c?h:void 0,children:u})};(r=a||(a={})).Immediate="immediate",r.Delayed="delayed",r.DelayedClosing="delayedClosing";let R={[a.Immediate]:[0,0],[a.Delayed]:[300,300],[a.DelayedClosing]:[0,300]},L=l.forwardRef(function({initialOpen:e=!1,disabled:t=!1,autoclosable:n=!0,openOnHover:r=!0,delayOpening:o,delayClosing:s,behavior:c=a.Delayed,placement:d,offset:h={},tooltipOffset:p,tooltipClassName:f,theme:m="info",size:E="s",hasArrow:A=!0,hasClose:_=!1,className:j,children:L,title:T,content:N,htmlContent:z,contentClassName:D,links:P,forceLinksAppearance:B=!1,tooltipActionButton:I,tooltipCancelButton:H,onOpenChange:V,onCloseClick:q,onClick:F,anchorRef:$,anchorElement:U,strategy:G,qa:W,disablePortal:K=!1,tooltipId:Z,focusTrap:Y,autoFocus:J,restoreFocusRef:X},Q){let ee=(0,y.j)(),et=l.useRef(null),en=l.useRef(!1),er=l.useRef(e),{isOpen:ea,closingTimeout:ei,openTooltip:el,openTooltipDelayed:eo,unsetOpeningTimeout:es,closeTooltip:ec,closeTooltipDelayed:eu,unsetClosingTimeout:ed}=(({initialOpen:e,disabled:t,autoclosable:n,onOpenChange:r,delayOpening:a,delayClosing:i,behavior:o,shouldBeOpen:s})=>{var c;let u,d=l.useRef(null),h=l.useRef(null),[p,f]=l.useState(e),m=l.useCallback(()=>{d.current&&(clearTimeout(d.current),d.current=null)},[]),g=l.useCallback(()=>{h.current&&(clearTimeout(h.current),h.current=null)},[]);l.useEffect(()=>()=>{m(),g()},[g,m]);let v=l.useCallback(e=>{f(e),s.current=e,r?.(e)},[r,s]),b=l.useCallback(()=>{m(),v(!0)},[v,m]),w=l.useCallback(()=>{g(),v(!1)},[v,g]);l.useEffect(()=>{t&&w()},[t,w]),c=[n,w,s],u=l.useRef(!0),l.useEffect(()=>{if(u.current){u.current=!1;return}(()=>{n&&!s.current&&w()})()},c);let[y,x]=R[o],E=l.useCallback(()=>{d.current=setTimeout(()=>{d.current=null,b()},a??y)},[y,a,b]),C=l.useCallback(()=>{h.current=setTimeout(()=>{h.current=null,w()},i??x)},[w,x,i]);return{isOpen:p,closingTimeout:h,openTooltip:b,openTooltipDelayed:E,unsetOpeningTimeout:m,closeTooltip:w,closeTooltipDelayed:C,unsetClosingTimeout:g}})({initialOpen:e,disabled:t,autoclosable:n,onOpenChange:V,delayOpening:o,delayClosing:s,behavior:c,shouldBeOpen:er}),eh=l.useMemo(()=>d||("rtl"===ee?["left","bottom"]:["right","bottom"]),[ee,d]);l.useImperativeHandle(Q,()=>({openTooltip:el,closeTooltip:ec}),[el,ec]);let ep=async e=>{ec(),q?.(e)},ef=!!T,em=!!($||U),eg=`popover-${Z??""}-title-${(0,u.u)()}`,ev=(0,i.jsx)(w.z,{id:Z,role:r?"tooltip":"dialog",strategy:G,anchorElement:U,anchorRef:$||et,className:C("tooltip",{theme:m,size:E,"with-close":_,"force-links-appearance":B},f),open:ea,placement:eh,hasArrow:A,offset:p,onClose:em?void 0:ec,qa:W?`${W}-tooltip`:"",disablePortal:K,initialFocus:J?0:void 0,modal:Y,returnFocus:X,"aria-labelledby":T?eg:void 0,children:(0,i.jsxs)(l.Fragment,{children:[T&&(0,i.jsx)("h3",{id:eg,className:C("tooltip-title"),children:T}),(0,i.jsx)(S,{secondary:!!ef&&"announcement"!==m,content:N,htmlContent:z,className:D}),P&&(0,i.jsx)(M,{links:P}),(0,i.jsx)(k,{theme:m,tooltipActionButton:I,tooltipCancelButton:H}),_&&(0,i.jsx)("div",{className:C("tooltip-close"),children:(0,i.jsx)(b.$,{size:"s",view:"flat-secondary",onClick:ep,"aria-label":"Close",children:(0,i.jsx)(g.I,{data:v.A,size:16})})})]})});if(em)return ev;let eb=()=>{ed(),ea||t||en.current?er.current=!0:eo()},ew=()=>{!n||en.current||ei.current?er.current=!1:(es(),eu()),en.current=!1};return h&&("number"==typeof h.top||"number"==typeof h.left)&&(0,x.m)('[Popover] Physical names (top, left) of "offset" property are deprecated. Use logical names (block, inline) instead.'),(0,i.jsxs)("div",{ref:et,className:C({disabled:t},j),onMouseEnter:r?eb:void 0,onMouseLeave:r?ew:void 0,onFocus:r?eb:void 0,onBlur:r?ew:void 0,style:{top:h.top,left:h.left,insetBlockStart:h.block,insetInlineStart:h.inline},"data-qa":W,children:[(0,i.jsx)(O,{closeTooltip:ec,openTooltip:el,open:ea,openOnHover:r,className:C("handler"),disabled:t,onClick:F,closedManually:en,children:L}),ev]})});L.displayName="Popover";var T=n(40545),N=n(24768),z=n(95084);let D=(0,E.om)("text-input"),P=l.forwardRef(function({placement:e,children:t,onClick:n},r){return t?(0,i.jsx)("div",{ref:r,className:D("additional-content",{placement:e}),onClick:n,children:t}):null}),B=(0,E.om)("text-input");function I(e){let{controlProps:t,controlRef:n,type:r,name:a,id:l,tabIndex:o,autoComplete:s,placeholder:c,value:u,defaultValue:d,autoFocus:h,disabled:p,readOnly:f,onChange:m,onFocus:g,onBlur:v,onKeyDown:b,onKeyUp:w,onKeyPress:y}=e;return(0,i.jsx)("input",{...t,ref:n,className:B("control",{type:"input"},t.className),type:r,name:a,id:l,tabIndex:o,placeholder:c,value:u,defaultValue:d,autoFocus:h,autoComplete:s,onChange:m,onFocus:g,onBlur:v,onKeyDown:b,onKeyUp:w,onKeyPress:y,disabled:p??t.disabled,readOnly:f??t.readOnly})}let H=(0,E.om)("text-input"),V=l.forwardRef(function(e,t){let{view:n="normal",size:r="m",pin:a="round-round",name:h,value:p,defaultValue:f,label:v,disabled:b,readOnly:w,hasClear:y=!1,error:x,errorMessage:E,errorPlacement:C="outside",validationState:A,autoComplete:k,id:S,tabIndex:_,style:M,className:j,qa:O,controlProps:R,startContent:D,endContent:B,note:V,onUpdate:q,onChange:F}=e,{errorMessage:$,errorPlacement:U,validationState:G}=(0,z.Av)({error:x,errorMessage:E,errorPlacement:C,validationState:A}),[W,K]=(0,s.P)(p,f??"",q),Z=l.useRef(null),Y=(0,d.d)({initialValue:W,onReset:K}),J=(0,c.N)(e.controlRef,Z,Y),X=l.useRef(null),Q=l.useRef(null),ee=(0,z.lf)(G),et=!!v,en="invalid"===G&&!!$&&"outside"===U,er="invalid"===G&&!!$&&"inside"===U,ea=!!(y&&!b&&!w&&W),ei=!!D,el=!!B,eo=et&&!S&&!h&&void 0===k,es=(0,u.u)(),ec=et?S||es:S,eu=m(et?X:null,r),ed=m(ei?Q:null,r),eh=(0,u.u)(),ep=(0,u.u)(),ef=[R?.["aria-describedby"],V?ep:void 0,en?eh:void 0].filter(Boolean).join(" "),em={...R,style:{...R?.style,...et&&eu.width?{paddingInlineStart:`${eu.width}px`}:{}},"aria-invalid":"invalid"===G||void 0,"aria-describedby":ef||void 0},eg={id:ec,tabIndex:_,name:h,onChange(e){K(e.target.value),F&&F(e)},autoComplete:eo?"off":(0,z.o$)(k),controlProps:em},ev=e=>{let t=!e.currentTarget.contains(document.activeElement)&&e.currentTarget.contains(e.target),n=!!document.getSelection()?.toString();t&&!n&&Z.current?.focus()};return(0,i.jsxs)("span",{ref:t,style:M,className:H({view:n,size:r,disabled:b,state:ee,pin:"clear"===n?void 0:a,"has-clear":ea,"has-start-content":ei,"has-end-content":el},j),"data-qa":O,children:[(0,i.jsxs)("span",{className:H("content"),children:[ei&&(0,i.jsx)(P,{ref:Q,placement:"start",onClick:ev,children:D}),et&&(0,i.jsx)("label",{ref:X,style:{insetInlineStart:ei?ed.width:void 0,maxWidth:`calc(50% - ${ed.width}px)`},className:H("label"),title:v,htmlFor:ec,children:`${v}`}),(0,i.jsx)(I,{...e,...eg,controlRef:J}),ea&&(0,i.jsx)(T.k,{size:(0,T.v)(r),onClick:e=>{K("");let t=Z.current;if(t){let n=Object.create(e);n.target=t,n.currentTarget=t,t.value="",F&&F(n)}},className:H("clear",{size:r})}),er&&(0,i.jsx)(L,{content:$,children:(0,i.jsx)("span",{"data-qa":z._y,children:(0,i.jsx)(g.I,{data:o.A,className:H("error-icon"),size:"s"===r?12:16})})}),el&&(0,i.jsx)(P,{placement:"end",onClick:ev,children:B})]}),(0,i.jsx)(N.o,{note:V,errorMessage:en?$:null,noteId:ep,errorMessageId:eh})]})})},40545(e,t,n){"use strict";n.d(t,{v:()=>p,k:()=>f});var r=n(74848),a=n(43168),i=n(81988),l=n(94650),o=n(54699),s=n(17682),c=JSON.parse('{"label_clear-button":"Clear"}'),u=JSON.parse('{"label_clear-button":"Очистить"}');let d=(0,s.N)({en:c,ru:u},`${o.CU}clear-button`),h=(0,o.om)("clear-button"),p=e=>{switch(e){case"s":return"xs";case"m":return"s";case"l":return"m";case"xl":return"l";default:throw Error(`Unknown text input size "${e}"`)}},f=e=>{let{size:t,className:n,onClick:o}=e,{t:s}=d.useTranslation();return(0,r.jsx)(i.$,{size:t,className:h(null,n),onClick:o,onMouseDown:e=>{e.preventDefault()},"aria-label":s("label_clear-button"),children:(0,r.jsx)(l.I,{data:a.A,size:16})})}},24768(e,t,n){"use strict";n.d(t,{o:()=>o});var r=n(74848),a=n(54699),i=n(95084);let l=(0,a.om)("outer-additional-content"),o=({errorMessage:e,note:t,noteId:n,errorMessageId:a})=>e||t?(0,r.jsxs)("div",{className:l(),children:[e&&(0,r.jsx)("div",{className:l("error"),id:a,"data-qa":i.mF,children:e}),t&&(0,r.jsx)("div",{className:l("note"),id:n,children:t})]}):null},95084(e,t,n){"use strict";n.d(t,{Av:()=>o,_y:()=>a,lf:()=>l,mF:()=>r,o$:()=>i});let r="control-error-message-qa",a="control-error-icon-qa",i=e=>"boolean"==typeof e?e?"on":"off":e,l=e=>"invalid"===e?"error":void 0,o=e=>{let t,n,{error:r,errorMessage:a,errorPlacement:i,validationState:l}=e;return"string"==typeof r&&(t=r),a&&(t=a),("invalid"===l||r)&&(n="invalid"),{errorMessage:t,errorPlacement:i,validationState:n}}},79246(e,t,n){"use strict";n.d(t,{a:()=>s});var r=n(74848),a=n(96540),i=n(54699),l=n(79366);let o=(0,i.om)("box"),s=a.forwardRef(function({as:e,children:t,qa:n,className:a,width:i,height:s,minWidth:c,minHeight:u,maxHeight:d,maxWidth:h,position:p,style:f,spacing:m,overflow:g,...v},b){let w={width:i,height:s,minWidth:c,minHeight:u,maxHeight:d,maxWidth:h,position:p,...f};return(0,r.jsx)(e||"div",{...v,"data-qa":n,style:w,ref:b,className:o({overflow:g},m?(0,l.sp)(m,a):a),children:t})})},22462(e,t,n){"use strict";n.d(t,{s:()=>u});var r=n(74848),a=n(96540),i=n(54699),l=n(79246),o=n(70900),s=n(9439);let c=(0,i.om)("flex"),u=a.forwardRef(function(e,t){let{as:n,direction:i,grow:u,basis:d,children:h,style:p,alignContent:f,alignItems:m,alignSelf:g,justifyContent:v,justifyItems:b,justifySelf:w,shrink:y,wrap:x,inline:E,gap:C,gapRow:A,className:k,space:S,centerContent:_,...M}=e,{getClosestMediaProps:j,theme:{spaceBaseSize:O}}=(0,o.L)(),R=e=>"object"==typeof e&&null!==e?j(e):e,L=R(C),T=void 0===L?void 0:O*Number(L),N=R(A)||L,z=void 0===N?void 0:O*Number(N),D=R(S),P=void 0===C&&void 0===A&&void 0!==D?(0,s.si)(D):void 0;return(0,r.jsx)(l.a,{as:n||"div",className:c({"center-content":_,inline:E,s:P},k),ref:t,style:{flexDirection:R(i),flexGrow:!0===u?1:u,flexWrap:!0===x?"wrap":x,flexBasis:d,flexShrink:y,columnGap:T,rowGap:z,alignContent:R(f),alignItems:R(m),alignSelf:R(g),justifyContent:R(v),justifyItems:R(b),justifySelf:R(w),...p},...M,children:S?a.Children.map(h,e=>e?(0,r.jsx)("div",{className:c("wr"),children:e}):e):h})})},43636(e,t,n){"use strict";n.d(t,{W:()=>r,z:()=>a});let r={"0.5":"half"},a={breakpoints:{xs:0,s:576,m:768,l:1080,xl:1200,xxl:1400,xxxl:1920},spaceBaseSize:4,components:{container:{gutters:3,media:{l:{gutters:5}}}}}},88783(e,t,n){"use strict";n.d(t,{M:()=>i});var r=n(96540),a=n(43636);let i=r.createContext({theme:a.z,activeMediaQuery:"s",fixBreakpoints:!1})},70900(e,t,n){"use strict";n.d(t,{L:()=>l});var r=n(96540),a=n(88783),i=n(9439);let l=()=>{let{activeMediaQuery:e,theme:t}=r.useContext(a.M),{isMediaActive:n,getClosestMediaProps:l}=r.useMemo(()=>({isMediaActive:(0,i.nR)(e),getClosestMediaProps:(0,i.yZ)(e)}),[e]);return{theme:t,activeMediaQuery:e,isMediaActive:n,getClosestMediaProps:l}}},79366(e,t,n){"use strict";n.d(t,{Y:()=>l,sp:()=>o});var r=n(54699),a=n(9439);let i=(0,r.om)("s"),l=(e,t)=>{let n=[];for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)){let r=e[t];void 0!==r&&n.push(i(`${t}_${(0,a.si)(r)}`))}return t&&n.push(t),n.join(" ")},o=l},9439(e,t,n){"use strict";n.d(t,{nR:()=>i,si:()=>s,yZ:()=>o});var r=n(43636);let a={xs:0,s:1,m:2,l:3,xl:4,xxl:5,xxxl:6},i=e=>t=>e in a&&a[e]-a[t]>=0,l=["xs","s","m","l","xl","xxl","xxxl"],o=e=>(t={})=>{if(!e)return;let n=e;for(;n;){if(void 0!==t[n])return t[n];n=l[a[n]-1]}},s=e=>e in r.W?r.W[e]:String(e)},92340(e,t,n){"use strict";n.d(t,{G:()=>i});var r=n(96540);let a={mobile:!1,platform:n(89992).O.BROWSER,useHistory:()=>({action:"",replace(){},push(){},goBack(){}}),useLocation:()=>({pathname:"",search:"",hash:""})},i=r.createContext(a)},89992(e,t,n){"use strict";n.d(t,{O:()=>a});var r,a,i=n(54699);(r=a||(a={})).IOS="ios",r.ANDROID="android",r.BROWSER="browser",(0,i.om)("root")({mobile:!0}).split(/\s+/)[1]},35870(e,t,n){"use strict";n.d(t,{D:()=>r});let r=n(96540).createContext(void 0);r.displayName="ThemeContext"},33324(e,t,n){"use strict";n.d(t,{N:()=>y});var r=n(74848),a=n(96540),i=n(56841),l=n(88783);let o={media:"",matches:!1,onchange:()=>{},addListener:()=>{},removeListener:()=>{},addEventListener:()=>{},removeEventListener:()=>{},dispatchEvent:e=>!0},s=e=>"u"<typeof window||"function"!=typeof window.matchMedia?o:window.matchMedia(e);class c{fix;queryListsDecl=[];constructor(e,t){const n=(e=>({xs:`(max-width: ${e.s-1}px)`,s:`(min-width: ${e.s}px) and (max-width: ${e.m-1}px)`,m:`(min-width: ${e.m}px) and (max-width: ${e.l-1}px)`,l:`(min-width: ${e.l}px) and (max-width: ${e.xl-1}px)`,xl:`(min-width: ${e.xl}px) and (max-width: ${e.xxl-1}px)`,xxl:`(min-width: ${e.xxl}px) and (max-width: ${e.xxxl-1}px)`,xxxl:`(min-width: ${e.xxxl}px)`}))(e);this.fix=t,this.queryListsDecl=[["xs",s(n.xs)],["s",s(n.s)],["m",s(n.m)],["l",s(n.l)],["xl",s(n.xl)],["xxl",s(n.xxl)],["xxxl",s(n.xxxl)]]}getCurrentActiveMedia(){let e=this.queryListsDecl.find(([e,t])=>t.matches)?.[0];return e?"xs"!==e||this.fix?e:"s":this.fix?"xs":"s"}addListeners(e){this.queryListsDecl.forEach(([t,n])=>n.addEventListener("change",e))}removeListeners(e){this.queryListsDecl.forEach(([t,n])=>n.removeEventListener("change",e))}}var u=n(55364);function d({children:e,config:t,initialMediaQuery:n,fixBreakpoints:o=!1}){let s=a.useContext(l.M),d=a.useMemo(()=>(function({theme:e,override:t}){return u(e,t)})({theme:s.theme,override:t}),[t,s.theme]),h=((e,t,n)=>{let[r,l]=a.useState(n??(t?"xs":"s"));return(0,i.N)(()=>{let n=new c(e,t),r=()=>{l(n.getCurrentActiveMedia())};return n.addListeners(r),r(),()=>{n.removeListeners(r)}},[e,t]),r})(d.breakpoints,o,n),p=a.useMemo(()=>({activeMediaQuery:h,theme:d,fixBreakpoints:o}),[h,d,o]);return(0,r.jsx)(l.M.Provider,{value:p,children:e})}var h=n(54699),p=n(35870);let f=a.createContext(void 0);f.displayName="ThemeSettingsContext";let m=(0,h.om)("root"),g=m(),v="u">typeof window&&"function"==typeof window.matchMedia;var b=n(79711);let w=(0,h.om)("root");function y({theme:e,systemLightTheme:t,systemDarkTheme:n,direction:l,scoped:o=!1,rootClassName:s="",children:c,layout:u,lang:y,fallbackLang:x}){let E=a.useContext(p.D),C=a.useContext(f),A=a.useContext(b.sJ),k=void 0!==E||o,S=E?.theme??"system",_=e??S,M=t??C?.systemLightTheme??"light",j=n??C?.systemDarkTheme??"dark",O=E?.direction??"ltr",R=l??O,L="light"===function(){let[e,t]=a.useState(v&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light");return a.useEffect(()=>{var e,n;let r;if(!v)return;let a=(e=window.matchMedia("(prefers-color-scheme: dark)"),n=function(e){t(e.matches?"dark":"light")},(r="function"!=typeof e.addEventListener)?e.addListener(n):e.addEventListener("change",n),()=>{r?e.removeListener(n):e.removeEventListener("change",n)});return()=>a()},[]),e}()?M:j,T="system"===_?L:_,N=a.useRef("");(0,i.N)(()=>{if(!k){let e;!function({theme:e,className:t,prevClassName:n}){let r=document.body;r&&(r.classList.contains(g)||r.classList.add(g),n&&n.split(" ").forEach(e=>{e&&r.classList.remove(e)}),t&&t.split(" ").forEach(e=>{e&&!r.classList.contains(e)&&r.classList.add(e)}),[...r.classList].forEach(e=>{e.startsWith((0,h.Nx)(m({theme:!0})))&&r.classList.remove(e)}),r.classList.add((0,h.Nx)(m({theme:e}))))}({theme:T,className:s,prevClassName:N.current}),(e=document.body)&&("ltr"===R?e.removeAttribute("dir"):e.setAttribute("dir",R)),N.current=s}},[k,T,R,s]);let z=a.useMemo(()=>({theme:_,themeValue:T,direction:R,scoped:k}),[_,T,R,k]),D=a.useMemo(()=>({systemLightTheme:M,systemDarkTheme:j}),[M,j]),P=y||x?{...b.SK,...A,...y?{lang:y}:void 0,...x?{fallbackLang:x}:void 0}:A;return(0,r.jsx)(d,{...u,children:(0,r.jsx)(p.D.Provider,{value:z,children:(0,r.jsx)(f.Provider,{value:D,children:(0,r.jsx)(b.sJ.Provider,{value:P,children:k?(0,r.jsx)("div",{className:w({theme:T},s),dir:R,children:c}):c})})})})}y.displayName="ThemeProvider"},43302(e,t,n){"use strict";n.d(t,{j:()=>a});var r=n(35663);function a(){return(0,r.w)().direction}},79711(e,t,n){"use strict";n.d(t,{SK:()=>l,sJ:()=>o,uU:()=>s});var r=n(96540),a=n(19888),i=n(34975);let l={lang:"en",fallbackLang:"en"},o=r.createContext(void 0);function s(){let e=(0,a.useSyncExternalStore)(i.ZM,i.zj,i.zj);return r.useContext(o)||e}},29714(e,t,n){"use strict";n.d(t,{D:()=>a});var r=n(35663);function a(){return(0,r.w)().theme}},35663(e,t,n){"use strict";n.d(t,{w:()=>i});var r=n(96540),a=n(35870);function i(){let e=r.useContext(a.D);if(void 0===e)throw Error("useTheme* hooks must be used within ThemeProvider");return e}},54699(e,t,n){"use strict";n.d(t,{CU:()=>a,Nx:()=>l,om:()=>i});var r=n(61881);let a="g-";(0,r.z)({e:"__",m:"_"});let i=(0,r.z)({n:a,e:"__",m:"_"});function l(e){return e.split(/\s(.*)/)[1]}},2795(e,t,n){"use strict";n.d(t,{$D:()=>s,If:()=>c,zm:()=>o});var r=n(94650),a=n(54699),i=n(27783);let l=1;function o(){return`${a.CU}uniq-${l++}`}let s=(0,i.g)("svg"),c=(0,i.g)(r.I)},30142(e,t,n){"use strict";n.d(t,{o:()=>a});var r=n(54699);let a=new class{subscriptions=[];componentPrefix;constructor(e){this.componentPrefix=e}subscribe(e){this.subscriptions.push(e)}unsubscribe(e){let t=this.subscriptions.indexOf(e);t>-1&&this.subscriptions.splice(t,1)}publish({componentId:e,...t}){this.subscriptions.forEach(n=>n({...t,componentId:this.componentPrefix?`${this.componentPrefix}${e}`:e}))}withEventPublisher(e,t){return n=>{this.publish({...n,componentId:e,qa:t})}}}(r.CU)},37242(e,t,n){"use strict";n.d(t,{$:()=>l});let r=new Set(["id"]),a=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),i=/^(data-.*)$/;function l(e,t={}){let{labelable:n,propNames:o}=t,s={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r.has(t)||n&&a.has(t)||o?.has(t)||i.test(t))&&(s[t]=e[t]);return s}},77753(e,t,n){"use strict";function r(e){return e.props.ref??e.ref}n.d(t,{Q:()=>r})},27783(e,t,n){"use strict";n.d(t,{g:()=>a});var r=n(96540);function a(e){return function(t){if(!r.isValidElement(t))return!1;let{type:n}=t;if(n===e)return!0;if("string"==typeof e||"string"==typeof n)return!1;let a=n.displayName;return!!(a&&a===e.displayName)}}},98308(e,t,n){"use strict";n.d(t,{Z:()=>o});var r=n(96540),a=n(95100),i=n(30142);let l=new class{stack=[];mouseDownLayerTarget;add(e){this.stack.push(e),1===this.stack.length&&this.addListeners(),this.notifyLayersChange()}remove(e){let t=this.stack.indexOf(e);this.stack.splice(t,1),0===this.stack.length&&this.removeListeners(),this.notifyLayersChange()}getLayersCount(){return this.stack.length}getLayers(){return this.stack.map(({type:e})=>({type:e}))}addListeners(){document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("click",this.handleDocumentClick,!0),document.addEventListener("mousedown",this.handleDocumentMouseDown,!0)}removeListeners(){document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("click",this.handleDocumentClick,!0),document.removeEventListener("mousedown",this.handleDocumentMouseDown,!0)}notifyLayersChange(){i.o.publish({componentId:"LayerManager",eventId:"layerschange",meta:{layersCount:this.getLayersCount(),layers:this.getLayers()}})}handleDocumentKeyDown=e=>{if(e.code===a.D.ESCAPE){let t=this.getTopLayer();t.disableEscapeKeyDown||(t.onEscapeKeyDown?.(e),t.onClose?.(e,"escapeKeyDown"))}if(e.code===a.D.ENTER){let t=this.getTopLayer();t.onEnterKeyDown?.(e)}};handleDocumentClick=e=>{let t;if(this.isToastClick(e))return;let n=null;if(this.mouseDownLayerTarget){if(t=this.mouseDownLayerTarget.layer,n=this.mouseDownLayerTarget.target,this.mouseDownLayerTarget=void 0,!this.stack.includes(t))return}else t=this.getTopLayer();!t.disableOutsideClick&&this.isOutsideClick(t,e,n)&&(t.onOutsideClick?.(e),t.onClose?.(e,"outsideClick"))};handleDocumentMouseDown=e=>{let t=this.getTopLayer();t&&(this.mouseDownLayerTarget={layer:t,target:e.target})};getTopLayer(){return this.stack[this.stack.length-1]}isOutsideClick(e,t,n=null){let r=e.contentRefs||[],{target:a}=t,i="function"==typeof t.composedPath?t.composedPath():[];return r.length>0&&!r.some(e=>e?.current?.contains?.(a)||e?.current?.contains?.(n)||i.includes(e?.current))}isToastClick(e){return("function"==typeof e.composedPath?e.composedPath():[]).some(e=>!!e?.dataset?.toast)}};function o({open:e,disableEscapeKeyDown:t,disableOutsideClick:n,onEscapeKeyDown:a,onEnterKeyDown:i,onOutsideClick:o,onClose:s,contentRefs:c,enabled:u=!0,type:d}){let h=r.useRef({disableEscapeKeyDown:t,disableOutsideClick:n,onEscapeKeyDown:a,onEnterKeyDown:i,onOutsideClick:o,onClose:s,contentRefs:c,type:d});r.useEffect(()=>{Object.assign(h.current,{disableEscapeKeyDown:t,disableOutsideClick:n,onEscapeKeyDown:a,onEnterKeyDown:i,onOutsideClick:o,onClose:s,contentRefs:c,enabled:u})},[t,n,a,i,o,s,c,u]),r.useEffect(()=>{if(e&&u){let e=h.current;return l.add(e),()=>{l.remove(e)}}},[e,u])}},47954(e,t,n){"use strict";function r(e){}n.d(t,{m:()=>r})},95100(e,t,n){"use strict";n.d(t,{D:()=>r});let r={BACKSPACE:"Backspace",ENTER:"Enter",TAB:"Tab",SPACE:"Space",SPACEBAR:" ",SPACEBAR_OLD:"Spacebar",ESCAPE:"Escape",ARROW_UP:"ArrowUp",ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown",SHIFT:"Shift",HOME:"Home",END:"End"}},95565(e,t,n){"use strict";n.d(t,{e:()=>i});var r=n(96540),a=n(47257);function i({ref:e,enabled:t}){let n=function({media:e}){let t=r.useMemo(()=>"u"<typeof window?null:window.matchMedia(e),[e]),[n,a]=r.useState(!!t?.matches);return r.useEffect(()=>{let e=e=>{a(e.matches)};return a(!!t?.matches),t?.addEventListener("change",e),()=>t?.removeEventListener("change",e)},[t]),n}({media:"(prefers-reduced-motion: reduce)"}),i=t&&!n,o=r.useRef(null),s=r.useRef(!1),c=r.useRef(""),u=r.useRef(-1);r.useEffect(()=>{let t,n=e?.current;return n&&i&&(t=new MutationObserver(e=>{e.length&&s.current&&(o.current=l(n),s.current=!1,n.style.height="",n.style.overflowY=c.current,cancelAnimationFrame(u.current))})).observe(n,{childList:!0,subtree:!0}),()=>{t?.disconnect()}},[e,i]),r.useEffect(()=>{i||(o.current=null,s.current=!1)},[i]);let d=r.useCallback(t=>{let n=e?.current;if(!n||s.current||!i)return;let r=l(n);if(!o.current&&!c.current){o.current=r,c.current=n.style.overflowY;return}if(o.current&&r===o.current)return;t.observer?.unobserve(n),n.style.height=`${o.current}px`,s.current=!0,n.style.overflowY="clip";let a=e=>{"height"===e.propertyName&&(n.removeEventListener("transitionend",a),setTimeout(()=>{n.style.height="",n.style.overflowY=c.current,s.current=!1},0))};n.addEventListener("transitionend",a),u.current=requestAnimationFrame(()=>{t.observer?.observe(n),n.style.height=`${r}px`,o.current=r})},[e,i]);(0,a.w)({ref:i?e:void 0,onResize:d})}function l(e){let t=window.getComputedStyle(e,null);if("border-box"===t.getPropertyValue("box-sizing"))return e.clientHeight;let n=parseInt(t.getPropertyValue("padding-top"),10),r=parseInt(t.getPropertyValue("padding-bottom"),10);return e.clientHeight-n-r}},81533(e,t,n){"use strict";n.d(t,{v:()=>c});var r=n(96540),a=n(72835),i=n(26812),l=n(56841),o=n(30142),s=n(83397);function c({name:e,value:t,id:n,defaultChecked:c,checked:u,indeterminate:d,onUpdate:h,onChange:p,controlRef:f,controlProps:m,onFocus:g,onBlur:v,disabled:b}){let w=r.useRef(null),[y,x]=(0,a.P)(u,c??!1,h),E=!d&&u,C=(0,s.d)({initialValue:y,onReset:x}),A=(0,i.N)(f,w,C);(0,l.N)(()=>{w.current&&(w.current.indeterminate=!!d)},[d]);let k=r.useCallback(e=>{o.o.publish({componentId:"Checkbox",eventId:"click",domEvent:e,meta:{checked:e.target.checked}})},[]);return{checked:y,inputProps:{...m,name:e,value:t,id:n,onFocus:g,onBlur:v,disabled:b,type:"checkbox",onChange:e=>{x(e.target.checked),p&&p(e)},onClickCapture:k,defaultChecked:c,checked:E,ref:A}}}},40707(e,t,n){"use strict";n.d(t,{B:()=>i});var r=n(96540),a=n(176);function i({context:e,duration:t,onTransitionIn:n,onTransitionInComplete:i,onTransitionOut:l,onTransitionOutComplete:o}){let s,{isMounted:c,status:u}=(0,a.$X)(e,{duration:t}),d=(s=r.useRef(),r.useEffect(()=>{s.current=u}),s.current),h=("number"==typeof t?t:t.open)??0,p=r.useRef(null);return r.useEffect(()=>{"open"===u&&"initial"===d&&(n?.(),p.current=setTimeout(()=>{i?.(),p.current=null},h)),"close"===u&&"open"===d&&(p.current&&(clearTimeout(p.current),p.current=null),l?.()),"unmounted"===u&&"close"===d&&o?.()},[u,d,h,n,i,l,o]),r.useEffect(()=>()=>{p.current&&(clearTimeout(p.current),p.current=null)},[]),{isMounted:c,status:u}}},83397(e,t,n){"use strict";n.d(t,{d:()=>a});var r=n(96540);function a({initialValue:e,onReset:t}){let[n,a]=r.useState(null),i=r.useRef(e);return r.useEffect(()=>{if(!n)return;let e=()=>{t(i.current)};return n.addEventListener("reset",e),()=>{n.removeEventListener("reset",e)}},[n,t]),r.useCallback(e=>{a(e?.form??null)},[])}},61885(e,t,n){"use strict";n.d(t,{N:()=>i});var r=n(96540),a=n(95100);function i(e){return{onKeyDown:r.useMemo(()=>t=>{e&&[a.D.ENTER,a.D.SPACEBAR,a.D.SPACEBAR_OLD].includes(t.key)&&(t.preventDefault(),e(t))},[e])}}},72835(e,t,n){"use strict";n.d(t,{P:()=>a});var r=n(96540);function a(e,t,n){let[a,i]=r.useState(e??t),l=r.useRef(void 0!==e),o=void 0!==e;r.useEffect(()=>{let e=l.current;e!==o&&console.error(`[useControlledState] A component changed from ${e?"controlled":"uncontrolled"} to ${o?"controlled":"uncontrolled"}.`),l.current=o},[o]);let s=o?e:a,c=r.useCallback((e,...t)=>{Object.is(s,e)||n?.(e,...t),o||(s=e,i(e))},[o,n,s]);return[s,c]}},26812(e,t,n){"use strict";n.d(t,{N:()=>a});var r=n(96540);function a(...e){return r.useMemo(()=>e.every(e=>null==e)?null:function(...e){return function(t){for(let n of e)"function"==typeof n?n(t):n&&(n.current=t)}}(...e),e)}},56841(e,t,n){"use strict";n.d(t,{N:()=>a});var r=n(96540);let a="u"<typeof window?()=>{}:r.useLayoutEffect},47257(e,t,n){"use strict";n.d(t,{w:()=>a});var r=n(96540);function a({ref:e,onResize:t,box:n}){r.useEffect(()=>{let r=e?.current;if(!r)return;if(void 0===window.ResizeObserver){let e=()=>{t({})};return window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}}let a=new ResizeObserver(e=>{e.length&&t({observer:a})});return a.observe(r,{box:n}),()=>{a.disconnect()}},[e,t,n])}},53681(e,t,n){"use strict";n.d(t,{u:()=>l});var r=n(96540),a=n(54699),i=n(2795);let l="function"==typeof r.useId?function(){return`${a.CU}${r.useId()}`}:function(){let e=r.useRef();return void 0===e.current&&(e.current=(0,i.zm)()),e.current}},17682(e,t,n){"use strict";n.d(t,{N:()=>b});var r,a,i,l,o=n(96540),s=n(79711);let c=/{{(.*?)}}/g,u=()=>new RegExp(/\$t{([^}]+)}/g);function d(e,t){return 0===e?t.None:1===e||-1===e?t.One:t.Many}function h(e,t){let n=Math.abs(e%10),r=Math.abs(e%100);return 0===e?t.None:1===n&&11!==r?t.One:n>1&&n<5&&(r<10||r>20)?t.Few:t.Many}(r=i||(i={})).EmptyKeyset="EMPTY_KEYSET",r.EmptyLanguageData="EMPTY_LANGUAGE_DATA",r.KeysetNotFound="KEYSET_NOT_FOUND",r.MissingKey="MISSING_KEY",r.MissingKeyFor0="MISSING_KEY_FOR_0",r.MissingKeyParamsCount="MISSING_KEY_PARAMS_COUNT",r.MissingKeyPlurals="MISSING_KEY_PLURALS",r.MissingInheritedKey="MISSING_INHERITED_KEY",r.NestedPlural="NESTED_PLURAL",r.ExceedTranslationNestingDepth="EXCEED_TRANSLATION_NESTING_DEPTH",r.NoLanguageData="NO_LANGUAGE_DATA",Object.values(i),(a=l||(l={}))[a.One=0]="One",a[a.Few=1]="Few",a[a.Many=2]="Many",a[a.None=3]="None";class p{constructor(e,t,n,r,a,i){this.i18n=e,this.lang=t,this.key=n,this.keysetName=r,this.params=a,this.nestingDepth=null!=i?i:0}getTranslationData(){var e;let{data:t,details:n}=this.getKeyset();if(n)return{details:n};let r=t&&t[this.key],a={};if(void 0===r)return this.getTranslationDataError(i.MissingKey);if("string"!=typeof r){let t=this.nestingDepth>0,n=(r instanceof Array?r:r instanceof Object?Object.values(r):[]).some(e=>{var t;let n;return(null!=(t=null==(n=u().exec(e))?void 0:n.length)?t:0)>0});if(t||n)return this.getTranslationDataError(i.NestedPlural);let o=Number(null==(e=this.params)?void 0:e.count);if(Number.isNaN(o))return this.getTranslationDataError(i.MissingKeyParamsCount);a.text=function({value:e,count:t,lang:n,pluralizers:r,log:a,key:i}){if(!Array.isArray(e))return function(e,t,n){if(e.zero&&0===t)return e.zero;if(!Intl.PluralRules)throw Error("Intl.PluralRules is not available. Use polyfill.");let r=new Intl.PluralRules(n).select(t);return"other"===r&&void 0===e.other?e.many||e.few:e[r]||e.other}(e,t,n)||i;if(!r)return a("Can not use deprecated plural format without pluralizers"),i;if(r[n]||a(`Pluralization is not configured for language '${n}', falling back to the english ruleset`),e.length<3)return a("Missing required plurals"),i;let o=r[n]||r.en;return o?e[o(t,l)]||e[l.Many]||i:(a("Fallback pluralization is not configured!"),i)}({key:this.key,value:r,count:o,lang:this.lang||"en",pluralizers:this.i18n.pluralizers,log:e=>this.i18n.warn(e,this.keysetName,this.key)})}else a.text=String(r);this.params&&(a.text=function(e,t){let n,r="",a=c.lastIndex=0;for(;n=c.exec(e);){a!==n.index&&(r+=e.slice(a,n.index)),a=c.lastIndex;let[i,l]=n;l&&Object.prototype.hasOwnProperty.call(t,l)?r+=t[l]:r+=i}return a<e.length&&(r+=e.slice(a)),r}(String(a.text),this.params));let o=this.replaceTranslationsInheritance({keyValue:String(a.text)});return o.text?(a.text=o.text,a):o}getTranslationDataError(e){return{details:{code:e,keysetName:this.keysetName,key:this.key}}}getKeyset(){let e=this.i18n.getLanguageData(this.lang);if(void 0===e)return this.getTranslationDataError(i.NoLanguageData);if(0===Object.keys(e).length)return this.getTranslationDataError(i.EmptyLanguageData);let t=e[this.keysetName];return t?0===Object.keys(t).length?this.getTranslationDataError(i.EmptyKeyset):{data:t}:this.getTranslationDataError(i.KeysetNotFound)}replaceTranslationsInheritance(e){let t,{keyValue:n}=e,r=u(),a="",l=r.lastIndex=0;for(;t=r.exec(n);){l!==t.index&&(a+=n.slice(l,t.index)),l=r.lastIndex;let[e,o]=t;if(o){if(this.nestingDepth+1>1)return this.getTranslationDataError(i.ExceedTranslationNestingDepth);let[e,t]=[o,void 0],n=o.split("::");if(n.length>1&&([t,e]=[n[0],n[1]]),!e)return this.getTranslationDataError(i.MissingInheritedKey);let r=new p(this.i18n,this.lang,e,null!=t?t:this.keysetName,void 0,this.nestingDepth+1).getTranslationData();if(r.details)return this.getTranslationDataError(i.MissingInheritedKey);a+=r.text}else a+=e}return l<n.length&&(a+=n.slice(l)),{text:a}}}var f=n(34975);let{lang:m,fallbackLang:g}=(0,f.zj)(),v=new class{constructor(e={}){this.data={},this.pluralizers={en:d,ru:h},this.logger=null;const{data:t,fallbackLang:n,lang:r,logger:a=null}=e;this.fallbackLang=n,this.lang=r,this.logger=a,t&&Object.entries(t).forEach(([e,t])=>{this.registerKeysets(e,t)})}setLang(e){this.lang=e}setFallbackLang(e){this.fallbackLang=e}configurePluralization(e){this.pluralizers=Object.assign({},this.pluralizers,e)}registerKeyset(e,t,n={}){this.data[e]&&Object.prototype.hasOwnProperty.call(this.data[e],t),this.data[e]=Object.assign({},this.data[e],{[t]:n})}registerKeysets(e,t){Object.keys(t).forEach(n=>{this.registerKeyset(e,n,t[n])})}has(e,t,n){var r;let a=this.getLanguageData(n);return!!(a&&a[e]&&(null==(r=a[e])?void 0:r[t]))}i18n(e,t,n){let r;if(!this.lang&&!this.fallbackLang)throw Error('Language is not specified. You should set at least one of these: "lang", "fallbackLang"');return this.lang?r=this._i18n(e,t,this.lang,n):this.warn("Target language is not specified."),void 0===r&&this.fallbackLang&&this.fallbackLang!==this.lang&&(r=this._i18n(e,t,this.fallbackLang,n)),null!=r?r:t}keyset(e){return(t,n)=>this.i18n(e,t,n)}warn(e,t,n){var r;let a="";t?(a+=t,n&&(a+=`.${n}`)):a="languageData",null==(r=this.logger)||r.log(`I18n: ${e}`,{level:"info",logger:a,extra:{type:"i18n"}})}getLanguageData(e){let t=e||this.lang;return t?this.data[t]:void 0}_i18n(e,t,n,r){let{text:a,details:l}=new p(this,n,t,e,r).getTranslationData();if(l){let e=function(e){let{code:t,fallbackLang:n,lang:r}=e,a=`Using language ${r}. `;switch(t){case i.EmptyKeyset:a+="Keyset is empty.";break;case i.EmptyLanguageData:a+="Language data is empty.";break;case i.KeysetNotFound:a+="Keyset not found.";break;case i.MissingKey:a+="Missing key.";break;case i.MissingKeyFor0:return a+"Missing key for 0";case i.MissingKeyParamsCount:a+="Missing params.count for key.";break;case i.MissingKeyPlurals:a+="Missing required plurals.";break;case i.NoLanguageData:a=`Language "${r}" is not defined, make sure you call setLang for the same language you called registerKeysets for!`}return n&&(a+=` Trying to use fallback language "${n}"...`),a}({code:l.code,lang:n,fallbackLang:this.fallbackLang===n?void 0:this.fallbackLang});this.warn(e,l.keysetName,l.key)}return a}}({lang:m,fallbackLang:g});function b(e,t){Object.entries(e).forEach(([e,n])=>v.registerKeyset(e,t,n));let n=v.keyset(t),r=()=>{let e=(0,s.uU)(),{lang:t="en",fallbackLang:r="en"}=v;return{t:o.useCallback((...a)=>{v.setLang(e.lang),v.setFallbackLang(e.fallbackLang);let i=n(...a);return v.setLang(t),v.setFallbackLang(r),i},[r,t,e.fallbackLang,e.lang])}};return Object.assign(n,{useTranslation:r,Translation:({children:e})=>e(r())}),n}(0,f.ZM)(e=>{v.setLang(e.lang),v.setFallbackLang(e.fallbackLang)})},34975(e,t,n){"use strict";var r,a;n.d(t,{JA:()=>r,ZM:()=>s,jK:()=>o,zj:()=>c}),(a=r||(r={})).Ru="ru",a.En="en";let i=[],l={lang:r.En,fallbackLang:r.En},o=e=>{Object.assign(l,e),i.forEach(e=>{e(l)})},s=e=>(i.push(e),()=>{i=i.filter(t=>t!==e)}),c=()=>l},47835(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{_:()=>r})},18806(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{_:()=>r})},41374(e,t,n){"use strict";function r(e,t,n,r,a,i,l){try{var o=e[i](l),s=o.value}catch(e){n(e);return}o.done?t(s):Promise.resolve(s).then(r,a)}function a(e){return function(){var t=this,n=arguments;return new Promise(function(a,i){var l=e.apply(t,n);function o(e){r(l,a,i,o,s,"next",e)}function s(e){r(l,a,i,o,s,"throw",e)}o(void 0)})}}n.d(t,{_:()=>a})},30494(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}n.d(t,{_:()=>r})},99407(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,{_:()=>a})},50467(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{_:()=>r})},53750(e,t,n){"use strict";function r(e,t){return null!=t&&"u">typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}n.d(t,{_:()=>r})},17818(e,t,n){"use strict";function r(e,t){var n,r,a=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var i=[],l=!0,o=!1;try{for(a=a.call(e);!(l=(n=a.next()).done)&&(i.push(n.value),!t||i.length!==t);l=!0);}catch(e){o=!0,r=e}finally{try{l||null==a.return||a.return()}finally{if(o)throw r}}return i}}n.d(t,{_:()=>r})},52615(e,t,n){"use strict";function r(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{_:()=>r})},71893(e,t,n){"use strict";n.d(t,{_:()=>a});var r=n(50467);function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){(0,r._)(e,t,n[t])})}return e}},55456(e,t,n){"use strict";function r(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}n.d(t,{_:()=>r})},31105(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,a,i={};if("u">typeof Reflect&&Reflect.ownKeys){for(a=0,n=Reflect.ownKeys(e);a<n.length;a++)r=n[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r]);return i}if(i=function(e,t){if(null==e)return{};var n,r,a={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n]);return a}(e,t),Object.getOwnPropertySymbols)for(a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)r=n[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r]);return i}n.d(t,{_:()=>r})},53014(e,t,n){"use strict";n.d(t,{_:()=>o});var r=n(18806),a=n(17818),i=n(52615),l=n(75134);function o(e,t){return(0,r._)(e)||(0,a._)(e,t)||(0,l._)(e,t)||(0,i._)()}},60478(e,t,n){"use strict";n.d(t,{_:()=>i});var r=n(47835),a=n(75134);function i(e){return function(e){if(Array.isArray(e))return(0,r._)(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,a._)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},51735(e,t,n){"use strict";function r(e,t){var n,r,a,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},l=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),o=Object.defineProperty;return o(l,"next",{value:s(0)}),o(l,"throw",{value:s(1)}),o(l,"return",{value:s(2)}),"function"==typeof Symbol&&o(l,Symbol.iterator,{value:function(){return this}}),l;function s(o){return function(s){var c=[o,s];if(n)throw TypeError("Generator is already executing.");for(;l&&(l=0,c[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&c[0]?r.return:c[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,c[1])).done)return a;switch(r=0,a&&(c=[2&c[0],a.value]),c[0]){case 0:case 1:a=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,r=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!(a=(a=i.trys).length>0&&a[a.length-1])&&(6===c[0]||2===c[0])){i=0;continue}if(3===c[0]&&(!a||c[1]>a[0]&&c[1]<a[3])){i.label=c[1];break}if(6===c[0]&&i.label<a[1]){i.label=a[1],a=c;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(c);break}a[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(e){c=[6,e],r=0}finally{n=a=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}n.d(t,{_:()=>r})},61642(e,t,n){"use strict";function r(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}n.d(t,{_:()=>r})},75134(e,t,n){"use strict";n.d(t,{_:()=>a});var r=n(47835);function a(e,t){if(e){if("string"==typeof e)return(0,r._)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return(0,r._)(e,t)}}},53054(e,t,n){"use strict";let r;n.d(t,{Bd:()=>v,r9:()=>b});var a=n(96540);n(34915),Object.create(null);let i=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,l={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"\xa9","&#169;":"\xa9","&reg;":"\xae","&#174;":"\xae","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},o=e=>l[e],s={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(i,o)},c=(0,a.createContext)();class u{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}let d={},h=(e,t,n,r)=>{g(n)&&d[n]||(g(n)&&(d[n]=new Date),((e,t,n,r)=>{let a=[n,{code:t,...r||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(a,"warn","react-i18next::",!0);g(a[0])&&(a[0]=`react-i18next:: ${a[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...a):console?.warn&&console.warn(...a)})(e,t,n,r))},p=(e,t)=>()=>{if(e.isInitialized)t();else{let n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},f=(e,t,n)=>{e.loadNamespaces(t,p(e,n))},m=(e,t,n,r)=>{if(g(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return f(e,n,r);n.forEach(t=>{0>e.options.ns.indexOf(t)&&e.options.ns.push(t)}),e.loadLanguages(t,p(e,r))},g=e=>"string"==typeof e,v=(e,t={})=>{var n,i,l,o;let d,{i18n:p}=t,{i18n:v,defaultNS:b}=(0,a.useContext)(c)||{},w=p||v||r;if(w&&!w.reportNamespaces&&(w.reportNamespaces=new u),!w){h(w,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");let e=(e,t)=>g(t)?t:"object"==typeof t&&null!==t&&g(t.defaultValue)?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}w.options.react?.wait&&h(w,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");let y={...s,...w.options.react,...t},{useSuspense:x,keyPrefix:E}=y,C=e||b||w.options?.defaultNS;C=g(C)?[C]:C||["translation"],w.reportNamespaces.addUsedNamespaces?.(C);let A=(w.isInitialized||w.initializedStoreOnce)&&C.every(e=>((e,t,n={})=>t.languages&&t.languages.length?t.hasLoadedNamespace(e,{lng:n.lng,precheck:(t,r)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}):(h(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0))(e,w,y)),k=(n=t.lng||null,i="fallback"===y.nsMode?C:C[0],(0,a.useCallback)(w.getFixedT(n,i,E),[w,n,i,E])),S=()=>k,_=()=>{let e,n;return e=t.lng||null,n="fallback"===y.nsMode?C:C[0],w.getFixedT(e,n,E)},[M,j]=(0,a.useState)(S),O=C.join();t.lng&&(O=`${t.lng}${O}`);let R=(l=O,d=(0,a.useRef)(),(0,a.useEffect)(()=>{d.current=o?d.current:l},[l,o]),d.current),L=(0,a.useRef)(!0);(0,a.useEffect)(()=>{let{bindI18n:e,bindI18nStore:n}=y;L.current=!0,A||x||(t.lng?m(w,t.lng,C,()=>{L.current&&j(_)}):f(w,C,()=>{L.current&&j(_)})),A&&R&&R!==O&&L.current&&j(_);let r=()=>{L.current&&j(_)};return e&&w?.on(e,r),n&&w?.store.on(n,r),()=>{L.current=!1,w&&e&&e?.split(" ").forEach(e=>w.off(e,r)),n&&w&&n.split(" ").forEach(e=>w.store.off(e,r))}},[w,O]),(0,a.useEffect)(()=>{L.current&&A&&j(S)},[w,E,A]);let T=[M,w,A];if(T.t=M,T.i18n=w,T.ready=A,A||!A&&!x)return T;throw new Promise(e=>{t.lng?m(w,t.lng,C,()=>e()):f(w,C,()=>e())})},b={type:"3rdParty",init(e){((e={})=>{s={...s,...e}})(e.options.react),r=e}}},34236(e,t,n){"use strict";n.d(t,{A:()=>C});var r=n(71893),a=n(96540),i=n(53014),l=n(61642),o=n(5338),s=n(74848),c=n.t(s,2),u=(0,a.createContext)(null),d=(0,a.createContext)(null),h=new WeakMap;new WeakMap;var p=(0,a.forwardRef)(function(e,t){var n=e.ctx,r=e.children,l=e.initValue,o=(0,i._)(a.useState(function(){return l}),2),s=o[0],c=o[1];return(0,a.useImperativeHandle)(t,function(){return{setValue:function(e){return c(function(){return e})}}},[]),a.createElement(n.Provider,{value:s,children:r})}),f=new WeakMap,m=new WeakMap,g=new WeakMap,v=function(e){var t=e.idMdxComponent,n=e.isSSR,r=e.ctr,s=e.components,c=e.setPortal,v=e.idTagName,w=e.getCtxEmitterRef,y=e.contextList,x=void 0===y?[]:y,E=Object.entries(t).map(function(e){var t,y,E,C=(0,i._)(e,2),A=C[0],k=C[1],S=r.querySelector(".".concat(A));if(!S)return function(){};if(m.get(S)&&S.parentNode){var _=S.cloneNode(!0);S.parentNode.replaceChild(_,S),S=_}var M=(null==S||null==(y=S.dataset)?void 0:y.mdxState)?JSON.parse(S.dataset.mdxState):null,j=a.createElement(u.Provider,{value:M,children:a.createElement(k,{components:s})}),O=s&&!!(t=s[v[A]])&&(void 0===t?"undefined":(0,l._)(t))==="object"&&h.has(t);if(O)g.has(S)||(g.set(S,!0),S.textContent=null),c({id:A,node:S,reactNode:j});else{var R=a.createElement(d.Provider,{value:c,children:x.reduce(function(e,t){var n=b(t).ctx,r=w(k,n),i=r.ref,l=r.value;return a.createElement(p,{ref:i,ctx:n,children:e,initValue:l})},j)});if(E=f.get(S))E.render(R);else{var L={identifierPrefix:A};n?E=(0,o.hydrateRoot)(S,R,L):(E=(0,o.createRoot)(S,L)).render(R),f.set(S,E)}}return function(){m.set(S,!0),w(k,null),O?c({id:A,node:null,reactNode:null}):E&&setTimeout(function(){return E.unmount()},0)}});return function(){return E.forEach(function(e){return e()})}};function b(e){var t,n;return"ctx"in e?(t=e.ctx,n=e.initValue):t=e,{ctx:t,initValue:n}}var w=n(40961);let y=function(){var e=(0,a.useRef)(new Map),t=(0,i._)((0,a.useState)([]),2),n=t[0],r=t[1],l=(0,a.useCallback)(function(t){var n=t.id,a=t.node,i=t.reactNode,l=e.current;a?l.set(n,(0,w.createPortal)(i,a,n)):l.delete(n),r(Array.from(l.values()))},[]);return{portalsNode:(0,a.useMemo)(function(){return a.createElement(a.Fragment,{children:n})},[n]),setPortal:l}},x=function(e){var t=e.ctx,n=e.setValue,r=(0,a.useContext)(t);return(0,a.useMemo)(function(){return n(r)},[r,n]),null},E=function(e){var t=(0,a.useRef)(new Map),n=(0,a.useRef)(new Map),r=(0,a.useCallback)(function(e,r){var a=t.current,i=n.current;a.set(e,r),i.forEach(function(t){t.forEach(function(t){var n=t.ctx,a=t.ref;a.current&&n===e&&a.current.setValue(r)})})},[]),i=(0,a.useMemo)(function(){return e?e.map(function(e,t){var n,i=b(e).ctx;return a.createElement(x,{key:"ctx-".concat(null!=(n=i.displayName)?n:t),ctx:i,setValue:function(e){return r(i,e)}})}):[]},[e,r]);return{getCtxEmitterRef:(0,a.useCallback)(function(e,r){var a=n.current;if(!r)return a.delete(e),{ref:null,value:null};var i={current:null},l=t.current,o=a.get(e);return o||(o=[],a.set(e,o)),o.push({ctx:r,ref:i}),{ref:i,value:l.get(r)}},[]),listenerNode:a.createElement(a.Fragment,{children:i})}},C=function(e){var t=e.html,n=e.refCtr,l=e.mdxArtifacts,o=e.components,s=e.pureComponents,u=e.contextList,d=e.idMdxComponentLoader,h=(0,a.useRef)(function(){}),p=y(),f=p.portalsNode,m=p.setPortal,g=(0,a.useMemo)(function(){return(0,r._)({},o,s)},[o,s]),b=(0,a.useMemo)(function(){var e;return d?d.data:Object.entries(null!=(e=null==l?void 0:l.idMdx)?e:{}).reduce(function(e,t){var n,r,a=(0,i._)(t,2),l=a[0],o=a[1];return e[l]=(n=o,r=c,Function(String(n))(r)).default,e},{})},[null==l?void 0:l.idMdx,null==d?void 0:d.data]),w=(0,a.useMemo)(function(){var e;return null!=(e=null==l?void 0:l.idTagName)?e:{}},[l]),x=E(u),C=x.getCtxEmitterRef,A=x.listenerNode;return(0,a.useLayoutEffect)(function(){return function(){return h.current()}},[t,n]),(0,a.useLayoutEffect)(function(){if(!d||d.isSuccess){var e=n.current;if(!e)throw Error("ctr is null");if(!b)throw Error("idMdxComponent is null");h.current=v({idMdxComponent:b,idTagName:w,ctr:e,components:g,setPortal:m,getCtxEmitterRef:C,contextList:u,isSSR:!0})}},[t,n,g,b,w,m,C,u,null==d?void 0:d.isSuccess]),a.createElement(a.Fragment,null,f,A)}}}]);
862
- //# sourceMappingURL=vendor-c530f888d6027e43.js.map
862
+ //# sourceMappingURL=vendor-03ddcd4b4ab9d816.js.map