@allurereport/web-classic 3.0.0-beta.9 → 3.0.1

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.
Files changed (143) hide show
  1. package/.eslintrc.cjs +1 -1
  2. package/dist/multi/10.app-81fc0bb26fd1b73b22f9.js +1 -0
  3. package/dist/multi/222.app-81fc0bb26fd1b73b22f9.js +1 -0
  4. package/dist/multi/26.app-81fc0bb26fd1b73b22f9.js +1 -0
  5. package/dist/multi/302.app-81fc0bb26fd1b73b22f9.js +1 -0
  6. package/dist/multi/304.app-81fc0bb26fd1b73b22f9.js +1 -0
  7. package/dist/multi/369.app-81fc0bb26fd1b73b22f9.js +1 -0
  8. package/dist/multi/389.app-81fc0bb26fd1b73b22f9.js +1 -0
  9. package/dist/multi/498.app-81fc0bb26fd1b73b22f9.js +1 -0
  10. package/dist/multi/60.app-81fc0bb26fd1b73b22f9.js +1 -0
  11. package/dist/multi/643.app-81fc0bb26fd1b73b22f9.js +1 -0
  12. package/dist/multi/671.app-81fc0bb26fd1b73b22f9.js +1 -0
  13. package/dist/multi/725.app-81fc0bb26fd1b73b22f9.js +1 -0
  14. package/dist/multi/770.app-81fc0bb26fd1b73b22f9.js +1 -0
  15. package/dist/multi/848.app-81fc0bb26fd1b73b22f9.js +1 -0
  16. package/dist/multi/853.app-81fc0bb26fd1b73b22f9.js +1 -0
  17. package/dist/multi/872.app-81fc0bb26fd1b73b22f9.js +1 -0
  18. package/dist/multi/895.app-81fc0bb26fd1b73b22f9.js +1 -0
  19. package/dist/multi/920.app-81fc0bb26fd1b73b22f9.js +1 -0
  20. package/dist/multi/979.app-81fc0bb26fd1b73b22f9.js +1 -0
  21. package/dist/multi/991.app-81fc0bb26fd1b73b22f9.js +1 -0
  22. package/dist/multi/app-81fc0bb26fd1b73b22f9.js +2 -0
  23. package/dist/multi/{app-e5caa85e.js.LICENSE.txt → app-81fc0bb26fd1b73b22f9.js.LICENSE.txt} +9 -0
  24. package/dist/multi/manifest.json +26 -26
  25. package/dist/multi/styles-02faf4bb6ebabe212265.css +284 -0
  26. package/dist/single/app-997b57d6b8885a4f88c7.js +2 -0
  27. package/dist/single/{app-006b2a35.js.LICENSE.txt → app-997b57d6b8885a4f88c7.js.LICENSE.txt} +9 -0
  28. package/dist/single/manifest.json +1 -1
  29. package/package.json +19 -18
  30. package/src/assets/scss/palette.scss +391 -391
  31. package/src/assets/scss/theme.scss +288 -79
  32. package/src/components/Behaviors/BehaviorsList.tsx +3 -3
  33. package/src/components/Categories/CategoriesList.tsx +3 -3
  34. package/src/components/Footer/FooterLogo.tsx +1 -2
  35. package/src/components/Footer/FooterVersion.tsx +2 -2
  36. package/src/components/HeaderActions/HeaderActions.tsx +1 -2
  37. package/src/components/Modal/index.tsx +2 -2
  38. package/src/components/Overview/Overview.module.scss +29 -0
  39. package/src/components/Overview/index.tsx +101 -5
  40. package/src/components/Packages/PackagesList.tsx +3 -3
  41. package/src/components/ReportBody/index.tsx +2 -4
  42. package/src/components/ReportHeader/ReportHeaderLogo.tsx +6 -2
  43. package/src/components/ReportHeader/index.tsx +2 -2
  44. package/src/components/ReportMetadata/MetadataSummary.tsx +1 -2
  45. package/src/components/TestResult/TestResultAttachmentsView/index.tsx +2 -2
  46. package/src/components/TestResult/TestResultDescription/index.tsx +2 -2
  47. package/src/components/TestResult/TestResultEmpty/index.tsx +2 -9
  48. package/src/components/TestResult/TestResultHeader/index.tsx +3 -5
  49. package/src/components/TestResult/TestResultHistory/index.tsx +2 -2
  50. package/src/components/TestResult/TestResultInfo/TestResultInfoStatuses.tsx +1 -1
  51. package/src/components/TestResult/TestResultInfo/index.tsx +2 -2
  52. package/src/components/TestResult/TestResultLinks/index.tsx +2 -2
  53. package/src/components/TestResult/TestResultMetadata/index.tsx +2 -2
  54. package/src/components/TestResult/TestResultNavigation/index.tsx +2 -2
  55. package/src/components/TestResult/TestResultOverview.tsx +2 -2
  56. package/src/components/TestResult/TestResultParameters/index.tsx +2 -2
  57. package/src/components/TestResult/TestResultPrevStatuses/index.tsx +7 -7
  58. package/src/components/TestResult/TestResultRetriesView/TestResultRetriesItem.tsx +24 -8
  59. package/src/components/TestResult/TestResultRetriesView/index.tsx +10 -3
  60. package/src/components/TestResult/TestResultSetup/index.tsx +2 -2
  61. package/src/components/TestResult/TestResultSeverity/index.tsx +1 -1
  62. package/src/components/TestResult/TestResultStatus/index.tsx +1 -1
  63. package/src/components/TestResult/TestResultSteps/HtmlAttachmentPreview.tsx +28 -2
  64. package/src/components/TestResult/TestResultSteps/index.tsx +4 -4
  65. package/src/components/TestResult/TestResultSteps/styles.scss +1 -5
  66. package/src/components/TestResult/TestResultTeardown/index.tsx +2 -2
  67. package/src/components/TestResult/index.tsx +4 -4
  68. package/src/components/Tree/Tree.tsx +3 -3
  69. package/src/components/Tree/TreeHeader.tsx +1 -1
  70. package/src/components/Tree/index.tsx +3 -3
  71. package/src/index.tsx +1 -5
  72. package/src/stores/behaviors.ts +6 -6
  73. package/src/stores/categories.ts +6 -6
  74. package/src/stores/chart.ts +1 -1
  75. package/src/stores/charts.ts +22 -0
  76. package/src/stores/envInfo.ts +1 -1
  77. package/src/stores/locale.ts +3 -2
  78. package/src/stores/packages.ts +6 -6
  79. package/src/stores/router.ts +0 -2
  80. package/src/stores/stats.ts +1 -1
  81. package/src/stores/testResults.ts +4 -4
  82. package/src/stores/theme.ts +15 -18
  83. package/src/stores/tree.ts +6 -6
  84. package/src/stores/trend.ts +36 -0
  85. package/src/translations/am.json +2 -1
  86. package/src/translations/az.json +2 -1
  87. package/src/translations/de.json +2 -2
  88. package/src/translations/en.json +10 -1
  89. package/src/translations/es.json +2 -1
  90. package/src/translations/fr.json +2 -1
  91. package/src/translations/he.json +2 -1
  92. package/src/translations/it.json +2 -1
  93. package/src/translations/ja.json +2 -1
  94. package/src/translations/ka.json +2 -1
  95. package/src/translations/kr.json +2 -1
  96. package/src/translations/nl.json +2 -1
  97. package/src/translations/pl.json +2 -1
  98. package/src/translations/pt.json +2 -1
  99. package/src/translations/ru.json +2 -1
  100. package/src/translations/sv.json +2 -1
  101. package/src/translations/tr.json +2 -1
  102. package/src/translations/zh.json +2 -1
  103. package/src/utils/treeFilters.ts +13 -18
  104. package/test/dummy.test.ts +7 -0
  105. package/test/utils/treeFilters.test.ts +44 -44
  106. package/types.d.ts +22 -20
  107. package/webpack.config.js +8 -3
  108. package/.babelrc--old.cjs +0 -18
  109. package/.eslintrc--old.cjs +0 -125
  110. package/dist/multi/10.app-e5caa85e.js +0 -1
  111. package/dist/multi/222.app-e5caa85e.js +0 -1
  112. package/dist/multi/26.app-e5caa85e.js +0 -1
  113. package/dist/multi/302.app-e5caa85e.js +0 -1
  114. package/dist/multi/304.app-e5caa85e.js +0 -1
  115. package/dist/multi/369.app-e5caa85e.js +0 -1
  116. package/dist/multi/389.app-e5caa85e.js +0 -1
  117. package/dist/multi/498.app-e5caa85e.js +0 -1
  118. package/dist/multi/60.app-e5caa85e.js +0 -1
  119. package/dist/multi/643.app-e5caa85e.js +0 -1
  120. package/dist/multi/671.app-e5caa85e.js +0 -1
  121. package/dist/multi/725.app-e5caa85e.js +0 -1
  122. package/dist/multi/770.app-e5caa85e.js +0 -1
  123. package/dist/multi/848.app-e5caa85e.js +0 -1
  124. package/dist/multi/853.app-e5caa85e.js +0 -1
  125. package/dist/multi/872.app-e5caa85e.js +0 -1
  126. package/dist/multi/895.app-e5caa85e.js +0 -1
  127. package/dist/multi/920.app-e5caa85e.js +0 -1
  128. package/dist/multi/979.app-e5caa85e.js +0 -1
  129. package/dist/multi/991.app-e5caa85e.js +0 -1
  130. package/dist/multi/app-e5caa85e.js +0 -2
  131. package/dist/multi/styles-e5caa85e.css +0 -283
  132. package/dist/single/app-006b2a35.js +0 -2
  133. package/package--old.json +0 -106
  134. package/src/components/ReportLogo/index.tsx +0 -16
  135. package/src/components/ReportLogo/styles.scss +0 -20
  136. package/src/components/ReportLogoFull/index.tsx +0 -20
  137. package/src/components/ReportLogoFull/styles.scss +0 -7
  138. package/src/utils/capitalize.ts +0 -6
  139. package/webpack.config--old.js +0 -127
  140. /package/dist/multi/{JetBrainsMono_vf-b9a9c326..woff → JetBrainsMono_vf.woff} +0 -0
  141. /package/dist/multi/{JetBrainsMono_vf-9e9649b6..woff2 → JetBrainsMono_vf.woff2} +0 -0
  142. /package/dist/multi/{pt-root-ui_vf-22fe60ca..woff → pt-root-ui_vf.woff} +0 -0
  143. /package/dist/multi/{pt-root-ui_vf-9d251e8b..woff2 → pt-root-ui_vf.woff2} +0 -0
@@ -1,2 +0,0 @@
1
- /*! For license information please see app-e5caa85e.js.LICENSE.txt */
2
- !function(){var e,t,n,r,i={891:function(){Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}},282:function(e,t,n){var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},i={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof o?new o(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var r,o;switch(n=n||{},i.util.type(t)){case"Object":if(o=i.util.objId(t),n[o])return n[o];for(var a in r={},n[o]=r,t)t.hasOwnProperty(a)&&(r[a]=e(t[a],n));return r;case"Array":return o=i.util.objId(t),n[o]?n[o]:(r=[],n[o]=r,t.forEach((function(t,i){r[i]=e(t,n)})),r);default:return t}},getLanguage:function(e){for(;e;){var n=t.exec(e.className);if(n)return n[1].toLowerCase();e=e.parentElement}return"none"},setLanguage:function(e,n){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+n)},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(r){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var r="no-"+t;e;){var i=e.classList;if(i.contains(t))return!0;if(i.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,t){var n=i.util.clone(i.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var o=(r=r||i.languages)[e],a={};for(var s in o)if(o.hasOwnProperty(s)){if(s==t)for(var l in n)n.hasOwnProperty(l)&&(a[l]=n[l]);n.hasOwnProperty(s)||(a[s]=o[s])}var c=r[e];return r[e]=a,i.languages.DFS(i.languages,(function(t,n){n===c&&t!=e&&(this[t]=a)})),a},DFS:function e(t,n,r,o){o=o||{};var a=i.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],r||s);var l=t[s],c=i.util.type(l);"Object"!==c||o[a(l)]?"Array"!==c||o[a(l)]||(o[a(l)]=!0,e(l,n,s,o)):(o[a(l)]=!0,e(l,n,null,o))}}},plugins:{},highlightAll:function(e,t){i.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var r={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};i.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),i.hooks.run("before-all-elements-highlight",r);for(var o,a=0;o=r.elements[a++];)i.highlightElement(o,!0===t,r.callback)},highlightElement:function(t,n,r){var o=i.util.getLanguage(t),a=i.languages[o];i.util.setLanguage(t,o);var s=t.parentElement;s&&"pre"===s.nodeName.toLowerCase()&&i.util.setLanguage(s,o);var l={element:t,language:o,grammar:a,code:t.textContent};function c(e){l.highlightedCode=e,i.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,i.hooks.run("after-highlight",l),i.hooks.run("complete",l),r&&r.call(l.element)}if(i.hooks.run("before-sanity-check",l),(s=l.element.parentElement)&&"pre"===s.nodeName.toLowerCase()&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),!l.code)return i.hooks.run("complete",l),void(r&&r.call(l.element));if(i.hooks.run("before-highlight",l),l.grammar)if(n&&e.Worker){var u=new Worker(i.filename);u.onmessage=function(e){c(e.data)},u.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}))}else c(i.highlight(l.code,l.grammar,l.language));else c(i.util.encode(l.code))},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};if(i.hooks.run("before-tokenize",r),!r.grammar)throw new Error('The language "'+r.language+'" has no grammar.');return r.tokens=i.tokenize(r.code,r.grammar),i.hooks.run("after-tokenize",r),o.stringify(i.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var i=new l;return c(i,i.head,e),s(e,i,t,i.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(i)},hooks:{all:{},add:function(e,t){var n=i.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=i.hooks.all[e];if(n&&n.length)for(var r,o=0;r=n[o++];)r(t)}},Token:o};function o(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function a(e,t,n,r){e.lastIndex=t;var i=e.exec(n);if(i&&r&&i[1]){var o=i[1].length;i.index+=o,i[0]=i[0].slice(o)}return i}function s(e,t,n,r,l,d){for(var f in n)if(n.hasOwnProperty(f)&&n[f]){var h=n[f];h=Array.isArray(h)?h:[h];for(var p=0;p<h.length;++p){if(d&&d.cause==f+","+p)return;var g=h[p],m=g.inside,v=!!g.lookbehind,b=!!g.greedy,y=g.alias;if(b&&!g.pattern.global){var _=g.pattern.toString().match(/[imsuy]*$/)[0];g.pattern=RegExp(g.pattern.source,_+"g")}for(var w=g.pattern||g,x=r.next,k=l;x!==t.tail&&!(d&&k>=d.reach);k+=x.value.length,x=x.next){var C=x.value;if(t.length>e.length)return;if(!(C instanceof o)){var S,M=1;if(b){if(!(S=a(w,k,e,v))||S.index>=e.length)break;var T=S.index,A=S.index+S[0].length,N=k;for(N+=x.value.length;T>=N;)N+=(x=x.next).value.length;if(k=N-=x.value.length,x.value instanceof o)continue;for(var O=x;O!==t.tail&&(N<A||"string"==typeof O.value);O=O.next)M++,N+=O.value.length;M--,C=e.slice(k,N),S.index-=k}else if(!(S=a(w,0,C,v)))continue;T=S.index;var P=S[0],L=C.slice(0,T),E=C.slice(T+P.length),j=k+C.length;d&&j>d.reach&&(d.reach=j);var z=x.prev;if(L&&(z=c(t,z,L),k+=L.length),u(t,z,M),x=c(t,z,new o(f,m?i.tokenize(P,m):P,y,P)),E&&c(t,x,E),M>1){var F={cause:f+","+p,reach:j};s(e,t,n,x.prev,k,F),d&&F.reach>d.reach&&(d.reach=F.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function c(e,t,n){var r=t.next,i={value:n,prev:t,next:r};return t.next=i,r.prev=i,e.length++,i}function u(e,t,n){for(var r=t.next,i=0;i<n&&r!==e.tail;i++)r=r.next;t.next=r,r.prev=t,e.length-=i}if(e.Prism=i,o.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach((function(t){r+=e(t,n)})),r}var o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},a=t.alias;a&&(Array.isArray(a)?Array.prototype.push.apply(o.classes,a):o.classes.push(a)),i.hooks.run("wrap",o);var s="";for(var l in o.attributes)s+=" "+l+'="'+(o.attributes[l]||"").replace(/"/g,"&quot;")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+s+">"+o.content+"</"+o.tag+">"},!e.document)return e.addEventListener?(i.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var n=JSON.parse(t.data),r=n.language,o=n.code,a=n.immediateClose;e.postMessage(i.highlight(o,i.languages[r],r)),a&&e.close()}),!1),i):i;var d=i.util.currentScript();function f(){i.manual||i.highlightAll()}if(d&&(i.filename=d.src,d.hasAttribute("data-manual")&&(i.manual=!0)),!i.manual){var h=document.readyState;"loading"===h||"interactive"===h&&d&&d.defer?document.addEventListener("DOMContentLoaded",f):window.requestAnimationFrame?window.requestAnimationFrame(f):window.setTimeout(f,16)}return i}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r)},174:function(){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,(function(e,n){return"(?:"+t[+n]+")"}))}function n(e,n,r){return RegExp(t(e,n),r||"")}function r(e,t){for(var n=0;n<t;n++)e=e.replace(/<<self>>/g,(function(){return"(?:"+e+")"}));return e.replace(/<<self>>/g,"[^\\s\\S]")}var i="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",o="class enum interface record struct",a="add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",s="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function l(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var c=l(o),u=RegExp(l(i+" "+o+" "+a+" "+s)),d=l(o+" "+a+" "+s),f=l(i+" "+o+" "+s),h=r(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),p=r(/\((?:[^()]|<<self>>)*\)/.source,2),g=/@?\b[A-Za-z_]\w*\b/.source,m=t(/<<0>>(?:\s*<<1>>)?/.source,[g,h]),v=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[d,m]),b=/\[\s*(?:,\s*)*\]/.source,y=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[v,b]),_=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[h,p,b]),w=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[_]),x=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[w,v,b]),k={keyword:u,punctuation:/[<>()?,.:[\]]/},C=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,S=/"(?:\\.|[^\\"\r\n])*"/.source,M=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[M]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[S]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[v]),lookbehind:!0,inside:k},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[g,x]),lookbehind:!0,inside:k},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[g]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[c,m]),lookbehind:!0,inside:k},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[v]),lookbehind:!0,inside:k},{pattern:n(/(\bwhere\s+)<<0>>/.source,[g]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[y]),lookbehind:!0,inside:k},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[x,f,g]),inside:k}],keyword:u,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[g]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[g]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[p]),lookbehind:!0,alias:"class-name",inside:k},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[x,v]),inside:k,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[x]),lookbehind:!0,inside:k,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[g,h]),inside:{function:n(/^<<0>>/.source,[g]),generic:{pattern:RegExp(h),alias:"class-name",inside:k}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[c,m,g,x,u.source,p,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[m,p]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:u,"class-name":{pattern:RegExp(x),greedy:!0,inside:k},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var T=S+"|"+C,A=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[T]),N=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[A]),2),O=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,P=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[v,N]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[O,P]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[O]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[N]),inside:e.languages.csharp},"class-name":{pattern:RegExp(v),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var L=/:[^}\r\n]+/.source,E=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[A]),2),j=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[E,L]),z=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[T]),2),F=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[z,L]);function B(t,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,L]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[j]),lookbehind:!0,greedy:!0,inside:B(j,E)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[F]),lookbehind:!0,greedy:!0,inside:B(F,z)}],char:{pattern:RegExp(C),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(Prism)},678:function(){!function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(Prism)},345:function(){Prism.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}},175:function(){!function(e){var t=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;e.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+t+")(?:"+t+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(t),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}}(Prism)},699:function(){Prism.languages.go=Prism.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),Prism.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete Prism.languages.go["class-name"]},225:function(){!function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[r,{pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:r.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+n+/[A-Z]\w*\b/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+n+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:r.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+n+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:r.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0,inside:{punctuation:/\./}}})}(Prism)},590:function(){Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Prism.languages.js=Prism.languages.javascript},895:function(){Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},Prism.languages.webmanifest=Prism.languages.json},988:function(){!function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(Prism)},347:function(){!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,i,o){if(n.language===r){var a=n.tokenStack=[];n.code=n.code.replace(i,(function(e){if("function"==typeof o&&!o(e))return e;for(var i,s=a.length;-1!==n.code.indexOf(i=t(r,s));)++s;return a[s]=e,i})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var i=0,o=Object.keys(n.tokenStack);!function a(s){for(var l=0;l<s.length&&!(i>=o.length);l++){var c=s[l];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=o[i],d=n.tokenStack[u],f="string"==typeof c?c:c.content,h=t(r,u),p=f.indexOf(h);if(p>-1){++i;var g=f.substring(0,p),m=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),v=f.substring(p+h.length),b=[];g&&b.push.apply(b,a([g])),b.push(m),v&&b.push.apply(b,a([v])),"string"==typeof c?s.splice.apply(s,[l,1].concat(b)):c.content=b}}else c.content&&a(c.content)}return s}(n.tokens)}}}})}(Prism)},709:function(){Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))})),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};var i={};i[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},Prism.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml},813:function(){!function(e){var t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],r=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,i=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,o=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:r,operator:i,punctuation:o};var a={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},s=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:a}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:a}}];e.languages.insertBefore("php","variable",{string:s,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:s,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:r,operator:i,punctuation:o}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",(function(t){/<\?/.test(t.code)&&e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")}))}(Prism)},623:function(){Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python},817:function(){!function(e){e.languages.ruby=e.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var t={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete e.languages.ruby.function;var n="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",r=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+n+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+r),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+r+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+n),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+n),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby}(Prism)},54:function(){!function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(Prism)},108:function(){!function(){if("undefined"!=typeof Prism&&"undefined"!=typeof document){var e="line-numbers",t=/\n(?!$)/g,n=Prism.plugins.lineNumbers={getLine:function(t,n){if("PRE"===t.tagName&&t.classList.contains(e)){var r=t.querySelector(".line-numbers-rows");if(r){var i=parseInt(t.getAttribute("data-start"),10)||1,o=i+(r.children.length-1);n<i&&(n=i),n>o&&(n=o);var a=n-i;return r.children[a]}}},resize:function(e){i([e])},assumeViewportIndependence:!0},r=void 0;window.addEventListener("resize",(function(){n.assumeViewportIndependence&&r===window.innerWidth||(r=window.innerWidth,i(Array.prototype.slice.call(document.querySelectorAll("pre."+e))))})),Prism.hooks.add("complete",(function(n){if(n.code){var r=n.element,o=r.parentNode;if(o&&/pre/i.test(o.nodeName)&&!r.querySelector(".line-numbers-rows")&&Prism.util.isActive(r,e)){r.classList.remove(e),o.classList.add(e);var a,s=n.code.match(t),l=s?s.length+1:1,c=new Array(l+1).join("<span></span>");(a=document.createElement("span")).setAttribute("aria-hidden","true"),a.className="line-numbers-rows",a.innerHTML=c,o.hasAttribute("data-start")&&(o.style.counterReset="linenumber "+(parseInt(o.getAttribute("data-start"),10)-1)),n.element.appendChild(a),i([o]),Prism.hooks.run("line-numbers",n)}}})),Prism.hooks.add("line-numbers",(function(e){e.plugins=e.plugins||{},e.plugins.lineNumbers=!0}))}function i(e){if(0!=(e=e.filter((function(e){var t,n=(t=e,t?window.getComputedStyle?getComputedStyle(t):t.currentStyle||null:null)["white-space"];return"pre-wrap"===n||"pre-line"===n}))).length){var n=e.map((function(e){var n=e.querySelector("code"),r=e.querySelector(".line-numbers-rows");if(n&&r){var i=e.querySelector(".line-numbers-sizer"),o=n.textContent.split(t);i||((i=document.createElement("span")).className="line-numbers-sizer",n.appendChild(i)),i.innerHTML="0",i.style.display="block";var a=i.getBoundingClientRect().height;return i.innerHTML="",{element:e,lines:o,lineHeights:[],oneLinerHeight:a,sizer:i}}})).filter(Boolean);n.forEach((function(e){var t=e.sizer,n=e.lines,r=e.lineHeights,i=e.oneLinerHeight;r[n.length-1]=void 0,n.forEach((function(e,n){if(e&&e.length>1){var o=t.appendChild(document.createElement("span"));o.style.display="block",o.textContent=e}else r[n]=i}))})),n.forEach((function(e){for(var t=e.sizer,n=e.lineHeights,r=0,i=0;i<n.length;i++)void 0===n[i]&&(n[i]=t.children[r++].getBoundingClientRect().height)})),n.forEach((function(e){var t=e.sizer,n=e.element.querySelector(".line-numbers-rows");t.style.display="none",t.innerHTML="",e.lineHeights.forEach((function(e,t){n.children[t].style.height=e+"px"}))}))}}}()},364:function(){!function(){if("undefined"!=typeof Prism&&"undefined"!=typeof document)if(Prism.plugins.toolbar){var e={none:"Plain text",plain:"Plain text",plaintext:"Plain text",text:"Plain text",txt:"Plain text",html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",rss:"RSS",css:"CSS",clike:"C-like",js:"JavaScript",abap:"ABAP",abnf:"ABNF",al:"AL",antlr4:"ANTLR4",g4:"ANTLR4",apacheconf:"Apache Configuration",apl:"APL",aql:"AQL",ino:"Arduino",arff:"ARFF",armasm:"ARM Assembly","arm-asm":"ARM Assembly",art:"Arturo",asciidoc:"AsciiDoc",adoc:"AsciiDoc",aspnet:"ASP.NET (C#)",asm6502:"6502 Assembly",asmatmel:"Atmel AVR Assembly",autohotkey:"AutoHotkey",autoit:"AutoIt",avisynth:"AviSynth",avs:"AviSynth","avro-idl":"Avro IDL",avdl:"Avro IDL",awk:"AWK",gawk:"GAWK",sh:"Shell",basic:"BASIC",bbcode:"BBcode",bbj:"BBj",bnf:"BNF",rbnf:"RBNF",bqn:"BQN",bsl:"BSL (1C:Enterprise)",oscript:"OneScript",csharp:"C#",cs:"C#",dotnet:"C#",cpp:"C++",cfscript:"CFScript",cfc:"CFScript",cil:"CIL",cilkc:"Cilk/C","cilk-c":"Cilk/C",cilkcpp:"Cilk/C++","cilk-cpp":"Cilk/C++",cilk:"Cilk/C++",cmake:"CMake",cobol:"COBOL",coffee:"CoffeeScript",conc:"Concurnas",csp:"Content-Security-Policy","css-extras":"CSS Extras",csv:"CSV",cue:"CUE",dataweave:"DataWeave",dax:"DAX",django:"Django/Jinja2",jinja2:"Django/Jinja2","dns-zone-file":"DNS zone file","dns-zone":"DNS zone file",dockerfile:"Docker",dot:"DOT (Graphviz)",gv:"DOT (Graphviz)",ebnf:"EBNF",editorconfig:"EditorConfig",ejs:"EJS",etlua:"Embedded Lua templating",erb:"ERB","excel-formula":"Excel Formula",xlsx:"Excel Formula",xls:"Excel Formula",fsharp:"F#","firestore-security-rules":"Firestore security rules",ftl:"FreeMarker Template Language",gml:"GameMaker Language",gamemakerlanguage:"GameMaker Language",gap:"GAP (CAS)",gcode:"G-code",gdscript:"GDScript",gedcom:"GEDCOM",gettext:"gettext",po:"gettext",glsl:"GLSL",gn:"GN",gni:"GN","linker-script":"GNU Linker Script",ld:"GNU Linker Script","go-module":"Go module","go-mod":"Go module",graphql:"GraphQL",hbs:"Handlebars",hs:"Haskell",hcl:"HCL",hlsl:"HLSL",http:"HTTP",hpkp:"HTTP Public-Key-Pins",hsts:"HTTP Strict-Transport-Security",ichigojam:"IchigoJam","icu-message-format":"ICU Message Format",idr:"Idris",ignore:".ignore",gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore",inform7:"Inform 7",javadoc:"JavaDoc",javadoclike:"JavaDoc-like",javastacktrace:"Java stack trace",jq:"JQ",jsdoc:"JSDoc","js-extras":"JS Extras",json:"JSON",webmanifest:"Web App Manifest",json5:"JSON5",jsonp:"JSONP",jsstacktrace:"JS stack trace","js-templates":"JS Templates",keepalived:"Keepalived Configure",kts:"Kotlin Script",kt:"Kotlin",kumir:"KuMir (КуМир)",kum:"KuMir (КуМир)",latex:"LaTeX",tex:"TeX",context:"ConTeXt",lilypond:"LilyPond",ly:"LilyPond",emacs:"Lisp",elisp:"Lisp","emacs-lisp":"Lisp",llvm:"LLVM IR",log:"Log file",lolcode:"LOLCODE",magma:"Magma (CAS)",md:"Markdown","markup-templating":"Markup templating",matlab:"MATLAB",maxscript:"MAXScript",mel:"MEL",metafont:"METAFONT",mongodb:"MongoDB",moon:"MoonScript",n1ql:"N1QL",n4js:"N4JS",n4jsd:"N4JS","nand2tetris-hdl":"Nand To Tetris HDL",naniscript:"Naninovel Script",nani:"Naninovel Script",nasm:"NASM",neon:"NEON",nginx:"nginx",nsis:"NSIS",objectivec:"Objective-C",objc:"Objective-C",ocaml:"OCaml",opencl:"OpenCL",openqasm:"OpenQasm",qasm:"OpenQasm",parigp:"PARI/GP",objectpascal:"Object Pascal",psl:"PATROL Scripting Language",pcaxis:"PC-Axis",px:"PC-Axis",peoplecode:"PeopleCode",pcode:"PeopleCode",php:"PHP",phpdoc:"PHPDoc","php-extras":"PHP Extras","plant-uml":"PlantUML",plantuml:"PlantUML",plsql:"PL/SQL",powerquery:"PowerQuery",pq:"PowerQuery",mscript:"PowerQuery",powershell:"PowerShell",promql:"PromQL",properties:".properties",protobuf:"Protocol Buffers",purebasic:"PureBasic",pbfasm:"PureBasic",purs:"PureScript",py:"Python",qsharp:"Q#",qs:"Q#",q:"Q (kdb+ database)",qml:"QML",rkt:"Racket",cshtml:"Razor C#",razor:"Razor C#",jsx:"React JSX",tsx:"React TSX",renpy:"Ren'py",rpy:"Ren'py",res:"ReScript",rest:"reST (reStructuredText)",robotframework:"Robot Framework",robot:"Robot Framework",rb:"Ruby",sas:"SAS",sass:"Sass (Sass)",scss:"Sass (SCSS)","shell-session":"Shell session","sh-session":"Shell session",shellsession:"Shell session",sml:"SML",smlnj:"SML/NJ",solidity:"Solidity (Ethereum)",sol:"Solidity (Ethereum)","solution-file":"Solution file",sln:"Solution file",soy:"Soy (Closure Template)",sparql:"SPARQL",rq:"SPARQL","splunk-spl":"Splunk SPL",sqf:"SQF: Status Quo Function (Arma 3)",sql:"SQL",stata:"Stata Ado",iecst:"Structured Text (IEC 61131-3)",supercollider:"SuperCollider",sclang:"SuperCollider",systemd:"Systemd configuration file","t4-templating":"T4 templating","t4-cs":"T4 Text Templates (C#)",t4:"T4 Text Templates (C#)","t4-vb":"T4 Text Templates (VB)",tap:"TAP",tt2:"Template Toolkit 2",toml:"TOML",trickle:"trickle",troy:"troy",trig:"TriG",ts:"TypeScript",tsconfig:"TSConfig",uscript:"UnrealScript",uc:"UnrealScript",uorazor:"UO Razor Script",uri:"URI",url:"URL",vbnet:"VB.Net",vhdl:"VHDL",vim:"vim","visual-basic":"Visual Basic",vba:"VBA",vb:"Visual Basic",wasm:"WebAssembly","web-idl":"Web IDL",webidl:"Web IDL",wgsl:"WGSL",wiki:"Wiki markup",wolfram:"Wolfram language",nb:"Mathematica Notebook",wl:"Wolfram language",xeoracube:"XeoraCube","xml-doc":"XML doc (.net)",xojo:"Xojo (REALbasic)",xquery:"XQuery",yaml:"YAML",yml:"YAML",yang:"YANG"};Prism.plugins.toolbar.registerButton("show-language",(function(t){var n=t.element.parentNode;if(n&&/pre/i.test(n.nodeName)){var r,i=n.getAttribute("data-language")||e[t.language]||((r=t.language)?(r.substring(0,1).toUpperCase()+r.substring(1)).replace(/s(?=cript)/,"S"):r);if(i){var o=document.createElement("span");return o.textContent=i,o}}}))}else console.warn("Show Languages plugin loaded before Toolbar plugin.")}()},44:function(){!function(){if("undefined"!=typeof Prism&&"undefined"!=typeof document){var e=[],t={},n=function(){};Prism.plugins.toolbar={};var r=Prism.plugins.toolbar.registerButton=function(n,r){var i;i="function"==typeof r?r:function(e){var t;return"function"==typeof r.onClick?((t=document.createElement("button")).type="button",t.addEventListener("click",(function(){r.onClick.call(this,e)}))):"string"==typeof r.url?(t=document.createElement("a")).href=r.url:t=document.createElement("span"),r.className&&t.classList.add(r.className),t.textContent=r.text,t},n in t?console.warn('There is a button with the key "'+n+'" registered already.'):e.push(t[n]=i)},i=Prism.plugins.toolbar.hook=function(r){var i=r.element.parentNode;if(i&&/pre/i.test(i.nodeName)&&!i.parentNode.classList.contains("code-toolbar")){var o=document.createElement("div");o.classList.add("code-toolbar"),i.parentNode.insertBefore(o,i),o.appendChild(i);var a=document.createElement("div");a.classList.add("toolbar");var s=e,l=function(e){for(;e;){var t=e.getAttribute("data-toolbar-order");if(null!=t)return(t=t.trim()).length?t.split(/\s*,\s*/g):[];e=e.parentElement}}(r.element);l&&(s=l.map((function(e){return t[e]||n}))),s.forEach((function(e){var t=e(r);if(t){var n=document.createElement("div");n.classList.add("toolbar-item"),n.appendChild(t),a.appendChild(n)}})),o.appendChild(a)}};r("label",(function(e){var t=e.element.parentNode;if(t&&/pre/i.test(t.nodeName)&&t.hasAttribute("data-label")){var n,r,i=t.getAttribute("data-label");try{r=document.querySelector("template#"+i)}catch(e){}return r?n=r.content:(t.hasAttribute("data-url")?(n=document.createElement("a")).href=t.getAttribute("data-url"):n=document.createElement("span"),n.textContent=i),n}})),Prism.hooks.add("complete",i)}}()},79:function(e,t,n){var r={"./am.json":[60,60],"./az.json":[853,853],"./br.json":[770,770],"./de.json":[369,369],"./en.json":[389,389],"./es.json":[302,302],"./fr.json":[222,222],"./he.json":[725,725],"./isv.json":[848,848],"./it.json":[276,895],"./ja.json":[979,979],"./ka.json":[498,498],"./kr.json":[643,643],"./nl.json":[920,920],"./pl.json":[26,26],"./pt.json":[10,10],"./ru.json":[671,671],"./sv.json":[991,991],"./tr.json":[304,304],"./zh.json":[872,872]};function i(e){if(!n.o(r,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],i=t[0];return n.e(t[1]).then((function(){return n.t(i,19)}))}i.keys=function(){return Object.keys(r)},i.id=79,e.exports=i}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return i[e](n,n.exports,a),n.exports}a.m=i,a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},a.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);a.r(i);var o={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((function(e){o[e]=function(){return n[e]}}));return o.default=function(){return n},a.d(i,o),i},a.d=function(e,t){for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.f={},a.e=function(e){return Promise.all(Object.keys(a.f).reduce((function(t,n){return a.f[n](e,t),t}),[]))},a.u=function(e){return e+".app-"+a.h().slice(0,8)+".js"},a.miniCssF=function(e){},a.h=function(){return"e5caa85e0969a50a240e"},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n={},r="@allurereport/web-classic:",a.l=function(e,t,i,o){if(n[e])n[e].push(t);else{var s,l;if(void 0!==i)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var d=c[u];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==r+i){s=d;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.setAttribute("data-webpack",r+i),s.src=e),n[e]=[t];var f=function(t,r){s.onerror=s.onload=null,clearTimeout(h);var i=n[e];if(delete n[e],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((function(e){return e(r)})),t)return t(r)},h=setTimeout(f.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=f.bind(null,s.onerror),s.onload=f.bind(null,s.onload),l&&document.head.appendChild(s)}},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e;a.g.importScripts&&(e=a.g.location+"");var t=a.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e}(),function(){var e={792:0};a.f.j=function(t,n){var r=a.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var i=new Promise((function(n,i){r=e[t]=[n,i]}));n.push(r[2]=i);var o=a.p+a.u(t),s=new Error;a.l(o,(function(n){if(a.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var i=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",s.name="ChunkLoadError",s.type=i,s.request=o,r[1](s)}}),"chunk-"+t,t)}};var t=function(t,n){var r,i,o=n[0],s=n[1],l=n[2],c=0;if(o.some((function(t){return 0!==e[t]}))){for(r in s)a.o(s,r)&&(a.m[r]=s[r]);l&&l(a)}for(t&&t(n);c<o.length;c++)i=o[c],a.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=self.webpackChunk_allurereport_web_classic=self.webpackChunk_allurereport_web_classic||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}(),function(){"use strict";var e={};a.r(e),a.d(e,{broken:function(){return pL},failed:function(){return gL},"item-time":function(){return mL},"item-title":function(){return vL},order:function(){return bL},passed:function(){return yL},root:function(){return _L},skipped:function(){return wL},"status-broken":function(){return xL},"status-failed":function(){return kL},"status-passed":function(){return CL},"status-skipped":function(){return SL},"status-unknown":function(){return ML},"test-count":function(){return TL},tree:function(){return AL},"tree-content":function(){return NL},"tree-count":function(){return OL},"tree-empty-results":function(){return PL},"tree-empty-results-clear-button":function(){return LL},"tree-empty-results-title":function(){return EL},"tree-header":function(){return jL},"tree-header-arrow":function(){return zL},"tree-header-arrow-opened":function(){return FL},"tree-header-bar":function(){return BL},"tree-header-bar-item":function(){return RL},"tree-header-title":function(){return $L},"tree-item":function(){return DL},"tree-item-icon":function(){return IL},"tree-item-marked":function(){return UL},"tree-list":function(){return HL},unknown:function(){return qL}});var t={};a.r(t),a.d(t,{"arrow-button":function(){return JL},"arrow-button-icon":function(){return eE},"arrow-button-icon--opened":function(){return tE},"arrow-button-m":function(){return nE},"arrow-button-s":function(){return rE},"icon-size-m":function(){return iE}});var n={};a.r(n),a.d(n,{"status-broken":function(){return Tj},"status-failed":function(){return Aj},"status-passed":function(){return Nj},"status-skipped":function(){return Oj},"status-unknown":function(){return Pj},"test-result-prev-status":function(){return Lj},"test-result-prev-status-tooltip":function(){return Ej},"test-result-prev-statuses":function(){return jj}});var r={};a.r(r),a.d(r,{"severity-blocker":function(){return Rj},"severity-critical":function(){return $j},"severity-minor":function(){return Dj},"severity-normal":function(){return Ij},"severity-trivial":function(){return Uj},"test-result-severity":function(){return Hj},"test-result-severity-text":function(){return qj}});var i={};a.r(i),a.d(i,{"status-broken":function(){return Yj},"status-failed":function(){return Gj},"status-passed":function(){return Zj},"status-skipped":function(){return Kj},"status-unknown":function(){return Qj},"test-result-status":function(){return Xj},"test-result-status-icon":function(){return Jj},"test-result-status-text":function(){return ez}});var o={};a.r(o),a.d(o,{"metadata-color-badge":function(){return xz},"metadata-icon":function(){return kz},"metadata-item-title":function(){return Cz},"metadata-item-value":function(){return Sz},"metadata-test-type":function(){return Mz},"metadata-tooltip":function(){return Tz},"metadata-tooltip-value":function(){return Az},"metadata-with-icon":function(){return Nz},"report-metadata":function(){return Oz},"report-metadata-all-tests":function(){return Pz},"report-metadata-keyvalue":function(){return Lz},"report-metadata-keyvalue-title":function(){return Ez},"report-metadata-keyvalue-value":function(){return jz},"report-metadata-keyvalue-wrapper":function(){return zz},"report-metadata-list":function(){return Fz},"report-metadata-s":function(){return Bz},"report-metadata-separator":function(){return Rz},"report-metadata-status":function(){return $z},"report-metadata-summary":function(){return Dz},"report-metadata-values":function(){return Iz},"report-metadata-wrapper":function(){return Uz},"status-broken":function(){return Hz},"status-failed":function(){return qz},"status-passed":function(){return Vz},"status-skipped":function(){return Wz},"status-unknown":function(){return Yz}});var s,l,c,u,d,f,h,p,g,m,v,b,y={},_=[],w=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,x=Array.isArray;function k(e,t){for(var n in t)e[n]=t[n];return e}function C(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function S(e,t,n){var r,i,o,a={};for(o in t)"key"==o?r=t[o]:"ref"==o?i=t[o]:a[o]=t[o];if(arguments.length>2&&(a.children=arguments.length>3?s.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===a[o]&&(a[o]=e.defaultProps[o]);return M(e,a,r,i,null)}function M(e,t,n,r,i){var o={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==i?++c:i,__i:-1,__u:0};return null==i&&null!=l.vnode&&l.vnode(o),o}function T(e){return e.children}function A(e,t){this.props=e,this.context=t}function N(e,t){if(null==t)return e.__?N(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?N(e):null}function O(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return O(e)}}function P(e){(!e.__d&&(e.__d=!0)&&d.push(e)&&!L.__r++||f!==l.debounceRendering)&&((f=l.debounceRendering)||h)(L)}function L(){var e,t,n,r,i,o,a,s;for(d.sort(p);e=d.shift();)e.__d&&(t=d.length,r=void 0,o=(i=(n=e).__v).__e,a=[],s=[],n.__P&&((r=k({},i)).__v=i.__v+1,l.vnode&&l.vnode(r),I(n.__P,r,i,n.__n,n.__P.namespaceURI,32&i.__u?[o]:null,a,null==o?N(i):o,!!(32&i.__u),s),r.__v=i.__v,r.__.__k[r.__i]=r,U(a,r,s),r.__e!=o&&O(r)),d.length>t&&d.sort(p));L.__r=0}function E(e,t,n,r,i,o,a,s,l,c,u){var d,f,h,p,g,m=r&&r.__k||_,v=t.length;for(n.__d=l,j(n,t,m),l=n.__d,d=0;d<v;d++)null!=(h=n.__k[d])&&(f=-1===h.__i?y:m[h.__i]||y,h.__i=d,I(e,h,f,i,o,a,s,l,c,u),p=h.__e,h.ref&&f.ref!=h.ref&&(f.ref&&q(f.ref,null,h),u.push(h.ref,h.__c||p,h)),null==g&&null!=p&&(g=p),65536&h.__u||f.__k===h.__k?l=z(h,l,e):"function"==typeof h.type&&void 0!==h.__d?l=h.__d:p&&(l=p.nextSibling),h.__d=void 0,h.__u&=-196609);n.__d=l,n.__e=g}function j(e,t,n){var r,i,o,a,s,l=t.length,c=n.length,u=c,d=0;for(e.__k=[],r=0;r<l;r++)null!=(i=t[r])&&"boolean"!=typeof i&&"function"!=typeof i?(a=r+d,(i=e.__k[r]="string"==typeof i||"number"==typeof i||"bigint"==typeof i||i.constructor==String?M(null,i,null,null,null):x(i)?M(T,{children:i},null,null,null):void 0===i.constructor&&i.__b>0?M(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i).__=e,i.__b=e.__b+1,o=null,-1!==(s=i.__i=B(i,n,a,u))&&(u--,(o=n[s])&&(o.__u|=131072)),null==o||null===o.__v?(-1==s&&d--,"function"!=typeof i.type&&(i.__u|=65536)):s!==a&&(s==a-1?d--:s==a+1?d++:(s>a?d--:d++,i.__u|=65536))):i=e.__k[r]=null;if(u)for(r=0;r<c;r++)null!=(o=n[r])&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=N(o)),V(o,o))}function z(e,t,n){var r,i;if("function"==typeof e.type){for(r=e.__k,i=0;r&&i<r.length;i++)r[i]&&(r[i].__=e,t=z(r[i],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=N(e)),n.insertBefore(e.__e,t||null),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8===t.nodeType);return t}function F(e,t){return t=t||[],null==e||"boolean"==typeof e||(x(e)?e.some((function(e){F(e,t)})):t.push(e)),t}function B(e,t,n,r){var i=e.key,o=e.type,a=n-1,s=n+1,l=t[n];if(null===l||l&&i==l.key&&o===l.type&&!(131072&l.__u))return n;if(r>(null==l||131072&l.__u?0:1))for(;a>=0||s<t.length;){if(a>=0){if((l=t[a])&&!(131072&l.__u)&&i==l.key&&o===l.type)return a;a--}if(s<t.length){if((l=t[s])&&!(131072&l.__u)&&i==l.key&&o===l.type)return s;s++}}return-1}function R(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||w.test(t)?n:n+"px"}function $(e,t,n,r,i){var o;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||R(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||R(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||"onFocusOut"===t||"onFocusIn"===t?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r?n.u=r.u:(n.u=g,e.addEventListener(t,o?v:m,o)):e.removeEventListener(t,o?v:m,o);else{if("http://www.w3.org/2000/svg"==i)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==n?"":n))}}function D(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t.t)t.t=g++;else if(t.t<n.u)return;return n(l.event?l.event(t):t)}}}function I(e,t,n,r,i,o,a,s,c,u){var d,f,h,p,g,m,v,b,y,_,w,C,S,M,N,O,P=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(c=!!(32&n.__u),o=[s=t.__e=n.__e]),(d=l.__b)&&d(t);e:if("function"==typeof P)try{if(b=t.props,y="prototype"in P&&P.prototype.render,_=(d=P.contextType)&&r[d.__c],w=d?_?_.props.value:d.__:r,n.__c?v=(f=t.__c=n.__c).__=f.__E:(y?t.__c=f=new P(b,w):(t.__c=f=new A(b,w),f.constructor=P,f.render=W),_&&_.sub(f),f.props=b,f.state||(f.state={}),f.context=w,f.__n=r,h=f.__d=!0,f.__h=[],f._sb=[]),y&&null==f.__s&&(f.__s=f.state),y&&null!=P.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=k({},f.__s)),k(f.__s,P.getDerivedStateFromProps(b,f.__s))),p=f.props,g=f.state,f.__v=t,h)y&&null==P.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),y&&null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(y&&null==P.getDerivedStateFromProps&&b!==p&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(b,w),!f.__e&&(null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(b,f.__s,w)||t.__v===n.__v)){for(t.__v!==n.__v&&(f.props=b,f.state=f.__s,f.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some((function(e){e&&(e.__=t)})),C=0;C<f._sb.length;C++)f.__h.push(f._sb[C]);f._sb=[],f.__h.length&&a.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(b,f.__s,w),y&&null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(p,g,m)}))}if(f.context=w,f.props=b,f.__P=e,f.__e=!1,S=l.__r,M=0,y){for(f.state=f.__s,f.__d=!1,S&&S(t),d=f.render(f.props,f.state,f.context),N=0;N<f._sb.length;N++)f.__h.push(f._sb[N]);f._sb=[]}else do{f.__d=!1,S&&S(t),d=f.render(f.props,f.state,f.context),f.state=f.__s}while(f.__d&&++M<25);f.state=f.__s,null!=f.getChildContext&&(r=k(k({},r),f.getChildContext())),y&&!h&&null!=f.getSnapshotBeforeUpdate&&(m=f.getSnapshotBeforeUpdate(p,g)),E(e,x(O=null!=d&&d.type===T&&null==d.key?d.props.children:d)?O:[O],t,n,r,i,o,a,s,c,u),f.base=t.__e,t.__u&=-161,f.__h.length&&a.push(f),v&&(f.__E=f.__=null)}catch(e){if(t.__v=null,c||null!=o){for(t.__u|=c?160:32;s&&8===s.nodeType&&s.nextSibling;)s=s.nextSibling;o[o.indexOf(s)]=null,t.__e=s}else t.__e=n.__e,t.__k=n.__k;l.__e(e,t,n)}else null==o&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=H(n.__e,t,n,r,i,o,a,c,u);(d=l.diffed)&&d(t)}function U(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)q(n[r],n[++r],n[++r]);l.__c&&l.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){l.__e(e,t.__v)}}))}function H(e,t,n,r,i,o,a,c,u){var d,f,h,p,g,m,v,b=n.props,_=t.props,w=t.type;if("svg"===w?i="http://www.w3.org/2000/svg":"math"===w?i="http://www.w3.org/1998/Math/MathML":i||(i="http://www.w3.org/1999/xhtml"),null!=o)for(d=0;d<o.length;d++)if((g=o[d])&&"setAttribute"in g==!!w&&(w?g.localName===w:3===g.nodeType)){e=g,o[d]=null;break}if(null==e){if(null===w)return document.createTextNode(_);e=document.createElementNS(i,w,_.is&&_),c&&(l.__m&&l.__m(t,o),c=!1),o=null}if(null===w)b===_||c&&e.data===_||(e.data=_);else{if(o=o&&s.call(e.childNodes),b=n.props||y,!c&&null!=o)for(b={},d=0;d<e.attributes.length;d++)b[(g=e.attributes[d]).name]=g.value;for(d in b)if(g=b[d],"children"==d);else if("dangerouslySetInnerHTML"==d)h=g;else if(!(d in _)){if("value"==d&&"defaultValue"in _||"checked"==d&&"defaultChecked"in _)continue;$(e,d,null,g,i)}for(d in _)g=_[d],"children"==d?p=g:"dangerouslySetInnerHTML"==d?f=g:"value"==d?m=g:"checked"==d?v=g:c&&"function"!=typeof g||b[d]===g||$(e,d,g,b[d],i);if(f)c||h&&(f.__html===h.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(h&&(e.innerHTML=""),E(e,x(p)?p:[p],t,n,r,"foreignObject"===w?"http://www.w3.org/1999/xhtml":i,o,a,o?o[0]:n.__k&&N(n,0),c,u),null!=o)for(d=o.length;d--;)C(o[d]);c||(d="value","progress"===w&&null==m?e.removeAttribute("value"):void 0!==m&&(m!==e[d]||"progress"===w&&!m||"option"===w&&m!==b[d])&&$(e,d,m,b[d],i),d="checked",void 0!==v&&v!==e[d]&&$(e,d,v,b[d],i))}return e}function q(e,t,n){try{if("function"==typeof e){var r="function"==typeof e.__u;r&&e.__u(),r&&null==t||(e.__u=e(t))}else e.current=t}catch(e){l.__e(e,n)}}function V(e,t,n){var r,i;if(l.unmount&&l.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||q(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){l.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&V(r[i],t,n||"function"!=typeof e.type);n||C(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function W(e,t,n){return this.constructor(e,n)}function Y(e,t,n){var r,i,o,a,l=k({},e.props);for(o in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)"key"==o?r=t[o]:"ref"==o?i=t[o]:l[o]=void 0===t[o]&&void 0!==a?a[o]:t[o];return arguments.length>2&&(l.children=arguments.length>3?s.call(arguments,2):n),M(e.type,l,r||e.key,i||e.ref,null)}function G(e,t){var n={__c:t="__cC"+b++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,P(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}s=_.slice,l={__e:function(e,t,n,r){for(var i,o,a;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(e)),a=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(e,r||{}),a=i.__d),a)return i.__E=i}catch(t){e=t}throw e}},c=0,u=function(e){return null!=e&&null==e.constructor},A.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=k({},this.state),"function"==typeof e&&(e=e(k({},n),this.props)),e&&k(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),P(this))},A.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),P(this))},A.prototype.render=T,d=[],h="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,p=function(e,t){return e.__v.__b-t.__v.__b},L.__r=0,g=0,m=D(!1),v=D(!0),b=0;var Z,K,Q,X,J=0,ee=[],te=l,ne=te.__b,re=te.__r,ie=te.diffed,oe=te.__c,ae=te.unmount,se=te.__;function le(e,t){te.__h&&te.__h(K,e,J||t),J=0;var n=K.__H||(K.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function ce(e){return J=1,function(e,t,n){var r=le(Z++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):we(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=K,!K.u)){var i=function(e,t,n){if(!r.__c.__H)return!0;var i=r.__c.__H.__.filter((function(e){return!!e.__c}));if(i.every((function(e){return!e.__N})))return!o||o.call(this,e,t,n);var a=!1;return i.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}})),!(!a&&r.__c.props===e)&&(!o||o.call(this,e,t,n))};K.u=!0;var o=K.shouldComponentUpdate,a=K.componentWillUpdate;K.componentWillUpdate=function(e,t,n){if(this.__e){var r=o;o=void 0,i(e,t,n),o=r}a&&a.call(this,e,t,n)},K.shouldComponentUpdate=i}return r.__N||r.__}(we,e)}function ue(e,t){var n=le(Z++,3);!te.__s&&_e(n.__H,t)&&(n.__=e,n.i=t,K.__H.__h.push(n))}function de(e){return J=5,fe((function(){return{current:e}}),[])}function fe(e,t){var n=le(Z++,7);return _e(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function he(e,t){return J=8,fe((function(){return e}),t)}function pe(e){var t=K.context[e.__c],n=le(Z++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(K)),t.props.value):e.__}function ge(){for(var e;e=ee.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(be),e.__H.__h.forEach(ye),e.__H.__h=[]}catch(t){e.__H.__h=[],te.__e(t,e.__v)}}te.__b=function(e){K=null,ne&&ne(e)},te.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),se&&se(e,t)},te.__r=function(e){re&&re(e),Z=0;var t=(K=e.__c).__H;t&&(Q===K?(t.__h=[],K.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.i=e.__N=void 0}))):(t.__h.forEach(be),t.__h.forEach(ye),t.__h=[],Z=0)),Q=K},te.diffed=function(e){ie&&ie(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==ee.push(t)&&X===te.requestAnimationFrame||((X=te.requestAnimationFrame)||ve)(ge)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.i=void 0}))),Q=K=null},te.__c=function(e,t){t.some((function(e){try{e.__h.forEach(be),e.__h=e.__h.filter((function(e){return!e.__||ye(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],te.__e(n,e.__v)}})),oe&&oe(e,t)},te.unmount=function(e){ae&&ae(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{be(e)}catch(e){t=e}})),n.__H=void 0,t&&te.__e(t,n.__v))};var me="function"==typeof requestAnimationFrame;function ve(e){var t,n=function(){clearTimeout(r),me&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);me&&(t=requestAnimationFrame(n))}function be(e){var t=K,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),K=t}function ye(e){var t=K;e.__c=e.__(),K=t}function _e(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function we(e,t){return"function"==typeof t?t(e):t}function xe(e,t){for(var n in t)e[n]=t[n];return e}function ke(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function Ce(e,t){this.props=e,this.context=t}function Se(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:ke(this.props,e)}function r(t){return this.shouldComponentUpdate=n,S(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Ce.prototype=new A).isPureReactComponent=!0,Ce.prototype.shouldComponentUpdate=function(e,t){return ke(this.props,e)||ke(this.state,t)};var Me=l.__b;l.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Me&&Me(e)};var Te="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Ae(e){function t(t){var n=xe({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=Te,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Ne=l.__e;l.__e=function(e,t,n,r){if(e.then)for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t);Ne(e,t,n,r)};var Oe=l.unmount;function Pe(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=xe({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return Pe(e,t,n)}))),e}function Le(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return Le(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function Ee(){this.__u=0,this.t=null,this.__b=null}function je(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function ze(){this.u=null,this.o=null}l.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Oe&&Oe(e)},(Ee.prototype=new A).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=je(r.__v),o=!1,a=function(){o||(o=!0,n.__R=null,i?i(s):s())};n.__R=a;var s=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=Le(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},Ee.prototype.componentWillUnmount=function(){this.t=[]},Ee.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Pe(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&S(T,null,e.fallback);return i&&(i.__u&=-33),[S(T,null,t.__a?null:e.children),i]};var Fe=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};(ze.prototype=new A).__a=function(e){var t=this,n=je(t.__v),r=t.o.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),Fe(t,e,r)):i()};n?n(o):o()}},ze.prototype.render=function(e){this.u=null,this.o=new Map;var t=F(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},ze.prototype.componentDidUpdate=ze.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){Fe(e,n,t)}))};var Be="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Re=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,$e=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,De=/[A-Z0-9]/g,Ie="undefined"!=typeof document,Ue=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};A.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(A.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var He=l.event;function qe(){}function Ve(){return this.cancelBubble}function We(){return this.defaultPrevented}l.event=function(e){return He&&(e=He(e)),e.persist=qe,e.isPropagationStopped=Ve,e.isDefaultPrevented=We,e.nativeEvent=e};var Ye={enumerable:!1,configurable:!0,get:function(){return this.class}},Ge=l.vnode;l.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={},i=-1===n.indexOf("-");for(var o in t){var a=t[o];if(!("value"===o&&"defaultValue"in t&&null==a||Ie&&"children"===o&&"noscript"===n||"class"===o||"className"===o)){var s=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===a?a="":"translate"===s&&"no"===a?a=!1:"o"===s[0]&&"n"===s[1]?"ondoubleclick"===s?o="ondblclick":"onchange"!==s||"input"!==n&&"textarea"!==n||Ue(t.type)?"onfocus"===s?o="onfocusin":"onblur"===s?o="onfocusout":$e.test(o)&&(o=s):s=o="oninput":i&&Re.test(o)?o=o.replace(De,"-$&").toLowerCase():null===a&&(a=void 0),"oninput"===s&&r[o=s]&&(o="oninputCapture"),r[o]=a}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=F(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=F(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",Ye)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=Be,Ge&&Ge(e)};var Ze=l.__r;l.__r=function(e){Ze&&Ze(e),e.__c};var Ke=l.diffed;function Qe(e){return function(e){return!!e&&e.$$typeof===Be}(e)?Y.apply(null,arguments):e}l.diffed=function(e){Ke&&Ke(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value)};var Xe=0;function Je(e,t,n,r,i,o){t||(t={});var a,s,c=t;if("ref"in c)for(s in c={},t)"ref"==s?a=t[s]:c[s]=t[s];var u={type:e,props:c,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--Xe,__i:-1,__u:0,__source:i,__self:o};if("function"==typeof e&&(a=e.defaultProps))for(s in a)void 0===c[s]&&(c[s]=a[s]);return l.vnode&&l.vnode(u),u}function et(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=et(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function tt(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=et(e))&&(r&&(r+=" "),r+=t);return r}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var nt={exports:{}};nt.exports=function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(t,n){return n&&!0===n.clone&&e(t)?i(function(e){return Array.isArray(e)?[]:{}}(t),t,n):t}function n(n,r,o){var a=n.slice();return r.forEach((function(r,s){void 0===a[s]?a[s]=t(r,o):e(r)?a[s]=i(n[s],r,o):-1===n.indexOf(r)&&a.push(t(r,o))})),a}function r(n,r,o){var a={};return e(n)&&Object.keys(n).forEach((function(e){a[e]=t(n[e],o)})),Object.keys(r).forEach((function(s){e(r[s])&&n[s]?a[s]=i(n[s],r[s],o):a[s]=t(r[s],o)})),a}function i(e,i,o){var a=Array.isArray(i),s=(o||{arrayMerge:n}).arrayMerge||n;return a?Array.isArray(e)?s(e,i,o):t(i,o):r(e,i,o)}return i.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return i(e,n,t)}))},i}();var rt,it,ot=nt.exports,at={exports:{}};rt=at,(it=at.exports).default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},rt.exports=it.default;var st=at.exports;const{svg:lt,xlink:ct}=st,ut={[lt.name]:lt.uri,[ct.name]:ct.uri};function dt(e="",t){const n=function(e){return Object.keys(e).map((t=>`${t}="${e[t].toString().replace(/"/g,"&quot;")}"`)).join(" ")}(ot(ut,t||{}));return`<svg ${n}>${e}</svg>`}const{svg:ft,xlink:ht}=st;var pt={attrs:{[ft.name]:ft.uri,[ht.name]:ht.uri,style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"}};class gt{constructor(e){this.config=ot(pt,e||{}),this.symbols=[]}add(e){const{symbols:t}=this,n=this.find(e.id);return n?(t[t.indexOf(n)]=e,!1):(t.push(e),!0)}remove(e){const{symbols:t}=this,n=this.find(e);return!!n&&(t.splice(t.indexOf(n),1),n.destroy(),!0)}find(e){return this.symbols.filter((t=>t.id===e))[0]||null}has(e){return null!==this.find(e)}stringify(){const{attrs:e}=this.config;return dt(this.symbols.map((e=>e.stringify())).join(""),e)}toString(){return this.stringify()}destroy(){this.symbols.forEach((e=>e.destroy()))}}class mt{constructor({id:e,viewBox:t,content:n}){this.id=e,this.viewBox=t,this.content=n}stringify(){return this.content}toString(){return this.stringify()}destroy(){["id","viewBox","content"].forEach((e=>delete this[e]))}}function vt(e){const t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n}class bt extends mt{get isMounted(){return!!this.node}static createFromExistingNode(e){return new bt({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})}destroy(){this.isMounted&&this.unmount(),super.destroy()}mount(e){if(this.isMounted)return this.node;const t="string"==typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n}render(){return vt(dt(this.stringify())).childNodes[0]}unmount(){this.node.parentNode.removeChild(this.node)}}var yt={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1};function _t(e){return Array.prototype.slice.call(e,0)}function wt(e){return(e||window.location.href).split("#")[0]}function xt(e,t="linearGradient, radialGradient, pattern, mask, clipPath"){return _t(e.querySelectorAll("symbol")).forEach((e=>{_t(e.querySelectorAll(t)).forEach((t=>{e.parentNode.insertBefore(t,e)}))})),e}const kt=st.xlink.uri,Ct="xlink:href",St=/[{}|\\\^\[\]`"<>]/g;function Mt(e){return e.replace(St,(e=>`%${e[0].charCodeAt(0).toString(16).toUpperCase()}`))}const Tt=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],At=Tt.map((e=>`[${e}]`)).join(","),Nt="mount",Ot="symbol_mount",Pt="__SVG_SPRITE_NODE__",Lt="__SVG_SPRITE__",Et=()=>{const e=document.getElementById(Pt);e?jt.attach(e):jt.mount(document.body,!0)};let jt=new class extends gt{constructor(e={}){super(ot(yt,e));const t=(n=n||Object.create(null),{on:function(e,t){(n[e]||(n[e]=[])).push(t)},off:function(e,t){n[e]&&n[e].splice(n[e].indexOf(t)>>>0,1)},emit:function(e,t){(n[e]||[]).map((function(e){e(t)})),(n["*"]||[]).map((function(n){n(e,t)}))}});var n;this._emitter=t,this.node=null;const{config:r}=this;if(r.autoConfigure&&this._autoConfigure(e),r.syncUrlsWithBaseTag){const e=document.getElementsByTagName("base")[0].getAttribute("href");t.on(Nt,(()=>this.updateUrls("#",e)))}const i=this._handleLocationChange.bind(this);this._handleLocationChange=i,r.listenLocationChangeEvent&&window.addEventListener(r.locationChangeEvent,i),r.locationChangeAngularEmitter&&function(e){angular.module("ng").run(["$rootScope",t=>{t.$on("$locationChangeSuccess",((t,n,r)=>{!function(e,t){const n=document.createEvent("CustomEvent");n.initCustomEvent(e,!1,!1,t),window.dispatchEvent(n)}(e,{oldUrl:r,newUrl:n})}))}])}(r.locationChangeEvent),t.on(Nt,(e=>{r.moveGradientsOutsideSymbol&&xt(e)})),t.on(Ot,(e=>{r.moveGradientsOutsideSymbol&&xt(e.parentNode),(/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)||/edge/i.test(navigator.userAgent))&&function(e){const t=[];_t(e.querySelectorAll("style")).forEach((e=>{e.textContent+="",t.push(e)}))}(e)}))}get isMounted(){return!!this.node}_autoConfigure(e){const{config:t}=this;void 0===e.syncUrlsWithBaseTag&&(t.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===e.locationChangeAngularEmitter&&(t.locationChangeAngularEmitter=void 0!==window.angular),void 0===e.moveGradientsOutsideSymbol&&(t.moveGradientsOutsideSymbol=/firefox/i.test(navigator.userAgent))}_handleLocationChange(e){const{oldUrl:t,newUrl:n}=e.detail;this.updateUrls(t,n)}add(e){const t=super.add(e);return this.isMounted&&t&&(e.mount(this.node),this._emitter.emit(Ot,e.node)),t}attach(e){const t=this;if(t.isMounted)return t.node;const n="string"==typeof e?document.querySelector(e):e;return t.node=n,this.symbols.forEach((e=>{e.mount(t.node),this._emitter.emit(Ot,e.node)})),_t(n.querySelectorAll("symbol")).forEach((e=>{const n=bt.createFromExistingNode(e);n.node=e,t.add(n)})),this._emitter.emit(Nt,n),n}destroy(){const{config:e,symbols:t,_emitter:n}=this;t.forEach((e=>e.destroy())),n.off("*"),window.removeEventListener(e.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()}mount(e=this.config.mountTo,t=!1){const n=this;if(n.isMounted)return n.node;const r="string"==typeof e?document.querySelector(e):e,i=n.render();return this.node=i,t&&r.childNodes[0]?r.insertBefore(i,r.childNodes[0]):r.appendChild(i),this._emitter.emit(Nt,i),i}render(){return vt(this.stringify())}unmount(){this.node.parentNode.removeChild(this.node)}updateUrls(e,t){if(!this.isMounted)return!1;const n=document.querySelectorAll(this.config.usagesToUpdate);return function(e,t,n,r){const i=Mt(n),o=Mt(r),a=function(e,t){return _t(e).reduce(((e,n)=>{if(!n.attributes)return e;const r=_t(n.attributes).filter(t);return e.concat(r)}),[])}(e.querySelectorAll(At),(({localName:e,value:t})=>-1!==Tt.indexOf(e)&&-1!==t.indexOf(`url(${i}`)));a.forEach((e=>e.value=e.value.replace(new RegExp(i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),o))),function(e,t,n){_t(e).forEach((e=>{const r=e.getAttribute(Ct);if(r&&0===r.indexOf(t)){const i=r.replace(t,n);e.setAttributeNS(kt,Ct,i)}}))}(t,i,o)}(this.node,n,`${wt(e)}#`,`${wt(t)}#`),!0}}({attrs:{id:Pt,"aria-hidden":"true"},autoConfigure:"undefined"!=typeof document,listenLocationChangeEvent:"undefined"!=typeof window});var zt,Ft,Bt,Rt,$t,Dt;"undefined"!=typeof window&&"undefined"!=typeof document&&(window[Lt]?jt=window[Lt]:window[Lt]=jt,document.body?Et():(Ft=[],Rt=(Bt=document).documentElement.doScroll,$t="DOMContentLoaded",(Dt=(Rt?/^loaded|^c/:/^loaded|^i|^c/).test(Bt.readyState))||Bt.addEventListener($t,zt=function(){for(Bt.removeEventListener($t,zt),Dt=1;zt=Ft.shift();)zt()}),function(e){Dt?setTimeout(e,0):Ft.push(e)})(Et));const It=new bt({id:"7e3aa6e8f105b74dd36141c94bfbc1eb",content:'<symbol viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg" id="7e3aa6e8f105b74dd36141c94bfbc1eb">\n <path fill-rule="evenodd" clip-rule="evenodd" d="M9.554 4.47a.6.6 0 0 1-.13.654l-3 3a.6.6 0 0 1-.849 0l-3-3A.6.6 0 0 1 3 4.1h6a.6.6 0 0 1 .554.37Z" fill="currentColor" fill-opacity=".56" />\n</symbol>',viewBox:"0 0 12 12"});jt.add(It);const Ut=new bt({id:"b1d648a783b58a400b404192338f655e",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 98 96" id="b1d648a783b58a400b404192338f655e">\n <path fill="currentColor" fill-rule="evenodd" d="M48.85 0C21.84 0 0 22 0 49.22 0 70.97 14 89.39 33.4 95.9c2.43.49 3.32-1.06 3.32-2.37 0-1.14-.08-5.05-.08-9.12-13.59 2.93-16.42-5.87-16.42-5.87-2.18-5.7-5.42-7.17-5.42-7.17-4.45-3.01.33-3.01.33-3.01 4.93.32 7.52 5.05 7.52 5.05 4.37 7.5 11.4 5.38 14.23 4.07.4-3.18 1.7-5.38 3.08-6.6-10.84-1.14-22.25-5.38-22.25-24.28 0-5.38 1.94-9.78 5.02-13.2-.49-1.22-2.19-6.28.48-13.04 0 0 4.13-1.3 13.43 5.05a46.97 46.97 0 0 1 12.21-1.63c4.13 0 8.33.57 12.22 1.63 9.3-6.35 13.42-5.05 13.42-5.05 2.67 6.76.97 11.82.49 13.04a18.9 18.9 0 0 1 5.01 13.2c0 18.9-11.4 23.06-22.32 24.28 1.78 1.55 3.32 4.48 3.32 9.13 0 6.6-.08 11.9-.08 13.52 0 1.3.89 2.86 3.31 2.37a49.18 49.18 0 0 0 33.4-46.7C97.72 22 75.8 0 48.86 0z" clip-rule="evenodd" />\n</symbol>',viewBox:"0 0 98 96"});jt.add(Ut);const Ht=new bt({id:"97e840812207a4e85942a3d4cc9c425d",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16" id="97e840812207a4e85942a3d4cc9c425d">\n <g clip-path="url(#97e840812207a4e85942a3d4cc9c425d_a)">\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".56" stroke-width="1.5" d="M8 5.333V8m0 2.666h.006M14.666 8A6.667 6.667 0 1 1 1.333 8a6.667 6.667 0 0 1 13.333 0Z" />\n </g>\n <defs>\n <clipPath id="97e840812207a4e85942a3d4cc9c425d_a">\n <path fill="currentColor" d="M0 0h16v16H0z" />\n </clipPath>\n </defs>\n</symbol>',viewBox:"0 0 16 16"});jt.add(Ht);const qt=new bt({id:"fd1fdbebd322c484b74d1ba8222ec72e",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="fd1fdbebd322c484b74d1ba8222ec72e">\n<path vector-effect="non-scaling-stroke" d="M11 4H7.8C6.11984 4 5.27976 4 4.63803 4.32698C4.07354 4.6146 3.6146 5.07354 3.32698 5.63803C3 6.27976 3 7.11984 3 8.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21H15.2C16.8802 21 17.7202 21 18.362 20.673C18.9265 20.3854 19.3854 19.9265 19.673 19.362C20 18.7202 20 17.8802 20 16.2V13M20.1213 3.87868C21.2929 5.05025 21.2929 6.94975 20.1213 8.12132C18.9497 9.29289 17.0503 9.29289 15.8787 8.12132C14.7071 6.94975 14.7071 5.05025 15.8787 3.87868C17.0503 2.70711 18.9497 2.70711 20.1213 3.87868Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(qt);const Vt=new bt({id:"6a0dfad9d21a9029d1e845251a03a91c",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="6a0dfad9d21a9029d1e845251a03a91c">\n<path vector-effect="non-scaling-stroke" d="M7 13L12 18L17 13M7 6L12 11L17 6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(Vt);const Wt=new bt({id:"6714b0a01cad0cd868b19137adbf8ef7",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="6714b0a01cad0cd868b19137adbf8ef7">\n<path vector-effect="non-scaling-stroke" d="M6 9L12 15L18 9" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(Wt);const Yt=new bt({id:"d369105b52d959e0f31d7e56dae2612e",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="d369105b52d959e0f31d7e56dae2612e">\n<path vector-effect="non-scaling-stroke" d="M9 18L15 12L9 6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(Yt);const Gt=new bt({id:"0b66582bad1b04536ee18b4b8d9e9a30",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="0b66582bad1b04536ee18b4b8d9e9a30">\n<path vector-effect="non-scaling-stroke" d="M17 18L12 13L7 18M17 11L12 6L7 11" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(Gt);const Zt=new bt({id:"7d421dfdc55a22c840e4f6e7f6d142f1",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="7d421dfdc55a22c840e4f6e7f6d142f1">\n<path vector-effect="non-scaling-stroke" d="M18 15L12 9L6 15" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(Zt);const Kt=new bt({id:"a5aca797db351fc35e3c4b4d5d3a6673",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="a5aca797db351fc35e3c4b4d5d3a6673">\n<path vector-effect="non-scaling-stroke" d="M4 4V5.4C4 8.76031 4 10.4405 4.65396 11.7239C5.2292 12.8529 6.14708 13.7708 7.27606 14.346C8.55953 15 10.2397 15 13.6 15H20M20 15L15 10M20 15L15 20" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(Kt);const Qt=new bt({id:"14ab32a1c041859dcf2a710b85f4e6bb",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="14ab32a1c041859dcf2a710b85f4e6bb">\n<path vector-effect="non-scaling-stroke" d="M14 10L21 3M21 3H15M21 3V9M10 14L3 21M3 21H9M3 21L3 15" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(Qt);const Xt=new bt({id:"2df7897188ce65409ea57e820129bd3f",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="2df7897188ce65409ea57e820129bd3f">\n<path vector-effect="non-scaling-stroke" d="M8.54636 19.7675C10.9455 20.8319 13.803 20.7741 16.2499 19.3613C20.3154 17.0141 21.7084 11.8156 19.3612 7.75008L19.1112 7.31706M4.63826 16.2502C2.29105 12.1847 3.68399 6.98619 7.74948 4.63898C10.1965 3.22621 13.0539 3.16841 15.4531 4.23277M2.49316 16.3338L5.22521 17.0659L5.95727 14.3338M18.0424 9.6659L18.7744 6.93385L21.5065 7.6659" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(Xt);const Jt=new bt({id:"2e896c815a6200a31f8b8e813ff3443b",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="2e896c815a6200a31f8b8e813ff3443b">\n<path vector-effect="non-scaling-stroke" d="M4.5 18H19.5M4.5 12H15.5M4.5 6H12.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(Jt);const en=new bt({id:"9401086058a257018c5f11bd2d0f1699",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="9401086058a257018c5f11bd2d0f1699">\n<path vector-effect="non-scaling-stroke" d="M4.5 6H19.5M4.5 12C6.45262 12 13.5474 12 15.5 12M4.5 18L12.5 18" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(en);const tn=new bt({id:"b46ed421558c23c2bc56040f64fea542",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="b46ed421558c23c2bc56040f64fea542">\n<path vector-effect="non-scaling-stroke" d="M7 4V20M7 20L3 16M7 20L11 16M17 20V4M17 4L13 8M17 4L21 8" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(tn);const nn=new bt({id:"bb021e85399e995f42b66451360b7f3e",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" id="bb021e85399e995f42b66451360b7f3e">\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".7" stroke-width="1.5" d="M8 13v4m8-6v6M12 7v10m-4 4h11l2-2V5l-2-2H5L3 5v14l2 2h3Z" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(nn);const rn=new bt({id:"c2b90d2236acecf4ea15dfe9c6962306",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="c2b90d2236acecf4ea15dfe9c6962306">\n<path vector-effect="non-scaling-stroke" d="M2.5 7L5 9.5M2.5 20.5L5.5 17.5M1.5 13.5H4.6213M19 13.5H22.5M19 9.5L21.5 7M18.5 17.5L21.5 20.5M8 7.5V6.5C8 4.29086 9.7908 2.5 12 2.5C14.2092 2.5 16 4.29086 16 6.5V7.5M12 21.5C8.13401 21.5 5 18.366 5 14.5V11.4999C5 10.3829 5 9.82428 5.15712 9.37516C5.43856 8.57093 6.07093 7.93856 6.87522 7.65712C7.32427 7.5 7.88284 7.5 9 7.5H15.0001C16.1171 7.5 16.6757 7.5 17.1248 7.65712C17.9291 7.93856 18.5614 8.57093 18.8429 9.37516C19 9.82428 19 10.3829 19 11.4999V14.5C19 18.366 15.866 21.5 12 21.5Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(rn);const on=new bt({id:"11fffc2467a7bbf0274413a1ad37dc9f",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="11fffc2467a7bbf0274413a1ad37dc9f">\n<path vector-effect="non-scaling-stroke" d="M14.5 15L17.5 12L14.5 9M9.5 9L6.5 12L9.5 15M7.8 21H16.2C17.8802 21 18.7202 21 19.362 20.673C19.9265 20.3854 20.3854 19.9265 20.673 19.362C21 18.7202 21 17.8802 21 16.2V7.8C21 6.11984 21 5.27976 20.673 4.63803C20.3854 4.07354 19.9265 3.6146 19.362 3.32698C18.7202 3 17.8802 3 16.2 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(on);const an=new bt({id:"6a4ae14f6cf80dfe96ec4985f4a1f09a",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" id="6a4ae14f6cf80dfe96ec4985f4a1f09a">\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".7" stroke-width="1.5" d="M12 4v14l2 2h3m0 0a2 2 0 1 0 4 0 2 2 0 0 0-4 0ZM7 4h10M7 4a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm10 0a2 2 0 1 0 4 0 2 2 0 0 0-4 0Zm-5 8h5m0 0a2 2 0 1 0 4 0 2 2 0 0 0-4 0Z" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(an);const sn=new bt({id:"28573ddc1fa4574541a30ea41dc809d3",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" id="28573ddc1fa4574541a30ea41dc809d3">\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".7" stroke-width="1.5" d="M16 4h2l2 2v14l-2 2H6l-2-2V6l2-2h2m1 11 2 2 5-4m-6-7h5l1-1V4v0-1l-1-1H9L8 3v2l1 1h1Z" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(sn);const ln=new bt({id:"5d13576ad53afa1a06870e7f2a89611c",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" id="5d13576ad53afa1a06870e7f2a89611c">\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".7" stroke-width="1.5" d="M14 11H8m2 4H8m8-8H8m12 0v13l-2 2H6l-2-2V4l2-2h12l2 2v3Z" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(ln);const cn=new bt({id:"301433459aced022caf70a344436a818",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="301433459aced022caf70a344436a818">\n<path vector-effect="non-scaling-stroke" d="M20 7V6.8C20 5.11984 20 4.27976 19.673 3.63803C19.3854 3.07354 18.9265 2.6146 18.362 2.32698C17.7202 2 16.8802 2 15.2 2H8.8C7.11984 2 6.27976 2 5.63803 2.32698C5.07354 2.6146 4.6146 3.07354 4.32698 3.63803C4 4.27976 4 5.11984 4 6.8V17.2C4 18.8802 4 19.7202 4.32698 20.362C4.6146 20.9265 5.07354 21.3854 5.63803 21.673C6.27976 22 7.11984 22 8.8 22H12.5M12.5 11H8M11.5 15H8M16 7H8M18 18V12.5C18 11.6716 18.6716 11 19.5 11C20.3284 11 21 11.6716 21 12.5V18C21 19.6569 19.6569 21 18 21C16.3431 21 15 19.6569 15 18V14" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(cn);const un=new bt({id:"8e25e3f623b611fe5142a6270ac7268d",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" id="8e25e3f623b611fe5142a6270ac7268d">\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".7" stroke-width="1.5" d="m13 7-1-2-1-1-1-1H3L2 4v3m0 0h18l2 2v10l-2 2H4l-2-2V7Z" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(un);const dn=new bt({id:"fcf877cdf00a9154483271d31c261114",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="fcf877cdf00a9154483271d31c261114">\n<path vector-effect="non-scaling-stroke" d="M20 6L9 17L4 12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(dn);const fn=new bt({id:"1bc28c2f0dfd279d91231ef6e553e638",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="1bc28c2f0dfd279d91231ef6e553e638">\n<path vector-effect="non-scaling-stroke" d="M13 5H21M13 9H18M13 15H21M13 19H18M3 17.012L4.99133 19L9 15M4 4H8C8.55228 4 9 4.44772 9 5V9C9 9.55228 8.55228 10 8 10H4C3.44772 10 3 9.55228 3 9V5C3 4.44772 3.44772 4 4 4Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(fn);const hn=new bt({id:"472a7e86c3a9476a4f38bb06c801d30d",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="472a7e86c3a9476a4f38bb06c801d30d">\n<path vector-effect="non-scaling-stroke" d="M5 15C4.06812 15 3.60218 15 3.23463 14.8478C2.74458 14.6448 2.35523 14.2554 2.15224 13.7654C2 13.3978 2 12.9319 2 12V5.2C2 4.0799 2 3.51984 2.21799 3.09202C2.40973 2.71569 2.71569 2.40973 3.09202 2.21799C3.51984 2 4.0799 2 5.2 2H12C12.9319 2 13.3978 2 13.7654 2.15224C14.2554 2.35523 14.6448 2.74458 14.8478 3.23463C15 3.60218 15 4.06812 15 5M12.2 22H18.8C19.9201 22 20.4802 22 20.908 21.782C21.2843 21.5903 21.5903 21.2843 21.782 20.908C22 20.4802 22 19.9201 22 18.8V12.2C22 11.0799 22 10.5198 21.782 10.092C21.5903 9.71569 21.2843 9.40973 20.908 9.21799C20.4802 9 19.9201 9 18.8 9H12.2C11.0799 9 10.5198 9 10.092 9.21799C9.71569 9.40973 9.40973 9.71569 9.21799 10.092C9 10.5198 9 11.0799 9 12.2V18.8C9 19.9201 9 20.4802 9.21799 20.908C9.40973 21.2843 9.71569 21.5903 10.092 21.782C10.5198 22 11.0799 22 12.2 22Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(hn);const pn=new bt({id:"0e6dd40015c633a2be9271018b9b22bf",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="0e6dd40015c633a2be9271018b9b22bf">\n<path vector-effect="non-scaling-stroke" d="M4 16.2422C2.79401 15.435 2 14.0602 2 12.5C2 10.1564 3.79151 8.23129 6.07974 8.01937C6.54781 5.17213 9.02024 3 12 3C14.9798 3 17.4522 5.17213 17.9203 8.01937C20.2085 8.23129 22 10.1564 22 12.5C22 14.0602 21.206 15.435 20 16.2422M8 17L12 21M12 21L16 17M12 21V12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(pn);const gn=new bt({id:"dacf24b7c84e8a250ab378b98cf65780",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="dacf24b7c84e8a250ab378b98cf65780">\n<path vector-effect="non-scaling-stroke" d="M5 9H19M5 15H19" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(gn);const mn=new bt({id:"f6af8233c5d208fa571aed090bfc4178",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16" id="f6af8233c5d208fa571aed090bfc4178">\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".56" stroke-width="1.5" d="M1.613 8.475c-.09-.144-.136-.216-.161-.326a.782.782 0 0 1 0-.298c.025-.111.07-.183.161-.327C2.363 6.336 4.597 3.333 8 3.333c3.404 0 5.637 3.003 6.387 4.191.09.144.136.216.162.327.019.083.019.214 0 .298-.026.11-.071.182-.162.326-.75 1.188-2.983 4.191-6.387 4.191-3.403 0-5.636-3.003-6.387-4.19Z" />\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".56" stroke-width="1.5" d="M8 10a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z" />\n</symbol>',viewBox:"0 0 16 16"});jt.add(mn);const vn=new bt({id:"e2bf3103166453fd92fed1c3c2fcc807",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="e2bf3103166453fd92fed1c3c2fcc807">\n<path vector-effect="non-scaling-stroke" d="M8 17H16M11.0177 2.764L4.23539 8.03912C3.78202 8.39175 3.55534 8.56806 3.39203 8.78886C3.24737 8.98444 3.1396 9.20478 3.07403 9.43905C3 9.70352 3 9.9907 3 10.5651V17.8C3 18.9201 3 19.4801 3.21799 19.908C3.40973 20.2843 3.71569 20.5903 4.09202 20.782C4.51984 21 5.07989 21 6.2 21H17.8C18.9201 21 19.4802 21 19.908 20.782C20.2843 20.5903 20.5903 20.2843 20.782 19.908C21 19.4801 21 18.9201 21 17.8V10.5651C21 9.9907 21 9.70352 20.926 9.43905C20.8604 9.20478 20.7526 8.98444 20.608 8.78886C20.4447 8.56806 20.218 8.39175 19.7646 8.03913L12.9823 2.764C12.631 2.49075 12.4553 2.35412 12.2613 2.3016C12.0902 2.25526 11.9098 2.25526 11.7387 2.3016C11.5447 2.35412 11.369 2.49075 11.0177 2.764Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(vn);const bn=new bt({id:"db4c3937a96a0ed2c4446a44d3ed4487",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="db4c3937a96a0ed2c4446a44d3ed4487">\n<path vector-effect="non-scaling-stroke" d="M10.0002 13C10.4297 13.5741 10.9776 14.0491 11.6067 14.3929C12.2359 14.7367 12.9317 14.9411 13.6468 14.9923C14.362 15.0435 15.0798 14.9403 15.7515 14.6897C16.4233 14.4392 17.0333 14.047 17.5402 13.54L20.5402 10.54C21.451 9.59695 21.955 8.33394 21.9436 7.02296C21.9322 5.71198 21.4063 4.45791 20.4793 3.53087C19.5523 2.60383 18.2982 2.07799 16.9872 2.0666C15.6762 2.0552 14.4132 2.55918 13.4702 3.46997L11.7502 5.17997M14.0002 11C13.5707 10.4258 13.0228 9.95078 12.3936 9.60703C11.7645 9.26327 11.0687 9.05885 10.3535 9.00763C9.63841 8.95641 8.92061 9.0596 8.24885 9.31018C7.5771 9.56077 6.96709 9.9529 6.4602 10.46L3.4602 13.46C2.54941 14.403 2.04544 15.666 2.05683 16.977C2.06822 18.288 2.59407 19.542 3.52111 20.4691C4.44815 21.3961 5.70221 21.9219 7.01319 21.9333C8.32418 21.9447 9.58719 21.4408 10.5302 20.53L12.2402 18.82" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(bn);const yn=new bt({id:"f346781556394af2bd92144ed8a81446",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="f346781556394af2bd92144ed8a81446">\n<path vector-effect="non-scaling-stroke" d="M21 9L21 3M21 3H15M21 3L13 11M10 5H7.8C6.11984 5 5.27976 5 4.63803 5.32698C4.07354 5.6146 3.6146 6.07354 3.32698 6.63803C3 7.27976 3 8.11984 3 9.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21H14.2C15.8802 21 16.7202 21 17.362 20.673C17.9265 20.3854 18.3854 19.9265 18.673 19.362C19 18.7202 19 17.8802 19 16.2V14" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(yn);const _n=new bt({id:"eb91e2adaaf820e51d7f9276a36ae9bc",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="eb91e2adaaf820e51d7f9276a36ae9bc">\n<path vector-effect="non-scaling-stroke" d="M21 21L16.65 16.65M19 11C19 15.4183 15.4183 19 11 19C6.58172 19 3 15.4183 3 11C3 6.58172 6.58172 3 11 3C15.4183 3 19 6.58172 19 11Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(_n);const wn=new bt({id:"a3d8dc7d008afa216e105f1d0e428c8a",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="a3d8dc7d008afa216e105f1d0e428c8a">\n<path vector-effect="non-scaling-stroke" d="M3 8L15 8M15 8C15 9.65686 16.3431 11 18 11C19.6569 11 21 9.65685 21 8C21 6.34315 19.6569 5 18 5C16.3431 5 15 6.34315 15 8ZM9 16L21 16M9 16C9 17.6569 7.65685 19 6 19C4.34315 19 3 17.6569 3 16C3 14.3431 4.34315 13 6 13C7.65685 13 9 14.3431 9 16Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(wn);const xn=new bt({id:"00720afc1b6bf51893d1d598043a4de1",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="00720afc1b6bf51893d1d598043a4de1">\n<path vector-effect="non-scaling-stroke" d="M18 6L6 18M6 6L18 18" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(xn);const kn=new bt({id:"72dc6b01e3eb761c8218eb9909e841a6",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="72dc6b01e3eb761c8218eb9909e841a6">\n<path vector-effect="non-scaling-stroke" d="M12.9999 2L4.09332 12.6879C3.74451 13.1064 3.57011 13.3157 3.56744 13.4925C3.56512 13.6461 3.63359 13.7923 3.75312 13.8889C3.89061 14 4.16304 14 4.7079 14H11.9999L10.9999 22L19.9064 11.3121C20.2552 10.8936 20.4296 10.6843 20.4323 10.5075C20.4346 10.3539 20.3661 10.2077 20.2466 10.1111C20.1091 10 19.8367 10 19.2918 10H11.9999L12.9999 2Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(kn);const Cn=new bt({id:"2b588854ea2eb02a33849edc6074ba47",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="2b588854ea2eb02a33849edc6074ba47">\n <path d="M2.667 10s.667-.667 2.667-.667c2 0 3.333 1.333 5.333 1.333S13.334 10 13.334 10V2s-.667.666-2.667.666c-2 0-3.333-1.333-5.333-1.333S2.667 2 2.667 2v12.666" stroke="currentColor" stroke-opacity=".72" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 16 16"});jt.add(Cn);const Sn=new bt({id:"e7a5450a50d9dbdceccdc513ec1c2df5",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="e7a5450a50d9dbdceccdc513ec1c2df5">\n<path vector-effect="non-scaling-stroke" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n<path vector-effect="non-scaling-stroke" d="M9.5 8.96533C9.5 8.48805 9.5 8.24941 9.59974 8.11618C9.68666 8.00007 9.81971 7.92744 9.96438 7.9171C10.1304 7.90525 10.3311 8.03429 10.7326 8.29239L15.4532 11.3271C15.8016 11.551 15.9758 11.663 16.0359 11.8054C16.0885 11.9298 16.0885 12.0702 16.0359 12.1946C15.9758 12.337 15.8016 12.449 15.4532 12.6729L10.7326 15.7076C10.3311 15.9657 10.1304 16.0948 9.96438 16.0829C9.81971 16.0726 9.68666 15.9999 9.59974 15.8838C9.5 15.7506 9.5 15.512 9.5 15.0347V8.96533Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(Sn);const Mn=new bt({id:"212b7cc7454a8f2131b99a6dc35cdac7",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16" id="212b7cc7454a8f2131b99a6dc35cdac7">\n <g clip-path="url(#212b7cc7454a8f2131b99a6dc35cdac7_a)">\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".56" stroke-width="1.5" d="m9.566 3.1 1.3-1.3a1.607 1.607 0 0 1 2.267 0L14.2 2.867a1.6 1.6 0 0 1 0 2.266l-1.3 1.3m1.766-5.1-1 1m-.333 6.334a6 6 0 1 1-12 0 6 6 0 0 1 12 0Z" />\n </g>\n <defs>\n <clipPath id="212b7cc7454a8f2131b99a6dc35cdac7_a">\n <path fill="currentColor" d="M0 0h16v16H0z" />\n </clipPath>\n </defs>\n</symbol>',viewBox:"0 0 16 16"});jt.add(Mn);const Tn=new bt({id:"d509e5a11013615ea9a30a430727409d",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="d509e5a11013615ea9a30a430727409d">\n<path vector-effect="non-scaling-stroke" d="M16.2 21H6.93137C6.32555 21 6.02265 21 5.88238 20.8802C5.76068 20.7763 5.69609 20.6203 5.70865 20.4608C5.72312 20.2769 5.93731 20.0627 6.36569 19.6343L14.8686 11.1314C15.2646 10.7354 15.4627 10.5373 15.691 10.4632C15.8918 10.3979 16.1082 10.3979 16.309 10.4632C16.5373 10.5373 16.7354 10.7354 17.1314 11.1314L21 15V16.2M16.2 21C17.8802 21 18.7202 21 19.362 20.673C19.9265 20.3854 20.3854 19.9265 20.673 19.362C21 18.7202 21 17.8802 21 16.2M16.2 21H7.8C6.11984 21 5.27976 21 4.63803 20.673C4.07354 20.3854 3.6146 19.9265 3.32698 19.362C3 18.7202 3 17.8802 3 16.2V7.8C3 6.11984 3 5.27976 3.32698 4.63803C3.6146 4.07354 4.07354 3.6146 4.63803 3.32698C5.27976 3 6.11984 3 7.8 3H16.2C17.8802 3 18.7202 3 19.362 3.32698C19.9265 3.6146 20.3854 4.07354 20.673 4.63803C21 5.27976 21 6.11984 21 7.8V16.2M10.5 8.5C10.5 9.60457 9.60457 10.5 8.5 10.5C7.39543 10.5 6.5 9.60457 6.5 8.5C6.5 7.39543 7.39543 6.5 8.5 6.5C9.60457 6.5 10.5 7.39543 10.5 8.5Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(Tn);const An=new bt({id:"2cfef4a6ca3bcab80737e78fa35a1e8e",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="2cfef4a6ca3bcab80737e78fa35a1e8e">\n<path vector-effect="non-scaling-stroke" d="M15 9H15.01M15 15C18.3137 15 21 12.3137 21 9C21 5.68629 18.3137 3 15 3C11.6863 3 9 5.68629 9 9C9 9.27368 9.01832 9.54308 9.05381 9.80704C9.11218 10.2412 9.14136 10.4583 9.12172 10.5956C9.10125 10.7387 9.0752 10.8157 9.00469 10.9419C8.937 11.063 8.81771 11.1823 8.57913 11.4209L3.46863 16.5314C3.29568 16.7043 3.2092 16.7908 3.14736 16.8917C3.09253 16.9812 3.05213 17.0787 3.02763 17.1808C3 17.2959 3 17.4182 3 17.6627V19.4C3 19.9601 3 20.2401 3.10899 20.454C3.20487 20.6422 3.35785 20.7951 3.54601 20.891C3.75992 21 4.03995 21 4.6 21H6.33726C6.58185 21 6.70414 21 6.81923 20.9724C6.92127 20.9479 7.01881 20.9075 7.10828 20.8526C7.2092 20.7908 7.29568 20.7043 7.46863 20.5314L12.5791 15.4209C12.8177 15.1823 12.937 15.063 13.0581 14.9953C13.1843 14.9248 13.2613 14.8987 13.4044 14.8783C13.5417 14.8586 13.7588 14.8878 14.193 14.9462C14.4569 14.9817 14.7263 15 15 15Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(An);const Nn=new bt({id:"f5f0f4b804a352ab8e0f24140051bbe3",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="f5f0f4b804a352ab8e0f24140051bbe3">\n<path vector-effect="non-scaling-stroke" d="M8.99999 12H12M8.99999 12C8.99999 12.3965 9.07692 12.7751 9.21667 13.1216M8.99999 12C8.99999 11.6224 9.06975 11.2611 9.19707 10.9283M15 12H12M15 12C15 11.6224 14.9303 11.2611 14.8029 10.9283M15 12C15 12.3776 14.9303 12.7389 14.8029 13.0717M12 15V12M12 15C11.6219 15 11.2601 14.93 10.9269 14.8024M12 15C12.4299 15 12.8388 14.9096 13.2085 14.7467M12 9V12M12 9C12.4299 9 12.8388 9.09044 13.2085 9.25334M12 9C11.5908 9 11.2008 9.08191 10.8454 9.23022M12 12L9.82377 9.93503M12 12L14.3085 13.916M12 12L9.94168 14.1825M12 12L14.1762 9.93503M12 12L14.8029 10.9283M12 12L9.21667 13.1216M12 12L10.9269 14.8024M12 12L13.2085 9.25334M12 12L14.8029 13.0717M12 12L13.2085 14.7467M12 12L10.8454 9.23022M12 12L9.19707 10.9283M9.82377 9.93503C10.1094 9.63416 10.4567 9.39246 10.8454 9.23022M9.82377 9.93503C9.55415 10.2191 9.33956 10.5559 9.19707 10.9283M14.3085 13.916C14.5165 13.6657 14.6846 13.381 14.8029 13.0717M14.3085 13.916C14.0131 14.2716 13.6371 14.5578 13.2085 14.7467M9.94168 14.1825C9.62921 13.8877 9.38003 13.5266 9.21667 13.1216M9.94168 14.1825C10.224 14.4488 10.5579 14.661 10.9269 14.8024M14.1762 9.93503C14.4458 10.2191 14.6604 10.5559 14.8029 10.9283M14.1762 9.93503C13.9039 9.64814 13.5755 9.41504 13.2085 9.25334M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(Nn);const On=new bt({id:"b53acf6616bc3217ee53f6fa11e30526",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="b53acf6616bc3217ee53f6fa11e30526">\n<path vector-effect="non-scaling-stroke" d="M5.5839 4.7328C6.33209 3.98462 7.17125 3.38527 8.06529 2.9339C7.43285 6.41756 8.46285 10.1468 11.158 12.842C13.8532 15.5372 17.5824 16.5672 21.0661 15.9347C20.6147 16.8288 20.0154 17.6679 19.2672 18.4161C15.4887 22.1946 9.36244 22.1946 5.5839 18.4161C1.80537 14.6376 1.80537 8.51134 5.5839 4.7328Z" stroke="currentColor" stroke-width="1.5" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(On);const Pn=new bt({id:"f6726cf2a294337e9b40efc54b12453b",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="f6726cf2a294337e9b40efc54b12453b">\n<path vector-effect="non-scaling-stroke" d="M22 12H20M19.071 19.0711L17.6567 17.6569M4 12H2M6.34292 6.34317L4.92871 4.92896M12 4V2M17.6567 6.34317L19.071 4.92896M12 22V20M4.92871 19.0711L6.34292 17.6569M18 12C18 15.3137 15.3137 18 12 18C8.68629 18 6 15.3137 6 12C6 8.68629 8.68629 6 12 6C15.3137 6 18 8.68629 18 12Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(Pn);const Ln=new bt({id:"fcf01aebea5d02da45d4b8d3bac62b58",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="fcf01aebea5d02da45d4b8d3bac62b58">\n<path vector-effect="non-scaling-stroke" d="M12 9.5V13.5L14.5 15M12 5C7.30558 5 3.5 8.80558 3.5 13.5C3.5 18.1944 7.30558 22 12 22C16.6944 22 20.5 18.1944 20.5 13.5C20.5 8.80558 16.6944 5 12 5ZM12 5V2M10 2H14M20.329 5.59204L18.829 4.09204L19.579 4.84204M3.67102 5.59204L5.17102 4.09204L4.42102 4.84204" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(Ln);const En=new bt({id:"4af8011a58a597dd8fd8c52187120c54",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 32 32" id="4af8011a58a597dd8fd8c52187120c54">\n <g clip-path="url(#4af8011a58a597dd8fd8c52187120c54_a)">\n <path fill="url(#4af8011a58a597dd8fd8c52187120c54_b)" fill-rule="evenodd" d="M22.23 4.66a3.6 3.6 0 0 1 5.1.04A16.08 16.08 0 0 1 31.97 16a3.6 3.6 0 1 1-7.2 0c0-2.4-.98-4.61-2.58-6.24a3.6 3.6 0 0 1 .03-5.1Z" clip-rule="evenodd" />\n <path fill="url(#4af8011a58a597dd8fd8c52187120c54_c)" fill-rule="evenodd" d="M12.4 3.6A3.6 3.6 0 0 1 16 0c4.4 0 8.4 1.8 11.29 4.66a3.6 3.6 0 0 1-5.06 5.13A8.87 8.87 0 0 0 16 7.2a3.6 3.6 0 0 1-3.6-3.6Z" clip-rule="evenodd" />\n <path fill="url(#4af8011a58a597dd8fd8c52187120c54_d)" fill-rule="evenodd" d="M0 16A16 16 0 0 1 16 0a3.6 3.6 0 0 1 0 7.2 8.8 8.8 0 0 0-6.21 15.04 3.6 3.6 0 0 1-5.13 5.06A16.08 16.08 0 0 1 0 16Z" clip-rule="evenodd" />\n <path fill="url(#4af8011a58a597dd8fd8c52187120c54_e)" fill-rule="evenodd" d="M4.66 22.24a3.6 3.6 0 0 1 5.1-.03 8.87 8.87 0 0 0 6.23 2.59 3.6 3.6 0 0 1 0 7.2c-4.4 0-8.4-1.8-11.3-4.66a3.6 3.6 0 0 1-.03-5.1Z" clip-rule="evenodd" />\n <path fill="url(#4af8011a58a597dd8fd8c52187120c54_f)" fill-rule="evenodd" d="M28.38 12.4a3.6 3.6 0 0 1 3.6 3.6A16 16 0 0 1 16 32a3.6 3.6 0 0 1 0-7.2 8.8 8.8 0 0 0 8.8-8.8 3.6 3.6 0 0 1 3.6-3.6Z" clip-rule="evenodd" />\n <path fill="url(#4af8011a58a597dd8fd8c52187120c54_g)" fill-rule="evenodd" d="M28.38 12.4a3.6 3.6 0 0 1 3.6 3.6v12.4a3.6 3.6 0 1 1-7.2 0V16a3.6 3.6 0 0 1 3.6-3.6Z" clip-rule="evenodd" />\n <g clip-path="url(#4af8011a58a597dd8fd8c52187120c54_h)">\n <path fill="url(#4af8011a58a597dd8fd8c52187120c54_i)" fill-rule="evenodd" d="M22.23 4.66a3.6 3.6 0 0 1 5.1.04A16.08 16.08 0 0 1 31.97 16a3.6 3.6 0 1 1-7.2 0c0-2.4-.98-4.61-2.58-6.24a3.6 3.6 0 0 1 .03-5.1Z" clip-rule="evenodd" />\n </g>\n </g>\n <defs>\n <linearGradient id="4af8011a58a597dd8fd8c52187120c54_b" x1="26.4" x2="28.8" y1="9.6" y2="15.01" gradientUnits="userSpaceOnUse">\n <stop stop-color="#7E22CE" />\n <stop offset="1" stop-color="#8B5CF6" />\n </linearGradient>\n <linearGradient id="4af8011a58a597dd8fd8c52187120c54_c" x1="26.8" x2="17.8" y1="9.4" y2="3.61" gradientUnits="userSpaceOnUse">\n <stop stop-color="#EF4444" />\n <stop offset="1" stop-color="#DC2626" />\n </linearGradient>\n <linearGradient id="4af8011a58a597dd8fd8c52187120c54_d" x1="3.6" x2="5.4" y1="14.01" y2="24.81" gradientUnits="userSpaceOnUse">\n <stop stop-color="#22C55E" />\n <stop offset="1" stop-color="#15803D" />\n </linearGradient>\n <linearGradient id="4af8011a58a597dd8fd8c52187120c54_e" x1="4.8" x2="14.4" y1="22.21" y2="29.21" gradientUnits="userSpaceOnUse">\n <stop stop-color="#94A3B8" />\n <stop offset=".96" stop-color="#64748B" />\n <stop offset="1" stop-color="#64748B" />\n </linearGradient>\n <linearGradient id="4af8011a58a597dd8fd8c52187120c54_f" x1="28.4" x2="22.19" y1="22.18" y2="28.4" gradientUnits="userSpaceOnUse">\n <stop stop-color="#D97706" />\n <stop offset="1" stop-color="#FBBF24" />\n </linearGradient>\n <linearGradient id="4af8011a58a597dd8fd8c52187120c54_g" x1="29.2" x2="30.63" y1="54.43" y2="54.28" gradientUnits="userSpaceOnUse">\n <stop stop-color="#FBBF24" />\n <stop offset="1" stop-color="#FBBF24" />\n </linearGradient>\n <linearGradient id="4af8011a58a597dd8fd8c52187120c54_i" x1="26.4" x2="28.8" y1="9.6" y2="15.01" gradientUnits="userSpaceOnUse">\n <stop stop-color="#7E22CE" />\n <stop offset="1" stop-color="#8B5CF6" />\n </linearGradient>\n <clipPath id="4af8011a58a597dd8fd8c52187120c54_a">\n <path fill="#fff" d="M0 0h32v32H0z" />\n </clipPath>\n <clipPath id="4af8011a58a597dd8fd8c52187120c54_h">\n <path fill="#fff" d="M24.8 12H32v8h-7.2z" />\n </clipPath>\n </defs>\n</symbol>',viewBox:"0 0 32 32"});jt.add(En);const jn=new bt({id:"9a80d543f66830af93634ae4d68aa0b7",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="9a80d543f66830af93634ae4d68aa0b7">\n<path vector-effect="non-scaling-stroke" fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM13 8C13 7.44772 12.5523 7 12 7C11.4477 7 11 7.44772 11 8V12C11 12.5523 11.4477 13 12 13C12.5523 13 13 12.5523 13 12V8ZM12 15C11.4477 15 11 15.4477 11 16C11 16.5523 11.4477 17 12 17H12.01C12.5623 17 13.01 16.5523 13.01 16C13.01 15.4477 12.5623 15 12.01 15H12Z" fill="currentColor" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(jn);const zn=new bt({id:"9fc212651ca048f099abf61155ea3483",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="9fc212651ca048f099abf61155ea3483">\n<path vector-effect="non-scaling-stroke" fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM17.2071 9.70711C17.5976 9.31658 17.5976 8.68342 17.2071 8.29289C16.8166 7.90237 16.1834 7.90237 15.7929 8.29289L10.5 13.5858L8.20711 11.2929C7.81658 10.9024 7.18342 10.9024 6.79289 11.2929C6.40237 11.6834 6.40237 12.3166 6.79289 12.7071L9.79289 15.7071C10.1834 16.0976 10.8166 16.0976 11.2071 15.7071L17.2071 9.70711Z" fill="currentColor" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(zn);const Fn=new bt({id:"6f69a868093429cca2d18204c014d1de",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="6f69a868093429cca2d18204c014d1de">\n<path vector-effect="non-scaling-stroke" fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM10.9066 8.27123C11.3138 8.03191 11.7926 7.94443 12.2581 8.02428C12.7236 8.10413 13.1459 8.34615 13.45 8.70749C13.7542 9.06883 13.9207 9.52615 13.92 9.99847L13.92 9.99996C13.92 10.4691 13.5549 10.9582 12.8653 11.4179C12.5509 11.6275 12.2294 11.7889 11.9826 11.8986C11.8606 11.9529 11.7603 11.9929 11.6929 12.0186C11.663 12.03 11.6329 12.041 11.6027 12.0516C11.0794 12.2267 10.7968 12.7926 10.9713 13.3162C11.146 13.8401 11.7123 14.1233 12.2362 13.9486L12.4049 13.8876C12.5015 13.8508 12.6356 13.7971 12.7949 13.7263C13.1105 13.586 13.5391 13.3724 13.9747 13.082C14.7849 12.5419 15.9195 11.5312 15.92 10.0009C15.9213 9.05644 15.5883 8.14201 14.9801 7.41949C14.3717 6.69682 13.5273 6.21277 12.5962 6.05307C11.6652 5.89337 10.7077 6.06833 9.89327 6.54696C9.07886 7.02559 8.46013 7.77701 8.14666 8.66812C7.96339 9.18911 8.23716 9.76002 8.75815 9.9433C9.27914 10.1266 9.85006 9.85279 10.0333 9.33181C10.1901 8.88625 10.4994 8.51054 10.9066 8.27123ZM12 16C11.4477 16 11 16.4477 11 17C11 17.5522 11.4477 18 12 18H12.01C12.5623 18 13.01 17.5522 13.01 17C13.01 16.4477 12.5623 16 12.01 16H12Z" fill="currentColor" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(Fn);const Bn=new bt({id:"27eb29a1af650efa3c8f236e96fd49b8",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="27eb29a1af650efa3c8f236e96fd49b8">\n<path vector-effect="non-scaling-stroke" fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8 11C7.44772 11 7 11.4477 7 12C7 12.5523 7.44772 13 8 13H16C16.5523 13 17 12.5523 17 12C17 11.4477 16.5523 11 16 11H8Z" fill="currentColor" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(Bn);const Rn=new bt({id:"d37b4d7c76a2a7896f3890561ed86f2d",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="d37b4d7c76a2a7896f3890561ed86f2d">\n<path vector-effect="non-scaling-stroke" fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM15.7071 8.29289C16.0976 8.68342 16.0976 9.31658 15.7071 9.70711L13.4142 12L15.7071 14.2929C16.0976 14.6834 16.0976 15.3166 15.7071 15.7071C15.3166 16.0976 14.6834 16.0976 14.2929 15.7071L12 13.4142L9.70711 15.7071C9.31658 16.0976 8.68342 16.0976 8.29289 15.7071C7.90237 15.3166 7.90237 14.6834 8.29289 14.2929L10.5858 12L8.29289 9.70711C7.90237 9.31658 7.90237 8.68342 8.29289 8.29289C8.68342 7.90237 9.31658 7.90237 9.70711 8.29289L12 10.5858L14.2929 8.29289C14.6834 7.90237 15.3166 7.90237 15.7071 8.29289Z" fill="currentColor" />\n</symbol>',viewBox:"0 0 24 24"});jt.add(Rn);const $n=new bt({id:"eddd9bec4b080bb230775b072a486acc",content:'<symbol viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" id="eddd9bec4b080bb230775b072a486acc">\n <circle cx="8" cy="8" r="7" stroke="currentColor" stroke-opacity="0.32" stroke-width="1.5" vector-effect="non-scaling-stroke" />\n <path d="M 15 8 A 7 7 0 0 1 8 15" stroke="currentColor" stroke-opacity="1" stroke-width="1.5" class="allure-spinner" vector-effect="non-scaling-stroke" />\n <style>\n #eddd9bec4b080bb230775b072a486acc .allure-spinner {\n transform-origin: center;\n animation: allure-spinner-spin 0.75s infinite ease-in-out;\n }\n\n @keyframes allure-spinner-spin {\n 100% {\n transform: rotate(360deg);\n }\n }\n </style>\n</symbol>',viewBox:"0 0 16 16"});jt.add($n);const Dn=new bt({id:"baef59387353cd7f2939ebd4ddf30155",content:'<symbol viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" id="baef59387353cd7f2939ebd4ddf30155">\n<g clip-path="url(#baef59387353cd7f2939ebd4ddf30155_clip0_428_25)">\n<path d="M5.24 22.51L6.67 21.09C5.10422 19.6841 3.87398 17.9447 3.07 16C5.1 10.93 10.7 7 16 7C17.3639 7.018 18.7154 7.26128 20 7.72L21.55 6.16C19.7927 5.41732 17.9077 5.02335 16 5C12.7405 5.12257 9.58839 6.19756 6.9332 8.09209C4.27802 9.98662 2.23616 12.6176 1.06 15.66C0.980569 15.8797 0.980569 16.1203 1.06 16.34C1.94825 18.697 3.38043 20.811 5.24 22.51Z" fill="currentColor" />\n<path d="M12 15.73C12.0695 14.7717 12.4817 13.8705 13.1611 13.1911C13.8405 12.5117 14.7417 12.0995 15.7 12.03L17.51 10.21C16.4958 9.94295 15.4292 9.94642 14.4168 10.2201C13.4043 10.4937 12.4812 11.028 11.7396 11.7696C10.998 12.5112 10.4637 13.4343 10.1901 14.4468C9.91642 15.4592 9.91295 16.5258 10.18 17.54L12 15.73Z" fill="currentColor" />\n<path d="M30.94 15.66C29.7933 12.6732 27.7981 10.087 25.2 8.22L30 3.41L28.59 2L2 28.59L3.41 30L8.51 24.9C10.7839 26.234 13.364 26.9574 16 27C19.2595 26.8774 22.4116 25.8024 25.0668 23.9079C27.722 22.0134 29.7638 19.3824 30.94 16.34C31.0194 16.1203 31.0194 15.8797 30.94 15.66ZM20 16C19.9958 16.7001 19.8079 17.3868 19.4551 17.9916C19.1023 18.5963 18.597 19.0978 17.9896 19.4461C17.3822 19.7943 16.6941 19.977 15.994 19.9759C15.2939 19.9749 14.6063 19.7901 14 19.44L19.44 14C19.7995 14.6057 19.9927 15.2957 20 16ZM16 25C13.9021 24.9634 11.8439 24.4214 10 23.42L12.54 20.88C13.6953 21.6816 15.0955 22.052 16.4961 21.9265C17.8967 21.8009 19.2087 21.1874 20.2031 20.1931C21.1974 19.1987 21.8109 17.8867 21.9365 16.4861C22.062 15.0855 21.6916 13.6853 20.89 12.53L23.76 9.66C26.0546 11.235 27.849 13.4354 28.93 16C26.9 21.07 21.3 25 16 25Z" fill="currentColor" />\n</g>\n<defs>\n<clipPath id="baef59387353cd7f2939ebd4ddf30155_clip0_428_25">\n<rect width="32" height="32" fill="white" />\n</clipPath>\n</defs>\n</symbol>',viewBox:"0 0 32 32"});jt.add(Dn);const In=new bt({id:"81703ad6b4eb056b5d8424a52fc8c0e8",content:'<symbol viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" id="81703ad6b4eb056b5d8424a52fc8c0e8">\n<g clip-path="url(#81703ad6b4eb056b5d8424a52fc8c0e8_clip0_428_24)">\n<path d="M30.94 15.66C29.7638 12.6176 27.722 9.98662 25.0668 8.09209C22.4116 6.19756 19.2595 5.12257 16 5C12.7405 5.12257 9.58839 6.19756 6.9332 8.09209C4.27802 9.98662 2.23616 12.6176 1.06 15.66C0.980569 15.8797 0.980569 16.1203 1.06 16.34C2.23616 19.3824 4.27802 22.0134 6.9332 23.9079C9.58839 25.8024 12.7405 26.8774 16 27C19.2595 26.8774 22.4116 25.8024 25.0668 23.9079C27.722 22.0134 29.7638 19.3824 30.94 16.34C31.0194 16.1203 31.0194 15.8797 30.94 15.66ZM16 25C10.7 25 5.1 21.07 3.07 16C5.1 10.93 10.7 7 16 7C21.3 7 26.9 10.93 28.93 16C26.9 21.07 21.3 25 16 25Z" fill="currentColor" />\n<path d="M16 10C14.8133 10 13.6533 10.3519 12.6666 11.0112C11.6799 11.6705 10.9109 12.6075 10.4567 13.7039C10.0026 14.8003 9.88378 16.0067 10.1153 17.1705C10.3468 18.3344 10.9182 19.4035 11.7574 20.2426C12.5965 21.0818 13.6656 21.6532 14.8295 21.8847C15.9933 22.1162 17.1997 21.9974 18.2961 21.5433C19.3925 21.0892 20.3295 20.3201 20.9888 19.3334C21.6481 18.3467 22 17.1867 22 16C22 14.4087 21.3679 12.8826 20.2426 11.7574C19.1174 10.6321 17.5913 10 16 10ZM16 20C15.2089 20 14.4355 19.7654 13.7777 19.3259C13.1199 18.8864 12.6072 18.2616 12.3045 17.5307C12.0017 16.7998 11.9225 15.9956 12.0769 15.2196C12.2312 14.4437 12.6122 13.731 13.1716 13.1716C13.731 12.6122 14.4437 12.2312 15.2196 12.0769C15.9956 11.9225 16.7998 12.0017 17.5307 12.3045C18.2616 12.6072 18.8864 13.1199 19.3259 13.7777C19.7654 14.4355 20 15.2089 20 16C20 17.0609 19.5786 18.0783 18.8284 18.8284C18.0783 19.5786 17.0609 20 16 20Z" fill="currentColor" />\n</g>\n<defs>\n<clipPath id="81703ad6b4eb056b5d8424a52fc8c0e8_clip0_428_24">\n<rect width="32" height="32" fill="white" />\n</clipPath>\n</defs>\n</symbol>',viewBox:"0 0 32 32"});jt.add(In);var Un={icon:"styles_icon__peopu","size-xs":"styles_size-xs__jr71y","size-s":"styles_size-s__nGH-V","size-m":"styles_size-m__INBNd",inline:"styles_inline__BmJqE"};const Hn={arrowsChevronDown:It.id,github:Ut.id,lineAlertsAlertCircle:Ht.id,lineAlertsNotificationBox:qt.id,lineArrowsChevronDown:Wt.id,lineArrowsChevronDownDouble:Vt.id,lineArrowsChevronRight:Yt.id,lineArrowsChevronUp:Zt.id,lineArrowsChevronUpDouble:Gt.id,lineArrowsCornerDownRight:Kt.id,lineArrowsExpand3:Qt.id,lineArrowsRefreshCcw1:Xt.id,lineArrowsSortLineAsc:Jt.id,lineArrowsSortLineDesc:en.id,lineArrowsSwitchVertical1:tn.id,lineChartsBarChartSquare:nn.id,lineDevBug2:rn.id,lineDevCodeSquare:on.id,lineDevDataflow3:an.id,lineFilesClipboardCheck:sn.id,lineFilesFile2:ln.id,lineFilesFileAttachment2:cn.id,lineFilesFolder:un.id,lineGeneralCheck:dn.id,lineGeneralChecklist3:fn.id,lineGeneralCopy3:hn.id,lineGeneralDownloadCloud:pn.id,lineGeneralEqual:gn.id,lineGeneralEye:mn.id,lineGeneralHomeLine:vn.id,lineGeneralLink1:bn.id,lineGeneralLinkExternal:yn.id,lineGeneralSearchMd:_n.id,lineGeneralSettings1:wn.id,lineGeneralXClose:xn.id,lineGeneralZap:kn.id,lineHelpersFlag:Cn.id,lineHelpersPlayCircle:Sn.id,lineIconBomb2:Mn.id,lineImagesImage:Tn.id,lineSecurityKey:An.id,lineShapesDotCircle:Nn.id,lineShapesMoon:On.id,lineShapesSun:Pn.id,lineTimeClockStopwatch:Ln.id,reportLogo:En.id,solidAlertCircle:jn.id,solidCheckCircle:zn.id,solidHelpCircle:Fn.id,solidMinusCircle:Bn.id,solidXCircle:Rn.id,spinner:$n.id,view:In.id,viewOff:Dn.id},qn=({id:e,size:t="s",inline:n=!1,className:r=""})=>Je("svg",{className:tt(Un.icon,Un[`size-${t}`],n&&Un.inline,r),children:Je("use",{xlinkHref:`#${e}`})}),Vn=({size:e})=>Je(qn,{role:"progressbar",id:$n.id,size:e}),Wn=({size:e="m",tag:t="span",type:n="paragraph",bold:r=!1,className:i,children:o,...a})=>"paragraph"===n?Je(t,{...a,className:tt(`paragraphs-text-${e}${r?"-bold":""}`,i),children:o}):"ui"===n?Je(t,{...a,className:tt(`ui-text-${e}-ui${r?"-bold":""}`,i),children:o}):null,Yn=({size:e="m",tag:t="span",type:n="paragraph",bold:r=!1,className:i,children:o,...a})=>"paragraph"===n?Je(t,{...a,className:tt(`paragraphs-code-${e}${r?"-bold":""}`,i),children:o}):"ui"===n?Je(t,{...a,className:tt(`ui-code-${e}-ui${r?"-bold":""}`,i),children:o}):null,Gn=({size:e="m",tag:t="span",className:n,children:r,...i})=>Je(t,{...i,className:tt(`headings-head-${e}`,n),children:r});var Zn={button:"styles_button__dJOMr",fullWidth:"styles_fullWidth__UvMfL",contentIcon:"styles_contentIcon__WG8cP",leadingIcon:"styles_leadingIcon__YCONr",dropdownIcon:"styles_dropdownIcon__QbL-e",buttonIcon:"styles_buttonIcon__jkuyM",size_l:"styles_size_l__qdpXc",size_m:"styles_size_m__YdAJU",size_s:"styles_size_s__ujh2O",icon_size_xs:"styles_icon_size_xs__I8F1x",style_primary:"styles_style_primary__repZw",active:"styles_active__qHBgG",danger:"styles_danger__ifSNz",positive:"styles_positive__NaE-e",style_outline:"styles_style_outline__UDLGz",style_ghost:"styles_style_ghost__XxqyT",style_flat:"styles_style_flat__tgVZ1",style_raised:"styles_style_raised__Pwwft",text:"styles_text__n3hds",pending:"styles_pending__8GUAj",content:"styles_content__pYX6n",spinner:"styles_spinner__anTET"};const Kn=e=>{const{text:t,type:n="button",icon:r,iconSize:i="m",onClick:o,isPending:a=!1,size:s="m",style:l="primary",action:c="default",fullWidth:u=!1,isDisabled:d=!1,isIconButton:f=!1,isDropdownButton:h=!1,isActive:p=!1,focusable:g=!0,className:m,...v}=e,b=d||a;return Je("button",{...v,tabIndex:g?0:-1,className:tt(Zn.button,f&&Zn.buttonIcon,Zn[`size_${s}`],Zn[`icon_size_${i}`],Zn[`style_${l}`],"danger"===c&&Zn.danger,"positive"===c&&Zn.positive,a&&Zn.pending,u&&Zn.fullWidth,!b&&p&&Zn.active,m),disabled:b,onClick:o,type:n,children:Je(Wn,{type:"ui",size:"s"===s?"s":"m",bold:!0,className:Zn.content,children:[r&&Je(qn,{size:"s",className:f?Zn.contentIcon:Zn.leadingIcon,id:r}),!f&&Je("span",{className:Zn.text,children:t}),h&&Je(qn,{id:Hn.lineArrowsChevronDown,size:"s",className:Zn.dropdownIcon}),Je("span",{className:Zn.spinner,"aria-hidden":!a,children:Je(Vn,{})})]})})},Qn=e=>Je(Kn,{...e}),Xn=e=>Je(Kn,{...e,isIconButton:!0}),Jn=e=>Je(Kn,{...e,isDropdownButton:!0,isActive:e.isExpanded}),er=Math.min,tr=Math.max,nr={left:"right",right:"left",bottom:"top",top:"bottom"},rr={start:"end",end:"start"};function ir(e,t,n){return tr(e,er(t,n))}function or(e,t){return"function"==typeof e?e(t):e}function ar(e){return e.split("-")[0]}function sr(e){return e.split("-")[1]}function lr(e){return"x"===e?"y":"x"}function cr(e){return"y"===e?"height":"width"}function ur(e){return["top","bottom"].includes(ar(e))?"y":"x"}function dr(e){return lr(ur(e))}function fr(e){return e.replace(/start|end/g,(e=>rr[e]))}function hr(e){return e.replace(/left|right|bottom|top/g,(e=>nr[e]))}function pr(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function gr(e,t,n){let{reference:r,floating:i}=e;const o=ur(t),a=dr(t),s=cr(a),l=ar(t),c="y"===o,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2;let h;switch(l){case"top":h={x:u,y:r.y-i.height};break;case"bottom":h={x:u,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:d};break;case"left":h={x:r.x-i.width,y:d};break;default:h={x:r.x,y:r.y}}switch(sr(t)){case"start":h[a]-=f*(n&&c?-1:1);break;case"end":h[a]+=f*(n&&c?-1:1)}return h}async function mr(e,t){var n;void 0===t&&(t={});const{x:r,y:i,platform:o,rects:a,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:h=0}=or(t,e),p=function(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}(h),g=s[f?"floating"===d?"reference":"floating":d],m=pr(await o.getClippingRect({element:null==(n=await(null==o.isElement?void 0:o.isElement(g)))||n?g:g.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),v="floating"===d?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference,b=await(null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),y=await(null==o.isElement?void 0:o.isElement(b))&&await(null==o.getScale?void 0:o.getScale(b))||{x:1,y:1},_=pr(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:v,offsetParent:b,strategy:l}):v);return{top:(m.top-_.top+p.top)/y.y,bottom:(_.bottom-m.bottom+p.bottom)/y.y,left:(m.left-_.left+p.left)/y.x,right:(_.right-m.right+p.right)/y.x}}const vr=Math.min,br=Math.max,yr=Math.round,_r=Math.floor,wr=e=>({x:e,y:e});function xr(){return"undefined"!=typeof window}function kr(e){return Mr(e)?(e.nodeName||"").toLowerCase():"#document"}function Cr(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Sr(e){var t;return null==(t=(Mr(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Mr(e){return!!xr()&&(e instanceof Node||e instanceof Cr(e).Node)}function Tr(e){return!!xr()&&(e instanceof Element||e instanceof Cr(e).Element)}function Ar(e){return!!xr()&&(e instanceof HTMLElement||e instanceof Cr(e).HTMLElement)}function Nr(e){return!(!xr()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Cr(e).ShadowRoot)}function Or(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Fr(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function Pr(e){return["table","td","th"].includes(kr(e))}function Lr(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function Er(e){const t=jr(),n=Tr(e)?Fr(e):e;return["transform","translate","scale","rotate","perspective"].some((e=>!!n[e]&&"none"!==n[e]))||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","translate","scale","rotate","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function jr(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function zr(e){return["html","body","#document"].includes(kr(e))}function Fr(e){return Cr(e).getComputedStyle(e)}function Br(e){return Tr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Rr(e){if("html"===kr(e))return e;const t=e.assignedSlot||e.parentNode||Nr(e)&&e.host||Sr(e);return Nr(t)?t.host:t}function $r(e){const t=Rr(e);return zr(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ar(t)&&Or(t)?t:$r(t)}function Dr(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=$r(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=Cr(i);if(o){const e=Ir(a);return t.concat(a,a.visualViewport||[],Or(i)?i:[],e&&n?Dr(e):[])}return t.concat(i,Dr(i,[],n))}function Ir(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ur(e){const t=Fr(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Ar(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=yr(n)!==o||yr(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}function Hr(e){return Tr(e)?e:e.contextElement}function qr(e){const t=Hr(e);if(!Ar(t))return wr(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=Ur(t);let a=(o?yr(n.width):n.width)/r,s=(o?yr(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Vr=wr(0);function Wr(e){const t=Cr(e);return jr()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Vr}function Yr(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),o=Hr(e);let a=wr(1);t&&(r?Tr(r)&&(a=qr(r)):a=qr(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==Cr(e))&&t}(o,n,r)?Wr(o):wr(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,u=i.width/a.x,d=i.height/a.y;if(o){const e=Cr(o),t=r&&Tr(r)?Cr(r):r;let n=e,i=Ir(n);for(;i&&r&&t!==n;){const e=qr(i),t=i.getBoundingClientRect(),r=Fr(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=o,c+=a,n=Cr(i),i=Ir(n)}}return pr({width:u,height:d,x:l,y:c})}function Gr(e,t){const n=Br(e).scrollLeft;return t?t.left+n:Yr(Sr(e)).left+n}function Zr(e,t,n){void 0===n&&(n=!1);const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:Gr(e,r)),y:r.top+t.scrollTop}}function Kr(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=Cr(e),r=Sr(e),i=n.visualViewport;let o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;const e=jr();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s,y:l}}(e,n);else if("document"===t)r=function(e){const t=Sr(e),n=Br(e),r=e.ownerDocument.body,i=br(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=br(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+Gr(e);const s=-n.scrollTop;return"rtl"===Fr(r).direction&&(a+=br(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:s}}(Sr(e));else if(Tr(t))r=function(e,t){const n=Yr(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=Ar(e)?qr(e):wr(1);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:i*o.x,y:r*o.y}}(t,n);else{const n=Wr(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return pr(r)}function Qr(e,t){const n=Rr(e);return!(n===t||!Tr(n)||zr(n))&&("fixed"===Fr(n).position||Qr(n,t))}function Xr(e,t,n){const r=Ar(t),i=Sr(t),o="fixed"===n,a=Yr(e,!0,o,t);let s={scrollLeft:0,scrollTop:0};const l=wr(0);if(r||!r&&!o)if(("body"!==kr(t)||Or(i))&&(s=Br(t)),r){const e=Yr(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&(l.x=Gr(i));const c=!i||r||o?wr(0):Zr(i,s);return{x:a.left+s.scrollLeft-l.x-c.x,y:a.top+s.scrollTop-l.y-c.y,width:a.width,height:a.height}}function Jr(e){return"static"===Fr(e).position}function ei(e,t){if(!Ar(e)||"fixed"===Fr(e).position)return null;if(t)return t(e);let n=e.offsetParent;return Sr(e)===n&&(n=n.ownerDocument.body),n}function ti(e,t){const n=Cr(e);if(Lr(e))return n;if(!Ar(e)){let t=Rr(e);for(;t&&!zr(t);){if(Tr(t)&&!Jr(t))return t;t=Rr(t)}return n}let r=ei(e,t);for(;r&&Pr(r)&&Jr(r);)r=ei(r,t);return r&&zr(r)&&Jr(r)&&!Er(r)?n:r||function(e){let t=Rr(e);for(;Ar(t)&&!zr(t);){if(Er(t))return t;if(Lr(t))return null;t=Rr(t)}return null}(e)||n}const ni={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o="fixed"===i,a=Sr(r),s=!!t&&Lr(t.floating);if(r===a||s&&o)return n;let l={scrollLeft:0,scrollTop:0},c=wr(1);const u=wr(0),d=Ar(r);if((d||!d&&!o)&&(("body"!==kr(r)||Or(a))&&(l=Br(r)),Ar(r))){const e=Yr(r);c=qr(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}const f=!a||d||o?wr(0):Zr(a,l,!0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+f.x,y:n.y*c.y-l.scrollTop*c.y+u.y+f.y}},getDocumentElement:Sr,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[..."clippingAncestors"===n?Lr(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=Dr(e,[],!1).filter((e=>Tr(e)&&"body"!==kr(e))),i=null;const o="fixed"===Fr(e).position;let a=o?Rr(e):e;for(;Tr(a)&&!zr(a);){const t=Fr(a),n=Er(a);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&i&&["absolute","fixed"].includes(i.position)||Or(a)&&!n&&Qr(e,a))?r=r.filter((e=>e!==a)):i=t,a=Rr(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=o[0],s=o.reduce(((e,n)=>{const r=Kr(t,n,i);return e.top=br(r.top,e.top),e.right=vr(r.right,e.right),e.bottom=vr(r.bottom,e.bottom),e.left=br(r.left,e.left),e}),Kr(t,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:ti,getElementRects:async function(e){const t=this.getOffsetParent||ti,n=this.getDimensions,r=await n(e.floating);return{reference:Xr(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=Ur(e);return{width:t,height:n}},getScale:qr,isElement:Tr,isRTL:function(e){return"rtl"===Fr(e).direction}};function ri(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ii(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=Hr(e),u=i||o?[...c?Dr(c):[],...Dr(t)]:[];u.forEach((e=>{i&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)}));const d=c&&s?function(e,t){let n,r=null;const i=Sr(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),o();const c=e.getBoundingClientRect(),{left:u,top:d,width:f,height:h}=c;if(s||t(),!f||!h)return;const p={rootMargin:-_r(d)+"px "+-_r(i.clientWidth-(u+f))+"px "+-_r(i.clientHeight-(d+h))+"px "+-_r(u)+"px",threshold:br(0,vr(1,l))||1};let g=!0;function m(t){const r=t[0].intersectionRatio;if(r!==l){if(!g)return a();r?a(!1,r):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}1!==r||ri(c,e.getBoundingClientRect())||a(),g=!1}try{r=new IntersectionObserver(m,{...p,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(m,p)}r.observe(e)}(!0),o}(c,n):null;let f,h=-1,p=null;a&&(p=new ResizeObserver((e=>{let[r]=e;r&&r.target===c&&p&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame((()=>{var e;null==(e=p)||e.observe(t)}))),n()})),c&&!l&&p.observe(c),p.observe(t));let g=l?Yr(e):null;return l&&function t(){const r=Yr(e);g&&!ri(g,r)&&n(),g=r,f=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{i&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)})),null==d||d(),null==(e=p)||e.disconnect(),p=null,l&&cancelAnimationFrame(f)}}const oi=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:o,placement:a,middlewareData:s}=t,l=await async function(e,t){const{placement:n,platform:r,elements:i}=e,o=await(null==r.isRTL?void 0:r.isRTL(i.floating)),a=ar(n),s=sr(n),l="y"===ur(n),c=["left","top"].includes(a)?-1:1,u=o&&l?-1:1,d=or(t,e);let{mainAxis:f,crossAxis:h,alignmentAxis:p}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"==typeof p&&(h="end"===s?-1*p:p),l?{x:h*u,y:f*c}:{x:f*c,y:h*u}}(t,e);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:a}}}}},ai=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=or(e,t),c={x:n,y:r},u=await mr(t,l),d=ur(ar(i)),f=lr(d);let h=c[f],p=c[d];if(o){const e="y"===f?"bottom":"right";h=ir(h+u["y"===f?"top":"left"],h,h-u[e])}if(a){const e="y"===d?"bottom":"right";p=ir(p+u["y"===d?"top":"left"],p,p-u[e])}const g=s.fn({...t,[f]:h,[d]:p});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[f]:o,[d]:a}}}}}},si=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:o,rects:a,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:g=!0,...m}=or(e,t);if(null!=(n=o.arrow)&&n.alignmentOffset)return{};const v=ar(i),b=ur(s),y=ar(s)===s,_=await(null==l.isRTL?void 0:l.isRTL(c.floating)),w=f||(y||!g?[hr(s)]:function(e){const t=hr(e);return[fr(e),t,fr(t)]}(s)),x="none"!==p;!f&&x&&w.push(...function(e,t,n,r){const i=sr(e);let o=function(e,t,n){const r=["left","right"],i=["right","left"],o=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:r:t?r:i;case"left":case"right":return t?o:a;default:return[]}}(ar(e),"start"===n,r);return i&&(o=o.map((e=>e+"-"+i)),t&&(o=o.concat(o.map(fr)))),o}(s,g,p,_));const k=[s,...w],C=await mr(t,m),S=[];let M=(null==(r=o.flip)?void 0:r.overflows)||[];if(u&&S.push(C[v]),d){const e=function(e,t,n){void 0===n&&(n=!1);const r=sr(e),i=dr(e),o=cr(i);let a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=hr(a)),[a,hr(a)]}(i,a,_);S.push(C[e[0]],C[e[1]])}if(M=[...M,{placement:i,overflows:S}],!S.every((e=>e<=0))){var T,A;const e=((null==(T=o.flip)?void 0:T.index)||0)+1,t=k[e];if(t)return{data:{index:e,overflows:M},reset:{placement:t}};let n=null==(A=M.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:A.placement;if(!n)switch(h){case"bestFit":{var N;const e=null==(N=M.filter((e=>{if(x){const t=ur(e.placement);return t===b||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:N[0];e&&(n=e);break}case"initialPlacement":n=s}if(i!==n)return{reset:{placement:n}}}return{}}}},li=(e,t,n)=>{const r=new Map,i={platform:ni,...n},o={...i.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=o.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=gr(c,r,l),f=r,h={},p=0;for(let n=0;n<s.length;n++){const{name:o,fn:g}=s[n],{x:m,y:v,data:b,reset:y}=await g({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:h,rects:c,platform:a,elements:{reference:e,floating:t}});u=null!=m?m:u,d=null!=v?v:d,h={...h,[o]:{...h[o],...b}},y&&p<=50&&(p++,"object"==typeof y&&(y.placement&&(f=y.placement),y.rects&&(c=!0===y.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):y.rects),({x:u,y:d}=gr(c,f,l))),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:h}})(e,t,{...i,platform:o})},ci=({children:e})=>Je("div",{className:"styles_custom-tooltip__2reCz",children:Je(Wn,{className:"tooltip-content",size:"s",bold:!0,children:e})}),ui=({tooltipText:e,tooltipTextAfterClick:t,tooltipComponent:n,children:r,placement:i="top",triggerMode:o="hover",autoHideDelay:a=600,isTriggerActive:s=!0})=>{const l=de(null),c=de(null),[u,d]=ce(!1),[f,h]=ce(e),p=de(null);ue((()=>{h(e);const t=()=>{c.current&&l.current&&li(c.current,l.current,{placement:i,middleware:[oi(6),si(),ai({padding:5})]}).then((({x:e,y:t})=>{l.current&&Object.assign(l.current.style,{left:`${e}px`,top:`${t}px`,position:"absolute","z-index":100})}))};return u&&t(),c.current&&l.current?ii(c.current,l.current,t):()=>{}}),[u,i,e]),ue((()=>()=>{p.current&&clearTimeout(p.current)}),[]);const g=n||Je(ci,{children:f});return Je("div",{onMouseEnter:()=>{"hover"===o&&s&&d(!0),"click"===o&&p.current&&clearTimeout(p.current)},onMouseLeave:()=>{"hover"===o?(d(!1),h(e)):"click"===o&&u&&(p.current=window.setTimeout((()=>{d(!1)}),a))},onClick:()=>{"click"===o&&c.current&&s&&(d(!0),p.current&&clearTimeout(p.current)),t&&h(t)},children:[Je("div",{ref:c,children:r}),Je("div",{ref:l,children:u&&g})]})},di=e=>{const{source:t,transformData:n=(e=>e),renderLoader:r=(()=>null),renderError:i=(e=>Je("div",{children:e})),renderData:o}=e;return t.value.loading?r():t.value.error?i(t.value.error):o(n(t.value.data))},fi=()=>Je("div",{className:"styles_page-loader__OFuzd",children:Je(Vn,{size:"m"})}),hi=e=>{const{placeholder:t,value:n,onChange:r,changeDebounce:i=300}=e,[o,a]=ce(n),s=((e,t=300)=>{const n=de(e);return ue((()=>{n.current=e}),[e]),he(((e,t=300)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout((()=>{e(...r)}),t)}})(((...e)=>n.current(...e)),t),[t])})(r,i),l=!!o;return Je(Wn,{className:"styles_inputWrap__96bWy",type:"ui",size:"m",tag:"div",children:[Je(qn,{id:_n.id,size:"s",className:"styles_leadingIcon__6Bcbs"}),Je("input",{className:tt("styles_input__ir8z5",l&&"styles_inputClear__R8pU3"),type:"text",placeholder:t,onInput:e=>{const t=e.target.value;a(t),s(t)},value:o,name:"search",autocomplete:"off","data-testid":"search-input"}),l&&Je("div",{className:"styles_clearButton__SR4Dg",children:Je(Xn,{size:"s",icon:xn.id,onClick:e=>{e.preventDefault(),e.stopPropagation(),a(""),s("")},style:"ghost","data-testid":"clear-button"})})]})};var pi={menu:"styles_menu__Y2xWi","size-s":"styles_size-s__phegq","size-m":"styles_size-m__FqoGi","size-l":"styles_size-l__ShSlS","size-xl":"styles_size-xl__Mk5k2",menuListItem:"styles_menuListItem__FHex0",section:"styles_section__gV07b",menuItem:"styles_menuItem__mOGZq",interactive:"styles_interactive__VHNnJ",leadingIcon:"styles_leadingIcon__0ikkr",content:"styles_content__XpstT",right:"styles_right__9xwiq",checkmarkIcon:"styles_checkmarkIcon__SnS-7"};const gi=G(null),mi=e=>{const{children:t,menuTrigger:n,menuTriggerWrapper:r="div",size:i="m",isInitialOpened:o=!1,placement:a="bottom-end"}=e,[s,l]=ce(o),c=de(null),u=de(null);return ue((()=>{const e=e=>{"Escape"===e.key&&s&&l(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[s]),ue((()=>{const e=e=>{s&&c.current&&(c.current.contains(e.target)||l(!1))};return s&&document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}}),[s]),ue((()=>{const e=()=>{(c.current||u.current)&&li(u.current,c.current,{placement:a,middleware:[oi(6),si(),ai({padding:5})]}).then((({x:e,y:t})=>{c.current&&Object.assign(c.current.style,{left:`${e}px`,top:`${t}px`,position:"absolute","z-index":10})}))};return e(),ii(u.current,c.current,e)}),[c.current,u.current]),Je(gi.Provider,{value:{setIsOpened:l},children:Je(T,{children:["function"==typeof n&&Je(r,{ref:u,children:n({isOpened:s,onClick:()=>{l(!s)},setIsOpened:l})}),Je("div",{ref:c,children:s&&Je("aside",{className:tt(pi.menu,pi[`size-${i}`]),children:t})})]})})};mi.Section=e=>Je("ul",{className:pi.section,children:e.children}),mi.Item=e=>{const{setIsOpened:t}=(()=>{const e=pe(gi);if(!e)throw new Error("useMenuContext must be used within a Menu");return e})(),{children:n,onClick:r,leadingIcon:i,rightSlot:o,ariaLabel:a,closeMenuOnClick:s=!0}=e,l="function"==typeof r,c="string"==typeof i;return Je("li",{className:pi.menuListItem,children:Je(Wn,{"aria-label":a,type:"paragraph",size:"m",tag:l?"button":"div",className:tt(pi.menuItem,l&&pi.interactive),onClick:e=>{l&&s&&(e.stopPropagation(),t(!1)),l&&r?.()},"data-interactive-menu-item":!!l||void 0,children:[c&&Je(qn,{id:i,className:pi.leadingIcon,size:"m"}),Je("div",{className:pi.content,children:n}),o&&Je("div",{className:pi.right,children:o})]})})},mi.ItemWithCheckmark=e=>{const{isChecked:t=!1,...n}=e;return Je(mi.Item,{...n,rightSlot:t&&Je(qn,{className:pi.checkmarkIcon,id:dn.id})})};var vi={counter:"styles_counter__chRZ-","status-passed":"styles_status-passed__fOOfy","status-failed":"styles_status-failed__CIBqD","status-broken":"styles_status-broken__caix7","status-skipped":"styles_status-skipped__FrjS4","status-unknown":"styles_status-unknown__wxCbv","size-s":"styles_size-s__MzJcz","size-m":"styles_size-m__zaoMz","size-l":"styles_size-l__foUrC"};const bi=e=>{const{count:t,size:n="s",truncateCount:r=!1,status:i}=e,o=r&&t>99?"99+":t;return Je(Wn,{tag:"small",size:"l"===n?"m":"s",type:"ui",bold:!0,className:tt(vi.counter,vi[`size-${n}`],i&&vi[`status-${i}`]),children:o})},yi=e=>{const{value:t,label:n,onChange:r,focusable:i=!0,...o}=e;return Je("input",{...o,tabIndex:i?0:-1,className:"styles_toggle__aBRpI",role:"switch",type:"checkbox",checked:t,"aria-label":n,onToggle:e=>{const t=!e.target.checked;r(t)}})},_i=e=>{const{children:t,onClick:n,href:r}=e;return Je(void 0===r?"button":"a",{href:r,onClick:n,className:"styles_link__BC-2O",children:t})};var wi="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function xi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ki,Ci,Si,Mi,Ti,Ai={exports:{}};var Ni=xi((Ti||(Ti=1,Ai.exports=function(){if(Mi)return Si;Mi=1;var e=Ci?ki:(Ci=1,ki="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");function t(){}function n(){}return n.resetWarningCache=t,Si=function(){function r(t,n,r,i,o,a){if(a!==e){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function i(){return r}r.isRequired=r;var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return o.PropTypes=o,o}}()()),Ai.exports)),Oi=Wi(),Pi=e=>Ui(e,Oi),Li=Wi();Pi.write=e=>Ui(e,Li);var Ei=Wi();Pi.onStart=e=>Ui(e,Ei);var ji=Wi();Pi.onFrame=e=>Ui(e,ji);var zi=Wi();Pi.onFinish=e=>Ui(e,zi);var Fi=[];Pi.setTimeout=(e,t)=>{const n=Pi.now()+t,r=()=>{const e=Fi.findIndex((e=>e.cancel==r));~e&&Fi.splice(e,1),Di-=~e?1:0},i={time:n,handler:e,cancel:r};return Fi.splice(Bi(n),0,i),Di+=1,Hi(),i};var Bi=e=>~(~Fi.findIndex((t=>t.time>e))||~Fi.length);Pi.cancel=e=>{Ei.delete(e),ji.delete(e),zi.delete(e),Oi.delete(e),Li.delete(e)},Pi.sync=e=>{Ii=!0,Pi.batchedUpdates(e),Ii=!1},Pi.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,Pi.onStart(n)}return r.handler=e,r.cancel=()=>{Ei.delete(n),t=null},r};var Ri="undefined"!=typeof window?window.requestAnimationFrame:()=>{};Pi.use=e=>Ri=e,Pi.now="undefined"!=typeof performance?()=>performance.now():Date.now,Pi.batchedUpdates=e=>e(),Pi.catch=console.error,Pi.frameLoop="always",Pi.advance=()=>{"demand"!==Pi.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):Vi()};var $i=-1,Di=0,Ii=!1;function Ui(e,t){Ii?(t.delete(e),e(0)):(t.add(e),Hi())}function Hi(){$i<0&&($i=0,"demand"!==Pi.frameLoop&&Ri(qi))}function qi(){~$i&&(Ri(qi),Pi.batchedUpdates(Vi))}function Vi(){const e=$i;$i=Pi.now();const t=Bi($i);t&&(Yi(Fi.splice(0,t),(e=>e.handler())),Di-=t),Di?(Ei.flush(),Oi.flush(e?Math.min(64,$i-e):16.667),ji.flush(),Li.flush(),zi.flush()):$i=-1}function Wi(){let e=new Set,t=e;return{add(n){Di+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(Di-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,Di-=t.size,Yi(t,(t=>t(n)&&e.add(t))),Di+=e.size,t=e)}}}function Yi(e,t){e.forEach((e=>{try{t(e)}catch(e){Pi.catch(e)}}))}var Gi=Object.defineProperty,Zi={};function Ki(){}((e,t)=>{for(var n in t)Gi(e,n,{get:t[n],enumerable:!0})})(Zi,{assign:()=>uo,colors:()=>so,createStringInterpolator:()=>ro,skipAnimation:()=>lo,to:()=>io,willAdvance:()=>co});var Qi={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function Xi(e,t){if(Qi.arr(e)){if(!Qi.arr(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return e===t}var Ji=(e,t)=>e.forEach(t);function eo(e,t,n){if(Qi.arr(e))for(let r=0;r<e.length;r++)t.call(n,e[r],`${r}`);else for(const r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r)}var to=e=>Qi.und(e)?[]:Qi.arr(e)?e:[e];function no(e,t){if(e.size){const n=Array.from(e);e.clear(),Ji(n,t)}}var ro,io,oo=(e,...t)=>no(e,(e=>e(...t))),ao=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),so=null,lo=!1,co=Ki,uo=e=>{e.to&&(io=e.to),e.now&&(Pi.now=e.now),void 0!==e.colors&&(so=e.colors),null!=e.skipAnimation&&(lo=e.skipAnimation),e.createStringInterpolator&&(ro=e.createStringInterpolator),e.requestAnimationFrame&&Pi.use(e.requestAnimationFrame),e.batchedUpdates&&(Pi.batchedUpdates=e.batchedUpdates),e.willAdvance&&(co=e.willAdvance),e.frameLoop&&(Pi.frameLoop=e.frameLoop)},fo=new Set,ho=[],po=[],go=0,mo={get idle(){return!fo.size&&!ho.length},start(e){go>e.priority?(fo.add(e),Pi.onStart(vo)):(bo(e),Pi(_o))},advance:_o,sort(e){if(go)Pi.onFrame((()=>mo.sort(e)));else{const t=ho.indexOf(e);~t&&(ho.splice(t,1),yo(e))}},clear(){ho=[],fo.clear()}};function vo(){fo.forEach(bo),fo.clear(),Pi(_o)}function bo(e){ho.includes(e)||yo(e)}function yo(e){ho.splice(function(e,t){const n=e.findIndex(t);return n<0?e.length:n}(ho,(t=>t.priority>e.priority)),0,e)}function _o(e){const t=po;for(let n=0;n<ho.length;n++){const r=ho[n];go=r.priority,r.idle||(co(r),r.advance(e),r.idle||t.push(r))}return go=0,(po=ho).length=0,(ho=t).length>0}var wo="[-+]?\\d*\\.?\\d+",xo=wo+"%";function ko(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var Co=new RegExp("rgb"+ko(wo,wo,wo)),So=new RegExp("rgba"+ko(wo,wo,wo,wo)),Mo=new RegExp("hsl"+ko(wo,xo,xo)),To=new RegExp("hsla"+ko(wo,xo,xo,wo)),Ao=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,No=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Oo=/^#([0-9a-fA-F]{6})$/,Po=/^#([0-9a-fA-F]{8})$/;function Lo(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Eo(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,o=Lo(i,r,e+1/3),a=Lo(i,r,e),s=Lo(i,r,e-1/3);return Math.round(255*o)<<24|Math.round(255*a)<<16|Math.round(255*s)<<8}function jo(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function zo(e){return(parseFloat(e)%360+360)%360/360}function Fo(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function Bo(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function Ro(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=Oo.exec(e))?parseInt(t[1]+"ff",16)>>>0:so&&void 0!==so[e]?so[e]:(t=Co.exec(e))?(jo(t[1])<<24|jo(t[2])<<16|jo(t[3])<<8|255)>>>0:(t=So.exec(e))?(jo(t[1])<<24|jo(t[2])<<16|jo(t[3])<<8|Fo(t[4]))>>>0:(t=Ao.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=Po.exec(e))?parseInt(t[1],16)>>>0:(t=No.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=Mo.exec(e))?(255|Eo(zo(t[1]),Bo(t[2]),Bo(t[3])))>>>0:(t=To.exec(e))?(Eo(zo(t[1]),Bo(t[2]),Bo(t[3]))|Fo(t[4]))>>>0:null}(e);return null===t?e:(t=t||0,`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`)}var $o=(e,t,n)=>{if(Qi.fun(e))return e;if(Qi.arr(e))return $o({range:e,output:t,extrapolate:n});if(Qi.str(e.output[0]))return ro(e);const r=e,i=r.output,o=r.range||[0,1],a=r.extrapolateLeft||r.extrapolate||"extend",s=r.extrapolateRight||r.extrapolate||"extend",l=r.easing||(e=>e);return e=>{const t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,o);return function(e,t,n,r,i,o,a,s,l){let c=l?l(e):e;if(c<t){if("identity"===a)return c;"clamp"===a&&(c=t)}if(c>n){if("identity"===s)return c;"clamp"===s&&(c=n)}return r===i?r:t===n?e<=t?r:i:(t===-1/0?c=-c:n===1/0?c-=t:c=(c-t)/(n-t),c=o(c),r===-1/0?c=-c:i===1/0?c+=r:c=c*(i-r)+r,c)}(e,o[t],o[t+1],i[t],i[t+1],l,a,s,r.map)}},Do=1.70158,Io=1.525*Do,Uo=Do+1,Ho=2*Math.PI/3,qo=2*Math.PI/4.5,Vo=e=>{const t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},Wo={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>0===e?0:Math.pow(2,10*e-10),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>Uo*e*e*e-Do*e*e,easeOutBack:e=>1+Uo*Math.pow(e-1,3)+Do*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(7.189819*e-Io)/2:(Math.pow(2*e-2,2)*((Io+1)*(2*e-2)+Io)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*Ho),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*Ho)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*qo)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*qo)/2+1,easeInBounce:e=>1-Vo(1-e),easeOutBounce:Vo,easeInOutBounce:e=>e<.5?(1-Vo(1-2*e))/2:(1+Vo(2*e-1))/2,steps:(e,t="end")=>n=>{const r=(n="end"===t?Math.min(n,.999):Math.max(n,.001))*e;return((e,t,n)=>Math.min(Math.max(n,0),1))(0,0,("end"===t?Math.floor(r):Math.ceil(r))/e)}},Yo=Symbol.for("FluidValue.get"),Go=Symbol.for("FluidValue.observers"),Zo=e=>Boolean(e&&e[Yo]),Ko=e=>e&&e[Yo]?e[Yo]():e,Qo=e=>e[Go]||null;function Xo(e,t){const n=e[Go];n&&n.forEach((e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)}))}var Jo=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");ea(this,e)}},ea=(e,t)=>ia(e,Yo,t);function ta(e,t){if(e[Yo]){let n=e[Go];n||ia(e,Go,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function na(e,t){const n=e[Go];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[Go]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var ra,ia=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),oa=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,aa=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,sa=new RegExp(`(${oa.source})(%|[a-z]+)`,"i"),la=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,ca=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,ua=e=>{const[t,n]=da(e);if(!t||ao())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);return r?r.trim():n&&n.startsWith("--")?window.getComputedStyle(document.documentElement).getPropertyValue(n)||e:n&&ca.test(n)?ua(n):n||e},da=e=>{const t=ca.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},fa=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,ha=e=>{ra||(ra=so?new RegExp(`(${Object.keys(so).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map((e=>Ko(e).replace(ca,ua).replace(aa,Ro).replace(ra,Ro))),n=t.map((e=>e.match(oa).map(Number))),r=n[0].map(((e,t)=>n.map((e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})))),i=r.map((t=>$o({...e,output:t})));return e=>{const n=!sa.test(t[0])&&t.find((e=>sa.test(e)))?.replace(oa,"");let r=0;return t[0].replace(oa,(()=>`${i[r++](e)}${n||""}`)).replace(la,fa)}},pa="react-spring: ",ga=e=>{const t=e;let n=!1;if("function"!=typeof t)throw new TypeError(`${pa}once requires a function parameter`);return(...e)=>{n||(t(...e),n=!0)}},ma=ga(console.warn),va=ga(console.warn);function ba(e){return Qi.str(e)&&("#"==e[0]||/\d/.test(e)||!ao()&&ca.test(e)||e in(so||{}))}var ya=ao()?ue:function(e,t){var n=le(Z++,4);!te.__s&&_e(n.__H,t)&&(n.__=e,n.i=t,K.__h.push(n))};function _a(){const e=ce()[1],t=(()=>{const e=de(!1);return ya((()=>(e.current=!0,()=>{e.current=!1})),[]),e})();return()=>{t.current&&e(Math.random())}}var wa=e=>ue(e,xa),xa=[];function ka(e){const t=de();return ue((()=>{t.current=e})),t.current}var Ca=Symbol.for("Animated:node"),Sa=e=>e&&e[Ca],Ma=(e,t)=>{return n=e,r=Ca,i=t,Object.defineProperty(n,r,{value:i,writable:!0,configurable:!0});var n,r,i},Ta=e=>e&&e[Ca]&&e[Ca].getPayload(),Aa=class{constructor(){Ma(this,this)}getPayload(){return this.payload||[]}},Na=class extends Aa{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,Qi.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new Na(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return Qi.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,Qi.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},Oa=class extends Na{constructor(e){super(0),this._string=null,this._toString=$o({output:[e,e]})}static create(e){return new Oa(e)}getValue(){const e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(Qi.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=$o({output:[this.getValue(),e]})),this._value=0,super.reset()}},Pa={dependencies:null},La=class extends Aa{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return eo(this.source,((n,r)=>{var i;(i=n)&&i[Ca]===i?t[r]=n.getValue(e):Zo(n)?t[r]=Ko(n):e||(t[r]=n)})),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&Ji(this.payload,(e=>e.reset()))}_makePayload(e){if(e){const t=new Set;return eo(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){Pa.dependencies&&Zo(e)&&Pa.dependencies.add(e);const t=Ta(e);t&&Ji(t,(e=>this.add(e)))}},Ea=class extends La{constructor(e){super(e)}static create(e){return new Ea(e)}getValue(){return this.source.map((e=>e.getValue()))}setValue(e){const t=this.getPayload();return e.length==t.length?t.map(((t,n)=>t.setValue(e[n]))).some(Boolean):(super.setValue(e.map(ja)),!0)}};function ja(e){return(ba(e)?Oa:Na).create(e)}function za(e){const t=Sa(e);return t?t.constructor:Qi.arr(e)?Ea:ba(e)?Oa:Na}var Fa=(e,t)=>{const n=!Qi.fun(e)||e.prototype&&e.prototype.isReactComponent;return Ae(((r,i)=>{const o=de(null),a=n&&he((e=>{o.current=function(e,t){return e&&(Qi.fun(e)?e(t):e.current=t),t}(i,e)}),[i]),[s,l]=function(e,t){const n=new Set;return Pa.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)}),e=new La(e),Pa.dependencies=null,[e,n]}(r,t),c=_a(),u=()=>{const e=o.current;n&&!e||!1===(!!e&&t.applyAnimatedValues(e,s.getValue(!0)))&&c()},d=new Ba(u,l),f=de();ya((()=>(f.current=d,Ji(l,(e=>ta(e,d))),()=>{f.current&&(Ji(f.current.deps,(e=>na(e,f.current))),Pi.cancel(f.current.update))}))),ue(u,[]),wa((()=>()=>{const e=f.current;Ji(e.deps,(t=>na(t,e)))}));const h=t.getComponentProps(s.getValue());return S(e,{...h,ref:a})}))},Ba=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&Pi.write(this.update)}},Ra=Symbol.for("AnimatedComponent"),$a=e=>Qi.str(e)?e:e&&Qi.str(e.displayName)?e.displayName:Qi.fun(e)&&e.name||null;function Da(e,...t){return Qi.fun(e)?e(...t):e}var Ia=(e,t)=>!0===e||!!(t&&e&&(Qi.fun(e)?e(t):to(e).includes(t))),Ua=(e,t)=>Qi.obj(e)?t&&e[t]:e,Ha=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,qa=e=>e,Va=(e,t=qa)=>{let n=Wa;e.default&&!0!==e.default&&(e=e.default,n=Object.keys(e));const r={};for(const i of n){const n=t(e[i],i);Qi.und(n)||(r[i]=n)}return r},Wa=["config","onProps","onStart","onChange","onPause","onResume","onRest"],Ya={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function Ga(e){const t=function(e){const t={};let n=0;if(eo(e,((e,r)=>{Ya[r]||(t[r]=e,n++)})),n)return t}(e);if(t){const n={to:t};return eo(e,((e,r)=>r in t||(n[r]=e))),n}return{...e}}function Za(e){return e=Ko(e),Qi.arr(e)?e.map(Za):ba(e)?Zi.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function Ka(e){for(const t in e)return!0;return!1}function Qa(e){return Qi.fun(e)||Qi.arr(e)&&Qi.obj(e[0])}function Xa(e,t){e.ref?.delete(e),t?.delete(e)}function Ja(e,t){t&&e.ref!==t&&(e.ref?.delete(e),t.add(e),e.ref=t)}var es={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},ts={...es.default,mass:1,damping:1,easing:Wo.linear,clamp:!1},ns=class{constructor(){this.velocity=0,Object.assign(this,ts)}};function rs(e,t){if(Qi.und(t.decay)){const n=!Qi.und(t.tension)||!Qi.und(t.friction);!n&&Qi.und(t.frequency)&&Qi.und(t.damping)&&Qi.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}var is=[],os=class{constructor(){this.changed=!1,this.values=is,this.toValues=null,this.fromValues=is,this.config=new ns,this.immediate=!1}};function as(e,{key:t,props:n,defaultProps:r,state:i,actions:o}){return new Promise(((a,s)=>{let l,c,u=Ia(n.cancel??r?.cancel,t);if(u)h();else{Qi.und(n.pause)||(i.paused=Ia(n.pause,t));let e=r?.pause;!0!==e&&(e=i.paused||Ia(e,t)),l=Da(n.delay||0,t),e?(i.resumeQueue.add(f),o.pause()):(o.resume(),f())}function d(){i.resumeQueue.add(f),i.timeouts.delete(c),c.cancel(),l=c.time-Pi.now()}function f(){l>0&&!Zi.skipAnimation?(i.delayed=!0,c=Pi.setTimeout(h,l),i.pauseQueue.add(d),i.timeouts.add(c)):h()}function h(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(d),i.timeouts.delete(c),e<=(i.cancelId||0)&&(u=!0);try{o.start({...n,callId:e,cancel:u},a)}catch(e){s(e)}}}))}var ss=(e,t)=>1==t.length?t[0]:t.some((e=>e.cancelled))?us(e.get()):t.every((e=>e.noop))?ls(e.get()):cs(e.get(),t.every((e=>e.finished))),ls=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),cs=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),us=e=>({value:e,cancelled:!0,finished:!1});function ds(e,t,n,r){const{callId:i,parentId:o,onRest:a}=t,{asyncTo:s,promise:l}=n;return o||e!==s||t.reset?n.promise=(async()=>{n.asyncId=i,n.asyncTo=e;const c=Va(t,((e,t)=>"onRest"===t?void 0:e));let u,d;const f=new Promise(((e,t)=>(u=e,d=t))),h=e=>{const t=i<=(n.cancelId||0)&&us(r)||i!==n.asyncId&&cs(r,!1);if(t)throw e.result=t,d(e),e},p=(e,t)=>{const o=new hs,a=new ps;return(async()=>{if(Zi.skipAnimation)throw fs(n),a.result=cs(r,!1),d(a),a;h(o);const s=Qi.obj(e)?{...e}:{...t,to:e};s.parentId=i,eo(c,((e,t)=>{Qi.und(s[t])&&(s[t]=e)}));const l=await r.start(s);return h(o),n.paused&&await new Promise((e=>{n.resumeQueue.add(e)})),l})()};let g;if(Zi.skipAnimation)return fs(n),cs(r,!1);try{let t;t=Qi.arr(e)?(async e=>{for(const t of e)await p(t)})(e):Promise.resolve(e(p,r.stop.bind(r))),await Promise.all([t.then(u),f]),g=cs(r.get(),!0,!1)}catch(e){if(e instanceof hs)g=e.result;else{if(!(e instanceof ps))throw e;g=e.result}}finally{i==n.asyncId&&(n.asyncId=o,n.asyncTo=o?s:void 0,n.promise=o?l:void 0)}return Qi.fun(a)&&Pi.batchedUpdates((()=>{a(g,r,r.item)})),g})():l}function fs(e,t){no(e.timeouts,(e=>e.cancel())),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var hs=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},ps=class extends Error{constructor(){super("SkipAnimationSignal")}},gs=e=>e instanceof vs,ms=1,vs=class extends Jo{constructor(){super(...arguments),this.id=ms++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=Sa(this);return e&&e.getValue()}to(...e){return Zi.to(this,e)}interpolate(...e){return ma(`${pa}The "interpolate" function is deprecated in v9 (use "to" instead)`),Zi.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){Xo(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||mo.sort(this),Xo(this,{type:"priority",parent:this,priority:e})}},bs=Symbol.for("SpringPhase"),ys=e=>(1&e[bs])>0,_s=e=>(2&e[bs])>0,ws=e=>(4&e[bs])>0,xs=(e,t)=>t?e[bs]|=3:e[bs]&=-3,ks=(e,t)=>t?e[bs]|=4:e[bs]&=-5,Cs=class extends vs{constructor(e,t){if(super(),this.animation=new os,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!Qi.und(e)||!Qi.und(t)){const n=Qi.obj(e)?{...e}:{...t,from:e};Qi.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(_s(this)||this._state.asyncTo)||ws(this)}get goal(){return Ko(this.animation.to)}get velocity(){const e=Sa(this);return e instanceof Na?e.lastVelocity||0:e.getPayload().map((e=>e.lastVelocity||0))}get hasAnimated(){return ys(this)}get isAnimating(){return _s(this)}get isPaused(){return ws(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const r=this.animation;let{toValues:i}=r;const{config:o}=r,a=Ta(r.to);!a&&Zo(r.to)&&(i=to(Ko(r.to))),r.values.forEach(((s,l)=>{if(s.done)return;const c=s.constructor==Oa?1:a?a[l].lastPosition:i[l];let u=r.immediate,d=c;if(!u){if(d=s.lastPosition,o.tension<=0)return void(s.done=!0);let t=s.elapsedTime+=e;const n=r.fromValues[l],i=null!=s.v0?s.v0:s.v0=Qi.arr(o.velocity)?o.velocity[l]:o.velocity;let a;const f=o.precision||(n==c?.005:Math.min(1,.001*Math.abs(c-n)));if(Qi.und(o.duration))if(o.decay){const e=!0===o.decay?.998:o.decay,r=Math.exp(-(1-e)*t);d=n+i/(1-e)*(1-r),u=Math.abs(s.lastPosition-d)<=f,a=i*r}else{a=null==s.lastVelocity?i:s.lastVelocity;const t=o.restVelocity||f/10,r=o.clamp?0:o.bounce,l=!Qi.und(r),h=n==c?s.v0>0:n<c;let p,g=!1;const m=1,v=Math.ceil(e/m);for(let e=0;e<v&&(p=Math.abs(a)>t,p||(u=Math.abs(c-d)<=f,!u));++e)l&&(g=d==c||d>c==h,g&&(a=-a*r,d=c)),a+=(1e-6*-o.tension*(d-c)+.001*-o.friction*a)/o.mass*m,d+=a*m}else{let r=1;o.duration>0&&(this._memoizedDuration!==o.duration&&(this._memoizedDuration=o.duration,s.durationProgress>0&&(s.elapsedTime=o.duration*s.durationProgress,t=s.elapsedTime+=e)),r=(o.progress||0)+t/this._memoizedDuration,r=r>1?1:r<0?0:r,s.durationProgress=r),d=n+o.easing(r)*(c-n),a=(d-s.lastPosition)/e,u=1==r}s.lastVelocity=a,Number.isNaN(d)&&(console.warn("Got NaN while animating:",this),u=!0)}a&&!a[l].done&&(u=!1),u?s.done=!0:t=!1,s.setValue(d,o.round)&&(n=!0)}));const s=Sa(this),l=s.getValue();if(t){const e=Ko(r.to);l===e&&!n||o.decay?n&&o.decay&&this._onChange(l):(s.setValue(e),this._onChange(e)),this._stop()}else n&&this._onChange(l)}set(e){return Pi.batchedUpdates((()=>{this._stop(),this._focus(e),this._set(e)})),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(_s(this)){const{to:e,config:t}=this.animation;Pi.batchedUpdates((()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()}))}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return Qi.und(e)?(n=this.queue||[],this.queue=[]):n=[Qi.obj(e)?e:{...t,to:e}],Promise.all(n.map((e=>this._update(e)))).then((e=>ss(this,e)))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),fs(this._state,e&&this._lastCallId),Pi.batchedUpdates((()=>this._stop(t,e))),this}reset(){this._update({reset:!0})}eventObserved(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:n,from:r}=e;n=Qi.obj(n)?n[t]:n,(null==n||Qa(n))&&(n=void 0),r=Qi.obj(r)?r[t]:r,null==r&&(r=void 0);const i={to:n,from:r};return ys(this)||(e.reverse&&([n,r]=[r,n]),r=Ko(r),Qi.und(r)?Sa(this)||this._set(n):this._set(r)),i}_update({...e},t){const{key:n,defaultProps:r}=this;e.default&&Object.assign(r,Va(e,((e,t)=>/^on/.test(t)?Ua(e,n):e))),Ps(this,e,"onProps"),Ls(this,"onProps",e,this);const i=this._prepareNode(e);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const o=this._state;return as(++this._lastCallId,{key:n,props:e,defaultProps:r,state:o,actions:{pause:()=>{ws(this)||(ks(this,!0),oo(o.pauseQueue),Ls(this,"onPause",cs(this,Ss(this,this.animation.to)),this))},resume:()=>{ws(this)&&(ks(this,!1),_s(this)&&this._resume(),oo(o.resumeQueue),Ls(this,"onResume",cs(this,Ss(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then((n=>{if(e.loop&&n.finished&&(!t||!n.noop)){const t=Ms(e);if(t)return this._update(t,!0)}return n}))}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(us(this));const r=!Qi.und(e.to),i=!Qi.und(e.from);if(r||i){if(!(t.callId>this._lastToId))return n(us(this));this._lastToId=t.callId}const{key:o,defaultProps:a,animation:s}=this,{to:l,from:c}=s;let{to:u=l,from:d=c}=e;!i||r||t.default&&!Qi.und(u)||(u=d),t.reverse&&([u,d]=[d,u]);const f=!Xi(d,c);f&&(s.from=d),d=Ko(d);const h=!Xi(u,l);h&&this._focus(u);const p=Qa(t.to),{config:g}=s,{decay:m,velocity:v}=g;(r||i)&&(g.velocity=0),t.config&&!p&&function(e,t,n){n&&(rs(n={...n},t),t={...n,...t}),rs(e,t),Object.assign(e,t);for(const t in ts)null==e[t]&&(e[t]=ts[t]);let{frequency:r,damping:i}=e;const{mass:o}=e;Qi.und(r)||(r<.01&&(r=.01),i<0&&(i=0),e.tension=Math.pow(2*Math.PI/r,2)*o,e.friction=4*Math.PI*i*o/r)}(g,Da(t.config,o),t.config!==a.config?Da(a.config,o):void 0);let b=Sa(this);if(!b||Qi.und(u))return n(cs(this,!0));const y=Qi.und(t.reset)?i&&!t.default:!Qi.und(d)&&Ia(t.reset,o),_=y?d:this.get(),w=Za(u),x=Qi.num(w)||Qi.arr(w)||ba(w),k=!p&&(!x||Ia(a.immediate||t.immediate,o));if(h){const e=za(u);if(e!==b.constructor){if(!k)throw Error(`Cannot animate between ${b.constructor.name} and ${e.name}, as the "to" prop suggests`);b=this._set(w)}}const C=b.constructor;let S=Zo(u),M=!1;if(!S){const e=y||!ys(this)&&f;(h||e)&&(M=Xi(Za(_),w),S=!M),(Xi(s.immediate,k)||k)&&Xi(g.decay,m)&&Xi(g.velocity,v)||(S=!0)}if(M&&_s(this)&&(s.changed&&!y?S=!0:S||this._stop(l)),!p&&((S||Zo(l))&&(s.values=b.getPayload(),s.toValues=Zo(u)?null:C==Oa?[1]:to(w)),s.immediate!=k&&(s.immediate=k,k||y||this._set(l)),S)){const{onRest:e}=s;Ji(Os,(e=>Ps(this,t,e)));const r=cs(this,Ss(this,l));oo(this._pendingCalls,r),this._pendingCalls.add(n),s.changed&&Pi.batchedUpdates((()=>{s.changed=!y,e?.(r,this),y?Da(a.onRest,r):s.onStart?.(r,this)}))}y&&this._set(_),p?n(ds(t.to,t,this._state,this)):S?this._start():_s(this)&&!h?this._pendingCalls.add(n):n(ls(_))}_focus(e){const t=this.animation;e!==t.to&&(Qo(this)&&this._detach(),t.to=e,Qo(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;Zo(t)&&(ta(t,this),gs(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;Zo(e)&&na(e,this)}_set(e,t=!0){const n=Ko(e);if(!Qi.und(n)){const e=Sa(this);if(!e||!Xi(n,e.getValue())){const r=za(n);e&&e.constructor==r?e.setValue(n):Ma(this,r.create(n)),e&&Pi.batchedUpdates((()=>{this._onChange(n,t)}))}}return Sa(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,Ls(this,"onStart",cs(this,Ss(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),Da(this.animation.onChange,e,this)),Da(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;Sa(this).reset(Ko(e.to)),e.immediate||(e.fromValues=e.values.map((e=>e.lastPosition))),_s(this)||(xs(this,!0),ws(this)||this._resume())}_resume(){Zi.skipAnimation?this.finish():mo.start(this)}_stop(e,t){if(_s(this)){xs(this,!1);const n=this.animation;Ji(n.values,(e=>{e.done=!0})),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),Xo(this,{type:"idle",parent:this});const r=t?us(this.get()):cs(this.get(),Ss(this,e??n.to));oo(this._pendingCalls,r),n.changed&&(n.changed=!1,Ls(this,"onRest",r,this))}}};function Ss(e,t){const n=Za(t);return Xi(Za(e.get()),n)}function Ms(e,t=e.loop,n=e.to){const r=Da(t);if(r){const i=!0!==r&&Ga(r),o=(i||e).reverse,a=!i||i.reset;return Ts({...e,loop:t,default:!1,pause:void 0,to:!o||Qa(n)?n:void 0,from:a?e.from:void 0,reset:a,...i})}}function Ts(e){const{to:t,from:n}=e=Ga(e),r=new Set;return Qi.obj(t)&&Ns(t,r),Qi.obj(n)&&Ns(n,r),e.keys=r.size?Array.from(r):null,e}function As(e){const t=Ts(e);return Qi.und(t.default)&&(t.default=Va(t)),t}function Ns(e,t){eo(e,((e,n)=>null!=e&&t.add(n)))}var Os=["onStart","onRest","onChange","onPause","onResume"];function Ps(e,t,n){e.animation[n]=t[n]!==Ha(t,n)?Ua(t[n],e.key):void 0}function Ls(e,t,...n){e.animation[t]?.(...n),e.defaultProps[t]?.(...n)}var Es=["onStart","onChange","onRest"],js=1,zs=class{constructor(e,t){this.id=js++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start({default:!0,...e})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every((e=>e.idle&&!e.isDelayed&&!e.isPaused))}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each(((t,n)=>e[n]=t.get())),e}set(e){for(const t in e){const n=e[t];Qi.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(Ts(e)),this}start(e){let{queue:t}=this;return e?t=to(e).map(Ts):this.queue=[],this._flush?this._flush(this,t):(Us(this,t),Fs(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;Ji(to(t),(t=>n[t].stop(!!e)))}else fs(this._state,this._lastAsyncId),this.each((t=>t.stop(!!e)));return this}pause(e){if(Qi.und(e))this.start({pause:!0});else{const t=this.springs;Ji(to(e),(e=>t[e].pause()))}return this}resume(e){if(Qi.und(e))this.start({pause:!1});else{const t=this.springs;Ji(to(e),(e=>t[e].resume()))}return this}each(e){eo(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:n}=this._events,r=this._active.size>0,i=this._changed.size>0;(r&&!this._started||i&&!this._started)&&(this._started=!0,no(e,(([e,t])=>{t.value=this.get(),e(t,this,this._item)})));const o=!r&&this._started,a=i||o&&n.size?this.get():null;i&&t.size&&no(t,(([e,t])=>{t.value=a,e(t,this,this._item)})),o&&(this._started=!1,no(n,(([e,t])=>{t.value=a,e(t,this,this._item)})))}eventObserved(e){if("change"==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}Pi.onFrame(this._onFrame)}};function Fs(e,t){return Promise.all(t.map((t=>Bs(e,t)))).then((t=>ss(e,t)))}async function Bs(e,t,n){const{keys:r,to:i,from:o,loop:a,onRest:s,onResolve:l}=t,c=Qi.obj(t.default)&&t.default;a&&(t.loop=!1),!1===i&&(t.to=null),!1===o&&(t.from=null);const u=Qi.arr(i)||Qi.fun(i)?i:void 0;u?(t.to=void 0,t.onRest=void 0,c&&(c.onRest=void 0)):Ji(Es,(n=>{const r=t[n];if(Qi.fun(r)){const i=e._events[n];t[n]=({finished:e,cancelled:t})=>{const n=i.get(r);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):i.set(r,{value:null,finished:e||!1,cancelled:t||!1})},c&&(c[n]=t[n])}}));const d=e._state;t.pause===!d.paused?(d.paused=t.pause,oo(t.pause?d.pauseQueue:d.resumeQueue)):d.paused&&(t.pause=!0);const f=(r||Object.keys(e.springs)).map((n=>e.springs[n].start(t))),h=!0===t.cancel||!0===Ha(t,"cancel");(u||h&&d.asyncId)&&f.push(as(++e._lastAsyncId,{props:t,state:d,actions:{pause:Ki,resume:Ki,start(t,n){h?(fs(d,e._lastAsyncId),n(us(e))):(t.onRest=s,n(ds(u,t,d,e)))}}})),d.paused&&await new Promise((e=>{d.resumeQueue.add(e)}));const p=ss(e,await Promise.all(f));if(a&&p.finished&&(!n||!p.noop)){const n=Ms(t,a,i);if(n)return Us(e,[n]),Bs(e,n,!0)}return l&&Pi.batchedUpdates((()=>l(p,e,e.item))),p}function Rs(e,t){const n={...e.springs};return t&&Ji(to(t),(e=>{Qi.und(e.keys)&&(e=Ts(e)),Qi.obj(e.to)||(e={...e,to:void 0}),Is(n,e,(e=>Ds(e)))})),$s(e,n),n}function $s(e,t){eo(t,((t,n)=>{e.springs[n]||(e.springs[n]=t,ta(t,e))}))}function Ds(e,t){const n=new Cs;return n.key=e,t&&ta(n,t),n}function Is(e,t,n){t.keys&&Ji(t.keys,(r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)}))}function Us(e,t){Ji(t,(t=>{Is(e.springs,t,(t=>Ds(t,e)))}))}var Hs,qs=({children:e,...t})=>{const n=pe(Vs),r=t.pause||!!n.pause,i=t.immediate||!!n.immediate;t=function(e,t){const[n]=ce((()=>({inputs:t,result:e()}))),r=de(),i=r.current;let o=i;if(o){const n=Boolean(o.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,o.inputs));n||(o={inputs:t,result:e()})}else o=n;return ue((()=>{r.current=o,i==n&&(n.inputs=n.result=void 0)}),[o]),o.result}((()=>({pause:r,immediate:i})),[r,i]);const{Provider:o}=Vs;return S(o,{value:t},e)},Vs=(Hs=qs,Object.assign(Hs,G({})),Hs.Provider._context=Hs,Hs.Consumer._context=Hs,Hs);qs.Provider=Vs.Provider,qs.Consumer=Vs.Consumer;var Ws=()=>{const e=[],t=function(t){va(`${pa}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`);const r=[];return Ji(e,((e,i)=>{if(Qi.und(t))r.push(e.start());else{const o=n(t,e,i);o&&r.push(e.start(o))}})),r};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){const n=e.indexOf(t);~n&&e.splice(n,1)},t.pause=function(){return Ji(e,(e=>e.pause(...arguments))),this},t.resume=function(){return Ji(e,(e=>e.resume(...arguments))),this},t.set=function(t){Ji(e,((e,n)=>{const r=Qi.fun(t)?t(n,e):t;r&&e.set(r)}))},t.start=function(t){const n=[];return Ji(e,((e,r)=>{if(Qi.und(t))n.push(e.start());else{const i=this._getProps(t,e,r);i&&n.push(e.start(i))}})),n},t.stop=function(){return Ji(e,(e=>e.stop(...arguments))),this},t.update=function(t){return Ji(e,((e,n)=>e.update(this._getProps(t,e,n)))),this};const n=function(e,t,n){return Qi.fun(e)?e(n,t):e};return t._getProps=n,t};function Ys(e,t){const n=Qi.fun(e),[[r],i]=function(e,t,n){const r=Qi.fun(t)&&t;r&&!n&&(n=[]);const i=fe((()=>r||3==arguments.length?Ws():void 0),[]),o=de(0),a=_a(),s=fe((()=>({ctrls:[],queue:[],flush(e,t){const n=Rs(e,t);return o.current>0&&!s.queue.length&&!Object.keys(n).some((t=>!e.springs[t]))?Fs(e,t):new Promise((r=>{$s(e,n),s.queue.push((()=>{r(Fs(e,t))})),a()}))}})),[]),l=de([...s.ctrls]),c=[],u=ka(e)||0;function d(e,n){for(let i=e;i<n;i++){const e=l.current[i]||(l.current[i]=new zs(null,s.flush)),n=r?r(i,e):t[i];n&&(c[i]=As(n))}}fe((()=>{Ji(l.current.slice(e,u),(e=>{Xa(e,i),e.stop(!0)})),l.current.length=e,d(u,e)}),[e]),fe((()=>{d(0,Math.min(u,e))}),n);const f=l.current.map(((e,t)=>Rs(e,c[t]))),h=pe(qs),p=ka(h),g=h!==p&&Ka(h);ya((()=>{o.current++,s.ctrls=l.current;const{queue:e}=s;e.length&&(s.queue=[],Ji(e,(e=>e()))),Ji(l.current,((e,t)=>{i?.add(e),g&&e.start({default:h});const n=c[t];n&&(Ja(e,n.ref),e.ref?e.queue.push(n):e.start(n))}))})),wa((()=>()=>{Ji(s.ctrls,(e=>e.stop(!0)))}));const m=f.map((e=>({...e})));return i?[m,i]:m}(1,n?e:[e],n?[]:t);return n||2==arguments.length?[r,i]:r}function Gs(e,t,n){const r=Qi.fun(t)&&t,{reset:i,sort:o,trail:a=0,expires:s=!0,exitBeforeEnter:l=!1,onDestroyed:c,ref:u,config:d}=r?r():t,f=fe((()=>r||3==arguments.length?Ws():void 0),[]),h=to(e),p=[],g=de(null),m=i?null:g.current;ya((()=>{g.current=p})),wa((()=>(Ji(p,(e=>{f?.add(e.ctrl),e.ctrl.ref=f})),()=>{Ji(g.current,(e=>{e.expired&&clearTimeout(e.expirationId),Xa(e.ctrl,f),e.ctrl.stop(!0)}))})));const v=function(e,{key:t,keys:n=t},r){if(null===n){const t=new Set;return e.map((e=>{const n=r&&r.find((n=>n.item===e&&"leave"!==n.phase&&!t.has(n)));return n?(t.add(n),n.key):Zs++}))}return Qi.und(n)?e:Qi.fun(n)?e.map(n):to(n)}(h,r?r():t,m),b=i&&g.current||[];ya((()=>Ji(b,(({ctrl:e,item:t,key:n})=>{Xa(e,f),Da(c,t,n)}))));const y=[];if(m&&Ji(m,((e,t)=>{e.expired?(clearTimeout(e.expirationId),b.push(e)):~(t=y[t]=v.indexOf(e.key))&&(p[t]=e)})),Ji(h,((e,t)=>{p[t]||(p[t]={key:v[t],item:e,phase:"mount",ctrl:new zs},p[t].ctrl.item=e)})),y.length){let e=-1;const{leave:n}=r?r():t;Ji(y,((t,r)=>{const i=m[r];~t?(e=p.indexOf(i),p[e]={...i,item:h[t]}):n&&p.splice(++e,0,i)}))}Qi.fun(o)&&p.sort(((e,t)=>o(e.item,t.item)));let _=-a;const w=_a(),x=Va(t),k=new Map,C=de(new Map),M=de(!1);Ji(p,((e,n)=>{const i=e.key,o=e.phase,c=r?r():t;let f,h;const p=Da(c.delay||0,i);if("mount"==o)f=c.enter,h="enter";else{const e=v.indexOf(i)<0;if("leave"!=o)if(e)f=c.leave,h="leave";else{if(!(f=c.update))return;h="update"}else{if(e)return;f=c.enter,h="enter"}}if(f=Da(f,e.item,n),f=Qi.obj(f)?Ga(f):{to:f},!f.config){const t=d||x.config;f.config=Da(t,e.item,n,h)}_+=a;const b={...x,delay:p+_,ref:u,immediate:c.immediate,reset:!1,...f};if("enter"==h&&Qi.und(b.from)){const i=r?r():t,o=Qi.und(i.initial)||m?i.from:i.initial;b.from=Da(o,e.item,n)}const{onResolve:y}=b;b.onResolve=e=>{Da(y,e);const t=g.current,n=t.find((e=>e.key===i));if(n&&(!e.cancelled||"update"==n.phase)&&n.ctrl.idle){const e=t.every((e=>e.ctrl.idle));if("leave"==n.phase){const t=Da(s,n.item);if(!1!==t){const r=!0===t?0:t;if(n.expired=!0,!e&&r>0)return void(r<=2147483647&&(n.expirationId=setTimeout(w,r)))}}e&&t.some((e=>e.expired))&&(C.current.delete(n),l&&(M.current=!0),w())}};const S=Rs(e.ctrl,b);"leave"===h&&l?C.current.set(e,{phase:h,springs:S,payload:b}):k.set(e,{phase:h,springs:S,payload:b})}));const A=pe(qs),N=ka(A),O=A!==N&&Ka(A);ya((()=>{O&&Ji(p,(e=>{e.ctrl.start({default:A})}))}),[A]),Ji(k,((e,t)=>{if(C.current.size){const e=p.findIndex((e=>e.key===t.key));p.splice(e,1)}})),ya((()=>{Ji(C.current.size?C.current:k,(({phase:e,payload:t},n)=>{const{ctrl:r}=n;n.phase=e,f?.add(r),O&&"enter"==e&&r.start({default:A}),t&&(Ja(r,t.ref),!r.ref&&!f||M.current?(r.start(t),M.current&&(M.current=!1)):r.update(t))}))}),i?void 0:n);const P=e=>S(T,null,p.map(((t,n)=>{const{springs:r}=k.get(t)||t.ctrl,i=e({...r},t.item,t,n);return i&&i.type?S(i.type,{...i.props,key:Qi.str(t.key)||Qi.num(t.key)?t.key:t.ctrl.id,ref:i.ref}):i})));return f?[P,f]:P}var Zs=1,Ks=class extends vs{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=$o(...t);const n=this._get(),r=za(n);Ma(this,r.create(n))}advance(e){const t=this._get();Xi(t,this.get())||(Sa(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&Xs(this._active)&&Js(this)}_get(){const e=Qi.arr(this.source)?this.source.map(Ko):to(Ko(this.source));return this.calc(...e)}_start(){this.idle&&!Xs(this._active)&&(this.idle=!1,Ji(Ta(this),(e=>{e.done=!1})),Zi.skipAnimation?(Pi.batchedUpdates((()=>this.advance())),Js(this)):mo.start(this))}_attach(){let e=1;Ji(to(this.source),(t=>{Zo(t)&&ta(t,this),gs(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))})),this.priority=e,this._start()}_detach(){Ji(to(this.source),(e=>{Zo(e)&&na(e,this)})),this._active.clear(),Js(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=to(this.source).reduce(((e,t)=>Math.max(e,(gs(t)?t.priority:0)+1)),0))}};function Qs(e){return!1!==e.idle}function Xs(e){return!e.size||Array.from(e).every(Qs)}function Js(e){e.idle||(e.idle=!0,Ji(Ta(e),(e=>{e.done=!0})),Xo(e,{type:"idle",parent:e}))}Zi.assign({createStringInterpolator:ha,to:(e,t)=>new Ks(e,t)});var el=/^--/;function tl(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||el.test(e)||rl.hasOwnProperty(e)&&rl[e]?(""+t).trim():t+"px"}var nl={},rl={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},il=["Webkit","Ms","Moz","O"];rl=Object.keys(rl).reduce(((e,t)=>(il.forEach((n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t])),e)),rl);var ol=/^(matrix|translate|scale|rotate|skew)/,al=/^(translate)/,sl=/^(rotate|skew)/,ll=(e,t)=>Qi.num(e)&&0!==e?e+t:e,cl=(e,t)=>Qi.arr(e)?e.every((e=>cl(e,t))):Qi.num(e)?e===t:parseFloat(e)===t,ul=class extends La{constructor({x:e,y:t,z:n,...r}){const i=[],o=[];(e||t||n)&&(i.push([e||0,t||0,n||0]),o.push((e=>[`translate3d(${e.map((e=>ll(e,"px"))).join(",")})`,cl(e,0)]))),eo(r,((e,t)=>{if("transform"===t)i.push([e||""]),o.push((e=>[e,""===e]));else if(ol.test(t)){if(delete r[t],Qi.und(e))return;const n=al.test(t)?"px":sl.test(t)?"deg":"";i.push(to(e)),o.push("rotate3d"===t?([e,t,r,i])=>[`rotate3d(${e},${t},${r},${ll(i,n)})`,cl(i,0)]:e=>[`${t}(${e.map((e=>ll(e,n))).join(",")})`,cl(e,t.startsWith("scale")?1:0)])}})),i.length&&(r.transform=new dl(i,o)),super(r)}},dl=class extends Jo{constructor(e,t){super(),this.inputs=e,this.transforms=t,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return Ji(this.inputs,((n,r)=>{const i=Ko(n[0]),[o,a]=this.transforms[r](Qi.arr(i)?i:n.map(Ko));e+=" "+o,t=t&&a})),t?"none":e}observerAdded(e){1==e&&Ji(this.inputs,(e=>Ji(e,(e=>Zo(e)&&ta(e,this)))))}observerRemoved(e){0==e&&Ji(this.inputs,(e=>Ji(e,(e=>Zo(e)&&na(e,this)))))}eventObserved(e){"change"==e.type&&(this._value=null),Xo(this,e)}};Zi.assign({batchedUpdates:function(e,t){return e(t)},createStringInterpolator:ha,colors:{transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}});var fl=((e,{applyAnimatedValues:t=(()=>!1),createAnimatedStyle:n=(e=>new La(e)),getComponentProps:r=(e=>e)}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},o=e=>{const t=$a(e)||"Anonymous";return(e=Qi.str(e)?o[e]||(o[e]=Fa(e,i)):e[Ra]||(e[Ra]=Fa(e,i))).displayName=`Animated(${t})`,e};return eo(e,((t,n)=>{Qi.arr(e)&&(n=$a(t)),o[n]=o(t)})),{animated:o}})(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,{className:r,style:i,children:o,scrollTop:a,scrollLeft:s,viewBox:l,...c}=t,u=Object.values(c),d=Object.keys(c).map((t=>n||e.hasAttribute(t)?t:nl[t]||(nl[t]=t.replace(/([A-Z])/g,(e=>"-"+e.toLowerCase())))));void 0!==o&&(e.textContent=o);for(const t in i)if(i.hasOwnProperty(t)){const n=tl(t,i[t]);el.test(t)?e.style.setProperty(t,n):e.style[t]=n}d.forEach(((t,n)=>{e.setAttribute(t,u[n])})),void 0!==r&&(e.className=r),void 0!==a&&(e.scrollTop=a),void 0!==s&&(e.scrollLeft=s),void 0!==l&&e.setAttribute("viewBox",l)},createAnimatedStyle:e=>new ul(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),hl=fl.animated;function pl(){return pl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pl.apply(this,arguments)}var gl={pointerEvents:"none",position:"absolute",zIndex:10,top:0,left:0},ml=function(e,t){return"translate("+e+"px, "+t+"px)"},vl=Se((function(e){var t,n=e.position,r=e.anchor,i=e.children,o=pS(),a=eS(),s=a.animate,l=a.config,c=cS(),u=c[0],d=c[1],f=de(!1),h=void 0,p=!1,g=d.width>0&&d.height>0,m=Math.round(n[0]),v=Math.round(n[1]);g&&("top"===r?(m-=d.width/2,v-=d.height+14):"right"===r?(m+=14,v-=d.height/2):"bottom"===r?(m-=d.width/2,v+=14):"left"===r?(m-=d.width+14,v-=d.height/2):"center"===r&&(m-=d.width/2,v-=d.height/2),h={transform:ml(m,v)},f.current||(p=!0),f.current=[m,v]);var b=Ys({to:h,config:l,immediate:!s||p}),y=pl({},gl,o.tooltip.wrapper,{transform:null!=(t=b.transform)?t:ml(m,v),opacity:b.transform?1:0});return Je(hl.div,{ref:u,style:y,children:i})}));vl.displayName="TooltipWrapper";var bl=Se((function(e){var t=e.size,n=void 0===t?12:t,r=e.color,i=e.style;return Je("span",{style:pl({display:"block",width:n,height:n,background:r},void 0===i?{}:i)})})),yl=Se((function(e){var t,n=e.id,r=e.value,i=e.format,o=e.enableChip,a=void 0!==o&&o,s=e.color,l=e.renderContent,c=pS(),u=uS(i);if("function"==typeof l)t=l();else{var d=r;void 0!==u&&void 0!==d&&(d=u(d)),t=Je("div",{style:c.tooltip.basic,children:[a&&Je(bl,{color:s,style:c.tooltip.chip}),void 0!==d?Je("span",{children:[n,": ",Je("strong",{children:""+d})]}):n]})}return Je("div",{style:c.tooltip.container,children:t})})),_l={width:"100%",borderCollapse:"collapse"},wl=Se((function(e){var t,n=e.title,r=e.rows,i=void 0===r?[]:r,o=e.renderContent,a=pS();return i.length?(t="function"==typeof o?o():Je("div",{children:[n&&n,Je("table",{style:pl({},_l,a.tooltip.table),children:Je("tbody",{children:i.map((function(e,t){return Je("tr",{children:e.map((function(e,t){return Je("td",{style:a.tooltip.tableCell,children:e},t)}))},t)}))})})]}),Je("div",{style:a.tooltip.container,children:t})):null}));wl.displayName="TableTooltip";var xl=Se((function(e){var t=e.x0,n=e.x1,r=e.y0,i=e.y1,o=pS(),a=eS(),s=a.animate,l=a.config,c=fe((function(){return pl({},o.crosshair.line,{pointerEvents:"none"})}),[o.crosshair.line]),u=Ys({x1:t,x2:n,y1:r,y2:i,config:l,immediate:!s});return Je(hl.line,pl({},u,{fill:"none",style:c}))}));xl.displayName="CrosshairLine";var kl=Se((function(e){var t,n,r=e.width,i=e.height,o=e.type,a=e.x,s=e.y;return"cross"===o?(t={x0:a,x1:a,y0:0,y1:i},n={x0:0,x1:r,y0:s,y1:s}):"top-left"===o?(t={x0:a,x1:a,y0:0,y1:s},n={x0:0,x1:a,y0:s,y1:s}):"top"===o?t={x0:a,x1:a,y0:0,y1:s}:"top-right"===o?(t={x0:a,x1:a,y0:0,y1:s},n={x0:a,x1:r,y0:s,y1:s}):"right"===o?n={x0:a,x1:r,y0:s,y1:s}:"bottom-right"===o?(t={x0:a,x1:a,y0:s,y1:i},n={x0:a,x1:r,y0:s,y1:s}):"bottom"===o?t={x0:a,x1:a,y0:s,y1:i}:"bottom-left"===o?(t={x0:a,x1:a,y0:s,y1:i},n={x0:0,x1:a,y0:s,y1:s}):"left"===o?n={x0:0,x1:a,y0:s,y1:s}:"x"===o?t={x0:a,x1:a,y0:0,y1:i}:"y"===o&&(n={x0:0,x1:r,y0:s,y1:s}),Je(T,{children:[t&&Je(xl,{x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1}),n&&Je(xl,{x0:n.x0,x1:n.x1,y0:n.y0,y1:n.y1})]})}));kl.displayName="Crosshair";var Cl,Sl,Ml,Tl,Al,Nl,Ol,Pl,Ll,El,jl,zl,Fl,Bl,Rl,$l,Dl,Il,Ul,Hl,ql,Vl,Wl,Yl,Gl,Zl,Kl,Ql,Xl,Jl,ec,tc,nc,rc,ic,oc,ac,sc,lc,cc,uc,dc,fc,hc,pc,gc,mc,vc,bc,yc,_c,wc,xc,kc,Cc,Sc,Mc,Tc,Ac,Nc,Oc,Pc,Lc,Ec,jc,zc,Fc,Bc,Rc,$c,Dc,Ic,Uc,Hc,qc,Vc,Wc,Yc,Gc,Zc,Kc,Qc,Xc,Jc,eu,tu,nu,ru,iu,ou,au,su,lu,cu,uu,du,fu,hu,pu=G({showTooltipAt:function(){},showTooltipFromEvent:function(){},hideTooltip:function(){}}),gu={isVisible:!1,position:[null,null],content:null,anchor:null},mu=G(gu),vu=function(){var e=pe(pu);if(void 0===e)throw new Error("useTooltip must be used within a TooltipProvider");return e},bu=function(){var e=function(){var e=pe(mu);if(void 0===e)throw new Error("useTooltipState must be used within a TooltipProvider");return e}();return function(e){return e.isVisible}(e)?Je(vl,{position:e.position,anchor:e.anchor,children:e.content}):null},yu=function(e){var t=e.container,n=e.children,r=function(e){var t=ce(gu),n=t[0],r=t[1],i=he((function(e,t,n){var i=t[0],o=t[1];void 0===n&&(n="top"),r({isVisible:!0,position:[i,o],anchor:n,content:e})}),[r]),o=he((function(t,n,i){void 0===i&&(i="top");var o=e.current.getBoundingClientRect(),a=e.current.offsetWidth,s=a===o.width?1:a/o.width,l="touches"in n?n.touches[0]:n,c=l.clientX,u=l.clientY,d=(c-o.left)*s,f=(u-o.top)*s;"left"!==i&&"right"!==i||(i=d<o.width/2?"right":"left"),r({isVisible:!0,position:[d,f],anchor:i,content:t})}),[e,r]),a=he((function(){r(gu)}),[r]);return{actions:fe((function(){return{showTooltipAt:i,showTooltipFromEvent:o,hideTooltip:a}}),[i,o,a]),state:n}}(t),i=r.actions,o=r.state;return Je(pu.Provider,{value:i,children:Je(mu.Provider,{value:o,children:n})})};function _u(){return Tl?Ml:(Tl=1,Ml=function(e,t){return e===t||e!=e&&t!=t})}function wu(){if(Nl)return Al;Nl=1;var e=_u();return Al=function(t,n){for(var r=t.length;r--;)if(e(t[r][0],n))return r;return-1},Al}function xu(){if($l)return Rl;$l=1;var e=Sl?Cl:(Sl=1,Cl=function(){this.__data__=[],this.size=0}),t=function(){if(Pl)return Ol;Pl=1;var e=wu(),t=Array.prototype.splice;return Ol=function(n){var r=this.__data__,i=e(r,n);return!(i<0||(i==r.length-1?r.pop():t.call(r,i,1),--this.size,0))}}(),n=function(){if(El)return Ll;El=1;var e=wu();return Ll=function(t){var n=this.__data__,r=e(n,t);return r<0?void 0:n[r][1]}}(),r=function(){if(zl)return jl;zl=1;var e=wu();return jl=function(t){return e(this.__data__,t)>-1}}(),i=function(){if(Bl)return Fl;Bl=1;var e=wu();return Fl=function(t,n){var r=this.__data__,i=e(r,t);return i<0?(++this.size,r.push([t,n])):r[i][1]=n,this}}();function o(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=n,o.prototype.has=r,o.prototype.set=i,Rl=o}function ku(){if(Zl)return Gl;Zl=1;var e="object"==typeof wi&&wi&&wi.Object===Object&&wi;return Gl=e}function Cu(){if(Ql)return Kl;Ql=1;var e=ku(),t="object"==typeof self&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return Kl=n}function Su(){if(Jl)return Xl;Jl=1;var e=Cu().Symbol;return Xl=e}function Mu(){if(oc)return ic;oc=1;var e=Su(),t=function(){if(tc)return ec;tc=1;var e=Su(),t=Object.prototype,n=t.hasOwnProperty,r=t.toString,i=e?e.toStringTag:void 0;return ec=function(e){var t=n.call(e,i),o=e[i];try{e[i]=void 0;var a=!0}catch(e){}var s=r.call(e);return a&&(t?e[i]=o:delete e[i]),s}}(),n=function(){if(rc)return nc;rc=1;var e=Object.prototype.toString;return nc=function(t){return e.call(t)}}(),r=e?e.toStringTag:void 0;return ic=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":r&&r in Object(e)?t(e):n(e)}}function Tu(){return sc?ac:(sc=1,ac=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)})}function Au(){if(cc)return lc;cc=1;var e=Mu(),t=Tu();return lc=function(n){if(!t(n))return!1;var r=e(n);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}}function Nu(){if(gc)return pc;gc=1;var e=Function.prototype.toString;return pc=function(t){if(null!=t){try{return e.call(t)}catch(e){}try{return t+""}catch(e){}}return""}}function Ou(){if(wc)return _c;wc=1;var e=function(){if(vc)return mc;vc=1;var e=Au(),t=function(){if(hc)return fc;hc=1;var e,t=function(){if(dc)return uc;dc=1;var e=Cu()["__core-js_shared__"];return uc=e}(),n=(e=/[^.]+$/.exec(t&&t.keys&&t.keys.IE_PROTO||""))?"Symbol(src)_1."+e:"";return fc=function(e){return!!n&&n in e}}(),n=Tu(),r=Nu(),i=/^\[object .+?Constructor\]$/,o=Function.prototype,a=Object.prototype,s=o.toString,l=a.hasOwnProperty,c=RegExp("^"+s.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");return mc=function(o){return!(!n(o)||t(o))&&(e(o)?c:i).test(r(o))}}(),t=(yc||(yc=1,bc=function(e,t){return null==e?void 0:e[t]}),bc);return _c=function(n,r){var i=t(n,r);return e(i)?i:void 0},_c}function Pu(){if(kc)return xc;kc=1;var e=Ou()(Cu(),"Map");return xc=e}function Lu(){if(Sc)return Cc;Sc=1;var e=Ou()(Object,"create");return Cc=e}function Eu(){if(Hc)return Uc;Hc=1;var e=Ic?Dc:(Ic=1,Dc=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e});return Uc=function(t,n){var r=t.__data__;return e(n)?r["string"==typeof n?"string":"hash"]:r.map},Uc}function ju(){if(Jc)return Xc;Jc=1;var e=function(){if($c)return Rc;$c=1;var e=function(){if(Bc)return Fc;Bc=1;var e=function(){if(Tc)return Mc;Tc=1;var e=Lu();return Mc=function(){this.__data__=e?e(null):{},this.size=0}}(),t=Nc?Ac:(Nc=1,Ac=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}),n=function(){if(Pc)return Oc;Pc=1;var e=Lu(),t=Object.prototype.hasOwnProperty;return Oc=function(n){var r=this.__data__;if(e){var i=r[n];return"__lodash_hash_undefined__"===i?void 0:i}return t.call(r,n)?r[n]:void 0}}(),r=function(){if(Ec)return Lc;Ec=1;var e=Lu(),t=Object.prototype.hasOwnProperty;return Lc=function(n){var r=this.__data__;return e?void 0!==r[n]:t.call(r,n)}}(),i=function(){if(zc)return jc;zc=1;var e=Lu();return jc=function(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=e&&void 0===n?"__lodash_hash_undefined__":n,this}}();function o(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=n,o.prototype.has=r,o.prototype.set=i,Fc=o}(),t=xu(),n=Pu();return Rc=function(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}}(),t=function(){if(Vc)return qc;Vc=1;var e=Eu();return qc=function(t){var n=e(this,t).delete(t);return this.size-=n?1:0,n}}(),n=function(){if(Yc)return Wc;Yc=1;var e=Eu();return Wc=function(t){return e(this,t).get(t)}}(),r=function(){if(Zc)return Gc;Zc=1;var e=Eu();return Gc=function(t){return e(this,t).has(t)}}(),i=function(){if(Qc)return Kc;Qc=1;var e=Eu();return Kc=function(t,n){var r=e(this,t),i=r.size;return r.set(t,n),this.size+=r.size==i?0:1,this}}();function o(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=n,o.prototype.has=r,o.prototype.set=i,Xc=o}function zu(){if(ru)return nu;ru=1;var e=xu(),t=function(){if(Il)return Dl;Il=1;var e=xu();return Dl=function(){this.__data__=new e,this.size=0}}(),n=Hl?Ul:(Hl=1,Ul=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}),r=Vl?ql:(Vl=1,ql=function(e){return this.__data__.get(e)}),i=Yl?Wl:(Yl=1,Wl=function(e){return this.__data__.has(e)}),o=function(){if(tu)return eu;tu=1;var e=xu(),t=Pu(),n=ju();return eu=function(r,i){var o=this.__data__;if(o instanceof e){var a=o.__data__;if(!t||a.length<199)return a.push([r,i]),this.size=++o.size,this;o=this.__data__=new n(a)}return o.set(r,i),this.size=o.size,this}}();function a(t){var n=this.__data__=new e(t);this.size=n.size}return a.prototype.clear=t,a.prototype.delete=n,a.prototype.get=r,a.prototype.has=i,a.prototype.set=o,nu=a}function Fu(){if(ou)return iu;ou=1;var e=Ou(),t=function(){try{var t=e(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();return iu=t}function Bu(){if(su)return au;su=1;var e=Fu();return au=function(t,n,r){"__proto__"==n&&e?e(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r},au}function Ru(){if(cu)return lu;cu=1;var e=Bu(),t=_u();return lu=function(n,r,i){(void 0!==i&&!t(n[r],i)||void 0===i&&!(r in n))&&e(n,r,i)},lu}function $u(){if(hu)return fu;hu=1;var e=(du||(du=1,uu=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===n(o[l],l,o))break}return t}}),uu),t=e();return fu=t}var Du,Iu,Uu,Hu,qu,Vu,Wu,Yu,Gu,Zu,Ku,Qu,Xu,Ju,ed,td,nd,rd,id,od,ad,sd,ld,cd,ud,dd,fd,hd,pd,gd,md,vd,bd,yd={exports:{}};function _d(){if(Uu)return Iu;Uu=1;var e=Cu().Uint8Array;return Iu=e}function wd(){return Xu?Qu:(Xu=1,Qu=function(e,t){return function(n){return e(t(n))}})}function xd(){if(ed)return Ju;ed=1;var e=wd()(Object.getPrototypeOf,Object);return Ju=e}function kd(){if(nd)return td;nd=1;var e=Object.prototype;return td=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}}function Cd(){return ad?od:(ad=1,od=function(e){return null!=e&&"object"==typeof e})}function Sd(){if(ud)return cd;ud=1;var e=function(){if(ld)return sd;ld=1;var e=Mu(),t=Cd();return sd=function(n){return t(n)&&"[object Arguments]"==e(n)}}(),t=Cd(),n=Object.prototype,r=n.hasOwnProperty,i=n.propertyIsEnumerable,o=e(function(){return arguments}())?e:function(e){return t(e)&&r.call(e,"callee")&&!i.call(e,"callee")};return cd=o}function Md(){if(fd)return dd;fd=1;var e=Array.isArray;return dd=e}function Td(){return pd?hd:(pd=1,hd=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991})}function Ad(){if(md)return gd;md=1;var e=Au(),t=Td();return gd=function(n){return null!=n&&t(n.length)&&!e(n)}}function Nd(){if(bd)return vd;bd=1;var e=Ad(),t=Cd();return vd=function(n){return t(n)&&e(n)}}var Od,Pd,Ld,Ed,jd,zd,Fd,Bd,Rd,$d={exports:{}};function Dd(){return Ld||(Ld=1,function(e,t){var n=Cu(),r=Pd?Od:(Pd=1,Od=function(){return!1}),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?n.Buffer:void 0,s=(a?a.isBuffer:void 0)||r;e.exports=s}($d,$d.exports)),$d.exports}function Id(){if(jd)return Ed;jd=1;var e=Mu(),t=xd(),n=Cd(),r=Function.prototype,i=Object.prototype,o=r.toString,a=i.hasOwnProperty,s=o.call(Object);return Ed=function(r){if(!n(r)||"[object Object]"!=e(r))return!1;var i=t(r);if(null===i)return!0;var l=a.call(i,"constructor")&&i.constructor;return"function"==typeof l&&l instanceof l&&o.call(l)==s}}function Ud(){return Rd?Bd:(Rd=1,Bd=function(e){return function(t){return e(t)}})}var Hd,qd,Vd,Wd,Yd,Gd,Zd,Kd,Qd,Xd,Jd,ef,tf,nf,rf,of,af,sf,lf,cf,uf,df,ff,hf,pf,gf,mf,vf,bf,yf,_f,wf,xf,kf,Cf,Sf,Mf,Tf,Af,Nf,Of,Pf,Lf,Ef,jf,zf,Ff,Bf,Rf,$f={exports:{}};function Df(){return Hd||(Hd=1,function(e,t){var n=ku(),r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,o=i&&i.exports===r&&n.process,a=function(){try{return i&&i.require&&i.require("util").types||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a}($f,$f.exports)),$f.exports}function If(){if(Vd)return qd;Vd=1;var e=function(){if(Fd)return zd;Fd=1;var e=Mu(),t=Td(),n=Cd(),r={};return r["[object Float32Array]"]=r["[object Float64Array]"]=r["[object Int8Array]"]=r["[object Int16Array]"]=r["[object Int32Array]"]=r["[object Uint8Array]"]=r["[object Uint8ClampedArray]"]=r["[object Uint16Array]"]=r["[object Uint32Array]"]=!0,r["[object Arguments]"]=r["[object Array]"]=r["[object ArrayBuffer]"]=r["[object Boolean]"]=r["[object DataView]"]=r["[object Date]"]=r["[object Error]"]=r["[object Function]"]=r["[object Map]"]=r["[object Number]"]=r["[object Object]"]=r["[object RegExp]"]=r["[object Set]"]=r["[object String]"]=r["[object WeakMap]"]=!1,zd=function(i){return n(i)&&t(i.length)&&!!r[e(i)]}}(),t=Ud(),n=Df(),r=n&&n.isTypedArray,i=r?t(r):e;return qd=i}function Uf(){return Yd||(Yd=1,Wd=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}),Wd}function Hf(){if(Zd)return Gd;Zd=1;var e=Bu(),t=_u(),n=Object.prototype.hasOwnProperty;return Gd=function(r,i,o){var a=r[i];n.call(r,i)&&t(a,o)&&(void 0!==o||i in r)||e(r,i,o)},Gd}function qf(){if(tf)return ef;tf=1;var e=/^(?:0|[1-9]\d*)$/;return ef=function(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t<n}}function Vf(){if(rf)return nf;rf=1;var e=(Jd||(Jd=1,Xd=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}),Xd),t=Sd(),n=Md(),r=Dd(),i=qf(),o=If(),a=Object.prototype.hasOwnProperty;return nf=function(s,l){var c=n(s),u=!c&&t(s),d=!c&&!u&&r(s),f=!c&&!u&&!d&&o(s),h=c||u||d||f,p=h?e(s.length,String):[],g=p.length;for(var m in s)!l&&!a.call(s,m)||h&&("length"==m||d&&("offset"==m||"parent"==m)||f&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||i(m,g))||p.push(m);return p}}function Wf(){if(uf)return cf;uf=1;var e=Vf(),t=function(){if(lf)return sf;lf=1;var e=Tu(),t=kd(),n=(af||(af=1,of=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}),of),r=Object.prototype.hasOwnProperty;return sf=function(i){if(!e(i))return n(i);var o=t(i),a=[];for(var s in i)("constructor"!=s||!o&&r.call(i,s))&&a.push(s);return a},sf}(),n=Ad();return cf=function(r){return n(r)?e(r,!0):t(r)}}function Yf(){return bf?vf:(bf=1,vf=function(e){return e})}function Gf(){if(xf)return wf;xf=1;var e=_f?yf:(_f=1,yf=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}),t=Math.max;return wf=function(n,r,i){return r=t(void 0===r?n.length-1:r,0),function(){for(var o=arguments,a=-1,s=t(o.length-r,0),l=Array(s);++a<s;)l[a]=o[r+a];a=-1;for(var c=Array(r+1);++a<r;)c[a]=o[a];return c[r]=i(l),e(n,this,c)}},wf}function Zf(){if(Of)return Nf;Of=1;var e=function(){if(Mf)return Sf;Mf=1;var e=Cf?kf:(Cf=1,kf=function(e){return function(){return e}}),t=Fu(),n=Yf();return Sf=t?function(n,r){return t(n,"toString",{configurable:!0,enumerable:!1,value:e(r),writable:!0})}:n}(),t=function(){if(Af)return Tf;Af=1;var e=Date.now;return Tf=function(t){var n=0,r=0;return function(){var i=e(),o=16-(i-r);if(r=i,o>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}},Tf}(),n=t(e);return Nf=n}function Kf(){if(Lf)return Pf;Lf=1;var e=Yf(),t=Gf(),n=Zf();return Pf=function(r,i){return n(t(r,i,e),r+"")},Pf}function Qf(){if(jf)return Ef;jf=1;var e=_u(),t=Ad(),n=qf(),r=Tu();return Ef=function(i,o,a){if(!r(a))return!1;var s=typeof o;return!!("number"==s?t(a)&&n(o,a.length):"string"==s&&o in a)&&e(a[o],i)},Ef}var Xf,Jf,eh,th,nh,rh,ih,oh,ah,sh,lh,ch,uh,dh,fh,hh,ph,gh,mh,vh,bh,yh,_h,wh,xh=function(){if(Rf)return Bf;Rf=1;var e=function(){if(mf)return gf;mf=1;var e=zu(),t=Ru(),n=$u(),r=function(){if(pf)return hf;pf=1;var e=Ru(),t=(Du||(Du=1,function(e,t){var n=Cu(),r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,o=i&&i.exports===r?n.Buffer:void 0,a=o?o.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=a?a(n):new e.constructor(n);return e.copy(r),r}}(yd,yd.exports)),yd.exports),n=function(){if(Wu)return Vu;Wu=1;var e=function(){if(qu)return Hu;qu=1;var e=_d();return Hu=function(t){var n=new t.constructor(t.byteLength);return new e(n).set(new e(t)),n}}();return Vu=function(t,n){var r=n?e(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}}(),r=(Gu||(Gu=1,Yu=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}),Yu),i=function(){if(id)return rd;id=1;var e=function(){if(Ku)return Zu;Ku=1;var e=Tu(),t=Object.create,n=function(){function n(){}return function(r){if(!e(r))return{};if(t)return t(r);n.prototype=r;var i=new n;return n.prototype=void 0,i}}();return Zu=n}(),t=xd(),n=kd();return rd=function(r){return"function"!=typeof r.constructor||n(r)?{}:e(t(r))}}(),o=Sd(),a=Md(),s=Nd(),l=Dd(),c=Au(),u=Tu(),d=Id(),f=If(),h=Uf(),p=function(){if(ff)return df;ff=1;var e=function(){if(Qd)return Kd;Qd=1;var e=Hf(),t=Bu();return Kd=function(n,r,i,o){var a=!i;i||(i={});for(var s=-1,l=r.length;++s<l;){var c=r[s],u=o?o(i[c],n[c],c,i,n):void 0;void 0===u&&(u=n[c]),a?t(i,c,u):e(i,c,u)}return i},Kd}(),t=Wf();return df=function(n){return e(n,t(n))}}();return hf=function(g,m,v,b,y,_,w){var x=h(g,v),k=h(m,v),C=w.get(k);if(C)e(g,v,C);else{var S=_?_(x,k,v+"",g,m,w):void 0,M=void 0===S;if(M){var T=a(k),A=!T&&l(k),N=!T&&!A&&f(k);S=k,T||A||N?a(x)?S=x:s(x)?S=r(x):A?(M=!1,S=t(k,!0)):N?(M=!1,S=n(k,!0)):S=[]:d(k)||o(k)?(S=x,o(x)?S=p(x):u(x)&&!c(x)||(S=i(k))):M=!1}M&&(w.set(k,S),y(S,k,b,_,w),w.delete(k)),e(g,v,S)}},hf}(),i=Tu(),o=Wf(),a=Uf();return gf=function s(l,c,u,d,f){l!==c&&n(c,(function(n,o){if(f||(f=new e),i(n))r(l,c,o,u,s,d,f);else{var h=d?d(a(l,o),n,o+"",l,c,f):void 0;void 0===h&&(h=n),t(l,o,h)}}),o)},gf}(),t=function(){if(Ff)return zf;Ff=1;var e=Kf(),t=Qf();return zf=function(n){return e((function(e,r){var i=-1,o=r.length,a=o>1?r[o-1]:void 0,s=o>2?r[2]:void 0;for(a=n.length>3&&"function"==typeof a?(o--,a):void 0,s&&t(r[0],r[1],s)&&(a=o<3?void 0:a,o=1),e=Object(e);++i<o;){var l=r[i];l&&n(e,l,i,a)}return e}))},zf}(),n=t((function(t,n,r){e(t,n,r)}));return Bf=n}(),kh=xi(xh);function Ch(){if(Jf)return Xf;Jf=1;var e=Mu(),t=Cd();return Xf=function(n){return"symbol"==typeof n||t(n)&&"[object Symbol]"==e(n)}}function Sh(){if(th)return eh;th=1;var e=Md(),t=Ch(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;return eh=function(i,o){if(e(i))return!1;var a=typeof i;return!("number"!=a&&"symbol"!=a&&"boolean"!=a&&null!=i&&!t(i))||r.test(i)||!n.test(i)||null!=o&&i in Object(o)},eh}function Mh(){return ch||(ch=1,lh=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}),lh}function Th(){if(hh)return fh;hh=1;var e=function(){if(dh)return uh;dh=1;var e=Su(),t=Mh(),n=Md(),r=Ch(),i=e?e.prototype:void 0,o=i?i.toString:void 0;return uh=function e(i){if("string"==typeof i)return i;if(n(i))return t(i,e)+"";if(r(i))return o?o.call(i):"";var a=i+"";return"0"==a&&1/i==-1/0?"-0":a},uh}();return fh=function(t){return null==t?"":e(t)}}function Ah(){if(gh)return ph;gh=1;var e=Md(),t=Sh(),n=function(){if(sh)return ah;sh=1;var e=function(){if(oh)return ih;oh=1;var e=function(){if(rh)return nh;rh=1;var e=ju();function t(n,r){if("function"!=typeof n||null!=r&&"function"!=typeof r)throw new TypeError("Expected a function");var i=function(){var e=arguments,t=r?r.apply(this,e):e[0],o=i.cache;if(o.has(t))return o.get(t);var a=n.apply(this,e);return i.cache=o.set(t,a)||o,a};return i.cache=new(t.Cache||e),i}return t.Cache=e,nh=t}();return ih=function(t){var n=e(t,(function(e){return 500===r.size&&r.clear(),e})),r=n.cache;return n}}(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n=/\\(\\)?/g,r=e((function(e){var r=[];return 46===e.charCodeAt(0)&&r.push(""),e.replace(t,(function(e,t,i,o){r.push(i?o.replace(n,"$1"):t||e)})),r}));return ah=r}(),r=Th();return ph=function(i,o){return e(i)?i:t(i,o)?[i]:n(r(i))},ph}function Nh(){if(vh)return mh;vh=1;var e=Ch();return mh=function(t){if("string"==typeof t||e(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}}function Oh(){if(yh)return bh;yh=1;var e=Ah(),t=Nh();return bh=function(n,r){for(var i=0,o=(r=e(r,n)).length;null!=n&&i<o;)n=n[t(r[i++])];return i&&i==o?n:void 0},bh}function Ph(){if(wh)return _h;wh=1;var e=Oh();return _h=function(t,n,r){var i=null==t?void 0:e(t,n);return void 0===i?r:i},_h}var Lh,Eh,jh,zh,Fh=xi(Ph());function Bh(){if(Eh)return Lh;Eh=1;var e=Hf(),t=Ah(),n=qf(),r=Tu(),i=Nh();return Lh=function(o,a,s,l){if(!r(o))return o;for(var c=-1,u=(a=t(a,o)).length,d=u-1,f=o;null!=f&&++c<u;){var h=i(a[c]),p=s;if("__proto__"===h||"constructor"===h||"prototype"===h)return o;if(c!=d){var g=f[h];void 0===(p=l?l(g,h,f):void 0)&&(p=r(g)?g:n(a[c+1])?[]:{})}e(f,h,p),f=f[h]}return o},Lh}var Rh=function(){if(zh)return jh;zh=1;var e=Bh();return jh=function(t,n,r){return null==t?t:e(t,n,r)},jh}(),$h=xi(Rh);function Dh(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Ih(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function Uh(){}var Hh=.7,qh=1/Hh,Vh="\\s*([+-]?\\d+)\\s*",Wh="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Yh="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Gh=/^#([0-9a-f]{3,8})$/,Zh=new RegExp(`^rgb\\(${Vh},${Vh},${Vh}\\)$`),Kh=new RegExp(`^rgb\\(${Yh},${Yh},${Yh}\\)$`),Qh=new RegExp(`^rgba\\(${Vh},${Vh},${Vh},${Wh}\\)$`),Xh=new RegExp(`^rgba\\(${Yh},${Yh},${Yh},${Wh}\\)$`),Jh=new RegExp(`^hsl\\(${Wh},${Yh},${Yh}\\)$`),ep=new RegExp(`^hsla\\(${Wh},${Yh},${Yh},${Wh}\\)$`),tp={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function np(){return this.rgb().formatHex()}function rp(){return this.rgb().formatRgb()}function ip(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=Gh.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?op(t):3===n?new cp(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?ap(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?ap(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=Zh.exec(e))?new cp(t[1],t[2],t[3],1):(t=Kh.exec(e))?new cp(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Qh.exec(e))?ap(t[1],t[2],t[3],t[4]):(t=Xh.exec(e))?ap(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Jh.exec(e))?gp(t[1],t[2]/100,t[3]/100,1):(t=ep.exec(e))?gp(t[1],t[2]/100,t[3]/100,t[4]):tp.hasOwnProperty(e)?op(tp[e]):"transparent"===e?new cp(NaN,NaN,NaN,0):null}function op(e){return new cp(e>>16&255,e>>8&255,255&e,1)}function ap(e,t,n,r){return r<=0&&(e=t=n=NaN),new cp(e,t,n,r)}function sp(e){return e instanceof Uh||(e=ip(e)),e?new cp((e=e.rgb()).r,e.g,e.b,e.opacity):new cp}function lp(e,t,n,r){return 1===arguments.length?sp(e):new cp(e,t,n,null==r?1:r)}function cp(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function up(){return`#${pp(this.r)}${pp(this.g)}${pp(this.b)}`}function dp(){const e=fp(this.opacity);return`${1===e?"rgb(":"rgba("}${hp(this.r)}, ${hp(this.g)}, ${hp(this.b)}${1===e?")":`, ${e})`}`}function fp(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function hp(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function pp(e){return((e=hp(e))<16?"0":"")+e.toString(16)}function gp(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new vp(e,t,n,r)}function mp(e){if(e instanceof vp)return new vp(e.h,e.s,e.l,e.opacity);if(e instanceof Uh||(e=ip(e)),!e)return new vp;if(e instanceof vp)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),a=NaN,s=o-i,l=(o+i)/2;return s?(a=t===o?(n-r)/s+6*(n<r):n===o?(r-t)/s+2:(t-n)/s+4,s/=l<.5?o+i:2-o-i,a*=60):s=l>0&&l<1?0:a,new vp(a,s,l,e.opacity)}function vp(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function bp(e){return(e=(e||0)%360)<0?e+360:e}function yp(e){return Math.max(0,Math.min(1,e||0))}function _p(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}Dh(Uh,ip,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:np,formatHex:np,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return mp(this).formatHsl()},formatRgb:rp,toString:rp}),Dh(cp,lp,Ih(Uh,{brighter(e){return e=null==e?qh:Math.pow(qh,e),new cp(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?Hh:Math.pow(Hh,e),new cp(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new cp(hp(this.r),hp(this.g),hp(this.b),fp(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:up,formatHex:up,formatHex8:function(){return`#${pp(this.r)}${pp(this.g)}${pp(this.b)}${pp(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:dp,toString:dp})),Dh(vp,(function(e,t,n,r){return 1===arguments.length?mp(e):new vp(e,t,n,null==r?1:r)}),Ih(Uh,{brighter(e){return e=null==e?qh:Math.pow(qh,e),new vp(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?Hh:Math.pow(Hh,e),new vp(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new cp(_p(e>=240?e-240:e+120,i,r),_p(e,i,r),_p(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new vp(bp(this.h),yp(this.s),yp(this.l),fp(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=fp(this.opacity);return`${1===e?"hsl(":"hsla("}${bp(this.h)}, ${100*yp(this.s)}%, ${100*yp(this.l)}%${1===e?")":`, ${e})`}`}}));const wp=Math.PI/180,xp=180/Math.PI;var kp=-.14861,Cp=1.78277,Sp=-.29227,Mp=-.90649,Tp=1.97294,Ap=Tp*Mp,Np=Tp*Cp,Op=Cp*Sp-Mp*kp;function Pp(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof Lp)return new Lp(e.h,e.s,e.l,e.opacity);e instanceof cp||(e=sp(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(Op*r+Ap*t-Np*n)/(Op+Ap-Np),o=r-i,a=(Tp*(n-i)-Sp*o)/Mp,s=Math.sqrt(a*a+o*o)/(Tp*i*(1-i)),l=s?Math.atan2(a,o)*xp-120:NaN;return new Lp(l<0?l+360:l,s,i,e.opacity)}(e):new Lp(e,t,n,null==r?1:r)}function Lp(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}Dh(Lp,Pp,Ih(Uh,{brighter(e){return e=null==e?qh:Math.pow(qh,e),new Lp(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?Hh:Math.pow(Hh,e),new Lp(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=isNaN(this.h)?0:(this.h+120)*wp,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new cp(255*(t+n*(kp*r+Cp*i)),255*(t+n*(Sp*r+Mp*i)),255*(t+n*(Tp*r)),this.opacity)}}));var Ep=e=>()=>e;function jp(e,t){return function(n){return e+n*t}}function zp(e,t){var n=t-e;return n?jp(e,n):Ep(isNaN(e)?t:e)}var Fp,Bp=function e(t){var n=function(e){return 1==(e=+e)?zp:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):Ep(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=lp(e)).r,(t=lp(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),a=zp(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=o(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1),Rp=(Fp=function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),i=e[r],o=e[r+1],a=r>0?e[r-1]:2*i-o,s=r<t-1?e[r+2]:2*o-i;return function(e,t,n,r,i){var o=e*e,a=o*e;return((1-3*e+3*o-a)*t+(4-6*o+3*a)*n+(1+3*e+3*o-3*a)*r+a*i)/6}((n-r/t)*t,a,i,o,s)}},function(e){var t,n,r=e.length,i=new Array(r),o=new Array(r),a=new Array(r);for(t=0;t<r;++t)n=lp(e[t]),i[t]=n.r||0,o[t]=n.g||0,a[t]=n.b||0;return i=Fp(i),o=Fp(o),a=Fp(a),n.opacity=1,function(e){return n.r=i(e),n.g=o(e),n.b=a(e),n+""}});function $p(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,i=t.slice();return function(o){for(n=0;n<r;++n)i[n]=e[n]*(1-o)+t[n]*o;return i}}function Dp(e,t){var n,r=t?t.length:0,i=e?Math.min(r,e.length):0,o=new Array(i),a=new Array(r);for(n=0;n<i;++n)o[n]=Yp(e[n],t[n]);for(;n<r;++n)a[n]=t[n];return function(e){for(n=0;n<i;++n)a[n]=o[n](e);return a}}function Ip(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function Up(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function Hp(e,t){var n,r={},i={};for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?r[n]=Yp(e[n],t[n]):i[n]=t[n];return function(e){for(n in r)i[n]=r[n](e);return i}}var qp=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Vp=new RegExp(qp.source,"g");function Wp(e,t){var n,r,i,o=qp.lastIndex=Vp.lastIndex=0,a=-1,s=[],l=[];for(e+="",t+="";(n=qp.exec(e))&&(r=Vp.exec(t));)(i=r.index)>o&&(i=t.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,l.push({i:a,x:Up(n,r)})),o=Vp.lastIndex;return o<t.length&&(i=t.slice(o),s[a]?s[a]+=i:s[++a]=i),s.length<2?l[0]?function(e){return function(t){return e(t)+""}}(l[0].x):function(e){return function(){return e}}(t):(t=l.length,function(e){for(var n,r=0;r<t;++r)s[(n=l[r]).i]=n.x(e);return s.join("")})}function Yp(e,t){var n,r=typeof t;return null==t||"boolean"===r?Ep(t):("number"===r?Up:"string"===r?(n=ip(t))?(t=n,Bp):Wp:t instanceof ip?Bp:t instanceof Date?Ip:function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}(t)?$p:Array.isArray(t)?Dp:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?Hp:Up)(e,t)}function Gp(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function Zp(e){return function t(n){function r(t,r){var i=e((t=Pp(t)).h,(r=Pp(r)).h),o=zp(t.s,r.s),a=zp(t.l,r.l),s=zp(t.opacity,r.opacity);return function(e){return t.h=i(e),t.s=o(e),t.l=a(Math.pow(e,n)),t.opacity=s(e),t+""}}return n=+n,r.gamma=t,r}(1)}Zp((function(e,t){var n=t-e;return n?jp(e,n>180||n<-180?n-360*Math.round(n/360):n):Ep(isNaN(e)?t:e)}));var Kp,Qp,Xp,Jp,eg=Zp(zp),tg=xi(function(){if(Qp)return Kp;Qp=1;var e=Mu(),t=Md(),n=Cd();return Kp=function(r){return"string"==typeof r||!t(r)&&n(r)&&"[object String]"==e(r)}}()),ng=xi((Jp||(Jp=1,Xp=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}),Xp));function rg(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function ig(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function og(e){let t,n,r;function i(e,r,i=0,o=e.length){if(i<o){if(0!==t(r,r))return o;do{const t=i+o>>>1;n(e[t],r)<0?i=t+1:o=t}while(i<o)}return i}return 2!==e.length?(t=rg,n=(t,n)=>rg(e(t),n),r=(t,n)=>e(t)-n):(t=e===rg||e===ig?e:ag,n=e,r=e),{left:i,center:function(e,t,n=0,o=e.length){const a=i(e,t,n,o-1);return a>n&&r(e[a-1],t)>-r(e[a],t)?a-1:a},right:function(e,r,i=0,o=e.length){if(i<o){if(0!==t(r,r))return o;do{const t=i+o>>>1;n(e[t],r)<=0?i=t+1:o=t}while(i<o)}return i}}}function ag(){return 0}Md();const sg=og(rg).right;og((function(e){return null===e?NaN:+e})).center;class lg extends Map{constructor(e,t=ug){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const[t,n]of e)this.set(t,n)}get(e){return super.get(cg(this,e))}has(e){return super.has(cg(this,e))}set(e,t){return super.set(function({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}(this,e),t)}delete(e){return super.delete(function({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}(this,e))}}function cg({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function ug(e){return null!==e&&"object"==typeof e?e.valueOf():e}const dg=Math.sqrt(50),fg=Math.sqrt(10),hg=Math.sqrt(2);function pg(e,t,n){const r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),a=o>=dg?10:o>=fg?5:o>=hg?2:1;let s,l,c;return i<0?(c=Math.pow(10,-i)/a,s=Math.round(e*c),l=Math.round(t*c),s/c<e&&++s,l/c>t&&--l,c=-c):(c=Math.pow(10,i)*a,s=Math.round(e/c),l=Math.round(t/c),s*c<e&&++s,l*c>t&&--l),l<s&&.5<=n&&n<2?pg(e,t,2*n):[s,l,c]}function gg(e,t,n){if(!((n=+n)>0))return[];if((e=+e)==(t=+t))return[e];const r=t<e,[i,o,a]=r?pg(t,e,n):pg(e,t,n);if(!(o>=i))return[];const s=o-i+1,l=new Array(s);if(r)if(a<0)for(let e=0;e<s;++e)l[e]=(o-e)/-a;else for(let e=0;e<s;++e)l[e]=(o-e)*a;else if(a<0)for(let e=0;e<s;++e)l[e]=(i+e)/-a;else for(let e=0;e<s;++e)l[e]=(i+e)*a;return l}function mg(e,t,n){return pg(e=+e,t=+t,n=+n)[2]}function vg(e,t,n){n=+n;const r=(t=+t)<(e=+e),i=r?mg(t,e,n):mg(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function bg(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}const yg=Symbol("implicit");function _g(){var e=new lg,t=[],n=[],r=yg;function i(i){let o=e.get(i);if(void 0===o){if(r!==yg)return r;e.set(i,o=t.push(i)-1)}return n[o%n.length]}return i.domain=function(n){if(!arguments.length)return t.slice();t=[],e=new lg;for(const r of n)e.has(r)||e.set(r,t.push(r)-1);return i},i.range=function(e){return arguments.length?(n=Array.from(e),i):n.slice()},i.unknown=function(e){return arguments.length?(r=e,i):r},i.copy=function(){return _g(t,n).unknown(r)},bg.apply(i,arguments),i}function wg(){var e,t,n=_g().unknown(void 0),r=n.domain,i=n.range,o=0,a=1,s=!1,l=0,c=0,u=.5;function d(){var n=r().length,d=a<o,f=d?a:o,h=d?o:a;e=(h-f)/Math.max(1,n-l+2*c),s&&(e=Math.floor(e)),f+=(h-f-e*(n-l))*u,t=e*(1-l),s&&(f=Math.round(f),t=Math.round(t));var p=function(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((t-e)/n)),o=new Array(i);++r<i;)o[r]=e+r*n;return o}(n).map((function(t){return f+e*t}));return i(d?p.reverse():p)}return delete n.unknown,n.domain=function(e){return arguments.length?(r(e),d()):r()},n.range=function(e){return arguments.length?([o,a]=e,o=+o,a=+a,d()):[o,a]},n.rangeRound=function(e){return[o,a]=e,o=+o,a=+a,s=!0,d()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(s=!!e,d()):s},n.padding=function(e){return arguments.length?(l=Math.min(1,c=+e),d()):l},n.paddingInner=function(e){return arguments.length?(l=Math.min(1,e),d()):l},n.paddingOuter=function(e){return arguments.length?(c=+e,d()):c},n.align=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),d()):u},n.copy=function(){return wg(r(),[o,a]).round(s).paddingInner(l).paddingOuter(c).align(u)},bg.apply(d(),arguments)}function xg(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return xg(t())},e}function kg(){return xg(wg.apply(null,arguments).paddingInner(1))}function Cg(e){return+e}var Sg=[0,1];function Mg(e){return e}function Tg(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:function(e){return function(){return e}}(isNaN(t)?NaN:.5)}function Ag(e,t,n){var r=e[0],i=e[1],o=t[0],a=t[1];return i<r?(r=Tg(i,r),o=n(a,o)):(r=Tg(r,i),o=n(o,a)),function(e){return o(r(e))}}function Ng(e,t,n){var r=Math.min(e.length,t.length)-1,i=new Array(r),o=new Array(r),a=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++a<r;)i[a]=Tg(e[a],e[a+1]),o[a]=n(t[a],t[a+1]);return function(t){var n=sg(e,t,1,r)-1;return o[n](i[n](t))}}function Og(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Pg(){var e,t,n,r,i,o,a=Sg,s=Sg,l=Yp,c=Mg;function u(){var e=Math.min(a.length,s.length);return c!==Mg&&(c=function(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}(a[0],a[e-1])),r=e>2?Ng:Ag,i=o=null,d}function d(t){return null==t||isNaN(t=+t)?n:(i||(i=r(a.map(e),s,l)))(e(c(t)))}return d.invert=function(n){return c(t((o||(o=r(s,a.map(e),Up)))(n)))},d.domain=function(e){return arguments.length?(a=Array.from(e,Cg),u()):a.slice()},d.range=function(e){return arguments.length?(s=Array.from(e),u()):s.slice()},d.rangeRound=function(e){return s=Array.from(e),l=Gp,u()},d.clamp=function(e){return arguments.length?(c=!!e||Mg,u()):c!==Mg},d.interpolate=function(e){return arguments.length?(l=e,u()):l},d.unknown=function(e){return arguments.length?(n=e,d):n},function(n,r){return e=n,t=r,u()}}function Lg(){return Pg()(Mg,Mg)}function Eg(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function jg(e){return(e=Eg(Math.abs(e)))?e[1]:NaN}var zg,Fg=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Bg(e){if(!(t=Fg.exec(e)))throw new Error("invalid format: "+e);var t;return new Rg({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function Rg(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function $g(e,t){var n=Eg(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}Bg.prototype=Rg.prototype,Rg.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var Dg={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>$g(100*e,t),r:$g,s:function(e,t){var n=Eg(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(zg=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Eg(e,Math.max(0,t+o-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Ig(e){return e}var Ug,Hg,qg,Vg=Array.prototype.map,Wg=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Yg(e){var t=e.domain;return e.ticks=function(e){var n=t();return gg(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return function(e,t,n,r){var i,o=vg(e,t,n);switch((r=Bg(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(e),Math.abs(t));return null!=r.precision||isNaN(i=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(jg(t)/3)))-jg(Math.abs(e)))}(o,a))||(r.precision=i),qg(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,jg(t)-jg(e))+1}(o,Math.max(Math.abs(e),Math.abs(t))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=function(e){return Math.max(0,-jg(Math.abs(e)))}(o))||(r.precision=i-2*("%"===r.type))}return Hg(r)}(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,i,o=t(),a=0,s=o.length-1,l=o[a],c=o[s],u=10;for(c<l&&(i=l,l=c,c=i,i=a,a=s,s=i);u-- >0;){if((i=mg(l,c,n))===r)return o[a]=l,o[s]=c,t(o);if(i>0)l=Math.floor(l/i)*i,c=Math.ceil(c/i)*i;else{if(!(i<0))break;l=Math.ceil(l*i)/i,c=Math.floor(c*i)/i}r=i}return e},e}function Gg(){var e=Lg();return e.copy=function(){return Og(e,Gg())},bg.apply(e,arguments),Yg(e)}function Zg(e,t){var n,r=0,i=(e=e.slice()).length-1,o=e[r],a=e[i];return a<o&&(n=r,r=i,i=n,n=o,o=a,a=n),e[r]=t.floor(o),e[i]=t.ceil(a),e}function Kg(e){return Math.log(e)}function Qg(e){return Math.exp(e)}function Xg(e){return-Math.log(-e)}function Jg(e){return-Math.exp(-e)}function em(e){return isFinite(e)?+("1e"+e):e<0?0:e}function tm(e){return(t,n)=>-e(-t,n)}function nm(){const e=function(e){const t=e(Kg,Qg),n=t.domain;let r,i,o=10;function a(){return r=function(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}(o),i=function(e){return 10===e?em:e===Math.E?Math.exp:t=>Math.pow(e,t)}(o),n()[0]<0?(r=tm(r),i=tm(i),e(Xg,Jg)):e(Kg,Qg),t}return t.base=function(e){return arguments.length?(o=+e,a()):o},t.domain=function(e){return arguments.length?(n(e),a()):n()},t.ticks=e=>{const t=n();let a=t[0],s=t[t.length-1];const l=s<a;l&&([a,s]=[s,a]);let c,u,d=r(a),f=r(s);const h=null==e?10:+e;let p=[];if(!(o%1)&&f-d<h){if(d=Math.floor(d),f=Math.ceil(f),a>0){for(;d<=f;++d)for(c=1;c<o;++c)if(u=d<0?c/i(-d):c*i(d),!(u<a)){if(u>s)break;p.push(u)}}else for(;d<=f;++d)for(c=o-1;c>=1;--c)if(u=d>0?c/i(-d):c*i(d),!(u<a)){if(u>s)break;p.push(u)}2*p.length<h&&(p=gg(a,s,h))}else p=gg(d,f,Math.min(f-d,h)).map(i);return l?p.reverse():p},t.tickFormat=(e,n)=>{if(null==e&&(e=10),null==n&&(n=10===o?"s":","),"function"!=typeof n&&(o%1||null!=(n=Bg(n)).precision||(n.trim=!0),n=Hg(n)),e===1/0)return n;const a=Math.max(1,o*e/t.ticks().length);return e=>{let t=e/i(Math.round(r(e)));return t*o<o-.5&&(t*=o),t<=a?n(e):""}},t.nice=()=>n(Zg(n(),{floor:e=>i(Math.floor(r(e))),ceil:e=>i(Math.ceil(r(e)))})),t}(Pg()).domain([1,10]);return e.copy=()=>Og(e,nm()).base(e.base()),bg.apply(e,arguments),e}function rm(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function im(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function om(){var e=function(e){var t=1,n=e(rm(t),im(t));return n.constant=function(n){return arguments.length?e(rm(t=+n),im(t)):t},Yg(n)}(Pg());return e.copy=function(){return Og(e,om()).constant(e.constant())},bg.apply(e,arguments)}Ug=function(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?Ig:(t=Vg.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var i=e.length,o=[],a=0,s=t[0],l=0;i>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),o.push(e.substring(i-=s,i+s)),!((l+=s+1)>r));)s=t[a=(a+1)%t.length];return o.reverse().join(n)}),i=void 0===e.currency?"":e.currency[0]+"",o=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",s=void 0===e.numerals?Ig:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(Vg.call(e.numerals,String)),l=void 0===e.percent?"%":e.percent+"",c=void 0===e.minus?"−":e.minus+"",u=void 0===e.nan?"NaN":e.nan+"";function d(e){var t=(e=Bg(e)).fill,n=e.align,d=e.sign,f=e.symbol,h=e.zero,p=e.width,g=e.comma,m=e.precision,v=e.trim,b=e.type;"n"===b?(g=!0,b="g"):Dg[b]||(void 0===m&&(m=12),v=!0,b="g"),(h||"0"===t&&"="===n)&&(h=!0,t="0",n="=");var y="$"===f?i:"#"===f&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",_="$"===f?o:/[%p]/.test(b)?l:"",w=Dg[b],x=/[defgprs%]/.test(b);function k(e){var i,o,l,f=y,k=_;if("c"===b)k=w(e)+k,e="";else{var C=(e=+e)<0||1/e<0;if(e=isNaN(e)?u:w(Math.abs(e),m),v&&(e=function(e){e:for(var t,n=e.length,r=1,i=-1;r<n;++r)switch(e[r]){case".":i=t=r;break;case"0":0===i&&(i=r),t=r;break;default:if(!+e[r])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),C&&0==+e&&"+"!==d&&(C=!1),f=(C?"("===d?d:c:"-"===d||"("===d?"":d)+f,k=("s"===b?Wg[8+zg/3]:"")+k+(C&&"("===d?")":""),x)for(i=-1,o=e.length;++i<o;)if(48>(l=e.charCodeAt(i))||l>57){k=(46===l?a+e.slice(i+1):e.slice(i))+k,e=e.slice(0,i);break}}g&&!h&&(e=r(e,1/0));var S=f.length+e.length+k.length,M=S<p?new Array(p-S+1).join(t):"";switch(g&&h&&(e=r(M+e,M.length?p-k.length:1/0),M=""),n){case"<":e=f+e+k+M;break;case"=":e=f+M+e+k;break;case"^":e=M.slice(0,S=M.length>>1)+f+e+k+M.slice(S);break;default:e=M+f+e+k}return s(e)}return m=void 0===m?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),k.toString=function(){return e+""},k}return{format:d,formatPrefix:function(e,t){var n=d(((e=Bg(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(jg(t)/3))),i=Math.pow(10,-r),o=Wg[8+r/3];return function(e){return n(i*e)+o}}}}({thousands:",",grouping:[3],currency:["$",""]}),Hg=Ug.format,qg=Ug.formatPrefix;const am=new Date,sm=new Date;function lm(e,t,n,r){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=t=>(e(t=new Date(+t)),t),i.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),i.round=e=>{const t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=(e,n)=>(t(e=new Date(+e),null==n?1:Math.floor(n)),e),i.range=(n,r,o)=>{const a=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return a;let s;do{a.push(s=new Date(+n)),t(n,o),e(n)}while(s<n&&n<r);return a},i.filter=n=>lm((t=>{if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),((e,r)=>{if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););})),n&&(i.count=(t,r)=>(am.setTime(+t),sm.setTime(+r),e(am),e(sm),Math.floor(n(am,sm))),i.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(r?t=>r(t)%e==0:t=>i.count(0,t)%e==0):i:null)),i}const cm=lm((()=>{}),((e,t)=>{e.setTime(+e+t)}),((e,t)=>t-e));cm.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?lm((t=>{t.setTime(Math.floor(t/e)*e)}),((t,n)=>{t.setTime(+t+n*e)}),((t,n)=>(n-t)/e)):cm:null),cm.range;const um=1e3,dm=6e4,fm=36e5,hm=864e5,pm=6048e5,gm=31536e6,mm=lm((e=>{e.setTime(e-e.getMilliseconds())}),((e,t)=>{e.setTime(+e+t*um)}),((e,t)=>(t-e)/um),(e=>e.getUTCSeconds()));mm.range;const vm=lm((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*um)}),((e,t)=>{e.setTime(+e+t*dm)}),((e,t)=>(t-e)/dm),(e=>e.getMinutes()));vm.range;const bm=lm((e=>{e.setUTCSeconds(0,0)}),((e,t)=>{e.setTime(+e+t*dm)}),((e,t)=>(t-e)/dm),(e=>e.getUTCMinutes()));bm.range;const ym=lm((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*um-e.getMinutes()*dm)}),((e,t)=>{e.setTime(+e+t*fm)}),((e,t)=>(t-e)/fm),(e=>e.getHours()));ym.range;const _m=lm((e=>{e.setUTCMinutes(0,0,0)}),((e,t)=>{e.setTime(+e+t*fm)}),((e,t)=>(t-e)/fm),(e=>e.getUTCHours()));_m.range;const wm=lm((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*dm)/hm),(e=>e.getDate()-1));wm.range;const xm=lm((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/hm),(e=>e.getUTCDate()-1));xm.range;const km=lm((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/hm),(e=>Math.floor(e/hm)));function Cm(e){return lm((t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),((e,t)=>{e.setDate(e.getDate()+7*t)}),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*dm)/pm))}km.range;const Sm=Cm(0),Mm=Cm(1),Tm=Cm(2),Am=Cm(3),Nm=Cm(4),Om=Cm(5),Pm=Cm(6);function Lm(e){return lm((t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+7*t)}),((e,t)=>(t-e)/pm))}Sm.range,Mm.range,Tm.range,Am.range,Nm.range,Om.range,Pm.range;const Em=Lm(0),jm=Lm(1),zm=Lm(2),Fm=Lm(3),Bm=Lm(4),Rm=Lm(5),$m=Lm(6);Em.range,jm.range,zm.range,Fm.range,Bm.range,Rm.range,$m.range;const Dm=lm((e=>{e.setDate(1),e.setHours(0,0,0,0)}),((e,t)=>{e.setMonth(e.getMonth()+t)}),((e,t)=>t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())),(e=>e.getMonth()));Dm.range;const Im=lm((e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)}),((e,t)=>t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())),(e=>e.getUTCMonth()));Im.range;const Um=lm((e=>{e.setMonth(0,1),e.setHours(0,0,0,0)}),((e,t)=>{e.setFullYear(e.getFullYear()+t)}),((e,t)=>t.getFullYear()-e.getFullYear()),(e=>e.getFullYear()));Um.every=e=>isFinite(e=Math.floor(e))&&e>0?lm((t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),((t,n)=>{t.setFullYear(t.getFullYear()+n*e)})):null,Um.range;const Hm=lm((e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)}),((e,t)=>t.getUTCFullYear()-e.getUTCFullYear()),(e=>e.getUTCFullYear()));function qm(e,t,n,r,i,o){const a=[[mm,1,um],[mm,5,5e3],[mm,15,15e3],[mm,30,3e4],[o,1,dm],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,fm],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,hm],[r,2,1728e5],[n,1,pm],[t,1,2592e6],[t,3,7776e6],[e,1,gm]];function s(t,n,r){const i=Math.abs(n-t)/r,o=og((([,,e])=>e)).right(a,i);if(o===a.length)return e.every(vg(t/gm,n/gm,r));if(0===o)return cm.every(Math.max(vg(t,n,r),1));const[s,l]=a[i/a[o-1][2]<a[o][2]/i?o-1:o];return s.every(l)}return[function(e,t,n){const r=t<e;r&&([e,t]=[t,e]);const i=n&&"function"==typeof n.range?n:s(e,t,n),o=i?i.range(e,+t+1):[];return r?o.reverse():o},s]}Hm.every=e=>isFinite(e=Math.floor(e))&&e>0?lm((t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null,Hm.range;const[Vm,Wm]=qm(Hm,Im,Em,km,_m,bm),[Ym,Gm]=qm(Um,Dm,Sm,wm,ym,vm);function Zm(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function Km(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function Qm(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var Xm,Jm,ev,tv={"-":"",_:" ",0:"0"},nv=/^\s*\d+/,rv=/^%/,iv=/[\\^$*+?|[\]().{}]/g;function ov(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",o=i.length;return r+(o<n?new Array(n-o+1).join(t)+i:i)}function av(e){return e.replace(iv,"\\$&")}function sv(e){return new RegExp("^(?:"+e.map(av).join("|")+")","i")}function lv(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function cv(e,t,n){var r=nv.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function uv(e,t,n){var r=nv.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function dv(e,t,n){var r=nv.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function fv(e,t,n){var r=nv.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function hv(e,t,n){var r=nv.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function pv(e,t,n){var r=nv.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function gv(e,t,n){var r=nv.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function mv(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function vv(e,t,n){var r=nv.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function bv(e,t,n){var r=nv.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function yv(e,t,n){var r=nv.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function _v(e,t,n){var r=nv.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function wv(e,t,n){var r=nv.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function xv(e,t,n){var r=nv.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function kv(e,t,n){var r=nv.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Cv(e,t,n){var r=nv.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Sv(e,t,n){var r=nv.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Mv(e,t,n){var r=rv.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Tv(e,t,n){var r=nv.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Av(e,t,n){var r=nv.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Nv(e,t){return ov(e.getDate(),t,2)}function Ov(e,t){return ov(e.getHours(),t,2)}function Pv(e,t){return ov(e.getHours()%12||12,t,2)}function Lv(e,t){return ov(1+wm.count(Um(e),e),t,3)}function Ev(e,t){return ov(e.getMilliseconds(),t,3)}function jv(e,t){return Ev(e,t)+"000"}function zv(e,t){return ov(e.getMonth()+1,t,2)}function Fv(e,t){return ov(e.getMinutes(),t,2)}function Bv(e,t){return ov(e.getSeconds(),t,2)}function Rv(e){var t=e.getDay();return 0===t?7:t}function $v(e,t){return ov(Sm.count(Um(e)-1,e),t,2)}function Dv(e){var t=e.getDay();return t>=4||0===t?Nm(e):Nm.ceil(e)}function Iv(e,t){return e=Dv(e),ov(Nm.count(Um(e),e)+(4===Um(e).getDay()),t,2)}function Uv(e){return e.getDay()}function Hv(e,t){return ov(Mm.count(Um(e)-1,e),t,2)}function qv(e,t){return ov(e.getFullYear()%100,t,2)}function Vv(e,t){return ov((e=Dv(e)).getFullYear()%100,t,2)}function Wv(e,t){return ov(e.getFullYear()%1e4,t,4)}function Yv(e,t){var n=e.getDay();return ov((e=n>=4||0===n?Nm(e):Nm.ceil(e)).getFullYear()%1e4,t,4)}function Gv(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+ov(t/60|0,"0",2)+ov(t%60,"0",2)}function Zv(e,t){return ov(e.getUTCDate(),t,2)}function Kv(e,t){return ov(e.getUTCHours(),t,2)}function Qv(e,t){return ov(e.getUTCHours()%12||12,t,2)}function Xv(e,t){return ov(1+xm.count(Hm(e),e),t,3)}function Jv(e,t){return ov(e.getUTCMilliseconds(),t,3)}function eb(e,t){return Jv(e,t)+"000"}function tb(e,t){return ov(e.getUTCMonth()+1,t,2)}function nb(e,t){return ov(e.getUTCMinutes(),t,2)}function rb(e,t){return ov(e.getUTCSeconds(),t,2)}function ib(e){var t=e.getUTCDay();return 0===t?7:t}function ob(e,t){return ov(Em.count(Hm(e)-1,e),t,2)}function ab(e){var t=e.getUTCDay();return t>=4||0===t?Bm(e):Bm.ceil(e)}function sb(e,t){return e=ab(e),ov(Bm.count(Hm(e),e)+(4===Hm(e).getUTCDay()),t,2)}function lb(e){return e.getUTCDay()}function cb(e,t){return ov(jm.count(Hm(e)-1,e),t,2)}function ub(e,t){return ov(e.getUTCFullYear()%100,t,2)}function db(e,t){return ov((e=ab(e)).getUTCFullYear()%100,t,2)}function fb(e,t){return ov(e.getUTCFullYear()%1e4,t,4)}function hb(e,t){var n=e.getUTCDay();return ov((e=n>=4||0===n?Bm(e):Bm.ceil(e)).getUTCFullYear()%1e4,t,4)}function pb(){return"+0000"}function gb(){return"%"}function mb(e){return+e}function vb(e){return Math.floor(+e/1e3)}function bb(e){return new Date(e)}function yb(e){return e instanceof Date?+e:+new Date(+e)}function _b(e,t,n,r,i,o,a,s,l,c){var u=Lg(),d=u.invert,f=u.domain,h=c(".%L"),p=c(":%S"),g=c("%I:%M"),m=c("%I %p"),v=c("%a %d"),b=c("%b %d"),y=c("%B"),_=c("%Y");function w(e){return(l(e)<e?h:s(e)<e?p:a(e)<e?g:o(e)<e?m:r(e)<e?i(e)<e?v:b:n(e)<e?y:_)(e)}return u.invert=function(e){return new Date(d(e))},u.domain=function(e){return arguments.length?f(Array.from(e,yb)):f().map(bb)},u.ticks=function(t){var n=f();return e(n[0],n[n.length-1],null==t?10:t)},u.tickFormat=function(e,t){return null==t?w:c(t)},u.nice=function(e){var n=f();return e&&"function"==typeof e.range||(e=t(n[0],n[n.length-1],null==e?10:e)),e?f(Zg(n,e)):u},u.copy=function(){return Og(u,_b(e,t,n,r,i,o,a,s,l,c))},u}function wb(e){for(var t=e.length/6|0,n=new Array(t),r=0;r<t;)n[r]="#"+e.slice(6*r,6*++r);return n}Xm=function(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,o=e.days,a=e.shortDays,s=e.months,l=e.shortMonths,c=sv(i),u=lv(i),d=sv(o),f=lv(o),h=sv(a),p=lv(a),g=sv(s),m=lv(s),v=sv(l),b=lv(l),y={a:function(e){return a[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:Nv,e:Nv,f:jv,g:Vv,G:Yv,H:Ov,I:Pv,j:Lv,L:Ev,m:zv,M:Fv,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:mb,s:vb,S:Bv,u:Rv,U:$v,V:Iv,w:Uv,W:Hv,x:null,X:null,y:qv,Y:Wv,Z:Gv,"%":gb},_={a:function(e){return a[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:Zv,e:Zv,f:eb,g:db,G:hb,H:Kv,I:Qv,j:Xv,L:Jv,m:tb,M:nb,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:mb,s:vb,S:rb,u:ib,U:ob,V:sb,w:lb,W:cb,x:null,X:null,y:ub,Y:fb,Z:pb,"%":gb},w={a:function(e,t,n){var r=h.exec(t.slice(n));return r?(e.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=f.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=v.exec(t.slice(n));return r?(e.m=b.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=m.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return C(e,t,n,r)},d:yv,e:yv,f:Sv,g:gv,G:pv,H:wv,I:wv,j:_v,L:Cv,m:bv,M:xv,p:function(e,t,n){var r=c.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:vv,Q:Tv,s:Av,S:kv,u:uv,U:dv,V:fv,w:cv,W:hv,x:function(e,t,r){return C(e,n,t,r)},X:function(e,t,n){return C(e,r,t,n)},y:gv,Y:pv,Z:mv,"%":Mv};function x(e,t){return function(n){var r,i,o,a=[],s=-1,l=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++s<c;)37===e.charCodeAt(s)&&(a.push(e.slice(l,s)),null!=(i=tv[r=e.charAt(++s)])?r=e.charAt(++s):i="e"===r?" ":"0",(o=t[r])&&(r=o(n,i)),a.push(r),l=s+1);return a.push(e.slice(l,s)),a.join("")}}function k(e,t){return function(n){var r,i,o=Qm(1900,void 0,1);if(C(o,e,n+="",0)!=n.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(t&&!("Z"in o)&&(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=Km(Qm(o.y,0,1))).getUTCDay(),r=i>4||0===i?jm.ceil(r):jm(r),r=xm.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=Zm(Qm(o.y,0,1))).getDay(),r=i>4||0===i?Mm.ceil(r):Mm(r),r=wm.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?Km(Qm(o.y,0,1)).getUTCDay():Zm(Qm(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,Km(o)):Zm(o)}}function C(e,t,n,r){for(var i,o,a=0,s=t.length,l=n.length;a<s;){if(r>=l)return-1;if(37===(i=t.charCodeAt(a++))){if(i=t.charAt(a++),!(o=w[i in tv?t.charAt(a++):i])||(r=o(e,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return y.x=x(n,y),y.X=x(r,y),y.c=x(t,y),_.x=x(n,_),_.X=x(r,_),_.c=x(t,_),{format:function(e){var t=x(e+="",y);return t.toString=function(){return e},t},parse:function(e){var t=k(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=x(e+="",_);return t.toString=function(){return e},t},utcParse:function(e){var t=k(e+="",!0);return t.toString=function(){return e},t}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),Jm=Xm.format,Xm.parse,ev=Xm.utcFormat,Xm.utcParse;var xb=wb("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),kb=wb("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),Cb=wb("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),Sb=wb("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),Mb=wb("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),Tb=wb("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),Ab=wb("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),Nb=wb("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),Ob=wb("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),Pb=wb("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab"),Lb=e=>Rp(e[e.length-1]),Eb=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(wb),jb=Lb(Eb),zb=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(wb),Fb=Lb(zb),Bb=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(wb),Rb=Lb(Bb),$b=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(wb),Db=Lb($b),Ib=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(wb),Ub=Lb(Ib),Hb=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(wb),qb=Lb(Hb),Vb=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(wb),Wb=Lb(Vb),Yb=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(wb),Gb=Lb(Yb),Zb=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(wb),Kb=Lb(Zb),Qb=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(wb),Xb=Lb(Qb),Jb=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(wb),ey=Lb(Jb),ty=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(wb),ny=Lb(ty),ry=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(wb),iy=Lb(ry),oy=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(wb),ay=Lb(oy),sy=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(wb),ly=Lb(sy),cy=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(wb),uy=Lb(cy),dy=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(wb),fy=Lb(dy),hy=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(wb),py=Lb(hy),gy=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(wb),my=Lb(gy),vy=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(wb),by=Lb(vy),yy=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(wb),_y=Lb(yy),wy=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(wb),xy=Lb(wy),ky=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(wb),Cy=Lb(ky),Sy=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(wb),My=Lb(Sy),Ty=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(wb),Ay=Lb(Ty),Ny=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(wb),Oy=Lb(Ny),Py=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(wb),Ly=Lb(Py),Ey=eg(Pp(300,.5,0),Pp(-240,.5,1)),jy=eg(Pp(-100,.75,.35),Pp(80,1.5,.8)),zy=eg(Pp(260,.75,.35),Pp(80,1.5,.8)),Fy=Pp(),By=lp(),Ry=Math.PI/3,$y=2*Math.PI/3;function Dy(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}var Iy,Uy,Hy,qy,Vy,Wy,Yy,Gy,Zy,Ky,Qy,Xy,Jy,e_,t_,n_,r_,i_,o_,a_,s_,l_,c_,u_,d_=Dy(wb("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),f_=Dy(wb("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),h_=Dy(wb("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),p_=Dy(wb("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")),g_=xi(Au());function m_(){if(Wy)return Vy;Wy=1;var e=ju(),t=Uy?Iy:(Uy=1,Iy=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}),n=qy?Hy:(qy=1,Hy=function(e){return this.__data__.has(e)});function r(t){var n=-1,r=null==t?0:t.length;for(this.__data__=new e;++n<r;)this.add(t[n])}return r.prototype.add=r.prototype.push=t,r.prototype.has=n,Vy=r}function v_(){if(n_)return t_;n_=1;var e=function(){if(e_)return Jy;e_=1;var e=(Gy||(Gy=1,Yy=function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}),Yy),t=Ky?Zy:(Ky=1,Zy=function(e){return e!=e}),n=(Xy||(Xy=1,Qy=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}),Qy);return Jy=function(r,i,o){return i==i?n(r,i,o):e(r,t,o)},Jy}();return t_=function(t,n){return!(null==t||!t.length)&&e(t,n,0)>-1},t_}function b_(){return i_||(i_=1,r_=function(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}),r_}function y_(){return a_?o_:(a_=1,o_=function(e,t){return e.has(t)})}var __=function(){if(u_)return c_;u_=1;var e=function(){if(l_)return s_;l_=1;var e=m_(),t=v_(),n=b_(),r=Mh(),i=Ud(),o=y_();return s_=function(a,s,l,c){var u=-1,d=t,f=!0,h=a.length,p=[],g=s.length;if(!h)return p;l&&(s=r(s,i(l))),c?(d=n,f=!1):s.length>=200&&(d=o,f=!1,s=new e(s));e:for(;++u<h;){var m=a[u],v=null==l?m:l(m);if(m=c||0!==m?m:0,f&&v==v){for(var b=g;b--;)if(s[b]===v)continue e;p.push(m)}else d(s,v,c)||p.push(m)}return p},s_}(),t=Kf(),n=Nd(),r=t((function(t,r){return n(t)?e(t,r):[]}));return c_=r}(),w_=xi(__);function x_(e){return function(){return e}}const k_=Math.PI,C_=2*k_,S_=1e-6,M_=C_-S_;function T_(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}let A_=class{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?T_:function(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return T_;const n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,i,o){this._append`C${+e},${+t},${+n},${+r},${this._x1=+i},${this._y1=+o}`}arcTo(e,t,n,r,i){if(e=+e,t=+t,n=+n,r=+r,(i=+i)<0)throw new Error(`negative radius: ${i}`);let o=this._x1,a=this._y1,s=n-e,l=r-t,c=o-e,u=a-t,d=c*c+u*u;if(null===this._x1)this._append`M${this._x1=e},${this._y1=t}`;else if(d>S_)if(Math.abs(u*s-l*c)>S_&&i){let f=n-o,h=r-a,p=s*s+l*l,g=f*f+h*h,m=Math.sqrt(p),v=Math.sqrt(d),b=i*Math.tan((k_-Math.acos((p+d-g)/(2*m*v)))/2),y=b/v,_=b/m;Math.abs(y-1)>S_&&this._append`L${e+y*c},${t+y*u}`,this._append`A${i},${i},0,0,${+(u*f>c*h)},${this._x1=e+_*s},${this._y1=t+_*l}`}else this._append`L${this._x1=e},${this._y1=t}`}arc(e,t,n,r,i,o){if(e=+e,t=+t,o=!!o,(n=+n)<0)throw new Error(`negative radius: ${n}`);let a=n*Math.cos(r),s=n*Math.sin(r),l=e+a,c=t+s,u=1^o,d=o?r-i:i-r;null===this._x1?this._append`M${l},${c}`:(Math.abs(this._x1-l)>S_||Math.abs(this._y1-c)>S_)&&this._append`L${l},${c}`,n&&(d<0&&(d=d%C_+C_),d>M_?this._append`A${n},${n},0,1,${u},${e-a},${t-s}A${n},${n},0,1,${u},${this._x1=l},${this._y1=c}`:d>S_&&this._append`A${n},${n},0,${+(d>=k_)},${u},${this._x1=e+n*Math.cos(i)},${this._y1=t+n*Math.sin(i)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}};function N_(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(null==n)t=null;else{const e=Math.floor(n);if(!(e>=0))throw new RangeError(`invalid digits: ${n}`);t=e}return e},()=>new A_(t)}function O_(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function P_(e){this._context=e}function L_(e){return new P_(e)}function E_(e){return e[0]}function j_(e){return e[1]}function z_(e,t){var n=x_(!0),r=null,i=L_,o=null,a=N_(s);function s(s){var l,c,u,d=(s=O_(s)).length,f=!1;for(null==r&&(o=i(u=a())),l=0;l<=d;++l)!(l<d&&n(c=s[l],l,s))===f&&((f=!f)?o.lineStart():o.lineEnd()),f&&o.point(+e(c,l,s),+t(c,l,s));if(u)return o=null,u+""||null}return e="function"==typeof e?e:void 0===e?E_:x_(e),t="function"==typeof t?t:void 0===t?j_:x_(t),s.x=function(t){return arguments.length?(e="function"==typeof t?t:x_(+t),s):e},s.y=function(e){return arguments.length?(t="function"==typeof e?e:x_(+e),s):t},s.defined=function(e){return arguments.length?(n="function"==typeof e?e:x_(!!e),s):n},s.curve=function(e){return arguments.length?(i=e,null!=r&&(o=i(r)),s):i},s.context=function(e){return arguments.length?(null==e?r=o=null:o=i(r=e),s):r},s}function F_(){}function B_(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function R_(e){this._context=e}function $_(e){this._context=e}function D_(e){this._context=e}function I_(e,t){this._basis=new R_(e),this._beta=t}P_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}},R_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:B_(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:B_(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},$_.prototype={areaStart:F_,areaEnd:F_,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:B_(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},D_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:B_(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},I_.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,i=e[0],o=t[0],a=e[n]-i,s=t[n]-o,l=-1;++l<=n;)r=l/n,this._basis.point(this._beta*e[l]+(1-this._beta)*(i+r*a),this._beta*t[l]+(1-this._beta)*(o+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var U_=function e(t){function n(e){return 1===t?new R_(e):new I_(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function H_(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function q_(e,t){this._context=e,this._k=(1-t)/6}q_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:H_(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:H_(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var V_=function e(t){function n(e){return new q_(e,t)}return n.tension=function(t){return e(+t)},n}(0);function W_(e,t){this._context=e,this._k=(1-t)/6}W_.prototype={areaStart:F_,areaEnd:F_,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:H_(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Y_=function e(t){function n(e){return new W_(e,t)}return n.tension=function(t){return e(+t)},n}(0);function G_(e,t){this._context=e,this._k=(1-t)/6}G_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:H_(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Z_=function e(t){function n(e){return new G_(e,t)}return n.tension=function(t){return e(+t)},n}(0);function K_(e,t,n){var r=e._x1,i=e._y1,o=e._x2,a=e._y2;if(e._l01_a>1e-12){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,l=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/l,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/l}if(e._l23_a>1e-12){var c=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,u=3*e._l23_a*(e._l23_a+e._l12_a);o=(o*c+e._x1*e._l23_2a-t*e._l12_2a)/u,a=(a*c+e._y1*e._l23_2a-n*e._l12_2a)/u}e._context.bezierCurveTo(r,i,o,a,e._x2,e._y2)}function Q_(e,t){this._context=e,this._alpha=t}Q_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:K_(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var X_=function e(t){function n(e){return t?new Q_(e,t):new q_(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function J_(e,t){this._context=e,this._alpha=t}J_.prototype={areaStart:F_,areaEnd:F_,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:K_(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var ew=function e(t){function n(e){return t?new J_(e,t):new W_(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function tw(e,t){this._context=e,this._alpha=t}tw.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:K_(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var nw=function e(t){function n(e){return t?new tw(e,t):new G_(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function rw(e){this._context=e}function iw(e){return e<0?-1:1}function ow(e,t,n){var r=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(r||i<0&&-0),a=(n-e._y1)/(i||r<0&&-0),s=(o*i+a*r)/(r+i);return(iw(o)+iw(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function aw(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function sw(e,t,n){var r=e._x0,i=e._y0,o=e._x1,a=e._y1,s=(o-r)/3;e._context.bezierCurveTo(r+s,i+s*t,o-s,a-s*n,o,a)}function lw(e){this._context=e}function cw(e){this._context=new uw(e)}function uw(e){this._context=e}function dw(e){this._context=e}function fw(e){var t,n,r=e.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=e[0]+2*e[1],t=1;t<r-1;++t)i[t]=1,o[t]=4,a[t]=4*e[t]+2*e[t+1];for(i[r-1]=2,o[r-1]=7,a[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=i[t]/o[t-1],o[t]-=n,a[t]-=n*a[t-1];for(i[r-1]=a[r-1]/o[r-1],t=r-2;t>=0;--t)i[t]=(a[t]-i[t+1])/o[t];for(o[r-1]=(e[r]+i[r-1])/2,t=0;t<r-1;++t)o[t]=2*e[t+1]-i[t+1];return[i,o]}function hw(e,t){this._context=e,this._t=t}function pw(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}rw.prototype={areaStart:F_,areaEnd:F_,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}},lw.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:sw(this,this._t0,aw(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,sw(this,aw(this,n=ow(this,e,t)),n);break;default:sw(this,this._t0,n=ow(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(cw.prototype=Object.create(lw.prototype)).point=function(e,t){lw.prototype.point.call(this,t,e)},uw.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,o){this._context.bezierCurveTo(t,e,r,n,o,i)}},dw.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===n)this._context.lineTo(e[1],t[1]);else for(var r=fw(e),i=fw(t),o=0,a=1;a<n;++o,++a)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],e[a],t[a]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}},hw.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var gw,mw=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function vw(e){if(!(t=mw.exec(e)))throw new Error("invalid format: "+e);var t;return new bw({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function bw(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function yw(e,t){var n=pw(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}vw.prototype=bw.prototype,bw.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var _w={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return yw(100*e,t)},r:yw,s:function(e,t){var n=pw(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(gw=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+pw(e,Math.max(0,t+o-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function ww(e){return e}var xw,kw,Cw=Array.prototype.map,Sw=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];xw=function(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?ww:(t=Cw.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var i=e.length,o=[],a=0,s=t[0],l=0;i>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),o.push(e.substring(i-=s,i+s)),!((l+=s+1)>r));)s=t[a=(a+1)%t.length];return o.reverse().join(n)}),i=void 0===e.currency?"":e.currency[0]+"",o=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",s=void 0===e.numerals?ww:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(Cw.call(e.numerals,String)),l=void 0===e.percent?"%":e.percent+"",c=void 0===e.minus?"-":e.minus+"",u=void 0===e.nan?"NaN":e.nan+"";function d(e){var t=(e=vw(e)).fill,n=e.align,d=e.sign,f=e.symbol,h=e.zero,p=e.width,g=e.comma,m=e.precision,v=e.trim,b=e.type;"n"===b?(g=!0,b="g"):_w[b]||(void 0===m&&(m=12),v=!0,b="g"),(h||"0"===t&&"="===n)&&(h=!0,t="0",n="=");var y="$"===f?i:"#"===f&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",_="$"===f?o:/[%p]/.test(b)?l:"",w=_w[b],x=/[defgprs%]/.test(b);function k(e){var i,o,l,f=y,k=_;if("c"===b)k=w(e)+k,e="";else{var C=(e=+e)<0||1/e<0;if(e=isNaN(e)?u:w(Math.abs(e),m),v&&(e=function(e){e:for(var t,n=e.length,r=1,i=-1;r<n;++r)switch(e[r]){case".":i=t=r;break;case"0":0===i&&(i=r),t=r;break;default:if(!+e[r])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),C&&0==+e&&"+"!==d&&(C=!1),f=(C?"("===d?d:c:"-"===d||"("===d?"":d)+f,k=("s"===b?Sw[8+gw/3]:"")+k+(C&&"("===d?")":""),x)for(i=-1,o=e.length;++i<o;)if(48>(l=e.charCodeAt(i))||l>57){k=(46===l?a+e.slice(i+1):e.slice(i))+k,e=e.slice(0,i);break}}g&&!h&&(e=r(e,1/0));var S=f.length+e.length+k.length,M=S<p?new Array(p-S+1).join(t):"";switch(g&&h&&(e=r(M+e,M.length?p-k.length:1/0),M=""),n){case"<":e=f+e+k+M;break;case"=":e=f+M+e+k;break;case"^":e=M.slice(0,S=M.length>>1)+f+e+k+M.slice(S);break;default:e=M+f+e+k}return s(e)}return m=void 0===m?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),k.toString=function(){return e+""},k}return{format:d,formatPrefix:function(e,t){var n=d(((e=vw(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(function(e){return(e=pw(Math.abs(e)))?e[1]:NaN}(t)/3))),i=Math.pow(10,-r),o=Sw[8+r/3];return function(e){return n(i*e)+o}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),kw=xw.format,xw.formatPrefix;var Mw=new Date,Tw=new Date;function Aw(e,t,n,r){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=function(t){return e(t=new Date(+t)),t},i.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},i.round=function(e){var t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},i.range=function(n,r,o){var a,s=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return s;do{s.push(a=new Date(+n)),t(n,o),e(n)}while(a<n&&n<r);return s},i.filter=function(n){return Aw((function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),(function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}))},n&&(i.count=function(t,r){return Mw.setTime(+t),Tw.setTime(+r),e(Mw),e(Tw),Math.floor(n(Mw,Tw))},i.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(r?function(t){return r(t)%e==0}:function(t){return i.count(0,t)%e==0}):i:null}),i}const Nw=864e5,Ow=6048e5;var Pw=Aw((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/Nw),(e=>e.getDate()-1));function Lw(e){return Aw((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/Ow}))}Pw.range;var Ew=Lw(0),jw=Lw(1),zw=Lw(2),Fw=Lw(3),Bw=Lw(4),Rw=Lw(5),$w=Lw(6);Ew.range,jw.range,zw.range,Fw.range,Bw.range,Rw.range,$w.range;var Dw=Aw((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()}));Dw.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Aw((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n*e)})):null},Dw.range;var Iw=Aw((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/Nw}),(function(e){return e.getUTCDate()-1}));function Uw(e){return Aw((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/Ow}))}Iw.range;var Hw=Uw(0),qw=Uw(1),Vw=Uw(2),Ww=Uw(3),Yw=Uw(4),Gw=Uw(5),Zw=Uw(6);Hw.range,qw.range,Vw.range,Ww.range,Yw.range,Gw.range,Zw.range;var Kw=Aw((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()}));function Qw(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function Xw(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function Jw(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}Kw.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Aw((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null},Kw.range;var ex,tx,nx,rx,ix={"-":"",_:" ",0:"0"},ox=/^\s*\d+/,ax=/^%/,sx=/[\\^$*+?|[\]().{}]/g;function lx(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",o=i.length;return r+(o<n?new Array(n-o+1).join(t)+i:i)}function cx(e){return e.replace(sx,"\\$&")}function ux(e){return new RegExp("^(?:"+e.map(cx).join("|")+")","i")}function dx(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function fx(e,t,n){var r=ox.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function hx(e,t,n){var r=ox.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function px(e,t,n){var r=ox.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function gx(e,t,n){var r=ox.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function mx(e,t,n){var r=ox.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function vx(e,t,n){var r=ox.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function bx(e,t,n){var r=ox.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function yx(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function _x(e,t,n){var r=ox.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function wx(e,t,n){var r=ox.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function xx(e,t,n){var r=ox.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function kx(e,t,n){var r=ox.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Cx(e,t,n){var r=ox.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Sx(e,t,n){var r=ox.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Mx(e,t,n){var r=ox.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Tx(e,t,n){var r=ox.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Ax(e,t,n){var r=ox.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Nx(e,t,n){var r=ax.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Ox(e,t,n){var r=ox.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Px(e,t,n){var r=ox.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Lx(e,t){return lx(e.getDate(),t,2)}function Ex(e,t){return lx(e.getHours(),t,2)}function jx(e,t){return lx(e.getHours()%12||12,t,2)}function zx(e,t){return lx(1+Pw.count(Dw(e),e),t,3)}function Fx(e,t){return lx(e.getMilliseconds(),t,3)}function Bx(e,t){return Fx(e,t)+"000"}function Rx(e,t){return lx(e.getMonth()+1,t,2)}function $x(e,t){return lx(e.getMinutes(),t,2)}function Dx(e,t){return lx(e.getSeconds(),t,2)}function Ix(e){var t=e.getDay();return 0===t?7:t}function Ux(e,t){return lx(Ew.count(Dw(e)-1,e),t,2)}function Hx(e){var t=e.getDay();return t>=4||0===t?Bw(e):Bw.ceil(e)}function qx(e,t){return e=Hx(e),lx(Bw.count(Dw(e),e)+(4===Dw(e).getDay()),t,2)}function Vx(e){return e.getDay()}function Wx(e,t){return lx(jw.count(Dw(e)-1,e),t,2)}function Yx(e,t){return lx(e.getFullYear()%100,t,2)}function Gx(e,t){return lx((e=Hx(e)).getFullYear()%100,t,2)}function Zx(e,t){return lx(e.getFullYear()%1e4,t,4)}function Kx(e,t){var n=e.getDay();return lx((e=n>=4||0===n?Bw(e):Bw.ceil(e)).getFullYear()%1e4,t,4)}function Qx(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+lx(t/60|0,"0",2)+lx(t%60,"0",2)}function Xx(e,t){return lx(e.getUTCDate(),t,2)}function Jx(e,t){return lx(e.getUTCHours(),t,2)}function ek(e,t){return lx(e.getUTCHours()%12||12,t,2)}function tk(e,t){return lx(1+Iw.count(Kw(e),e),t,3)}function nk(e,t){return lx(e.getUTCMilliseconds(),t,3)}function rk(e,t){return nk(e,t)+"000"}function ik(e,t){return lx(e.getUTCMonth()+1,t,2)}function ok(e,t){return lx(e.getUTCMinutes(),t,2)}function ak(e,t){return lx(e.getUTCSeconds(),t,2)}function sk(e){var t=e.getUTCDay();return 0===t?7:t}function lk(e,t){return lx(Hw.count(Kw(e)-1,e),t,2)}function ck(e){var t=e.getUTCDay();return t>=4||0===t?Yw(e):Yw.ceil(e)}function uk(e,t){return e=ck(e),lx(Yw.count(Kw(e),e)+(4===Kw(e).getUTCDay()),t,2)}function dk(e){return e.getUTCDay()}function fk(e,t){return lx(qw.count(Kw(e)-1,e),t,2)}function hk(e,t){return lx(e.getUTCFullYear()%100,t,2)}function pk(e,t){return lx((e=ck(e)).getUTCFullYear()%100,t,2)}function gk(e,t){return lx(e.getUTCFullYear()%1e4,t,4)}function mk(e,t){var n=e.getUTCDay();return lx((e=n>=4||0===n?Yw(e):Yw.ceil(e)).getUTCFullYear()%1e4,t,4)}function vk(){return"+0000"}function bk(){return"%"}function yk(e){return+e}function _k(e){return Math.floor(+e/1e3)}ex=function(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,o=e.days,a=e.shortDays,s=e.months,l=e.shortMonths,c=ux(i),u=dx(i),d=ux(o),f=dx(o),h=ux(a),p=dx(a),g=ux(s),m=dx(s),v=ux(l),b=dx(l),y={a:function(e){return a[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:Lx,e:Lx,f:Bx,g:Gx,G:Kx,H:Ex,I:jx,j:zx,L:Fx,m:Rx,M:$x,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:yk,s:_k,S:Dx,u:Ix,U:Ux,V:qx,w:Vx,W:Wx,x:null,X:null,y:Yx,Y:Zx,Z:Qx,"%":bk},_={a:function(e){return a[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:Xx,e:Xx,f:rk,g:pk,G:mk,H:Jx,I:ek,j:tk,L:nk,m:ik,M:ok,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:yk,s:_k,S:ak,u:sk,U:lk,V:uk,w:dk,W:fk,x:null,X:null,y:hk,Y:gk,Z:vk,"%":bk},w={a:function(e,t,n){var r=h.exec(t.slice(n));return r?(e.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=f.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=v.exec(t.slice(n));return r?(e.m=b.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=m.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return C(e,t,n,r)},d:xx,e:xx,f:Ax,g:bx,G:vx,H:Cx,I:Cx,j:kx,L:Tx,m:wx,M:Sx,p:function(e,t,n){var r=c.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:_x,Q:Ox,s:Px,S:Mx,u:hx,U:px,V:gx,w:fx,W:mx,x:function(e,t,r){return C(e,n,t,r)},X:function(e,t,n){return C(e,r,t,n)},y:bx,Y:vx,Z:yx,"%":Nx};function x(e,t){return function(n){var r,i,o,a=[],s=-1,l=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++s<c;)37===e.charCodeAt(s)&&(a.push(e.slice(l,s)),null!=(i=ix[r=e.charAt(++s)])?r=e.charAt(++s):i="e"===r?" ":"0",(o=t[r])&&(r=o(n,i)),a.push(r),l=s+1);return a.push(e.slice(l,s)),a.join("")}}function k(e,t){return function(n){var r,i,o=Jw(1900,void 0,1);if(C(o,e,n+="",0)!=n.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(t&&!("Z"in o)&&(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=Xw(Jw(o.y,0,1))).getUTCDay(),r=i>4||0===i?qw.ceil(r):qw(r),r=Iw.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=Qw(Jw(o.y,0,1))).getDay(),r=i>4||0===i?jw.ceil(r):jw(r),r=Pw.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?Xw(Jw(o.y,0,1)).getUTCDay():Qw(Jw(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,Xw(o)):Qw(o)}}function C(e,t,n,r){for(var i,o,a=0,s=t.length,l=n.length;a<s;){if(r>=l)return-1;if(37===(i=t.charCodeAt(a++))){if(i=t.charAt(a++),!(o=w[i in ix?t.charAt(a++):i])||(r=o(e,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return y.x=x(n,y),y.X=x(r,y),y.c=x(t,y),_.x=x(n,_),_.X=x(r,_),_.c=x(t,_),{format:function(e){var t=x(e+="",y);return t.toString=function(){return e},t},parse:function(e){var t=k(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=x(e+="",_);return t.toString=function(){return e},t},utcParse:function(e){var t=k(e+="",!0);return t.toString=function(){return e},t}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),tx=ex.format,nx=ex.parse,ex.utcFormat,rx=ex.utcParse;var wk,xk,kk,Ck,Sk,Mk,Tk,Ak,Nk,Ok,Pk,Lk,Ek,jk,zk,Fk,Bk,Rk,$k,Dk,Ik,Uk,Hk=xi(Id());function qk(){if(Ak)return Tk;Ak=1;var e=(Ck||(Ck=1,kk=function(e,t){return null!=e&&t in Object(e)}),kk),t=function(){if(Mk)return Sk;Mk=1;var e=Ah(),t=Sd(),n=Md(),r=qf(),i=Td(),o=Nh();return Sk=function(a,s,l){for(var c=-1,u=(s=e(s,a)).length,d=!1;++c<u;){var f=o(s[c]);if(!(d=null!=a&&l(a,f)))break;a=a[f]}return d||++c!=u?d:!!(u=null==a?0:a.length)&&i(u)&&r(f,u)&&(n(a)||t(a))},Sk}();return Tk=function(n,r){return null!=n&&t(n,r,e)},Tk}function Vk(){return Lk||(Lk=1,Pk=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}),Pk}function Wk(){if(Fk)return zk;Fk=1;var e=Vk(),t=function(){if(jk)return Ek;jk=1;var e=Su(),t=Sd(),n=Md(),r=e?e.isConcatSpreadable:void 0;return Ek=function(e){return n(e)||t(e)||!!(r&&e&&e[r])}}();return zk=function n(r,i,o,a,s){var l=-1,c=r.length;for(o||(o=t),s||(s=[]);++l<c;){var u=r[l];i>0&&o(u)?i>1?n(u,i-1,o,a,s):e(s,u):a||(s[s.length]=u)}return s},zk}var Yk,Gk,Zk,Kk,Qk,Xk,Jk,eC,tC,nC,rC,iC,oC,aC,sC,lC,cC,uC,dC,fC,hC,pC,gC,mC,vC,bC,yC,_C,wC,xC,kC,CC,SC,MC,TC,AC,NC,OC,PC,LC,EC,jC,zC,FC,BC=function(){if(Uk)return Ik;Uk=1;var e=function(){if(Ok)return Nk;Ok=1;var e=function(){if(xk)return wk;xk=1;var e=Oh(),t=Bh(),n=Ah();return wk=function(r,i,o){for(var a=-1,s=i.length,l={};++a<s;){var c=i[a],u=e(r,c);o(u,c)&&t(l,n(c,r),u)}return l},wk}(),t=qk();return Nk=function(n,r){return e(n,r,(function(e,r){return t(n,r)}))},Nk}(),t=function(){if(Dk)return $k;Dk=1;var e=function(){if(Rk)return Bk;Rk=1;var e=Wk();return Bk=function(t){return null!=t&&t.length?e(t,1):[]},Bk}(),t=Gf(),n=Zf();return $k=function(r){return n(t(r,void 0,e),r+"")}}()((function(t,n){return null==t?{}:e(t,n)}));return Ik=t}(),RC=xi(BC);function $C(){if(Kk)return Zk;Kk=1;var e=m_(),t=(Gk||(Gk=1,Yk=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}),Yk),n=y_();return Zk=function(r,i,o,a,s,l){var c=1&o,u=r.length,d=i.length;if(u!=d&&!(c&&d>u))return!1;var f=l.get(r),h=l.get(i);if(f&&h)return f==i&&h==r;var p=-1,g=!0,m=2&o?new e:void 0;for(l.set(r,i),l.set(i,r);++p<u;){var v=r[p],b=i[p];if(a)var y=c?a(b,v,p,i,r,l):a(v,b,p,r,i,l);if(void 0!==y){if(y)continue;g=!1;break}if(m){if(!t(i,(function(e,t){if(!n(m,t)&&(v===e||s(v,e,o,a,l)))return m.push(t)}))){g=!1;break}}else if(v!==b&&!s(v,b,o,a,l)){g=!1;break}}return l.delete(r),l.delete(i),g},Zk}function DC(){return eC?Jk:(eC=1,Jk=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n})}function IC(){if(mC)return gC;mC=1;var e=Vf(),t=function(){if(pC)return hC;pC=1;var e=kd(),t=function(){if(fC)return dC;fC=1;var e=wd()(Object.keys,Object);return dC=e}(),n=Object.prototype.hasOwnProperty;return hC=function(r){if(!e(r))return t(r);var i=[];for(var o in Object(r))n.call(r,o)&&"constructor"!=o&&i.push(o);return i},hC}(),n=Ad();return gC=function(r){return n(r)?e(r):t(r)}}function UC(){if(MC)return SC;MC=1;var e=Ou()(Cu(),"Set");return SC=e}function HC(){if(LC)return PC;LC=1;var e=zu(),t=$C(),n=function(){if(nC)return tC;nC=1;var e=Su(),t=_d(),n=_u(),r=$C(),i=(Xk||(Xk=1,Qk=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}),Qk),o=DC(),a=e?e.prototype:void 0,s=a?a.valueOf:void 0;return tC=function(e,a,l,c,u,d,f){switch(l){case"[object DataView]":if(e.byteLength!=a.byteLength||e.byteOffset!=a.byteOffset)return!1;e=e.buffer,a=a.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=a.byteLength||!d(new t(e),new t(a)));case"[object Boolean]":case"[object Date]":case"[object Number]":return n(+e,+a);case"[object Error]":return e.name==a.name&&e.message==a.message;case"[object RegExp]":case"[object String]":return e==a+"";case"[object Map]":var h=i;case"[object Set]":var p=1&c;if(h||(h=o),e.size!=a.size&&!p)return!1;var g=f.get(e);if(g)return g==a;c|=2,f.set(e,a);var m=r(h(e),h(a),c,u,d,f);return f.delete(e),m;case"[object Symbol]":if(s)return s.call(e)==s.call(a)}return!1},tC}(),r=function(){if(_C)return yC;_C=1;var e=function(){if(bC)return vC;bC=1;var e=function(){if(iC)return rC;iC=1;var e=Vk(),t=Md();return rC=function(n,r,i){var o=r(n);return t(n)?o:e(o,i(n))},rC}(),t=function(){if(uC)return cC;uC=1;var e=(aC||(aC=1,oC=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}),oC),t=lC?sC:(lC=1,sC=function(){return[]}),n=Object.prototype.propertyIsEnumerable,r=Object.getOwnPropertySymbols,i=r?function(t){return null==t?[]:(t=Object(t),e(r(t),(function(e){return n.call(t,e)})))}:t;return cC=i}(),n=IC();return vC=function(r){return e(r,n,t)}}(),t=Object.prototype.hasOwnProperty;return yC=function(n,r,i,o,a,s){var l=1&i,c=e(n),u=c.length;if(u!=e(r).length&&!l)return!1;for(var d=u;d--;){var f=c[d];if(!(l?f in r:t.call(r,f)))return!1}var h=s.get(n),p=s.get(r);if(h&&p)return h==r&&p==n;var g=!0;s.set(n,r),s.set(r,n);for(var m=l;++d<u;){var v=n[f=c[d]],b=r[f];if(o)var y=l?o(b,v,f,r,n,s):o(v,b,f,n,r,s);if(!(void 0===y?v===b||a(v,b,i,o,s):y)){g=!1;break}m||(m="constructor"==f)}if(g&&!m){var _=n.constructor,w=r.constructor;_==w||!("constructor"in n)||!("constructor"in r)||"function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w||(g=!1)}return s.delete(n),s.delete(r),g},yC}(),i=function(){if(OC)return NC;OC=1;var e=function(){if(xC)return wC;xC=1;var e=Ou()(Cu(),"DataView");return wC=e}(),t=Pu(),n=function(){if(CC)return kC;CC=1;var e=Ou()(Cu(),"Promise");return kC=e}(),r=UC(),i=function(){if(AC)return TC;AC=1;var e=Ou()(Cu(),"WeakMap");return TC=e}(),o=Mu(),a=Nu(),s="[object Map]",l="[object Promise]",c="[object Set]",u="[object WeakMap]",d="[object DataView]",f=a(e),h=a(t),p=a(n),g=a(r),m=a(i),v=o;return(e&&v(new e(new ArrayBuffer(1)))!=d||t&&v(new t)!=s||n&&v(n.resolve())!=l||r&&v(new r)!=c||i&&v(new i)!=u)&&(v=function(e){var t=o(e),n="[object Object]"==t?e.constructor:void 0,r=n?a(n):"";if(r)switch(r){case f:return d;case h:return s;case p:return l;case g:return c;case m:return u}return t}),NC=v}(),o=Md(),a=Dd(),s=If(),l="[object Arguments]",c="[object Array]",u="[object Object]",d=Object.prototype.hasOwnProperty;return PC=function(f,h,p,g,m,v){var b=o(f),y=o(h),_=b?c:i(f),w=y?c:i(h),x=(_=_==l?u:_)==u,k=(w=w==l?u:w)==u,C=_==w;if(C&&a(f)){if(!a(h))return!1;b=!0,x=!1}if(C&&!x)return v||(v=new e),b||s(f)?t(f,h,p,g,m,v):n(f,h,_,p,g,m,v);if(!(1&p)){var S=x&&d.call(f,"__wrapped__"),M=k&&d.call(h,"__wrapped__");if(S||M){var T=S?f.value():f,A=M?h.value():h;return v||(v=new e),m(T,A,p,g,v)}}return!!C&&(v||(v=new e),r(f,h,p,g,m,v))},PC}function qC(){if(jC)return EC;jC=1;var e=HC(),t=Cd();return EC=function n(r,i,o,a,s){return r===i||(null==r||null==i||!t(r)&&!t(i)?r!=r&&i!=i:e(r,i,o,a,n,s))},EC}var VC=xi(function(){if(FC)return zC;FC=1;var e=qC();return zC=function(t,n){return e(t,n)}}()),WC={background:"transparent",text:{fontFamily:"sans-serif",fontSize:11,fill:"#333333",outlineWidth:0,outlineColor:"transparent",outlineOpacity:1},axis:{domain:{line:{stroke:"transparent",strokeWidth:1}},ticks:{line:{stroke:"#777777",strokeWidth:1},text:{}},legend:{text:{fontSize:12}}},grid:{line:{stroke:"#dddddd",strokeWidth:1}},legends:{hidden:{symbol:{fill:"#333333",opacity:.6},text:{fill:"#333333",opacity:.6}},text:{},ticks:{line:{stroke:"#777777",strokeWidth:1},text:{fontSize:10}},title:{text:{}}},labels:{text:{}},markers:{lineColor:"#000000",lineStrokeWidth:1,text:{}},dots:{text:{}},tooltip:{container:{background:"white",color:"inherit",fontSize:"inherit",borderRadius:"2px",boxShadow:"0 1px 2px rgba(0, 0, 0, 0.25)",padding:"5px 9px"},basic:{whiteSpace:"pre",display:"flex",alignItems:"center"},chip:{marginRight:7},table:{},tableCell:{padding:"3px 5px"},tableCellValue:{fontWeight:"bold"}},crosshair:{line:{stroke:"#000000",strokeWidth:1,strokeOpacity:.75,strokeDasharray:"6 6"}},annotations:{text:{fontSize:13,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},link:{stroke:"#000000",strokeWidth:1,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},outline:{fill:"none",stroke:"#000000",strokeWidth:2,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},symbol:{fill:"#000000",outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1}}};function YC(){return YC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},YC.apply(this,arguments)}function GC(e,t){return GC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},GC(e,t)}function ZC(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var KC=["axis.ticks.text","axis.legend.text","legends.title.text","legends.text","legends.ticks.text","legends.title.text","labels.text","dots.text","markers.text","annotations.text"],QC=G(),XC=function(e){var t=e.children,n=e.animate,r=void 0===n||n,i=e.config,o=void 0===i?"default":i,a=fe((function(){var e=tg(o)?es[o]:o;return{animate:r,config:e}}),[r,o]);return Je(QC.Provider,{value:a,children:t})},JC={animate:Ni.bool,motionConfig:Ni.oneOfType([Ni.oneOf(Object.keys(es)),Ni.shape({mass:Ni.number,tension:Ni.number,friction:Ni.number,clamp:Ni.bool,precision:Ni.number,velocity:Ni.number,duration:Ni.number,easing:Ni.func})])};XC.propTypes={children:Ni.node.isRequired,animate:JC.animate,config:JC.motionConfig};var eS=function(){return pe(QC)},tS=function(e){var t=eS(),n=t.animate,r=t.config,i=function(e){var t=de();return ue((function(){t.current=e}),[e]),t.current}(e),o=fe((function(){return Wp(i,e)}),[i,e]);return((e,...t)=>new Ks(e,t))(Ys({from:{value:0},to:{value:1},reset:!0,config:r,immediate:!n}).value,o)},nS={nivo:["#d76445","#f47560","#e8c1a0","#97e3d5","#61cdbb","#00b0a7"],BrBG:ng(Eb),PRGn:ng(zb),PiYG:ng(Bb),PuOr:ng($b),RdBu:ng(Ib),RdGy:ng(Hb),RdYlBu:ng(Vb),RdYlGn:ng(Yb),spectral:ng(Zb),blues:ng(wy),greens:ng(ky),greys:ng(Sy),oranges:ng(Py),purples:ng(Ty),reds:ng(Ny),BuGn:ng(Qb),BuPu:ng(Jb),GnBu:ng(ty),OrRd:ng(ry),PuBuGn:ng(oy),PuBu:ng(sy),PuRd:ng(cy),RdPu:ng(dy),YlGnBu:ng(hy),YlGn:ng(gy),YlOrBr:ng(vy),YlOrRd:ng(yy)},rS=Object.keys(nS);ng(Eb),ng(zb),ng(Bb),ng($b),ng(Ib),ng(Hb),ng(Vb),ng(Yb),ng(Zb),ng(wy),ng(ky),ng(Sy),ng(Py),ng(Ty),ng(Ny),ng(Qb),ng(Jb),ng(ty),ng(ry),ng(oy),ng(sy),ng(cy),ng(dy),ng(hy),ng(gy),ng(vy),ng(yy),Ni.oneOfType([Ni.oneOf(rS),Ni.func,Ni.arrayOf(Ni.string)]);var iS={basis:function(e){return new R_(e)},basisClosed:function(e){return new $_(e)},basisOpen:function(e){return new D_(e)},bundle:U_,cardinal:V_,cardinalClosed:Y_,cardinalOpen:Z_,catmullRom:X_,catmullRomClosed:ew,catmullRomOpen:nw,linear:L_,linearClosed:function(e){return new rw(e)},monotoneX:function(e){return new lw(e)},monotoneY:function(e){return new cw(e)},natural:function(e){return new dw(e)},step:function(e){return new hw(e,.5)},stepAfter:function(e){return new hw(e,1)},stepBefore:function(e){return new hw(e,0)}},oS=Object.keys(iS);oS.filter((function(e){return e.endsWith("Closed")})),w_(oS,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed"),w_(oS,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed");var aS=function(e){if(!iS[e])throw new TypeError("'"+e+"', is not a valid curve interpolator identifier.");return iS[e]};Ni.shape({top:Ni.number,right:Ni.number,bottom:Ni.number,left:Ni.number}).isRequired,Ni.oneOf(["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]),_g(Ob);var sS={top:0,right:0,bottom:0,left:0},lS=function(e,t,n){return void 0===n&&(n={}),fe((function(){var r=YC({},sS,n);return{margin:r,innerWidth:e-r.left-r.right,innerHeight:t-r.top-r.bottom,outerWidth:e,outerHeight:t}}),[e,t,n.top,n.right,n.bottom,n.left])},cS=function(){var e=de(null),t=ce({left:0,top:0,width:0,height:0}),n=t[0],r=t[1],i=ce((function(){return"undefined"==typeof ResizeObserver?null:new ResizeObserver((function(e){var t=e[0];return r(t.contentRect)}))}))[0];return ue((function(){return e.current&&null!==i&&i.observe(e.current),function(){null!==i&&i.disconnect()}}),[]),[e,n]},uS=function(e){return fe((function(){return function(e){return"function"==typeof e?e:"string"==typeof e?0===e.indexOf("time:")?tx(e.slice("5")):kw(e):function(e){return""+e}}(e)}),[e])},dS=G(),fS={},hS=function(e){var t=e.theme,n=void 0===t?fS:t,r=e.children,i=function(e){return fe((function(){return function(e,t){var n=kh({},e,t);return KC.forEach((function(e){$h(n,e,function(e,t){return YC({},t,e)}(Fh(n,e),n.text))})),n}(WC,e)}),[e])}(n);return Je(dS.Provider,{value:i,children:r})};hS.propTypes={children:Ni.node.isRequired,theme:Ni.object};var pS=function(){return pe(dS)},gS=["outlineWidth","outlineColor","outlineOpacity"],mS=function(e){return e.outlineWidth,e.outlineColor,e.outlineOpacity,ZC(e,gS)},vS=function(e){var t=e.children,n=e.condition,r=e.wrapper;return n?Qe(r,{},t):t};vS.propTypes={children:Ni.node.isRequired,condition:Ni.bool.isRequired,wrapper:Ni.element.isRequired};var bS={position:"relative"},yS=function(e){var t=e.children,n=e.theme,r=e.renderWrapper,i=void 0===r||r,o=e.isInteractive,a=void 0===o||o,s=e.animate,l=e.motionConfig,c=de(null);return Je(hS,{theme:n,children:Je(XC,{animate:s,config:l,children:Je(yu,{container:c,children:Je(vS,{condition:i,wrapper:Je("div",{style:bS,ref:c}),children:[t,a&&Je(bu,{})]})})})})};yS.propTypes={children:Ni.element.isRequired,isInteractive:Ni.bool,renderWrapper:Ni.bool,theme:Ni.object,animate:Ni.bool,motionConfig:Ni.oneOfType([Ni.string,JC.motionConfig])},Ni.func.isRequired,Ni.bool,Ni.bool,Ni.object.isRequired,Ni.bool.isRequired,Ni.oneOfType([Ni.string,JC.motionConfig]);var _S=function(e){var t=e.children,n=cS(),r=n[0],i=n[1];return Je("div",{ref:r,style:{width:"100%",height:"100%"},children:i.width>0&&i.height>0&&t({width:i.width,height:i.height})})};_S.propTypes={children:Ni.func.isRequired};var wS=["id","colors"],xS=function(e){var t=e.id,n=e.colors;return Je("linearGradient",YC({id:t,x1:0,x2:0,y1:0,y2:1},ZC(e,wS),{children:n.map((function(e){var t=e.offset,n=e.color,r=e.opacity;return Je("stop",{offset:t+"%",stopColor:n,stopOpacity:void 0!==r?r:1},t)}))}))};xS.propTypes={id:Ni.string.isRequired,colors:Ni.arrayOf(Ni.shape({offset:Ni.number.isRequired,color:Ni.string.isRequired,opacity:Ni.number})).isRequired,gradientTransform:Ni.string};var kS={linearGradient:xS},CS=Se((function(e){var t=e.id,n=e.background,r=void 0===n?"#ffffff":n,i=e.color,o=void 0===i?"#000000":i,a=e.size,s=void 0===a?4:a,l=e.padding,c=void 0===l?4:l,u=e.stagger,d=void 0!==u&&u,f=s+c,h=s/2,p=c/2;return!0===d&&(f=2*s+2*c),Je("pattern",{id:t,width:f,height:f,patternUnits:"userSpaceOnUse",children:[Je("rect",{width:f,height:f,fill:r}),Je("circle",{cx:p+h,cy:p+h,r:h,fill:o}),d&&Je("circle",{cx:1.5*c+s+h,cy:1.5*c+s+h,r:h,fill:o})]})}));CS.displayName="PatternDots",CS.propTypes={id:Ni.string.isRequired,color:Ni.string.isRequired,background:Ni.string.isRequired,size:Ni.number.isRequired,padding:Ni.number.isRequired,stagger:Ni.bool.isRequired};var SS=function(e){return e*Math.PI/180},MS={svg:{align:{left:"start",center:"middle",right:"end",start:"start",middle:"middle",end:"end"},baseline:{top:"text-before-edge",center:"central",bottom:"alphabetic"}},canvas:{align:{left:"left",center:"center",right:"right",start:"left",middle:"center",end:"right"},baseline:{top:"top",center:"middle",bottom:"bottom"}}},TS=Se((function(e){var t=e.id,n=e.spacing,r=void 0===n?5:n,i=e.rotation,o=void 0===i?0:i,a=e.background,s=void 0===a?"#000000":a,l=e.color,c=void 0===l?"#ffffff":l,u=e.lineWidth,d=void 0===u?2:u,f=Math.round(o)%360,h=Math.abs(r);f>180?f-=360:f>90?f-=180:f<-180?f+=360:f<-90&&(f+=180);var p,g=h,m=h;return 0===f?p="\n M 0 0 L "+g+" 0\n M 0 "+m+" L "+g+" "+m+"\n ":90===f?p="\n M 0 0 L 0 "+m+"\n M "+g+" 0 L "+g+" "+m+"\n ":(g=Math.abs(h/Math.sin(SS(f))),m=h/Math.sin(SS(90-f)),p=f>0?"\n M 0 "+-m+" L "+2*g+" "+m+"\n M "+-g+" "+-m+" L "+g+" "+m+"\n M "+-g+" 0 L "+g+" "+2*m+"\n ":"\n M "+-g+" "+m+" L "+g+" "+-m+"\n M "+-g+" "+2*m+" L "+2*g+" "+-m+"\n M 0 "+2*m+" L "+2*g+" 0\n "),Je("pattern",{id:t,width:g,height:m,patternUnits:"userSpaceOnUse",children:[Je("rect",{width:g,height:m,fill:s,stroke:"rgba(255, 0, 0, 0.1)",strokeWidth:0}),Je("path",{d:p,strokeWidth:d,stroke:c,strokeLinecap:"square"})]})}));TS.displayName="PatternLines",TS.propTypes={id:Ni.string.isRequired,spacing:Ni.number.isRequired,rotation:Ni.number.isRequired,background:Ni.string.isRequired,color:Ni.string.isRequired,lineWidth:Ni.number.isRequired};var AS=Se((function(e){var t=e.id,n=e.color,r=void 0===n?"#000000":n,i=e.background,o=void 0===i?"#ffffff":i,a=e.size,s=void 0===a?4:a,l=e.padding,c=void 0===l?4:l,u=e.stagger,d=void 0!==u&&u,f=s+c,h=c/2;return!0===d&&(f=2*s+2*c),Je("pattern",{id:t,width:f,height:f,patternUnits:"userSpaceOnUse",children:[Je("rect",{width:f,height:f,fill:o}),Je("rect",{x:h,y:h,width:s,height:s,fill:r}),d&&Je("rect",{x:1.5*c+s,y:1.5*c+s,width:s,height:s,fill:r})]})}));AS.displayName="PatternSquares",AS.propTypes={id:Ni.string.isRequired,color:Ni.string.isRequired,background:Ni.string.isRequired,size:Ni.number.isRequired,padding:Ni.number.isRequired,stagger:Ni.bool.isRequired};var NS={patternDots:CS,patternLines:TS,patternSquares:AS},OS=["type"],PS=YC({},kS,NS),LS=function(e){var t=e.defs;return!t||t.length<1?null:Je("defs",{"aria-hidden":!0,children:t.map((function(e){var t=e.type,n=ZC(e,OS);return PS[t]?S(PS[t],YC({key:n.id},n)):null}))})};LS.propTypes={defs:Ni.arrayOf(Ni.shape({type:Ni.oneOf(Object.keys(PS)).isRequired,id:Ni.string.isRequired}))};var ES=Se(LS),jS=function(e){var t=e.width,n=e.height,r=e.margin,i=e.defs,o=e.children,a=e.role,s=e.ariaLabel,l=e.ariaLabelledBy,c=e.ariaDescribedBy,u=e.isFocusable,d=pS();return Je("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:n,role:a,"aria-label":s,"aria-labelledby":l,"aria-describedby":c,focusable:u,tabIndex:u?0:void 0,children:[Je(ES,{defs:i}),Je("rect",{width:t,height:n,fill:d.background}),Je("g",{transform:"translate("+r.left+","+r.top+")",children:o})]})};jS.propTypes={width:Ni.number.isRequired,height:Ni.number.isRequired,margin:Ni.shape({top:Ni.number.isRequired,left:Ni.number.isRequired}).isRequired,defs:Ni.array,children:Ni.oneOfType([Ni.arrayOf(Ni.node),Ni.node]).isRequired,role:Ni.string,isFocusable:Ni.bool,ariaLabel:Ni.string,ariaLabelledBy:Ni.string,ariaDescribedBy:Ni.string};var zS=function(e){var t=e.size,n=e.color,r=e.borderWidth;return Je("circle",{r:t/2,fill:n,stroke:e.borderColor,strokeWidth:r,style:{pointerEvents:"none"}})};zS.propTypes={size:Ni.number.isRequired,color:Ni.string.isRequired,borderWidth:Ni.number.isRequired,borderColor:Ni.string.isRequired};var FS=Se(zS),BS=function(e){var t=e.x,n=e.y,r=e.symbol,i=void 0===r?FS:r,o=e.size,a=e.datum,s=e.color,l=e.borderWidth,c=e.borderColor,u=e.label,d=e.labelTextAnchor,f=void 0===d?"middle":d,h=e.labelYOffset,p=void 0===h?-12:h,g=pS(),m=eS(),v=m.animate,b=Ys({transform:"translate("+t+", "+n+")",config:m.config,immediate:!v});return Je(hl.g,{transform:b.transform,style:{pointerEvents:"none"},children:[S(i,{size:o,color:s,datum:a,borderWidth:l,borderColor:c}),u&&Je("text",{textAnchor:f,y:p,style:mS(g.dots.text),children:u})]})};BS.propTypes={x:Ni.number.isRequired,y:Ni.number.isRequired,datum:Ni.object.isRequired,size:Ni.number.isRequired,color:Ni.string.isRequired,borderWidth:Ni.number.isRequired,borderColor:Ni.string.isRequired,symbol:Ni.oneOfType([Ni.func,Ni.object]),label:Ni.oneOfType([Ni.string,Ni.number]),labelTextAnchor:Ni.oneOf(["start","middle","end"]),labelYOffset:Ni.number};var RS=Se(BS),$S=function(e){var t=e.width,n=e.height,r=e.axis,i=e.scale,o=e.value,a=e.lineStyle,s=e.textStyle,l=e.legend,c=e.legendNode,u=e.legendPosition,d=void 0===u?"top-right":u,f=e.legendOffsetX,h=void 0===f?14:f,p=e.legendOffsetY,g=void 0===p?14:p,m=e.legendOrientation,v=void 0===m?"horizontal":m,b=pS(),y=0,_=0,w=0,x=0;if("y"===r?(w=i(o),_=t):(y=i(o),x=n),l&&!c){var k=function(e){var t=e.width,n=e.height,r=e.position,i=e.offsetX,o=e.offsetY,a=e.orientation,s=0,l=0,c="vertical"===a?-90:0,u="start";if("x"===e.axis)switch(r){case"top-left":s=-i,l=o,u="end";break;case"top":l=-o,u="horizontal"===a?"middle":"start";break;case"top-right":s=i,l=o,u="horizontal"===a?"start":"end";break;case"right":s=i,l=n/2,u="horizontal"===a?"start":"middle";break;case"bottom-right":s=i,l=n-o,u="start";break;case"bottom":l=n+o,u="horizontal"===a?"middle":"end";break;case"bottom-left":l=n-o,s=-i,u="horizontal"===a?"end":"start";break;case"left":s=-i,l=n/2,u="horizontal"===a?"end":"middle"}else switch(r){case"top-left":s=i,l=-o,u="start";break;case"top":s=t/2,l=-o,u="horizontal"===a?"middle":"start";break;case"top-right":s=t-i,l=-o,u="horizontal"===a?"end":"start";break;case"right":s=t+i,u="horizontal"===a?"start":"middle";break;case"bottom-right":s=t-i,l=o,u="end";break;case"bottom":s=t/2,l=o,u="horizontal"===a?"middle":"end";break;case"bottom-left":s=i,l=o,u="horizontal"===a?"start":"end";break;case"left":s=-i,u="horizontal"===a?"end":"middle"}return{x:s,y:l,rotation:c,textAnchor:u}}({axis:r,width:t,height:n,position:d,offsetX:h,offsetY:g,orientation:v});c=Je("text",{transform:"translate("+k.x+", "+k.y+") rotate("+k.rotation+")",textAnchor:k.textAnchor,dominantBaseline:"central",style:s,children:l})}return Je("g",{transform:"translate("+y+", "+w+")",children:[Je("line",{x1:0,x2:_,y1:0,y2:x,stroke:b.markers.lineColor,strokeWidth:b.markers.lineStrokeWidth,style:a}),c]})};$S.propTypes={width:Ni.number.isRequired,height:Ni.number.isRequired,axis:Ni.oneOf(["x","y"]).isRequired,scale:Ni.func.isRequired,value:Ni.oneOfType([Ni.number,Ni.string,Ni.instanceOf(Date)]).isRequired,lineStyle:Ni.object,textStyle:Ni.object,legend:Ni.string,legendPosition:Ni.oneOf(["top-left","top","top-right","right","bottom-right","bottom","bottom-left","left"]),legendOffsetX:Ni.number.isRequired,legendOffsetY:Ni.number.isRequired,legendOrientation:Ni.oneOf(["horizontal","vertical"]).isRequired};var DS=Se($S),IS=function(e){var t=e.markers,n=e.width,r=e.height,i=e.xScale,o=e.yScale;return t&&0!==t.length?t.map((function(e,t){return Je(DS,YC({},e,{width:n,height:r,scale:"y"===e.axis?o:i}),t)})):null};IS.propTypes={width:Ni.number.isRequired,height:Ni.number.isRequired,xScale:Ni.func.isRequired,yScale:Ni.func.isRequired,markers:Ni.arrayOf(Ni.shape({axis:Ni.oneOf(["x","y"]).isRequired,value:Ni.oneOfType([Ni.number,Ni.string,Ni.instanceOf(Date)]).isRequired,lineStyle:Ni.object,textStyle:Ni.object}))};var US=Se(IS),HS=["theme","renderWrapper","animate","motionConfig"],qS=function(e){return function(t){var n,r;function i(){return t.apply(this,arguments)||this}return r=t,(n=i).prototype=Object.create(r.prototype),n.prototype.constructor=n,GC(n,r),i.prototype.render=function(){var t=this.props,n=t.theme,r=t.renderWrapper,i=t.animate,o=t.motionConfig,a=ZC(t,HS);return Je(yS,{theme:n,renderWrapper:r,isInteractive:a.isInteractive,animate:i,motionConfig:o,children:Je(e,YC({},a))})},i}(A)},VS=function(e,t){var n,r="touches"in t?t.touches[0]:t,i=r.clientX,o=r.clientY,a=e.getBoundingClientRect(),s=(n=void 0!==e.getBBox?e.getBBox():{width:e.offsetWidth||0,height:e.offsetHeight||0}).width===a.width?1:n.width/a.width;return[(i-a.left)*s,(o-a.top)*s]},WS=Object.keys(kS),YS=Object.keys(NS);function GS(){return GS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},GS.apply(this,arguments)}function ZS(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var KS={nivo:["#e8c1a0","#f47560","#f1e15b","#e8a838","#61cdbb","#97e3d5"],category10:xb,accent:kb,dark2:Cb,paired:Sb,pastel1:Mb,pastel2:Tb,set1:Ab,set2:Nb,set3:Ob,tableau10:Pb},QS=Object.keys(KS),XS={brown_blueGreen:Eb,purpleRed_green:zb,pink_yellowGreen:Bb,purple_orange:$b,red_blue:Ib,red_grey:Hb,red_yellow_blue:Vb,red_yellow_green:Yb,spectral:Zb},JS=Object.keys(XS),eM={brown_blueGreen:jb,purpleRed_green:Fb,pink_yellowGreen:Rb,purple_orange:Db,red_blue:Ub,red_grey:qb,red_yellow_blue:Wb,red_yellow_green:Gb,spectral:Kb},tM={blues:wy,greens:ky,greys:Sy,oranges:Py,purples:Ty,reds:Ny,blue_green:Qb,blue_purple:Jb,green_blue:ty,orange_red:ry,purple_blue_green:oy,purple_blue:sy,purple_red:cy,red_purple:dy,yellow_green_blue:hy,yellow_green:gy,yellow_orange_brown:vy,yellow_orange_red:yy},nM=Object.keys(tM),rM={blues:xy,greens:Cy,greys:My,oranges:Ly,purples:Ay,reds:Oy,turbo:function(e){return e=Math.max(0,Math.min(1,e)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+e*(1172.33-e*(10793.56-e*(33300.12-e*(38394.49-14825.05*e)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+e*(557.33+e*(1225.33-e*(3574.96-e*(1073.77+707.56*e)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+e*(3211.1-e*(15327.97-e*(27814-e*(22569.18-6838.66*e)))))))+")"},viridis:d_,inferno:h_,magma:f_,plasma:p_,cividis:function(e){return e=Math.max(0,Math.min(1,e)),"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-e*(35.34-e*(2381.73-e*(6402.7-e*(7024.72-2710.57*e)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+e*(170.73+e*(52.82-e*(131.46-e*(176.58-67.37*e)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+e*(442.36-e*(2482.43-e*(6167.24-e*(6614.94-2475.67*e)))))))+")"},warm:jy,cool:zy,cubehelixDefault:Ey,blue_green:Xb,blue_purple:ey,green_blue:ny,orange_red:iy,purple_blue_green:ay,purple_blue:ly,purple_red:uy,red_purple:fy,yellow_green_blue:py,yellow_green:my,yellow_orange_brown:by,yellow_orange_red:_y},iM=GS({},KS,XS,tM);GS({},eM,rM,{rainbow:function(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return Fy.h=360*e-100,Fy.s=1.5-1.5*t,Fy.l=.8-.9*t,Fy+""},sinebow:function(e){var t;return e=(.5-e)*Math.PI,By.r=255*(t=Math.sin(e))*t,By.g=255*(t=Math.sin(e+Ry))*t,By.b=255*(t=Math.sin(e+$y))*t,By+""}});var oM,aM,sM,lM,cM,uM,dM,fM,hM=function(e,t){return fe((function(){return function(e,t){if("function"==typeof e)return e;if(Hk(e)){if(function(e){return void 0!==e.theme}(e)){if(void 0===t)throw new Error("Unable to use color from theme as no theme was provided");var n=Fh(t,e.theme);if(void 0===n)throw new Error("Color from theme is undefined at path: '"+e.theme+"'");return function(){return n}}if(function(e){return void 0!==e.from}(e)){var r=function(t){return Fh(t,e.from)};if(Array.isArray(e.modifiers)){for(var i,o=[],a=function(){var e=i.value,t=e[0],n=e[1];if("brighter"===t)o.push((function(e){return e.brighter(n)}));else if("darker"===t)o.push((function(e){return e.darker(n)}));else{if("opacity"!==t)throw new Error("Invalid color modifier: '"+t+"', must be one of: 'brighter', 'darker', 'opacity'");o.push((function(e){return e.opacity=n,e}))}},s=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return ZS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ZS(e,t):void 0}}(e))){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e.modifiers);!(i=s()).done;)a();return 0===o.length?r:function(e){return o.reduce((function(e,t){return t(e)}),lp(r(e))).toString()}}return r}throw new Error("Invalid color spec, you should either specify 'theme' or 'from' when using a config object")}return function(){return e}}(e,t)}),[e,t])};function pM(){if(uM)return cM;uM=1;var e=m_(),t=v_(),n=b_(),r=y_(),i=function(){if(lM)return sM;lM=1;var e=UC(),t=aM?oM:(aM=1,oM=function(){}),n=DC(),r=e&&1/n(new e([,-0]))[1]==1/0?function(t){return new e(t)}:t;return sM=r}(),o=DC();return cM=function(a,s,l){var c=-1,u=t,d=a.length,f=!0,h=[],p=h;if(l)f=!1,u=n;else if(d>=200){var g=s?null:i(a);if(g)return o(g);f=!1,u=r,p=new e}else p=s?[]:h;e:for(;++c<d;){var m=a[c],v=s?s(m):m;if(m=l||0!==m?m:0,f&&v==v){for(var b=p.length;b--;)if(p[b]===v)continue e;s&&p.push(v),h.push(m)}else u(p,v,l)||(p!==h&&p.push(v),h.push(m))}return h},cM}Ni.oneOfType([Ni.string,Ni.func,Ni.shape({theme:Ni.string.isRequired}),Ni.shape({from:Ni.string.isRequired,modifiers:Ni.arrayOf(Ni.array)})]);var gM,mM,vM,bM,yM,_M,wM,xM,kM,CM,SM,MM,TM,AM,NM,OM,PM,LM,EM,jM,zM,FM,BM=xi(function(){if(fM)return dM;fM=1;var e=pM();return dM=function(t){return t&&t.length?e(t):[]}}());function RM(){if(bM)return vM;bM=1;var e=Tu();return vM=function(t){return t==t&&!e(t)}}function $M(){return xM||(xM=1,wM=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}),wM}function DM(){if(jM)return EM;jM=1;var e=function(){if(CM)return kM;CM=1;var e=function(){if(mM)return gM;mM=1;var e=zu(),t=qC();return gM=function(n,r,i,o){var a=i.length,s=a,l=!o;if(null==n)return!s;for(n=Object(n);a--;){var c=i[a];if(l&&c[2]?c[1]!==n[c[0]]:!(c[0]in n))return!1}for(;++a<s;){var u=(c=i[a])[0],d=n[u],f=c[1];if(l&&c[2]){if(void 0===d&&!(u in n))return!1}else{var h=new e;if(o)var p=o(d,f,u,n,r,h);if(!(void 0===p?t(f,d,3,o,h):p))return!1}}return!0},gM}(),t=function(){if(_M)return yM;_M=1;var e=RM(),t=IC();return yM=function(n){for(var r=t(n),i=r.length;i--;){var o=r[i],a=n[o];r[i]=[o,a,e(a)]}return r},yM}(),n=$M();return kM=function(r){var i=t(r);return 1==i.length&&i[0][2]?n(i[0][0],i[0][1]):function(t){return t===r||e(t,r,i)}},kM}(),t=function(){if(MM)return SM;MM=1;var e=qC(),t=Ph(),n=qk(),r=Sh(),i=RM(),o=$M(),a=Nh();return SM=function(s,l){return r(s)&&i(l)?o(a(s),l):function(r){var i=t(r,s);return void 0===i&&i===l?n(r,s):e(l,i,3)}},SM}(),n=Yf(),r=Md(),i=function(){if(LM)return PM;LM=1;var e=(AM||(AM=1,TM=function(e){return function(t){return null==t?void 0:t[e]}}),TM),t=function(){if(OM)return NM;OM=1;var e=Oh();return NM=function(t){return function(n){return e(n,t)}},NM}(),n=Sh(),r=Nh();return PM=function(i){return n(i)?e(r(i)):t(i)}}();return EM=function(o){return"function"==typeof o?o:null==o?n:"object"==typeof o?r(o)?t(o[0],o[1]):e(o):i(o)}}var IM,UM,HM,qM,VM,WM,YM,GM,ZM,KM,QM,XM,JM,eT,tT,nT,rT,iT,oT=function(){if(FM)return zM;FM=1;var e=DM(),t=pM();return zM=function(n,r){return n&&n.length?t(n,e(r,2)):[]},zM}(),aT=xi(oT);var sT,lT,cT,uT,dT=xi(function(){if(iT)return rT;iT=1;var e=Wk(),t=function(){if(nT)return tT;nT=1;var e=Mh(),t=Oh(),n=DM(),r=function(){if(GM)return YM;GM=1;var e=function(){if(WM)return VM;WM=1;var e=function(){if(UM)return IM;UM=1;var e=$u(),t=IC();return IM=function(n,r){return n&&e(n,r,t)},IM}(),t=function(){if(qM)return HM;qM=1;var e=Ad();return HM=function(t,n){return function(r,i){if(null==r)return r;if(!e(r))return t(r,i);for(var o=r.length,a=n?o:-1,s=Object(r);(n?a--:++a<o)&&!1!==i(s[a],a,s););return r}}}()(e);return VM=t}(),t=Ad();return YM=function(n,r){var i=-1,o=t(n)?Array(n.length):[];return e(n,(function(e,t,n){o[++i]=r(e,t,n)})),o}}(),i=(KM||(KM=1,ZM=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}),ZM),o=Ud(),a=function(){if(eT)return JM;eT=1;var e=function(){if(XM)return QM;XM=1;var e=Ch();return QM=function(t,n){if(t!==n){var r=void 0!==t,i=null===t,o=t==t,a=e(t),s=void 0!==n,l=null===n,c=n==n,u=e(n);if(!l&&!u&&!a&&t>n||a&&s&&c&&!l&&!u||i&&s&&c||!r&&c||!o)return 1;if(!i&&!a&&!u&&t<n||u&&r&&o&&!i&&!a||l&&r&&o||!s&&o||!c)return-1}return 0}}();return JM=function(t,n,r){for(var i=-1,o=t.criteria,a=n.criteria,s=o.length,l=r.length;++i<s;){var c=e(o[i],a[i]);if(c)return i>=l?c:c*("desc"==r[i]?-1:1)}return t.index-n.index},JM}(),s=Yf(),l=Md();return tT=function(c,u,d){u=u.length?e(u,(function(e){return l(e)?function(n){return t(n,1===e.length?e[0]:e)}:e})):[s];var f=-1;u=e(u,o(n));var h=r(c,(function(t,n,r){return{criteria:e(u,(function(e){return e(t)})),index:++f,value:t}}));return i(h,(function(e,t){return a(e,t,d)}))},tT}(),n=Kf(),r=Qf(),i=n((function(n,i){if(null==n)return[];var o=i.length;return o>1&&r(n,i[0],i[1])?i=[]:o>2&&r(i[0],i[1],i[2])&&(i=[i[0]]),t(n,e(i,1),[])}));return rT=i}()),fT=xi(function(){if(uT)return cT;uT=1;var e=function(){if(lT)return sT;lT=1;var e=Mu(),t=Cd();return sT=function(n){return t(n)&&"[object Date]"==e(n)}}(),t=Ud(),n=Df(),r=n&&n.isDate,i=r?t(r):e;return cT=i}()),hT=new Date,pT=new Date;function gT(e,t,n,r){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=function(t){return e(t=new Date(+t)),t},i.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},i.round=function(e){var t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},i.range=function(n,r,o){var a,s=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return s;do{s.push(a=new Date(+n)),t(n,o),e(n)}while(a<n&&n<r);return s},i.filter=function(n){return gT((function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),(function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}))},n&&(i.count=function(t,r){return hT.setTime(+t),pT.setTime(+r),e(hT),e(pT),Math.floor(n(hT,pT))},i.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(r?function(t){return r(t)%e==0}:function(t){return i.count(0,t)%e==0}):i:null}),i}var mT=gT((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));mT.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?gT((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):mT:null},mT.range;var vT=1e3,bT=6e4,yT=36e5,_T=6048e5,wT=gT((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+t*vT)}),(function(e,t){return(t-e)/vT}),(function(e){return e.getUTCSeconds()}));wT.range;var xT=gT((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*vT)}),(function(e,t){e.setTime(+e+t*bT)}),(function(e,t){return(t-e)/bT}),(function(e){return e.getMinutes()}));xT.range;var kT=gT((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*vT-e.getMinutes()*bT)}),(function(e,t){e.setTime(+e+t*yT)}),(function(e,t){return(t-e)/yT}),(function(e){return e.getHours()}));function CT(e){return gT((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*bT)/_T}))}kT.range;var ST=CT(0),MT=CT(1),TT=CT(2),AT=CT(3),NT=CT(4),OT=CT(5),PT=CT(6);ST.range,MT.range,TT.range,AT.range,NT.range,OT.range,PT.range;var LT=gT((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()}));LT.range;var ET=gT((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()}));ET.every=function(e){return isFinite(e=Math.floor(e))&&e>0?gT((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n*e)})):null},ET.range;var jT=gT((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*bT)}),(function(e,t){return(t-e)/bT}),(function(e){return e.getUTCMinutes()}));jT.range;var zT=gT((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*yT)}),(function(e,t){return(t-e)/yT}),(function(e){return e.getUTCHours()}));function FT(e){return gT((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/_T}))}zT.range;var BT=FT(0),RT=FT(1),$T=FT(2),DT=FT(3),IT=FT(4),UT=FT(5),HT=FT(6);BT.range,RT.range,$T.range,DT.range,IT.range,UT.range,HT.range;var qT=gT((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCMonth(e.getUTCMonth()+t)}),(function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()}));qT.range;var VT=gT((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()}));function WT(){return WT=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},WT.apply(this,arguments)}VT.every=function(e){return isFinite(e=Math.floor(e))&&e>0?gT((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null},VT.range;var YT=[function(e){return e.setMilliseconds(0)},function(e){return e.setSeconds(0)},function(e){return e.setMinutes(0)},function(e){return e.setHours(0)},function(e){return e.setDate(1)},function(e){return e.setMonth(0)}],GT={millisecond:[],second:YT.slice(0,1),minute:YT.slice(0,2),hour:YT.slice(0,3),day:YT.slice(0,4),month:YT.slice(0,5),year:YT.slice(0,6)},ZT=function(e){var t=e.format,n=void 0===t?"native":t,r=e.precision,i=void 0===r?"millisecond":r,o=e.useUTC,a=void 0===o||o,s=function(e){return function(t){return GT[e].forEach((function(e){e(t)})),t}}(i);return function(e){if(void 0===e)return e;if("native"===n||e instanceof Date)return s(e);var t=a?rx(n):nx(n);return s(t(e))}},KT=function(e,t,n,r){var i,o,a,s,l=e.min,c=void 0===l?0:l,u=e.max,d=void 0===u?"auto":u,f=e.stacked,h=void 0!==f&&f,p=e.reverse,g=void 0!==p&&p,m=e.clamp,v=void 0!==m&&m,b=e.nice,y=void 0!==b&&b;i="auto"===c?!0===h?null!=(o=t.minStacked)?o:0:t.min:c,a="auto"===d?!0===h?null!=(s=t.maxStacked)?s:0:t.max:d;var _=Gg().rangeRound("x"===r?[0,n]:[n,0]).domain(g?[a,i]:[i,a]).clamp(v);return!0===y?_.nice():"number"==typeof y&&_.nice(y),QT(_,h)},QT=function(e,t){void 0===t&&(t=!1);var n=e;return n.type="linear",n.stacked=t,n},XT=function(e,t){return e===t},JT=function(e,t){return e.getTime()===t.getTime()};function eA(e,t,n,r){switch(e.type){case"linear":return KT(e,t,n,r);case"point":return function(e,t,n){var r=kg().range([0,n]).domain(t.all);return r.type="point",r}(0,t,n);case"band":return function(e,t,n,r){var i=e.round,o=void 0===i||i;return function(e){var t=e;return t.type="band",t}(wg().range("x"===r?[0,n]:[n,0]).domain(t.all).round(o))}(e,t,n,r);case"time":return function(e,t,n){var r,i,o=e.format,a=void 0===o?"native":o,s=e.precision,l=void 0===s?"millisecond":s,c=e.min,u=void 0===c?"auto":c,d=e.max,f=void 0===d?"auto":d,h=e.useUTC,p=void 0===h||h,g=e.nice,m=void 0!==g&&g,v=ZT({format:a,precision:l,useUTC:p});r="auto"===u?v(t.min):"native"!==a?v(u):u,i="auto"===f?v(t.max):"native"!==a?v(f):f;var b=p?function(){return bg.apply(_b(Vm,Wm,Hm,Im,Em,xm,_m,bm,mm,ev).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}():function(){return bg.apply(_b(Ym,Gm,Um,Dm,Sm,wm,ym,vm,mm,Jm).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}();b.range([0,n]),r&&i&&b.domain([r,i]),!0===m?b.nice():"object"!=typeof m&&"number"!=typeof m||b.nice(m);var y=b;return y.type="time",y.useUTC=p,y}(e,t,n);case"log":return function(e,t,n,r){var i,o=e.base,a=void 0===o?10:o,s=e.min,l=void 0===s?"auto":s,c=e.max,u=void 0===c?"auto":c;if(t.all.some((function(e){return 0===e})))throw new Error("a log scale domain must not include or cross zero");var d,f,h=!1;if(t.all.filter((function(e){return null!=e})).forEach((function(e){h||(void 0===i?i=Math.sign(e):Math.sign(e)!==i&&(h=!0))})),h)throw new Error("a log scale domain must be strictly-positive or strictly-negative");d="auto"===l?t.min:l,f="auto"===u?t.max:u;var p=nm().domain([d,f]).rangeRound("x"===r?[0,n]:[n,0]).base(a).nice();return p.type="log",p}(e,t,n,r);case"symlog":return function(e,t,n,r){var i,o,a=e.constant,s=void 0===a?1:a,l=e.min,c=void 0===l?"auto":l,u=e.max,d=void 0===u?"auto":u,f=e.reverse,h=void 0!==f&&f;i="auto"===c?t.min:c,o="auto"===d?t.max:d;var p=om().constant(s).rangeRound("x"===r?[0,n]:[n,0]).nice();!0===h?p.domain([o,i]):p.domain([i,o]);var g=p;return g.type="symlog",g}(e,t,n,r);default:throw new Error("invalid scale spec")}}var tA=function(e,t,n){var r;if("stacked"in n&&n.stacked){var i=e.data["x"===t?"xStacked":"yStacked"];return null==i?null:n(i)}return null!=(r=n(e.data[t]))?r:null},nA=function(e,t,n,r){var i={},o=i.getValue,a=void 0===o?function(e){return e.data[t]}:o,s=i.setValue,l=void 0===s?function(e,n){e.data[t]=n}:s;if("linear"===n.type)e.forEach((function(e){e.data.forEach((function(e){var t=a(e);t&&l(e,parseFloat(String(t)))}))}));else if("time"===n.type&&"native"!==n.format){var c=ZT(n);e.forEach((function(e){e.data.forEach((function(e){var t=a(e);t&&l(e,c(t))}))}))}var u=[];switch(e.forEach((function(e){e.data.forEach((function(e){u.push(a(e))}))})),n.type){case"linear":var d=dT(BM(u).filter((function(e){return null!==e})),(function(e){return e}));return{all:d,min:Math.min.apply(Math,d),max:Math.max.apply(Math,d)};case"time":var f=aT(u,(function(e){return e.getTime()})).slice(0).sort((function(e,t){return t.getTime()-e.getTime()})).reverse();return{all:f,min:f[0],max:ng(f)};default:var h=BM(u);return{all:h,min:h[0],max:ng(h)}}},rA=function(e,t,n){var r=function(e){return"x"===e?"y":"x"}(e),i=[];t[r].all.forEach((function(t){var o=fT(t)?JT:XT,a=[];n.forEach((function(n){var s=n.data.find((function(e){return o(e.data[r],t)})),l=null,c=null;if(void 0!==s){if(null!==(l=s.data[e])){var u=ng(a);void 0===u?c=l:null!==u&&(c=u+l)}s.data["x"===e?"xStacked":"yStacked"]=c}a.push(c),null!==c&&i.push(c)}))})),t[e].minStacked=Math.min.apply(Math,i),t[e].maxStacked=Math.max.apply(Math,i)},iA=function(e){var t=e.bandwidth();if(0===t)return e;var n=t/2;return e.round()&&(n=Math.round(n)),function(t){var r;return(null!=(r=e(t))?r:0)+n}},oA={millisecond:[mT,mT],second:[wT,wT],minute:[xT,jT],hour:[kT,zT],day:[gT((function(e){return e.setHours(0,0,0,0)}),(function(e,t){return e.setDate(e.getDate()+t)}),(function(e,t){return(t.getTime()-e.getTime())/864e5}),(function(e){return Math.floor(e.getTime()/864e5)})),gT((function(e){return e.setUTCHours(0,0,0,0)}),(function(e,t){return e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t.getTime()-e.getTime())/864e5}),(function(e){return Math.floor(e.getTime()/864e5)}))],week:[ST,BT],sunday:[ST,BT],monday:[MT,RT],tuesday:[TT,$T],wednesday:[AT,DT],thursday:[NT,IT],friday:[OT,UT],saturday:[PT,HT],month:[LT,qT],year:[ET,VT]},aA=Object.keys(oA),sA=new RegExp("^every\\s*(\\d+)?\\s*("+aA.join("|")+")s?$","i"),lA=function(e,t){if(Array.isArray(t))return t;if("string"==typeof t&&"useUTC"in e){var n=t.match(sA);if(n){var r=n[1],i=n[2],o=oA[i][e.useUTC?1:0];if("day"===i){var a,s,l=e.domain(),c=l[0],u=l[1],d=new Date(u);return d.setDate(d.getDate()+1),null!=(a=null==(s=o.every(Number(null!=r?r:1)))?void 0:s.range(c,d))?a:[]}if(void 0===r)return e.ticks(o);var f=o.every(Number(r));if(f)return e.ticks(f)}throw new Error("Invalid tickValues: "+t)}if("ticks"in e){if(void 0===t)return e.ticks();if("number"==typeof(h=t)&&isFinite(h)&&Math.floor(h)===h)return e.ticks(t)}var h;return e.domain()};function cA(){return cA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cA.apply(this,arguments)}var uA=function(e){var t,n=e.axis,r=e.scale,i=e.ticksPosition,o=e.tickValues,a=e.tickSize,s=e.tickPadding,l=e.tickRotation,c=e.truncateTickAt,u=e.engine,d=void 0===u?"svg":u,f=lA(r,o),h=MS[d],p="bandwidth"in r?iA(r):r,g={lineX:0,lineY:0},m={textX:0,textY:0},v="object"==typeof document&&"rtl"===document.dir,b=h.align.center,y=h.baseline.center;return"x"===n?(t=function(e){var t;return{x:null!=(t=p(e))?t:0,y:0}},g.lineY=a*("after"===i?1:-1),m.textY=(a+s)*("after"===i?1:-1),y="after"===i?h.baseline.top:h.baseline.bottom,0===l?b=h.align.center:"after"===i&&l<0||"before"===i&&l>0?(b=h.align[v?"left":"right"],y=h.baseline.center):("after"===i&&l>0||"before"===i&&l<0)&&(b=h.align[v?"right":"left"],y=h.baseline.center)):(t=function(e){var t;return{x:0,y:null!=(t=p(e))?t:0}},g.lineX=a*("after"===i?1:-1),m.textX=(a+s)*("after"===i?1:-1),b="after"===i?h.align.left:h.align.right),{ticks:f.map((function(e){var n="string"==typeof e?function(e){var t=String(e).length;return c&&c>0&&t>c?""+String(e).slice(0,c).concat("..."):""+e}(e):e;return cA({key:e instanceof Date?""+e.valueOf():""+e,value:n},t(e),g,m)})),textAlign:b,textBaseline:y}},dA=function(e,t){if(void 0===e||"function"==typeof e)return e;if("time"===t.type){var n=tx(e);return function(e){return n(e instanceof Date?e:new Date(e))}}return kw(e)},fA=function(e){var t,n=e.width,r=e.height,i=e.scale,o=e.axis,a=e.values,s=(t=a,(Array.isArray(t)?a:void 0)||lA(i,a)),l="bandwidth"in i?iA(i):i,c="x"===o?s.map((function(e){var t,n;return{key:e instanceof Date?""+e.valueOf():""+e,x1:null!=(t=l(e))?t:0,x2:null!=(n=l(e))?n:0,y1:0,y2:r}})):s.map((function(e){var t,r;return{key:e instanceof Date?""+e.valueOf():""+e,x1:0,x2:n,y1:null!=(t=l(e))?t:0,y2:null!=(r=l(e))?r:0}}));return c},hA=Se((function(e){var t,n=e.value,r=e.format,i=e.lineX,o=e.lineY,a=e.onClick,s=e.textBaseline,l=e.textAnchor,c=e.animatedProps,u=pS(),d=u.axis.ticks.line,f=u.axis.ticks.text,h=null!=(t=null==r?void 0:r(n))?t:n,p=fe((function(){var e={opacity:c.opacity};return a?{style:cA({},e,{cursor:"pointer"}),onClick:function(e){return a(e,h)}}:{style:e}}),[c.opacity,a,h]);return Je(hl.g,cA({transform:c.transform},p,{children:[Je("line",{x1:0,x2:i,y1:0,y2:o,style:d}),f.outlineWidth>0&&Je(hl.text,{dominantBaseline:s,textAnchor:l,transform:c.textTransform,style:f,strokeWidth:2*f.outlineWidth,stroke:f.outlineColor,strokeLinejoin:"round",children:""+h}),Je(hl.text,{dominantBaseline:s,textAnchor:l,transform:c.textTransform,style:mS(f),children:""+h})]}))})),pA=Se((function(e){var t=e.axis,n=e.scale,r=e.x,i=void 0===r?0:r,o=e.y,a=void 0===o?0:o,s=e.length,l=e.ticksPosition,c=e.tickValues,u=e.tickSize,d=void 0===u?5:u,f=e.tickPadding,h=void 0===f?5:f,p=e.tickRotation,g=void 0===p?0:p,m=e.format,v=e.renderTick,b=void 0===v?hA:v,y=e.truncateTickAt,_=e.legend,w=e.legendPosition,x=void 0===w?"end":w,k=e.legendOffset,C=void 0===k?0:k,M=e.onClick,A=e.ariaHidden,N=pS(),O=N.axis.legend.text,P=fe((function(){return dA(m,n)}),[m,n]),L=uA({axis:t,scale:n,ticksPosition:l,tickValues:c,tickSize:d,tickPadding:h,tickRotation:g,truncateTickAt:y}),E=L.ticks,j=L.textAlign,z=L.textBaseline,F=null;if(void 0!==_){var B,R=0,$=0,D=0;"y"===t?(D=-90,R=C,"start"===x?(B="start",$=s):"middle"===x?(B="middle",$=s/2):"end"===x&&(B="end")):($=C,"start"===x?B="start":"middle"===x?(B="middle",R=s/2):"end"===x&&(B="end",R=s)),F=Je(T,{children:[O.outlineWidth>0&&Je("text",{transform:"translate("+R+", "+$+") rotate("+D+")",textAnchor:B,style:cA({dominantBaseline:"central"},O),strokeWidth:2*O.outlineWidth,stroke:O.outlineColor,strokeLinejoin:"round",children:_}),Je("text",{transform:"translate("+R+", "+$+") rotate("+D+")",textAnchor:B,style:cA({dominantBaseline:"central"},O),children:_})]})}var I=eS(),U=I.animate,H=I.config,q=Ys({transform:"translate("+i+","+a+")",lineX2:"x"===t?s:0,lineY2:"x"===t?0:s,config:H,immediate:!U}),V=he((function(e){return{opacity:1,transform:"translate("+e.x+","+e.y+")",textTransform:"translate("+e.textX+","+e.textY+") rotate("+g+")"}}),[g]),W=he((function(e){return{opacity:0,transform:"translate("+e.x+","+e.y+")",textTransform:"translate("+e.textX+","+e.textY+") rotate("+g+")"}}),[g]),Y=Gs(E,{keys:function(e){return e.key},initial:V,from:W,enter:V,update:V,leave:{opacity:0},config:H,immediate:!U});return Je(hl.g,{transform:q.transform,"aria-hidden":A,children:[Y((function(e,t,n,r){return S(b,cA({tickIndex:r,format:P,rotate:g,textBaseline:z,textAnchor:j,truncateTickAt:y,animatedProps:e},t,M?{onClick:M}:{}))})),Je(hl.line,{style:N.axis.domain.line,x1:0,x2:q.lineX2,y1:0,y2:q.lineY2}),F]})})),gA=["top","right","bottom","left"],mA=Se((function(e){var t=e.xScale,n=e.yScale,r=e.width,i=e.height,o={top:e.top,right:e.right,bottom:e.bottom,left:e.left};return Je(T,{children:gA.map((function(e){var a=o[e];if(!a)return null;var s="top"===e||"bottom"===e;return Je(pA,cA({},a,{axis:s?"x":"y",x:"right"===e?r:0,y:"bottom"===e?i:0,scale:s?t:n,length:s?r:i,ticksPosition:"top"===e||"left"===e?"before":"after",truncateTickAt:a.truncateTickAt}),e)}))})})),vA=Se((function(e){var t=e.animatedProps,n=pS();return Je(hl.line,cA({},t,n.grid.line))})),bA=Se((function(e){var t=e.lines,n=eS(),r=n.animate,i=Gs(t,{keys:function(e){return e.key},initial:function(e){return{opacity:1,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},from:function(e){return{opacity:0,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},enter:function(e){return{opacity:1,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},update:function(e){return{opacity:1,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},leave:{opacity:0},config:n.config,immediate:!r});return Je("g",{children:i((function(e,t){return S(vA,cA({},t,{key:t.key,animatedProps:e}))}))})})),yA=Se((function(e){var t=e.width,n=e.height,r=e.xScale,i=e.yScale,o=e.xValues,a=e.yValues,s=fe((function(){return!!r&&fA({width:t,height:n,scale:r,axis:"x",values:o})}),[r,o,t,n]),l=fe((function(){return!!i&&fA({width:t,height:n,scale:i,axis:"y",values:a})}),[n,t,i,a]);return Je(T,{children:[s&&Je(bA,{lines:s}),l&&Je(bA,{lines:l})]})})),_A=function(e,t){var n=t.width,r=t.height,i=t.scale,o=t.axis,a=t.values;fA({width:n,height:r,scale:i,axis:o,values:a}).forEach((function(t){e.beginPath(),e.moveTo(t.x1,t.y1),e.lineTo(t.x2,t.y2),e.stroke()}))};function wA(){return wA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wA.apply(this,arguments)}var xA,kA,CA={top:0,right:0,bottom:0,left:0},SA=function(e){var t,n=e.direction,r=e.itemsSpacing,i=e.padding,o=e.itemCount,a=e.itemWidth,s=e.itemHeight;if("number"!=typeof i&&("object"!=typeof(t=i)||Array.isArray(t)||null===t))throw new Error("Invalid property padding, must be one of: number, object");var l="number"==typeof i?{top:i,right:i,bottom:i,left:i}:wA({},CA,i),c=l.left+l.right,u=l.top+l.bottom,d=a+c,f=s+u,h=(o-1)*r;return"row"===n?d=a*o+h+c:"column"===n&&(f=s*o+h+u),{width:d,height:f,padding:l}},MA=function(e){var t=e.anchor,n=e.translateX,r=e.translateY,i=e.containerWidth,o=e.containerHeight,a=e.width,s=e.height,l=n,c=r;switch(t){case"top":l+=(i-a)/2;break;case"top-right":l+=i-a;break;case"right":l+=i-a,c+=(o-s)/2;break;case"bottom-right":l+=i-a,c+=o-s;break;case"bottom":l+=(i-a)/2,c+=o-s;break;case"bottom-left":c+=o-s;break;case"left":c+=(o-s)/2;break;case"center":l+=(i-a)/2,c+=(o-s)/2}return{x:l,y:c}},TA=function(e){var t,n,r,i,o,a,s=e.direction,l=e.justify,c=e.symbolSize,u=e.symbolSpacing,d=e.width,f=e.height;switch(s){case"left-to-right":t=0,n=(f-c)/2,i=f/2,a="central",l?(r=d,o="end"):(r=c+u,o="start");break;case"right-to-left":t=d-c,n=(f-c)/2,i=f/2,a="central",l?(r=0,o="start"):(r=d-c-u,o="end");break;case"top-to-bottom":t=(d-c)/2,n=0,r=d/2,o="middle",l?(i=f,a="alphabetic"):(i=c+u,a="text-before-edge");break;case"bottom-to-top":t=(d-c)/2,n=f-c,r=d/2,o="middle",l?(i=0,a="text-before-edge"):(i=f-c-u,a="alphabetic")}return{symbolX:t,symbolY:n,labelX:r,labelY:i,labelAnchor:o,labelAlignment:a}},AA={circle:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,a=void 0===o?1:o,s=e.borderWidth,l=void 0===s?0:s,c=e.borderColor;return Je("circle",{r:r/2,cx:t+r/2,cy:n+r/2,fill:i,opacity:a,strokeWidth:l,stroke:void 0===c?"transparent":c,style:{pointerEvents:"none"}})},diamond:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,a=void 0===o?1:o,s=e.borderWidth,l=void 0===s?0:s,c=e.borderColor;return Je("g",{transform:"translate("+t+","+n+")",children:Je("path",{d:"\n M"+r/2+" 0\n L"+.8*r+" "+r/2+"\n L"+r/2+" "+r+"\n L"+.2*r+" "+r/2+"\n L"+r/2+" 0\n ",fill:i,opacity:a,strokeWidth:l,stroke:void 0===c?"transparent":c,style:{pointerEvents:"none"}})})},square:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,a=void 0===o?1:o,s=e.borderWidth,l=void 0===s?0:s,c=e.borderColor;return Je("rect",{x:t,y:n,fill:i,opacity:a,strokeWidth:l,stroke:void 0===c?"transparent":c,width:r,height:r,style:{pointerEvents:"none"}})},triangle:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,a=void 0===o?1:o,s=e.borderWidth,l=void 0===s?0:s,c=e.borderColor;return Je("g",{transform:"translate("+t+","+n+")",children:Je("path",{d:"\n M"+r/2+" 0\n L"+r+" "+r+"\n L0 "+r+"\n L"+r/2+" 0\n ",fill:i,opacity:a,strokeWidth:l,stroke:void 0===c?"transparent":c,style:{pointerEvents:"none"}})})}},NA=function(e){var t,n,r,i,o,a,s,l,c,u,d,f=e.x,h=e.y,p=e.width,g=e.height,m=e.data,v=e.direction,b=void 0===v?"left-to-right":v,y=e.justify,_=void 0!==y&&y,w=e.textColor,x=e.background,k=void 0===x?"transparent":x,C=e.opacity,M=void 0===C?1:C,T=e.symbolShape,A=void 0===T?"square":T,N=e.symbolSize,O=void 0===N?16:N,P=e.symbolSpacing,L=void 0===P?8:P,E=e.symbolBorderWidth,j=void 0===E?0:E,z=e.symbolBorderColor,F=void 0===z?"transparent":z,B=e.onClick,R=e.onMouseEnter,$=e.onMouseLeave,D=e.toggleSerie,I=e.effects,U=ce({}),H=U[0],q=U[1],V=pS(),W=he((function(e){if(I){var t=I.filter((function(e){return"hover"===e.on})).reduce((function(e,t){return wA({},e,t.style)}),{});q(t)}null==R||R(m,e)}),[R,m,I]),Y=he((function(e){if(I){var t=I.filter((function(e){return"hover"!==e.on})).reduce((function(e,t){return wA({},e,t.style)}),{});q(t)}null==$||$(m,e)}),[$,m,I]),G=TA({direction:b,justify:_,symbolSize:null!=(t=H.symbolSize)?t:O,symbolSpacing:L,width:p,height:g}),Z=G.symbolX,K=G.symbolY,Q=G.labelX,X=G.labelY,J=G.labelAnchor,ee=G.labelAlignment,te=[B,R,$,D].some((function(e){return void 0!==e})),ne="function"==typeof A?A:AA[A];return Je("g",{transform:"translate("+f+","+h+")",style:{opacity:null!=(n=H.itemOpacity)?n:M},children:[Je("rect",{width:p,height:g,fill:null!=(r=H.itemBackground)?r:k,style:{cursor:te?"pointer":"auto"},onClick:function(e){null==B||B(m,e),null==D||D(m.id)},onMouseEnter:W,onMouseLeave:Y}),S(ne,wA({id:m.id,x:Z,y:K,size:null!=(i=H.symbolSize)?i:O,fill:null!=(o=null!=(a=m.fill)?a:m.color)?o:"black",borderWidth:null!=(s=H.symbolBorderWidth)?s:j,borderColor:null!=(l=H.symbolBorderColor)?l:F},m.hidden?V.legends.hidden.symbol:void 0)),Je("text",{textAnchor:J,style:wA({},mS(V.legends.text),{fill:null!=(c=null!=(u=null!=(d=H.itemTextColor)?d:w)?u:V.legends.text.fill)?c:"black",dominantBaseline:ee,pointerEvents:"none",userSelect:"none"},m.hidden?V.legends.hidden.text:void 0),x:Q,y:X,children:m.label})]})},OA=function(e){var t=e.data,n=e.x,r=e.y,i=e.direction,o=e.padding,a=void 0===o?0:o,s=e.justify,l=e.effects,c=e.itemWidth,u=e.itemHeight,d=e.itemDirection,f=void 0===d?"left-to-right":d,h=e.itemsSpacing,p=void 0===h?0:h,g=e.itemTextColor,m=e.itemBackground,v=void 0===m?"transparent":m,b=e.itemOpacity,y=void 0===b?1:b,_=e.symbolShape,w=e.symbolSize,x=e.symbolSpacing,k=e.symbolBorderWidth,C=e.symbolBorderColor,S=e.onClick,M=e.onMouseEnter,T=e.onMouseLeave,A=e.toggleSerie,N=SA({itemCount:t.length,itemWidth:c,itemHeight:u,itemsSpacing:p,direction:i,padding:a}).padding,O="row"===i?c+p:0,P="column"===i?u+p:0;return Je("g",{transform:"translate("+n+","+r+")",children:t.map((function(e,t){return Je(NA,{data:e,x:t*O+N.left,y:t*P+N.top,width:c,height:u,direction:f,justify:s,effects:l,textColor:g,background:v,opacity:y,symbolShape:_,symbolSize:w,symbolSpacing:x,symbolBorderWidth:k,symbolBorderColor:C,onClick:S,onMouseEnter:M,onMouseLeave:T,toggleSerie:A},t)}))})},PA=function(e){var t=e.data,n=e.containerWidth,r=e.containerHeight,i=e.translateX,o=void 0===i?0:i,a=e.translateY,s=void 0===a?0:a,l=e.anchor,c=e.direction,u=e.padding,d=void 0===u?0:u,f=e.justify,h=e.itemsSpacing,p=void 0===h?0:h,g=e.itemWidth,m=e.itemHeight,v=e.itemDirection,b=e.itemTextColor,y=e.itemBackground,_=e.itemOpacity,w=e.symbolShape,x=e.symbolSize,k=e.symbolSpacing,C=e.symbolBorderWidth,S=e.symbolBorderColor,M=e.onClick,T=e.onMouseEnter,A=e.onMouseLeave,N=e.toggleSerie,O=e.effects,P=SA({itemCount:t.length,itemsSpacing:p,itemWidth:g,itemHeight:m,direction:c,padding:d}),L=P.width,E=P.height,j=MA({anchor:l,translateX:o,translateY:s,containerWidth:n,containerHeight:r,width:L,height:E}),z=j.x,F=j.y;return Je(OA,{data:t,x:z,y:F,direction:c,padding:d,justify:f,effects:O,itemsSpacing:p,itemWidth:g,itemHeight:m,itemDirection:v,itemTextColor:b,itemBackground:y,itemOpacity:_,symbolShape:w,symbolSize:x,symbolSpacing:k,symbolBorderWidth:C,symbolBorderColor:S,onClick:M,onMouseEnter:T,onMouseLeave:A,toggleSerie:"boolean"==typeof N?void 0:N})},LA={start:"left",middle:"center",end:"right"},EA=function(){if(kA)return xA;kA=1;var e=Th(),t=0;return xA=function(n){var r=++t;return e(n)+r},xA}(),jA=xi(EA);const zA=134217729;function FA(e,t,n,r,i){let o,a,s,l,c=t[0],u=r[0],d=0,f=0;u>c==u>-c?(o=c,c=t[++d]):(o=u,u=r[++f]);let h=0;if(d<e&&f<n)for(u>c==u>-c?(a=c+o,s=o-(a-c),c=t[++d]):(a=u+o,s=o-(a-u),u=r[++f]),o=a,0!==s&&(i[h++]=s);d<e&&f<n;)u>c==u>-c?(a=o+c,l=a-o,s=o-(a-l)+(c-l),c=t[++d]):(a=o+u,l=a-o,s=o-(a-l)+(u-l),u=r[++f]),o=a,0!==s&&(i[h++]=s);for(;d<e;)a=o+c,l=a-o,s=o-(a-l)+(c-l),c=t[++d],o=a,0!==s&&(i[h++]=s);for(;f<n;)a=o+u,l=a-o,s=o-(a-l)+(u-l),u=r[++f],o=a,0!==s&&(i[h++]=s);return 0===o&&0!==h||(i[h++]=o),h}function BA(e){return new Float64Array(e)}const RA=BA(4),$A=BA(8),DA=BA(12),IA=BA(16),UA=BA(4);function HA(e,t,n,r,i,o){const a=(t-o)*(n-i),s=(e-i)*(r-o),l=a-s,c=Math.abs(a+s);return Math.abs(l)>=33306690738754716e-32*c?l:-function(e,t,n,r,i,o,a){let s,l,c,u,d,f,h,p,g,m,v,b,y,_,w,x,k,C;const S=e-i,M=n-i,T=t-o,A=r-o;_=S*A,f=zA*S,h=f-(f-S),p=S-h,f=zA*A,g=f-(f-A),m=A-g,w=p*m-(_-h*g-p*g-h*m),x=T*M,f=zA*T,h=f-(f-T),p=T-h,f=zA*M,g=f-(f-M),m=M-g,k=p*m-(x-h*g-p*g-h*m),v=w-k,d=w-v,RA[0]=w-(v+d)+(d-k),b=_+v,d=b-_,y=_-(b-d)+(v-d),v=y-x,d=y-v,RA[1]=y-(v+d)+(d-x),C=b+v,d=C-b,RA[2]=b-(C-d)+(v-d),RA[3]=C;let N=function(e,t){let n=t[0];for(let e=1;e<4;e++)n+=t[e];return n}(0,RA),O=22204460492503146e-32*a;if(N>=O||-N>=O)return N;if(d=e-S,s=e-(S+d)+(d-i),d=n-M,c=n-(M+d)+(d-i),d=t-T,l=t-(T+d)+(d-o),d=r-A,u=r-(A+d)+(d-o),0===s&&0===l&&0===c&&0===u)return N;if(O=11093356479670487e-47*a+33306690738754706e-32*Math.abs(N),N+=S*u+A*s-(T*c+M*l),N>=O||-N>=O)return N;_=s*A,f=zA*s,h=f-(f-s),p=s-h,f=zA*A,g=f-(f-A),m=A-g,w=p*m-(_-h*g-p*g-h*m),x=l*M,f=zA*l,h=f-(f-l),p=l-h,f=zA*M,g=f-(f-M),m=M-g,k=p*m-(x-h*g-p*g-h*m),v=w-k,d=w-v,UA[0]=w-(v+d)+(d-k),b=_+v,d=b-_,y=_-(b-d)+(v-d),v=y-x,d=y-v,UA[1]=y-(v+d)+(d-x),C=b+v,d=C-b,UA[2]=b-(C-d)+(v-d),UA[3]=C;const P=FA(4,RA,4,UA,$A);_=S*u,f=zA*S,h=f-(f-S),p=S-h,f=zA*u,g=f-(f-u),m=u-g,w=p*m-(_-h*g-p*g-h*m),x=T*c,f=zA*T,h=f-(f-T),p=T-h,f=zA*c,g=f-(f-c),m=c-g,k=p*m-(x-h*g-p*g-h*m),v=w-k,d=w-v,UA[0]=w-(v+d)+(d-k),b=_+v,d=b-_,y=_-(b-d)+(v-d),v=y-x,d=y-v,UA[1]=y-(v+d)+(d-x),C=b+v,d=C-b,UA[2]=b-(C-d)+(v-d),UA[3]=C;const L=FA(P,$A,4,UA,DA);_=s*u,f=zA*s,h=f-(f-s),p=s-h,f=zA*u,g=f-(f-u),m=u-g,w=p*m-(_-h*g-p*g-h*m),x=l*c,f=zA*l,h=f-(f-l),p=l-h,f=zA*c,g=f-(f-c),m=c-g,k=p*m-(x-h*g-p*g-h*m),v=w-k,d=w-v,UA[0]=w-(v+d)+(d-k),b=_+v,d=b-_,y=_-(b-d)+(v-d),v=y-x,d=y-v,UA[1]=y-(v+d)+(d-x),C=b+v,d=C-b,UA[2]=b-(C-d)+(v-d),UA[3]=C;const E=FA(L,DA,4,UA,IA);return IA[E-1]}(e,t,n,r,i,o,c)}const qA=Math.pow(2,-52),VA=new Uint32Array(512);class WA{static from(e,t=XA,n=JA){const r=e.length,i=new Float64Array(2*r);for(let o=0;o<r;o++){const r=e[o];i[2*o]=t(r),i[2*o+1]=n(r)}return new WA(i)}constructor(e){const t=e.length>>1;if(t>0&&"number"!=typeof e[0])throw new Error("Expected coords to contain numbers.");this.coords=e;const n=Math.max(2*t-5,0);this._triangles=new Uint32Array(3*n),this._halfedges=new Int32Array(3*n),this._hashSize=Math.ceil(Math.sqrt(t)),this._hullPrev=new Uint32Array(t),this._hullNext=new Uint32Array(t),this._hullTri=new Uint32Array(t),this._hullHash=new Int32Array(this._hashSize),this._ids=new Uint32Array(t),this._dists=new Float64Array(t),this.update()}update(){const{coords:e,_hullPrev:t,_hullNext:n,_hullTri:r,_hullHash:i}=this,o=e.length>>1;let a=1/0,s=1/0,l=-1/0,c=-1/0;for(let t=0;t<o;t++){const n=e[2*t],r=e[2*t+1];n<a&&(a=n),r<s&&(s=r),n>l&&(l=n),r>c&&(c=r),this._ids[t]=t}const u=(a+l)/2,d=(s+c)/2;let f,h,p;for(let t=0,n=1/0;t<o;t++){const r=YA(u,d,e[2*t],e[2*t+1]);r<n&&(f=t,n=r)}const g=e[2*f],m=e[2*f+1];for(let t=0,n=1/0;t<o;t++){if(t===f)continue;const r=YA(g,m,e[2*t],e[2*t+1]);r<n&&r>0&&(h=t,n=r)}let v=e[2*h],b=e[2*h+1],y=1/0;for(let t=0;t<o;t++){if(t===f||t===h)continue;const n=ZA(g,m,v,b,e[2*t],e[2*t+1]);n<y&&(p=t,y=n)}let _=e[2*p],w=e[2*p+1];if(y===1/0){for(let t=0;t<o;t++)this._dists[t]=e[2*t]-e[0]||e[2*t+1]-e[1];KA(this._ids,this._dists,0,o-1);const t=new Uint32Array(o);let n=0;for(let e=0,r=-1/0;e<o;e++){const i=this._ids[e],o=this._dists[i];o>r&&(t[n++]=i,r=o)}return this.hull=t.subarray(0,n),this.triangles=new Uint32Array(0),void(this.halfedges=new Uint32Array(0))}if(HA(g,m,v,b,_,w)<0){const e=h,t=v,n=b;h=p,v=_,b=w,p=e,_=t,w=n}const x=function(e,t,n,r,i,o){const a=n-e,s=r-t,l=i-e,c=o-t,u=a*a+s*s,d=l*l+c*c,f=.5/(a*c-s*l);return{x:e+(c*u-s*d)*f,y:t+(a*d-l*u)*f}}(g,m,v,b,_,w);this._cx=x.x,this._cy=x.y;for(let t=0;t<o;t++)this._dists[t]=YA(e[2*t],e[2*t+1],x.x,x.y);KA(this._ids,this._dists,0,o-1),this._hullStart=f;let k=3;n[f]=t[p]=h,n[h]=t[f]=p,n[p]=t[h]=f,r[f]=0,r[h]=1,r[p]=2,i.fill(-1),i[this._hashKey(g,m)]=f,i[this._hashKey(v,b)]=h,i[this._hashKey(_,w)]=p,this.trianglesLen=0,this._addTriangle(f,h,p,-1,-1,-1);for(let o,a,s=0;s<this._ids.length;s++){const l=this._ids[s],c=e[2*l],u=e[2*l+1];if(s>0&&Math.abs(c-o)<=qA&&Math.abs(u-a)<=qA)continue;if(o=c,a=u,l===f||l===h||l===p)continue;let d=0;for(let e=0,t=this._hashKey(c,u);e<this._hashSize&&(d=i[(t+e)%this._hashSize],-1===d||d===n[d]);e++);d=t[d];let g,m=d;for(;g=n[m],HA(c,u,e[2*m],e[2*m+1],e[2*g],e[2*g+1])>=0;)if(m=g,m===d){m=-1;break}if(-1===m)continue;let v=this._addTriangle(m,l,n[m],-1,-1,r[m]);r[l]=this._legalize(v+2),r[m]=v,k++;let b=n[m];for(;g=n[b],HA(c,u,e[2*b],e[2*b+1],e[2*g],e[2*g+1])<0;)v=this._addTriangle(b,l,g,r[l],-1,r[b]),r[l]=this._legalize(v+2),n[b]=b,k--,b=g;if(m===d)for(;g=t[m],HA(c,u,e[2*g],e[2*g+1],e[2*m],e[2*m+1])<0;)v=this._addTriangle(g,l,m,-1,r[m],r[g]),this._legalize(v+2),r[g]=v,n[m]=m,k--,m=g;this._hullStart=t[l]=m,n[m]=t[b]=l,n[l]=b,i[this._hashKey(c,u)]=l,i[this._hashKey(e[2*m],e[2*m+1])]=m}this.hull=new Uint32Array(k);for(let e=0,t=this._hullStart;e<k;e++)this.hull[e]=t,t=n[t];this.triangles=this._triangles.subarray(0,this.trianglesLen),this.halfedges=this._halfedges.subarray(0,this.trianglesLen)}_hashKey(e,t){return Math.floor(function(e,t){const n=e/(Math.abs(e)+Math.abs(t));return(t>0?3-n:1+n)/4}(e-this._cx,t-this._cy)*this._hashSize)%this._hashSize}_legalize(e){const{_triangles:t,_halfedges:n,coords:r}=this;let i=0,o=0;for(;;){const a=n[e],s=e-e%3;if(o=s+(e+2)%3,-1===a){if(0===i)break;e=VA[--i];continue}const l=a-a%3,c=s+(e+1)%3,u=l+(a+2)%3,d=t[o],f=t[e],h=t[c],p=t[u];if(GA(r[2*d],r[2*d+1],r[2*f],r[2*f+1],r[2*h],r[2*h+1],r[2*p],r[2*p+1])){t[e]=p,t[a]=d;const r=n[u];if(-1===r){let t=this._hullStart;do{if(this._hullTri[t]===u){this._hullTri[t]=e;break}t=this._hullPrev[t]}while(t!==this._hullStart)}this._link(e,r),this._link(a,n[o]),this._link(o,u);const s=l+(a+1)%3;i<VA.length&&(VA[i++]=s)}else{if(0===i)break;e=VA[--i]}}return o}_link(e,t){this._halfedges[e]=t,-1!==t&&(this._halfedges[t]=e)}_addTriangle(e,t,n,r,i,o){const a=this.trianglesLen;return this._triangles[a]=e,this._triangles[a+1]=t,this._triangles[a+2]=n,this._link(a,r),this._link(a+1,i),this._link(a+2,o),this.trianglesLen+=3,a}}function YA(e,t,n,r){const i=e-n,o=t-r;return i*i+o*o}function GA(e,t,n,r,i,o,a,s){const l=e-a,c=t-s,u=n-a,d=r-s,f=i-a,h=o-s,p=u*u+d*d,g=f*f+h*h;return l*(d*g-p*h)-c*(u*g-p*f)+(l*l+c*c)*(u*h-d*f)<0}function ZA(e,t,n,r,i,o){const a=n-e,s=r-t,l=i-e,c=o-t,u=a*a+s*s,d=l*l+c*c,f=.5/(a*c-s*l),h=(c*u-s*d)*f,p=(a*d-l*u)*f;return h*h+p*p}function KA(e,t,n,r){if(r-n<=20)for(let i=n+1;i<=r;i++){const r=e[i],o=t[r];let a=i-1;for(;a>=n&&t[e[a]]>o;)e[a+1]=e[a--];e[a+1]=r}else{let i=n+1,o=r;QA(e,n+r>>1,i),t[e[n]]>t[e[r]]&&QA(e,n,r),t[e[i]]>t[e[r]]&&QA(e,i,r),t[e[n]]>t[e[i]]&&QA(e,n,i);const a=e[i],s=t[a];for(;;){do{i++}while(t[e[i]]<s);do{o--}while(t[e[o]]>s);if(o<i)break;QA(e,i,o)}e[n+1]=e[o],e[o]=a,r-i+1>=o-n?(KA(e,t,i,r),KA(e,t,n,o-1)):(KA(e,t,n,o-1),KA(e,t,i,r))}}function QA(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function XA(e){return e[0]}function JA(e){return e[1]}const eN=1e-6;class tN{constructor(){this._x0=this._y0=this._x1=this._y1=null,this._=""}moveTo(e,t){this._+=`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")}lineTo(e,t){this._+=`L${this._x1=+e},${this._y1=+t}`}arc(e,t,n){const r=(e=+e)+(n=+n),i=t=+t;if(n<0)throw new Error("negative radius");null===this._x1?this._+=`M${r},${i}`:(Math.abs(this._x1-r)>eN||Math.abs(this._y1-i)>eN)&&(this._+="L"+r+","+i),n&&(this._+=`A${n},${n},0,1,1,${e-n},${t}A${n},${n},0,1,1,${this._x1=r},${this._y1=i}`)}rect(e,t,n,r){this._+=`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${+n}v${+r}h${-n}Z`}value(){return this._||null}}class nN{constructor(){this._=[]}moveTo(e,t){this._.push([e,t])}closePath(){this._.push(this._[0].slice())}lineTo(e,t){this._.push([e,t])}value(){return this._.length?this._:null}}class rN{constructor(e,[t,n,r,i]=[0,0,960,500]){if(!((r=+r)>=(t=+t)&&(i=+i)>=(n=+n)))throw new Error("invalid bounds");this.delaunay=e,this._circumcenters=new Float64Array(2*e.points.length),this.vectors=new Float64Array(2*e.points.length),this.xmax=r,this.xmin=t,this.ymax=i,this.ymin=n,this._init()}update(){return this.delaunay.update(),this._init(),this}_init(){const{delaunay:{points:e,hull:t,triangles:n},vectors:r}=this;let i,o;const a=this.circumcenters=this._circumcenters.subarray(0,n.length/3*2);for(let r,s,l=0,c=0,u=n.length;l<u;l+=3,c+=2){const u=2*n[l],d=2*n[l+1],f=2*n[l+2],h=e[u],p=e[u+1],g=e[d],m=e[d+1],v=e[f],b=e[f+1],y=g-h,_=m-p,w=v-h,x=b-p,k=2*(y*x-_*w);if(Math.abs(k)<1e-9){if(void 0===i){i=o=0;for(const n of t)i+=e[2*n],o+=e[2*n+1];i/=t.length,o/=t.length}const n=1e9*Math.sign((i-h)*x-(o-p)*w);r=(h+v)/2-n*x,s=(p+b)/2+n*w}else{const e=1/k,t=y*y+_*_,n=w*w+x*x;r=h+(x*t-_*n)*e,s=p+(y*n-w*t)*e}a[c]=r,a[c+1]=s}let s,l,c,u=t[t.length-1],d=4*u,f=e[2*u],h=e[2*u+1];r.fill(0);for(let n=0;n<t.length;++n)u=t[n],s=d,l=f,c=h,d=4*u,f=e[2*u],h=e[2*u+1],r[s+2]=r[d]=c-h,r[s+3]=r[d+1]=f-l}render(e){const t=null==e?e=new tN:void 0,{delaunay:{halfedges:n,inedges:r,hull:i},circumcenters:o,vectors:a}=this;if(i.length<=1)return null;for(let t=0,r=n.length;t<r;++t){const r=n[t];if(r<t)continue;const i=2*Math.floor(t/3),a=2*Math.floor(r/3),s=o[i],l=o[i+1],c=o[a],u=o[a+1];this._renderSegment(s,l,c,u,e)}let s,l=i[i.length-1];for(let t=0;t<i.length;++t){s=l,l=i[t];const n=2*Math.floor(r[l]/3),c=o[n],u=o[n+1],d=4*s,f=this._project(c,u,a[d+2],a[d+3]);f&&this._renderSegment(c,u,f[0],f[1],e)}return t&&t.value()}renderBounds(e){const t=null==e?e=new tN:void 0;return e.rect(this.xmin,this.ymin,this.xmax-this.xmin,this.ymax-this.ymin),t&&t.value()}renderCell(e,t){const n=null==t?t=new tN:void 0,r=this._clip(e);if(null===r||!r.length)return;t.moveTo(r[0],r[1]);let i=r.length;for(;r[0]===r[i-2]&&r[1]===r[i-1]&&i>1;)i-=2;for(let e=2;e<i;e+=2)r[e]===r[e-2]&&r[e+1]===r[e-1]||t.lineTo(r[e],r[e+1]);return t.closePath(),n&&n.value()}*cellPolygons(){const{delaunay:{points:e}}=this;for(let t=0,n=e.length/2;t<n;++t){const e=this.cellPolygon(t);e&&(e.index=t,yield e)}}cellPolygon(e){const t=new nN;return this.renderCell(e,t),t.value()}_renderSegment(e,t,n,r,i){let o;const a=this._regioncode(e,t),s=this._regioncode(n,r);0===a&&0===s?(i.moveTo(e,t),i.lineTo(n,r)):(o=this._clipSegment(e,t,n,r,a,s))&&(i.moveTo(o[0],o[1]),i.lineTo(o[2],o[3]))}contains(e,t,n){return(t=+t)==t&&(n=+n)==n&&this.delaunay._step(e,t,n)===e}*neighbors(e){const t=this._clip(e);if(t)for(const n of this.delaunay.neighbors(e)){const e=this._clip(n);if(e)e:for(let r=0,i=t.length;r<i;r+=2)for(let o=0,a=e.length;o<a;o+=2)if(t[r]===e[o]&&t[r+1]===e[o+1]&&t[(r+2)%i]===e[(o+a-2)%a]&&t[(r+3)%i]===e[(o+a-1)%a]){yield n;break e}}}_cell(e){const{circumcenters:t,delaunay:{inedges:n,halfedges:r,triangles:i}}=this,o=n[e];if(-1===o)return null;const a=[];let s=o;do{const n=Math.floor(s/3);if(a.push(t[2*n],t[2*n+1]),s=s%3==2?s-2:s+1,i[s]!==e)break;s=r[s]}while(s!==o&&-1!==s);return a}_clip(e){if(0===e&&1===this.delaunay.hull.length)return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];const t=this._cell(e);if(null===t)return null;const{vectors:n}=this,r=4*e;return this._simplify(n[r]||n[r+1]?this._clipInfinite(e,t,n[r],n[r+1],n[r+2],n[r+3]):this._clipFinite(e,t))}_clipFinite(e,t){const n=t.length;let r,i,o,a,s=null,l=t[n-2],c=t[n-1],u=this._regioncode(l,c),d=0;for(let f=0;f<n;f+=2)if(r=l,i=c,l=t[f],c=t[f+1],o=u,u=this._regioncode(l,c),0===o&&0===u)a=d,d=0,s?s.push(l,c):s=[l,c];else{let t,n,f,h,p;if(0===o){if(null===(t=this._clipSegment(r,i,l,c,o,u)))continue;[n,f,h,p]=t}else{if(null===(t=this._clipSegment(l,c,r,i,u,o)))continue;[h,p,n,f]=t,a=d,d=this._edgecode(n,f),a&&d&&this._edge(e,a,d,s,s.length),s?s.push(n,f):s=[n,f]}a=d,d=this._edgecode(h,p),a&&d&&this._edge(e,a,d,s,s.length),s?s.push(h,p):s=[h,p]}if(s)a=d,d=this._edgecode(s[0],s[1]),a&&d&&this._edge(e,a,d,s,s.length);else if(this.contains(e,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2))return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];return s}_clipSegment(e,t,n,r,i,o){const a=i<o;for(a&&([e,t,n,r,i,o]=[n,r,e,t,o,i]);;){if(0===i&&0===o)return a?[n,r,e,t]:[e,t,n,r];if(i&o)return null;let s,l,c=i||o;8&c?(s=e+(n-e)*(this.ymax-t)/(r-t),l=this.ymax):4&c?(s=e+(n-e)*(this.ymin-t)/(r-t),l=this.ymin):2&c?(l=t+(r-t)*(this.xmax-e)/(n-e),s=this.xmax):(l=t+(r-t)*(this.xmin-e)/(n-e),s=this.xmin),i?(e=s,t=l,i=this._regioncode(e,t)):(n=s,r=l,o=this._regioncode(n,r))}}_clipInfinite(e,t,n,r,i,o){let a,s=Array.from(t);if((a=this._project(s[0],s[1],n,r))&&s.unshift(a[0],a[1]),(a=this._project(s[s.length-2],s[s.length-1],i,o))&&s.push(a[0],a[1]),s=this._clipFinite(e,s))for(let t,n=0,r=s.length,i=this._edgecode(s[r-2],s[r-1]);n<r;n+=2)t=i,i=this._edgecode(s[n],s[n+1]),t&&i&&(n=this._edge(e,t,i,s,n),r=s.length);else this.contains(e,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2)&&(s=[this.xmin,this.ymin,this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax]);return s}_edge(e,t,n,r,i){for(;t!==n;){let n,o;switch(t){case 5:t=4;continue;case 4:t=6,n=this.xmax,o=this.ymin;break;case 6:t=2;continue;case 2:t=10,n=this.xmax,o=this.ymax;break;case 10:t=8;continue;case 8:t=9,n=this.xmin,o=this.ymax;break;case 9:t=1;continue;case 1:t=5,n=this.xmin,o=this.ymin}r[i]===n&&r[i+1]===o||!this.contains(e,n,o)||(r.splice(i,0,n,o),i+=2)}return i}_project(e,t,n,r){let i,o,a,s=1/0;if(r<0){if(t<=this.ymin)return null;(i=(this.ymin-t)/r)<s&&(a=this.ymin,o=e+(s=i)*n)}else if(r>0){if(t>=this.ymax)return null;(i=(this.ymax-t)/r)<s&&(a=this.ymax,o=e+(s=i)*n)}if(n>0){if(e>=this.xmax)return null;(i=(this.xmax-e)/n)<s&&(o=this.xmax,a=t+(s=i)*r)}else if(n<0){if(e<=this.xmin)return null;(i=(this.xmin-e)/n)<s&&(o=this.xmin,a=t+(s=i)*r)}return[o,a]}_edgecode(e,t){return(e===this.xmin?1:e===this.xmax?2:0)|(t===this.ymin?4:t===this.ymax?8:0)}_regioncode(e,t){return(e<this.xmin?1:e>this.xmax?2:0)|(t<this.ymin?4:t>this.ymax?8:0)}_simplify(e){if(e&&e.length>4){for(let t=0;t<e.length;t+=2){const n=(t+2)%e.length,r=(t+4)%e.length;(e[t]===e[n]&&e[n]===e[r]||e[t+1]===e[n+1]&&e[n+1]===e[r+1])&&(e.splice(n,2),t-=2)}e.length||(e=null)}return e}}const iN=2*Math.PI,oN=Math.pow;function aN(e){return e[0]}function sN(e){return e[1]}function lN(e,t,n){return[e+Math.sin(e+t)*n,t+Math.cos(e-t)*n]}class cN{static from(e,t=aN,n=sN,r){return new cN("length"in e?function(e,t,n,r){const i=e.length,o=new Float64Array(2*i);for(let a=0;a<i;++a){const i=e[a];o[2*a]=t.call(r,i,a,e),o[2*a+1]=n.call(r,i,a,e)}return o}(e,t,n,r):Float64Array.from(function*(e,t,n,r){let i=0;for(const o of e)yield t.call(r,o,i,e),yield n.call(r,o,i,e),++i}(e,t,n,r)))}constructor(e){this._delaunator=new WA(e),this.inedges=new Int32Array(e.length/2),this._hullIndex=new Int32Array(e.length/2),this.points=this._delaunator.coords,this._init()}update(){return this._delaunator.update(),this._init(),this}_init(){const e=this._delaunator,t=this.points;if(e.hull&&e.hull.length>2&&function(e){const{triangles:t,coords:n}=e;for(let e=0;e<t.length;e+=3){const r=2*t[e],i=2*t[e+1],o=2*t[e+2];if((n[o]-n[r])*(n[i+1]-n[r+1])-(n[i]-n[r])*(n[o+1]-n[r+1])>1e-10)return!1}return!0}(e)){this.collinear=Int32Array.from({length:t.length/2},((e,t)=>t)).sort(((e,n)=>t[2*e]-t[2*n]||t[2*e+1]-t[2*n+1]));const e=this.collinear[0],n=this.collinear[this.collinear.length-1],r=[t[2*e],t[2*e+1],t[2*n],t[2*n+1]],i=1e-8*Math.hypot(r[3]-r[1],r[2]-r[0]);for(let e=0,n=t.length/2;e<n;++e){const n=lN(t[2*e],t[2*e+1],i);t[2*e]=n[0],t[2*e+1]=n[1]}this._delaunator=new WA(t)}else delete this.collinear;const n=this.halfedges=this._delaunator.halfedges,r=this.hull=this._delaunator.hull,i=this.triangles=this._delaunator.triangles,o=this.inedges.fill(-1),a=this._hullIndex.fill(-1);for(let e=0,t=n.length;e<t;++e){const t=i[e%3==2?e-2:e+1];-1!==n[e]&&-1!==o[t]||(o[t]=e)}for(let e=0,t=r.length;e<t;++e)a[r[e]]=e;r.length<=2&&r.length>0&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=r[0],o[r[0]]=1,2===r.length&&(o[r[1]]=0,this.triangles[1]=r[1],this.triangles[2]=r[1]))}voronoi(e){return new rN(this,e)}*neighbors(e){const{inedges:t,hull:n,_hullIndex:r,halfedges:i,triangles:o,collinear:a}=this;if(a){const t=a.indexOf(e);return t>0&&(yield a[t-1]),void(t<a.length-1&&(yield a[t+1]))}const s=t[e];if(-1===s)return;let l=s,c=-1;do{if(yield c=o[l],l=l%3==2?l-2:l+1,o[l]!==e)return;if(l=i[l],-1===l){const t=n[(r[e]+1)%n.length];return void(t!==c&&(yield t))}}while(l!==s)}find(e,t,n=0){if((e=+e)!=e||(t=+t)!=t)return-1;const r=n;let i;for(;(i=this._step(n,e,t))>=0&&i!==n&&i!==r;)n=i;return i}_step(e,t,n){const{inedges:r,hull:i,_hullIndex:o,halfedges:a,triangles:s,points:l}=this;if(-1===r[e]||!l.length)return(e+1)%(l.length>>1);let c=e,u=oN(t-l[2*e],2)+oN(n-l[2*e+1],2);const d=r[e];let f=d;do{let r=s[f];const d=oN(t-l[2*r],2)+oN(n-l[2*r+1],2);if(d<u&&(u=d,c=r),f=f%3==2?f-2:f+1,s[f]!==e)break;if(f=a[f],-1===f){if(f=i[(o[e]+1)%i.length],f!==r&&oN(t-l[2*f],2)+oN(n-l[2*f+1],2)<u)return f;break}}while(f!==d);return c}render(e){const t=null==e?e=new tN:void 0,{points:n,halfedges:r,triangles:i}=this;for(let t=0,o=r.length;t<o;++t){const o=r[t];if(o<t)continue;const a=2*i[t],s=2*i[o];e.moveTo(n[a],n[a+1]),e.lineTo(n[s],n[s+1])}return this.renderHull(e),t&&t.value()}renderPoints(e,t){void 0!==t||e&&"function"==typeof e.moveTo||(t=e,e=null),t=null==t?2:+t;const n=null==e?e=new tN:void 0,{points:r}=this;for(let n=0,i=r.length;n<i;n+=2){const i=r[n],o=r[n+1];e.moveTo(i+t,o),e.arc(i,o,t,0,iN)}return n&&n.value()}renderHull(e){const t=null==e?e=new tN:void 0,{hull:n,points:r}=this,i=2*n[0],o=n.length;e.moveTo(r[i],r[i+1]);for(let t=1;t<o;++t){const i=2*n[t];e.lineTo(r[i],r[i+1])}return e.closePath(),t&&t.value()}hullPolygon(){const e=new nN;return this.renderHull(e),e.value()}renderTriangle(e,t){const n=null==t?t=new tN:void 0,{points:r,triangles:i}=this,o=2*i[e*=3],a=2*i[e+1],s=2*i[e+2];return t.moveTo(r[o],r[o+1]),t.lineTo(r[a],r[a+1]),t.lineTo(r[s],r[s+1]),t.closePath(),n&&n.value()}*trianglePolygons(){const{triangles:e}=this;for(let t=0,n=e.length/3;t<n;++t)yield this.trianglePolygon(t)}trianglePolygon(e){const t=new nN;return this.renderTriangle(e,t),t.value()}}var uN=function(e){return[e.x,e.y]},dN=sS,fN="cursor",hN=function(e){var t=e.points,n=e.getNodePosition,r=void 0===n?uN:n,i=e.margin,o=void 0===i?dN:i;return t.map((function(e){var t=r(e),n=t[0],i=t[1];return[n+o.left,i+o.top]}))},pN=function(e){var t=e.points,n=e.getNodePosition,r=void 0===n?uN:n,i=e.width,o=e.height,a=e.margin,s=void 0===a?dN:a,l=e.debug;return fe((function(){return function(e){var t=e.points,n=e.width,r=e.height,i=e.margin,o=void 0===i?dN:i,a=e.debug,s=cN.from(t),l=a?s.voronoi([0,0,o.left+n+o.right,o.top+r+o.bottom]):void 0;return{points:t,delaunay:s,voronoi:l}}({points:hN({points:t,margin:s,getNodePosition:r}),width:i,height:o,margin:s,debug:l})}),[t,i,o,s,l])},gN=function(e){var t=e.nodes,n=e.width,r=e.height,i=e.margin,o=void 0===i?dN:i,a=e.getNodePosition,s=e.setCurrent,l=e.onMouseEnter,c=e.onMouseMove,u=e.onMouseLeave,d=e.onClick,f=e.onTouchStart,h=e.onTouchMove,p=e.onTouchEnd,g=e.enableTouchCrosshair,m=void 0!==g&&g,v=e.detectionRadius,b=void 0===v?1/0:v,y=e.tooltip,_=e.tooltipPosition,w=void 0===_?fN:_,x=e.tooltipAnchor,k=void 0===x?"top":x,C=e.debug,S=de(null),M=pN({points:t,getNodePosition:a,width:n,height:r,margin:o,debug:C}),A=M.delaunay,N=M.voronoi,O=function(e){var t=e.elementRef,n=e.nodes,r=e.getNodePosition,i=void 0===r?uN:r,o=e.delaunay,a=e.setCurrent,s=e.margin,l=void 0===s?dN:s,c=e.detectionRadius,u=void 0===c?1/0:c,d=e.isInteractive,f=void 0===d||d,h=e.onMouseEnter,p=e.onMouseMove,g=e.onMouseLeave,m=e.onClick,v=e.onTouchStart,b=e.onTouchMove,y=e.onTouchEnd,_=e.enableTouchCrosshair,w=void 0!==_&&_,x=e.tooltip,k=e.tooltipPosition,C=void 0===k?fN:k,S=e.tooltipAnchor,M=void 0===S?"top":S,T=ce(null),A=T[0],N=T[1],O=de(null);ue((function(){O.current=A}),[O,A]);var P=he((function(e){if(!t.current)return null;var r=VS(t.current,e),a=r[0],s=r[1],c=o.find(a,s),d=void 0!==c?n[c]:null;if(d&&u!==1/0){var f=i(d),h=f[0],p=f[1];(function(e,t,n,r){var i=n-e,o=r-t;return i*=i,o*=o,Math.sqrt(i+o)})(a,s,h+l.left,p+l.top)>u&&(c=null,d=null)}return null===c||null===d?null:[c,d]}),[t,o,n,i,l,u]),L=vu(),E=L.showTooltipAt,j=L.showTooltipFromEvent,z=L.hideTooltip,F=fe((function(){if(x)return"cursor"===C?function(e,t){j(x(e),t,M)}:function(e){var t=i(e),n=t[0],r=t[1];E(x(e),[n+l.left,r+l.top],M)}}),[E,j,x,C,M,i,l]),B=he((function(e){var t=P(e);if(N(t),null==a||a(t?t[1]:null),t){var n=t[1];null==F||F(n,e),null==h||h(t[1],e)}}),[P,N,a,F,h]),R=he((function(e){var t=P(e);if(N(t),t){var n=t[0],r=t[1];if(null==a||a(r),null==F||F(r,e),O.current){var i=O.current,o=i[0],s=i[1];n!==o?null==g||g(s,e):null==p||p(r,e)}else null==h||h(r,e)}else null==a||a(null),null==z||z(),O.current&&(null==g||g(O.current[1],e))}),[P,N,O,h,p,g,F,z]),$=he((function(e){N(null),null==a||a(null),z(),g&&O.current&&g(O.current[1],e)}),[N,a,O,z,g]),D=he((function(e){var t=P(e);N(t),t&&(null==m||m(t[1],e))}),[P,N,m]),I=he((function(e){var t=P(e);w&&(N(t),null==a||a(t?t[1]:null)),t&&(null==v||v(t[1],e))}),[P,N,a,w,v]),U=he((function(e){var t=P(e);w&&(N(t),null==a||a(t?t[1]:null)),t&&(null==b||b(t[1],e))}),[P,N,a,w,b]),H=he((function(e){w&&(N(null),null==a||a(null)),y&&O.current&&y(O.current[1],e)}),[w,N,a,y,O]);return{current:A,handleMouseEnter:f?B:void 0,handleMouseMove:f?R:void 0,handleMouseLeave:f?$:void 0,handleClick:f?D:void 0,handleTouchStart:f?I:void 0,handleTouchMove:f?U:void 0,handleTouchEnd:f?H:void 0}}({elementRef:S,nodes:t,delaunay:A,margin:o,detectionRadius:b,setCurrent:s,onMouseEnter:l,onMouseMove:c,onMouseLeave:u,onClick:d,onTouchStart:f,onTouchMove:h,onTouchEnd:p,enableTouchCrosshair:m,tooltip:y,tooltipPosition:w,tooltipAnchor:k}),P=O.current,L=O.handleMouseEnter,E=O.handleMouseMove,j=O.handleMouseLeave,z=O.handleClick,F=O.handleTouchStart,B=O.handleTouchMove,R=O.handleTouchEnd,$=fe((function(){if(C&&N)return N.render()}),[C,N]);return Je("g",{ref:S,transform:"translate("+-o.left+","+-o.top+")",children:[C&&N&&Je(T,{children:[Je("path",{d:$,stroke:"red",strokeWidth:1,opacity:.75}),b<1/0&&Je("path",{stroke:"red",strokeWidth:.35,fill:"none",d:A.renderPoints(void 0,b)}),P&&Je("path",{fill:"pink",opacity:.35,d:N.renderCell(P[0])})]}),Je("rect",{"data-ref":"mesh-interceptor",width:o.left+n+o.right,height:o.top+r+o.bottom,fill:"red",opacity:0,style:{cursor:"auto"},onMouseEnter:L,onMouseMove:E,onMouseLeave:j,onTouchStart:F,onTouchMove:B,onTouchEnd:R,onClick:z})]})};function mN(){return mN=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mN.apply(this,arguments)}var vN=Se((function(e){var t=e.point;return Je(yl,{id:Je("span",{children:["x: ",Je("strong",{children:t.data.xFormatted}),", y:"," ",Je("strong",{children:t.data.yFormatted})]}),enableChip:!0,color:t.serieColor})})),bN=Se((function(e){var t=e.slice,n=e.axis,r=pS(),i="x"===n?"y":"x";return Je(wl,{rows:t.points.map((function(e){return[Je(bl,{color:e.serieColor,style:r.tooltip.chip},"chip"),e.serieId,Je("span",{style:r.tooltip.tableCellValue,children:e.data[i+"Formatted"]},"value")]}))})})),yN={curve:"linear",xScale:{type:"point"},yScale:{type:"linear",min:0,max:"auto"},layers:["grid","markers","axes","areas","crosshair","lines","points","slices","mesh","legends"],axisBottom:{},axisLeft:{},enableGridX:!0,enableGridY:!0,enablePoints:!0,pointSize:6,pointColor:{from:"color"},pointBorderWidth:0,pointBorderColor:{theme:"background"},enablePointLabel:!1,pointLabel:"yFormatted",colors:{scheme:"nivo"},enableArea:!1,areaBaselineValue:0,areaOpacity:.2,areaBlendMode:"normal",lineWidth:2,legends:[],isInteractive:!0,tooltip:vN,enableSlices:!1,debugSlices:!1,sliceTooltip:bN,debugMesh:!1,enableCrosshair:!0,crosshairType:"bottom-left"},_N=mN({},yN,{enablePointLabel:!1,useMesh:!1,enableTouchCrosshair:!1,animate:!0,motionConfig:"gentle",defs:[],fill:[],role:"img",initialHiddenIds:[]});mN({},yN,{pixelRatio:"undefined"!=typeof window&&window.devicePixelRatio||1});var wN=function(e){var t=e.curve;return fe((function(){return z_().defined((function(e){return null!==e.x&&null!==e.y})).x((function(e){return e.x})).y((function(e){return e.y})).curve(aS(t))}),[t])},xN=function(e){var t=e.curve,n=e.yScale,r=e.areaBaselineValue;return fe((function(){return function(e,t,n){var r=null,i=x_(!0),o=null,a=L_,s=null,l=N_(c);function c(c){var u,d,f,h,p,g=(c=O_(c)).length,m=!1,v=new Array(g),b=new Array(g);for(null==o&&(s=a(p=l())),u=0;u<=g;++u){if(!(u<g&&i(h=c[u],u,c))===m)if(m=!m)d=u,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),f=u-1;f>=d;--f)s.point(v[f],b[f]);s.lineEnd(),s.areaEnd()}m&&(v[u]=+e(h,u,c),b[u]=+t(h,u,c),s.point(r?+r(h,u,c):v[u],n?+n(h,u,c):b[u]))}if(p)return s=null,p+""||null}function u(){return z_().defined(i).curve(a).context(o)}return e="function"==typeof e?e:void 0===e?E_:x_(+e),t="function"==typeof t?t:x_(void 0===t?0:+t),n="function"==typeof n?n:void 0===n?j_:x_(+n),c.x=function(t){return arguments.length?(e="function"==typeof t?t:x_(+t),r=null,c):e},c.x0=function(t){return arguments.length?(e="function"==typeof t?t:x_(+t),c):e},c.x1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:x_(+e),c):r},c.y=function(e){return arguments.length?(t="function"==typeof e?e:x_(+e),n=null,c):t},c.y0=function(e){return arguments.length?(t="function"==typeof e?e:x_(+e),c):t},c.y1=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:x_(+e),c):n},c.lineX0=c.lineY0=function(){return u().x(e).y(t)},c.lineY1=function(){return u().x(e).y(n)},c.lineX1=function(){return u().x(r).y(t)},c.defined=function(e){return arguments.length?(i="function"==typeof e?e:x_(!!e),c):i},c.curve=function(e){return arguments.length?(a=e,null!=o&&(s=a(o)),c):a},c.context=function(e){return arguments.length?(null==e?o=s=null:s=a(o=e),c):o},c}().defined((function(e){return null!==e.x&&null!==e.y})).x((function(e){return e.x})).y1((function(e){return e.y})).curve(aS(t)).y0(n(r))}),[t,n,r])},kN=function(e){var t=e.data,n=e.xScale,r=void 0===n?_N.xScale:n,i=e.xFormat,o=e.yScale,a=void 0===o?_N.yScale:o,s=e.yFormat,l=e.width,c=e.height,u=e.colors,d=void 0===u?_N.colors:u,f=e.curve,h=void 0===f?_N.curve:f,p=e.areaBaselineValue,g=void 0===p?_N.areaBaselineValue:p,m=e.pointColor,v=void 0===m?_N.pointColor:m,b=e.pointBorderColor,y=void 0===b?_N.pointBorderColor:b,_=e.enableSlices,w=void 0===_?_N.enableSlicesTooltip:_,x=e.initialHiddenIds,k=void 0===x?_N.initialHiddenIds:x,C=ce(jA("line"))[0],S=uS(i),M=uS(s),T=function(e,t){return fe((function(){return function(e,t){if("function"==typeof e)return e;var n=function(e){return Fh(e,"id")};if(Array.isArray(e)){var r=_g(e),i=function(e){return r(n(e))};return i.scale=r,i}if(Hk(e)){if(function(e){return void 0!==e.datum}(e))return function(t){return Fh(t,e.datum)};if(function(e){return void 0!==e.scheme}(e)){if(function(e){return QS.includes(e)}(e.scheme)){var o=_g(iM[e.scheme]),a=function(e){return o(n(e))};return a.scale=o,a}if(function(e){return JS.includes(e)}(e.scheme)){if(void 0!==e.size&&(e.size<3||e.size>11))throw new Error("Invalid size '"+e.size+"' for diverging color scheme '"+e.scheme+"', must be between 3~11");var s=_g(iM[e.scheme][e.size||11]),l=function(e){return s(n(e))};return l.scale=s,l}if(function(e){return nM.includes(e)}(e.scheme)){if(void 0!==e.size&&(e.size<3||e.size>9))throw new Error("Invalid size '"+e.size+"' for sequential color scheme '"+e.scheme+"', must be between 3~9");var c=_g(iM[e.scheme][e.size||9]),u=function(e){return c(n(e))};return u.scale=c,u}}throw new Error("Invalid colors, when using an object, you should either pass a 'datum' or a 'scheme' property")}return function(){return e}}(e)}),[e,"id"])}(d),A=pS(),N=hM(v,A),O=hM(y,A),P=ce(null!=k?k:[]),L=P[0],E=P[1],j=fe((function(){return function(e,t,n,r,i){var o=e.map((function(e){return function(e){return WT({},e,{data:e.data.map((function(e){return{data:WT({},e)}}))})}(e)})),a=function(e,t,n){return{x:nA(e,"x",t),y:nA(e,"y",n)}}(o,t,n);"stacked"in t&&!0===t.stacked&&function(e,t){rA("x",e,t)}(a,o),"stacked"in n&&!0===n.stacked&&function(e,t){rA("y",e,t)}(a,o);var s=eA(t,a.x,r,"x"),l=eA(n,a.y,i,"y"),c=o.map((function(e){return WT({},e,{data:e.data.map((function(e){return WT({},e,{position:{x:tA(e,"x",s),y:tA(e,"y",l)}})}))})}));return WT({},a,{series:c,xScale:s,yScale:l})}(t.filter((function(e){return-1===L.indexOf(e.id)})),r,a,l,c)}),[t,L,r,a,l,c]),z=j.xScale,F=j.yScale,B=j.series,R=fe((function(){var e=t.map((function(e){return{id:e.id,label:e.id,color:T(e)}})),n=e.map((function(e){return mN({},B.find((function(t){return t.id===e.id})),{color:e.color})})).filter((function(e){return Boolean(e.id)}));return{legendData:e.map((function(e){return mN({},e,{hidden:!n.find((function(t){return t.id===e.id}))})})).reverse(),series:n}}),[t,B,T]),$=R.legendData,D=R.series,I=he((function(e){E((function(t){return t.indexOf(e)>-1?t.filter((function(t){return t!==e})):[].concat(t,[e])}))}),[]),U=function(e){var t=e.series,n=e.getPointColor,r=e.getPointBorderColor,i=e.formatX,o=e.formatY;return fe((function(){return t.reduce((function(e,t){return[].concat(e,t.data.filter((function(e){return null!==e.position.x&&null!==e.position.y})).map((function(a,s){var l={id:t.id+"."+s,index:e.length+s,serieId:t.id,serieColor:t.color,x:a.position.x,y:a.position.y};return l.color=n(t),l.borderColor=r(l),l.data=mN({},a.data,{xFormatted:i(a.data.x),yFormatted:o(a.data.y)}),l})))}),[])}),[t,n,r,i,o])}({series:D,getPointColor:N,getPointBorderColor:O,formatX:S,formatY:M}),H=function(e){var t=e.componentId,n=e.enableSlices,r=e.points,i=e.width,o=e.height;return fe((function(){if(!1===n)return[];if("x"===n){var e=new Map;return r.forEach((function(t){null!==t.data.x&&null!==t.data.y&&(e.has(t.x)?e.get(t.x).push(t):e.set(t.x,[t]))})),Array.from(e.entries()).sort((function(e,t){return e[0]-t[0]})).map((function(e,n,r){var a,s,l=e[0],c=e[1],u=r[n-1],d=r[n+1];return a=u?l-(l-u[0])/2:l,s=d?l-a+(d[0]-l)/2:i-a,{id:"slice:"+t+":"+l,x0:a,x:l,y0:0,y:0,width:s,height:o,points:c.reverse()}}))}if("y"===n){var a=new Map;return r.forEach((function(e){null!==e.data.x&&null!==e.data.y&&(a.has(e.y)?a.get(e.y).push(e):a.set(e.y,[e]))})),Array.from(a.entries()).sort((function(e,t){return e[0]-t[0]})).map((function(e,t,n){var r,a,s=e[0],l=e[1],c=n[t-1],u=n[t+1];return r=c?s-(s-c[0])/2:s,a=u?s-r+(u[0]-s)/2:o-r,{id:s,x0:0,x:0,y0:r,y:s,width:i,height:a,points:l.reverse()}}))}}),[t,n,o,r,i])}({componentId:C,enableSlices:w,points:U,width:l,height:c});return{legendData:$,toggleSerie:I,lineGenerator:wN({curve:h}),areaGenerator:xN({curve:h,yScale:F,areaBaselineValue:g}),getColor:T,series:D,xScale:z,yScale:F,slices:H,points:U}},CN=function(e){var t=e.areaBlendMode,n=e.areaOpacity,r=e.color,i=e.fill,o=e.path,a=eS(),s=a.animate,l=a.config,c=tS(o),u=Ys({color:r,config:l,immediate:!s});return Je(hl.path,{d:c,fill:i||u.color,fillOpacity:n,strokeWidth:0,style:{mixBlendMode:t}})},SN=Se((function(e){var t=e.areaGenerator,n=e.areaOpacity,r=e.areaBlendMode;return Je("g",{children:e.lines.slice(0).reverse().map((function(e){return Je(CN,mN({path:t(e.data.map((function(e){return e.position})))},mN({areaOpacity:n,areaBlendMode:r},e)),e.id)}))})})),MN=Se((function(e){var t=e.lineGenerator,n=e.points,r=e.color,i=e.thickness,o=fe((function(){return t(n)}),[t,n]),a=tS(o);return Je(hl.path,{d:a,fill:"none",strokeWidth:i,stroke:r})})),TN=Se((function(e){var t=e.lines,n=e.lineGenerator,r=e.lineWidth;return t.slice(0).reverse().map((function(e){var t=e.id,i=e.data,o=e.color;return Je(MN,{id:t,points:i.map((function(e){return e.position})),lineGenerator:n,color:o,thickness:r},t)}))})),AN=Se((function(e){var t=e.slice,n=e.slices,r=e.axis,i=e.debug,o=e.tooltip,a=e.isCurrent,s=e.setCurrent,l=e.onMouseEnter,c=e.onMouseMove,u=e.onMouseLeave,d=e.onClick,f=e.onTouchStart,h=e.onTouchMove,p=e.onTouchEnd,g=vu(),m=g.showTooltipFromEvent,v=g.hideTooltip,b=he((function(e){m(S(o,{slice:t,axis:r}),e,"right"),s(t),l&&l(t,e)}),[m,o,t,r,s,l]),y=he((function(e){m(S(o,{slice:t,axis:r}),e,"right"),c&&c(t,e)}),[m,o,t,r,c]),_=he((function(e){v(),s(null),u&&u(t,e)}),[v,s,u,t]),w=he((function(e){d&&d(t,e)}),[t,d]),x=he((function(e){m(S(o,{slice:t,axis:r}),e,"right"),s(t),f&&f(t,e)}),[r,f,s,m,t,o]),k=he((function(e){var i=e.touches[0],a=document.elementFromPoint(i.clientX,i.clientY),l=null==a?void 0:a.getAttribute("data-ref");if(l){var c=n.find((function(e){return e.id===l}));c&&(m(S(o,{slice:c,axis:r}),e,"right"),s(c))}h&&h(t,e)}),[r,h,s,m,t,n,o]),C=he((function(e){v(),s(null),p&&p(t,e)}),[v,s,p,t]);return Je("rect",{x:t.x0,y:t.y0,width:t.width,height:t.height,stroke:"red",strokeWidth:i?1:0,strokeOpacity:.75,fill:"red",fillOpacity:a&&i?.35:0,onMouseEnter:b,onMouseMove:y,onMouseLeave:_,onClick:w,onTouchStart:x,onTouchMove:k,onTouchEnd:C,"data-ref":t.id})})),NN=Se((function(e){var t=e.slices,n=e.axis,r=e.debug,i=e.height,o=e.tooltip,a=e.current,s=e.setCurrent,l=e.onMouseEnter,c=e.onMouseMove,u=e.onMouseLeave,d=e.onClick,f=e.onTouchStart,h=e.onTouchMove,p=e.onTouchEnd;return t.map((function(e){return Je(AN,{slice:e,slices:t,axis:n,debug:r,height:i,tooltip:o,setCurrent:s,isCurrent:null!==a&&a.id===e.id,onMouseEnter:l,onMouseMove:c,onMouseLeave:u,onClick:d,onTouchStart:f,onTouchMove:h,onTouchEnd:p},e.id)}))})),ON=Se((function(e){var t=e.points,n=e.symbol,r=e.size,i=e.borderWidth,o=e.enableLabel,a=e.label,s=e.labelYOffset,l=pS(),c=function(e){return g_(e)?e:function(t){return Fh(t,e)}}(a),u=t.slice(0).reverse().map((function(e){return{id:e.id,x:e.x,y:e.y,datum:e.data,fill:e.color,stroke:e.borderColor,label:o?c(e):null}}));return Je("g",{children:u.map((function(e){return Je(RS,{x:e.x,y:e.y,datum:e.datum,symbol:n,size:r,color:e.fill,borderWidth:i,borderColor:e.stroke,label:e.label,labelYOffset:s,theme:l},e.id)}))})})),PN=Se((function(e){var t=e.points,n=e.width,r=e.height,i=e.margin,o=e.setCurrent,a=e.onMouseEnter,s=e.onMouseMove,l=e.onMouseLeave,c=e.onClick,u=e.onTouchStart,d=e.onTouchMove,f=e.onTouchEnd,h=e.tooltip,p=e.debug,g=e.enableTouchCrosshair,m=vu(),v=m.showTooltipAt,b=m.hideTooltip,y=he((function(e,t){v(S(h,{point:e}),[e.x+i.left,e.y+i.top],"top"),a&&a(e,t)}),[v,h,a,i]),_=he((function(e,t){v(S(h,{point:e}),[e.x+i.left,e.y+i.top],"top"),s&&s(e,t)}),[v,h,i.left,i.top,s]),w=he((function(e,t){b(),l&&l(e,t)}),[b,l]),x=he((function(e,t){c&&c(e,t)}),[c]),k=he((function(e,t){v(S(h,{point:e}),[e.x+i.left,e.y+i.top],"top"),u&&u(e,t)}),[i.left,i.top,u,v,h]),C=he((function(e,t){v(S(h,{point:e}),[e.x+i.left,e.y+i.top],"top"),d&&d(e,t)}),[i.left,i.top,d,v,h]),M=he((function(e,t){b(),f&&f(e,t)}),[f,b]);return Je(gN,{nodes:t,width:n,height:r,setCurrent:o,onMouseEnter:y,onMouseMove:_,onMouseLeave:w,onClick:x,onTouchStart:k,onTouchMove:C,onTouchEnd:M,enableTouchCrosshair:g,debug:p})})),LN=(qS((function(e){var t=e.data,n=e.xScale,r=void 0===n?{type:"point"}:n,i=e.xFormat,o=e.yScale,a=void 0===o?{type:"linear",min:0,max:"auto"}:o,s=e.yFormat,l=e.layers,c=void 0===l?["grid","markers","axes","areas","crosshair","lines","points","slices","mesh","legends"]:l,u=e.curve,d=void 0===u?"linear":u,f=e.areaBaselineValue,h=void 0===f?0:f,p=e.colors,g=void 0===p?{scheme:"nivo"}:p,m=e.margin,v=e.width,b=e.height,y=e.axisTop,_=e.axisRight,w=e.axisBottom,x=void 0===w?{}:w,k=e.axisLeft,C=void 0===k?{}:k,S=e.enableGridX,M=void 0===S||S,A=e.enableGridY,N=void 0===A||A,O=e.gridXValues,P=e.gridYValues,L=e.lineWidth,E=void 0===L?2:L,j=e.enableArea,z=void 0!==j&&j,F=e.areaOpacity,B=void 0===F?.2:F,R=e.areaBlendMode,$=void 0===R?"normal":R,D=e.enablePoints,I=void 0===D||D,U=e.pointSymbol,H=e.pointSize,q=void 0===H?6:H,V=e.pointColor,W=void 0===V?{from:"color"}:V,Y=e.pointBorderWidth,G=void 0===Y?0:Y,Z=e.pointBorderColor,K=void 0===Z?{theme:"background"}:Z,Q=e.enablePointLabel,X=void 0!==Q&&Q,J=e.pointLabel,ee=void 0===J?"data.yFormatted":J,te=e.pointLabelYOffset,ne=e.defs,re=void 0===ne?[]:ne,ie=e.fill,oe=void 0===ie?[]:ie,ae=e.markers,se=e.legends,le=void 0===se?[]:se,ue=e.isInteractive,de=void 0===ue||ue,fe=e.useMesh,he=void 0!==fe&&fe,pe=e.debugMesh,ge=void 0!==pe&&pe,me=e.onMouseEnter,ve=e.onMouseMove,be=e.onMouseLeave,ye=e.onClick,_e=e.onTouchStart,we=e.onTouchMove,xe=e.onTouchEnd,ke=e.tooltip,Ce=void 0===ke?vN:ke,Se=e.enableSlices,Me=void 0!==Se&&Se,Te=e.debugSlices,Ae=void 0!==Te&&Te,Ne=e.sliceTooltip,Oe=void 0===Ne?bN:Ne,Pe=e.enableCrosshair,Le=void 0===Pe||Pe,Ee=e.crosshairType,je=void 0===Ee?"bottom-left":Ee,ze=e.enableTouchCrosshair,Fe=void 0!==ze&&ze,Be=e.role,Re=void 0===Be?"img":Be,$e=e.initialHiddenIds,De=void 0===$e?[]:$e,Ie=lS(v,b,m),Ue=Ie.margin,He=Ie.innerWidth,qe=Ie.innerHeight,Ve=Ie.outerWidth,We=Ie.outerHeight,Ye=kN({data:t,xScale:r,xFormat:i,yScale:a,yFormat:s,width:He,height:qe,colors:g,curve:d,areaBaselineValue:h,pointColor:W,pointBorderColor:K,enableSlices:Me,initialHiddenIds:De}),Ge=Ye.legendData,Ze=Ye.toggleSerie,Ke=Ye.lineGenerator,Qe=Ye.areaGenerator,Xe=Ye.series,et=Ye.xScale,tt=Ye.yScale,nt=Ye.slices,rt=Ye.points,it=pS(),ot=hM(W,it),at=hM(K,it),st=ce(null),lt=st[0],ct=st[1],ut=ce(null),dt=ut[0],ft=ut[1],ht={grid:Je(yA,{theme:it,width:He,height:qe,xScale:M?et:null,yScale:N?tt:null,xValues:O,yValues:P},"grid"),markers:Je(US,{markers:ae,width:He,height:qe,xScale:et,yScale:tt,theme:it},"markers"),axes:Je(mA,{xScale:et,yScale:tt,width:He,height:qe,theme:it,top:y,right:_,bottom:x,left:C},"axes"),areas:null,lines:Je(TN,{lines:Xe,lineGenerator:Ke,lineWidth:E},"lines"),slices:null,points:null,crosshair:null,mesh:null,legends:le.map((function(e,t){return Je(PA,mN({},e,{containerWidth:He,containerHeight:qe,data:e.data||Ge,theme:it,toggleSerie:e.toggleSerie?Ze:void 0}),"legend."+t)}))},pt=function(e,t,n,r){var i={},o=i.dataKey,a=i.colorKey,s=void 0===a?"color":a,l=i.targetKey,c=void 0===l?"fill":l,u=[],d={};return e.length&&t.length&&(u=[].concat(e),t.forEach((function(t){for(var r=function(){var r=n[i],a=r.id;if(function(e,t,n){if("*"===e)return!0;if(g_(e))return e(t);if(Hk(e)){var r=n?Fh(t,n):t;return VC(RC(r,Object.keys(e)),e)}return!1}(r.match,t,o)){var l=e.find((function(e){return e.id===a}));if(l)if(YS.includes(l.type))if("inherit"===l.background||"inherit"===l.color){var f=Fh(t,s),h=l.background,p=l.color,g=a;"inherit"===l.background&&(g=g+".bg."+f,h=f),"inherit"===l.color&&(g=g+".fg."+f,p=f),$h(t,c,"url(#"+g+")"),d[g]||(u.push(YC({},l,{id:g,background:h,color:p})),d[g]=1)}else $h(t,c,"url(#"+a+")");else if(WS.includes(l.type))if(l.colors.map((function(e){return e.color})).includes("inherit")){var m=Fh(t,s),v=a,b=YC({},l,{colors:l.colors.map((function(e,t){return"inherit"!==e.color?e:(v=v+"."+t+"."+m,YC({},e,{color:"inherit"===e.color?m:e.color}))}))});b.id=v,$h(t,c,"url(#"+v+")"),d[v]||(u.push(b),d[v]=1)}else $h(t,c,"url(#"+a+")");return"break"}},i=0;i<n.length&&"break"!==r();i++);}))),u}(re,Xe,oe);return z&&(ht.areas=Je(SN,{areaGenerator:Qe,areaOpacity:B,areaBlendMode:$,lines:Xe},"areas")),de&&!1!==Me&&(ht.slices=Je(NN,{slices:nt,axis:Me,debug:Ae,height:qe,tooltip:Oe,current:dt,setCurrent:ft,onMouseEnter:me,onMouseMove:ve,onMouseLeave:be,onClick:ye,onTouchStart:_e,onTouchMove:we,onTouchEnd:xe},"slices")),I&&(ht.points=Je(ON,{points:rt,symbol:U,size:q,color:ot,borderWidth:G,borderColor:at,enableLabel:X,label:ee,labelYOffset:te},"points")),de&&Le&&(null!==lt&&(ht.crosshair=Je(kl,{width:He,height:qe,x:lt.x,y:lt.y,type:je},"crosshair")),null!==dt&&(ht.crosshair=Je(kl,{width:He,height:qe,x:dt.x,y:dt.y,type:Me},"crosshair"))),de&&he&&!1===Me&&(ht.mesh=Je(PN,{points:rt,width:He,height:qe,margin:Ue,current:lt,setCurrent:ct,onMouseEnter:me,onMouseMove:ve,onMouseLeave:be,onClick:ye,onTouchStart:_e,onTouchMove:we,onTouchEnd:xe,tooltip:Ce,enableTouchCrosshair:Fe,debug:ge},"mesh")),Je(jS,{defs:pt,width:Ve,height:We,margin:Ue,role:Re,children:c.map((function(t,n){return"function"==typeof t?Je(T,{children:t(mN({},e,{innerWidth:He,innerHeight:qe,series:Xe,slices:nt,points:rt,xScale:et,yScale:tt,lineGenerator:Ke,areaGenerator:Qe,currentPoint:lt,setCurrentPoint:ct,currentSlice:dt,setCurrentSlice:ft}))},n):ht[t]}))})})),qS((function(e){var t=de(null),n=e.width,r=e.height,i=e.margin,o=e.pixelRatio,a=void 0===o?"undefined"!=typeof window&&window.devicePixelRatio||1:o,s=e.data,l=e.xScale,c=void 0===l?{type:"point"}:l,u=e.xFormat,d=e.yScale,f=void 0===d?{type:"linear",min:0,max:"auto"}:d,h=e.yFormat,p=e.curve,g=void 0===p?"linear":p,m=e.layers,v=void 0===m?["grid","markers","axes","areas","crosshair","lines","points","slices","mesh","legends"]:m,b=e.colors,y=void 0===b?{scheme:"nivo"}:b,_=e.lineWidth,w=void 0===_?2:_,x=e.enableArea,k=void 0!==x&&x,C=e.areaBaselineValue,M=void 0===C?0:C,T=e.areaOpacity,A=void 0===T?.2:T,N=e.enablePoints,O=void 0===N||N,P=e.pointSize,L=void 0===P?6:P,E=e.pointColor,j=void 0===E?{from:"color"}:E,z=e.pointBorderWidth,F=void 0===z?0:z,B=e.pointBorderColor,R=void 0===B?{theme:"background"}:B,$=e.enableGridX,D=void 0===$||$,I=e.gridXValues,U=e.enableGridY,H=void 0===U||U,q=e.gridYValues,V=e.axisTop,W=e.axisRight,Y=e.axisBottom,G=void 0===Y?{}:Y,Z=e.axisLeft,K=void 0===Z?{}:Z,Q=e.legends,X=void 0===Q?[]:Q,J=e.isInteractive,ee=void 0===J||J,te=e.debugMesh,ne=void 0!==te&&te,re=e.onMouseLeave,ie=e.onClick,oe=e.tooltip,ae=void 0===oe?vN:oe,se=e.canvasRef,le=lS(n,r,i),fe=le.margin,pe=le.innerWidth,ge=le.innerHeight,me=le.outerWidth,ve=le.outerHeight,be=pS(),ye=ce(null),_e=ye[0],we=ye[1],xe=kN({data:s,xScale:c,xFormat:u,yScale:f,yFormat:h,width:pe,height:ge,colors:y,curve:g,areaBaselineValue:M,pointColor:j,pointBorderColor:R}),ke=xe.lineGenerator,Ce=xe.areaGenerator,Se=xe.series,Me=xe.xScale,Te=xe.yScale,Ae=xe.points,Ne=pN({points:Ae,width:pe,height:ge,debug:ne}),Oe=Ne.delaunay,Pe=Ne.voronoi;ue((function(){se&&(se.current=t.current),t.current.width=me*a,t.current.height=ve*a;var e=t.current.getContext("2d");e.scale(a,a),e.fillStyle=be.background,e.fillRect(0,0,me,ve),e.translate(fe.left,fe.top),v.forEach((function(t){if("function"==typeof t&&t({ctx:e,innerWidth:pe,innerHeight:ge,series:Se,points:Ae,xScale:Me,yScale:Te,lineWidth:w,lineGenerator:ke,areaGenerator:Ce,currentPoint:_e,setCurrentPoint:we}),"grid"===t&&be.grid.line.strokeWidth>0&&(e.lineWidth=be.grid.line.strokeWidth,e.strokeStyle=be.grid.line.stroke,D&&_A(e,{width:pe,height:ge,scale:Me,axis:"x",values:I}),H&&_A(e,{width:pe,height:ge,scale:Te,axis:"y",values:q})),"axes"===t&&function(e,t){var n=t.xScale,r=t.yScale,i=t.width,o=t.height,a=t.theme,s={top:t.top,right:t.right,bottom:t.bottom,left:t.left};gA.forEach((function(t){var l=s[t];if(!l)return null;var c="top"===t||"bottom"===t,u="top"===t||"left"===t?"before":"after",d=c?n:r,f=dA(l.format,d);!function(e,t){var n,r=t.axis,i=t.scale,o=t.x,a=void 0===o?0:o,s=t.y,l=void 0===s?0:s,c=t.length,u=t.ticksPosition,d=t.tickValues,f=t.tickSize,h=void 0===f?5:f,p=t.tickPadding,g=void 0===p?5:p,m=t.tickRotation,v=void 0===m?0:m,b=t.format,y=t.legend,_=t.legendPosition,w=void 0===_?"end":_,x=t.legendOffset,k=void 0===x?0:x,C=t.theme,S=uA({axis:r,scale:i,ticksPosition:u,tickValues:d,tickSize:h,tickPadding:g,tickRotation:v,engine:"canvas"}),M=S.ticks,T=S.textAlign,A=S.textBaseline;e.save(),e.translate(a,l),e.textAlign=T,e.textBaseline=A;var N=C.axis.ticks.text;e.font=(N.fontWeight?N.fontWeight+" ":"")+N.fontSize+"px "+N.fontFamily,(null!=(n=C.axis.domain.line.strokeWidth)?n:0)>0&&(e.lineWidth=Number(C.axis.domain.line.strokeWidth),e.lineCap="square",C.axis.domain.line.stroke&&(e.strokeStyle=C.axis.domain.line.stroke),e.beginPath(),e.moveTo(0,0),e.lineTo("x"===r?c:0,"x"===r?0:c),e.stroke());var O="function"==typeof b?b:function(e){return""+e};if(M.forEach((function(t){var n;(null!=(n=C.axis.ticks.line.strokeWidth)?n:0)>0&&(e.lineWidth=Number(C.axis.ticks.line.strokeWidth),e.lineCap="square",C.axis.ticks.line.stroke&&(e.strokeStyle=C.axis.ticks.line.stroke),e.beginPath(),e.moveTo(t.x,t.y),e.lineTo(t.x+t.lineX,t.y+t.lineY),e.stroke());var r=O(t.value);e.save(),e.translate(t.x+t.textX,t.y+t.textY),e.rotate(SS(v)),N.outlineWidth>0&&(e.strokeStyle=N.outlineColor,e.lineWidth=2*N.outlineWidth,e.lineJoin="round",e.strokeText(""+r,0,0)),C.axis.ticks.text.fill&&(e.fillStyle=N.fill),e.fillText(""+r,0,0),e.restore()})),void 0!==y){var P=0,L=0,E=0,j="center";"y"===r?(E=-90,P=k,"start"===w?(j="start",L=c):"middle"===w?(j="center",L=c/2):"end"===w&&(j="end")):(L=k,"start"===w?j="start":"middle"===w?(j="center",P=c/2):"end"===w&&(j="end",P=c)),e.translate(P,L),e.rotate(SS(E)),e.font=(C.axis.legend.text.fontWeight?C.axis.legend.text.fontWeight+" ":"")+C.axis.legend.text.fontSize+"px "+C.axis.legend.text.fontFamily,C.axis.legend.text.fill&&(e.fillStyle=C.axis.legend.text.fill),e.textAlign=j,e.textBaseline="middle",e.fillText(y,0,0)}e.restore()}(e,cA({},l,{axis:c?"x":"y",x:"right"===t?i:0,y:"bottom"===t?o:0,scale:d,format:f,length:c?i:o,ticksPosition:u,theme:a}))}))}(e,{xScale:Me,yScale:Te,width:pe,height:ge,top:V,right:W,bottom:G,left:K,theme:be}),"areas"===t&&!0===k){e.save(),e.globalAlpha=A,Ce.context(e);for(var n=Se.length-1;n>=0;n--)e.fillStyle=Se[n].color,e.beginPath(),Ce(Se[n].data.map((function(e){return e.position}))),e.fill();e.restore()}if("lines"===t&&(ke.context(e),Se.forEach((function(t){e.strokeStyle=t.color,e.lineWidth=w,e.beginPath(),ke(t.data.map((function(e){return e.position}))),e.stroke()}))),"points"===t&&!0===O&&L>0&&Ae.forEach((function(t){e.fillStyle=t.color,e.beginPath(),e.arc(t.x,t.y,L/2,0,2*Math.PI),e.fill(),F>0&&(e.strokeStyle=t.borderColor,e.lineWidth=F,e.stroke())})),"mesh"===t&&!0===ne&&(function(e,t){e.save(),e.globalAlpha=.75,e.beginPath(),t.render(e),e.strokeStyle="red",e.lineWidth=1,e.stroke(),e.restore()}(e,Pe),_e&&function(e,t,n){e.save(),e.globalAlpha=.35,e.beginPath(),t.renderCell(n,e),e.fillStyle="pink",e.fill(),e.restore()}(e,Pe,_e.index)),"legends"===t){var r=Se.map((function(e){return{id:e.id,label:e.id,color:e.color}})).reverse();X.forEach((function(t){!function(e,t){var n=t.data,r=t.containerWidth,i=t.containerHeight,o=t.translateX,a=void 0===o?0:o,s=t.translateY,l=void 0===s?0:s,c=t.anchor,u=t.direction,d=t.padding,f=void 0===d?0:d,h=t.justify,p=void 0!==h&&h,g=t.itemsSpacing,m=void 0===g?0:g,v=t.itemWidth,b=t.itemHeight,y=t.itemDirection,_=void 0===y?"left-to-right":y,w=t.itemTextColor,x=t.symbolSize,k=void 0===x?16:x,C=t.symbolSpacing,S=void 0===C?8:C,M=t.theme,T=SA({itemCount:n.length,itemWidth:v,itemHeight:b,itemsSpacing:m,direction:u,padding:f}),A=T.width,N=T.height,O=T.padding,P=MA({anchor:c,translateX:a,translateY:l,containerWidth:r,containerHeight:i,width:A,height:N}),L=P.x,E=P.y,j="row"===u?v+m:0,z="column"===u?b+m:0;e.save(),e.translate(L,E),e.font=M.legends.text.fontSize+"px "+(M.legends.text.fontFamily||"sans-serif"),n.forEach((function(t,n){var r,i,o=n*j+O.left,a=n*z+O.top,s=TA({direction:_,justify:p,symbolSize:k,symbolSpacing:S,width:v,height:b}),l=s.symbolX,c=s.symbolY,u=s.labelX,d=s.labelY,f=s.labelAnchor,h=s.labelAlignment;e.fillStyle=null!=(r=t.color)?r:"black",e.fillRect(o+l,a+c,k,k),e.textAlign=LA[f],"central"===h&&(e.textBaseline="middle"),e.fillStyle=null!=(i=null!=w?w:M.legends.text.fill)?i:"black",e.fillText(String(t.label),o+u,a+d)})),e.restore()}(e,mN({},t,{data:t.data||r,containerWidth:pe,containerHeight:ge,theme:be}))}))}}))}),[t,me,ve,v,be,ke,Se,Me,Te,D,I,H,q,V,W,G,K,X,Ae,O,L,_e]);var Le=he((function(e){var n=VS(t.current,e),r=n[0],i=n[1];if(!function(e,t,n,r,i,o){return e<=i&&i<=e+n&&t<=o&&o<=t+r}(fe.left,fe.top,pe,ge,r,i))return null;var o=Oe.find(r-fe.left,i-fe.top);return Ae[o]}),[t,fe,pe,ge,Oe]),Ee=vu(),je=Ee.showTooltipFromEvent,ze=Ee.hideTooltip,Fe=he((function(e){var t=Le(e);we(t),t?je(S(ae,{point:t}),e):ze()}),[Le,we,je,ze,ae]),Be=he((function(e){ze(),we(null),_e&&re&&re(_e,e)}),[ze,we,re]),Re=he((function(e){if(ie){var t=Le(e);t&&ie(t,e)}}),[Le,ie]);return Je("canvas",{ref:t,width:me*a,height:ve*a,style:{width:me,height:ve,cursor:ee?"auto":"normal"},onMouseEnter:ee?Fe:void 0,onMouseMove:ee?Fe:void 0,onMouseLeave:ee?Be:void 0,onClick:ee?Re:void 0})}))),EN=Ae((function(e,t){return Je(LN,mN({},e,{canvasRef:t}))}));Ae((function(e,t){return Je(_S,{children:function(n){var r=n.width,i=n.height;return Je(EN,mN({width:r,height:i},e,{ref:t}))}})}));var jN=Symbol.for("preact-signals");function zN(){if($N>1)$N--;else{for(var e,t=!1;void 0!==RN;){var n=RN;for(RN=void 0,DN++;void 0!==n;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&VN(n))try{n.c()}catch(n){t||(e=n,t=!0)}n=r}}if(DN=0,$N--,t)throw e}}var FN,BN=void 0,RN=void 0,$N=0,DN=0,IN=0;function UN(e){if(void 0!==BN){var t=e.n;if(void 0===t||t.t!==BN)return t={i:0,S:e,p:BN.s,n:void 0,t:BN,e:void 0,x:void 0,r:t},void 0!==BN.s&&(BN.s.n=t),BN.s=t,e.n=t,32&BN.f&&e.S(t),t;if(-1===t.i)return t.i=0,void 0!==t.n&&(t.n.p=t.p,void 0!==t.p&&(t.p.n=t.n),t.p=BN.s,t.n=void 0,BN.s.n=t,BN.s=t),t}}function HN(e){this.v=e,this.i=0,this.n=void 0,this.t=void 0}function qN(e){return new HN(e)}function VN(e){for(var t=e.s;void 0!==t;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function WN(e){for(var t=e.s;void 0!==t;t=t.n){var n=t.S.n;if(void 0!==n&&(t.r=n),t.S.n=t,t.i=-1,void 0===t.n){e.s=t;break}}}function YN(e){for(var t=e.s,n=void 0;void 0!==t;){var r=t.p;-1===t.i?(t.S.U(t),void 0!==r&&(r.n=t.n),void 0!==t.n&&(t.n.p=r)):n=t,t.S.n=t.r,void 0!==t.r&&(t.r=void 0),t=r}e.s=n}function GN(e){HN.call(this,void 0),this.x=e,this.s=void 0,this.g=IN-1,this.f=4}function ZN(e){return new GN(e)}function KN(e){var t=e.u;if(e.u=void 0,"function"==typeof t){$N++;var n=BN;BN=void 0;try{t()}catch(t){throw e.f&=-2,e.f|=8,QN(e),t}finally{BN=n,zN()}}}function QN(e){for(var t=e.s;void 0!==t;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,KN(e)}function XN(e){if(BN!==this)throw new Error("Out-of-order effect");YN(this),BN=e,this.f&=-2,8&this.f&&QN(this),zN()}function JN(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}function eO(e){var t=new JN(e);try{t.c()}catch(e){throw t.d(),e}return t.d.bind(t)}function tO(e,t){l[e]=t.bind(null,l[e]||function(){})}function nO(e){FN&&FN(),FN=e&&e.S()}function rO(e){var t=this,n=e.data,r=function(e){return fe((function(){return qN(e)}),[])}(n);r.value=n;var i=fe((function(){for(var e=t.__v;e=e.__;)if(e.__c){e.__c.__$f|=4;break}return t.__$u.c=function(){var e;u(i.peek())||3!==(null==(e=t.base)?void 0:e.nodeType)?(t.__$f|=1,t.setState({})):t.base.data=i.peek()},ZN((function(){var e=r.value.value;return 0===e?0:!0===e?"":e||""}))}),[]);return i.value}function iO(e,t,n,r){var i=t in e&&void 0===e.ownerSVGElement,o=qN(n);return{o:function(e,t){o.value=e,r=t},d:eO((function(){var n=o.value.value;r[t]!==n&&(r[t]=n,i?e[t]=n:n?e.setAttribute(t,n):e.removeAttribute(t))}))}}HN.prototype.brand=jN,HN.prototype.h=function(){return!0},HN.prototype.S=function(e){this.t!==e&&void 0===e.e&&(e.x=this.t,void 0!==this.t&&(this.t.e=e),this.t=e)},HN.prototype.U=function(e){if(void 0!==this.t){var t=e.e,n=e.x;void 0!==t&&(t.x=n,e.e=void 0),void 0!==n&&(n.e=t,e.x=void 0),e===this.t&&(this.t=n)}},HN.prototype.subscribe=function(e){var t=this;return eO((function(){var n=t.value,r=BN;BN=void 0;try{e(n)}finally{BN=r}}))},HN.prototype.valueOf=function(){return this.value},HN.prototype.toString=function(){return this.value+""},HN.prototype.toJSON=function(){return this.value},HN.prototype.peek=function(){var e=BN;BN=void 0;try{return this.value}finally{BN=e}},Object.defineProperty(HN.prototype,"value",{get:function(){var e=UN(this);return void 0!==e&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if(DN>100)throw new Error("Cycle detected");this.v=e,this.i++,IN++,$N++;try{for(var t=this.t;void 0!==t;t=t.x)t.t.N()}finally{zN()}}}}),(GN.prototype=new HN).h=function(){if(this.f&=-3,1&this.f)return!1;if(32==(36&this.f))return!0;if(this.f&=-5,this.g===IN)return!0;if(this.g=IN,this.f|=1,this.i>0&&!VN(this))return this.f&=-2,!0;var e=BN;try{WN(this),BN=this;var t=this.x();(16&this.f||this.v!==t||0===this.i)&&(this.v=t,this.f&=-17,this.i++)}catch(e){this.v=e,this.f|=16,this.i++}return BN=e,YN(this),this.f&=-2,!0},GN.prototype.S=function(e){if(void 0===this.t){this.f|=36;for(var t=this.s;void 0!==t;t=t.n)t.S.S(t)}HN.prototype.S.call(this,e)},GN.prototype.U=function(e){if(void 0!==this.t&&(HN.prototype.U.call(this,e),void 0===this.t)){this.f&=-33;for(var t=this.s;void 0!==t;t=t.n)t.S.U(t)}},GN.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;void 0!==e;e=e.x)e.t.N()}},Object.defineProperty(GN.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var e=UN(this);if(this.h(),void 0!==e&&(e.i=this.i),16&this.f)throw this.v;return this.v}}),JN.prototype.c=function(){var e=this.S();try{if(8&this.f)return;if(void 0===this.x)return;var t=this.x();"function"==typeof t&&(this.u=t)}finally{e()}},JN.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,KN(this),WN(this),$N++;var e=BN;return BN=this,XN.bind(this,e)},JN.prototype.N=function(){2&this.f||(this.f|=2,this.o=RN,RN=this)},JN.prototype.d=function(){this.f|=8,1&this.f||QN(this)},rO.displayName="_st",Object.defineProperties(HN.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:rO},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),tO("__b",(function(e,t){if("string"==typeof t.type){var n,r=t.props;for(var i in r)if("children"!==i){var o=r[i];o instanceof HN&&(n||(t.__np=n={}),n[i]=o,r[i]=o.peek())}}e(t)})),tO("__r",(function(e,t){nO();var n,r=t.__c;r&&(r.__$f&=-2,void 0===(n=r.__$u)&&(r.__$u=n=function(e){var t;return eO((function(){t=this})),t.c=function(){r.__$f|=1,r.setState({})},t}())),nO(n),e(t)})),tO("__e",(function(e,t,n,r){nO(),e(t,n,r)})),tO("diffed",(function(e,t){var n;if(nO(),"string"==typeof t.type&&(n=t.__e)){var r=t.__np,i=t.props;if(r){var o=n.U;if(o)for(var a in o){var s=o[a];void 0===s||a in r||(s.d(),o[a]=void 0)}else n.U=o={};for(var l in r){var c=o[l],u=r[l];void 0===c?(c=iO(n,l,u,i),o[l]=c):c.o(u,i)}}}e(t)})),tO("unmount",(function(e,t){if("string"==typeof t.type){var n=t.__e;if(n){var r=n.U;if(r)for(var i in n.U=void 0,r){var o=r[i];o&&o.d()}}}else{var a=t.__c;if(a){var s=a.__$u;s&&(a.__$u=void 0,s.d())}}e(t)})),tO("__h",(function(e,t,n,r){(r<3||9===r)&&(t.__$f|=2),e(t,n,r)})),A.prototype.shouldComponentUpdate=function(e,t){var n=this.__$u;if(!(n&&void 0!==n.s||4&this.__$f))return!0;if(3&this.__$f)return!0;for(var r in t)return!0;for(var i in e)if("__source"!==i&&e[i]!==this.props[i])return!0;for(var o in this.props)if(!(o in e))return!0;return!1};var oO=a(282),aO=a.n(oO),sO=(a(891),a(709),a(590),a(678),a(54),a(345),a(895),a(225),a(174),a(988),a(623),a(817),a(175),a(699),a(347),a(813),a(108),a(44),a(364),"cuqrZqSD"),lO="rwwirjWt",cO="MaIvtNh8",uO="X56whbwT",dO="SQiA8HDQ",fO="yfMESXbo",hO="djketuNQ",pO="f3ol8RHy",gO="TIvA3Oyn",mO=0;function vO(e,t,n,r,i,o){t||(t={});var a,s,c=t;if("ref"in c)for(s in c={},t)"ref"==s?a=t[s]:c[s]=t[s];var u={type:e,props:c,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--mO,__i:-1,__u:0,__source:i,__self:o};if("function"==typeof e&&(a=e.defaultProps))for(s in a)void 0===c[s]&&(c[s]=a[s]);return l.vnode&&l.vnode(u),u}Array.isArray;const bO=({attachment:e,item:t})=>(ue((()=>{aO().highlightAll()}),[e]),vO("pre",{className:`language-${t?.link?.ext?.replace(".","")} line-numbers`,children:vO("code",{children:e?.text})},t?.link?.id)),yO=async(e,t="application/octet-stream")=>{if(globalThis.allureReportData){const n=e.replace(/\?attachment$/,"");return`data:${t};base64,${await(async e=>(await new Promise((e=>{const t=()=>{if(globalThis.allureReportDataReady)return e(!0);setTimeout(t,30)};t()})),new Promise(((t,n)=>globalThis.allureReportData[e]?t(globalThis.allureReportData[e]):n(new Error(`Data "${e}" not found!`))))))(n)}`}const n=globalThis.document.head.querySelector("base")?.href??"https://localhost",r=new URL(e,n),i=globalThis.localStorage.getItem("__allure_report_live_reload_hash__");return i&&r.searchParams.set("live_reload_hash",i),r.pathname+r.search+r.hash},_O=async e=>{const t=await yO(e),n=await globalThis.fetch(t);if(!n.ok)throw new Error(`Failed to fetch ${t}, response status: ${n.status}`);return n.json()},wO=()=>globalThis.allureReportOptions,{theme:xO}=wO()??{},kO=qN("light"),CO=e=>{kO.value=e,document.documentElement.setAttribute("data-theme",e),window.localStorage.setItem("theme",e)},SO=qN({loading:!0,error:void 0,data:{total:0}}),MO=e=>"string"==typeof e,TO=()=>{let e,t;const n=new Promise(((n,r)=>{e=n,t=r}));return n.resolve=e,n.reject=t,n},AO=e=>null==e?"":""+e,NO=/###/g,OO=e=>e&&e.indexOf("###")>-1?e.replace(NO,"."):e,PO=e=>!e||MO(e),LO=(e,t,n)=>{const r=MO(t)?t.split("."):t;let i=0;for(;i<r.length-1;){if(PO(e))return{};const t=OO(r[i]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++i}return PO(e)?{}:{obj:e,k:OO(r[i])}},EO=(e,t,n)=>{const{obj:r,k:i}=LO(e,t,Object);if(void 0!==r||1===t.length)return void(r[i]=n);let o=t[t.length-1],a=t.slice(0,t.length-1),s=LO(e,a,Object);for(;void 0===s.obj&&a.length;)o=`${a[a.length-1]}.${o}`,a=a.slice(0,a.length-1),s=LO(e,a,Object),s?.obj&&void 0!==s.obj[`${s.k}.${o}`]&&(s.obj=void 0);s.obj[`${s.k}.${o}`]=n},jO=(e,t)=>{const{obj:n,k:r}=LO(e,t);if(n)return n[r]},zO=(e,t,n)=>{for(const r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?MO(e[r])||e[r]instanceof String||MO(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):zO(e[r],t[r],n):e[r]=t[r]);return e},FO=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var BO={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const RO=e=>MO(e)?e.replace(/[&<>"'\/]/g,(e=>BO[e])):e,$O=[" ",",","?","!",";"],DO=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(void 0!==t)return t;const n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}}(20),IO=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];const r=t.split(n);let i=e;for(let e=0;e<r.length;){if(!i||"object"!=typeof i)return;let t,o="";for(let a=e;a<r.length;++a)if(a!==e&&(o+=n),o+=r[a],t=i[o],void 0!==t){if(["string","number","boolean"].indexOf(typeof t)>-1&&a<r.length-1)continue;e+=a-e+1;break}i=t}return i},UO=e=>e?.replace("_","-"),HO={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console?.[e]?.apply?.(console,t)}};class qO{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||HO,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}warn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}error(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}deprecate(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,n,r){return r&&!this.debug?null:(MO(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new qO(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new qO(this.logger,e)}}var VO=new qO;class WO{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach((e=>{this.observers[e]||(this.observers[e]=new Map);const n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)})),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}emit(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.observers[e]&&Array.from(this.observers[e].entries()).forEach((e=>{let[t,r]=e;for(let e=0;e<r;e++)t(...n)})),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach((t=>{let[r,i]=t;for(let t=0;t<i;t++)r.apply(r,[e,...n])}))}}class YO extends WO{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure;let a;e.indexOf(".")>-1?a=e.split("."):(a=[e,t],n&&(Array.isArray(n)?a.push(...n):MO(n)&&i?a.push(...n.split(i)):a.push(n)));const s=jO(this.data,a);return!s&&!t&&!n&&e.indexOf(".")>-1&&(e=a[0],t=a[1],n=a.slice(2).join(".")),!s&&o&&MO(n)?IO(this.data?.[e]?.[t],n,i):s}addResource(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1};const o=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator;let a=[e,t];n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."),r=t,t=a[1]),this.addNamespaces(t),EO(this.data,a,r),i.silent||this.emit("added",e,t,n,r)}addResources(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(const r in n)(MO(n[r])||Array.isArray(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit("added",e,t,n)}addResourceBundle(e,t,n,r,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),r=n,n=t,t=a[1]),this.addNamespaces(t);let s=jO(this.data,a)||{};o.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?zO(s,n,i):s={...s,...n},EO(this.data,a,s),o.silent||this.emit("added",e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((e=>t[e]&&Object.keys(t[e]).length>0))}toJSON(){return this.data}}var GO={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach((e=>{t=this.processors[e]?.process(t,n,r,i)??t})),t}};const ZO={};class KO extends WO{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),((e,t,n)=>{["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach((e=>{t[e]&&(n[e]=t[e])}))})(0,e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=VO.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;const n=this.resolve(e,t);return void 0!==n?.res}extractFromKey(e,t){let n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");const r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator;let i=t.ns||this.options.defaultNS||[];const o=n&&e.indexOf(n)>-1,a=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||((e,t,n)=>{t=t||"",n=n||"";const r=$O.filter((e=>t.indexOf(e)<0&&n.indexOf(e)<0));if(0===r.length)return!0;const i=DO.getRegExp(`(${r.map((e=>"?"===e?"\\?":e)).join("|")})`);let o=!i.test(e);if(!o){const t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(o=!0)}return o})(e,n,r));if(o&&!a){const t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:MO(i)?[i]:i};const o=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(o[0])>-1)&&(i=o.shift()),e=o.join(r)}return{key:e,namespaces:MO(i)?[i]:i}}translate(e,t,n){if("object"!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof t&&(t={...t}),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);const r=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:o,namespaces:a}=this.extractFromKey(e[e.length-1],t),s=a[a.length-1],l=t.lng||this.language,c=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if("cimode"===l?.toLowerCase()){if(c){const e=t.nsSeparator||this.options.nsSeparator;return r?{res:`${s}${e}${o}`,usedKey:o,exactUsedKey:o,usedLng:l,usedNS:s,usedParams:this.getUsedParamsDetails(t)}:`${s}${e}${o}`}return r?{res:o,usedKey:o,exactUsedKey:o,usedLng:l,usedNS:s,usedParams:this.getUsedParamsDetails(t)}:o}const u=this.resolve(e,t);let d=u?.res;const f=u?.usedKey||o,h=u?.exactUsedKey||o,p=Object.prototype.toString.apply(d),g=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,m=!this.i18nFormat||this.i18nFormat.handleAsObject,v=!MO(d)&&"boolean"!=typeof d&&"number"!=typeof d;if(!(m&&d&&v&&["[object Number]","[object Function]","[object RegExp]"].indexOf(p)<0)||MO(g)&&Array.isArray(d))if(m&&MO(g)&&Array.isArray(d))d=d.join(g),d&&(d=this.extendTranslation(d,e,t,n));else{let r=!1,a=!1;const c=void 0!==t.count&&!MO(t.count),f=KO.hasDefaultValue(t),h=c?this.pluralResolver.getSuffix(l,t.count,t):"",p=t.ordinal&&c?this.pluralResolver.getSuffix(l,t.count,{ordinal:!1}):"",g=c&&!t.ordinal&&0===t.count,m=g&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${h}`]||t[`defaultValue${p}`]||t.defaultValue;!this.isValidLookup(d)&&f&&(r=!0,d=m),this.isValidLookup(d)||(a=!0,d=o);const v=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&a?void 0:d,b=f&&m!==d&&this.options.updateMissing;if(a||r||b){if(this.logger.log(b?"updateKey":"missingKey",l,s,o,b?m:d),i){const e=this.resolve(o,{...t,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[];const n=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&n&&n[0])for(let t=0;t<n.length;t++)e.push(n[t]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(t.lng||this.language):e.push(t.lng||this.language);const r=(e,n,r)=>{const i=f&&r!==d?r:v;this.options.missingKeyHandler?this.options.missingKeyHandler(e,s,n,i,b,t):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,s,n,i,b,t),this.emit("missingKey",e,s,n,d)};this.options.saveMissing&&(this.options.saveMissingPlurals&&c?e.forEach((e=>{const n=this.pluralResolver.getSuffixes(e,t);g&&t[`defaultValue${this.options.pluralSeparator}zero`]&&n.indexOf(`${this.options.pluralSeparator}zero`)<0&&n.push(`${this.options.pluralSeparator}zero`),n.forEach((n=>{r([e],o+n,t[`defaultValue${n}`]||m)}))})):r(e,o,m))}d=this.extendTranslation(d,e,t,u,n),a&&d===o&&this.options.appendNamespaceToMissingKey&&(d=`${s}:${o}`),(a||r)&&this.options.parseMissingKeyHandler&&(d=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${s}:${o}`:o,r?d:void 0))}else{if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(f,d,{...t,ns:a}):`key '${o} (${this.language})' returned an object instead of string.`;return r?(u.res=e,u.usedParams=this.getUsedParamsDetails(t),u):e}if(i){const e=Array.isArray(d),n=e?[]:{},r=e?h:f;for(const e in d)if(Object.prototype.hasOwnProperty.call(d,e)){const o=`${r}${i}${e}`;n[e]=this.translate(o,{...t,joinArrays:!1,ns:a}),n[e]===o&&(n[e]=d[e])}d=n}}return r?(u.res=d,u.usedParams=this.getUsedParamsDetails(t),u):d}extendTranslation(e,t,n,r,i){var o=this;if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const a=MO(e)&&(void 0!==n?.interpolation?.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let s;if(a){const t=e.match(this.interpolator.nestingRegexp);s=t&&t.length}let l=n.replace&&!MO(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(l={...this.options.interpolation.defaultVariables,...l}),e=this.interpolator.interpolate(e,l,n.lng||this.language||r.usedLng,n),a){const t=e.match(this.interpolator.nestingRegexp);s<(t&&t.length)&&(n.nest=!1)}!n.lng&&r&&r.res&&(n.lng=this.language||r.usedLng),!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];return i?.[0]!==r[0]||n.context?o.translate(...r,t):(o.logger.warn(`It seems you are nesting recursively key: ${r[0]} in key: ${t[0]}`),null)}),n)),n.interpolation&&this.interpolator.reset()}const a=n.postProcess||this.options.postProcess,s=MO(a)?[a]:a;return null!=e&&s?.length&&!1!==n.applyPostProcessor&&(e=GO.handle(s,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e){let t,n,r,i,o,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return MO(e)&&(e=[e]),e.forEach((e=>{if(this.isValidLookup(t))return;const s=this.extractFromKey(e,a),l=s.key;n=l;let c=s.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));const u=void 0!==a.count&&!MO(a.count),d=u&&!a.ordinal&&0===a.count,f=void 0!==a.context&&(MO(a.context)||"number"==typeof a.context)&&""!==a.context,h=a.lngs?a.lngs:this.languageUtils.toResolveHierarchy(a.lng||this.language,a.fallbackLng);c.forEach((e=>{this.isValidLookup(t)||(o=e,ZO[`${h[0]}-${e}`]||!this.utils?.hasLoadedNamespace||this.utils?.hasLoadedNamespace(o)||(ZO[`${h[0]}-${e}`]=!0,this.logger.warn(`key "${n}" for languages "${h.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach((n=>{if(this.isValidLookup(t))return;i=n;const o=[l];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(o,l,n,e,a);else{let e;u&&(e=this.pluralResolver.getSuffix(n,a.count,a));const t=`${this.options.pluralSeparator}zero`,r=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(o.push(l+e),a.ordinal&&0===e.indexOf(r)&&o.push(l+e.replace(r,this.options.pluralSeparator)),d&&o.push(l+t)),f){const n=`${l}${this.options.contextSeparator}${a.context}`;o.push(n),u&&(o.push(n+e),a.ordinal&&0===e.indexOf(r)&&o.push(n+e.replace(r,this.options.pluralSeparator)),d&&o.push(n+t))}}let s;for(;s=o.pop();)this.isValidLookup(t)||(r=s,t=this.getResource(n,e,s,a))})))}))})),{res:t,usedKey:n,exactUsedKey:r,usedLng:i,usedNS:o}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=e.replace&&!MO(e.replace);let r=n?e.replace:e;if(n&&void 0!==e.count&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(const e of t)delete r[e]}return r}static hasDefaultValue(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&"defaultValue"===t.substring(0,12)&&void 0!==e[t])return!0;return!1}}class QO{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=VO.create("languageUtils")}getScriptPartFromCode(e){if(!(e=UO(e))||e.indexOf("-")<0)return null;const t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=UO(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(MO(e)&&e.indexOf("-")>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch(e){}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach((e=>{if(t)return;const n=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(n)||(t=n)})),!t&&this.options.supportedLngs&&e.forEach((e=>{if(t)return;const n=this.getLanguagePartFromCode(e);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find((e=>e===n?e:e.indexOf("-")<0&&n.indexOf("-")<0?void 0:e.indexOf("-")>0&&n.indexOf("-")<0&&e.substring(0,e.indexOf("-"))===n||0===e.indexOf(n)&&n.length>1?e:void 0))})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),MO(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}toResolveHierarchy(e,t){const n=this.getFallbackCodes(t||this.options.fallbackLng||[],e),r=[],i=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return MO(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):MO(e)&&i(this.formatLanguageCode(e)),n.forEach((e=>{r.indexOf(e)<0&&i(this.formatLanguageCode(e))})),r}}const XO={zero:0,one:1,two:2,few:3,many:4,other:5},JO={select:e=>1===e?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class eP{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=VO.create("pluralResolver"),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=UO("dev"===e?"en":e),r=t.ordinal?"ordinal":"cardinal",i=JSON.stringify({cleanedCode:n,type:r});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let o;try{o=new Intl.PluralRules(n,{type:r})}catch(n){if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),JO;if(!e.match(/-|_/))return JO;const r=this.languageUtils.getLanguagePartFromCode(e);o=this.getRule(r,t)}return this.pluralRulesCache[i]=o,o}needsPlural(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return n||(n=this.getRule("dev",t)),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((e=>`${t}${e}`))}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return n||(n=this.getRule("dev",t)),n?n.resolvedOptions().pluralCategories.sort(((e,t)=>XO[e]-XO[t])).map((e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`)):[]}getSuffix(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=this.getRule(e,n);return r?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,n))}}const tP=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=((e,t,n)=>{const r=jO(e,n);return void 0!==r?r:jO(t,n)})(e,t,n);return!o&&i&&MO(n)&&(o=IO(e,n,r),void 0===o&&(o=IO(t,n,r))),o},nP=e=>e.replace(/\$/g,"$$$$");class rP{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=VO.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:o,suffix:a,suffixEscaped:s,formatSeparator:l,unescapeSuffix:c,unescapePrefix:u,nestingPrefix:d,nestingPrefixEscaped:f,nestingSuffix:h,nestingSuffixEscaped:p,nestingOptionsSeparator:g,maxReplaces:m,alwaysFormat:v}=e.interpolation;this.escape=void 0!==t?t:RO,this.escapeValue=void 0===n||n,this.useRawValueToEscape=void 0!==r&&r,this.prefix=i?FO(i):o||"{{",this.suffix=a?FO(a):s||"}}",this.formatSeparator=l||",",this.unescapePrefix=c?"":u||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=d?FO(d):f||FO("$t("),this.nestingSuffix=h?FO(h):p||FO(")"),this.nestingOptionsSeparator=g||",",this.maxReplaces=m||1e3,this.alwaysFormat=void 0!==v&&v,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(e,t)=>e?.source===t?(e.lastIndex=0,e):new RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let i,o,a;const s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},l=e=>{if(e.indexOf(this.formatSeparator)<0){const i=tP(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...r,...t,interpolationkey:e}):i}const i=e.split(this.formatSeparator),o=i.shift().trim(),a=i.join(this.formatSeparator).trim();return this.format(tP(t,s,o,this.options.keySeparator,this.options.ignoreJSONStructure),a,n,{...r,...t,interpolationkey:o})};this.resetRegExp();const c=r?.missingInterpolationHandler||this.options.missingInterpolationHandler,u=void 0!==r?.interpolation?.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>nP(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?nP(this.escape(e)):nP(e)}].forEach((t=>{for(a=0;i=t.regex.exec(e);){const n=i[1].trim();if(o=l(n),void 0===o)if("function"==typeof c){const t=c(e,i,r);o=MO(t)?t:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))o="";else{if(u){o=i[0];continue}this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),o=""}else MO(o)||this.useRawValueToEscape||(o=AO(o));const s=t.safeValue(o);if(e=e.replace(i[0],s),u?(t.regex.lastIndex+=o.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,a++,a>=this.maxReplaces)break}})),e}nest(e,t){let n,r,i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const a=(e,t)=>{const n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;const r=e.split(new RegExp(`${n}[ ]*{`));let o=`{${r[1]}`;e=r[0],o=this.interpolate(o,i);const a=o.match(/'/g),s=o.match(/"/g);((a?.length??0)%2==0&&!s||s.length%2!=0)&&(o=o.replace(/'/g,'"'));try{i=JSON.parse(o),t&&(i={...t,...i})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${o}`}return i.defaultValue&&i.defaultValue.indexOf(this.prefix)>-1&&delete i.defaultValue,e};for(;n=this.nestingRegexp.exec(e);){let s=[];i={...o},i=i.replace&&!MO(i.replace)?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;let l=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){const e=n[1].split(this.formatSeparator).map((e=>e.trim()));n[1]=e.shift(),s=e,l=!0}if(r=t(a.call(this,n[1].trim(),i),i),r&&n[0]===e&&!MO(r))return r;MO(r)||(r=AO(r)),r||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),r=""),l&&(r=s.reduce(((e,t)=>this.format(e,t,o.lng,{...o,interpolationkey:n[1].trim()})),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}const iP=e=>{const t={};return(n,r,i)=>{let o=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(o={...o,[i.interpolationkey]:void 0});const a=r+JSON.stringify(o);let s=t[a];return s||(s=e(UO(r),i),t[a]=s),s(n)}};class oP{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=VO.create("formatter"),this.options=e,this.formats={number:iP(((e,t)=>{const n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)})),currency:iP(((e,t)=>{const n=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>n.format(e)})),datetime:iP(((e,t)=>{const n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)})),relativetime:iP(((e,t)=>{const n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||"day")})),list:iP(((e,t)=>{const n=new Intl.ListFormat(e,{...t});return e=>n.format(e)}))},this.init(e)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};this.formatSeparator=t.interpolation.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=iP(t)}format(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i=t.split(this.formatSeparator);if(i.length>1&&i[0].indexOf("(")>1&&i[0].indexOf(")")<0&&i.find((e=>e.indexOf(")")>-1))){const e=i.findIndex((e=>e.indexOf(")")>-1));i[0]=[i[0],...i.splice(1,e)].join(this.formatSeparator)}const o=i.reduce(((e,t)=>{const{formatName:i,formatOptions:o}=(e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const i=r[1].substring(0,r[1].length-1);"currency"===t&&i.indexOf(":")<0?n.currency||(n.currency=i.trim()):"relativetime"===t&&i.indexOf(":")<0?n.range||(n.range=i.trim()):i.split(";").forEach((e=>{if(e){const[t,...r]=e.split(":"),i=r.join(":").trim().replace(/^'+|'+$/g,""),o=t.trim();n[o]||(n[o]=i),"false"===i&&(n[o]=!1),"true"===i&&(n[o]=!0),isNaN(i)||(n[o]=parseInt(i,10))}}))}return{formatName:t,formatOptions:n}})(t);if(this.formats[i]){let t=e;try{const a=r?.formatParams?.[r.interpolationkey]||{},s=a.locale||a.lng||r.locale||r.lng||n;t=this.formats[i](e,s,{...o,...r,...a})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${i}`),e}),e);return o}}class aP extends WO{constructor(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=VO.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,r.backend,r)}queueLoad(e,t,n,r){const i={},o={},a={},s={};return e.forEach((e=>{let r=!0;t.forEach((t=>{const a=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===o[a]&&(o[a]=!0):(this.state[a]=1,r=!1,void 0===o[a]&&(o[a]=!0),void 0===i[a]&&(i[a]=!0),void 0===s[t]&&(s[t]=!0)))})),r||(a[e]=!0)})),(Object.keys(i).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(o),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){const r=e.split("|"),i=r[0],o=r[1];t&&this.emit("failedLoading",i,o,t),!t&&n&&this.store.addResourceBundle(i,o,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);const a={};this.queue.forEach((n=>{((e,t,n,r)=>{const{obj:i,k:o}=LO(e,t,Object);i[o]=i[o]||[],i[o].push(n)})(n.loaded,[i],o),((e,t)=>{void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)})(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach((e=>{a[e]||(a[e]={});const t=n.loaded[e];t.length&&t.forEach((t=>{void 0===a[e][t]&&(a[e][t]=!0)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",a),this.queue=this.queue.filter((e=>!e.done))}read(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!e.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:o});this.readingCalls++;const a=(a,s)=>{if(this.readingCalls--,this.waitingReads.length>0){const e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}a&&s&&r<this.maxRetries?setTimeout((()=>{this.read.call(this,e,t,n,r+1,2*i,o)}),i):o(a,s)},s=this.backend[n].bind(this.backend);if(2!==s.length)return s(e,t,a);try{const n=s(e,t);n&&"function"==typeof n.then?n.then((e=>a(null,e))).catch(a):a(null,n)}catch(e){a(e)}}prepareLoading(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),r&&r();MO(e)&&(e=this.languageUtils.toResolveHierarchy(e)),MO(t)&&(t=[t]);const i=this.queueLoad(e,t,n,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach((e=>{this.loadOne(e)}))}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=e.split("|"),r=n[0],i=n[1];this.read(r,i,"read",void 0,void 0,((n,o)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&o&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,o),this.loaded(e,n,o)}))}saveMissing(e,t,n,r,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(!this.services?.utils?.hasLoadedNamespace||this.services?.utils?.hasLoadedNamespace(t)){if(null!=n&&""!==n){if(this.backend?.create){const s={...o,isUpdate:i},l=this.backend.create.bind(this.backend);if(l.length<6)try{let i;i=5===l.length?l(e,t,n,r,s):l(e,t,n,r),i&&"function"==typeof i.then?i.then((e=>a(null,e))).catch(a):a(null,i)}catch(e){a(e)}else l(e,t,n,r,a,s)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}else this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")}}const sP=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if("object"==typeof e[1]&&(t=e[1]),MO(e[1])&&(t.defaultValue=e[1]),MO(e[2])&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const n=e[3]||e[2];Object.keys(n).forEach((e=>{t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),lP=e=>(MO(e.ns)&&(e.ns=[e.ns]),MO(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),MO(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),"boolean"==typeof e.initImmediate&&(e.initAsync=e.initImmediate),e),cP=()=>{};class uP extends WO{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;var n;if(super(),this.options=lP(e),this.services={},this.logger=VO,this.modules={external:[]},n=this,Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach((e=>{"function"==typeof n[e]&&(n[e]=n[e].bind(n))})),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout((()=>{this.init(e,t)}),0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&(MO(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const r=sP();this.options={...r,...this.options,...lP(t)},this.options.interpolation={...r.interpolation,...this.options.interpolation},void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator);const i=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let t;this.modules.logger?VO.init(i(this.modules.logger),this.options):VO.init(null,this.options),t=this.modules.formatter?this.modules.formatter:oP;const n=new QO(this.options);this.store=new YO(this.options.resources,this.options);const o=this.services;o.logger=VO,o.resourceStore=this.store,o.languageUtils=n,o.pluralResolver=new eP(n,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!t||this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format||(o.formatter=i(t),o.formatter.init(o,this.options),this.options.interpolation.format=o.formatter.format.bind(o.formatter)),o.interpolator=new rP(this.options),o.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},o.backendConnector=new aP(i(this.modules.backend),o.resourceStore,o,this.options),o.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit(t,...r)})),this.modules.languageDetector&&(o.languageDetector=i(this.modules.languageDetector),o.languageDetector.init&&o.languageDetector.init(o,this.options.detection,this.options)),this.modules.i18nFormat&&(o.i18nFormat=i(this.modules.i18nFormat),o.i18nFormat.init&&o.i18nFormat.init(this)),this.translator=new KO(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit(t,...r)})),this.modules.external.forEach((e=>{e.init&&e.init(this)}))}if(this.format=this.options.interpolation.format,n||(n=cP),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((t=>{this[t]=function(){return e.store[t](...arguments)}})),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((t=>{this[t]=function(){return e.store[t](...arguments),e}}));const o=TO(),a=()=>{const e=(e,t)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),o.resolve(t),n(e,t)};if(this.languages&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?a():setTimeout(a,0),o}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:cP;const n=MO(e)?e:this.language;if("function"==typeof e&&(t=e),!this.options.resources||this.options.partialBundledLanguages){if("cimode"===n?.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return t();const e=[],r=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach((t=>{"cimode"!==t&&e.indexOf(t)<0&&e.push(t)}))};n?r(n):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((e=>r(e))),this.options.preload?.forEach?.((e=>r(e))),this.services.backendConnector.load(e,this.options.ns,(e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),t(e)}))}else t(null)}reloadResources(e,t,n){const r=TO();return"function"==typeof e&&(n=e,e=void 0),"function"==typeof t&&(n=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),n||(n=cP),this.services.backendConnector.reload(e,t,(e=>{r.resolve(),n(e)})),r}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&GO.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let e=0;e<this.languages.length;e++){const t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}}changeLanguage(e,t){var n=this;this.isLanguageChangingTo=e;const r=TO();this.emit("languageChanging",e);const i=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},o=(e,o)=>{o?(i(o),this.translator.changeLanguage(o),this.isLanguageChangingTo=void 0,this.emit("languageChanged",o),this.logger.log("languageChanged",o)):this.isLanguageChangingTo=void 0,r.resolve((function(){return n.t(...arguments)})),t&&t(e,(function(){return n.t(...arguments)}))},a=t=>{e||t||!this.services.languageDetector||(t=[]);const n=MO(t)?t:this.services.languageUtils.getBestMatchFromCodes(t);n&&(this.language||i(n),this.translator.language||this.translator.changeLanguage(n),this.services.languageDetector?.cacheUserLanguage?.(n)),this.loadResources(n,(e=>{o(e,n)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e):a(this.services.languageDetector.detect()),r}getFixedT(e,t,n){var r=this;const i=function(e,t){let o;if("object"!=typeof t){for(var a=arguments.length,s=new Array(a>2?a-2:0),l=2;l<a;l++)s[l-2]=arguments[l];o=r.options.overloadTranslationOptionHandler([e,t].concat(s))}else o={...t};o.lng=o.lng||i.lng,o.lngs=o.lngs||i.lngs,o.ns=o.ns||i.ns,""!==o.keyPrefix&&(o.keyPrefix=o.keyPrefix||n||i.keyPrefix);const c=r.options.keySeparator||".";let u;return u=o.keyPrefix&&Array.isArray(e)?e.map((e=>`${o.keyPrefix}${c}${e}`)):o.keyPrefix?`${o.keyPrefix}${c}${e}`:e,r.t(u,o)};return MO(e)?i.lng=e:i.lngs=e,i.ns=t,i.keyPrefix=n,i}t(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.translator?.translate(...t)}exists(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.translator?.exists(...t)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const n=t.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;const o=(e,t)=>{const n=this.services.backendConnector.state[`${e}|${t}`];return-1===n||0===n||2===n};if(t.precheck){const e=t.precheck(this,o);if(void 0!==e)return e}return!(!this.hasResourceBundle(n,e)&&this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages)&&(!o(n,e)||r&&!o(i,e)))}loadNamespaces(e,t){const n=TO();return this.options.ns?(MO(e)&&(e=[e]),e.forEach((e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)})),this.loadResources((e=>{n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){const n=TO();MO(e)&&(e=[e]);const r=this.options.preload||[],i=e.filter((e=>r.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e)));return i.length?(this.options.preload=r.concat(i),this.loadResources((e=>{n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!e)return"rtl";const t=this.services?.languageUtils||new QO(sP());return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){return new uP(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:cP;const n=e.forkResourceStore;n&&delete e.forkResourceStore;const r={...this.options,...e,isClone:!0},i=new uP(r);return void 0===e.debug&&void 0===e.prefix||(i.logger=i.logger.clone(e)),["store","services","language"].forEach((e=>{i[e]=this[e]})),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},n&&(i.store=new YO(this.store.data,r),i.services.resourceStore=i.store),i.translator=new KO(i.services,r),i.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];i.emit(e,...n)})),i.init(r,t),i.translator.options=r,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const dP=uP.createInstance();dP.createInstance=uP.createInstance,dP.createInstance,dP.dir,dP.init,dP.loadResources,dP.reloadResources,dP.use,dP.changeLanguage,dP.getFixedT,dP.t,dP.exists,dP.setDefaultNamespace,dP.hasLoadedNamespace,dP.loadNamespaces,dP.loadLanguages;const fP={en:{short:"Eng",full:"English",iso:"en-US"},ru:{short:"Ру",full:"Русский",iso:"ru-RU"},pl:{short:"Pl",full:"Polski",iso:"pl-PL"},es:{short:"Es",full:"Español",iso:"es-ES"},pt:{short:"Pt",full:"Português",iso:"pt-PT"},de:{short:"De",full:"Deutsch",iso:"de-DE"},am:{short:"Am",full:"Հայերեն",iso:"hy-AM"},az:{short:"Az",full:"Azərbaycan",iso:"az-AZ"},fr:{short:"Fr",full:"Français",iso:"fr-FR"},it:{short:"It",full:"Italiano",iso:"it-IT"},ja:{short:"Ja",full:"日本語",iso:"ja-JP"},he:{short:"He",full:"עברית",iso:"he-IL"},ka:{short:"Ka",full:"ქართული",iso:"ka-GE"},kr:{short:"Kr",full:"한국어",iso:"kr-KR"},nl:{short:"Nl",full:"Nederlands",iso:"nl-NL"},sv:{short:"Sv",full:"Svenska",iso:"sv-SE"},tr:{short:"Tr",full:"Türkçe",iso:"tr-TR"},zh:{short:"Zh",full:"中文",iso:"zh-CN"}},{reportLanguage:hP}=wO()??{},pP=qN("");ZN((()=>{const e=pP.value;return fP[e].iso})),ZN((()=>["ar","he","fa"].includes(pP.value))),dP.use({type:"backend",read:async(e,t,n)=>{try{n(null,(await a(79)(`./${e}.json`))[t]||null)}catch(e){n(e,null)}}}).init({lng:pP.value,fallbackLng:"en",ns:["empty","execution","filters","search","severity","sort-by","sort-by.directions","sort-by.values","statuses","tabs","testSummary","ui","welcome","controls","errors","nav"],interpolation:{escapeValue:!1}});const gP=e=>({t:ZN((()=>(t,n)=>dP.t(t,{ns:e,...n}))).value,currentLocale:pP.value}),mP=async e=>{await dP.changeLanguage(e),localStorage.setItem("currentLocale",e),pP.value=e},vP=()=>{const{t:e}=gP("errors");return vO("div",{className:"rHchoJLy",children:e("missedAttachment")})},bP=({attachment:e})=>{const[t,n]=ce(!0);return ue((()=>{if(e?.img){const t=new Image;t.onload=()=>n(!0),t.onerror=()=>n(!1),t.src=e.img}}),[e?.img]),vO("div",e?.img&&t?{className:"Z6GDZ107",children:e?.img&&vO("img",{src:e.img,alt:e.originalFileName})}:{className:"SEnVh3g6",children:vO(vP,{})})},yP=async({id:e,ext:t,contentType:n})=>(async(e,t)=>{const n=await yO(e,t);return globalThis.fetch(n)})(`data/attachments/${e||"-"}${t||""}?attachment`,n),_P=async(e,t,n)=>{const r=await yP({id:e,ext:t,contentType:n});return await r.blob()},wP=async(e,t,n)=>{if(!e&&!t)return;const r=`${e}${t}`,i=await _P(e,t,n),o=URL.createObjectURL(i),a=document.createElement("a");a.href=o,a.download=r,a.click(),URL.revokeObjectURL(o)},xP=e=>{switch(e){case"image/bmp":case"image/gif":case"image/tiff":case"image/jpeg":case"image/jpg":case"image/png":case"image/*":return{type:"image",icon:"file"};case"text/xml":case"application/xml":case"application/json":case"text/json":case"text/yaml":case"application/yaml":case"application/x-yaml":case"text/x-yaml":case"text/css":return{type:"code",icon:"file"};case"text/plain":case"text/*":return{type:"text",icon:"txt"};case"text/html":return{type:"html",icon:"file"};case"text/csv":return{type:"table",icon:"csv"};case"text/tab-separated-values":return{type:"table",icon:"table"};case"image/svg+xml":return{type:"svg",icon:"file"};case"video/mp4":case"video/ogg":case"video/webm":return{type:"video",icon:"file"};case"text/uri-list":return{type:"uri",icon:"list"};case"application/x-tar":case"application/x-gtar":case"application/x-bzip2":case"application/gzip":case"application/zip":return{type:"archive",icon:"file"};default:return{type:null,icon:"file"}}},kP={image:bP,svg:bP,json:bO,code:bO,uri:bO,css:bO,table:bO,html:bO,text:bO,video:({attachment:e})=>e?vO("video",{controls:!0,loop:!0,muted:!0,children:vO("source",{src:e?.src,type:e?.contentType})}):vO(Vn,{})},CP={html:({attachment:e})=>vO("div",{className:"vDBalBeq",dangerouslySetInnerHTML:{__html:e?.text}})},SP=({item:e,previewable:t})=>{const{link:{contentType:n,id:r,ext:i}}=e,[o,a]=ce(null),[s,l]=ce(!1),c=xP(n),u=kP[c.type],d=CP[c.type];return ue((()=>{(async()=>{const e=await(async(e,t,n)=>{if(!e&&!t)return;const r=await yP({id:e,ext:t,contentType:n});switch(xP(n).type){case"svg":case"image":{const t=await r.blob();return{img:URL.createObjectURL(t),id:e}}case"uri":case"code":case"html":case"table":case"text":return{text:await r.text()};case"video":{const t=await r.blob();return{src:URL.createObjectURL(t),id:e,contentType:n}}default:return}})(r,i,n);l(!0),a(e)})()}),[n,r,i]),s?d&&t&&TP.value.preview?vO(d,{attachment:o,item:e}):u?vO(u,{attachment:o,item:e}):vO(vP,{}):vO("div",{className:"TJQH8dah",children:vO(Vn,{})})},MP=qN(!1),TP=qN({data:null,preview:!1,component:null}),AP=({data:e,component:t,preview:n})=>{TP.value={data:e,component:t,preview:n},MP.value=!0},NP=()=>{MP.value=!1},OP=({item:e,children:t})=>vO("div",{className:"GLs1WXMz "+(TP.value.data?.link?.id===e.link?.id?"NiSx0lA3":""),onClick:()=>{var t;AP({data:t=e,component:vO(SP,{item:t},t.link?.id)})},children:t}),PP=({attachments:e=[]})=>vO("div",{className:"Klkf7XB0",children:e.filter((({link:{contentType:e}})=>{const t=xP(e).type;return!["archive",null].includes(t)})).map(((e,t)=>vO(OP,{item:e,children:vO(SP,{item:e})},t)))});var LP=({testResult:e})=>{const{link:t}=TP.value.data||{},n=t?.name?`${t?.name}`:`${t?.id}${t?.ext}`;ue((()=>(aO().highlightAll(),MP.value?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""})),[]);const r=t?.contentType?.startsWith("image"),i="text/html"===t?.contentType;return MP.value?vO("div",{className:"bCsvCGcv",onClick:NP,children:vO("div",{className:"Mws6akQI",onClick:e=>e.stopPropagation(),children:[vO("div",{className:"B2HE5riJ",children:[vO("div",{className:"vt3tJSMb",children:[vO(Gn,{size:"s",children:n}),vO("div",{className:"PNTabbbi",children:[r&&vO(Qn,{style:"outline",onClick:async()=>{const{id:e,ext:n,contentType:r}=t||{};await(async(e,t,n)=>{if(!e&&!t)return;const r=await _P(e,t,n),i=URL.createObjectURL(r);globalThis.open(i,"_blank")})(e,n,r)},icon:Hn.lineGeneralLinkExternal,text:"Open in new tab"}),i&&vO(ui,{tooltipText:"Preview attachment",children:vO(Xn,{style:"outline",size:"m",iconSize:"s",icon:TP.value.preview?Hn.viewOff:Hn.view,onClick:()=>{TP.value={...TP.value,preview:!TP.value.preview}}})}),vO(ui,{tooltipText:"Download attachment",children:vO(Xn,{style:"outline",size:"m",iconSize:"s",icon:Hn.lineGeneralDownloadCloud,onClick:e=>(async e=>{e.stopPropagation();const{id:n,ext:r,contentType:i}=t||{};n&&r&&i&&await wP(n,r,i)})(e)})}),vO(Xn,{iconSize:"m",style:"ghost",onClick:NP,icon:Hn.lineGeneralXClose})]})]}),vO("div",{className:"PeTgBB_j",children:vO("div",{className:"zjOzUXJR",children:TP.value?.component},TP.value?.data?.link?.id)})]}),vO(PP,{attachments:e.attachments})]})}):null};function EP(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=EP(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function jP(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=EP(e))&&(r&&(r+=" "),r+=t);return r}var zP=jP;const FP=Object.entries(fP).map((([e,{full:t}])=>({key:e,value:t}))),BP=()=>{const e=pP.value;return vO(mi,{size:"s",menuTrigger:({onClick:t})=>vO(Qn,{style:"raised",className:"llvyxAoW",size:"s",text:fP[e||"en"].short,onClick:t}),children:vO(mi.Section,{children:FP.map((({key:t,value:n})=>vO(mi.ItemWithCheckmark,{onClick:()=>{mP(t)},isChecked:e===t,children:n},t)))})})},RP=()=>{const e=globalThis.location.hash.slice(1),[t,...n]=e.split("/");return{tabName:t,params:{id:n[0]||null,testResultId:n[1]||null}}},$P=qN(RP()),DP=()=>{const e=RP();e.tabName===$P.value.tabName&&e.params.id===$P.value.params.id&&e.params.testResultId===$P.value.params.testResultId||($P.value=e)},IP=ZN((()=>$P.value.tabName)),UP=e=>{globalThis.location.hash=e};var HP="EeevEqCT",qP="w4EeDOWE",VP="boBBDQTD",WP="gZQ8bgST";const YP=[{tabName:"overview",title:"Overview",icon:"lineGeneralHomeLine",active:!1},{tabName:"behaviors",title:"Behaviors",icon:"lineFilesClipboardCheck",active:!1},{tabName:"categories",title:"Categories",icon:"lineFilesFile2",active:!1},{tabName:"graphs",title:"Graphs",icon:"lineChartsBarChartSquare",active:!1},{tabName:"packages",title:"Packages",icon:"lineDevDataflow3",active:!1},{tabName:"suites",title:"Suites",icon:"lineFilesFolder",active:!1},{tabName:"timeline",title:"Timeline",icon:"lineTimeClockStopwatch",active:!1}];var GP=()=>{const{t:e}=gP("controls"),{t:t}=gP("nav"),[n,r]=ce("true"===localStorage.getItem("sidebarCollapsed"));return vO("div",{class:zP("TLLQTrhC",n&&"xMPJFBDw"),children:[vO("a",{href:"#",className:"KM6orgHa","data-ga4-event":"home_click",children:[vO(qn,{id:Hn.reportLogo,size:"s",className:HP}),vO(Wn,{className:"vND2V3bB",bold:!0,children:"Allure Report"})]}),vO("ul",{className:"b402YGN_",children:YP?.map((e=>vO("li",{className:qP,"data-tooltip":e.title,"data-ga4-event":"tab_click","data-ga4-param-tab":e.tabName,children:vO("a",{href:`#${e.tabName}`,className:zP("aXLTfP6m",{[VP]:IP.value===e.tabName}),onClick:()=>UP(e.tabName),children:[vO("span",{className:HP,children:vO(qn,{id:Hn[e.icon]})}),vO(Wn,{className:WP,children:t(e.tabName)})]})},e.tabName)))}),vO("div",{className:"j3vXv7pr"}),vO("div",{className:"iRiQ2siX",children:[vO("div",{className:"UfeYx5YH","data-tooltip":"Language",children:vO(BP,{})}),vO("div",{className:qP,"data-tooltip":"Expand","data-ga4-event":"expand_menu_click",onClick:()=>{localStorage.setItem("sidebarCollapsed",String(!n)),r(!n)},children:vO("div",{className:"OAVqfOY7",children:[vO("span",{className:"S68Ym5T1",children:vO(qn,{id:Hn.lineArrowsChevronDown})}),vO(Wn,{className:WP,children:e("collapse")})]})})]})]})};const ZP=qN({loading:!0,error:void 0,data:void 0}),KP=qN({loading:!0,error:void 0,data:void 0}),QP=async e=>{if(e){ZP.value={...ZP.value,loading:!0,error:void 0};try{const t=await _O(`data/test-results/${e}.json`);ZP.value={data:{...ZP.value.data,[e]:t},error:void 0,loading:!1}}catch(e){ZP.value={...ZP.value,error:e.message,loading:!1}}}};var XP="N3IRv8v_";const JP=({children:e})=>{const{testResultId:t}=$P.value.params,n=ZP.value;return ue((()=>{(async()=>{SO.value={...SO.value,loading:!0,error:void 0};try{const e=await _O("widgets/allure_statistic.json");SO.value={data:e,error:void 0,loading:!1}}catch(e){SO.value={data:{total:0},error:e.message,loading:!1}}})()}),[]),vO("div",{className:"CfGgwYiF",children:[vO(GP,{}),e,vO(LP,{testResult:n.data?.[t]})]})},eL=["failed","broken","passed","skipped","unknown"],tL=new Set(["failed","broken"]),nL=new Set(["passed"]),rL=new Set([...tL,...nL]),iL=e=>{const t=new Set(e);return e=>t.has(e.status)},oL=(iL(nL),iL(tL),iL(rL),(e,t,n=1)=>{e[t]=(e[t]??0)+n,e.total+=n}),aL=[{suffix:"d",accessor:e=>Math.floor(e/864e5)},{suffix:"h",accessor:e=>Math.floor(e/36e5)%24},{suffix:"m",accessor:e=>Math.floor(e/6e4)%60},{suffix:"s",accessor:e=>Math.floor(e/1e3)%60},{suffix:"ms",accessor:e=>Math.round(e)%1e3}],sL=e=>{if(void 0===e)return"unknown";if(e<.5)return"0s";const t=[];for(const{accessor:n,suffix:r}of aL){const i=n(e);if((0!==t.length||i)&&(t.push(i+r),t.length>1))break}return t.join(" ")},lL=e=>(t,n)=>e(n,t),cL=e=>(t,n)=>t===n?0:null==t?1:null==n?-1:e(t,n),uL=(e,t,n)=>cL(((r,i)=>void 0!==n?t(r[e]??n,i[e]??n):e in r&&e in i?t(r[e],i[e]):0)),dL=e=>(t,n)=>{for(const r of e){const e=r(t,n);if(0!==e)return e}return 0},fL=()=>cL(((e,t)=>e.localeCompare(t))),hL=()=>cL(((e,t)=>e-t));var pL="O6jbdXAk",gL="wdXHJuqC",mL="xBzEd5dz",vL="KxE0dng7",bL="WUfcxsgW",yL="SSURJYtT",_L="pfVDoVIH",wL="p8BrY8T5",xL="LuXekrqy",kL="QoY_wwVj",CL="ETmyhMT9",SL="dfOOidbB",ML="sVbP9hsS",TL="VPuF7Mke",AL="c37SlL63",NL="wDYUmegY",OL="NWQDP0AF",PL="qWrwxu6j",LL="i31d8d94",EL="fsOIsHLA",jL="RlaQI2ep",zL="pErF_r57",FL="r8zl8cNS",BL="wFAgAxoI",RL="vxJA6pf8",$L="KJcusCaa",DL="WmV4Oc0o",IL="gWl7QbrP",UL="brT49w7l",HL="mvQf76Qn",qL="eKeasBSI";const{solidAlertCircle:VL,solidCheckCircle:WL,solidHelpCircle:YL,solidMinusCircle:GL,solidXCircle:ZL}=Hn,KL={failed:ZL,broken:VL,passed:WL,skipped:GL,unknown:YL};var QL=({status:t="unknown",className:n,classNameIcon:r})=>{const i=jP(e[`status-${t}`],r);return vO("div",{"data-testid":`tree-leaf-status-${t}`,className:jP(IL,n),children:vO(qn,{className:i,id:KL[t]})})},XL=({name:e,groupOrder:t,status:n,duration:r,id:i,parentNodeId:o,isMarked:a,...s})=>{const{tabName:l}=$P.value,c=sL(r);return vO("div",{...s,className:zP(DL,a&&UL),onClick:()=>(e=>{let t="";if("string"==typeof e)t=e.startsWith("#")?e.slice(1):e;else{const{tabName:n="overview",params:r={}}=e,{id:i=null,testResultId:o=null}=r;t=`${n}/${i||""}/${o||""}`}console.log("Navigating to:",t),history.pushState(null,"",`#${t}`),DP()})(`#${l}/${o||"root"}/${i}`),children:[vO(QL,{status:n}),vO("span",{"data-testid":"tree-leaf-order",className:bL,children:t}),vO(Wn,{"data-testid":"tree-leaf-title",className:vL,children:e}),vO(Wn,{"data-testid":"tree-leaf-duration",type:"ui",size:"m",className:mL,children:c})]})},JL="pkAmb3H0",eE="cRDmGSBn",tE="p50HH678",nE="tcaKNlfE",rE="wJsbiVN7",iE="QoIY5gbV";const oE=({isOpened:e,buttonSize:n="m",iconSize:r="xs",className:i,icon:o=Hn.lineArrowsChevronDown,...a})=>vO("button",{className:jP(JL,t[`arrow-button-${n}`]),...a,children:vO(qn,{id:o,size:r,className:jP(eE,e&&tE,t[`icon-size-${r}`],i)})}),aE=e=>{const t=(e=>{const t=uL;switch(e){case"alphabet":return t("name",fL());case"order":case"duration":case"status":return t("statistic",(()=>{const e=eL.map((e=>uL(e,lL(hL()),0)));return cL(dL(e))})())}})(e.sortBy),n="asc"===e.direction?t:lL(t);return dL([n,uL("name",fL())])},sE=(e=[],t,n)=>{const r=[...e].map((e=>t[e])).filter((e=>((e,t)=>[!t?.query||e.name.toLowerCase().includes(t.query.toLowerCase()),!t?.status||"total"===t?.status||e.status===t.status,!t?.filter?.flaky||e.flaky,!t?.filter?.retry||e.retry].every(Boolean))(e,n))),i=(e=>{const t=(e=>{const t=uL;switch(e){case"order":return t("groupOrder",hL());case"duration":return t("duration",hL());case"alphabet":return t("name",fL());case"status":return t("status",cL(((e,t)=>eL.indexOf(e)-eL.indexOf(t))))}})(e.sortBy),n="asc"===e.direction?t:lL(t);return dL([n,uL("name",fL())])})(n);return r.sort(i)},lE=e=>{const{group:t,groupsById:n,leavesById:r,filterOptions:i}=e,o=t.leaves??[],a=sE(o,r,i),s=t.groups?.map((e=>lE({group:n[e],groupsById:n,leavesById:r,filterOptions:i})))?.filter((e=>!cE(e)))??[],l={total:0};return s.forEach((e=>{if(e.statistic){const t=e.statistic;((e,t)=>{eL.forEach((n=>{t[n]&&oL(e,n,t[n])}))})(l,t)}})),a.forEach((e=>{const t=e.status;oL(l,t)})),{...t,statistic:l,leaves:a,trees:s.sort(aE(i))}},cE=e=>!e.trees?.length&&!e.leaves?.length||!e.leaves?.length&&e.trees?.every((e=>cE(e))),uE=qN({loading:!0,error:void 0,data:void 0}),dE=ZN((()=>!Object.keys(uE?.value?.data?.leavesById).length)),fE=qN({query:"",status:"total",filter:{flaky:!1,retry:!1,new:!1},sortBy:"order",direction:"asc"}),hE=ZN((()=>{const{root:e,leavesById:t,groupsById:n}=uE.value.data;return lE({group:e,leavesById:t,groupsById:n,filterOptions:fE.value})})),pE=ZN((()=>cE(hE.value))),gE=e=>{fE.value={...fE.value,query:e}},mE=e=>{fE.value={...fE.value,sortBy:e}},vE=e=>{fE.value={...fE.value,direction:e}},bE=(e,t)=>{fE.value={...fE.value,filter:{...fE.value.filter,[e]:t}}};var yE=({categoryTitle:t,isOpened:n,toggleTree:r,statistic:i,...o})=>{const{status:a}=fE.value;return vO(di,{source:SO,renderData:s=>{const l=Math.floor(94*((e,t)=>{const n=Math.log(10);return(Math.log(e+10)-n)/(Math.log(t+10)-n)})(i.total,s.total)+46),c=i?eL.map((e=>({status:e,value:i[e]}))).filter((({status:e,value:t})=>void 0!==t&&("total"===a||a===e&&t>0))).map((({status:t,value:n})=>vO("div",{className:jP(RL,e[t]),style:{flexGrow:n},children:n},t))):null;return vO("div",{"data-testid":"tree-header",...o,className:jL,onClick:r,children:[vO(oE,{"data-testid":"tree-arrow",isOpened:n}),vO(Wn,{"data-testid":"tree-header-title",size:"m",bold:!0,className:$L,children:t}),c&&vO("div",{className:BL,style:{width:`${l}px`},children:c})]})}})};const _E=({tree:e,statusFilter:t,root:n,name:r,statistic:i})=>{const{params:o}=$P.value,{id:a,testResultId:s}=o,[l,c]=ce(a===e.nodeId||void 0===i||!!i.failed||!!i.broken);if(!e?.trees?.length&&!e?.leaves?.length)return null;const u=l&&vO("div",{"data-testid":"tree-content",className:zP({[NL]:!0,[_L]:n}),children:[e?.trees?.map?.((e=>vO(_E,{name:e.name,tree:e,statistic:e.statistic,statusFilter:t},e.nodeId))),e?.leaves?.map?.((t=>vO(XL,{"data-testid":"tree-leaf",id:t.nodeId,name:t.name,status:t.status,groupOrder:t.groupOrder,duration:t.duration,parentNodeId:e.nodeId,isMarked:t.nodeId===s},t.nodeId)))]});return vO("div",{className:AL,children:[r&&vO(yE,{categoryTitle:r,isOpened:l,toggleTree:()=>{c(!l)},statistic:i}),u]})};var wE=_E;const xE=qN({loading:!0,error:void 0,data:void 0}),kE=ZN((()=>!Object.keys(xE?.value?.data?.leavesById).length)),CE=qN({query:"",status:"total",filter:{flaky:!1,retry:!1,new:!1},sortBy:"order",direction:"asc"}),SE=ZN((()=>{const{root:e,leavesById:t,groupsById:n}=xE.value.data;return lE({group:e,leavesById:t,groupsById:n,filterOptions:CE.value})})),ME=ZN((()=>cE(SE.value))),TE=qN("total");var AE="rROZ1Xam",NE="EfiHPq3D",OE="gu2HRvzV";const PE=()=>{const{t:e}=gP("empty");return ue((()=>{var e;e=TE.value,CE.value={...CE.value,status:e}}),[TE.value]),vO(di,{source:xE,renderLoader:()=>vO(fi,{}),renderData:()=>kE.value?vO("div",{className:OE,children:vO("div",{className:AE,children:vO(Wn,{className:NE,children:e("no-results")})})}):ME.value?vO("div",{className:OE,children:vO("div",{className:AE,children:[vO(Wn,{tag:"p",className:NE,children:e("no-tests-found")}),vO(Qn,{className:"H3rNsO_3",type:"button",text:e("clear-filters"),size:"s",style:"outline",onClick:()=>{CE.value={query:"",status:"total",filter:{flaky:!1,retry:!1,new:!1},sortBy:"order",direction:"asc"}}})]})}):vO("div",{className:OE,children:vO(wE,{tree:SE.value,statusFilter:TE.value,root:!0})})})};var LE="SwPk6rQi";const EE=({children:e})=>vO("div",{className:"E8NDohwx",children:e}),jE=()=>{const{t:e}=gP("sort-by"),{t:t}=gP("sort-by.values"),{t:n}=gP("sort-by.directions"),{sortBy:r,direction:i}=fE.value,o=t(r),a=n(`${r}-${i}-short`);return vO("div",{children:vO(Wn,{type:"paragraph",size:"m",className:"s_37abuM",children:[e("sort-by-text")," ",vO(mi,{size:"l",menuTriggerWrapper:"span",menuTrigger:({onClick:e,isOpened:t})=>vO(Wn,{type:"paragraph",size:"m",children:vO(_i,{onClick:e,children:[o," ",a,vO(qn,{size:"s",id:Hn.lineArrowsChevronDown,className:zP("uFVj7_qh",t&&"ATGP4otR")})]})}),children:vO(mi.Section,{children:[vO(mi,{size:"s",menuTrigger:({onClick:t,isOpened:n})=>vO(mi.Item,{closeMenuOnClick:!1,onClick:t,leadingIcon:Hn.lineArrowsSwitchVertical1,rightSlot:vO(EE,{children:vO(Jn,{style:"outline",size:"s",isExpanded:n,text:o,focusable:!1})}),children:e("sort-by-category")}),children:vO(mi.Section,{children:[vO(mi.ItemWithCheckmark,{onClick:()=>mE("order"),isChecked:"order"===r,children:t("order")}),vO(mi.ItemWithCheckmark,{onClick:()=>mE("duration"),isChecked:"duration"===r,children:t("duration")}),vO(mi.ItemWithCheckmark,{onClick:()=>mE("status"),isChecked:"status"===r,children:t("status")}),vO(mi.ItemWithCheckmark,{onClick:()=>mE("alphabet"),isChecked:"alphabet"===r,children:t("alphabet")})]})}),vO(mi,{size:"m",menuTrigger:({onClick:t,isOpened:n})=>vO(mi.Item,{closeMenuOnClick:!1,onClick:t,leadingIcon:"asc"===i?Hn.lineArrowsSortLineAsc:Hn.lineArrowsSortLineDesc,rightSlot:vO(EE,{children:vO(Jn,{style:"outline",size:"s",isExpanded:n,text:a,focusable:!1})}),children:e("direction-category")}),children:vO(mi.Section,{children:[vO(mi.ItemWithCheckmark,{onClick:()=>vE("asc"),leadingIcon:Hn.lineArrowsSortLineAsc,isChecked:"asc"===i,children:n(`${r}-asc`)}),vO(mi.ItemWithCheckmark,{onClick:()=>vE("desc"),leadingIcon:Hn.lineArrowsSortLineDesc,isChecked:"desc"===i,children:n(`${r}-desc`)})]})})]})})]})})},zE=e=>{const{id:t,children:n,...r}=e;return vO("button",{...r,className:"UsCYY7sB",onClick:()=>{return e=t,void(TE.value=e);var e},"aria-current":!(TE.value!==t)||void 0,children:vO(Wn,{type:"paragraph",size:"m",bold:!0,children:n})})},FE=e=>{if(e)return e.charAt(0).toLocaleUpperCase()+e.slice(1)},BE=()=>{const{t:e}=gP("filters"),{flaky:t,retry:n,new:r}=fE.value.filter,i=t||n||r;return vO(mi,{menuTrigger:({isOpened:t,onClick:n})=>vO("div",{className:i&&"YfN3wtCh",children:vO(Qn,{icon:Hn.lineGeneralSettings1,text:e("more-filters"),size:"m",style:"outline",isActive:t,"data-testid":"filters-button",onClick:n})}),children:vO(mi.Section,{children:[vO(mi.Item,{closeMenuOnClick:!1,ariaLabel:e("enable-filter",{filter:e("flaky")}),onClick:()=>{bE("flaky",!t)},leadingIcon:Hn.lineGeneralZap,rightSlot:vO("div",{className:LE,children:vO(yi,{focusable:!1,value:t,label:e("enable-filter",{filter:e("flaky")}),"data-testid":"flaky-filter",onChange:e=>bE("flaky",e)})}),children:e("flaky")}),vO(mi.Item,{closeMenuOnClick:!1,ariaLabel:e("enable-filter",{filter:e("retry")}),onClick:()=>bE("retry",!n),leadingIcon:Hn.lineArrowsRefreshCcw1,rightSlot:vO("div",{className:LE,children:vO(yi,{focusable:!1,value:n,label:e("enable-filter",{filter:e("retry")}),"data-testid":"retry-filter",onChange:e=>bE("retry",e)})}),children:e("retry")}),vO(mi.Item,{closeMenuOnClick:!1,ariaLabel:e("enable-filter",{filter:e("new")}),onClick:()=>bE("new",!r),leadingIcon:Hn.lineAlertsNotificationBox,rightSlot:vO("div",{className:LE,children:vO(yi,{focusable:!1,value:r,label:e("enable-filter",{filter:e("new")}),"data-testid":"new-filter",onChange:e=>bE("new",e)})}),children:e("new")})]})})},RE=()=>{const{query:e}=fE.value,{t:t}=gP("search");return vO(hi,{placeholder:t("search-placeholder"),value:e,onChange:gE})},$E=()=>{const{t:e}=gP("statuses");return vO("div",{className:"XucdxLZi",children:[vO("div",{className:"Yvmys5Jh",children:[vO(RE,{}),vO(BE,{})]}),vO("div",{className:"Rp0AiF9N",children:[vO("div",{className:"OEbXGm38",children:vO(di,{source:SO,renderData:t=>{const n=eL.map((e=>({status:e,value:t[e]}))).filter((({value:e})=>e)).map((({status:t,value:n})=>vO(zE,{"data-testid":`tab-${t}`,id:t,children:[FE(e(t)??t)," ",vO(bi,{count:n,size:"s",status:t})]},t)));return vO(T,{children:[vO(zE,{"data-testid":"tab-all",id:"total",children:[FE(e("total"))," ",vO(bi,{count:t?.total??0,size:"s"})]}),n]})}})}),vO(jE,{})]})]})};var DE="undefined"!=typeof window?window:null,IE=null===DE,UE=IE?void 0:DE.document,HE="addEventListener",qE="removeEventListener",VE="getBoundingClientRect",WE="_a",YE="_b",GE="_c",ZE="horizontal",KE=function(){return!1},QE=IE?"calc":["","-webkit-","-moz-","-o-"].filter((function(e){var t=UE.createElement("div");return t.style.cssText="width:"+e+"calc(9px)",!!t.style.length})).shift()+"calc",XE=function(e){return"string"==typeof e||e instanceof String},JE=function(e){if(XE(e)){var t=UE.querySelector(e);if(!t)throw new Error("Selector "+e+" did not match a DOM element");return t}return e},ej=function(e,t,n){var r=e[t];return void 0!==r?r:n},tj=function(e,t,n,r){if(t){if("end"===r)return 0;if("center"===r)return e/2}else if(n){if("start"===r)return 0;if("center"===r)return e/2}return e},nj=function(e,t){var n=UE.createElement("div");return n.className="gutter gutter-"+t,n},rj=function(e,t,n){var r={};return XE(t)?r[e]=t:r[e]=QE+"("+t+"% - "+n+"px)",r},ij=function(e,t){var n;return(n={})[e]=t+"px",n},oj=function(e,t){if(void 0===t&&(t={}),IE)return{};var n,r,i,o,a,s,l=e;Array.from&&(l=Array.from(l));var c=JE(l[0]).parentNode,u=getComputedStyle?getComputedStyle(c):null,d=u?u.flexDirection:null,f=ej(t,"sizes")||l.map((function(){return 100/l.length})),h=ej(t,"minSize",100),p=Array.isArray(h)?h:l.map((function(){return h})),g=ej(t,"maxSize",1/0),m=Array.isArray(g)?g:l.map((function(){return g})),v=ej(t,"expandToMin",!1),b=ej(t,"gutterSize",10),y=ej(t,"gutterAlign","center"),_=ej(t,"snapOffset",30),w=Array.isArray(_)?_:l.map((function(){return _})),x=ej(t,"dragInterval",1),k=ej(t,"direction",ZE),C=ej(t,"cursor",k===ZE?"col-resize":"row-resize"),S=ej(t,"gutter",nj),M=ej(t,"elementStyle",rj),T=ej(t,"gutterStyle",ij);function A(e,t,r,i){var o=M(n,t,r,i);Object.keys(o).forEach((function(t){e.style[t]=o[t]}))}function N(){return s.map((function(e){return e.size}))}function O(e){return"touches"in e?e.touches[0][r]:e[r]}function P(e){var t=s[this.a],n=s[this.b],r=t.size+n.size;t.size=e/this.size*r,n.size=r-e/this.size*r,A(t.element,t.size,this[YE],t.i),A(n.element,n.size,this[GE],n.i)}function L(e){var n,r=s[this.a],i=s[this.b];this.dragging&&(n=O(e)-this.start+(this[YE]-this.dragOffset),x>1&&(n=Math.round(n/x)*x),n<=r.minSize+r.snapOffset+this[YE]?n=r.minSize+this[YE]:n>=this.size-(i.minSize+i.snapOffset+this[GE])&&(n=this.size-(i.minSize+this[GE])),n>=r.maxSize-r.snapOffset+this[YE]?n=r.maxSize+this[YE]:n<=this.size-(i.maxSize-i.snapOffset+this[GE])&&(n=this.size-(i.maxSize+this[GE])),P.call(this,n),ej(t,"onDrag",KE)(N()))}function E(){var e=s[this.a].element,t=s[this.b].element,r=e[VE](),a=t[VE]();this.size=r[n]+a[n]+this[YE]+this[GE],this.start=r[i],this.end=r[o]}function j(e){var t=function(e){if(!getComputedStyle)return null;var t=getComputedStyle(e);if(!t)return null;var n=e[a];return 0===n?null:n-=k===ZE?parseFloat(t.paddingLeft)+parseFloat(t.paddingRight):parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)}(c);if(null===t)return e;if(p.reduce((function(e,t){return e+t}),0)>t)return e;var n=0,r=[],i=e.map((function(i,o){var a=t*i/100,s=tj(b,0===o,o===e.length-1,y),l=p[o]+s;return a<l?(n+=l-a,r.push(0),l):(r.push(a-l),a)}));return 0===n?e:i.map((function(e,i){var o=e;if(n>0&&r[i]-n>0){var a=Math.min(n,r[i]-n);n-=a,o=e-a}return o/t*100}))}function z(){var e=this,n=s[e.a].element,r=s[e.b].element;e.dragging&&ej(t,"onDragEnd",KE)(N()),e.dragging=!1,DE[qE]("mouseup",e.stop),DE[qE]("touchend",e.stop),DE[qE]("touchcancel",e.stop),DE[qE]("mousemove",e.move),DE[qE]("touchmove",e.move),e.stop=null,e.move=null,n[qE]("selectstart",KE),n[qE]("dragstart",KE),r[qE]("selectstart",KE),r[qE]("dragstart",KE),n.style.userSelect="",n.style.webkitUserSelect="",n.style.MozUserSelect="",n.style.pointerEvents="",r.style.userSelect="",r.style.webkitUserSelect="",r.style.MozUserSelect="",r.style.pointerEvents="",e.gutter.style.cursor="",e.parent.style.cursor="",UE.body.style.cursor=""}function F(e){if(!("button"in e)||0===e.button){var n=this,r=s[n.a].element,i=s[n.b].element;n.dragging||ej(t,"onDragStart",KE)(N()),e.preventDefault(),n.dragging=!0,n.move=L.bind(n),n.stop=z.bind(n),DE[HE]("mouseup",n.stop),DE[HE]("touchend",n.stop),DE[HE]("touchcancel",n.stop),DE[HE]("mousemove",n.move),DE[HE]("touchmove",n.move),r[HE]("selectstart",KE),r[HE]("dragstart",KE),i[HE]("selectstart",KE),i[HE]("dragstart",KE),r.style.userSelect="none",r.style.webkitUserSelect="none",r.style.MozUserSelect="none",r.style.pointerEvents="none",i.style.userSelect="none",i.style.webkitUserSelect="none",i.style.MozUserSelect="none",i.style.pointerEvents="none",n.gutter.style.cursor=C,n.parent.style.cursor=C,UE.body.style.cursor=C,E.call(n),n.dragOffset=O(e)-n.end}}k===ZE?(n="width",r="clientX",i="left",o="right",a="clientWidth"):"vertical"===k&&(n="height",r="clientY",i="top",o="bottom",a="clientHeight"),f=j(f);var B=[];function R(e){var t=e.i===B.length,n=t?B[e.i-1]:B[e.i];E.call(n);var r=t?n.size-e.minSize-n[GE]:e.minSize+n[YE];P.call(n,r)}return s=l.map((function(e,t){var r,i={element:JE(e),size:f[t],minSize:p[t],maxSize:m[t],snapOffset:w[t],i:t};if(t>0&&((r={a:t-1,b:t,dragging:!1,direction:k,parent:c})[YE]=tj(b,t-1==0,!1,y),r[GE]=tj(b,!1,t===l.length-1,y),"row-reverse"===d||"column-reverse"===d)){var o=r.a;r.a=r.b,r.b=o}if(t>0){var a=S(t,k,i.element);!function(e,t,r){var i=T(n,t,r);Object.keys(i).forEach((function(t){e.style[t]=i[t]}))}(a,b,t),r[WE]=F.bind(r),a[HE]("mousedown",r[WE]),a[HE]("touchstart",r[WE]),c.insertBefore(a,i.element),r.gutter=a}return A(i.element,i.size,tj(b,0===t,t===l.length-1,y),t),t>0&&B.push(r),i})),s.forEach((function(e){var t=e.element[VE]()[n];t<e.minSize&&(v?R(e):e.minSize=t)})),{setSizes:function(e){var t=j(e);t.forEach((function(e,n){if(n>0){var r=B[n-1],i=s[r.a],o=s[r.b];i.size=t[n-1],o.size=e,A(i.element,i.size,r[YE],i.i),A(o.element,o.size,r[GE],o.i)}}))},getSizes:N,collapse:function(e){R(s[e])},destroy:function(e,t){B.forEach((function(r){if(!0!==t?r.parent.removeChild(r.gutter):(r.gutter[qE]("mousedown",r[WE]),r.gutter[qE]("touchstart",r[WE])),!0!==e){var i=M(n,r.a.size,r[YE]);Object.keys(i).forEach((function(e){s[r.a].element.style[e]="",s[r.b].element.style[e]=""}))}}))},parent:c,pairs:B}},aj="OyL7dy7N",sj="t22uAI7s",lj=({left:e,right:t})=>{const n=de(null);return ue((()=>{const e=JSON.parse(localStorage.getItem("sideBySidePosition")||"[50, 50]"),t=oj([`.${aj}`,`.${sj}`],{sizes:e,gutterSize:7,gutter:()=>{const e=document.createElement("div");return e.className="sgMxjSNq",e.addEventListener("dblclick",(()=>{const e=t.getSizes();if("[50,50]"===JSON.stringify(e))return t.setSizes([30,70]),void localStorage.setItem("sideBySidePosition",JSON.stringify([30,70]));t.setSizes([50,50]),localStorage.setItem("sideBySidePosition",JSON.stringify([50,50]))})),e},onDragEnd:()=>{const e=t.getSizes();localStorage.setItem("sideBySidePosition",JSON.stringify(e))}});return()=>{t.destroy()}}),[]),vO("div",{class:"Jryczg8r",ref:n,children:[vO("div",{class:aj,children:e}),vO("div",{class:sj,children:t})]})};const cj="bits",uj="bytes",dj="",fj="jedec",hj={symbol:{iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["bit","Kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},fullform:{iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]}};const pj=({item:e,shouldExpand:t})=>{const{id:n,ext:r,contentType:i}=e.link,{t:o}=gP("controls"),a=!1===e.link.missed?e.link.contentLength:void 0,s=a?function(e,{bits:t=!1,pad:n=!1,base:r=-1,round:i=2,locale:o="",localeOptions:a={},separator:s="",spacer:l=" ",symbols:c={},standard:u="",output:d="string",fullform:f=!1,fullforms:h=[],exponent:p=-1,roundingMethod:g="round",precision:m=0}={}){let v=p,b=Number(e),y=[],_=0,w=dj;"si"===u?(r=10,u=fj):"iec"===u||u===fj?r=2:2===r?u="iec":(r=10,u=fj);const x=10===r?1e3:1024,k=!0===f,C=b<0,S=Math[g];if("bigint"!=typeof e&&isNaN(e))throw new TypeError("Invalid number");if("function"!=typeof S)throw new TypeError("Invalid rounding method");if(C&&(b=-b),(-1===v||isNaN(v))&&(v=Math.floor(Math.log(b)/Math.log(x)),v<0&&(v=0)),v>8&&(m>0&&(m+=8-v),v=8),"exponent"===d)return v;if(0===b)y[0]=0,w=y[1]=hj.symbol[u][t?cj:uj][v];else{_=b/(2===r?Math.pow(2,10*v):Math.pow(1e3,v)),t&&(_*=8,_>=x&&v<8&&(_/=x,v++));const e=Math.pow(10,v>0?i:0);y[0]=S(_*e)/e,y[0]===x&&v<8&&-1===p&&(y[0]=1,v++),w=y[1]=10===r&&1===v?t?"kbit":"kB":hj.symbol[u][t?cj:uj][v]}if(C&&(y[0]=-y[0]),m>0&&(y[0]=y[0].toPrecision(m)),y[1]=c[y[1]]||y[1],!0===o?y[0]=y[0].toLocaleString():o.length>0?y[0]=y[0].toLocaleString(o,a):s.length>0&&(y[0]=y[0].toString().replace(".",s)),n&&i>0){const e=y[0].toString(),t=s||(e.match(/(\D)/g)||[]).pop()||".",n=e.toString().split(t),r=n[1]||dj,o=r.length,a=i-o;y[0]=`${n[0]}${t}${r.padEnd(o+a,"0")}`}return k&&(y[1]=h[v]?h[v]:hj.fullform[u][v]+(t?"bit":"byte")+(1===y[0]?dj:"s")),"array"===d?y:"object"===d?{value:y[0],symbol:y[1],exponent:v,unit:w}:y.join(l)}(a,{base:2,round:1}):"-";return ue((()=>{MP.value&&AP({data:e,component:vO(SP,{item:e})})}),[e]),vO("div",{className:lO,children:[Boolean(i)&&vO(Wn,{size:"s",children:i}),Boolean(s)&&vO(Wn,{size:"s",children:s}),vO("div",{className:"jY67aHNB",children:[t&&vO(ui,{tooltipText:o("expand"),children:vO(Xn,{className:sO,style:"ghost",size:"s",iconSize:"s",icon:Hn.lineArrowsExpand3,onClick:t=>{t.stopPropagation(),AP({data:e,component:vO(SP,{item:e,previewable:!0})})}})}),vO(ui,{tooltipText:o("downloadAttachment"),children:vO(Xn,{style:"ghost",size:"s",iconSize:"s",className:sO,icon:Hn.lineGeneralDownloadCloud,onClick:e=>(async e=>{e.stopPropagation(),await wP(n,r,i)})(e)})})]})]})},{lineImagesImage:gj,lineFilesFileAttachment2:mj}=Hn,vj={"text/plain":mj,"application/xml":mj,"text/html":mj,"text/csv":mj,"text/tab-separated-values":mj,"text/css":mj,"text/uri-list":mj,"image/svg+xml":gj,"image/png":gj,"application/json":mj,"application/zip":mj,"video/webm":gj,"image/jpeg":gj,"video/mp4":gj,"application/vnd.allure.image.diff":gj},bj=({item:e,stepIndex:t})=>{const[n,r]=ce(!1),{link:i}=e,{missed:o}=i,a=xP(i.contentType),s=!["archive",null].includes(a.type);return vO("div",{className:dO,children:[vO("div",{className:"NClSgUkb",onClick:e=>{e.stopPropagation(),r((e=>!e))},children:[vO(oE,{isOpened:n}),vO("div",{className:"xsdu1baI",children:vO(qn,{size:"s",id:vj[i.contentType]??mj})}),vO(Yn,{size:"s",className:fO,children:t}),vO(Wn,{className:"YhP1nstj",children:i.name||i.originalFileName}),o&&vO(Wn,{size:"s",className:"M5C3U8un",children:"missed"}),vO(pj,{item:e,shouldExpand:s})]}),n&&s&&vO("div",{className:"WOIqyvuJ",children:vO("div",{className:"y0BEE3YM",children:vO(SP,{item:e})})})]})},yj=({testResult:e})=>{const{attachments:t}=e??{},{t:n}=gP("empty");return vO("div",{className:"lHWtNuYW",children:t.length?t?.map(((e,t)=>vO(bj,{item:e,stepIndex:t+1},t))):vO("div",{className:"BiuJf74I",children:n("no-attachments-results")})})};var _j="YI1X4HYJ";const wj={flaky:Hn.lineIconBomb2,known:Hn.lineAlertsAlertCircle,muted:Hn.lineGeneralEye},xj=({statuses:e})=>{const{t:t}=gP("filters");return vO("div",{className:"Y2wO3Jz0",children:e.map((([e],n)=>{const r=t(e);return vO("div",{className:"v32hNHgM",children:[vO(qn,{className:"l2lGqhp3",id:wj[e],size:"s"}),FE(r)]},n)}))})},kj=async e=>{if(navigator.clipboard)return void await navigator.clipboard.writeText(e);const t=document.createElement("textarea");t.value=e,t.style.position="fixed",t.style.opacity="0",document.body.appendChild(t),t.focus(),t.select(),document.execCommand("copy"),document.body.removeChild(t)},Cj=({testResult:e})=>{const{fullName:t,id:n}=e??{},r=n||"",{t:i}=gP("controls"),o=()=>vO("div",{"data-testid":"test-result-fullname",className:"OGkPEw6j",children:[vO(ui,{tooltipText:i("clipboard"),tooltipTextAfterClick:i("clipboardSuccess"),children:vO(Xn,{"data-testid":"test-result-fullname-copy",style:"ghost",size:"s",icon:Hn.lineGeneralCopy3,onClick:()=>kj(t)})}),vO(Yn,{tag:"div",size:"s",className:"aDnq0qBA",children:t&&t})]});return vO(di,{source:KP,renderData:n=>{const a=n.indexOf(r)+1;return vO("div",{className:"jZIVsVCY",children:[t&&vO(o,{}),n&&!e?.hidden&&vO("div",{className:"j6KIdAcw",children:[vO(ui,{tooltipText:i("prevTR"),isTriggerActive:a>1,children:vO(Xn,{icon:Hn.lineArrowsChevronDown,style:"ghost",isDisabled:a===n.length,"data-testid":"test-result-nav-prev",className:"w2YsvOzy",onClick:()=>UP(n[a])})}),vO(Yn,{"data-testid":"test-result-nav-current",size:"s",className:"uO8tXVUk",children:[a,"/",n.length]}),vO(ui,{tooltipText:i("nextTR"),children:vO(Xn,{icon:Hn.lineArrowsChevronDown,style:"ghost",isDisabled:a<=1,"data-testid":"test-result-nav-next",onClick:()=>UP(n[a-2])})})]})]})}})},Sj={month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1},Mj=(e,t=Sj)=>{const n=new Date(e),{t:r}=gP("ui");return new Intl.DateTimeFormat("en-US",t).format(n).replace(",",` ${r("at")}`)};var Tj="xqQAEgub",Aj="DQBIldwf",Nj="XQ3awPuJ",Oj="Aq7cjsJ6",Pj="lMt3wwSw",Lj="Fp44c8Rs",Ej="mVYRZsN7",jj="jx_WyjHM";const zj=({item:e})=>vO("div",{className:Lj,onClick:()=>UP(`testresult/${e.id}`),children:vO(qn,{id:Hn.lineShapesDotCircle,className:n[`status-${e?.status}`]})}),Fj=({item:e})=>{const t=e.stop&&Mj(e.stop),{t:n}=gP("statuses"),r=n(e.status);return vO("div",{className:Ej,children:[vO(Wn,{tag:"div",size:"m",bold:!0,children:FE(r)}),vO(Wn,{size:"m",children:t})]})},Bj=({history:e})=>vO("div",{className:jj,children:e?.slice(0,6).map(((e,t)=>vO("div",{className:Lj,children:vO(ui,{tooltipComponent:vO(Fj,{item:e}),children:vO(zj,{item:e})},t)},t)))});var Rj="ePVWhlAm",$j="sJislQz7",Dj="aDIydjIg",Ij="lMk40Juq",Uj="AS2wQZhs",Hj="HBsDl1PG",qj="mmgpkdOE";const Vj={blocker:Hn.lineArrowsChevronUpDouble,critical:Hn.lineArrowsChevronUp,normal:Hn.lineGeneralEqual,minor:Hn.lineArrowsChevronDown,trivial:Hn.lineArrowsChevronDownDouble},Wj=({severity:e="normal"})=>{const{t:t}=gP("severity"),n=zP(r[`severity-${e}`]);return vO("div",{className:Hj,children:[vO(qn,{className:n,id:Vj[e]}),vO(Wn,{size:"s",bold:!0,className:qj,children:FE(t(e))})]})};var Yj="VTYhq6OX",Gj="kQ8ST0Is",Zj="GuvN0hpG",Kj="AzRqq4g7",Qj="Vbn0h8fE",Xj="OgKWktgc",Jj="syxme624",ez="Vk53tsKp";const tz=({status:e})=>{const{t:t}=gP("statuses");return vO("div",{"data-testid":`test-result-status-${e}`,className:zP(Xj,i[`status-${e}`]),children:[vO(QL,{status:e,className:Jj,classNameIcon:Jj}),vO(Wn,{type:"ui",size:"s",bold:!0,className:ez,children:FE(t(e)??e)})]})},nz=G(null),rz=()=>{const e=pe(nz);if(!e)throw new Error("TestResultTabs components must be used within a TestResultTabs component");return e},iz=e=>{const{children:t,initialTab:n}=e,[r,i]=ce(n);return vO(nz.Provider,{value:{currentTab:r,setCurrentTab:i},children:t})},oz=e=>vO(iz,{...e}),az=e=>vO("div",{className:"ehcbtGaK",children:e.children}),sz=e=>{const{id:t,children:n}=e,{currentTab:r,setCurrentTab:i}=rz(),o=r===t;return vO("button",{className:"jTSna8cM",onClick:()=>{o||i(t)},"aria-current":!!o||void 0,children:vO(Wn,{type:"paragraph",size:"m",children:n})})},lz=({testResult:e})=>{const{name:t,status:n,muted:r,flaky:i,known:o,duration:a,labels:s,history:l,retries:c,attachments:u,stop:d}=e??{},f=sL(a),h=d&&Mj(d),p=s?.find((e=>"severity"===e.name))?.value??"normal",{t:g}=gP("ui"),m=Object.entries({flaky:i,muted:r,known:o}).filter((([,e])=>e));return vO("div",{className:"Hz45mnhp",children:[vO(Cj,{testResult:e}),e&&vO((()=>vO(T,{children:[t&&vO(Gn,{"data-testid":"test-result-info-title",tag:"h1",size:"s",className:"vcNRTtSe",children:t}),vO("div",{className:"On9PeyVM",children:[Boolean(n)&&vO(tz,{status:n}),Boolean(l?.length)&&vO(Bj,{history:l}),vO(Wj,{severity:p}),Boolean(m.length)&&vO(xj,{statuses:m}),vO(ui,{tooltipText:h,children:vO(Wn,{tag:"div",size:"s",bold:!0,className:"NDKPGnKG",children:f})})]}),vO("div",{className:"IgPGUqT3",children:vO(az,{children:[vO(sz,{id:"overview",children:g("overview")}),vO(sz,{id:"history",disabled:!l?.length,children:vO("div",{className:_j,children:[g("history"),Boolean(l?.length)&&vO(bi,{size:"s",count:l?.length})]})}),vO(sz,{id:"retries",disabled:!c?.length,children:vO("div",{className:_j,children:[g("retries"),Boolean(c?.length)&&vO(bi,{size:"s",count:c?.length})]})}),vO(sz,{id:"attachments",disabled:!u?.length,children:vO("div",{className:_j,children:[g("attachments"),Boolean(u?.length)&&vO(bi,{size:"s",count:u?.length})]})})]})})]})),{})]})},cz=()=>vO("div",{className:"sKQc4srm",children:vO("div",{className:"xSISIn1t",children:[vO(qn,{size:"m",width:"32px",height:"32px",id:Hn.lineDevCodeSquare,className:"kByfPQ8J"}),vO(Wn,{className:"_nmn14QL",children:"No test case results"})]})});var uz=()=>vO("div",{className:XP,children:[vO(lz,{}),vO(cz,{})]});const dz=({trace:e})=>vO("div",{"data-testid":"test-result-error-trace",className:"P9jo6syG",children:vO(Yn,{size:"s",type:"ui",children:vO("pre",{children:e})})}),fz=({message:e,trace:t})=>{const[n,r]=ce(!1),{t:i}=gP("ui"),{t:o}=gP("controls");return vO("div",{"data-testid":"test-result-error",className:"PYOcNd_c",children:[vO("div",{"data-testid":"test-result-error-header",className:"uuV4cOHF",children:[vO(Wn,{tag:"p",size:"m",bold:!0,className:"KPkfuiBe",children:i("error")}),vO(ui,{tooltipText:o("clipboard"),tooltipTextAfterClick:o("clipboardSuccess"),children:vO(Xn,{style:"ghost",size:"s",icon:Hn.lineGeneralCopy3,onClick:()=>{kj(e)}})})]}),vO("div",{className:"opuJhL4z",onClick:()=>r(!n),children:vO(Yn,{"data-testid":"test-result-error-message",size:"s",children:vO("pre",{children:e})})}),n&&t&&vO(dz,{trace:t})]})};var hz="g2Q2QUdS",pz="G3x0qV6C";const gz=({testResultItem:e})=>{const{status:t,message:n,trace:r,stop:i,duration:o,id:a}=e,[s,l]=ce(!1),c=Mj(i),u=sL(o),{t:d}=gP("controls"),f=`testresult/${a}`;return vO("div",{children:[vO("div",{className:"v4OGkqDl",children:[Boolean(n)&&vO("span",{onClick:()=>l(!s),children:vO(oE,{isOpened:s,icon:Hn.arrowsChevronDown})}),vO("div",{className:"hPMeC81o",onClick:e=>{e.stopPropagation(),UP(f)},children:[vO(QL,{status:t,className:"ESLht2mP"}),vO(Wn,{className:"ZLJkKiOW",children:c}),vO("div",{className:"U5zJuGoO",children:[vO(Wn,{type:"ui",size:"s",className:"ugNJ_2CO",children:u}),vO(ui,{tooltipText:d("openInNewTab"),children:vO(Xn,{icon:Hn.lineGeneralLinkExternal,style:"ghost",size:"s",className:"PeifZUoW",onClick:e=>{var t;e.stopPropagation(),t=f,window.open(`#${t}`,"_blank")}})})]})]})]}),s&&n&&vO("div",{children:vO(fz,{message:n,trace:r})})]})};var mz=({testResult:e})=>{const{history:t}=e??{},{t:n}=gP("empty");return vO("div",{className:pz,children:t.length?t?.map(((e,t)=>vO(gz,{testResultItem:e},t))):vO("div",{className:hz,children:n("no-history-results")})})};const vz=({isOpened:e,setIsOpen:t,counter:n,title:r})=>vO("div",{className:zP("pLtXZ2UC",e&&"WwtUTGAA"),onClick:()=>t(!e),children:[vO(Wn,{size:"m",bold:!0,children:r}),n&&vO(bi,{count:n,size:"s"}),vO(oE,{isOpened:e,iconSize:"s",buttonSize:"s",className:"tRJc3qyU"})]}),bz=({description:e})=>{const[t,n]=ce(!0);return vO("div",{className:"pq4AfC4A",children:vO("div",{className:"JPSZ15fh",children:[vO(vz,{title:"Description",setIsOpen:n,isOpened:t}),t&&vO(Wn,{tag:"p",className:"ZMk0p9l2",children:e||"Description mock"})]})})},yz={issue:Hn.lineDevBug2,link:Hn.lineGeneralLink1,tms:Hn.lineGeneralChecklist3,github:Hn.github},_z=({link:e})=>{const{url:t,type:n}=e;return vO("div",{className:"_MFVY6eP",children:[vO(qn,{id:yz[n]??Hn.lineGeneralLink1}),vO(Wn,{tag:"a",href:t,target:"_blank",size:"m",className:"OJlBpBh6",children:t})]})},wz=({links:e})=>{const[t,n]=ce(!0),{t:r}=gP("ui"),i=e.map(((e,t)=>vO(_z,{link:e},t)));return vO("div",{className:"KSGnxExI",children:vO("div",{className:"Q1OuSIN9",children:[vO(vz,{isOpened:t,setIsOpen:n,counter:e.length,title:r("links")}),t&&vO("div",{className:"XCAUNxEG",children:i})]})})};var xz="nN4HTcaV",kz="zekPInHE",Cz="n8aAEqJN",Sz="gWhwmmak",Mz="vbS07EBz",Tz="GnFlAHvD",Az="SOj4fXZr",Nz="Y0BjnooD",Oz="DYf1zpQK",Pz="x3aRsFUn",Lz="UDXyMSw0",Ez="S2HdG_Q4",jz="J2Ih3NTA",zz="P3sa8qE8",Fz="mINTqK_J",Bz="Mo_tidg4",Rz="A6GWJHtf",$z="mS0_tpbu",Dz="Qc1PPhPw",Iz="WnwsZxzW",Uz="FFZ1ZZHu",Hz="SmbunT7K",qz="XZvscg6t",Vz="tf5VzSUo",Wz="a26GxOK7",Yz="HaG13R7H";const Gz=({envInfo:e,size:t="m",columns:n=2})=>vO("div",{class:Fz,style:{gridTemplateColumns:`repeat(${n}, ${100/n-5}%)`},children:e?.map((({name:e,values:n,value:r})=>vO(Xz,{size:t,title:e,value:r,values:n},e)))}),Zz=({groupedLabels:e,size:t="m"})=>vO("div",{class:Fz,children:e&&Object.entries(e)?.map((([e,n])=>vO(Xz,{size:t,title:e,values:n},e)))}),Kz=e=>{const{value:t}=e,{t:n}=gP("ui");return vO("div",{className:Tz,children:[vO("div",{className:Az,children:vO(Wn,{children:t})}),vO(Qn,{style:"outline",icon:Hn.lineGeneralCopy3,text:n("copy"),onClick:()=>kj(t)})]})},Qz=({size:e="s",value:t})=>vO(mi,{size:"xl",menuTrigger:({onClick:n})=>vO("div",{className:zz,children:vO(Wn,{type:"ui",size:e,onClick:n,bold:!0,className:jz,children:t})}),children:vO(mi.Section,{children:vO(Kz,{value:t})})}),Xz=({title:e,value:t,values:n,size:r="m"})=>vO("div",{className:Lz,children:[vO(Wn,{type:"ui",size:r,className:zP(Ez,o[`report-metadata-${r}`]),children:e}),vO("div",n?.length?{className:Iz,children:n.map((e=>vO(Qz,{value:e},e)))}:{className:Iz,children:vO(Qz,{value:t})})]}),Jz=({testResult:e})=>{const{t:t}=gP("ui"),{labels:n,groupedLabels:r}=e??{},[i,o]=ce(!0);return vO("div",{className:"HMzudBb_",children:[vO(vz,{isOpened:i,setIsOpen:o,counter:n?.length,title:t("labels")}),vO("div",{className:"G8UXauSk",children:i&&vO(Zz,{groupedLabels:r})})]})},eF=({parameters:e})=>{const[t,n]=ce(!0),{t:r}=gP("ui");return vO("div",{className:"vlhZ6yiu",children:[vO(vz,{isOpened:t,setIsOpen:n,counter:e?.length,title:r("parameters")}),vO("div",{className:"stx8B093",children:t&&vO(Gz,{envInfo:e})})]})},tF=({isOpened:e,setIsOpen:t,title:n,icon:r,counter:i})=>vO("div",{className:"ZVl83t31",onClick:()=>t(!e),children:[vO(oE,{isOpened:e,icon:Hn.arrowsChevronDown}),vO("div",{className:"MCykzAEY",children:[vO(qn,{id:r}),vO(Wn,{bold:!0,children:n}),vO(bi,{count:i,size:"s"})]})]}),nF=e=>{const{item:t}=e,n=sL(t?.duration),r=t.steps?.length,i=t.steps?.filter((e=>"attachment"===e.type))?.length;return vO("div",{className:lO,children:[Boolean(r)&&vO("div",{className:cO,children:[vO(qn,{id:Hn.lineArrowsCornerDownRight,className:uO}),vO(Wn,{size:"s",children:r})]}),Boolean(i)&&vO("div",{className:cO,children:[vO(qn,{id:Hn.lineFilesFileAttachment2,className:uO}),vO(Wn,{size:"s",children:i})]}),vO(Wn,{type:"ui",size:"s",className:"Lbzy38ql",children:n})]})},rF=e=>{const{parameters:t}=e;return vO("div",{className:"x7E22IMb",children:vO(Gz,{size:"s",envInfo:t,columns:1})})},iF=e=>{const{item:t}=e;return vO("div",{className:"V59qwsC9",children:[Boolean(t?.parameters?.length)&&vO(rF,{parameters:t.parameters}),Boolean(t?.steps?.length)&&vO(T,{children:t.steps?.map(((e,t)=>"step"===e.type?vO(oF,{stepIndex:t+1,item:e},t):"attachment"===e.type?vO(bj,{stepIndex:t+1,item:e},t):null))})]})},oF=({item:e,stepIndex:t})=>{const[n,r]=ce(!1),i=Boolean(e?.steps?.length||e?.parameters?.length);return vO("div",{className:dO,children:[vO("div",{className:"BLj8jyeL",onClick:()=>r(!n),children:[i?vO(oE,{isOpened:n,icon:Hn.arrowsChevronDown,iconSize:"xs",className:i?"":"ltfK3AJk"}):vO("div",{className:"EqxJciQs"}),vO(QL,{status:e.status}),vO(Yn,{size:"s",className:fO,children:t}),vO(Wn,{className:"PSq1xZ_F",children:e.name}),vO(nF,{item:e})]}),i&&n&&vO(iF,{item:e})]})},aF={before:oF,after:oF,step:oF,attachment:bj},sF=({setup:e})=>{const[t,n]=ce(!1),{t:r}=gP("execution");return vO("div",{className:pO,children:[vO(tF,{icon:Hn.lineTimeClockStopwatch,isOpened:t,setIsOpen:n,counter:e?.length,title:r("setup")}),t&&vO("div",{className:gO,children:e?.map(((e,t)=>{const n=aF[e.type];return n?vO(n,{item:e,stepIndex:t+1,className:hO},t):null}))})]})},lF={step:oF,attachment:bj},cF=({steps:e})=>{const[t,n]=ce(!0),{t:r}=gP("execution");return vO("div",{className:pO,children:[vO(tF,{icon:Hn.lineHelpersPlayCircle,isOpened:t,setIsOpen:n,counter:e?.length,title:r("body")}),t&&vO("div",{className:gO,children:e?.map(((e,t)=>{const{type:n}=e,r=lF[n];return r?vO(r,{item:e,stepIndex:t+1},t):null}))})]})},uF={before:oF,after:oF,step:oF,attachment:bj},dF=({teardown:e})=>{const[t,n]=ce(!1),{t:r}=gP("execution");return vO("div",{className:pO,children:[vO(tF,{icon:Hn.lineHelpersFlag,isOpened:t,setIsOpen:n,counter:e?.length,title:r("teardown")}),t&&vO("div",{className:gO,children:e?.map(((e,t)=>{const n=uF[e.type];return n?vO(n,{item:e,stepIndex:t+1,className:hO},t):null}))})]})},fF=({testResult:e})=>{const{error:t,parameters:n,groupedLabels:r,links:i,description:o,setup:a,steps:s,teardown:l}=e||{};return vO(T,{children:[Boolean(t?.message)&&vO("div",{className:"ysybXq6j",children:vO(fz,{...t})}),Boolean(n?.length)&&vO(eF,{parameters:n}),Boolean(r&&Object.keys(r||{})?.length)&&vO(Jz,{testResult:e}),Boolean(i?.length)&&vO(wz,{links:i}),Boolean(o)&&vO(bz,{description:o}),vO("div",{className:"ngxaEBWQ",children:[Boolean(a?.length)&&vO(sF,{setup:a}),Boolean(s?.length)&&vO(cF,{steps:s}),Boolean(l?.length)&&vO(dF,{teardown:l})]})]})},hF=({testResultItem:e})=>{const{id:t,status:n,message:r,trace:i,stop:o,duration:a}=e,[s,l]=ce(!1),c=Mj(o),u=sL(a),d=`testresult/${t}`;return vO("div",{children:[vO("div",{className:"icEXWH0q",onClick:()=>l(!s),children:[Boolean(r)&&vO(oE,{isOpened:s,icon:Hn.lineArrowsChevronDown}),vO("div",{className:"COrcA2CS",children:[vO(QL,{status:n,className:"Har2oz3M"}),vO(Wn,{className:"AVV9JXDC",children:c}),vO("div",{className:"bveFbTQm",children:[vO(Wn,{type:"ui",size:"s",className:"FIRhvdKc",children:u}),vO(Xn,{icon:Hn.lineGeneralLinkExternal,style:"ghost",size:"s",className:"O_j9Bgov",onClick:()=>UP(d)})]})]})]}),s&&r&&vO("div",{className:"SEWVHj8Z",children:vO(fz,{message:r,trace:i})})]})},pF=({testResult:e})=>{const{retries:t}=e??{},{t:n}=gP("empty");return vO("div",{className:pz,children:t.length?t?.map(((e,t)=>vO(hF,{testResultItem:e},t))):vO("div",{className:hz,children:n("no-retries-results")})})},gF=({testResult:e})=>{const{currentTab:t}=rz();return vO({overview:fF,history:mz,attachments:yj,retries:pF}[t],{testResult:e})},mF=({testResult:e})=>vO(oz,{initialTab:"overview",children:[vO(lz,{testResult:e}),vO(gF,{testResult:e})]});var vF=({testResult:e})=>vO(T,{children:vO("div",{className:XP,children:e?vO(mF,{testResult:e}):vO(uz,{})})});const bF=qN({loading:!0,error:void 0,data:void 0}),yF=ZN((()=>!Object.keys(bF?.value?.data?.leavesById).length)),_F=qN({query:"",status:"total",filter:{flaky:!1,retry:!1,new:!1},sortBy:"order",direction:"asc"}),wF=ZN((()=>{const{root:e,leavesById:t,groupsById:n}=bF.value.data;return lE({group:e,leavesById:t,groupsById:n,filterOptions:_F.value})})),xF=ZN((()=>cE(wF.value)));var kF="dlLOOQT8",CF="vyvjSUmg",SF="pTNCfJfg";const MF=()=>{const{t:e}=gP("empty");return ue((()=>{var e;e=TE.value,_F.value={..._F.value,status:e}}),[TE.value]),vO(di,{source:bF,renderLoader:()=>vO(fi,{}),renderData:()=>yF.value?vO("div",{className:SF,children:vO("div",{className:kF,children:vO(Wn,{className:CF,children:e("no-results")})})}):xF.value?vO("div",{className:SF,children:vO("div",{className:kF,children:[vO(Wn,{tag:"p",className:CF,children:e("no-tests-found")}),vO(Qn,{className:"oRkZSoHE",type:"button",text:e("clear-filters"),size:"s",style:"outline",onClick:()=>{_F.value={query:"",status:"total",filter:{flaky:!1,retry:!1,new:!1},sortBy:"order",direction:"asc"}}})]})}):vO("div",{className:SF,children:vO(wE,{tree:wF.value,statusFilter:TE.value,root:!0})})})};const TF=qN({loading:!0,error:void 0,data:void 0}),AF=ZN((()=>!Object.keys(TF?.value?.data?.leavesById).length)),NF=qN({query:"",status:"total",filter:{flaky:!1,retry:!1,new:!1},sortBy:"order",direction:"asc"}),OF=ZN((()=>{const{root:e,leavesById:t,groupsById:n}=TF.value.data;return lE({group:e,leavesById:t,groupsById:n,filterOptions:NF.value})})),PF=ZN((()=>cE(OF.value)));var LF="sLYl7Pra",EF="m2UQBrrI",jF="nbXrFukM";const zF=()=>{const{t:e}=gP("empty");return ue((()=>{var e;e=TE.value,NF.value={...NF.value,status:e}}),[TE.value]),vO(di,{source:TF,renderLoader:()=>vO(fi,{}),renderData:()=>AF.value?vO("div",{className:jF,children:vO("div",{className:LF,children:vO(Wn,{className:EF,children:e("no-results")})})}):PF.value?vO("div",{className:jF,children:vO("div",{className:LF,children:[vO(Wn,{tag:"p",className:EF,children:e("no-tests-found")}),vO(Qn,{className:"B5ZlHO6K",type:"button",text:e("clear-filters"),size:"s",style:"outline",onClick:()=>{NF.value={query:"",status:"total",filter:{flaky:!1,retry:!1,new:!1},sortBy:"order",direction:"asc"}}})]})}):vO("div",{className:jF,children:vO(wE,{tree:OF.value,statusFilter:TE.value,root:!0})})})},FF=()=>{const{t:e}=gP("empty");return ue((()=>{var e;e=TE.value,fE.value={...fE.value,status:e}}),[TE.value]),vO(di,{source:uE,renderLoader:()=>vO(fi,{}),renderData:()=>dE.value?vO("div",{className:HL,children:vO("div",{className:PL,children:vO(Wn,{className:EL,children:e("no-results")})})}):pE.value?vO("div",{className:HL,children:vO("div",{className:PL,children:[vO(Wn,{tag:"p",className:EL,children:e("no-tests-found")}),vO(Qn,{className:LL,type:"button",text:e("clear-filters"),size:"s",style:"outline",onClick:()=>{fE.value={query:"",status:"total",filter:{flaky:!1,retry:!1,new:!1},sortBy:"order",direction:"asc"}}})]})}):vO("div",{className:HL,children:vO(wE,{tree:hE.value,statusFilter:TE.value,root:!0})})})};var BF="lMYxNqRg";const RF={overview:()=>{},behaviors:()=>{const{params:e}=$P.value,{testResultId:t}=e;ue((()=>{(async()=>{xE.value={...xE.value,loading:!0,error:void 0};try{const e=await _O("widgets/behaviors.json");xE.value={data:e,error:void 0,loading:!1}}catch(e){xE.value={...xE.value,error:e.message,loading:!1}}})()}),[]),ue((()=>{t&&QP(t)}),[t]);const n=vO(di,{source:ZP,renderLoader:()=>vO(fi,{}),transformData:e=>e[t],renderError:()=>vO("div",{}),renderData:e=>vO(T,{children:vO("div",{className:"zZc6y7v6",children:vO(vF,{testResult:e})},e?.id)})});return vO(lj,{left:vO((()=>{const{t:e}=gP("nav");return vO("div",{className:"zMmzgCM8",children:[vO(Gn,{size:"s",className:"p1AN6VZ2",children:e("behaviors")}),vO($E,{}),vO(PE,{})]})}),{}),right:n})},categories:()=>{const{params:e}=$P.value,{testResultId:t}=e;ue((()=>{(async()=>{bF.value={...bF.value,loading:!0,error:void 0};try{const e=await _O("widgets/categories.json");bF.value={data:e,error:void 0,loading:!1}}catch(e){bF.value={...bF.value,error:e.message,loading:!1}}})()}),[]),ue((()=>{t&&QP(t)}),[t]);const n=vO(di,{source:ZP,renderLoader:()=>vO(fi,{}),transformData:e=>e[t],renderError:()=>vO("div",{}),renderData:e=>vO(T,{children:vO("div",{className:"Z6JSWQNg",children:vO(vF,{testResult:e})},e?.id)})});return vO(lj,{left:vO((()=>{const{t:e}=gP("nav");return vO("div",{className:"_27AJ8l7V",children:[vO(Gn,{size:"s",className:"yc9T8hmO",children:e("categories")}),vO($E,{}),vO(MF,{})]})}),{}),right:n})},graphs:()=>vO("div",{children:"Overview"}),packages:()=>{const{testResultId:e}=$P.value.params;ue((()=>{(async()=>{TF.value={...TF.value,loading:!0,error:void 0};try{const e=await _O("widgets/packages.json");TF.value={data:e,error:void 0,loading:!1}}catch(e){TF.value={...TF.value,error:e.message,loading:!1}}})()}),[]),ue((()=>{e&&QP(e)}),[e]);const t=vO(di,{source:ZP,renderLoader:()=>vO(fi,{}),transformData:t=>t[e],renderError:()=>vO("div",{}),renderData:e=>vO(T,{children:vO("div",{className:"otlnAeuR",children:vO(vF,{testResult:e})},e?.id)})});return vO(lj,{left:vO((()=>{const{t:e}=gP("nav");return vO("div",{className:"Ypntsuso",children:[vO(Gn,{size:"s",className:"NQ8xEHpy",children:e("packages")}),vO($E,{}),vO(zF,{})]})}),{}),right:t})},suites:()=>{const{params:e}=$P.value,{testResultId:t}=e;ue((()=>{(async()=>{uE.value={...uE.value,loading:!0,error:void 0};try{const e=await _O("widgets/tree.json");uE.value={data:e,error:void 0,loading:!1}}catch(e){uE.value={...uE.value,error:e.message,loading:!1}}})()}),[]),ue((()=>{t&&QP(t)}),[t]);const n=t?vO(di,{source:ZP,renderLoader:()=>vO(fi,{}),transformData:e=>e[t],renderData:e=>vO(T,{children:vO("div",{className:BF,children:vO(vF,{testResult:e})},e?.id)})}):vO("div",{className:BF,children:vO(di,{source:uE,renderLoader:()=>vO(fi,{}),renderData:()=>vO("div",{})})});return vO(lj,{left:vO((()=>{const{t:e}=gP("nav");return vO("div",{className:"rcXAje3q",children:[vO(Gn,{size:"s",className:"IDDAQ_al",children:e("suites")}),vO($E,{}),vO(FF,{})]})}),{}),right:n})},timeline:()=>vO("div",{children:"Overview"}),testresult:()=>{const{params:e}=$P.value,{id:t}=e;return ue((()=>{QP(t)}),[]),vO(di,{source:ZP,renderLoader:()=>vO(fi,{}),transformData:e=>e[t],renderError:()=>vO(uz,{}),renderData:e=>vO(T,{children:vO("div",{children:vO(vF,{testResult:e})},t)})})}},$F=()=>{ue((()=>{(()=>{const e=window.localStorage.getItem("theme")||xO;if(e)return void CO(e);const t=window.matchMedia("(prefers-color-scheme: dark)").matches;CO(t?"dark":"light")})(),(()=>{const e=localStorage.getItem("currentLocale")||hP||"en";mP(e)})(),DP()}),[]),ue((()=>(globalThis.addEventListener("hashchange",DP),()=>{globalThis.removeEventListener("hashchange",DP)})),[]),console.log($P.value.tabName);const e=fe((()=>RF[$P.value.tabName]||(()=>vO("div",{children:"nav"}))),[$P.value.tabName]);return pP.value?vO(JP,{children:vO(e,{params:$P.value.params})}):vO(fi,{})},DF=document.getElementById("app");(async()=>{!function(e,t,n){var r,i,o,a;l.__&&l.__(e,t),i=(r="function"==typeof n)?null:n&&n.__k||t.__k,o=[],a=[],I(t,e=(!r&&n||t).__k=S(T,null,[e]),i||y,y,t.namespaceURI,!r&&n?[n]:i?null:t.firstChild?s.call(t.childNodes):null,o,!r&&n?n:i?i.__e:t.firstChild,r,a),U(o,e,a)}(vO($F,{}),DF)})()}()}();