"use strict";(globalThis.webpackChunk_github_ui_github_ui=globalThis.webpackChunk_github_ui_github_ui||[]).push([["27114"],{99097(e,l,a){a.d(l,{A:()=>n});let n={bannerContainer:"SingleSignOnBanner-module__bannerContainer__JfQMZ",Flash:"SingleSignOnBanner-module__Flash__wpCic",FlashFullWidth:"SingleSignOnBanner-module__FlashFullWidth__dtTIH",multiOrgLayout:"SingleSignOnBanner-module__multiOrgLayout__umecv",Octicon:"SingleSignOnBanner-module__Octicon__ONVWk",orgListWrapper:"SingleSignOnBanner-module__orgListWrapper__IxYL3",ForceWrap:"SingleSignOnBanner-module__ForceWrap__nM_pG",ProtectedOrgs_FullList:"SingleSignOnBanner-module__ProtectedOrgs_FullList__DYS1z",ProtectedOrgs_Shortened:"SingleSignOnBanner-module__ProtectedOrgs_Shortened__S5AQh",ShieldLockIcon:"SingleSignOnBanner-module__ShieldLockIcon__8mkuV"}},93110(e,l,a){a.d(l,{w:()=>n});let n={closeEdit:"Escape",commitEdit:"Enter",developmentSection:"d",issueTypesSection:"t",down:"ArrowDown",focusSearch:"/",navigateBackToRepo:"Escape",navigateToNextIssue:"k",navigateToPrevIssue:"j",navigateToSelectedIssue:"Enter",up:"ArrowUp"}},7357(e,l,a){a.d(l,{F:()=>r});var n=a(74848),t=a(73537),i=a(26933),s=a(70452);function r({showBetaPill:e}){let l=(0,t.G7)("lifecycle_label_name_updates");return e?(0,n.jsx)("div",{className:"CallToActionItem-module__wrapper__GNi7G",children:(0,n.jsx)(i.X,{children:l?s.k.preview:s.k.beta})}):null}r.displayName="CallToActionItem"},94920(e,l,a){a.d(l,{A:()=>c});var n=a(74848),t=a(46249),i=a(21289);let s=()=>(0,n.jsxs)("svg",{role:"presentation",width:"100%",height:"100%",viewBox:"0 0 364 160",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsxs)("g",{clipPath:"url(#clip0)",children:[(0,n.jsx)("path",{d:"M363.754 134.158H228.676V135.078H363.754V134.158Z",fill:"#E1E4E8"}),(0,n.jsx)("path",{d:"M0 135.999L12.1543 105.061L13.2592 114.499L22.1908 98.5694L24.2625 104.647L28.4521 93.9655L33.1481 108.836L40.5143 86.4152L46.039 104.969L53.7275 93.9655C53.7275 93.9655 45.4405 97.0041 45.4405 96.1754C45.4405 95.3467 56.6279 80.6142 56.6279 80.6142C56.6279 80.6142 46.3152 84.4815 46.3152 83.6528C46.3152 82.8702 55.0626 74.7673 58.0551 69.657C61.0477 64.5466 66.3882 46.9137 66.3882 46.9137C66.3882 46.9137 74.9515 68.6441 79.5093 70.9921C80.9826 67.4931 85.6785 57.5948 85.6785 57.5948L76.3787 61.6922C76.3787 61.6922 90.3745 32.1812 92.124 25.5516C93.8274 18.876 93.4131 21.1779 96.4977 26.9788C98.6155 31.905 101.148 48.0647 108.928 57.2725C116.294 64.1783 103.634 59.2522 103.634 59.2522L115.051 81.1207L125.088 61.6922L131.027 76.793L139.912 57.2725L129.876 64.3164C129.876 64.3164 138.808 51.1493 140.741 40.7905C142.629 30.3857 145.023 13.8577 145.023 13.8577L157.637 37.9361C157.637 37.9361 169.7 4.51182 170.16 0C171.587 15.9755 190.693 54.0498 190.693 54.0498C190.693 54.0498 198.106 38.2584 198.796 32.4114C201.098 38.2123 231.162 134.756 231.162 134.756C231.162 134.756 146.358 140.281 113.302 140.373C80.2459 140.465 19.0601 138.255 11.0033 137.564C6.03111 137.15 0 135.999 0 135.999Z",fill:"#E3E9EC"}),(0,n.jsx)("path",{d:"M229.182 159.847C254.609 159.847 275.221 156.529 275.221 152.435C275.221 148.341 254.609 145.023 229.182 145.023C203.755 145.023 183.143 148.341 183.143 152.435C183.143 156.529 203.755 159.847 229.182 159.847Z",fill:"#CACFD6"}),(0,n.jsx)("path",{d:"M265.967 117.399C265.783 116.617 302.292 74.6291 305.423 71.7747C308.553 68.9203 336.591 35.8643 338.617 34.7134C339.86 31.951 335.762 29.603 333.921 30.8921C332.217 34.253 302.66 69.1505 299.99 72.0049C297.32 74.8593 275.912 98.0169 266.566 105.429C264.54 111.046 262.652 112.013 261.225 113.624C260.995 114.499 261.271 115.696 262.975 116.801C264.678 117.906 265.967 117.399 265.967 117.399Z",fill:"#F9C513"}),(0,n.jsx)("path",{d:"M328.856 42.6321C326.186 45.2563 316.15 57.0883 313.525 60.1729C307.909 66.8486 284.659 93.1829 278.72 99.8125C275.958 102.943 265.415 113.716 262.652 116.571C262.744 116.663 262.883 116.755 263.021 116.801C264.724 117.952 266.013 117.399 266.013 117.399C265.829 116.617 302.338 74.6292 305.469 71.7747C308.599 68.9203 336.637 35.8643 338.663 34.7134C338.985 33.9767 338.939 33.148 338.525 32.4575C335.578 36.0945 332.171 39.3633 328.856 42.6321Z",fill:"#FFDF5D"}),(0,n.jsx)("path",{d:"M261.962 112.841C261.685 113.072 261.455 113.348 261.225 113.624C260.995 114.499 261.271 115.696 262.975 116.801C264.678 117.906 265.967 117.399 265.967 117.399C266.059 117.123 266.243 116.893 266.427 116.663C265.415 114.913 263.849 113.578 261.962 112.841Z",fill:"#DBAB09"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M269.903 37.559C269.43 36.814 268.614 35.6822 267.348 34.3911C265.277 32.2733 261.547 29.2347 255.516 26.9328C248.61 24.3086 240.784 24.5848 234.062 27.6694L233.832 27.7615L233.602 27.6694C226.756 25.2197 222.846 26.7814 221.211 27.8082C223.453 28.5857 227.608 31.0674 229.182 36.5549L228.077 36.8772C226.512 31.3525 221.954 29.1427 220.296 28.7283L222.506 36.8312L222.368 37.0614C222.341 37.0889 220.765 39.2906 219.503 42.4153C219.552 42.3787 219.601 42.3435 219.652 42.3098C220.481 41.7573 221.493 41.6192 222.552 41.9875C224.899 42.7699 226.602 45.3462 228.397 48.0613L228.399 48.0647C230.149 50.7349 231.944 53.4512 234.2 54.0497C235.772 54.4539 238.921 54.0696 242.578 53.6232L242.856 53.5894L242.936 53.5795C250.058 52.7064 258.893 51.6234 263.067 55.2468C266.151 57.871 269.098 62.5209 265.507 69.6109C264.705 71.2148 262.681 74.5298 261.654 76.2104C261.502 76.4595 261.372 76.6726 261.271 76.839C261.732 77.3915 262.422 78.5425 262.1 79.9697C262.006 80.406 261.829 80.8235 261.567 81.2223C262.73 80.6407 263.85 80.0017 264.916 79.3099C265 79.1554 265.158 79.0618 265.329 79.0377C265.421 78.9757 265.513 78.9134 265.605 78.8506L265.553 78.7727C265.591 78.7499 265.692 78.7196 265.846 78.6839C266.01 78.5691 266.172 78.453 266.334 78.3356C265.613 78.107 264.984 77.9548 264.494 77.8979L264.632 76.747C265.353 76.8335 266.327 77.0966 267.44 77.4907C269.254 76.0382 270.845 74.4143 272.136 72.6495C276.008 67.3764 276.032 59.4905 275.736 55.4982C275.414 56.2611 275.103 56.8299 274.853 57.1344L273.932 56.3977C274.761 55.3388 276.878 49.63 276.28 44.5197C275.958 41.9415 275.037 40.0079 273.425 38.7188C267.775 37.5973 261.154 42.861 260.266 43.5675L260.265 43.5677C260.206 43.6152 260.172 43.642 260.166 43.6449L259.43 42.7702C259.689 42.5478 264.573 38.4167 269.903 37.559ZM266.582 79.6766C267.125 79.5771 268.003 79.4611 269.018 79.3544C270.113 79.8256 271.274 80.384 272.41 80.9914C271.544 81.3602 270.574 81.7564 269.537 82.1667C268.508 81.1776 267.475 80.3106 266.582 79.6766ZM268.367 82.6241C267.324 81.6531 266.299 80.8343 265.467 80.3067C261.369 82.9482 256.514 84.8399 251.502 85.737C254.204 85.7906 257.621 85.6746 261.554 85.1457L261.547 85.126C263.852 84.3243 266.218 83.4558 268.367 82.6241ZM268.522 83.7884C268.769 83.6912 269.017 83.5927 269.266 83.4934C269.291 83.5181 269.315 83.5428 269.34 83.5676C269.066 83.6433 268.793 83.717 268.522 83.7884ZM270.409 83.0369C271.716 82.5098 272.777 82.0599 273.639 81.6742C273.845 81.7929 274.048 81.9128 274.249 82.0337C273.029 82.4538 271.799 82.8511 270.578 83.2126C270.522 83.1538 270.466 83.0952 270.409 83.0369ZM274.922 81.0782C275.172 81.2293 275.419 81.3821 275.661 81.5362C278.483 80.5198 281.217 79.406 283.637 78.3576C282.88 78.4568 282.245 78.4964 281.712 78.4964C279.779 78.4964 279.134 77.944 278.95 77.5757C278.812 77.2994 278.858 76.9311 279.088 76.5628C280.074 74.8608 285.765 70.8058 290.143 70.587C291.77 68.1135 295.931 63.2178 307.725 61.8303L307.863 62.9813C296.399 64.3164 292.532 68.7822 290.598 72.0049C290.184 72.6955 290.184 73.1099 290.276 73.202C290.506 73.4782 291.519 73.4322 292.44 73.0178L293.176 72.6495L293.268 73.4782C293.775 79.6474 300.266 79.3251 300.542 79.2791C306.758 79.2791 311.039 75.1816 313.019 72.7416C315.321 69.9332 317.715 62.7511 314.676 59.4823C311.878 56.4091 306.658 58.0429 300.655 59.9218L300.588 59.9427C300.036 60.1268 299.438 60.3108 298.84 60.4949L298.839 60.4952C292.586 62.4359 275.909 71.2444 273.673 72.4267C273.479 72.7374 273.274 73.0422 273.057 73.3401C271.831 75.0082 270.349 76.5551 268.671 77.9565C268.845 78.0263 269.02 78.0984 269.198 78.1728C272.269 77.8153 276.294 77.5759 277.201 78.3123C277.523 78.5425 277.615 78.9568 277.477 79.2791C277.386 79.5516 277.216 79.9636 274.922 81.0782ZM273.758 80.4016C274.913 79.88 275.768 79.443 276.188 79.141C275.361 78.9502 273.363 79.0034 271.353 79.1479C272.157 79.5373 272.967 79.959 273.758 80.4016ZM275.492 82.8166C274.149 83.2905 272.789 83.7402 271.436 84.1489C272.847 85.751 274.057 87.4648 274.622 88.9473C274.715 89.2235 274.576 89.5918 274.3 89.6839C274.254 89.7299 274.162 89.7299 274.116 89.7299C273.886 89.7299 273.656 89.5918 273.564 89.3616C272.994 87.8859 271.701 86.1205 270.228 84.5032C268.476 85.0007 266.747 85.4202 265.092 85.7246C260.212 86.6453 255.977 86.9216 252.616 86.9216C248.885 86.9216 246.284 86.5718 245.184 86.3864L248.099 90.7787C250.138 90.2687 252.055 89.8298 253.721 89.5918C257.174 89.0854 260.581 90.0522 263.067 92.2621C265.737 94.6561 267.164 98.2011 267.072 102.299C266.842 110.401 262.008 113.486 259.66 114.867C259.625 115.702 259.511 116.616 259.08 117.351C259.167 117.533 259.302 117.818 259.479 118.191C260.873 121.138 264.842 129.522 267.811 135.032C270.802 131.224 278.358 131.742 280.101 132.178C280.124 132.178 280.147 132.166 280.17 132.155C280.193 132.143 280.216 132.132 280.239 132.132C281.068 131.81 282.863 131.119 284.106 133.099C285.488 135.309 281.989 140.879 280.654 142.629C276.556 148.061 267.026 151.514 261.732 151.929C261.593 151.975 261.455 151.975 261.271 151.975C256.391 151.975 253.537 146.036 253.445 145.759L253.399 145.667L249.07 130.991C249.054 130.959 249.039 130.926 249.025 130.889L249.039 130.885L243.646 112.601C243.234 112.639 242.821 112.671 242.409 112.697C240.348 118.643 237.537 124.319 234.062 129.554C229.137 136.845 222.513 141.163 220.354 142.453C222.697 145.035 223.111 148.681 222.902 150.466C223.809 150.214 224.302 150.226 224.624 150.501C224.946 150.778 225.085 151.1 225.085 151.514C225.038 152.159 224.532 153.218 220.987 155.243C219.192 156.348 216.153 156.809 212.93 156.809C208.833 156.809 204.505 156.026 201.927 154.737C198.106 152.803 195.62 149.949 194.469 146.312C193.18 142.076 194.146 137.887 195.113 136.045C195.896 134.618 201.374 131.441 209.017 127.114C211.227 125.871 213.345 124.674 214.68 123.845C218.814 121.31 225.558 113.423 227.579 111.014C225.38 110.327 223.575 109.492 222.368 108.606C218.662 105.858 217.35 103.31 218.326 99.807C213.153 102.526 196.521 111.195 190.187 113.992C186.964 115.374 170.713 121.865 163.761 121.865C162.84 121.865 162.057 121.727 161.551 121.497C160.86 121.175 160.63 120.714 160.538 120.346C160.308 119.517 159.755 117.307 173.843 108.468C181.301 103.772 190.463 98.7996 196.218 95.9452C205.993 91.0978 226.121 85.1 231.335 83.5939C225.974 81.337 221.395 77.4318 218.317 72.4653C216.489 69.6507 215.735 66.3136 216.17 63.0303C214.586 60.6611 210.614 59.1592 208.326 59.022C208.004 59.022 207.774 58.7457 207.774 58.4235C207.774 58.1012 208.05 57.871 208.372 57.871C210.537 58.0344 214.332 59.2847 216.447 61.5578C216.51 61.3013 216.58 61.0457 216.658 60.7912L216.654 60.7862C216.195 60.0773 212.714 54.7045 208.142 52.8067C207.866 52.6686 207.728 52.3463 207.82 52.0701C207.958 51.7938 208.28 51.6557 208.557 51.7478C212.57 53.4025 215.668 57.3725 216.986 59.2521C217.048 58.4751 217.009 57.5419 216.957 56.3191C216.95 56.1513 216.943 55.9782 216.936 55.7992C216.844 54.1879 216.751 52.2082 216.751 49.5379L216.752 49.4459L216.751 49.4459L216.752 49.4293C216.795 43.3934 220.394 37.7909 221.217 36.601L219.146 28.9125C219.099 28.7744 219.099 28.5902 219.146 28.4521C219.187 28.2039 219.34 27.9928 219.537 27.8189L219.422 27.7154L219.434 27.7026C219.748 27.3822 223.962 23.0774 233.74 26.4724C240.692 23.3417 248.749 23.1116 255.885 25.8279C266.149 29.7065 270.113 35.5854 271.151 37.4218C272.035 37.3715 272.922 37.4248 273.794 37.6138L273.932 37.6599L274.024 37.7519C275.912 39.2252 277.063 41.4351 277.385 44.3816C277.76 47.3367 277.292 50.4689 276.615 52.9186L276.63 53.0264V53.0264C276.74 53.8138 277.129 56.5938 276.97 60.1269C276.862 63.1323 276.326 67.0775 274.669 70.5962C279.54 68.0379 292.877 61.1432 298.517 59.3903C298.816 59.2983 299.103 59.2063 299.39 59.1144L299.391 59.114L299.393 59.1137C299.68 59.0217 299.967 58.9297 300.266 58.8378L300.359 58.8088C306.493 56.8859 312.253 55.0805 315.551 58.6536C319.142 62.567 316.38 70.4857 313.94 73.4321C311.822 76.0103 307.264 80.384 300.588 80.384C300.588 80.4761 300.496 80.4761 300.312 80.4761C299.071 80.4761 293.969 80.1975 292.482 75.4964C290.411 76.5493 283.988 79.7045 276.847 82.3286C277.324 82.6647 277.773 83.0035 278.183 83.3411C278.241 83.3599 278.298 83.3869 278.352 83.4226C278.95 83.929 279.457 84.4355 279.917 85.034C280.101 85.2642 280.055 85.6325 279.825 85.8627C279.733 86.0008 279.595 86.0468 279.457 86.0468C279.272 86.0468 279.134 85.9548 278.996 85.8166C278.948 85.7525 278.899 85.6896 278.85 85.6277C278.131 84.7377 276.924 83.7641 275.492 82.8166ZM250.509 131.772L254.503 145.299C254.559 145.421 254.763 145.824 255.098 146.359C255.537 145.816 255.834 143.051 254.227 137.518C253.103 133.689 251.55 132.326 250.509 131.772ZM255.756 147.321C255.786 147.294 255.814 147.264 255.839 147.233C257.036 146.128 256.805 142.26 255.332 137.196C253.7 131.664 251.04 130.687 250.124 130.351L250.085 130.337L248.618 125.371C248.809 125.453 249.008 125.502 249.209 125.502C249.347 125.502 249.439 125.502 249.485 125.548C249.761 125.456 249.946 125.272 250.084 124.996C250.774 123.661 250.82 118.919 249.9 116.11C249.35 114.463 248.593 113.068 247.898 112.187L253.951 111.598C254.227 111.737 254.411 111.967 254.503 112.289C254.503 112.381 254.457 112.657 254.411 112.842C254.135 114.177 253.721 116.387 254.596 117.676C254.964 118.182 255.424 118.458 256.069 118.55C256.345 118.596 256.575 118.596 256.805 118.596C257.377 118.596 257.85 118.474 258.207 118.264C259.65 121.343 265.799 134.369 268.822 139.13L269.788 138.485C269.388 137.851 268.928 137.061 268.428 136.161C270.821 132.238 279.005 132.964 279.963 133.329L280.147 133.421L280.331 133.329C280.377 133.306 280.435 133.283 280.492 133.26L280.493 133.26C280.55 133.237 280.608 133.214 280.654 133.191C281.712 132.776 282.449 132.592 283.14 133.697C283.876 134.894 281.943 138.992 279.733 141.938C275.912 147.048 266.612 150.409 261.639 150.778C259.04 150.98 256.984 148.971 255.756 147.321ZM292.149 74.371C291.551 74.6771 290.416 75.246 288.896 75.9687L288.895 75.9643C284.797 77.1613 280.792 77.6677 280.055 77.1153C280.645 76.0623 285.396 72.4279 289.408 71.8164C288.861 72.9457 289.117 73.6132 289.447 73.9846C289.989 74.6169 291.107 74.6732 292.149 74.371ZM255.562 83.5607L255.573 83.5939C252.167 84.6162 248.591 85.1721 245.065 85.1721C243.916 85.1721 242.767 85.1262 241.664 84.9886C240.933 83.695 239.631 82.38 237.561 82.2256C236.469 82.1443 235.104 82.5233 233.615 83.2272C227.703 81.2273 222.659 77.2024 219.376 71.9129C217.212 68.6441 216.705 64.6387 217.902 60.9096C218.358 59.6333 218.273 58.1765 218.137 55.869L218.133 55.7992C218.041 54.1879 217.948 52.2542 217.948 49.584C217.948 49.3508 217.954 49.118 217.966 48.8858C218.17 47.2159 218.815 44.2313 220.296 43.2306C220.849 42.8623 221.447 42.8162 222.184 43.0464C224.11 43.6288 225.732 46.0856 227.302 48.4656L227.433 48.6632L227.577 48.8822C229.417 51.6668 231.277 54.4817 233.924 55.1547C235.671 55.6027 238.901 55.2223 242.68 54.7773L242.994 54.7403L243.135 54.7234C250.017 53.8974 258.535 52.875 262.33 56.1215C266.381 59.5744 267.118 63.9481 264.494 69.1045C263.435 71.2223 260.12 76.5628 260.074 76.6088L259.844 77.0232L260.166 77.3455C260.166 77.3455 261.271 78.4504 260.995 79.7395C260.765 80.7524 259.66 82.2256 255.562 83.5607ZM243.747 86.3032C243.228 86.2859 242.716 86.2563 242.204 86.2105C242.266 86.3987 242.314 86.5761 242.349 86.7374L241.244 86.9676C241.243 86.9639 241.241 86.9579 241.239 86.9497L241.232 86.9229C241.117 86.5045 240.311 83.5513 237.515 83.3766C235.953 83.2564 232.986 84.6165 229.871 86.9132L229.873 86.9216L229.856 86.9242C229.049 87.5201 228.232 88.1788 227.427 88.8909L227.433 88.9013L227.392 88.9224C225.37 90.7161 223.426 92.8462 221.908 95.1625C220.996 96.5725 220.307 97.8068 219.845 98.9152L219.882 98.9838C219.875 98.9881 219.846 99.0036 219.798 99.0298C218.322 102.668 219.341 104.95 223.059 107.685C226.42 110.171 235.351 112.289 243.868 111.414L254.089 110.401L254.227 110.447C254.964 110.724 255.47 111.368 255.608 112.105V112.197C255.608 112.381 255.562 112.611 255.47 113.026C255.454 113.114 255.436 113.209 255.417 113.311L255.417 113.312C255.214 114.383 254.882 116.14 255.47 116.939C255.608 117.169 255.839 117.307 256.161 117.353C256.897 117.445 257.45 117.353 257.772 117.077C258.371 116.525 258.463 115.374 258.463 114.499V114.177L258.785 113.992C260.995 112.703 265.645 109.987 265.829 102.253C265.921 98.5234 264.632 95.3007 262.238 93.1368C259.982 91.1111 256.99 90.2824 253.813 90.7428C251.864 91.0269 249.558 91.5974 247.115 92.2017L247.113 92.2021C246.786 92.2831 246.456 92.3647 246.124 92.4462C240.323 93.9195 233.786 95.5769 229.458 94.6101L229.734 93.5051C231.181 93.8339 232.927 93.8399 234.834 93.6445C235.182 90.7865 237.96 87.3394 238.421 86.7673C238.453 86.7282 238.474 86.7025 238.482 86.6914L239.357 87.428C239.314 87.4703 236.513 90.8151 236.022 93.5006C238.204 93.1983 240.55 92.6788 242.87 92.1083L242.112 88.3183L243.24 88.0926L243.988 91.8293C244.629 91.6673 245.266 91.5035 245.894 91.3413C246.237 91.2528 246.578 91.1649 246.917 91.0783L243.747 86.3032ZM226.727 87.9902C226.956 87.7874 227.186 87.5873 227.418 87.3905C225.686 87.7758 223.983 88.2745 222.322 88.9013C219.284 90.0062 217.074 91.0651 215.969 91.7096C217.212 91.5255 219.606 90.8809 222.644 89.776C223.507 89.474 225.664 88.5252 226.727 87.9902ZM229.4 85.8173C226.872 86.2359 224.349 86.9093 221.954 87.7963C219.836 88.5329 217.902 89.3616 216.475 90.0983C214.542 91.1111 213.943 91.7096 214.173 92.3542C214.265 92.7225 214.634 92.9066 215.278 92.9066C215.785 92.9066 216.429 92.8146 217.35 92.5844C218.869 92.2161 220.895 91.6175 223.013 90.8349C223.331 90.7137 223.803 90.5229 224.332 90.3016C223.001 91.698 221.828 93.1427 220.941 94.518C220.07 95.8568 219.392 97.0699 218.909 98.1864C218.575 98.3596 218.053 98.6314 217.38 98.9825L217.354 98.9961C211.763 101.911 195.851 110.208 189.681 112.934C182.038 116.294 165.372 122.049 162.057 120.438C161.774 120.317 161.704 120.16 161.66 120.061C161.654 120.047 161.648 120.035 161.643 120.024C161.551 119.655 161.735 117.399 174.442 109.435C181.9 104.739 191.016 99.8125 196.725 96.9581C205.788 92.464 223.899 86.995 230.464 85.0615C230.11 85.3024 229.755 85.5548 229.4 85.8173ZM246.506 112.322L246.629 112.31L246.631 112.335C246.583 112.335 246.54 112.33 246.506 112.322ZM244.813 112.487L246.457 112.327C246.769 112.568 247.94 113.827 248.795 116.433C249.761 119.287 249.531 123.523 249.117 124.351C248.898 124.264 248.43 123.885 248.028 123.374L244.813 112.487ZM241.15 112.756C236.674 112.899 232.313 112.321 228.777 111.363L228.772 111.369C227.24 113.204 219.859 122.042 215.278 124.858C213.897 125.686 211.779 126.883 209.569 128.126C204.459 131.027 196.771 135.401 196.08 136.598C195.205 138.255 194.284 142.076 195.528 145.944C196.54 149.258 198.842 151.837 202.387 153.678C203.63 154.323 205.334 154.829 207.221 155.151C209.938 155.52 215.002 153.494 218.685 152.021L218.685 152.021L218.685 152.021C219.913 151.535 220.888 151.152 221.669 150.87C221.956 149.977 221.923 145.373 218.961 142.721C214.956 139.13 205.288 140.327 204.505 140.649C204.505 140.649 204.551 140.603 204.643 140.557L203.815 139.728C204.492 139.05 214.797 137.796 219.487 141.626C221.188 140.626 228.127 136.253 233.049 128.909C236.394 123.848 239.108 118.45 241.15 112.756ZM222.23 151.929L222.223 151.907C221.298 152.237 220.179 152.685 219.192 153.079L219.192 153.079L219.192 153.08C217.028 154 214.542 155.013 212.194 155.658C215.462 155.75 218.639 155.335 220.481 154.231C223.703 152.389 223.98 151.56 223.98 151.422C223.704 151.422 223.127 151.59 222.412 151.84C222.358 151.876 222.298 151.906 222.23 151.929ZM272.321 52.9908L271.17 52.8067C271.768 48.9855 271.952 42.2638 270.985 41.2049C270.571 40.7445 267.855 41.7113 265.277 43.2306L264.678 42.2638C269.788 39.2252 271.354 39.9618 271.814 40.4222C273.564 42.2177 272.551 51.3795 272.321 52.9908ZM230.241 76.2405C231.116 76.747 232.128 77.0692 232.911 77.0692C233.51 77.0692 234.016 76.8851 234.292 76.5168C234.891 75.4579 233.648 73.9846 232.082 73.1099C231.3 72.6495 230.517 72.3733 229.827 72.2812C228.676 72.097 228.215 72.6035 228.031 72.8797C227.847 73.1559 227.709 73.8005 228.399 74.7212C228.814 75.2737 229.458 75.7801 230.241 76.2405ZM230.793 75.2737C229.458 74.491 228.952 73.6163 228.998 73.4322C229.182 73.294 230.149 73.294 231.484 74.1227C232.865 74.9054 233.326 75.7341 233.279 75.9183C233.141 76.0564 232.175 76.0564 230.793 75.2737ZM168.226 115.788C168.411 116.11 168.779 116.294 169.377 116.294C170.022 116.294 170.943 116.064 172.14 115.65C174.027 114.959 176.329 113.854 178.723 112.473C181.117 111.092 183.235 109.665 184.754 108.376C186.596 106.81 187.24 105.798 186.826 105.061C186.412 104.324 185.215 104.37 182.913 105.199C181.025 105.89 178.723 106.995 176.329 108.376C173.935 109.757 171.817 111.184 170.298 112.473C168.457 114.039 167.812 115.051 168.226 115.788ZM178.125 111.46C173.245 114.269 170.114 115.19 169.285 115.143C169.608 114.407 172.002 112.105 176.882 109.297C181.762 106.488 184.893 105.567 185.721 105.613C185.399 106.396 183.005 108.652 178.125 111.46ZM193.133 102.068C192.535 102.068 192.213 101.884 192.075 101.562C191.752 100.871 192.397 100.135 194.331 98.8457C195.804 97.8788 197.876 96.7739 200.085 95.715C202.341 94.6561 204.505 93.8274 206.163 93.321C208.372 92.6764 209.339 92.6764 209.661 93.367C209.984 94.0576 209.339 94.7942 207.406 96.0833C205.932 97.0501 203.861 98.1551 201.651 99.214C199.395 100.273 197.231 101.102 195.574 101.608C194.469 101.93 193.686 102.068 193.133 102.068ZM208.28 94.0576C207.175 94.1957 204.505 94.9784 200.592 96.8199C196.632 98.6615 194.331 100.181 193.502 100.917C194.607 100.779 197.277 99.9966 201.19 98.1551C205.104 96.3135 207.452 94.7942 208.28 94.0576Z",fill:"#0366D6"}),(0,n.jsx)("path",{d:"M319.188 146.864C319.188 146.864 321.352 124.766 320.523 121.635C320.017 123.431 311.131 137.795 311.131 137.795V123.799C311.131 123.799 309.152 130.244 308.507 132.224C307.863 129.231 303.213 120.346 303.903 121.359C304.594 122.372 304.732 131.718 303.903 131.718C303.259 131.533 300.773 122.97 298.287 120.162C299.253 121.129 299.944 128.403 300.773 132.04C300.45 130.705 293.775 126.101 290.552 125.456C290.874 127.574 295.662 131.533 296.629 134.342C297.596 137.15 295.985 140.281 295.985 140.281L302.062 144.839L319.188 146.864Z",fill:"#88929C"}),(0,n.jsx)("path",{d:"M307.771 146.634C307.632 146.174 311.177 134.664 311.177 134.664C311.177 134.664 321.72 128.173 323.608 127.068C325.496 125.963 328.12 126.147 328.12 126.147L333.875 123.983C333.875 123.983 349.712 128.173 350.172 128.311C350.633 128.449 353.441 133.605 354.684 135.309C355.927 137.012 356.526 138.117 356.71 140.879L356.848 143.688L348.469 152.665H338.847C338.847 152.665 332.033 155.289 330.468 154.829C328.902 154.369 323.332 152.988 321.306 151.238C319.28 149.489 307.771 146.634 307.771 146.634Z",fill:"#B1B7BB"}),(0,n.jsx)("path",{d:"M328.212 128.173C328.166 127.85 327.429 119.885 334.98 111.23L335.67 111.829C331.849 116.156 330.284 120.346 329.639 123.108C328.948 126.101 329.133 128.034 329.133 128.08L328.212 128.173Z",fill:"#959DA5"}),(0,n.jsx)("path",{d:"M335.808 112.473C334.98 112.473 334.289 111.783 334.289 110.954C334.289 110.125 334.98 109.435 335.808 109.435C336.637 109.435 337.328 110.125 337.328 110.954C337.328 111.783 336.637 112.473 335.808 112.473ZM335.808 110.355C335.486 110.355 335.21 110.632 335.21 110.954C335.21 111.276 335.486 111.552 335.808 111.552C336.131 111.552 336.407 111.276 336.407 110.954C336.407 110.632 336.131 110.355 335.808 110.355Z",fill:"#959DA5"}),(0,n.jsx)("path",{d:"M340.044 115.097C339.261 115.097 338.617 114.453 338.617 113.67C338.617 112.888 339.261 112.243 340.044 112.243C340.827 112.243 341.471 112.888 341.471 113.67C341.471 114.453 340.827 115.097 340.044 115.097ZM340.044 113.164C339.768 113.164 339.537 113.394 339.537 113.67C339.537 113.946 339.768 114.177 340.044 114.177C340.32 114.177 340.55 113.946 340.55 113.67C340.55 113.394 340.32 113.164 340.044 113.164Z",fill:"#959DA5"}),(0,n.jsx)("path",{d:"M333.829 117.584C332.539 117.584 331.527 117.031 331.481 116.985L331.941 116.202C332.033 116.248 333.829 117.261 335.44 116.202C336.683 115.42 337.88 114.499 338.985 113.578L339.583 114.269C338.432 115.236 337.189 116.156 335.946 116.985C335.256 117.445 334.519 117.584 333.829 117.584Z",fill:"#959DA5"}),(0,n.jsx)("g",{opacity:"0.5",children:(0,n.jsx)("path",{opacity:"0.5",d:"M321.168 120.162C320.8 119.011 320.661 117.768 320.846 116.525C320.984 115.972 321.352 115.328 321.905 115.328C322.181 115.374 322.411 115.466 322.641 115.65C323.102 116.064 323.562 116.479 323.93 116.985C326.923 120.53 329.133 124.674 330.56 129.093C330.376 126.883 331.573 124.766 333.23 123.292C334.887 121.819 337.005 121.036 339.169 120.484C339.952 120.254 340.919 120.162 341.517 120.714C341.885 121.129 342.024 121.727 341.839 122.28C341.655 122.786 341.333 123.246 340.919 123.615C339.952 124.443 338.847 125.134 337.742 125.686C335.348 127.022 333.092 128.587 330.974 130.336C330.79 130.521 330.56 130.659 330.33 130.705C330.192 130.705 330.007 130.705 329.869 130.659C325.265 129.6 322.319 124.305 321.168 120.162Z",fill:"#959DA5"})}),(0,n.jsx)("path",{d:"M325.403 142.629C327.797 140.373 330.468 138.347 333.276 136.598C335.256 137.012 337.097 136.69 338.617 136.92C341.839 134.065 345.615 130.751 348.929 128.034C345.154 127.022 333.829 124.029 333.829 124.029L328.074 126.193C328.074 126.193 325.449 126.055 323.562 127.114C322.089 127.988 315.045 132.316 312.282 134.019C314.078 136.644 322.641 140.557 325.403 142.629Z",fill:"#CACFD3"}),(0,n.jsx)("path",{d:"M312.42 134.111L312.282 133.927C314.907 132.316 322.043 127.896 323.562 127.021C325.357 126.009 327.797 126.055 328.12 126.101L333.875 123.937H333.921C334.013 123.983 345.246 126.929 349.021 127.942L348.975 128.172C345.338 127.206 334.657 124.351 333.921 124.167L328.212 126.331H328.166C328.12 126.331 325.542 126.193 323.746 127.252C322.181 128.08 315.045 132.5 312.42 134.111Z",fill:"#E1E4E8"}),(0,n.jsx)("path",{d:"M56.4898 157.776C78.6618 157.776 96.6358 156.003 96.6358 153.816C96.6358 151.63 78.6618 149.857 56.4898 149.857C34.3178 149.857 16.3438 151.63 16.3438 153.816C16.3438 156.003 34.3178 157.776 56.4898 157.776Z",fill:"#CACFD6"}),(0,n.jsx)("path",{d:"M78.3123 141.156C78.3123 141.156 79.095 147.141 80.6603 148.752C82.2256 150.363 88.625 154.829 88.9473 154C85.8167 150.087 82.5019 140.419 82.5019 140.419L78.3123 141.156Z",fill:"#FF7000"}),(0,n.jsx)("path",{d:"M57.7789 141.57C57.6868 141.616 57.6408 141.662 57.5948 141.708C57.5027 141.8 57.5948 141.984 57.6408 142.076C58.3774 143.319 58.9299 144.7 59.3442 146.082C59.6205 147.094 60.1729 148.476 61.0937 148.015C62.7051 147.141 61.37 145.023 61.0937 143.227C61.2779 144.332 64.8689 143.043 66.0199 141.386C67.4931 139.268 63.9481 138.946 62.659 139.268C61.0016 139.682 59.3442 140.833 57.7789 141.57Z",fill:"#FF7000"}),(0,n.jsx)("path",{d:"M71.4525 128.633C69.2887 128.403 67.0788 128.449 65.0991 129.323C63.2115 130.152 61.6922 131.671 60.3111 133.191C59.8967 133.697 59.4363 134.112 58.8839 134.48C58.3314 134.756 57.7329 134.894 57.1344 134.894C54.2339 134.986 51.5176 133.375 49.584 131.257C47.6503 129.139 46.2692 126.561 44.7959 124.075C42.4479 120.116 39.5935 116.156 35.5421 113.992C29.9253 110.954 22.5591 111.875 17.4027 115.742C12.2464 119.563 9.25384 125.917 8.79345 132.27C8.70137 133.697 8.9776 135.493 10.3588 135.815L12.4766 131.717C13.5355 129.692 14.6404 127.62 16.4359 126.193C18.2314 124.766 20.9017 124.259 22.7893 125.548C24.2625 126.561 24.861 128.449 25.0452 130.244C25.2294 132.04 25.0912 133.835 25.5056 135.585C26.5185 139.82 30.662 142.767 34.8975 143.596C37.9822 144.194 41.2049 143.918 44.1514 142.767C49.0315 140.833 53.2671 136.598 58.4695 136.92C59.1601 138.761 60.9556 140.005 62.8432 140.557C64.7308 141.109 66.7565 140.971 68.6901 140.879L66.112 143.964C67.4471 146.68 69.2887 149.12 71.4525 151.192C72.5114 148.522 71.6366 145.805 69.9792 143.457C70.3936 142.629 71.0842 141.938 71.9129 141.57C73.8465 142.583 78.9108 142.306 81.0746 142.03C80.9826 143.596 81.3048 147.187 82.3177 148.706C83.3305 150.225 86.5533 153.494 88.3948 154.461C89.5458 155.105 93.0908 155.934 93.6433 154.875C89.2696 153.034 84.9419 148.568 84.988 143.826C84.988 141.524 87.0137 140.005 86.8755 138.071C86.7835 136.367 84.0211 134.388 82.8241 133.421C79.6014 130.797 75.642 129.139 71.4525 128.633Z",fill:"#FF9C57"}),(0,n.jsx)("path",{d:"M47.236 136.46C45.5326 136.46 43.737 136.828 42.494 135.447C42.0796 134.894 41.7113 134.296 41.3891 133.697C40.3762 132.132 39.1331 131.948 37.3376 132.086C35.1738 132.224 34.3911 131.395 33.5164 129.416C31.0303 123.891 24.769 119.563 18.7379 122.786C14.134 125.272 11.3256 130.705 10.0365 135.585C10.0365 135.631 9.99048 135.677 9.99048 135.723C10.0826 135.769 10.1746 135.815 10.3128 135.861L12.4766 131.764C13.5355 129.738 14.6404 127.666 16.4359 126.239C18.2315 124.812 20.9017 124.305 22.7893 125.594C24.2626 126.607 24.8611 128.495 25.0452 130.29C25.2294 132.086 25.0913 133.881 25.5056 135.631C26.5185 139.866 30.662 142.813 34.8976 143.642C37.9822 144.24 41.2049 143.964 44.1514 142.813C47.6043 141.432 50.781 138.9 54.1879 137.657C52.0701 136.736 49.7681 136.46 47.236 136.46Z",fill:"#FF7000"}),(0,n.jsx)("g",{opacity:"0.6",children:(0,n.jsx)("path",{opacity:"0.6",d:"M70.4857 134.618C70.5777 134.618 74.6292 137.334 74.5831 138.623C74.5371 139.912 70.9 141.846 70.9 141.846C70.9 141.846 72.6955 139.59 72.2812 138.209C71.8668 136.828 70.4857 134.618 70.4857 134.618Z",fill:"#FFD1AC"})}),(0,n.jsx)("path",{d:"M85.6785 135.815C85.2642 137.196 84.4815 138.485 84.1592 139.959C83.6989 141.754 84.0672 143.688 85.1721 145.161C85.08 144.747 85.08 144.286 85.08 143.872C85.08 141.57 87.1057 140.051 86.9676 138.117C86.8755 137.334 86.3691 136.552 85.6785 135.815Z",fill:"#FB8532"}),(0,n.jsx)("path",{d:"M88.4409 133.007C89.4998 132.592 90.3745 133.697 89.6379 136.229L90.973 136.275C90.7428 135.585 90.6507 134.848 90.7428 134.112C90.7889 133.467 91.3413 133.007 91.9859 133.053H92.0319C92.7685 133.099 92.9987 133.697 93.0448 134.434C93.0448 135.124 92.9067 135.815 92.5844 136.46C94.1957 137.611 95.0705 139.59 94.8403 141.57C94.7022 142.26 94.5641 142.951 94.518 143.642C94.472 144.378 94.8403 145.023 95.4388 145.391C95.8071 145.529 96.2215 145.575 96.5898 145.667C96.9581 145.759 97.3724 146.082 97.3264 146.496C97.2803 146.818 96.9581 147.002 96.6818 147.187C94.4259 148.292 91.8017 148.292 89.5918 147.187C87.6582 146.22 86.0929 144.378 85.8166 142.26C85.6325 140.833 86.0468 139.452 86.9676 138.347C87.2899 137.979 88.3028 137.472 88.4409 137.012C87.8424 136.275 87.0137 133.559 88.4409 133.007Z",fill:"#FF9C57"}),(0,n.jsx)("path",{d:"M96.6358 146.818C96.9663 146.818 97.2343 146.55 97.2343 146.22C97.2343 145.889 96.9663 145.621 96.6358 145.621C96.3052 145.621 96.0373 145.889 96.0373 146.22C96.0373 146.55 96.3052 146.818 96.6358 146.818Z",fill:"#2F363D"}),(0,n.jsx)("g",{opacity:"0.6",children:(0,n.jsx)("path",{opacity:"0.6",d:"M38.8569 121.451C41.297 124.213 43.1846 127.39 45.4865 130.244C47.7885 133.099 50.9652 135.17 54.5562 136.045C54.8324 135.999 55.0626 135.953 55.3389 135.907C52.8067 135.677 50.4587 134.204 48.7093 132.316C46.7296 130.198 45.3945 127.62 43.9212 125.134C41.5732 121.175 38.7188 117.215 34.6674 115.051C31.859 113.578 28.6823 112.98 25.5056 113.348C30.662 114.315 35.4961 117.63 38.8569 121.451Z",fill:"#FFD1AC"})}),(0,n.jsx)("g",{opacity:"0.6",children:(0,n.jsx)("path",{opacity:"0.6",d:"M78.9108 132.915C81.1667 134.204 82.9162 136.045 84.4815 138.071C84.5736 137.518 84.7578 136.966 84.9419 136.46C83.7909 135.124 82.4098 133.927 80.9365 132.961C77.5296 130.751 73.6163 130.106 69.703 129.416L71.0381 130.06C73.6624 131.027 76.4707 131.487 78.9108 132.915Z",fill:"#FFD1AC"})}),(0,n.jsx)("g",{opacity:"0.6",children:(0,n.jsx)("path",{opacity:"0.6",d:"M88.0265 134.71C89.3616 134.618 88.625 136.966 89.3617 137.242C89.9602 137.472 90.6968 137.012 91.3874 137.288C92.124 137.657 92.6765 138.209 93.0448 138.946C93.5512 139.959 93.5512 140.879 93.4591 141.984C93.4131 143.411 93.5052 144.885 95.1626 145.299C94.6561 144.885 94.3799 144.286 94.4259 143.642C94.472 142.951 94.6101 142.26 94.7482 141.57C94.9784 139.59 94.1037 137.611 92.4923 136.46C92.8146 135.815 92.9527 135.124 92.9527 134.434C92.9066 133.697 92.6765 133.099 91.9398 133.053C91.2953 132.961 90.7428 133.421 90.6507 134.066V134.112C90.5587 134.848 90.6507 135.585 90.8809 136.275L89.5458 136.229C90.2824 133.651 89.4077 132.546 88.3488 133.007C87.6582 133.283 87.5201 134.019 87.5661 134.848C87.7503 134.802 87.8884 134.756 88.0265 134.71Z",fill:"#FFD1AC"})})]}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0",children:(0,n.jsx)("rect",{width:"363.8",height:"159.847",fill:"white"})})})]});s.displayName="InboxZeroLightGraphic";let r=()=>(0,n.jsxs)("svg",{role:"presentation",width:"100%",height:"100%",viewBox:"0 0 364 160",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("mask",{id:"mask0","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:"250",y:"76",width:"59",height:"50",children:(0,n.jsx)("rect",{x:"250.419",y:"76.665",width:"57.6723",height:"48.5798",fill:"#C4C4C4"})}),(0,n.jsxs)("g",{mask:"url(#mask0)",children:[(0,n.jsx)("path",{d:"M266.147 117.512C265.963 116.729 302.496 74.7009 305.629 71.8438C308.762 68.9866 336.819 35.899 338.846 34.747C340.09 31.982 335.989 29.6317 334.147 30.9221C332.442 34.2862 302.865 69.2171 300.193 72.0742C297.521 74.9313 276.099 98.1111 266.746 105.53C264.719 111.153 262.83 112.121 261.402 113.733C261.171 114.609 261.448 115.807 263.153 116.913C264.857 118.019 266.147 117.512 266.147 117.512Z",fill:"#6E7681"}),(0,n.jsx)("path",{d:"M329.078 42.6726C326.407 45.2993 316.364 57.1426 313.737 60.2302C308.117 66.9123 284.851 93.2718 278.908 99.9077C276.145 103.041 265.594 113.825 262.83 116.682C262.922 116.774 263.061 116.866 263.199 116.912C264.903 118.065 266.193 117.511 266.193 117.511C266.009 116.728 302.542 74.7003 305.676 71.8431C308.808 68.986 336.865 35.8983 338.892 34.7463C339.214 34.0089 339.168 33.1794 338.754 32.4883C335.805 36.1288 332.396 39.4007 329.078 42.6726Z",fill:"#484F58"}),(0,n.jsx)("path",{d:"M262.139 112.948C261.862 113.179 261.632 113.456 261.402 113.732C261.171 114.608 261.448 115.806 263.153 116.912C264.857 118.018 266.147 117.511 266.147 117.511C266.239 117.234 266.423 117.004 266.607 116.774C265.594 115.022 264.027 113.686 262.139 112.948Z",fill:"#30363D"})]}),(0,n.jsx)("path",{d:"M364 134.286H228.831V135.207H364V134.286Z",fill:"#161B22"}),(0,n.jsx)("path",{d:"M0 136.129L12.1625 105.161L13.2682 114.609L22.2058 98.6637L24.2789 104.747L28.4713 94.0554L33.1705 108.94L40.5417 86.4978L46.0701 105.069L53.7638 94.0554C53.7638 94.0554 45.4712 97.0969 45.4712 96.2674C45.4712 95.4379 56.6662 80.6913 56.6662 80.6913C56.6662 80.6913 46.3465 84.5623 46.3465 83.7328C46.3465 82.9495 55.0998 74.8388 58.0944 69.7236C61.089 64.6083 66.4331 46.9586 66.4331 46.9586C66.4331 46.9586 75.0022 68.7098 79.5631 71.06C81.0374 67.5577 85.7364 57.6499 85.7364 57.6499L76.4304 61.7512C76.4304 61.7512 90.4356 32.212 92.1863 25.576C93.8909 18.8941 93.4763 21.1982 96.563 27.0046C98.6822 31.9355 101.216 48.1107 109.002 57.3273C116.373 64.2397 103.704 59.3089 103.704 59.3089L115.129 81.1983L125.173 61.7512L131.116 76.8664L140.007 57.3273L129.964 64.3779C129.964 64.3779 138.902 51.1982 140.836 40.8295C142.725 30.4148 145.121 13.871 145.121 13.871L157.744 37.9724C157.744 37.9724 169.815 4.51614 170.275 0C171.703 15.9908 190.822 54.1015 190.822 54.1015C190.822 54.1015 198.24 38.295 198.93 32.4424C201.234 38.2488 231.318 134.885 231.318 134.885C231.318 134.885 146.457 140.415 113.379 140.507C80.3002 140.599 19.073 138.387 11.0107 137.696C6.03519 137.281 0 136.129 0 136.129Z",fill:"#161B22"}),(0,n.jsx)("path",{d:"M194.471 140.634L196.004 135.829L204.485 130.719L216.339 123.87L222.061 118.147L228.601 110.889L223.492 108.845L218.689 103.939L219.098 99.1349L188.647 114.569L172.399 119.782L163.407 121.622L160.853 119.621L166.166 114.467L176.895 107.414L191.304 98.9304L208.675 91.2644L225.535 86.1538L233.199 83.9051L224.309 79.3055L218.383 72.2528L216.748 64.1779L217.769 59.2717L217.463 51.0946L218.996 42.8153L222.163 37.2958L220.222 28.9143L220.835 27.2789L227.17 25.8479L234.119 27.1767L237.798 25.3368L249.753 24.5186L260.687 28.1991L267.942 34.1272L270.701 37.9088L273.971 38.2155L276.73 41.8951L277.139 47.3123L276.321 52.9339L276.934 57.3291L276.423 65.1995L273.46 71.7412L280.204 69.1858L290.321 63.8707L299.824 59.4756L311.371 57.1249L316.378 60.0888L317.297 62.9513L315.356 71.1279L309.123 77.5674L302.685 80.0205L297.882 79.8161L294.101 77.6696L293.182 74.911L287.766 77.6696L275.81 82.3712L263.753 85.5405L255.169 86.7671L244.848 86.1535L247.914 91.3664L254.454 90.0375L260.687 90.9581L265.081 95.046L266.716 103.939L263.957 111.605L259.563 114.058L258.746 118.248L268.044 136.238L271.11 133.683L278.672 132.456L282.861 132.354L283.985 135.625L280.613 142.473L275.095 146.868L267.84 150.343L260.176 151.57L257.213 149.832L254.147 145.642L244.235 112.525L241.987 112.627L239.841 118.965L234.834 128.368L228.601 136.034L220.631 141.962L220.12 142.984L222.163 146.664L222.572 150.753L224.411 151.264L224.207 152.49L220.324 155.25L215.215 156.681L205.609 155.659L198.865 152.184L194.88 145.949L194.471 140.634Z",fill:"#0D1117"}),(0,n.jsx)("path",{d:"M229.337 160C254.781 160 275.407 156.679 275.407 152.581C275.407 148.483 254.781 145.162 229.337 145.162C203.893 145.162 183.267 148.483 183.267 152.581C183.267 156.679 203.893 160 229.337 160Z",fill:"#161B22",fillOpacity:"0.5"}),(0,n.jsx)("path",{d:"M297.468 79.8266C296.557 79.5229 295.065 78.435 294.432 77.9289L293.673 76.7905C297.973 70.465 305.356 61.2544 307.333 62.2428C308.85 63.0018 311.127 64.0852 314.921 61.8633C315.791 62.5389 317.04 63.7903 316.818 65.784C316.059 72.6155 311.506 75.2722 308.091 77.9289C304.677 80.5856 298.606 80.2061 297.468 79.8266Z",fill:"#0D1117"}),(0,n.jsx)("path",{d:"M203.748 107.271L219.072 99.8261L224.757 91.1499L229.28 86.8487L234.025 84.4756L223.868 86.8487L202.589 93.9684L186.891 101.904L169.448 112.509L162.033 118.813L161.366 120.889L164.48 121.928L171.129 120.41L186.891 115.155L203.748 107.271Z",fill:"#0D1117"}),(0,n.jsx)("path",{d:"M217.528 156.364H210.332L204.907 155.478L199.924 153.041L195.717 147.504L194.721 140.195L196.381 136.097L203.91 131.445L214.761 125.244L219.743 121.146L226.497 113.836L237.901 123.361L232.143 132.331L227.161 137.315L219.743 142.852L221.957 146.95L222.621 151.38H223.397L225.168 151.934L221.957 154.813L217.528 156.364Z",fill:"#0D1117"}),(0,n.jsx)("path",{d:"M251.881 137.302L250.528 133.669L266.127 132.742L268.263 136.875L251.881 137.302Z",fill:"#0D1117"}),(0,n.jsx)("path",{d:"M263.171 145.446L254.094 146.491L258.512 151.232L262.368 151.875L271.847 149.223L263.171 145.446Z",fill:"#0D1117"}),(0,n.jsx)("path",{d:"M269.711 134.167L273.767 132.742H277.305H282.656L283.95 134.167V136.713L267.985 136.195L269.711 134.167Z",fill:"#0D1117"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M270.086 37.5955C269.612 36.8498 268.796 35.7169 267.529 34.4246C265.456 32.3048 261.724 29.2632 255.689 26.9591C248.778 24.3324 240.947 24.6089 234.22 27.6964L233.99 27.7886L233.76 27.6964C226.909 25.2444 222.997 26.8076 221.361 27.8354C223.604 28.6136 227.762 31.0977 229.337 36.5904L228.231 36.9131C226.665 31.3831 222.104 29.1712 220.445 28.7564L222.657 36.867L222.518 37.0974C222.491 37.125 220.914 39.3288 219.652 42.4565C219.701 42.4198 219.75 42.3846 219.801 42.3509C220.63 41.7978 221.643 41.6596 222.703 42.0282C225.051 42.8114 226.755 45.3902 228.552 48.1079L228.554 48.1113C230.305 50.784 232.101 53.5029 234.358 54.102C235.932 54.5066 239.083 54.1219 242.742 53.6751L243.02 53.6412L243.1 53.6313C250.227 52.7574 259.068 51.6734 263.245 55.3002C266.331 57.9269 269.28 62.5813 265.687 69.6781C264.884 71.2835 262.859 74.6017 261.831 76.2839C261.679 76.5332 261.549 76.7465 261.448 76.9131C261.909 77.4661 262.6 78.6182 262.277 80.0468C262.183 80.4835 262.006 80.9014 261.744 81.3006C262.908 80.7184 264.029 80.0788 265.095 79.3863C265.179 79.2317 265.337 79.138 265.509 79.1139C265.601 79.0518 265.693 78.9895 265.785 78.9266L265.733 78.8486C265.771 78.8258 265.872 78.7955 266.026 78.7597C266.19 78.6448 266.352 78.5286 266.514 78.4111C265.793 78.1823 265.163 78.03 264.673 77.973L264.811 76.821C265.533 76.9076 266.507 77.1709 267.621 77.5654C269.436 76.1115 271.028 74.4861 272.32 72.7196C276.195 67.4414 276.219 59.548 275.923 55.5519C275.6 56.3155 275.289 56.8848 275.039 57.1896L274.117 56.4522C274.947 55.3923 277.065 49.6781 276.467 44.5629C276.145 41.9822 275.223 40.0468 273.61 38.7564C267.956 37.6338 261.331 42.9026 260.442 43.6098L260.441 43.61C260.382 43.6575 260.348 43.6843 260.342 43.6872L259.606 42.8117C259.865 42.5891 264.752 38.454 270.086 37.5955ZM266.762 79.7534C267.306 79.6538 268.184 79.5377 269.2 79.4309C270.296 79.9025 271.458 80.4615 272.594 81.0695C271.728 81.4386 270.757 81.8352 269.719 82.2459C268.69 81.2558 267.656 80.388 266.762 79.7534ZM268.549 82.7037C267.505 81.7318 266.479 80.9122 265.647 80.3841C261.546 83.0281 256.688 84.9216 251.672 85.8196C254.376 85.8732 257.795 85.7571 261.731 85.2277L261.724 85.208C264.031 84.4055 266.398 83.5362 268.549 82.7037ZM268.704 83.8691C268.951 83.7718 269.199 83.6732 269.448 83.5738C269.473 83.5986 269.497 83.6233 269.522 83.6481C269.248 83.7239 268.975 83.7977 268.704 83.8691ZM270.592 83.1169C271.9 82.5893 272.962 82.139 273.824 81.7529C274.03 81.8717 274.233 81.9917 274.435 82.1127C273.214 82.5333 271.983 82.9309 270.761 83.2928C270.705 83.2339 270.649 83.1753 270.592 83.1169ZM275.108 81.1563C275.358 81.3076 275.605 81.4605 275.848 81.6148C278.671 80.5974 281.407 79.4825 283.829 78.4331C283.071 78.5324 282.436 78.5721 281.903 78.5721C279.968 78.5721 279.323 78.0191 279.139 77.6505C279.001 77.3739 279.047 77.0053 279.277 76.6366C280.264 74.933 285.958 70.8741 290.339 70.6551C291.967 68.1792 296.131 63.2789 307.933 61.89L308.071 63.0421C296.6 64.3785 292.73 68.8486 290.795 72.0744C290.38 72.7656 290.38 73.1804 290.472 73.2726C290.703 73.5491 291.716 73.503 292.638 73.0882L293.374 72.7196L293.466 73.5491C293.974 79.7242 300.469 79.4016 300.745 79.3555C306.966 79.3555 311.249 75.2541 313.231 72.8118C315.534 70.0007 317.93 62.8117 314.889 59.5398C312.089 56.4636 306.865 58.099 300.858 59.9797L300.791 60.0006C300.239 60.1849 299.641 60.3691 299.042 60.5533L299.041 60.5536C292.784 62.4962 276.096 71.3131 273.858 72.4966C273.664 72.8076 273.459 73.1127 273.242 73.4108C272.015 75.0805 270.532 76.6289 268.853 78.0316C269.027 78.1015 269.202 78.1737 269.38 78.2482C272.453 77.8903 276.481 77.6507 277.389 78.3878C277.711 78.6182 277.803 79.0329 277.665 79.3555C277.574 79.6283 277.404 80.0407 275.108 81.1563ZM273.943 80.4791C275.099 79.957 275.955 79.5196 276.375 79.2173C275.547 79.0263 273.548 79.0796 271.537 79.2242C272.341 79.614 273.152 80.0361 273.943 80.4791ZM275.678 82.8964C274.335 83.3707 272.974 83.8209 271.62 84.23C273.032 85.8336 274.242 87.5491 274.808 89.033C274.901 89.3094 274.762 89.6781 274.486 89.7703C274.44 89.8163 274.348 89.8163 274.301 89.8163C274.071 89.8163 273.841 89.6781 273.749 89.4477C273.179 87.9706 271.885 86.2035 270.411 84.5846C268.658 85.0826 266.928 85.5025 265.271 85.8072C260.388 86.7288 256.15 87.0053 252.787 87.0053C249.053 87.0053 246.451 86.6552 245.35 86.4696L248.267 90.8661C250.307 90.3556 252.226 89.9163 253.893 89.6781C257.348 89.1712 260.757 90.1389 263.245 92.3509C265.917 94.7472 267.345 98.2956 267.253 102.397C267.023 110.507 262.185 113.595 259.836 114.977C259.801 115.813 259.687 116.728 259.255 117.464C259.342 117.646 259.477 117.931 259.655 118.305C261.05 121.254 265.021 129.646 267.992 135.162C270.985 131.35 278.546 131.869 280.291 132.305C280.314 132.305 280.337 132.293 280.36 132.282C280.383 132.27 280.406 132.259 280.429 132.259C281.258 131.937 283.054 131.245 284.298 133.227C285.681 135.439 282.18 141.014 280.844 142.766C276.743 148.203 267.207 151.66 261.909 152.075C261.77 152.121 261.632 152.121 261.448 152.121C256.564 152.121 253.709 146.176 253.617 145.899L253.57 145.807L249.239 131.117C249.223 131.085 249.208 131.052 249.194 131.015L249.208 131.011L243.811 112.709C243.399 112.747 242.985 112.779 242.573 112.805C240.511 118.757 237.698 124.439 234.22 129.679C229.292 136.976 222.664 141.299 220.503 142.59C222.848 145.174 223.262 148.824 223.053 150.611C223.96 150.358 224.454 150.37 224.776 150.646C225.098 150.923 225.237 151.245 225.237 151.66C225.19 152.305 224.684 153.365 221.137 155.392C219.34 156.498 216.299 156.96 213.074 156.96C208.974 156.96 204.643 156.176 202.064 154.886C198.24 152.95 195.752 150.093 194.601 146.453C193.311 142.212 194.277 138.019 195.245 136.176C196.029 134.747 201.51 131.567 209.158 127.236C211.37 125.992 213.489 124.794 214.825 123.964C218.962 121.427 225.711 113.532 227.733 111.121C225.533 110.433 223.726 109.597 222.518 108.71C218.81 105.96 217.497 103.409 218.474 99.9031C213.297 102.625 196.654 111.302 190.316 114.102C187.091 115.485 170.829 121.982 163.872 121.982C162.95 121.982 162.167 121.844 161.66 121.614C160.969 121.291 160.739 120.83 160.647 120.462C160.417 119.632 159.863 117.42 173.961 108.572C181.424 103.872 190.592 98.8947 196.351 96.0376C206.132 91.1855 226.274 85.182 231.492 83.6744C226.127 81.4154 221.545 77.5065 218.465 72.5352C216.636 69.7179 215.881 66.3776 216.316 63.0912C214.731 60.7197 210.757 59.2164 208.467 59.079C208.145 59.079 207.915 58.8025 207.915 58.48C207.915 58.1574 208.191 57.9269 208.513 57.9269C210.679 58.0905 214.477 59.342 216.593 61.6173C216.657 61.3605 216.727 61.1047 216.805 60.8499L216.801 60.8449C216.341 60.1354 212.858 54.7574 208.283 52.8578C208.007 52.7196 207.869 52.397 207.961 52.1205C208.099 51.8439 208.421 51.7057 208.698 51.7979C212.714 53.4542 215.814 57.428 217.133 59.3094C217.195 58.5316 217.156 57.5975 217.104 56.3736C217.097 56.2056 217.09 56.0323 217.083 55.8532C216.991 54.2403 216.898 52.2587 216.898 49.5859L216.899 49.4938H216.898L216.899 49.4772C216.942 43.4355 220.543 37.8276 221.367 36.6366L219.294 28.9407C219.247 28.8025 219.247 28.6181 219.294 28.4799C219.335 28.2315 219.488 28.0202 219.686 27.8461L219.57 27.7425L219.583 27.7297C219.897 27.409 224.114 23.1001 233.898 26.4983C240.855 23.3646 248.917 23.1343 256.058 25.8532C266.329 29.7355 270.296 35.62 271.334 37.4582C272.219 37.4078 273.107 37.4612 273.979 37.6504L274.117 37.6965L274.209 37.7886C276.099 39.2633 277.25 41.4753 277.573 44.4246C277.948 47.3826 277.48 50.5178 276.802 52.9698L276.817 53.0777C276.927 53.8659 277.317 56.6485 277.157 60.185C277.049 63.1933 276.513 67.1422 274.855 70.6643C279.729 68.1036 293.075 61.2023 298.719 59.4477C299.018 59.3556 299.305 59.2635 299.593 59.1715L299.594 59.1711L299.596 59.1708C299.883 59.0787 300.17 58.9867 300.469 58.8947L300.562 58.8656C306.7 56.9409 312.464 55.1338 315.764 58.7103C319.358 62.6274 316.594 70.5537 314.152 73.5029C312.033 76.0836 307.472 80.4615 300.791 80.4615C300.791 80.5537 300.699 80.5537 300.515 80.5537C299.273 80.5537 294.168 80.2748 292.68 75.5692C290.607 76.6231 284.18 79.7813 277.034 82.4079C277.512 82.7444 277.961 83.0835 278.371 83.4214C278.429 83.4402 278.486 83.4672 278.54 83.503C279.139 84.0099 279.646 84.5168 280.106 85.1159C280.291 85.3463 280.245 85.715 280.014 85.9454C279.922 86.0836 279.784 86.1297 279.646 86.1297C279.461 86.1297 279.323 86.0376 279.185 85.8993C279.137 85.8351 279.088 85.7721 279.039 85.7102C278.319 84.8193 277.111 83.8448 275.678 82.8964ZM250.679 131.899L254.675 145.439C254.731 145.561 254.935 145.964 255.271 146.5C255.71 145.956 256.007 143.188 254.399 137.65C253.274 133.817 251.72 132.453 250.679 131.899ZM255.929 147.463C255.959 147.435 255.987 147.405 256.012 147.374C257.21 146.268 256.979 142.397 255.505 137.328C253.872 131.791 251.21 130.813 250.293 130.476L250.254 130.462L248.786 125.492C248.977 125.574 249.176 125.623 249.378 125.623C249.516 125.623 249.608 125.623 249.654 125.669C249.93 125.577 250.115 125.392 250.253 125.116C250.944 123.78 250.99 119.033 250.069 116.222C249.519 114.573 248.761 113.177 248.066 112.295L254.123 111.705C254.399 111.844 254.583 112.075 254.675 112.397C254.675 112.489 254.629 112.765 254.583 112.951C254.307 114.287 253.893 116.499 254.768 117.789C255.137 118.296 255.597 118.572 256.242 118.664C256.518 118.71 256.749 118.71 256.979 118.71C257.551 118.71 258.024 118.588 258.382 118.378C259.826 121.46 265.979 134.498 269.004 139.264L269.971 138.618C269.57 137.983 269.11 137.193 268.61 136.292C271.004 132.365 279.194 133.092 280.152 133.457L280.337 133.549L280.521 133.457C280.567 133.434 280.625 133.411 280.682 133.388H280.683C280.74 133.365 280.798 133.342 280.844 133.319C281.903 132.904 282.64 132.719 283.332 133.825C284.068 135.024 282.134 139.126 279.922 142.074C276.099 147.189 266.792 150.553 261.816 150.923C259.215 151.125 257.158 149.114 255.929 147.463ZM292.347 74.4427C291.748 74.7491 290.612 75.3186 289.091 76.0419L289.09 76.0375C284.99 77.2357 280.982 77.7426 280.244 77.1896C280.835 76.1356 285.589 72.4978 289.604 71.8857C289.056 73.0161 289.313 73.6842 289.643 74.0559C290.185 74.6889 291.304 74.7452 292.347 74.4427ZM255.735 83.6412L255.746 83.6744C252.338 84.6977 248.759 85.2541 245.231 85.2541C244.081 85.2541 242.931 85.2082 241.828 85.0705C241.096 83.7756 239.793 82.4594 237.722 82.3048C236.629 82.2235 235.263 82.6028 233.773 83.3074C227.857 81.3056 222.81 77.2768 219.524 71.9823C217.359 68.7103 216.852 64.7011 218.049 60.9684C218.506 59.6909 218.421 58.2327 218.285 55.923L218.281 55.8532C218.189 54.2403 218.095 52.3048 218.095 49.632C218.095 49.3986 218.102 49.1656 218.114 48.9331C218.318 47.2616 218.963 44.2742 220.445 43.2725C220.998 42.9039 221.597 42.8577 222.334 43.0882C224.262 43.6711 225.885 46.1303 227.456 48.5125L227.587 48.7103L227.731 48.9295C229.572 51.7168 231.434 54.5344 234.082 55.208C235.83 55.6565 239.063 55.2757 242.844 54.8303L243.158 54.7932L243.3 54.7763C250.186 53.9495 258.71 52.9262 262.507 56.1758C266.561 59.632 267.299 64.0099 264.673 69.1712C263.613 71.291 260.296 76.6366 260.25 76.6827L260.02 77.0975L260.342 77.4201C260.342 77.4201 261.448 78.526 261.172 79.8164C260.941 80.8302 259.836 82.3048 255.735 83.6412ZM243.912 86.3863C243.393 86.369 242.88 86.3394 242.368 86.2935C242.43 86.4819 242.478 86.6595 242.513 86.8209L241.407 87.0514C241.406 87.0477 241.404 87.0417 241.402 87.0335L241.395 87.0066C241.28 86.5878 240.474 83.6318 237.676 83.4569C236.113 83.3366 233.144 84.698 230.027 86.9969L230.029 87.0053L230.012 87.0079C229.204 87.6044 228.386 88.2637 227.581 88.9765L227.587 88.9869L227.546 89.008C225.523 90.8035 223.577 92.9356 222.058 95.2541C221.146 96.6655 220.456 97.9009 219.994 99.0104L220.031 99.0791C220.024 99.0834 219.995 99.0989 219.947 99.1251C218.47 102.767 219.489 105.051 223.21 107.789C226.573 110.277 235.51 112.397 244.033 111.521L254.261 110.507L254.399 110.553C255.137 110.83 255.643 111.475 255.781 112.213V112.305C255.781 112.489 255.735 112.719 255.643 113.135C255.627 113.223 255.609 113.318 255.59 113.42V113.421C255.387 114.493 255.054 116.252 255.643 117.051C255.781 117.282 256.012 117.42 256.334 117.466C257.071 117.558 257.624 117.466 257.946 117.19C258.546 116.637 258.638 115.485 258.638 114.609V114.287L258.96 114.102C261.172 112.811 265.825 110.093 266.009 102.351C266.101 98.6182 264.811 95.3924 262.415 93.2265C260.158 91.1988 257.164 90.3693 253.985 90.8302C252.034 91.1146 249.727 91.6856 247.282 92.2905L247.28 92.2909C246.953 92.372 246.623 92.4536 246.291 92.5352C240.486 94.0099 233.944 95.6689 229.613 94.7012L229.889 93.5951C231.337 93.9242 233.085 93.9302 234.993 93.7347C235.341 90.8739 238.121 87.4235 238.582 86.8509C238.614 86.8117 238.635 86.786 238.643 86.7749L239.519 87.5122C239.476 87.5546 236.673 90.9026 236.182 93.5906C238.365 93.288 240.713 92.768 243.034 92.197L242.276 88.4034L243.405 88.1774L244.153 91.9177C244.795 91.7556 245.432 91.5916 246.06 91.4293C246.404 91.3407 246.745 91.2527 247.084 91.166L243.912 86.3863ZM226.88 88.0749C227.11 87.872 227.34 87.6717 227.572 87.4747C225.839 87.8603 224.135 88.3595 222.472 88.9869C219.432 90.0929 217.221 91.1528 216.115 91.7979C217.359 91.6136 219.755 90.9684 222.795 89.8625C223.658 89.5602 225.817 88.6105 226.88 88.0749ZM229.555 85.9C227.026 86.319 224.501 86.993 222.104 87.8809C219.985 88.6182 218.049 89.4477 216.622 90.1851C214.687 91.1988 214.088 91.7979 214.318 92.4431C214.41 92.8118 214.779 92.9961 215.424 92.9961C215.931 92.9961 216.575 92.904 217.497 92.6735C219.017 92.3049 221.044 91.7057 223.164 90.9224C223.482 90.8011 223.954 90.6101 224.484 90.3886C223.152 91.7863 221.978 93.2324 221.091 94.609C220.219 95.9491 219.54 97.1633 219.057 98.2809C218.723 98.4543 218.201 98.7263 217.527 99.0778L217.501 99.0914C211.906 102.009 195.984 110.314 189.809 113.043C182.161 116.406 165.484 122.166 162.167 120.554C161.884 120.433 161.813 120.276 161.769 120.176C161.763 120.162 161.757 120.15 161.752 120.139C161.66 119.77 161.844 117.512 174.56 109.54C182.023 104.84 191.145 99.9086 196.858 97.0514C205.927 92.553 224.051 87.0788 230.62 85.1434C230.266 85.3846 229.91 85.6372 229.555 85.9ZM246.673 112.43L246.796 112.418L246.798 112.443C246.75 112.443 246.707 112.438 246.673 112.43ZM244.979 112.595L246.624 112.435C246.936 112.676 248.108 113.936 248.963 116.545C249.93 119.402 249.7 123.642 249.286 124.471C249.066 124.383 248.598 124.004 248.196 123.493L244.979 112.595ZM241.313 112.864C236.834 113.008 232.47 112.429 228.932 111.47L228.927 111.476C227.394 113.313 220.008 122.159 215.424 124.978C214.042 125.807 211.922 127.005 209.711 128.249C204.597 131.153 196.904 135.531 196.213 136.729C195.337 138.388 194.415 142.212 195.66 146.084C196.673 149.401 198.977 151.983 202.524 153.826C203.768 154.471 205.473 154.978 207.361 155.3C210.08 155.669 215.148 153.641 218.833 152.167C220.062 151.681 221.037 151.297 221.819 151.015C222.106 150.121 222.073 145.513 219.109 142.858C215.101 139.264 205.427 140.462 204.643 140.784C204.643 140.784 204.689 140.738 204.782 140.692L203.953 139.862C204.63 139.184 214.942 137.928 219.636 141.762C221.338 140.761 228.281 136.384 233.207 129.033C236.554 123.967 239.27 118.564 241.313 112.864ZM222.38 152.075L222.373 152.053C221.448 152.383 220.328 152.832 219.34 153.226V153.227C217.175 154.148 214.687 155.162 212.338 155.807C215.608 155.9 218.787 155.484 220.63 154.379C223.854 152.535 224.132 151.706 224.132 151.567C223.855 151.567 223.278 151.736 222.563 151.986C222.508 152.022 222.448 152.052 222.38 152.075ZM272.505 53.0421L271.354 52.8578C271.952 49.0329 272.136 42.3048 271.168 41.2449C270.754 40.7841 268.036 41.7518 265.457 43.2725L264.857 42.3048C269.971 39.2633 271.538 40.0006 271.998 40.4614C273.749 42.2587 272.735 51.4292 272.505 53.0421ZM230.397 76.314C231.272 76.821 232.285 77.1435 233.069 77.1435C233.668 77.1435 234.174 76.9592 234.451 76.5906C235.05 75.5307 233.806 74.056 232.239 73.1804C231.457 72.7196 230.673 72.4431 229.983 72.3509C228.831 72.1665 228.369 72.6735 228.185 72.95C228.001 73.2265 227.863 73.8717 228.554 74.7933C228.969 75.3463 229.613 75.8532 230.397 76.314ZM230.949 75.3463C229.613 74.5628 229.107 73.6873 229.153 73.503C229.337 73.3647 230.305 73.3647 231.641 74.1942C233.023 74.9776 233.484 75.8071 233.437 75.9915C233.299 76.1297 232.332 76.1297 230.949 75.3463ZM168.34 115.899C168.525 116.222 168.893 116.406 169.492 116.406C170.137 116.406 171.059 116.176 172.257 115.761C174.145 115.07 176.448 113.963 178.844 112.581C181.24 111.199 183.359 109.77 184.879 108.48C186.722 106.913 187.367 105.9 186.952 105.162C186.538 104.424 185.34 104.47 183.037 105.3C181.148 105.992 178.844 107.098 176.448 108.48C174.053 109.863 171.933 111.291 170.413 112.581C168.571 114.149 167.926 115.162 168.34 115.899ZM178.246 111.567C173.362 114.379 170.229 115.301 169.4 115.254C169.723 114.517 172.118 112.213 177.002 109.402C181.885 106.59 185.018 105.669 185.847 105.715C185.524 106.498 183.129 108.757 178.246 111.567ZM193.264 102.166C192.665 102.166 192.343 101.982 192.205 101.66C191.882 100.968 192.527 100.231 194.463 98.9408C195.937 97.973 198.01 96.8671 200.22 95.8071C202.478 94.7472 204.643 93.9177 206.303 93.4109C208.513 92.7656 209.481 92.7656 209.803 93.4569C210.126 94.1482 209.481 94.8855 207.546 96.1758C206.071 97.1435 203.999 98.2496 201.787 99.3095C199.53 100.369 197.364 101.199 195.706 101.706C194.601 102.028 193.817 102.166 193.264 102.166ZM208.421 94.1482C207.315 94.2864 204.643 95.0698 200.728 96.9131C196.765 98.7565 194.463 100.277 193.633 101.014C194.739 100.876 197.411 100.093 201.326 98.2496C205.243 96.4062 207.592 94.8855 208.421 94.1482Z",fill:"#1F6FEB"}),(0,n.jsx)("path",{d:"M319.404 147.004C319.404 147.004 321.569 124.885 320.74 121.751C320.233 123.548 311.341 137.926 311.341 137.926V123.917C311.341 123.917 309.361 130.368 308.716 132.35C308.071 129.354 303.418 120.461 304.109 121.475C304.8 122.488 304.938 131.843 304.109 131.843C303.464 131.658 300.976 123.087 298.489 120.276C299.455 121.244 300.147 128.525 300.976 132.166C300.653 130.829 293.974 126.221 290.749 125.575C291.071 127.695 295.862 131.658 296.83 134.47C297.797 137.281 296.185 140.415 296.185 140.415L302.266 144.977L319.404 147.004Z",fill:"#161B22"}),(0,n.jsx)("mask",{id:"mask1","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:"296",y:"25",width:"59",height:"49",children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M354.381 25.0488H296.709V72.8309C301.537 67.0583 308.191 60.8881 308.191 62.6719C308.191 64.5762 311.601 65.439 314.773 61.7546C315.643 62.4302 317.04 63.7908 316.818 65.7844C316.424 69.3284 315.01 71.7488 313.262 73.6286H354.381V25.0488Z",fill:"#C4C4C4"})}),(0,n.jsxs)("g",{mask:"url(#mask1)",children:[(0,n.jsx)("path",{d:"M266.147 117.512C265.963 116.729 302.496 74.7009 305.629 71.8438C308.762 68.9866 336.819 35.899 338.846 34.747C340.09 31.982 335.989 29.6317 334.147 30.9221C332.442 34.2862 302.865 69.2171 300.193 72.0742C297.521 74.9313 276.099 98.1111 266.746 105.53C264.719 111.153 262.83 112.121 261.402 113.733C261.171 114.609 261.448 115.807 263.153 116.913C264.857 118.019 266.147 117.512 266.147 117.512Z",fill:"#6E7681"}),(0,n.jsx)("path",{d:"M329.078 42.6726C326.407 45.2993 316.364 57.1426 313.737 60.2302C308.117 66.9123 284.851 93.2718 278.908 99.9077C276.145 103.041 265.594 113.825 262.83 116.682C262.922 116.774 263.061 116.866 263.199 116.912C264.903 118.065 266.193 117.511 266.193 117.511C266.009 116.728 302.542 74.7003 305.676 71.8431C308.808 68.986 336.865 35.8983 338.892 34.7463C339.214 34.0089 339.168 33.1794 338.754 32.4883C335.805 36.1288 332.396 39.4007 329.078 42.6726Z",fill:"#484F58"})]}),(0,n.jsx)("g",{opacity:"0.5",children:(0,n.jsx)("path",{d:"M321.385 120.277C321.017 119.125 320.878 117.881 321.063 116.637C321.201 116.083 321.569 115.438 322.123 115.438C322.399 115.485 322.629 115.577 322.859 115.761C323.321 116.175 323.781 116.591 324.149 117.097C327.144 120.645 329.356 124.793 330.784 129.217C330.6 127.005 331.797 124.886 333.455 123.41C335.114 121.936 337.233 121.152 339.398 120.599C340.182 120.369 341.15 120.277 341.748 120.83C342.116 121.245 342.255 121.844 342.07 122.397C341.886 122.904 341.564 123.364 341.15 123.733C340.182 124.562 339.076 125.254 337.971 125.806C335.575 127.144 333.317 128.71 331.198 130.461C331.014 130.646 330.784 130.784 330.553 130.83C330.415 130.83 330.23 130.83 330.092 130.784C325.485 129.724 322.537 124.424 321.385 120.277Z",fill:"#30363D"})}),(0,n.jsx)("path",{d:"M307.979 146.775C307.84 146.315 311.387 134.794 311.387 134.794C311.387 134.794 321.938 128.297 323.827 127.19C325.716 126.084 328.342 126.269 328.342 126.269L334.101 124.103C334.101 124.103 349.948 128.297 350.409 128.435C350.87 128.573 353.68 133.734 354.924 135.439C356.168 137.144 356.767 138.25 356.951 141.015L357.089 143.826L348.705 152.812H339.076C339.076 152.812 332.257 155.438 330.691 154.978C329.124 154.518 323.551 153.135 321.523 151.384C319.496 149.633 307.979 146.775 307.979 146.775Z",fill:"#484F58"}),(0,n.jsx)("path",{d:"M328.434 128.295C328.388 127.972 327.651 119.999 335.207 111.336L335.897 111.936C332.074 116.267 330.508 120.461 329.862 123.225C329.171 126.221 329.356 128.156 329.356 128.202L328.434 128.295Z",fill:"#484F58"}),(0,n.jsx)("path",{d:"M336.035 112.579C335.207 112.579 334.515 111.889 334.515 111.059C334.515 110.23 335.207 109.539 336.035 109.539C336.865 109.539 337.556 110.23 337.556 111.059C337.556 111.889 336.865 112.579 336.035 112.579ZM336.035 110.46C335.713 110.46 335.437 110.737 335.437 111.059C335.437 111.381 335.713 111.657 336.035 111.657C336.358 111.657 336.635 111.381 336.635 111.059C336.635 110.737 336.358 110.46 336.035 110.46Z",fill:"#484F58"}),(0,n.jsx)("path",{d:"M340.274 115.207C339.49 115.207 338.846 114.562 338.846 113.779C338.846 112.996 339.49 112.351 340.274 112.351C341.057 112.351 341.702 112.996 341.702 113.779C341.702 114.562 341.057 115.207 340.274 115.207ZM340.274 113.272C339.997 113.272 339.766 113.502 339.766 113.779C339.766 114.055 339.997 114.286 340.274 114.286C340.55 114.286 340.78 114.055 340.78 113.779C340.78 113.502 340.55 113.272 340.274 113.272Z",fill:"#484F58"}),(0,n.jsx)("path",{d:"M334.055 117.697C332.764 117.697 331.751 117.144 331.705 117.098L332.165 116.314C332.257 116.36 334.055 117.374 335.667 116.314C336.911 115.531 338.108 114.609 339.214 113.688L339.813 114.379C338.661 115.347 337.417 116.268 336.173 117.098C335.483 117.558 334.745 117.697 334.055 117.697Z",fill:"#484F58"}),(0,n.jsx)("path",{d:"M325.623 142.766C328.019 140.508 330.691 138.48 333.501 136.729C335.483 137.144 337.325 136.822 338.846 137.052C342.07 134.194 345.849 130.877 349.165 128.157C345.387 127.144 334.055 124.148 334.055 124.148L328.296 126.315C328.296 126.315 325.669 126.176 323.781 127.236C322.307 128.111 315.258 132.443 312.493 134.148C314.29 136.776 322.859 140.692 325.623 142.766Z",fill:"#6E7681"}),(0,n.jsx)("path",{d:"M312.631 134.239L312.493 134.055C315.12 132.443 322.261 128.018 323.781 127.143C325.577 126.13 328.019 126.176 328.342 126.222L334.101 124.056H334.147C334.239 124.102 345.479 127.051 349.257 128.064L349.211 128.295C345.572 127.328 334.883 124.47 334.147 124.286L328.434 126.452H328.388C328.342 126.452 325.762 126.314 323.965 127.374C322.399 128.203 315.258 132.627 312.631 134.239Z",fill:"#6E7681"}),(0,n.jsx)("path",{d:"M56.5281 157.927C78.7151 157.927 96.7013 156.152 96.7013 153.963C96.7013 151.775 78.7151 150 56.5281 150C34.3411 150 16.355 151.775 16.355 153.963C16.355 156.152 34.3411 157.927 56.5281 157.927Z",fill:"#161B22",fillOpacity:"0.5"}),(0,n.jsx)("path",{d:"M78.3652 141.29C78.3652 141.29 79.1485 147.281 80.7148 148.894C82.2812 150.506 88.6849 154.977 89.0074 154.147C85.8747 150.23 82.5577 140.553 82.5577 140.553L78.3652 141.29Z",fill:"#30363D"}),(0,n.jsx)("path",{d:"M57.8184 141.705C57.7262 141.751 57.6802 141.797 57.6342 141.843C57.542 141.935 57.6342 142.12 57.6802 142.212C58.4173 143.456 58.9702 144.838 59.3847 146.222C59.6612 147.235 60.214 148.618 61.1354 148.156C62.7479 147.282 61.4119 145.162 61.1354 143.364C61.3198 144.47 64.9132 143.18 66.065 141.521C67.5392 139.401 63.9918 139.079 62.7018 139.401C61.0433 139.815 59.3847 140.968 57.8184 141.705Z",fill:"#30363D"}),(0,n.jsx)("path",{d:"M71.5007 128.756C69.3354 128.526 67.124 128.572 65.143 129.447C63.2541 130.277 61.7338 131.797 60.3517 133.318C59.9371 133.825 59.4764 134.24 58.9236 134.609C58.3707 134.885 57.7718 135.023 57.1729 135.023C54.2704 135.115 51.5523 133.503 49.6174 131.383C47.6824 129.263 46.3004 126.682 44.8261 124.194C42.4765 120.231 39.6201 116.267 35.566 114.101C29.9454 111.06 22.5742 111.982 17.4143 115.853C12.2545 119.677 9.25996 126.038 8.79926 132.397C8.70712 133.825 8.98353 135.623 10.3657 135.945L12.4849 131.843C13.5445 129.816 14.6502 127.742 16.4469 126.314C18.2436 124.885 20.9157 124.378 22.8046 125.668C24.2788 126.682 24.8777 128.572 25.062 130.369C25.2463 132.166 25.108 133.963 25.5227 135.715C26.5363 139.954 30.6826 142.904 34.921 143.733C38.0077 144.332 41.2326 144.056 44.1811 142.904C49.0645 140.968 53.303 136.729 58.5089 137.051C59.2 138.894 60.9967 140.139 62.8856 140.692C64.7744 141.244 66.8015 141.106 68.7364 141.014L66.1566 144.102C67.4926 146.82 69.3354 149.263 71.5007 151.337C72.5603 148.664 71.6849 145.945 70.0264 143.594C70.4411 142.766 71.1321 142.074 71.9614 141.706C73.8963 142.719 78.964 142.442 81.1293 142.166C81.0372 143.733 81.3597 147.328 82.3732 148.848C83.3867 150.369 86.6117 153.641 88.4544 154.609C89.6062 155.253 93.1536 156.083 93.7065 155.023C89.3298 153.18 84.9992 148.71 85.0453 143.964C85.0453 141.659 87.0724 140.139 86.9341 138.203C86.8421 136.498 84.0778 134.517 82.88 133.549C79.6551 130.922 75.693 129.263 71.5007 128.756Z",fill:"#484F58"}),(0,n.jsx)("path",{d:"M47.2678 136.591C45.5632 136.591 43.7664 136.959 42.5226 135.577C42.1079 135.023 41.7393 134.425 41.4169 133.825C40.4033 132.259 39.1594 132.074 37.3627 132.213C35.1974 132.351 34.4142 131.521 33.5389 129.54C31.0511 124.01 24.7856 119.678 18.7504 122.904C14.1434 125.392 11.3331 130.83 10.0431 135.715C10.0431 135.761 9.99707 135.807 9.99707 135.853C10.0893 135.899 10.1813 135.945 10.3196 135.991L12.4849 131.89C13.5445 129.862 14.6501 127.788 16.4468 126.36C18.2437 124.932 20.9157 124.424 22.8045 125.714C24.2788 126.728 24.8777 128.618 25.062 130.415C25.2463 132.213 25.1081 134.009 25.5227 135.761C26.5363 140 30.6826 142.95 34.921 143.78C38.0077 144.378 41.2326 144.102 44.1811 142.95C47.6363 141.567 50.8152 139.033 54.2244 137.789C52.1051 136.867 49.8016 136.591 47.2678 136.591Z",fill:"#30363D"}),(0,n.jsx)("g",{opacity:"0.6",children:(0,n.jsx)("path",{opacity:"0.8",d:"M70.5332 134.747C70.6253 134.747 74.6795 137.466 74.6334 138.756C74.5873 140.046 70.9478 141.982 70.9478 141.982C70.9478 141.982 72.7445 139.724 72.3299 138.342C71.9152 136.959 70.5332 134.747 70.5332 134.747Z",fill:"#8B949E"})}),(0,n.jsx)("path",{d:"M85.7362 135.945C85.3216 137.328 84.5384 138.618 84.2159 140.093C83.7553 141.89 84.1238 143.826 85.2295 145.3C85.1373 144.886 85.1373 144.424 85.1373 144.01C85.1373 141.706 87.1644 140.185 87.0262 138.25C86.934 137.466 86.4273 136.683 85.7362 135.945Z",fill:"#30363D"}),(0,n.jsx)("path",{d:"M88.501 133.134C89.5606 132.719 90.4359 133.825 89.6988 136.359L91.0348 136.405C90.8044 135.715 90.7122 134.977 90.8044 134.24C90.8505 133.595 91.4033 133.134 92.0484 133.18H92.0944C92.8315 133.226 93.0618 133.825 93.108 134.562C93.108 135.253 92.9698 135.945 92.6473 136.59C94.2596 137.743 95.135 139.723 94.9047 141.705C94.7665 142.396 94.6283 143.088 94.5822 143.779C94.5361 144.516 94.9047 145.162 95.5036 145.53C95.8721 145.668 96.2868 145.714 96.6554 145.806C97.0239 145.898 97.4385 146.222 97.3925 146.636C97.3463 146.958 97.0239 147.142 96.7474 147.328C94.49 148.434 91.864 148.434 89.6526 147.328C87.7177 146.36 86.1514 144.516 85.8749 142.396C85.6907 140.968 86.1052 139.585 87.0267 138.479C87.3492 138.111 88.3628 137.603 88.501 137.143C87.9021 136.405 87.0728 133.687 88.501 133.134Z",fill:"#484F58"}),(0,n.jsx)("path",{d:"M96.701 146.958C97.0317 146.958 97.2999 146.689 97.2999 146.359C97.2999 146.028 97.0317 145.76 96.701 145.76C96.3701 145.76 96.1021 146.028 96.1021 146.359C96.1021 146.689 96.3701 146.958 96.701 146.958Z",fill:"#30363D"}),(0,n.jsx)("g",{opacity:"0.6",children:(0,n.jsx)("path",{opacity:"0.8",d:"M38.8833 121.566C41.325 124.331 43.2139 127.511 45.5174 130.368C47.8209 133.225 50.9998 135.298 54.5932 136.174C54.8696 136.128 55.0999 136.082 55.3764 136.036C52.8425 135.806 50.4929 134.331 48.7423 132.442C46.7613 130.322 45.4253 127.741 43.951 125.253C41.6014 121.29 38.7451 117.326 34.6909 115.16C31.8806 113.686 28.7018 113.087 25.5229 113.455C30.6828 114.423 35.5202 117.742 38.8833 121.566Z",fill:"#8B949E"})}),(0,n.jsx)("g",{opacity:"0.6",children:(0,n.jsx)("path",{opacity:"0.8",d:"M78.964 133.041C81.2214 134.332 82.9721 136.174 84.5385 138.202C84.6307 137.649 84.815 137.096 84.9992 136.59C83.8474 135.253 82.4654 134.054 80.9911 133.087C77.5819 130.875 73.6659 130.23 69.75 129.539L71.086 130.184C73.7121 131.152 76.5223 131.612 78.964 133.041Z",fill:"#8B949E"})}),(0,n.jsx)("g",{opacity:"0.6",children:(0,n.jsx)("path",{opacity:"0.8",d:"M88.0864 134.839C89.4224 134.747 88.6853 137.097 89.4225 137.373C90.0214 137.604 90.7585 137.143 91.4496 137.419C92.1867 137.789 92.7396 138.341 93.1081 139.079C93.6148 140.093 93.6148 141.014 93.5227 142.12C93.4766 143.548 93.5688 145.024 95.2273 145.438C94.7205 145.024 94.4441 144.424 94.4901 143.78C94.5363 143.088 94.6745 142.396 94.8127 141.706C95.043 139.724 94.1677 137.743 92.5552 136.591C92.8777 135.945 93.0159 135.253 93.0159 134.563C92.9698 133.825 92.7395 133.226 92.0023 133.18C91.3574 133.088 90.8045 133.549 90.7124 134.194V134.24C90.6203 134.977 90.7124 135.715 90.9427 136.406L89.6067 136.359C90.3438 133.779 89.4685 132.673 88.4089 133.134C87.7179 133.411 87.5797 134.147 87.6257 134.977C87.81 134.931 87.9482 134.885 88.0864 134.839Z",fill:"#8B949E"})})]});r.displayName="InboxZeroDarkGraphic";let o=()=>{let{resolvedColorMode:e}=(0,i.DP)();switch(e){case"day":case"light":return(0,n.jsx)(s,{});case"night":case"dark":return(0,n.jsx)(r,{});default:return null}};o.displayName="InboxZeroGraphic";let d=()=>(0,n.jsx)("div",{className:"NewViewGraphic-module__NewViewGraphicContainer__IsTGH",children:(0,n.jsx)(o,{})});function c(){return(0,n.jsxs)("div",{className:"NewViewExperience-module__NewViewExperienceContainer__ZAu9k",children:[(0,n.jsx)(d,{}),(0,n.jsxs)("div",{className:"NewViewExperience-module__textContent__kDgBx",children:[(0,n.jsx)(t.A,{as:"h2",className:"NewViewExperience-module__Heading__McbQM",children:"Build powerful views to keep track of work"}),(0,n.jsx)("span",{className:"NewViewExperience-module__descriptionText__EVfi6",children:"Create your own views to quickly find and access your work."})]})]})}d.displayName="InboxZeroGraphicWrapper",c.displayName="NewViewExperience"},60776(e,l,a){a.d(l,{Y:()=>Y});var n=a(74848);let t={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"HeaderCurrentViewFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"query",storageKey:null},{args:null,kind:"FragmentSpread",name:"HeaderContentCurrentViewFragment"}],type:"Shortcutable",abstractKey:"__isShortcutable"};t.hash="3bfaf6f707910045da8c4fd0f5829990";var i=a(78179),s=a(6742),r=a(50964),o=a(54590),d=a(38621),c=a(26108),u=a(21373),m=a(39775),C=a(96540),g=a(18312),p=a(60182),h=a(70452),f=a(12100),y=a(92193),_=a(61190),b=a(58871),k=a(91717);let x={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"HeaderContentCurrentViewFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{args:null,kind:"FragmentSpread",name:"IconAndColorPickerViewFragment"},{args:null,kind:"FragmentSpread",name:"ViewOptionsButtonCurrentViewFragment"}],type:"Shortcutable",abstractKey:"__isShortcutable"};x.hash="f305cee1d125371a31f8f260f6725199";var L=a(61441),j=a(32682),v=a(7624),S=a(38750),w=a(46249),I=a(34164),N=a(76427),A=a(54850);let F="HeaderContent-module__FormControl__kAnLK",M="HeaderContent-module__TextInput__YHUaA",T={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"IconAndColorPickerViewFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"icon",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"color",storageKey:null}],type:"Shortcutable",abstractKey:"__isShortcutable"};T.hash="1c65d9cf28b7c9542ac14b219f1610b8";var K=a(94300),V=a(60625),R=a(68333),E=a(70186),D=a(88004);let P="IconAndColorPicker-module__sectionLabel__O2ZD3";function $({readOnly:e,currentView:l}){let{isEditing:a,isNewView:t}=(0,_.No)(),{icon:i,color:s}=(0,g.useFragment)(T,l),{dirtyViewIcon:r,setDirtyViewIcon:o,dirtyViewColor:m,setDirtyViewColor:f}=(0,_.oP)(),[y,b]=(0,C.useState)(!1),k=(0,C.useCallback)(e=>{b(e)},[]),x=(0,C.useCallback)(()=>{k(!1)},[k]),L=(0,C.useCallback)(e=>{o(e)},[o]),j=(0,C.useCallback)(e=>{f(e)},[f]),v=(0,C.useCallback)(()=>{k(!1),o(null),f(null)},[k,o,f]),S=r||(t?R.tT.defaultViewIcon:i),w=m||(t?R.tT.defaultViewColor:s),N=(0,D.NC)(S),A=E.uA[w],F=E.NM[w],M=(0,C.useMemo)(()=>(0,D.NC)(i),[i]);return e||!a?(0,n.jsx)("div",{style:{backgroundColor:A,color:F},className:"IconAndColorPicker-module__iconDisplayContainer__XyRkg",children:(0,n.jsx)(M,{})}):(0,n.jsx)(K.T,{renderAnchor:e=>(0,n.jsx)(c.K,{...e,"aria-labelledby":void 0,"aria-label":h.k.views.iconAndColorAnchorAriaLabel,icon:N,size:"medium",variant:"invisible",onClick:()=>k(!y),id:"edit-view-icon-button",style:{backgroundColor:A,color:F}}),focusZoneSettings:{disabled:!0},focusTrapSettings:{restoreFocusOnCleanUp:!0},open:y,onOpen:()=>k(!0),onClose:v,className:"IconAndColorPicker-module__anchoredOverlay__UF164",children:(0,n.jsxs)("div",{className:"IconAndColorPicker-module__overlayContent__Eh6sc",children:[(0,n.jsx)("span",{className:P,children:h.k.views.color}),(0,n.jsx)("div",{className:"IconAndColorPicker-module__colorSelectionGrid__K3_kN","data-testid":"color-selection-grid",children:E.q4.map(e=>{let l=E.NM[e],a=E.uA[e],t=e===w,i=E.yb[e]??e;return(0,n.jsx)(V.m,{text:`${i} color`,direction:"n",delay:"long",children:(0,n.jsx)(c.K,{icon:t?d.CheckCircleFillIcon:d.CircleIcon,"aria-label":i,"aria-checked":t,role:"radio",variant:"invisible",className:"IconAndColorPicker-module__colorPickerButton__FcIpa",style:{"--color-picker-fg":t?"var(--fgColor-onEmphasis)":l,"--color-picker-bg":t?l:"transparent","--color-picker-hover-fg":t?"var(--fgColor-onEmphasis)":l,"--color-picker-hover-bg":t?l:a},onClick:()=>j(e)})},e)})}),(0,n.jsx)("span",{className:P,children:h.k.views.icon}),(0,n.jsx)("div",{className:"IconAndColorPicker-module__iconSelectionGrid__fnqNI","data-testid":"icon-selection-grid",children:Object.keys(D.NB).map(e=>{let l=e===S;return(0,n.jsx)(V.m,{text:`${function(e){if(!e)return e;let l=e.replace(/_+/g," ").trim();return l.charAt(0).toUpperCase()+l.slice(1).toLowerCase()}(e)} icon`,direction:"n",delay:"long",children:(0,n.jsx)(c.K,{icon:(0,D.NC)(e),"aria-label":e,"aria-checked":l,role:"radio",variant:"invisible",className:(0,I.$)(l?"IconAndColorPicker-module__iconPickerButtonSelected__oa7RL":"IconAndColorPicker-module__iconPickerButton__PMGJK"),style:{"--icon-picker-hover-bg":A,"--icon-picker-selected-bg":F},onClick:()=>L(e)})},e)})}),(0,n.jsxs)("div",{className:"IconAndColorPicker-module__actionButtonsContainer__Y10kN",children:[(0,n.jsx)(u.Q,{onClick:v,children:p.l.cancel}),(0,n.jsx)(u.Q,{variant:"primary",onClick:x,children:p.l.apply})]})]})})}$.displayName="IconAndColorPicker";let B={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"ViewOptionsButtonCurrentViewFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"icon",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"color",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"query",storageKey:null}],type:"Shortcutable",abstractKey:"__isShortcutable"};B.hash="62dca5895718c106a2f717dbe6980390";var O=a(40914),Z=a(53449),H=a(72685),q=a(20757),z=a(18990),U=a(35782),Q=a(66943);let W=({currentView:e})=>{let{id:l,name:a,query:t,description:i,color:r,icon:o}=(0,g.useFragment)(B,e),{isCustomView:u,savedViewsCount:m}=(0,_.$_)(),{setIsEditing:p,canEditView:f}=(0,_.No)(),{commitUserViewDuplicate:y}=(0,_.iI)(),k=(0,g.useRelayEnvironment)(),x=m>=R.tT.viewsPageSize,L=(0,C.useRef)(null),[j,v]=(0,C.useState)(!1),S=(0,Z.M)(j),{addToast:w}=(0,O.Y6)(),{navigateToSavedView:I,navigateToView:N}=(0,b.Y)(),A=(0,H.S)(),F=(0,C.useCallback)(()=>{p(!0)},[p]),M=(0,C.useCallback)(()=>{y({viewName:a,viewIcon:o,viewColor:r,viewDescription:i,viewQuery:t,onError:()=>w({type:"error",message:h.k.views.duplicateError}),relayEnvironment:k,onSuccess:({createDashboardSearchShortcut:e})=>{e?.shortcut&&I(e.shortcut.id,{isEditing:!1})}})},[a,o,r,i,t,k,w,y,I]);(0,C.useEffect)(()=>{S.current&&!j&&L.current?.focus()},[j,S]);let T=(0,C.useCallback)(async()=>{l&&(v(!0),await A({title:h.k.views.deleteTitle,content:h.k.views.deleteContent(a),confirmButtonContent:h.k.views.deleteConfirmationButton,confirmButtonType:"danger"})&&(0,Q.t)({environment:k,input:{shortcutId:l},onError:()=>w({type:"error",message:h.k.views.deleteError}),onCompleted:()=>{N({viewId:U._t.id,canEditView:!0})}}),v(!1))},[w,A,N,k,l,a]),K=l!==s.B.repository&&(f||!u),V=u(l)&&f;return V||K?(0,n.jsxs)(q.W,{children:[(0,n.jsx)(q.W.Anchor,{children:(0,n.jsx)(c.K,{icon:d.KebabHorizontalIcon,"aria-label":h.k.views.editButtonAriaLabel,variant:"invisible",ref:L})}),(0,n.jsx)(q.W.Overlay,{width:"small",children:(0,n.jsxs)(z.l,{children:[V&&(0,n.jsxs)(z.l.Item,{onSelect:F,children:[(0,n.jsx)(z.l.LeadingVisual,{children:(0,n.jsx)(d.PencilIcon,{})}),h.k.views.edit]}),K&&(0,n.jsxs)(z.l.Item,{onSelect:M,disabled:x,children:[(0,n.jsx)(z.l.LeadingVisual,{children:(0,n.jsx)(d.DuplicateIcon,{})}),h.k.views.duplicate,x&&(0,n.jsx)(z.l.Description,{variant:"block",children:(0,n.jsx)("span",{className:"ViewOptionsButton-module__warning__idVWf",children:h.k.views.maxViewsReached})})]}),V&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(z.l.Divider,{}),(0,n.jsxs)(z.l.Item,{variant:"danger",onSelect:T,children:[(0,n.jsx)(z.l.LeadingVisual,{children:(0,n.jsx)(d.TrashIcon,{})}),h.k.views.delete]})]})]})})]}):null};function G({readOnly:e=!1,currentViewKey:l}){let{isCustomView:a}=(0,_.$_)(),{isEditing:t}=(0,_.No)(),{scoped_repository:i}=(0,r.X)(),s=(0,g.useFragment)(x,l),{name:o,description:d,id:c}=s,{dirtyTitle:u,setDirtyTitle:m,dirtyDescription:p,setDirtyDescription:h}=(0,_.oP)(),{shouldFocusSearchOnNav:f}=(0,_.Wu)(),[y,b]=(0,C.useState)(void 0),k=(0,C.useRef)(null);return(0,C.useEffect)(()=>{t&&k.current&&!f&&requestAnimationFrame(()=>{k.current&&k.current.focus()})},[t,f]),(0,n.jsx)("div",{className:"HeaderContent-module__HeaderContentContainer__DIOeX",children:t?(0,n.jsxs)("div",{className:"HeaderContent-module__editingModeContainer__fjMUF",children:[(0,n.jsxs)("div",{className:"HeaderContent-module__iconTitleInputRow__JBx8i",children:[(0,n.jsxs)(v.A,{children:[(0,n.jsx)(v.A.Label,{htmlFor:"edit-view-icon-button",children:N.n.icon}),a(c)&&(0,n.jsx)($,{readOnly:e,currentView:s})]}),(0,n.jsxs)(v.A,{className:F,children:[(0,n.jsx)(v.A.Label,{children:N.n.title}),(0,n.jsx)(S.A,{ref:k,onChange:e=>{let l=e.target.value;b((0,L.iy)(l).errorMessage),m(l)},value:(0,A.D)(u)?u:o,placeholder:j.k.viewTitlePlaceholder,className:M}),y&&(0,n.jsx)(v.A.Validation,{variant:"error",children:y})]})]}),(0,n.jsxs)(v.A,{className:F,children:[(0,n.jsx)(v.A.Label,{children:N.n.description}),(0,n.jsx)(S.A,{onChange:e=>{h(e.target.value)},value:(0,A.D)(p)?p:d,placeholder:j.k.viewDescriptionPlaceholder,className:M})]})]}):(0,n.jsxs)("div",{className:"HeaderContent-module__displayModeContainer__PdGaZ",children:[(0,n.jsxs)("span",{className:"HeaderContent-module__titleOptionsRow___XtIP",children:[a(c)&&(0,n.jsx)($,{readOnly:e,currentView:s}),(0,n.jsx)(w.A,{as:"h1",className:(0,I.$)(i?"sr-only":"","HeaderContent-module__Heading__i_lXs"),children:o}),a(c)&&!e&&(0,n.jsx)(W,{currentView:s})]}),d&&(0,n.jsx)("span",{className:"HeaderContent-module__descriptionText__ODnmG",children:d})]})})}function Y({currentViewKey:e,onCollapse:l}){let{pathname:a}=(0,o.zy)(),x=(0,k.$g)(a),{navigateToRoot:L,navigateToUrl:j}=(0,b.Y)(),{isEditing:v,canEditView:S}=(0,_.No)(),w=(0,g.useFragment)(t,e),{id:I,name:N,query:A}=w,{openNavigation:F}=(0,y.t)(),{scoped_repository:M,current_user_settings:T}=(0,r.X)(),K=(0,_.SR)(),V=(0,C.useCallback)(()=>{I===s.B.repository&&K!==A?j((0,k.dA)({query:K})):L(I,A)},[K,L,j,I,A]),R=(0,o.Zp)(),E=(0,C.useCallback)(e=>{R(e,{reloadDocument:!0})},[R]);return(0,n.jsx)("div",{"data-testid":f.Y.listHeader,children:x?(0,n.jsx)("div",{className:"Header-module__HeaderCreateIssueContainer__P3g58",children:(0,n.jsxs)("div",{className:"Header-module__leftSideContent__jUNZr",children:[l&&(0,n.jsx)(c.K,{variant:"invisible",icon:d.SidebarExpandIcon,onClick:l,"aria-label":"Collapse",keybindingHint:"Mod+B",tooltipDirection:"e"}),(0,n.jsx)(u.Q,{variant:"invisible",onClick:V,leadingVisual:d.ArrowLeftIcon,size:"small",title:p.l.returnToList,className:"Header-module__Button__tTBYA",children:(0,n.jsx)(m.A,{id:"view-title",title:N,className:"Header-module__Truncate__dYvC9",children:N})})]})}):(0,n.jsxs)("div",{className:"Header-module__HeaderListContainer__Qccr_",children:[!M&&(0,n.jsx)("div",{className:"Header-module__mobileNavigationContainer__qjqAM",children:(0,n.jsx)(u.Q,{variant:"invisible",size:"small",onClick:F,trailingVisual:d.TriangleDownIcon,className:"Header-module__allViewsButton__Ahnw2",children:h.k.allViews})}),(0,n.jsx)(G,{readOnly:!S,currentViewKey:w}),!v&&(0,n.jsx)("div",{className:"Header-module__actionButtonsContainer__wQc_f",children:!M&&(0,n.jsx)(i.CreateIssueButton,{label:p.l.newIssue,navigate:E,optionConfig:{showRepositoryPicker:null===M,emojiSkinTonePreference:T?.preferred_emoji_skin_tone,showFullScreenButton:!0}})})]})})}W.displayName="ViewOptionsButton",G.displayName="HeaderContent",Y.displayName="Header"},43271(e,l,a){a.d(l,{I:()=>o});var n=a(74848),t=a(89917),i=a(46249),s=a(60182),r=a(12100);let o=()=>(0,n.jsxs)("div",{"data-testid":r.Y.headerLoading,className:"HeaderLoading-module__HeaderLoadingContainer__J6OBH",children:[(0,n.jsx)("div",{className:"HeaderLoading-module__headingContainer__venJf",children:(0,n.jsx)(i.A,{as:"h1",className:"HeaderLoading-module__Heading___PgXx",children:s.l.issues})}),(0,n.jsx)(t.Q,{height:"xl",width:"150px"})]});o.displayName="HeaderLoading"},41908(e,l,a){a.d(l,{I:()=>lf});var n,t=a(74848);let i={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"SearchBarCurrentViewFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},n={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"query",storageKey:null},{alias:null,args:null,concreteType:"Repository",kind:"LinkedField",name:"scopingRepository",plural:!1,selections:[n,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"owner",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"login",storageKey:null}],storageKey:null}],storageKey:null}],type:"Shortcutable",abstractKey:"__isShortcutable"};i.hash="9c50d63e7c8b908e123ab49c4f0f99ed";let s={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"SearchBarRepo",selections:[{alias:null,args:null,kind:"ScalarField",name:"isInOrganization",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"isOwnerEnterpriseManaged",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"nameWithOwner",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"viewerCanPush",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"viewerCanSeeIssueFields",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"isWritable",storageKey:null}],type:"Repository",abstractKey:null};s.hash="beda44dc1afe707895f6142f7a7498e3";var r=a(73537),o=a(71383),d=a(89571),c=a(32328),u=a(39423),m=a(26384),C=a(93110),g=a(50964),p=a(54590),h=a(51581),f=a(67461),y=a(7624),_=a(96540),b=a(18312),k=a(70452),x=a(76427),L=a(35782),j=a(61190),v=a(58871),S=a(70150),w=a(91717);let I="SearchBar-module__gap8__QEOFw";var N=a(78179),A=a(16522),F=a(38621),M=a(46249),T=a(26108),K=a(7771),V=a(18990),R=a(56133),E=a(94300),D=a(21373),P=a(26707);function $(e){let l,a,n=(0,A.c)(4),{isOpen:i,onClose:s,returnFocusRef:r}=e;return i?(n[0]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsx)("p",{children:"configuration ux goes here"}),n[0]=l):l=n[0],n[1]!==s||n[2]!==r?(a=(0,t.jsx)(P.l,{title:"Add Automation",onClose:s,returnFocusRef:r,children:l}),n[1]=s,n[2]=r,n[3]=a):a=n[3],a):null}$.displayName="CopilotAutomationConfigModal";let B="IssueAutomationsButton-module__section__pmIPj",O="IssueAutomationsButton-module__sectionLabel__EgOCI",Z=[{title:"Label new issues",description:"Apply area, type, and priority labels when issues are opened"},{title:"Close stale issues",description:"Auto-close issues with no activity after a warning period"}],H=[{name:"triage-agent",trigger:"Issue opened"}];function q(e){let l,a,n,i,s,r,o,d,c,u,m,C,g,p,h,f,y,b,k=(0,A.c)(30),{repoOwner:x,repoName:L}=e,[j,v]=(0,_.useState)(!1),[S,w]=(0,_.useState)(!1),I=(0,_.useId)(),N=(0,_.useRef)(null);k[0]===Symbol.for("react.memo_cache_sentinel")?(l=()=>v(!0),k[0]=l):l=k[0];let D=l;k[1]===Symbol.for("react.memo_cache_sentinel")?(a=()=>v(!1),k[1]=a):a=k[1];let P=a;k[2]===Symbol.for("react.memo_cache_sentinel")?(n=()=>{v(!1),w(!0)},k[2]=n):n=k[2];let q=n;k[3]!==I?(i={role:"dialog","aria-labelledby":I},k[3]=I,k[4]=i):i=k[4],k[5]!==I?(s=(0,t.jsx)(M.A,{as:"h3",id:I,className:"IssueAutomationsButton-module__heading__GOlXk",children:"Issue Automations"}),k[5]=I,k[6]=s):s=k[6],k[7]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)(T.K,{icon:F.PlusIcon,"aria-label":"Add automation",size:"small",variant:"invisible",onClick:q}),k[7]=r):r=k[7],k[8]!==s?(o=(0,t.jsxs)("div",{className:"IssueAutomationsButton-module__headerRow__aP4Bw",children:[s,r]}),k[8]=s,k[9]=o):o=k[9],k[10]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)("span",{className:O,children:"Suggested"}),k[10]=d):d=k[10],k[11]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsxs)("div",{className:B,children:[d,(0,t.jsx)("div",{className:"IssueAutomationsButton-module__suggestedGrid__aKwP_",children:Z.map(U)})]}),k[11]=c):c=k[11],k[12]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsxs)("div",{className:"IssueAutomationsButton-module__sectionLabelRow__u6dSG",children:[(0,t.jsx)("span",{className:O,children:"Active automations"}),(0,t.jsx)(K.A,{children:H.length})]}),k[12]=u):u=k[12],k[13]===Symbol.for("react.memo_cache_sentinel")?(m=(0,t.jsxs)("div",{className:B,children:[u,(0,t.jsx)(V.l,{children:H.map(z)})]}),k[13]=m):m=k[13];let W=`/${x}/${L}/agents`;return k[14]===Symbol.for("react.memo_cache_sentinel")?(C=(0,t.jsx)(F.ArrowRightIcon,{size:16}),k[14]=C):C=k[14],k[15]!==W?(g=(0,t.jsx)("div",{className:"IssueAutomationsButton-module__footer__fDGed",children:(0,t.jsxs)(R.A,{href:W,muted:!0,children:["View all automations ",C]})}),k[15]=W,k[16]=g):g=k[16],k[17]!==g||k[18]!==o?(p=(0,t.jsxs)("div",{className:"IssueAutomationsButton-module__overlayContent___yzMx",children:[o,c,m,g]}),k[17]=g,k[18]=o,k[19]=p):p=k[19],k[20]!==j||k[21]!==p||k[22]!==i?(h=(0,t.jsx)(E.T,{renderAnchor:Q,open:j,onOpen:D,onClose:P,width:"large",side:"outside-bottom",align:"end",overlayProps:i,children:p}),k[20]=j,k[21]=p,k[22]=i,k[23]=h):h=k[23],k[24]===Symbol.for("react.memo_cache_sentinel")?(f=()=>w(!1),k[24]=f):f=k[24],k[25]!==S?(y=(0,t.jsx)($,{isOpen:S,onClose:f,returnFocusRef:N}),k[25]=S,k[26]=y):y=k[26],k[27]!==h||k[28]!==y?(b=(0,t.jsxs)(t.Fragment,{children:[h,y]}),k[27]=h,k[28]=y,k[29]=b):b=k[29],b}function z(e){return(0,t.jsxs)(V.l.Item,{children:[(0,t.jsx)(V.l.LeadingVisual,{children:(0,t.jsx)(F.CopilotIcon,{size:16})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"IssueAutomationsButton-module__automationName__WoubR",children:e.name}),(0,t.jsx)("span",{className:"IssueAutomationsButton-module__automationTrigger__vjTDE",children:e.trigger})]})]},e.name)}function U(e){return(0,t.jsx)("div",{className:"IssueAutomationsButton-module__suggestedCard__x_uzL",children:(0,t.jsxs)("div",{className:"IssueAutomationsButton-module__suggestedCardContent__Ivong",children:[(0,t.jsx)("div",{className:"IssueAutomationsButton-module__suggestedCardIcon__mS0Nc",children:(0,t.jsx)(F.ZapIcon,{size:16})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"IssueAutomationsButton-module__suggestedCardTitle__EymJT",children:e.title}),(0,t.jsx)("span",{className:"IssueAutomationsButton-module__suggestedCardDescription__FHEzY",children:e.description})]})]})},e.title)}function Q(e){return(0,t.jsx)(D.Q,{...e,leadingVisual:F.CopilotIcon,count:H.length,children:"Automations"})}q.displayName="IssueAutomationsButton";var W=a(6877),G=a(7478),Y=a(59134),X=a(77052),J=a(72685),ee=a(34164),el=a(97286),ea=a(97665),en=a(94747),et=a(78597);function ei(e){return["triage-agent-config",e]}let es=/^---\n([\s\S]*?)\n---\n?([\s\S]*)$/,er=new Set(["on","allowed-actions"]);function eo(e){if("true"===e)return!0;if("false"===e)return!1;let l=e.match(/^\[(.*)\]$/);if(l){let e=(l[1]??"").trim();return""===e?[]:e.split(",").map(e=>ed(e.trim()))}return ed(e)}function ed(e){return e.startsWith('"')&&e.endsWith('"')?e.slice(1,-1).replace(/\\(["\\])/g,"$1"):e.startsWith("'")&&e.endsWith("'")?e.slice(1,-1):e}function ec(e){let l=["---"];for(let a of(l.push("on:"),eC)){let n=e.triggers.find(e=>e.type===a),t=n?.enabled??!1;"issue-create"===a?t&&n?.filter?(l.push(" issue-create:"),l.push(` filter: ${eu(n.filter)}`)):l.push(` issue-create: ${t}`):"issue-comment"===a&&l.push(` issue-comment: ${t}`)}for(let a of(l.push("allowed-actions:"),l.push(` add-comment: ${e.commentEnabled}`),e.actions)){if(!a.enabled){l.push(` ${a.type}:`),l.push(' blocked: ["*"]');continue}let e=a.allowed&&a.allowed.length>0,n=a.blocked&&a.blocked.length>0;e||n?(l.push(` ${a.type}:`),e&&a.allowed&&l.push(` allowed: [${a.allowed.map(e=>eu(e)).join(", ")}]`),n&&a.blocked&&l.push(` blocked: [${a.blocked.map(e=>eu(e)).join(", ")}]`)):(l.push(` ${a.type}:`),l.push(' allowed: ["*"]'))}for(let[a,n]of Object.entries(e.unknownFrontmatterKeys))l.push(function e(l,a,n){let t=" ".repeat(n);if(null==a)return`${t}${l}:`;if("boolean"==typeof a||"number"==typeof a)return`${t}${l}: ${a}`;if("string"==typeof a)return`${t}${l}: ${eu(a)}`;if(Array.isArray(a))return 0===a.length?`${t}${l}: []`:`${t}${l}: [${a.map(e=>eu(String(e))).join(", ")}]`;if("object"==typeof a){let i=Object.entries(a).map(([l,a])=>e(l,a,n+2));return`${t}${l}: ${i.join("\n")}`}return`${t}${l}: ${String(a)}`}(a,n,0));l.push("---"),e.prompt.trim()&&(l.push(""),l.push(e.prompt));let a=l.join("\n");return a.endsWith("\n")||(a+="\n"),a}function eu(e){if(e.includes(" ")||e.includes(",")||e.includes(":")||e.includes("#")||e.includes('"')||e.includes("\\")){let l=e.replace(/\\/g,"\\\\").replace(/"/g,'\\"');return`"${l}"`}return e}let em={"issue-create":{label:"On new issue",description:"Runs when a new issue is opened",supportsFilter:!0},"issue-comment":{label:"On mention",description:"Runs when @copilot is mentioned in a comment",supportsFilter:!1}},eC=["issue-create","issue-comment"],eg={"add-labels":{label:"Apply labels",description:"Add labels to issues",allowedLabel:"Allowed labels",blockedLabel:"Blocked labels"},"add-type":{label:"Set issue type",description:"Categorize issues by type",allowedLabel:"Allowed types",blockedLabel:"Blocked types"},"add-fields":{label:"Update issue fields",description:"Set priority, area, and other project fields",allowedLabel:"Allowed fields",blockedLabel:"Blocked fields"}},ep=["add-labels","add-type","add-fields"];var eh=a(20757),ef=a(23557),ey=a(59829);function e_(e){let l,a,n,i,s,r,o,d,c,u,m,C,g=(0,A.c)(31),{values:p,onChange:h,variant:f,fetchSuggestions:y,placeholder:b,emptyText:k,...x}=e,L=void 0===f?"allowed":f,[j,v]=(0,_.useState)("");g[0]===Symbol.for("react.memo_cache_sentinel")?(l=[],g[0]=l):l=g[0];let[S,w]=(0,_.useState)(l),[I,N]=(0,_.useState)(!1),F=(0,_.useRef)(null),M=(0,_.useRef)(null);g[1]!==y||g[2]!==j?(a=()=>{if(y&&j.trim())return M.current&&clearTimeout(M.current),F.current&&F.current.abort(),M.current=setTimeout(()=>{let e=new AbortController;F.current=e,(async()=>{try{let l=await y(j.trim(),e.signal);if(e.signal.aborted)return;w(l),N(!1)}catch(e){if(e instanceof DOMException&&"AbortError"===e.name)return;w([]),N(!1)}})()},200),()=>{M.current&&clearTimeout(M.current)}},n=[j,y],g[1]=y,g[2]=j,g[3]=a,g[4]=n):(a=g[3],n=g[4]),(0,_.useEffect)(a,n),g[5]!==p?(i=p.map(eL),g[5]=p,g[6]=i):i=g[6];let T=i;g[7]!==p?(s=p.map(ex),g[7]=p,g[8]=s):s=g[8];let K=s;g[9]!==h||g[10]!==p?(r=e=>{h(p.filter(l=>l!==String(e)))},g[9]=h,g[10]=p,g[11]=r):r=g[11];let V=r;g[12]!==h||g[13]!==L?(o=e=>{Array.isArray(e)&&(h(e.filter(ek).map(eb).filter(e=>!!e&&("blocked"!==L||"*"!==e))),v(""))},g[12]=h,g[13]=L,g[14]=o):o=g[14];let R=o;g[15]!==p?(d=e=>!!e&&!p.includes(e.text||e.id),g[15]=p,g[16]=d):d=g[16];let E=d;g[17]===Symbol.for("react.memo_cache_sentinel")?(c=e=>{let l=e.currentTarget.value;v(l),l.trim()?N(!0):(w([]),N(!1))},g[17]=c):c=g[17];let D=ef.A,P=ef.A;g[18]===Symbol.for("react.memo_cache_sentinel")?(u=/\s+/g,g[18]=u):u=g[18];let $=`autocomplete-tokens-${x["aria-label"].replace(u,"-")}`,B=j.trim()?void 0===k?"No results found":k:"Type to search";return g[19]!==E||g[20]!==R||g[21]!==I||g[22]!==K||g[23]!==P.Menu||g[24]!==$||g[25]!==S||g[26]!==B?(m=(0,t.jsx)(P.Menu,{"aria-labelledby":$,items:S,loading:I,selectedItemIds:K,filterFn:E,emptyStateText:B,onSelectedChange:R,selectionVariant:"multiple"}),g[19]=E,g[20]=R,g[21]=I,g[22]=K,g[23]=P.Menu,g[24]=$,g[25]=S,g[26]=B,g[27]=m):m=g[27],g[28]!==D.Overlay||g[29]!==m?(C=(0,t.jsx)(D.Overlay,{children:m}),g[28]=D.Overlay,g[29]=m,g[30]=C):C=g[30],(0,t.jsx)("div",{className:"AutocompleteTokenTagInput-module__wrapper__pRYxn",children:(0,t.jsxs)(ef.A,{children:[(0,t.jsx)(ef.A.Input,{"aria-label":x["aria-label"],as:ey.A,tokens:T,onTokenRemove:V,value:j,onChange:c,placeholder:void 0===b?"Search...":b,autoComplete:"off",size:"small"}),C]})})}function eb(e){return e.text||e.id}function ek(e){return null!=e}function ex(e){return e}function eL(e){return{id:e,text:e}}e_.displayName="AutocompleteTokenTagInput";let ej="ConfigSections-module__section__XHUVA",ev="ConfigSections-module__cardList__WrI3Y",eS="ConfigSections-module__cardRowIcon__OHs9S",ew="ConfigSections-module__cardContent__AczR3",eI="ConfigSections-module__cardContentInline__dlHJd",eN="ConfigSections-module__cardTitle__OTvwX",eA="ConfigSections-module__cardDescription__ijJhf",eF="ConfigSections-module__cardActions__cIRpM",eM="ConfigSections-module__actionCardRow__BmS6Y",eT="ConfigSections-module__advancedContent__skAlp",eK="ConfigSections-module__advancedContentOpen__q3bTP",eV="ConfigSections-module__advancedContentClosed__a5sP7",eR="ConfigSections-module__advancedContentInner__yxxc4",eE="ConfigSections-module__fieldLabel__SxIrD",eD="ConfigSections-module__validationInline__g60_1";function eP(e){let l,a,n,i,s,r=(0,A.c)(15),{title:o,titleAction:d,subtitle:c,action:u,hideTitleRow:m}=e,C=m&&"ConfigSections-module__sectionHeaderRowNoTitle__H2ddb";return r[0]!==C?(l=(0,ee.$)("ConfigSections-module__sectionHeaderRow__cUvEF",C),r[0]=C,r[1]=l):l=r[1],r[2]!==m||r[3]!==o||r[4]!==d?(a=!m&&null!=o&&(0,t.jsxs)("div",{className:"ConfigSections-module__titleArea__GPyZg",children:[(0,t.jsx)("h3",{className:"ConfigSections-module__sectionTitle__UFYeV",children:o}),d]}),r[2]=m,r[3]=o,r[4]=d,r[5]=a):a=r[5],r[6]!==c?(n=(0,t.jsx)("div",{className:"ConfigSections-module__descriptionArea__JoMPT",children:(0,t.jsx)("p",{className:"ConfigSections-module__sectionSubtitle__yMfjm",children:c})}),r[6]=c,r[7]=n):n=r[7],r[8]!==u?(i=null!=u&&(0,t.jsx)("div",{className:"ConfigSections-module__action__Eg8VU",children:u}),r[8]=u,r[9]=i):i=r[9],r[10]!==l||r[11]!==a||r[12]!==n||r[13]!==i?(s=(0,t.jsxs)("div",{className:l,children:[a,n,i]}),r[10]=l,r[11]=a,r[12]=n,r[13]=i,r[14]=s):s=r[14],s}function e$(e){let l,a,n,i,s,r,o,d,c,u,m,C,g,p,h=(0,A.c)(59),{actions:f,commentEnabled:y,onChange:b,onCommentEnabledChange:k,repoOwner:x,repoName:L}=e;if(h[0]!==L||h[1]!==x){let e;e=`${x}/${L}`,l=async(l,a)=>{let n=`/_filter/labels?q=${encodeURIComponent(l)}&repo=${encodeURIComponent(e)}`,i=await (0,et.lS)(n,{signal:a});return i.ok?((await i.json()).labels??[]).map(e=>{var l;let a,n;return{id:e.name,text:e.name,color:e.color,description:e.description,leadingVisual:e.color?(a=(l=e.color).startsWith("#")?l:`#${l}`,(n=()=>{let e,l=(0,A.c)(1);return l[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("span",{className:"AutocompleteTokenTagInput-module__colorCircle__byARA",style:{backgroundColor:a}}),l[0]=e):e=l[0],e}).displayName="ColorCircle",n):void 0}}):[]},h[0]=L,h[1]=x,h[2]=l}else l=h[2];if(h[3]!==L||h[4]!==x?(a=async(e,l)=>{let a=`/_ghui/item-pickers/issue_types?owner=${encodeURIComponent(x)}&repo=${encodeURIComponent(L)}`,n=await (0,et.lS)(a,{signal:l});if(!n.ok)return[];let t=await n.json();return(t?.data?.repository?.issueTypes?.edges??[]).filter(e=>!1!==e.node.isEnabled).filter(l=>l.node.name.toLowerCase().includes(e.toLowerCase())).map(e=>({id:e.node.name,text:e.node.name,description:e.node.description}))},h[3]=L,h[4]=x,h[5]=a):a=h[5],h[6]!==L||h[7]!==x){let e;e=`${x}/${L}`,n=async(l,a)=>{let n=`/_filter/issue_fields?q=${encodeURIComponent(l)}&repo=${encodeURIComponent(e)}`,t=await (0,et.lS)(n,{signal:a});return t.ok?((await t.json()).issue_fields??[]).map(e=>({id:e.name,text:e.name,description:e.description})):[]},h[6]=L,h[7]=x,h[8]=n}else n=h[8];h[9]!==l||h[10]!==a||h[11]!==n?(i={"add-labels":l,"add-type":a,"add-fields":n},h[9]=l,h[10]=a,h[11]=n,h[12]=i):i=h[12];let j=i;h[13]===Symbol.for("react.memo_cache_sentinel")?(s={"add-labels":{placeholder:"Search labels...",emptyText:"No labels found"},"add-type":{placeholder:"Search types...",emptyText:"No types found"},"add-fields":{placeholder:"Search fields...",emptyText:"No fields found"}},h[13]=s):s=h[13];let v=s;h[14]!==f?(r=()=>f.find(eq)?.type??null,h[14]=f,h[15]=r):r=h[15];let[S,w]=(0,_.useState)(r);h[16]!==f?(o=new Set(f.filter(eH).map(eZ)),h[16]=f,h[17]=o):o=h[17];let I=o;h[18]!==I?(d=ep.filter(e=>!I.has(e)),h[18]=I,h[19]=d):d=h[19];let N=d,M=N.length>0||!y;h[20]!==f||h[21]!==b?(c=e=>{b(f.map(l=>l.type===e?{...l,enabled:!0}:l))},h[20]=f,h[21]=b,h[22]=c):c=h[22];let K=c;h[23]!==f||h[24]!==b?(u=e=>{b(f.map(l=>l.type===e?{...l,enabled:!1,allowed:void 0,blocked:void 0}:l)),w(l=>l===e?null:l)},h[23]=f,h[24]=b,h[25]=u):u=h[25];let R=u;h[26]!==f||h[27]!==b?(m=(e,l)=>{b(f.map(a=>a.type===e?{...a,...l}:a))},h[26]=f,h[27]=b,h[28]=m):m=h[28];let E=m;h[29]===Symbol.for("react.memo_cache_sentinel")?(C=e=>{w(l=>l===e?null:e)},h[29]=C):C=h[29];let P=C;h[30]!==f||h[31]!==y?(g=y||f.some(eO),h[30]=f,h[31]=y,h[32]=g):g=h[32];let $=g;if(h[33]!==f||h[34]!==K||h[35]!==$||h[36]!==N||h[37]!==M||h[38]!==y||h[39]!==S||h[40]!==j||h[41]!==k||h[42]!==R||h[43]!==E){let e,l,a,n,i,s=f.filter(eB),r=y||s.length>0;h[45]!==$?(e=!$&&(0,t.jsx)("span",{className:eD,children:" Select at least one action."}),h[45]=$,h[46]=e):e=h[46],h[47]!==e?(l=(0,t.jsxs)(t.Fragment,{children:["Configure the actions the agent can take.",e]}),h[47]=e,h[48]=l):l=h[48],h[49]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)(eh.W.Anchor,{children:(0,t.jsx)(T.K,{icon:F.PlusIcon,"aria-label":"Add action",size:"small","data-testid":"add-action-button",variant:"invisible"})}),h[49]=a):a=h[49],h[50]!==K||h[51]!==N||h[52]!==M||h[53]!==y||h[54]!==k?(n=(0,t.jsxs)(eh.W,{children:[a,(0,t.jsx)(eh.W.Overlay,{children:(0,t.jsx)(V.l,{children:M?(0,t.jsxs)(t.Fragment,{children:[!y&&(0,t.jsxs)(V.l.Item,{onSelect:()=>k(!0),"data-testid":"add-action-post-comment",children:["Post comment",(0,t.jsx)(V.l.Description,{variant:"block",children:"Post comments on issues"})]}),N.map(e=>{let l=eg[e];return(0,t.jsxs)(V.l.Item,{onSelect:()=>K(e),"data-testid":`add-action-${e}`,children:[l.label,(0,t.jsx)(V.l.Description,{variant:"block",children:l.description})]},e)})]}):(0,t.jsx)(V.l.Item,{disabled:!0,"data-testid":"no-actions-available",children:"All actions added"})})})]}),h[50]=K,h[51]=N,h[52]=M,h[53]=y,h[54]=k,h[55]=n):n=h[55],h[56]!==l||h[57]!==n?(i=(0,t.jsx)(eP,{title:"Actions",subtitle:l,action:n}),h[56]=l,h[57]=n,h[58]=i):i=h[58],p=(0,t.jsxs)("div",{className:ej,children:[i,r&&(0,t.jsxs)("div",{className:ev,children:[y&&(0,t.jsxs)("div",{className:eM,"data-testid":"action-post-comment",children:[(0,t.jsxs)("div",{className:(0,ee.$)(ew,eI),children:[(0,t.jsx)("p",{className:eN,id:"action-label-add-comment",children:"Post comment"}),(0,t.jsx)("p",{className:eA,children:"Post comments on issues"})]}),(0,t.jsx)("div",{className:eF,children:(0,t.jsx)(T.K,{icon:F.TrashIcon,"aria-label":"Remove Post comment",variant:"invisible",size:"small",onClick:()=>k(!1),"data-testid":"remove-action-post-comment"})})]}),s.map(e=>{let l=eg[e.type],a=S===e.type;return(0,t.jsxs)("div",{className:eM,"data-testid":`action-${e.type}`,children:[(0,t.jsxs)("div",{className:(0,ee.$)(ew,eI),children:[(0,t.jsx)("p",{className:eN,id:`action-label-${e.type}`,children:l.label}),(0,t.jsx)("p",{className:eA,children:l.description})]}),(0,t.jsxs)("div",{className:eF,children:[(0,t.jsx)(D.Q,{variant:"invisible",size:"small",onClick:()=>P(e.type),"aria-expanded":a,"data-testid":`action-advanced-${e.type}`,trailingVisual:a?F.ChevronDownIcon:F.ChevronRightIcon,children:"Advanced"}),(0,t.jsx)(T.K,{icon:F.TrashIcon,"aria-label":`Remove ${l.label}`,variant:"invisible",size:"small",onClick:()=>R(e.type),"data-testid":`remove-action-${e.type}`})]}),(0,t.jsx)("div",{className:`${eT} ${a?eK:eV}`,children:(0,t.jsxs)("div",{className:eR,children:[l.allowedLabel&&(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:eE,children:l.allowedLabel}),(0,t.jsx)(e_,{values:e.allowed??[],onChange:l=>E(e.type,{allowed:l}),variant:"allowed","aria-label":l.allowedLabel,fetchSuggestions:j[e.type],placeholder:v[e.type].placeholder,emptyText:v[e.type].emptyText})]}),l.blockedLabel&&(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:eE,children:l.blockedLabel}),(0,t.jsx)(e_,{values:e.blocked??[],onChange:l=>E(e.type,{blocked:l}),variant:"blocked","aria-label":l.blockedLabel,fetchSuggestions:j[e.type],placeholder:v[e.type].placeholder,emptyText:v[e.type].emptyText})]})]})})]},e.type)})]})]}),h[33]=f,h[34]=K,h[35]=$,h[36]=N,h[37]=M,h[38]=y,h[39]=S,h[40]=j,h[41]=k,h[42]=R,h[43]=E,h[44]=p}else p=h[44];return p}function eB(e){return e.enabled}function eO(e){return e.enabled}function eZ(e){return e.type}function eH(e){return e.enabled}function eq(e){return e.enabled&&(e.allowed&&e.allowed.length>0||e.blocked&&e.blocked.length>0)}eP.displayName="SectionHeader",e$.displayName="ActionsSection";var ez=a(65820);function eU(e){let l,a,n,i,s,r,o,d,c,u,m,C,g,p=(0,A.c)(41),{prompt:h,onChange:f,showValidation:b,isExpanded:k,onToggleExpand:x,defaultPrompt:L}=e,[j,v]=(0,_.useState)(!1);p[0]!==L||p[1]!==h?(l=void 0!==L&&h.trim()===L.trim(),p[0]=L,p[1]=h,p[2]=l):l=p[2];let S=l;p[3]!==L||p[4]!==f?(a=()=>{void 0!==L&&f(L),v(!1)},p[3]=L,p[4]=f,p[5]=a):a=p[5];let w=a;p[6]!==L||p[7]!==S?(n=void 0===L||S?null:(0,t.jsx)(R.A,{as:"button",type:"button",onClick:()=>v(!0),"data-testid":"reset-prompt-button",className:"ConfigSections-module__resetLink__Yb6AN",children:"Reset to default"}),p[6]=L,p[7]=S,p[8]=n):n=p[8];let I=n,N=k&&"ConfigSections-module__sectionExpanded__vlRFo";p[9]!==N?(i=(0,ee.$)(ej,N),p[9]=N,p[10]=i):i=p[10],p[11]!==k||p[12]!==x||p[13]!==I?(s=!k&&(0,t.jsx)(eP,{title:"Prompt",subtitle:"High-level instructions \u2014 set overall goals, tone, and guardrails.",action:(0,t.jsxs)("div",{className:"ConfigSections-module__actionStack__Z6Pqt",children:[(0,t.jsx)(T.K,{icon:F.ScreenFullIcon,"aria-label":"Expand prompt",variant:"invisible",size:"small",onClick:x,"data-testid":"prompt-expand-button"}),I]})}),p[11]=k,p[12]=x,p[13]=I,p[14]=s):s=p[14],p[15]!==k||p[16]!==I?(r=k&&(0,t.jsx)(eP,{hideTitleRow:!0,subtitle:"High-level instructions \u2014 set overall goals, tone, and guardrails.",action:I}),p[15]=k,p[16]=I,p[17]=r):r=p[17],p[18]!==h||p[19]!==b?(o=b&&!h.trim()&&(0,t.jsx)("p",{className:"ConfigSections-module__validationError__nW43P",children:"Prompt instructions are required."}),p[18]=h,p[19]=b,p[20]=o):o=p[20],p[21]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)(y.A.Label,{visuallyHidden:!0,children:"Prompt instructions"}),p[21]=d):d=p[21];let M=k&&"ConfigSections-module__promptTextareaExpanded__tPGHL";p[22]!==M?(c=(0,ee.$)("ConfigSections-module__promptTextarea__eAkKs",M),p[22]=M,p[23]=c):c=p[23];let K=k?25:7;return p[24]!==f?(u=e=>f(e.target.value),p[24]=f,p[25]=u):u=p[25],p[26]!==h||p[27]!==c||p[28]!==K||p[29]!==u?(m=(0,t.jsxs)(y.A,{children:[d,(0,t.jsx)(ez.Ay,{className:c,rows:K,value:h,onChange:u,"aria-label":"Prompt instructions","data-testid":"prompt-textarea",resize:"none",block:!0})]}),p[26]=h,p[27]=c,p[28]=K,p[29]=u,p[30]=m):m=p[30],p[31]!==w||p[32]!==j?(C=j&&(0,t.jsx)(J.K,{title:"Reset prompt to default?",onClose:e=>{"confirm"===e?w():v(!1)},confirmButtonContent:"Reset",confirmButtonType:"danger",cancelButtonContent:"Cancel",children:"This will replace your current prompt with the default template. This change won't be saved until you commit."}),p[31]=w,p[32]=j,p[33]=C):C=p[33],p[34]!==m||p[35]!==C||p[36]!==i||p[37]!==s||p[38]!==r||p[39]!==o?(g=(0,t.jsxs)("div",{className:i,children:[s,r,o,m,C]}),p[34]=m,p[35]=C,p[36]=i,p[37]=s,p[38]=r,p[39]=o,p[40]=g):g=p[40],g}eU.displayName="PromptSection";var eQ=a(75174);let eW={"issue-create":(0,t.jsx)(F.IssueOpenedIcon,{size:16,className:eS}),"issue-comment":(0,t.jsx)(F.CommentIcon,{size:16,className:eS})};function eG(e){let l,a,n,i,s,r,o,d,c,u=(0,A.c)(26),{triggers:m,onChange:C}=e;u[0]!==m?(l=()=>new Set(m.filter(eJ).map(eX)),u[0]=m,u[1]=l):l=u[1];let[g,p]=(0,_.useState)(l);u[2]!==C||u[3]!==m?(a=e=>{C(m.map(l=>l.type!==e?l:l.enabled?{...l,enabled:!1,filter:void 0}:{...l,enabled:!0})),m.find(l=>l.type===e)?.enabled&&p(l=>{let a=new Set(l);return a.delete(e),a})},u[2]=C,u[3]=m,u[4]=a):a=u[4];let h=a;u[5]!==C||u[6]!==m?(n=(e,l)=>{C(m.map(a=>a.type===e?{...a,filter:l||void 0}:a))},u[5]=C,u[6]=m,u[7]=n):n=u[7];let f=n;u[8]!==C||u[9]!==m?(i=e=>{p(l=>{let a=new Set(l);return a.has(e)?(a.delete(e),C(m.map(l=>l.type===e?{...l,filter:void 0}:l))):a.add(e),a})},u[8]=C,u[9]=m,u[10]=i):i=u[10];let y=i;return u[11]!==m?(s=!m.some(eY)&&(0,t.jsx)("span",{className:eD,children:" Select at least one trigger."}),u[11]=m,u[12]=s):s=u[12],u[13]!==s?(r=(0,t.jsx)(eP,{title:"Triggers",subtitle:(0,t.jsxs)(t.Fragment,{children:["Events that cause this agent to run.",s]})}),u[13]=s,u[14]=r):r=u[14],u[15]!==g||u[16]!==y||u[17]!==h||u[18]!==m||u[19]!==f?(o=eC.map(e=>{let l=em[e],a=m.find(l=>l.type===e),n=a?.enabled??!1,i=g.has(e);return(0,t.jsxs)("div",{className:"ConfigSections-module__cardRow__IVeLr","data-testid":`trigger-${e}`,children:[eW[e],(0,t.jsxs)("div",{className:ew,children:[(0,t.jsx)("p",{className:eN,id:`trigger-label-${e}`,children:l.label}),(0,t.jsx)("p",{className:eA,children:l.description})]}),(0,t.jsxs)("div",{className:eF,children:[n&&l.supportsFilter&&(0,t.jsxs)(D.Q,{variant:"invisible",size:"small",onClick:()=>y(e),"aria-expanded":i,"data-testid":`trigger-advanced-${e}`,children:["Advanced",i?(0,t.jsx)(F.ChevronDownIcon,{size:16}):(0,t.jsx)(F.ChevronRightIcon,{size:16})]}),(0,t.jsx)(eQ.A,{checked:n,onClick:()=>h(e),"aria-labelledby":`trigger-label-${e}`,size:"small"})]}),n&&l.supportsFilter&&(0,t.jsx)("div",{className:`${eT} ${i?eK:eV}`,children:(0,t.jsxs)("div",{className:eR,children:[(0,t.jsxs)("p",{className:"ConfigSections-module__filterHelp__miFaA",children:["Filter which issues trigger this action. Use ",(0,t.jsx)("code",{children:"-"})," to exclude."," ",(0,t.jsx)("a",{href:"https://docs.github.com/en/issues/tracking-your-work-with-issues/using-issues/filtering-and-searching-issues-and-pull-requests",target:"_blank",rel:"noopener noreferrer",children:"Search syntax docs"})]}),(0,t.jsx)("input",{type:"text",className:"ConfigSections-module__filterInput__Bp_ZC",value:a?.filter??"",onChange:l=>f(e,l.target.value),placeholder:"e.g. -label:do_not_triage -has:assignee","aria-label":`Filter query for ${em[e].label}`,"data-testid":`trigger-filter-${e}`})]})})]},e)}),u[15]=g,u[16]=y,u[17]=h,u[18]=m,u[19]=f,u[20]=o):o=u[20],u[21]!==o?(d=(0,t.jsx)("div",{className:ev,children:o}),u[21]=o,u[22]=d):d=u[22],u[23]!==r||u[24]!==d?(c=(0,t.jsxs)("div",{className:ej,children:[r,d]}),u[23]=r,u[24]=d,u[25]=c):c=u[25],c}function eY(e){return e.enabled}function eX(e){return e.type}function eJ(e){return e.enabled&&e.filter}eG.displayName="TriggersSection";var e1=a(23666);function e2({repoOwner:e,repoName:l,defaultBranch:a,configPath:n}){return(0,e1.Nyd)({owner:e,repo:l,commitish:a,filePath:n})}let e3=(0,_.lazy)(async()=>({default:(await Promise.all([a.e("51210"),a.e("28663"),a.e("99239")]).then(a.bind(a,74570))).WebCommitDialog}));function e0({isOpen:e,onClose:l,onSaved:a,repoOwner:n,repoName:i}){var s,r,o,d;let c,u,m,C,g,p,h,f,y,b,k,x,{data:L,isLoading:j,isError:v}=(C=(0,A.c)(8),g=`/${n}/${i}/triage-agent/config`,C[0]!==g?(c=ei(g),C[0]=g,C[1]=c):c=C[1],C[2]!==g?(u=async()=>{let e=await (0,et.lS)(g);if(!e.ok)throw Error("Failed to fetch triage agent config");return e.json()},C[2]=g,C[3]=u):u=C[3],C[4]!==e||C[5]!==c||C[6]!==u?(m={queryKey:c,queryFn:u,enabled:e},C[4]=e,C[5]=c,C[6]=u,C[7]=m):m=C[7],(0,el.I)(m)),{mutateAsync:S}=(y=(0,A.c)(9),b=(0,ea.jE)(),k=`/${n}/${i}/triage-agent/config`,x=`/${n}/${i}/triage-agent`,y[0]!==k?(p=async e=>{let l=await (0,et.lS)(k,{method:"POST",body:e});if(!l.ok){let e={};try{e=await l.json()}catch{}throw Error(e?.error||"Failed to save triage agent config")}return l.json()},y[0]=k,y[1]=p):p=y[1],y[2]!==k||y[3]!==b||y[4]!==x?(h=()=>{b.invalidateQueries({queryKey:ei(k)}),b.invalidateQueries({queryKey:["triage-agent-status",x]})},y[2]=k,y[3]=b,y[4]=x,y[5]=h):h=y[5],y[6]!==p||y[7]!==h?(f={mutationFn:p,onSuccess:h},y[6]=p,y[7]=h,y[8]=f):f=y[8],(0,en.n)(f)),[w,I]=(0,_.useState)(null),[N,M]=(0,_.useState)(!1),[K,V]=(0,_.useState)(null),[R,E]=(0,_.useState)(!1),[$,B]=(0,_.useState)("edit"),[O,Z]=(0,_.useState)(!1),[H,q]=(0,_.useState)(!1),[z,U]=(0,_.useState)("closed"),[Q,W]=(0,_.useState)(""),[eu,em]=(0,_.useState)(""),[eC,eg]=(0,_.useState)(!1),[ep,eh]=(0,_.useState)(void 0),[ef,ey]=(0,_.useState)(""),[e_,eb]=(0,_.useState)(""),[ek,ex]=(0,_.useState)(!1),eL=(0,_.useRef)(null);if(L&&!R){let e=function(e){let l,a=e.replace(/\r\n/g,"\n").trim();if(!a)return{ok:!1,raw:e,error:"Empty content"};let n=a.match(es);if(!n)return{ok:!1,raw:e,error:"No valid frontmatter found"};let t=n[1]??"",i=n[2]??"";try{l=function(e){let l={},a=e.split("\n"),n=0;for(;n""!==e.trim());if(!a)return{};if(a.trim().startsWith("- "))return l.filter(e=>e.trim().startsWith("- ")).map(e=>ed(e.trim().slice(2).trim()));let n={},t=0;for(;tr)o.push(e),t++;else break}n[s]=e(o)}}return n}(e)}}return Object.keys(l).length>0?l:null}(t)}catch{return{ok:!1,raw:e,error:"Invalid YAML in frontmatter"}}if(!l)return{ok:!1,raw:e,error:"Empty frontmatter"};let s=function(e){let l=e&&"object"==typeof e?e:{},a=l["issue-create"],n=!0===a||"object"==typeof a&&null!==a,t={type:"issue-create",enabled:n};if(n&&a&&"object"==typeof a&&"filter"in a){let e=a.filter;"string"==typeof e&&""!==e.trim()&&(t.filter=e)}return[t,{type:"issue-comment",enabled:!0===l["issue-comment"]}]}(l.on),{actions:r,commentEnabled:o}=function(e){if(Array.isArray(e))return 1===e.length&&"*"===e[0]?{commentEnabled:!0,actions:[{type:"add-labels",enabled:!0},{type:"add-type",enabled:!0},{type:"add-fields",enabled:!0}]}:{commentEnabled:!1,actions:[{type:"add-labels",enabled:!1},{type:"add-type",enabled:!1},{type:"add-fields",enabled:!1}]};if(!e||"object"!=typeof e)return{commentEnabled:!0,actions:[{type:"add-labels",enabled:!1},{type:"add-type",enabled:!1},{type:"add-fields",enabled:!1}]};let l=!("add-comment"in e)||!0===e["add-comment"],a=[];for(let l of["add-labels","add-type","add-fields"]){let n=e[l];if(void 0===n){a.push({type:l,enabled:!1});continue}let t={type:l,enabled:!0};if(n&&"object"==typeof n&&!Array.isArray(n)){if("blocked"in n){let e=n.blocked;Array.isArray(e)&&(1===e.length&&"*"===e[0]?t.enabled=!1:t.blocked=e.map(String))}if("allowed"in n){let e=n.allowed;Array.isArray(e)&&(1!==e.length||"*"!==e[0])&&(t.allowed=e.map(String))}}a.push(t)}return{commentEnabled:l,actions:a}}(l["allowed-actions"]),d={};for(let e of Object.keys(l))er.has(e)||(d[e]=l[e]);return{ok:!0,state:{triggers:s,commentEnabled:o,prompt:i.replace(/^\n+/,""),actions:r,unknownFrontmatterKeys:d}}}(L.content);if(e.ok)I(e.state),V(e.state);else{let e,l={triggers:[{type:"issue-create",enabled:!0},{type:"issue-comment",enabled:!0}],commentEnabled:!0,prompt:(e=L.content.match(/^---[\s\S]*?\n---\n?([\s\S]*)$/))?(e[1]??"").replace(/^\n+/,""):"",actions:[{type:"add-labels",enabled:!0},{type:"add-type",enabled:!0},{type:"add-fields",enabled:!0}],unknownFrontmatterKeys:{}};I(l),V(l),L.exists&&M(!0)}E(!0)}let ej=w?ec(w):"",ev=L?.commit_info.can_commit_status!=="allowed"||eC,eS=ef||L?.commit_info.default_new_branch_name||"",ew=null!==w&&null!==K&&ec(w)!==ec(K),eI=(0,_.useCallback)(()=>{I(null),M(!1),V(null),E(!1),B("edit"),Z(!1),q(!1),U("closed"),W(""),em(""),eg(!1),eh(void 0),ey(""),eb(""),ex(!1)},[]),eN=(0,_.useCallback)(()=>{ew?q(!0):(eI(),l())},[ew,eI,l]),eA=(0,_.useCallback)(()=>{q(!1),eI(),l()},[eI,l]),eF=(0,_.useCallback)(()=>{!w||w.triggers.some(e=>e.enabled)&&w.prompt.trim()?(B("commit"),U("pending")):Z(!0)},[w]),eM=(0,_.useCallback)(e=>{if("closed"===e){B("edit"),U("closed"),eb("");return}U(e)},[B,U,eb]),eT=(0,_.useCallback)(async()=>{U("saving"),eb("");try{let e=await S({content:ej,message:Q,description:eu,commit_choice:ev?"quick-pull":"direct",target_branch:ev?eS:void 0,author_email:ep,blob_oid:L?.blob_oid});U("saved"),eI(),a(),e?.pull_request_url&&(window.location.href=e.pull_request_url)}catch(e){U("pending"),eb(e instanceof Error?e.message:"Failed to save configuration")}},[ej,Q,eu,ev,eS,ep,L,S,eI,a]);if(!e)return null;if("commit"===$&&L){let{commit_info:e}=L,l=(s=e.can_commit_status,r=e.author_emails,o=e.default_email,d=e.default_new_branch_name,{canCommitStatus:s,authorEmails:r,defaultEmail:o,defaultNewBranchName:d,commitOid:e.commit_oid,dcoSignoffEnabled:e.dco_signoff_enabled,forkedRepo:void 0,lockedOnMigration:!1,pr:"",repoHeadEmpty:!1,saveUrl:"",shouldFork:!1,shouldUpdate:!1,suggestionsUrlEmoji:"",suggestionsUrlIssue:"",suggestionsUrlMention:""}),a=L.exists?"Update triage agent configuration":"Configure triage agent",n={[L.config_path]:L.exists?"M":"A"};return(0,t.jsx)(_.Suspense,{fallback:null,children:(0,t.jsx)(e3,{message:Q,setMessage:W,description:eu,setDescription:em,isQuickPull:ev,setIsQuickPull:eg,prTargetBranch:eS,setPRTargetBranch:ey,errorMessage:e_,dialogState:z,setDialogState:eM,setAuthorEmail:eh,onSave:eT,refName:L.default_branch,webCommitInfo:l,helpUrl:"https://docs.github.com/articles/about-protected-branches",placeholderMessage:a,fileStatuses:n,returnFocusRef:eL})})}return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(P.l,{title:"Configure triage agent",width:"xlarge",onClose:eN,renderHeader:({dialogLabelId:e,onClose:l})=>(0,t.jsx)(P.l.Header,{children:(0,t.jsxs)("div",{className:"TriageAgentConfigModal-module__headerInner__gEyx3",children:[(0,t.jsxs)("div",{className:(0,ee.$)("TriageAgentConfigModal-module__headerContent__mMpko",!ek&&"TriageAgentConfigModal-module__headerContentDefault__MjAvc"),children:[ek&&(0,t.jsx)(T.K,{icon:F.ArrowLeftIcon,"aria-label":"Back to configuration",variant:"invisible",size:"small",onClick:()=>ex(!1),"data-testid":"prompt-back-button"}),(0,t.jsx)(P.l.Title,{id:e,children:ek?"Update prompt":"Configure triage agent"})]}),(0,t.jsx)(P.l.CloseButton,{onClose:()=>l("close-button")})]})}),renderBody:()=>(0,t.jsxs)("div",{className:(0,ee.$)("TriageAgentConfigModal-module__dialogBody__fbutk",ek&&"TriageAgentConfigModal-module__dialogBodyExpanded__NVLjL"),"data-testid":"config-modal-body",children:[j&&(0,t.jsx)("div",{className:"TriageAgentConfigModal-module__spinnerContainer__FFU1q",children:(0,t.jsx)(G.A,{"aria-label":"Loading configuration"})}),v&&(0,t.jsx)(Y.A,{variant:"danger",children:"Failed to load triage agent configuration."}),!j&&!v&&w&&(0,t.jsxs)(t.Fragment,{children:[N&&L&&!ek&&(0,t.jsx)(X.l,{variant:"warning",onDismiss:()=>M(!1),title:"Invalid front matter",description:(0,t.jsxs)("span",{children:["The"," ",(0,t.jsx)("a",{href:`/${n}/${i}/blob/${L.default_branch}/${L.config_path}`,target:"_blank",rel:"noreferrer",children:"previous configuration"})," ","had invalid front matter. We've reset it to the default."]})}),!ek&&(0,t.jsx)(eG,{triggers:w.triggers,onChange:e=>I({...w,triggers:e})}),(0,t.jsx)(eU,{prompt:w.prompt,onChange:e=>I({...w,prompt:e}),showValidation:O,isExpanded:ek,onToggleExpand:()=>ex(e=>!e),defaultPrompt:L?.default_prompt}),!ek&&(0,t.jsx)(e$,{actions:w.actions,commentEnabled:w.commentEnabled,onChange:e=>I({...w,actions:e}),onCommentEnabledChange:e=>I({...w,commentEnabled:e}),repoOwner:n,repoName:i})]})]}),children:(0,t.jsxs)(P.l.Footer,{className:"TriageAgentConfigModal-module__footerBar__zlpjV",children:[L&&(0,t.jsxs)("span",{className:"TriageAgentConfigModal-module__filePath__Go7R6",children:["Editing"," ",(0,t.jsx)("a",{href:e2({repoOwner:n,repoName:i,defaultBranch:L.default_branch,configPath:L.config_path}),className:"TriageAgentConfigModal-module__configPath__QHgRH",target:"_blank",rel:"noreferrer",children:L.config_path})]}),(0,t.jsxs)("div",{className:"TriageAgentConfigModal-module__actionButtons__qYVqh",children:[(0,t.jsx)(D.Q,{onClick:eN,children:"Cancel"}),(0,t.jsx)(D.Q,{ref:eL,variant:"primary",onClick:eF,disabled:j||v||!ej.trim(),"data-testid":"save-changes-button",children:"Commit changes"})]})]})}),H&&(0,t.jsx)(J.K,{title:"Unsaved changes",onClose:e=>{"confirm"===e?eA():q(!1)},confirmButtonContent:"Discard",confirmButtonType:"danger",cancelButtonContent:"Keep editing",children:"You have unsaved changes. Discard changes?"})]})}function e4(e){let l=(0,A.c)(9),{state:a,ariaLabel:n,isError:i,triageEnabled:s}=e;if(i){let e;return l[0]!==n?(e=(0,t.jsx)(F.DotFillIcon,{size:12,"aria-label":n}),l[0]=n,l[1]=e):e=l[1],e}switch(a){case"inactive":{let e;return l[2]!==n?(e=(0,t.jsx)(F.CircleIcon,{size:12,"aria-label":n}),l[2]=n,l[3]=e):e=l[3],e}case"active":{let e;return l[4]!==n?(e=(0,t.jsx)(F.DotFillIcon,{size:16,"aria-label":n}),l[4]=n,l[5]=e):e=l[5],e}case"warning":{let e;return l[6]!==n||l[7]!==s?(e=s?(0,t.jsx)(F.AlertIcon,{size:16,"aria-label":n}):(0,t.jsx)(F.CircleIcon,{size:12,"aria-label":n}),l[6]=n,l[7]=s,l[8]=e):e=l[8],e}}}e3.displayName="WebCommitDialog",e0.displayName="TriageAgentConfigModal",e4.displayName="TriageAgentStatusIcon";var e7=a(4925);let e5="TriageAgentOverlay-module__overlayContainer__MUGlp",e6="TriageAgentOverlay-module__header___mH3C",e9="TriageAgentOverlay-module__title__E6sWl";function e8(e){return["triage-agent-status",e]}class le extends Error{status;error;constructor(e,l,a){super(e),this.name="TriageAgentUpdateError",this.status=l,this.error=a}}function ll(e,l){let a,n,t,i,s=(0,A.c)(11),r=`/${e}/${l}/triage-agent`;s[0]!==r?(a=e8(r),s[0]=r,s[1]=a):a=s[1],s[2]!==r?(n=async()=>{let e=await (0,et.lS)(r);if(!e.ok)throw Error("Failed to fetch triage agent status");return e.json()},s[2]=r,s[3]=n):n=s[3],s[4]!==a||s[5]!==n?(t={queryKey:a,queryFn:n,gcTime:0},s[4]=a,s[5]=n,s[6]=t):t=s[6];let{data:o,isLoading:d,isError:c}=(0,el.I)(t);return s[7]!==o||s[8]!==c||s[9]!==d?(i={data:o,isLoading:d,isError:c},s[7]=o,s[8]=c,s[9]=d,s[10]=i):i=s[10],i}function la(e){return e?{...e,config_exists:!1,config_valid:null,enabled:!1}:e}var ln=a(2818);function lt(e){let l,a,n,i,s,r,o,d,c,u,m,C,g,p=(0,A.c)(49),{repoOwner:h,repoName:f,onClose:y,onOpenConfigModal:_,viewerCanConfigureTriageAgent:b,cannotConfigureReason:k,configEditorEnabled:x}=e,{data:L,isLoading:j,isError:v}=ll(h,f),{updateStatus:S,isPending:w}=function(e,l){let a,n,t,i,s,r,o=(0,A.c)(17),d=(0,ea.jE)(),c=`/${e}/${l}/triage-agent`;o[0]!==c?(a=async e=>{let l=await (0,et.lS)(c,{method:"PATCH",body:{enabled:e}});if(!l.ok){let e={};try{e=await l.json()}catch{}throw new le(e?.message??"Failed to update triage agent status",l.status,e?.error)}return l.json()},o[0]=c,o[1]=a):a=o[1],o[2]!==c||o[3]!==d?(n=async e=>{await d.cancelQueries({queryKey:e8(c)});let l=d.getQueryData(e8(c));return d.setQueryData(e8(c),l=>l?{...l,enabled:e}:l),{previousData:l}},t=(e,l,a)=>{a?.previousData&&d.setQueryData(e8(c),a.previousData),e instanceof le&&422===e.status&&"config_required"===e.error&&d.setQueryData(e8(c),la)},i=()=>{d.invalidateQueries({queryKey:e8(c)})},o[2]=c,o[3]=d,o[4]=n,o[5]=t,o[6]=i):(n=o[4],t=o[5],i=o[6]),o[7]!==a||o[8]!==n||o[9]!==t||o[10]!==i?(s={mutationFn:a,onMutate:n,onError:t,onSettled:i},o[7]=a,o[8]=n,o[9]=t,o[10]=i,o[11]=s):s=o[11];let{mutate:u,isPending:m,isError:C,reset:g}=(0,en.n)(s);return o[12]!==C||o[13]!==m||o[14]!==u||o[15]!==g?(r={updateStatus:u,isPending:m,isError:C,reset:g},o[12]=C,o[13]=m,o[14]=u,o[15]=g,o[16]=r):r=o[16],r}(h,f);if(j){let e;return p[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("div",{className:e5,children:(0,t.jsx)("div",{className:"TriageAgentOverlay-module__loadingContainer__ICRSU",children:(0,t.jsx)(G.A,{size:"medium"})})}),p[0]=e):e=p[0],e}if(v||!L){let e;return p[1]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsxs)("div",{className:e5,children:[(0,t.jsxs)("div",{className:e6,children:[(0,t.jsx)("span",{className:e9,children:ln.K9}),(0,t.jsx)(e7.A,{variant:"success",children:"Preview"})]}),(0,t.jsx)("div",{className:"TriageAgentOverlay-module__errorMessage__W0CBs",children:"Failed to load triage agent settings."})]}),p[1]=e):e=p[1],e}p[2]!==L.config_path||p[3]!==L.default_branch||p[4]!==f||p[5]!==h?(l=e2({repoOwner:h,repoName:f,defaultBranch:L.default_branch,configPath:L.config_path}),p[2]=L.config_path,p[3]=L.default_branch,p[4]=f,p[5]=h,p[6]=l):l=p[6];let I=l;p[7]!==L.default_branch||p[8]!==f||p[9]!==h?(a=function({repoOwner:e,repoName:l,defaultBranch:a}){return`/${e}/${l}/new/${a}?triage-agent=1`}({repoOwner:h,repoName:f,defaultBranch:L.default_branch}),p[7]=L.default_branch,p[8]=f,p[9]=h,p[10]=a):a=p[10];let N=a,M=L.config_exists,T=!1===L.config_valid,K=L.enabled,R=k??ln.Xk;p[11]!==x||p[12]!==M||p[13]!==K||p[14]!==_||p[15]!==S?(n=()=>{!x||K||M?S(!K):_()},p[11]=x,p[12]=M,p[13]=K,p[14]=_,p[15]=S,p[16]=n):n=p[16];let E=n;p[17]!==_?(i=()=>{_()},p[17]=_,p[18]=i):i=p[18];let D=i;p[19]===Symbol.for("react.memo_cache_sentinel")?(s=function(){return(0,t.jsx)(F.PencilIcon,{})},p[19]=s):s=p[19];let P=s;p[20]!==M||p[21]!==T?(r=function(){return T?(0,t.jsxs)("span",{className:"TriageAgentOverlay-module__invalidConfig__XE0QB",children:[(0,t.jsx)(F.AlertFillIcon,{size:12}),ln.cL]}):M?ln.RY:ln.$6},p[20]=M,p[21]=T,p[22]=r):r=p[22];let $=r;return p[23]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsxs)("div",{className:e6,children:[(0,t.jsx)("span",{className:e9,children:ln.K9}),(0,t.jsx)(e7.A,{variant:"success",children:"Preview"})]}),p[23]=o):o=p[23],p[24]!==x||p[25]!==M||p[26]!==E||p[27]!==T||p[28]!==K||p[29]!==w||p[30]!==R||p[31]!==b?(d=!T&&(0,t.jsxs)(V.l.Item,{onSelect:E,disabled:w||!b||!x&&!M&&!K,children:[(0,t.jsx)(V.l.LeadingVisual,{children:K?(0,t.jsx)(F.PauseIcon,{}):(0,t.jsx)(F.PlayIcon,{})}),K?ln.VN:ln.Eu,!b&&(0,t.jsx)(V.l.Description,{variant:"block",children:R}),!x&&!M&&!K&&b&&(0,t.jsx)(V.l.Description,{variant:"block",children:ln.$6})]}),p[24]=x,p[25]=M,p[26]=E,p[27]=T,p[28]=K,p[29]=w,p[30]=R,p[31]=b,p[32]=d):d=p[32],p[33]!==$||p[34]!==x||p[35]!==M||p[36]!==I||p[37]!==D||p[38]!==N||p[39]!==y||p[40]!==R||p[41]!==b?(c=b?x?(0,t.jsxs)(V.l.Item,{onSelect:D,"data-testid":"customize-agent-item",children:[(0,t.jsx)(V.l.LeadingVisual,{children:P()}),ln.Je,(0,t.jsx)(V.l.Description,{variant:"block",children:$()})]}):(0,t.jsxs)(V.l.LinkItem,{href:M?I:N,onClick:()=>y(),children:[(0,t.jsx)(V.l.LeadingVisual,{children:P()}),ln.Je,(0,t.jsx)(V.l.Description,{variant:"block",children:$()}),(0,t.jsx)(V.l.TrailingVisual,{children:(0,t.jsx)(F.ArrowRightIcon,{})})]}):(0,t.jsxs)(V.l.Item,{disabled:!0,"data-testid":"customize-agent-item",children:[(0,t.jsx)(V.l.LeadingVisual,{children:(0,t.jsx)(F.PencilIcon,{})}),ln.Je,(0,t.jsx)(V.l.Description,{variant:"block",children:R})]}),p[33]=$,p[34]=x,p[35]=M,p[36]=I,p[37]=D,p[38]=N,p[39]=y,p[40]=R,p[41]=b,p[42]=c):c=p[42],p[43]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsx)(V.l.Divider,{}),p[43]=u):u=p[43],p[44]===Symbol.for("react.memo_cache_sentinel")?(m=(0,t.jsxs)(V.l.LinkItem,{href:ln.TL,target:"_blank",rel:"noopener noreferrer",children:[(0,t.jsx)(V.l.LeadingVisual,{children:(0,t.jsx)(F.BookIcon,{})}),ln.j$]}),p[44]=m):m=p[44],p[45]===Symbol.for("react.memo_cache_sentinel")?(C=(0,t.jsxs)(V.l.LinkItem,{href:ln.J8,target:"_blank",rel:"noopener noreferrer",children:[(0,t.jsx)(V.l.LeadingVisual,{children:(0,t.jsx)(F.CommentIcon,{})}),ln.MD]}),p[45]=C):C=p[45],p[46]!==d||p[47]!==c?(g=(0,t.jsxs)("div",{className:e5,"data-testid":"triage-agent-overlay",children:[o,(0,t.jsxs)(V.l,{children:[d,c,u,m,C]})]}),p[46]=d,p[47]=c,p[48]=g):g=p[48],g}lt.displayName="TriageAgentOverlayContent";let li={inactive:{testId:"triage-agent-status-inactive",ariaLabel:"Triage agent is inactive",color:"var(--borderColor-default)"},active:{testId:"triage-agent-status-active",ariaLabel:"Triage agent is active",color:"var(--fgColor-success)"},warning:{testId:"triage-agent-status-warning",ariaLabel:"Triage agent has invalid configuration",color:"var(--fgColor-muted)"}},ls={testId:"triage-agent-status-error",ariaLabel:"Error loading triage agent status",color:"var(--fgColor-attention)"};function lr(){let e,l=(0,A.c)(1);return l[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(D.Q,{disabled:!0,"data-testid":"triage-agent-button-loading",children:"Triage agent"}),l[0]=e):e=l[0],e}function lo(e){let l,a,n,i,s,r,o,d,c,u,m,C,g,p,h=(0,A.c)(40),{repoOwner:f,repoName:y,triageState:b,triageEnabled:k,isError:x,viewerCanConfigureTriageAgent:L,cannotConfigureReason:j,configEditorEnabled:v}=e,[S,w]=(0,_.useState)(!1),[I,N]=(0,_.useState)(!1),F=x?ls:li[b];h[0]===Symbol.for("react.memo_cache_sentinel")?(l=()=>{w(!1),N(!0)},h[0]=l):l=h[0];let M=l;h[1]===Symbol.for("react.memo_cache_sentinel")?(a=()=>{N(!1)},h[1]=a):a=h[1];let T=a;h[2]===Symbol.for("react.memo_cache_sentinel")?(n=()=>{N(!1)},h[2]=n):n=h[2];let K=n,V=`TriageAgentButton-module__statusIndicator__RIEbZ ${"active"===b?"TriageAgentButton-module__pulse__nsuJu":""}`;h[3]!==F.color?(i={color:F.color},h[3]=F.color,h[4]=i):i=h[4],h[5]!==F.ariaLabel||h[6]!==x||h[7]!==k||h[8]!==b?(s=(0,t.jsx)(e4,{state:b,ariaLabel:F.ariaLabel,isError:x,triageEnabled:k}),h[5]=F.ariaLabel,h[6]=x,h[7]=k,h[8]=b,h[9]=s):s=h[9],h[10]!==F.testId||h[11]!==V||h[12]!==i||h[13]!==s?(r=(0,t.jsx)("span",{"data-testid":F.testId,className:V,style:i,children:s}),h[10]=F.testId,h[11]=V,h[12]=i,h[13]=s,h[14]=r):r=h[14];let R=r;return h[15]===Symbol.for("react.memo_cache_sentinel")?(o=()=>w(!0),d=()=>w(!1),h[15]=o,h[16]=d):(o=h[15],d=h[16]),h[17]!==R||h[18]!==k||h[19]!==b?(c=e=>(0,t.jsx)(D.Q,{...e,leadingVisual:R,className:"warning"!==b||k?void 0:"TriageAgentButton-module__mutedText__y0cMb",children:ln.AH[b]}),h[17]=R,h[18]=k,h[19]=b,h[20]=c):c=h[20],h[21]===Symbol.for("react.memo_cache_sentinel")?(u=()=>w(!1),h[21]=u):u=h[21],h[22]!==j||h[23]!==v||h[24]!==y||h[25]!==f||h[26]!==L?(m=(0,t.jsx)(lt,{repoOwner:f,repoName:y,onClose:u,onOpenConfigModal:M,viewerCanConfigureTriageAgent:L,cannotConfigureReason:j,configEditorEnabled:v}),h[22]=j,h[23]=v,h[24]=y,h[25]=f,h[26]=L,h[27]=m):m=h[27],h[28]!==S||h[29]!==c||h[30]!==m?(C=(0,t.jsx)(E.T,{open:S,onOpen:o,onClose:d,renderAnchor:c,children:m}),h[28]=S,h[29]=c,h[30]=m,h[31]=C):C=h[31],h[32]!==v||h[33]!==I||h[34]!==y||h[35]!==f?(g=v&&(0,t.jsx)(e0,{isOpen:I,onClose:T,onSaved:K,repoOwner:f,repoName:y}),h[32]=v,h[33]=I,h[34]=y,h[35]=f,h[36]=g):g=h[36],h[37]!==C||h[38]!==g?(p=(0,t.jsxs)(t.Fragment,{children:[C,g]}),h[37]=C,h[38]=g,h[39]=p):p=h[39],p}function ld(e){let l,a=(0,A.c)(10),{repoOwner:n,repoName:i}=e,{data:s,isLoading:r,isError:o}=ll(n,i),d=(0,W.u)("issues_triage_agent_config_editor");if(r){let e;return a[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(lr,{}),a[0]=e):e=a[0],e}let c=!!s?.enabled,u=s?.config_valid===!1,m=s?.viewer_can_configure??!1,C=s?.cannot_configure_reason??null,g="inactive";return u?g="warning":c&&(g="active"),a[1]!==C||a[2]!==d||a[3]!==o||a[4]!==i||a[5]!==n||a[6]!==c||a[7]!==g||a[8]!==m?(l=(0,t.jsx)(lo,{repoOwner:n,repoName:i,triageState:g,triageEnabled:c,isError:o,viewerCanConfigureTriageAgent:m,cannotConfigureReason:C,configEditorEnabled:d}),a[1]=C,a[2]=d,a[3]=o,a[4]=i,a[5]=n,a[6]=c,a[7]=g,a[8]=m,a[9]=l):l=a[9],l}lr.displayName="TriageAgentButtonLoading",lo.displayName="TriageAgentButtonLoaded",ld.displayName="TriageAgentButton";var lc=a(55077),lu=a(60182);let lm="SearchBarActions-module__gap8__TdR_9";function lC({isOwnerEnterpriseManaged:e,isWritable:l}){let a=(0,p.Zp)(),{currentUser:n}=(0,lc.J)(),{scoped_repository:i,current_user_settings:s}=(0,g.X)(),o=(0,W.u)("issues_triage_agent_enrolled")&&i,d=(0,W.u)("issues_automation")&&i,c=null!=n&&!!n?.is_emu&&!e,u=(0,r.G7)("issue_pinned_views"),m=i?`${i.owner}/${i.name}`:null,C=m?`/${m}/labels`:null,h=m?`/${m}/milestones`:null;return(0,t.jsxs)("div",{className:`SearchBarActions-module__buttons__dVwm8 ${lm} d-flex flex-wrap`,children:[C&&h&&!u&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(D.Q,{as:"a",href:C,leadingVisual:F.TagIcon,children:"Labels"}),(0,t.jsx)(D.Q,{as:"a",href:h,leadingVisual:F.MilestoneIcon,children:"Milestones"})]}),C&&h&&u&&(0,t.jsx)("div",{className:"SearchBarActions-module__hiddenWhenSidebarVisible__I_Bfa",children:(0,t.jsxs)("div",{className:`${lm} d-flex`,children:[(0,t.jsx)(D.Q,{as:p.N_,to:C,leadingVisual:F.TagIcon,children:"Labels"}),(0,t.jsx)(D.Q,{as:p.N_,to:h,leadingVisual:F.MilestoneIcon,children:"Milestones"})]})}),o&&(0,t.jsx)(ld,{repoOwner:i.owner,repoName:i.name}),d&&(0,t.jsx)(q,{repoOwner:i.owner,repoName:i.name}),!(!1===l||c)&&(0,t.jsx)(N.CreateIssueButton,{label:lu.l.newIssue,navigate:a,optionConfig:{issueCreateArguments:{repository:i?{owner:i.owner,name:i.name}:void 0},showRepositoryPicker:null===i,emojiSkinTonePreference:s?.preferred_emoji_skin_tone,showFullScreenButton:!0,canBypassTemplateSelection:!0,navigate:a}})]})}lC.displayName="SearchBarActions";let lg=({editing:e,children:l})=>e?(0,t.jsx)(y.A,{className:"SearchBar-module__FormControl__BZQX6",children:l}):(0,t.jsx)(t.Fragment,{children:l});lg.displayName="DynamicWrapper";let lp=!1,lh=[];function lf({currentViewKey:e,currentRepository:l,queryFromCustomView:a,onSsoOrgsFromFilter:n,ssoOrgNames:N=lh,children:A}){let F=(0,_.useRef)(null),{isCustomView:M}=(0,j.$_)(),T=(0,j.Sp)(),K=(0,j.Ik)(),{isEditing:V}=(0,j.No)(),[R,E]=(0,_.useState)([]),{search:D,pathname:P}=(0,p.zy)(),$=new URLSearchParams(D).get("q"),{scoped_repository:B}=(0,g.X)(),O=B?`${B.owner}/${B.name}`:void 0,{navigateToUrl:Z}=(0,v.Y)(),H=(0,r.G7)("issue_fields_global_search"),{id:q,scopingRepository:z,query:U}=(0,b.useFragment)(i,e),Q=(0,b.useFragment)(s,l),{author:W,assignee:G,mentioned:Y,label:X}=(0,p.g)(),J=`${L.wc.defaultQuery} ${L.wc.query({author:W,assignee:G,mentioned:Y,label:X,createdByApp:(0,w.Kr)(P)})}`,ee=U;(0,w.Oc)(P)?ee=J:(0,w.UG)(P)&&X&&(ee=(0,w.rI)(L.gl,[X],"label"));let el=z?`repo:${z.owner.login}/${z.name} ${ee}`:ee,ea=(0,j.o1)(),en=(0,j.EX)(),{setShouldFocusSearchOnNav:et,shouldFocusSearchOnNav:ei}=(0,j.Wu)(),es=(0,_.useCallback)(e=>{T(e),en(null)},[T,en]);(0,_.useEffect)(()=>{(0,w.$g)(P)||(T($||el||""),en($))},[es,$,P,el,T,en]);let{sendAnalyticsEvent:er}=(0,h.s)(),eo=(0,c.kz)({repositoryScope:O,isOrgScope:!!Q?.isInOrganization,isIssueFieldsEnabled:!0,isIssueFieldsGlobalSearchEnabled:H}),ed=(0,_.useCallback)((e,l)=>{let a=e.raw;l===d.FT.Clear&&(a=el,es(el));let n=(a||L.Xl).trim().replace(/\s+/g," ");e.config.groupAndKeywordSupport||(n=(0,w.vJ)(a)),er("search.execute","FILTER_BAR_INPUT",{new_query:n});let t=(0,m.Eq)({viewId:q,query:n});lp=!0,Z(t,{preventAutofocus:!0}),K(1)},[er,Z,K,el,es,q]),ec=(0,_.useMemo)(()=>(0,u.zw)(),[]),eu=(0,_.useCallback)(e=>{if(ec&&F&&F.current){F.current.focus();let l=F.current.value?.length||0;F.current.setSelectionRange(l,l),e.preventDefault()}},[ec]),em=(0,_.useCallback)(e=>{en(e)},[en]),eC=(0,r.G7)("issues_dashboard_sso_structured_errors"),eg=(0,_.useCallback)((e,l)=>{E((0,S.XT)(e,N,eC)),n?.((0,S.AB)(l))},[E,n,N,eC]);(0,_.useEffect)(()=>{lp&&F.current&&(lp=!1,F.current.focus())},[P,D,$]),(0,f._)([C.w.focusSearch],eu,{[f.A.metaKey]:!0}),(0,f._)([C.w.focusSearch],eu,{[f.A.ctrlKey]:!0});let ep=V&&M(q);(0,_.useEffect)(()=>{if(!F.current||!ep)return;let e=F.current;function l(){et(!0)}return e.addEventListener("focus",l),()=>e.removeEventListener("focus",l)},[ep,et]),(0,_.useEffect)(()=>{ep&&F.current&&ei&&requestAnimationFrame(()=>{if(F.current){F.current.focus();let e=F.current.value?.length||0;F.current.setSelectionRange(e,e)}})},[ep,ei]);let eh=function(e,l,a){if((0,w.Oc)(e)||(0,w.UG)(e))return l;let n=[...L.rn,L.C5].find(e=>e.id===a)?.query;if(n)return`${n} `}(P,ee,q),ef=$??eh,ey=(0,_.useMemo)(()=>ea??ef??a??"",[ea,ef,a]),e_=!1;e_=M(q)?ea?.trim()!==a?.trim():q===L.hH.id?ea?.trim()!==eh?.trim():ea?.trim()!==ef?.trim();let eb=(0,c.yl)({baseFilterProviders:eo,effectiveQuery:ey,isIssueFieldsGlobalSearchEnabled:H}),ek=(0,_.useMemo)(()=>{let e=eb.filter(e=>!(0,d.B8)(e)),l={...d.a7,aliasMatching:!0,groupAndKeywordSupport:!0};return new c.Vq(e,l)},[eb]);return(0,t.jsxs)(lg,{editing:ep,children:[ep&&(0,t.jsx)(y.A.Label,{visuallyHidden:!0,children:x.n.query}),(0,t.jsx)("div",{className:`${I} px-0 ${ep?"d-flex":"d-block"} flex-row flex-justify-between`,children:(0,t.jsxs)("div",{className:`SearchBar-module__filterContainer__zCAI_ ${I} d-flex flex-row flex-1 flexWrap min-width-0`,children:[(0,t.jsx)("div",{className:"SearchBar-module__filter__U5rem d-flex flex-1 flex-column",children:(0,t.jsx)(o.dJ,{id:q??"search",context:O?{repo:O}:void 0,label:ep?k.k.issueEditingSearchInputAriaLabel:k.k.issueSearchInputAriaLabel,visuallyHideLabel:!ep,placeholder:k.k.issueSearchInputPlaceholder,onSubmit:ed,onChange:em,providers:O?eo:eb,inputRef:F,filterValue:ey,variant:"input",settings:{aliasMatching:!0,groupAndKeywordSupport:!0},showValidationMessage:!1,onValidation:eg,showClearButton:null!==ea&&e_,customParser:O?void 0:ek})}),A,B&&!(0,w.$g)(P)&&(0,t.jsx)(lC,{isOwnerEnterpriseManaged:Q?.isOwnerEnterpriseManaged??!1,isWritable:Q?.isWritable??null}),R.length>0&&(0,t.jsx)("div",{className:"SearchBar-module__validation__N9HJh mt-1",children:(0,t.jsx)(o.Xl,{messages:R,id:"repository-validation-message"})})]})})]})}lf.displayName="SearchBar"},53472(e,l,a){a.d(l,{x:()=>as});var n,t,i,s,r,o,d,c,u,m,C,g,p,h,f,y,_,b,k,x,L,j,v,S,w,I,N,A,F,M,T,K,V,R,E,D,P,$,B,O,Z,H,q,z,U,Q,W,G,Y,X,J,ee,el=a(74848);let ea={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"fetchRepository"},{defaultValue:null,kind:"LocalArgument",name:"first"},{defaultValue:null,kind:"LocalArgument",name:"labelPageSize"},{defaultValue:null,kind:"LocalArgument",name:"query"},{defaultValue:null,kind:"LocalArgument",name:"skip"},{defaultValue:"ISSUE_ADVANCED",kind:"LocalArgument",name:"type"}],kind:"Fragment",metadata:null,name:"SearchList",selections:[{args:[{kind:"Variable",name:"fetchRepository",variableName:"fetchRepository"},{kind:"Variable",name:"first",variableName:"first"},{kind:"Variable",name:"labelPageSize",variableName:"labelPageSize"},{kind:"Variable",name:"query",variableName:"query"},{kind:"Variable",name:"skip",variableName:"skip"},{kind:"Variable",name:"type",variableName:"type"}],kind:"FragmentSpread",name:"ListItemsPaginated_results"}],type:"Searchable",abstractKey:"__isSearchable"};ea.hash="056c27cc879abad3766271f3ea629d9c";let en={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"SearchListRepo",selections:[{alias:null,args:null,kind:"ScalarField",name:"viewerCanPush",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"isDisabled",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"isLocked",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"isArchived",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"isInOrganization",storageKey:null}],type:"Repository",abstractKey:null};en.hash="f65187d282f8f58f706a2eabbfe6075b";var et=a(86196),ei=a(16522),es=a(83826),er=a(34164),eo=a(96540),ed=a(18990),ec=a(16899);let eu=e=>{let l,a,n,t,i,s,r,o=(0,ei.c)(15),{width:d,showCompactDensity:c}=e,u=void 0===d?"random":d,m=void 0!==c&&c,C=m&&"RowLoading-module__compactDensity__nE3NB";return o[0]!==C?(l=(0,er.$)("RowLoading-module__rowLoadingContainer__uWzKm",C),o[0]=C,o[1]=l):l=o[1],o[2]===Symbol.for("react.memo_cache_sentinel")?(a=(0,el.jsx)(ec.O,{variant:"elliptical",height:"md",width:"md"}),o[2]=a):a=o[2],o[3]===Symbol.for("react.memo_cache_sentinel")?(n=(0,el.jsx)("span",{className:"sr-only",children:"loading"}),o[3]=n):n=o[3],o[4]!==u?(t=(0,el.jsx)(ec.O,{variant:"rounded",height:"sm",width:u,children:n}),o[4]=u,o[5]=t):t=o[5],o[6]!==m||o[7]!==u?(i=!m&&(0,el.jsx)(ec.O,{variant:"rounded",height:"12px",width:u,className:"RowLoading-module__LoadingSkeleton__kKbV6"}),o[6]=m,o[7]=u,o[8]=i):i=o[8],o[9]!==t||o[10]!==i?(s=(0,el.jsxs)("div",{className:"RowLoading-module__rowLoadingContent__bxPRM",children:[t,i]}),o[9]=t,o[10]=i,o[11]=s):s=o[11],o[12]!==l||o[13]!==s?(r=(0,el.jsx)(ed.l.Item,{"aria-disabled":"true",children:(0,el.jsxs)("div",{className:l,children:[a,s]})}),o[12]=l,o[13]=s,o[14]=r):r=o[14],r};eu.displayName="RowLoading";let em=e=>{let l,a,n=(0,ei.c)(5),{numberOfRows:t,isCompact:i}=e;return n[0]!==t?(l=[...Array(t)],n[0]=t,n[1]=l):l=n[1],n[2]!==i||n[3]!==l?(a=(0,el.jsx)(ed.l,{children:l.map((e,l)=>(0,el.jsx)(eu,{showCompactDensity:i},l))}),n[2]=i,n[3]=l,n[4]=a):a=n[4],a};em.displayName="ActionListLoading";let eC=e=>{let l,a,n,t,i=(0,ei.c)(13),{pageSize:s,showBorder:r,headerTitle:o,sectionFilters:d,isCompactRows:c}=e,u=void 0===r||r,m=u&&"ListLoading-module__showBorder__VLjMa";return i[0]!==m?(l=(0,er.$)(m),i[0]=m,i[1]=l):l=i[1],i[2]!==o||i[3]!==d||i[4]!==u?(a=u&&(0,el.jsxs)("div",{className:"ListLoading-module__ListLoadingHeader__KnJPu",children:[o,d?.map(eg)]}),i[2]=o,i[3]=d,i[4]=u,i[5]=a):a=i[5],i[6]!==c||i[7]!==s?(n=(0,el.jsx)(em,{numberOfRows:s,isCompact:c}),i[6]=c,i[7]=s,i[8]=n):n=i[8],i[9]!==l||i[10]!==a||i[11]!==n?(t=(0,el.jsxs)("div",{className:l,children:[a,n]}),i[9]=l,i[10]=a,i[11]=n,i[12]=t):t=i[12],t};function eg(e,l){return(0,el.jsx)(eo.Fragment,{children:e},`section-filter-link-${l}`)}eC.displayName="ListLoading";let ep=e=>{let l,a,n,t,i=(0,ei.c)(7);i[0]!==e?({layoutDensity:l,...a}=e,i[0]=e,i[1]=l,i[2]=a):(l=i[1],a=i[2]),i[3]===Symbol.for("react.memo_cache_sentinel")?(n=es.k.Compact.toLowerCase(),i[3]=n):n=i[3];let s=l===n;return i[4]!==s||i[5]!==a?(t=(0,el.jsx)(eC,{isCompactRows:s,...a}),i[4]=s,i[5]=a,i[6]=t):t=i[6],t};ep.displayName="ListLoading";var eh=a(28317),ef=a(50964),ey=a(54590),e_=a(16433),eb=a(97012),ek=a(18312),ex=a(68333),eL=a(55232),ej=a(38621),ev=a(56133),eS=a(10095);let ew=e=>{let l,a,n,t,i,s,r=(0,ei.c)(16),{retry:o,icon:d,title:c,message:u,retryText:m,testid:C}=e;r[0]===Symbol.for("react.memo_cache_sentinel")?(l=(0,er.$)("blankslate-icon","ListError-module__errorIcon__N7fG1"),r[0]=l):l=r[0];let g=d??ej.AlertFillIcon;return r[1]!==g?(a=(0,el.jsx)(eS.A,{className:l,icon:g}),r[1]=g,r[2]=a):a=r[2],r[3]!==c?(n=(0,el.jsx)("h3",{className:"blankslate-heading",children:c}),r[3]=c,r[4]=n):n=r[4],r[5]!==u?(t=(0,el.jsx)("p",{className:"ListError-module__errorMessage__R9KTd",children:u}),r[5]=u,r[6]=t):t=r[6],r[7]!==o||r[8]!==m?(i=o&&(0,el.jsx)(ev.A,{as:"button",inline:!0,onClick:o,className:"ListError-module__retryLink__PbBKQ",children:m??eL.l.tryAgain}),r[7]=o,r[8]=m,r[9]=i):i=r[9],r[10]!==a||r[11]!==n||r[12]!==t||r[13]!==i||r[14]!==C?(s=(0,el.jsxs)("div",{className:"blankslate","data-testid":C,children:[a,n,t,i]}),r[10]=a,r[11]=n,r[12]=t,r[13]=i,r[14]=C,r[15]=s):s=r[15],s};ew.displayName="ListError";var eI=a(76427),eN=a(12100);let eA=e=>(0,el.jsx)(ew,{retry:e,title:eI.n.failedToLoadIssues,message:eI.n.errorLoadingIssues,testid:eN.Y.fallback});eA.displayName="ListError";let eF=e=>(0,el.jsx)(ew,{retry:e,title:eI.n.ssoAuthRequired,message:eI.n.ssoAuthMessage,testid:eN.Y.fallback});eF.displayName="SsoListError";let eM=(n={defaultValue:null,kind:"LocalArgument",name:"cursor"},t={defaultValue:null,kind:"LocalArgument",name:"fetchRepository"},i={defaultValue:null,kind:"LocalArgument",name:"first"},s={defaultValue:null,kind:"LocalArgument",name:"id"},r={defaultValue:null,kind:"LocalArgument",name:"labelPageSize"},o={defaultValue:null,kind:"LocalArgument",name:"query"},d={defaultValue:null,kind:"LocalArgument",name:"skip"},c={defaultValue:"ISSUE_ADVANCED",kind:"LocalArgument",name:"type"},u=[{kind:"Variable",name:"id",variableName:"id"}],h={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},y=[{kind:"Variable",name:"after",variableName:"cursor"},m={kind:"Variable",name:"first",variableName:"first"},C={kind:"Variable",name:"query",variableName:"query"},g={kind:"Variable",name:"skip",variableName:"skip"},p={kind:"Variable",name:"type",variableName:"type"}],_={alias:null,args:null,kind:"ScalarField",name:"number",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},x={alias:null,args:null,concreteType:null,kind:"LinkedField",name:"owner",plural:!1,selections:[h,k={alias:null,args:null,kind:"ScalarField",name:"login",storageKey:null},f],storageKey:null},L={alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},j={alias:null,args:null,kind:"ScalarField",name:"color",storageKey:null},v={alias:null,args:null,kind:"ScalarField",name:"isCopilot",storageKey:null},S={alias:null,args:null,kind:"ScalarField",name:"isAgent",storageKey:null},w={kind:"InlineFragment",selections:[f],type:"Node",abstractKey:"__isNode"},K={alias:null,args:null,kind:"ScalarField",name:"createdAt",storageKey:null},V={alias:null,args:null,kind:"ScalarField",name:"updatedAt",storageKey:null},R={alias:null,args:null,kind:"ScalarField",name:"closed",storageKey:null},E={alias:null,args:null,kind:"ScalarField",name:"closedAt",storageKey:null},B={kind:"InlineFragment",selections:[{kind:"InlineFragment",selections:[M={alias:null,args:I=[{kind:"Variable",name:"first",variableName:"labelPageSize"},{kind:"Literal",name:"orderBy",value:{direction:"ASC",field:"NAME"}}],concreteType:"LabelConnection",kind:"LinkedField",name:"labels",plural:!1,selections:[{alias:null,args:null,concreteType:"LabelEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"Label",kind:"LinkedField",name:"node",plural:!1,selections:[f,{alias:null,args:null,kind:"ScalarField",name:"nameHTML",storageKey:null},j,b,{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},h],storageKey:null},N={alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[A={alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},F={alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null},T={alias:null,args:I,filters:["orderBy"],handle:"connection",key:"Labels_labels",kind:"LinkedHandle",name:"labels"},K,V,R,E,P={alias:null,args:null,concreteType:null,kind:"LinkedField",name:"author",plural:!1,selections:[k,{alias:null,args:null,kind:"ScalarField",name:"resourcePath",storageKey:null},h,{kind:"InlineFragment",selections:[v,S],type:"Bot",abstractKey:null},{kind:"InlineFragment",selections:D=[b],type:"User",abstractKey:null},{kind:"InlineFragment",selections:D,type:"EnterpriseUserAccount",abstractKey:null},{kind:"InlineFragment",selections:D,type:"Mannequin",abstractKey:null},f],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"stateReason",storageKey:null},$={alias:null,args:null,concreteType:"Milestone",kind:"LinkedField",name:"milestone",plural:!1,selections:[L,{alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null},f],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"state",storageKey:null}],type:"Issue",abstractKey:null},{kind:"InlineFragment",selections:[M,T,K,V,R,E,P,$,{alias:null,args:null,kind:"ScalarField",name:"isDraft",storageKey:null},{alias:"pullRequestState",args:null,kind:"ScalarField",name:"state",storageKey:null}],type:"PullRequest",abstractKey:null}],type:"IssueOrPullRequest",abstractKey:"__isIssueOrPullRequest"},{fragment:{argumentDefinitions:[n,t,i,s,r,o,d,c],kind:"Fragment",metadata:null,name:"SearchPaginatedQuery",selections:[{alias:null,args:u,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:[{kind:"Variable",name:"cursor",variableName:"cursor"},{kind:"Variable",name:"fetchRepository",variableName:"fetchRepository"},m,{kind:"Variable",name:"labelPageSize",variableName:"labelPageSize"},C,g,p],kind:"FragmentSpread",name:"ListItemsPaginated_results"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[n,t,i,r,o,d,c,s],kind:"Operation",name:"SearchPaginatedQuery",selections:[{alias:null,args:u,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[h,f,{kind:"InlineFragment",selections:[{alias:null,args:y,concreteType:"SearchResultItemConnection",kind:"LinkedField",name:"search",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"issueCount",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"issueSearchType",storageKey:null},{if:null,kind:"Stream",label:"ListItemsPaginated_results$stream$Query_search",selections:[{alias:null,args:null,concreteType:"SearchResultItemEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[h,{kind:"InlineFragment",selections:[f,_,{alias:null,args:null,concreteType:"Repository",kind:"LinkedField",name:"repository",plural:!1,selections:[b,x,f,{alias:null,args:null,kind:"ScalarField",name:"databaseId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"isPrivate",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"isArchived",storageKey:null}],storageKey:null},L,{alias:"titleHtml",args:null,kind:"ScalarField",name:"titleHTML",storageKey:null},{alias:null,args:null,concreteType:"IssueType",kind:"LinkedField",name:"issueType",plural:!1,selections:[f,b,j],storageKey:null},{alias:null,args:[{kind:"Literal",name:"first",value:10}],concreteType:"AssigneeConnection",kind:"LinkedField",name:"assignedActors",plural:!1,selections:[{alias:null,args:null,concreteType:"AssigneeEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[h,{kind:"InlineFragment",selections:[f,k,b,{alias:null,args:null,kind:"ScalarField",name:"profileResourcePath",storageKey:null},{alias:null,args:[{kind:"Literal",name:"size",value:64}],kind:"ScalarField",name:"avatarUrl",storageKey:"avatarUrl(size:64)"},{kind:"InlineFragment",selections:[v,S,{alias:null,args:null,kind:"ScalarField",name:"displayName",storageKey:null}],type:"Bot",abstractKey:null}],type:"Actor",abstractKey:"__isActor"},w],storageKey:null}],storageKey:null}],storageKey:"assignedActors(first:10)"},B],type:"Issue",abstractKey:null},{kind:"InlineFragment",selections:[f,_,{alias:null,args:null,concreteType:"Repository",kind:"LinkedField",name:"repository",plural:!1,selections:[b,x,f],storageKey:null},L,{alias:null,args:null,kind:"ScalarField",name:"titleHTML",storageKey:null},B],type:"PullRequest",abstractKey:null},w],storageKey:null},N],storageKey:null}]},{if:null,kind:"Defer",label:"ListItemsPaginated_results$defer$Query_search$pageInfo",selections:[{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"startCursor",storageKey:null},A,{alias:null,args:null,kind:"ScalarField",name:"hasPreviousPage",storageKey:null},F],storageKey:null}]}],storageKey:null},{alias:null,args:y,filters:["query","type","skip"],handle:"connection",key:"Query_search",kind:"LinkedHandle",name:"search"},{kind:"TypeDiscriminator",abstractKey:"__isNode"}],type:"Searchable",abstractKey:"__isSearchable"}],storageKey:null}]},params:{id:"0fea982ddc553b7cd47f763d5bb29915",metadata:{},name:"SearchPaginatedQuery",operationKind:"query",text:null}});eM.hash="300f94bbd9611320ac79e8f2daabe65c";let eT=(W={kind:"Variable",name:"labelPageSize",variableName:"labelPageSize"},{argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:null,kind:"LocalArgument",name:"fetchRepository"},{defaultValue:null,kind:"LocalArgument",name:"first"},{defaultValue:null,kind:"LocalArgument",name:"labelPageSize"},{defaultValue:null,kind:"LocalArgument",name:"query"},{defaultValue:null,kind:"LocalArgument",name:"skip"},{defaultValue:"ISSUE_ADVANCED",kind:"LocalArgument",name:"type"}],kind:"Fragment",metadata:{connection:[{count:"first",cursor:"cursor",direction:"forward",path:O=["search"],stream:!0}],refetch:{connection:{forward:{count:"first",cursor:"cursor"},backward:null,path:O},fragmentPathInResult:["node"],operation:eM,identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"ListItemsPaginated_results",selections:[{kind:"CatchField",field:{alias:"search",args:[{kind:"Variable",name:"query",variableName:"query"},{kind:"Variable",name:"skip",variableName:"skip"},{kind:"Variable",name:"type",variableName:"type"}],concreteType:"SearchResultItemConnection",kind:"LinkedField",name:"__Query_search_connection",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"issueCount",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"issueSearchType",storageKey:null},{kind:"Stream",selections:[{kind:"RequiredField",field:{alias:null,args:null,concreteType:"SearchResultItemEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[Z={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{kind:"InlineFragment",selections:[H={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},q={alias:null,args:null,kind:"ScalarField",name:"number",storageKey:null},Q={alias:null,args:null,concreteType:"Repository",kind:"LinkedField",name:"repository",plural:!1,selections:[z={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"owner",plural:!1,selections:[U={alias:null,args:null,kind:"ScalarField",name:"login",storageKey:null}],storageKey:null}],storageKey:null},{args:[{kind:"Variable",name:"fetchRepository",variableName:"fetchRepository"},W],kind:"FragmentSpread",name:"IssueRow"},{kind:"InlineDataFragmentSpread",name:"ApplyAssigneesBulkActionIssueFragment",selections:[H,{alias:null,args:[{kind:"Literal",name:"first",value:10}],concreteType:"AssigneeConnection",kind:"LinkedField",name:"assignedActors",plural:!1,selections:[{alias:null,args:null,concreteType:"AssigneeEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"InlineFragment",selections:[Z,H,U,z,{alias:null,args:null,kind:"ScalarField",name:"profileResourcePath",storageKey:null},{alias:null,args:[{kind:"Literal",name:"size",value:64}],kind:"ScalarField",name:"avatarUrl",storageKey:"avatarUrl(size:64)"},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"isCopilot",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"isAgent",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"displayName",storageKey:null}],type:"Bot",abstractKey:null}],type:"Actor",abstractKey:"__isActor"}],storageKey:null}],storageKey:null}],storageKey:"assignedActors(first:10)"},{alias:null,args:null,concreteType:"Repository",kind:"LinkedField",name:"repository",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"databaseId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"isPrivate",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"isArchived",storageKey:null}],storageKey:null}],args:null,argumentDefinitions:[]}],type:"Issue",abstractKey:null},{kind:"InlineFragment",selections:[H,q,Q,{args:[W],kind:"FragmentSpread",name:"PullRequestRow"}],type:"PullRequest",abstractKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},action:"THROW"}]},{kind:"Defer",selections:[{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"startCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasPreviousPage",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}]}],storageKey:null},to:"RESULT"},{kind:"InlineFragment",selections:[H],type:"Node",abstractKey:"__isNode"}],type:"Searchable",abstractKey:"__isSearchable"});eT.hash="300f94bbd9611320ac79e8f2daabe65c";var eK=a(49481),eV=a(73537),eR=a(44685),eE=a(64774),eD=a(70919);let eP=e=>{let l,a,n,t=(0,ei.c)(5),{id:i,ariaLabel:s}=e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(l=(0,el.jsx)("h3",{className:"blankslate-heading",children:es.k.noResultsTitle}),a=(0,el.jsx)("p",{children:es.k.noResultsDescription}),t[0]=l,t[1]=a):(l=t[0],a=t[1]),t[2]!==s||t[3]!==i?(n=(0,el.jsxs)("div",{id:i,className:"blankslate",role:"region","aria-label":s,"aria-live":"polite","aria-atomic":"true",children:[l,a]}),t[2]=s,t[3]=i,t[4]=n):n=t[4],n};eP.displayName="NoResults";var e$=a(51562),eB=a(36010),eO=a(84740),eZ=a(20757);let eH=/(created|updated|comments|reactions|relevance?)/,eq={asc:ej.SortAscIcon,desc:ej.SortDescIcon},ez={...es.k.sortDropdownOptionDisplayValues,...es.k.sortDropdownReactionLabels,reactions:es.k.totalReactions};function eU(e){var l,a;let n,t,i,s,r,o,d,c,u,m,C,g,p,h,f,y,_,b,k,x,L,j,v,S,w,I,N,A,F,M,T,K,V,R,E,D,P,$,B,O=(0,ei.c)(121),{activeSearchQuery:Z,dirtySearchQuery:H,setReactionEmojiToDisplay:q,setSortingItemSelected:z,searchUrl:U,setCurrentPage:Q,nested:W,bestMatchSortEnabled:G}=e;O[0]!==Z?(n=(0,eh.mA)(Z).get("sort")?.[0]||"",O[0]=Z,O[1]=n):n=O[1];let Y=n;O[2]!==Y?(t=()=>eY(Y),O[2]=Y,O[3]=t):t=O[3];let[X,J]=(0,eo.useState)(t);O[4]!==Z||O[5]!==G||O[6]!==Y?(i=()=>eX(Y,Z,G),O[4]=Z,O[5]=G,O[6]=Y,O[7]=i):i=O[7];let[ee,ea]=(0,eo.useState)(i),en=(0,ey.Zp)();O[8]!==H||O[9]!==en||O[10]!==U||O[11]!==Q?(s=(e,l)=>{en(U((0,eh.wT)(H||"",`${es.k.sortKeyToQuery[e]}-${l}`))),Q(1)},O[8]=H,O[9]=en,O[10]=U,O[11]=Q,O[12]=s):s=O[12];let et=s;O[13]!==q||O[14]!==z?(r=e=>{let l=eG(e),a=eO.qG[l||""];l&&a&&(z(e),q({reaction:l,reactionEmoji:a}))},O[13]=q,O[14]=z,O[15]=r):r=O[15];let er=r;O[16]!==X||O[17]!==z||O[18]!==et?(o=(e,l)=>{z(e),"relevance"===l&&"asc"===X?(J("desc"),et(l,"desc")):et(l,X)},O[16]=X,O[17]=z,O[18]=et,O[19]=o):o=O[19];let ec=o;O[20]!==X||O[21]!==et||O[22]!==er?(d=e=>{"asc"===X&&J("desc"),et(e,"desc"),er(e)},O[20]=X,O[21]=et,O[22]=er,O[23]=d):d=O[23];let eu=d;O[24]!==ee||O[25]!==z||O[26]!==et?(c=e=>{ee&&(J(e),z(ez[ee]),et(ee,e))},O[24]=ee,O[25]=z,O[26]=et,O[27]=c):c=O[27];let em=c;O[28]!==Z||O[29]!==G||O[30]!==z||O[31]!==Y||O[32]!==er?(u=()=>{J(eY(Y)),ea(eX(Y,Z,G));let e=eQ(Z,G);z(e),er(e)},O[28]=Z,O[29]=G,O[30]=z,O[31]=Y,O[32]=er,O[33]=u):u=O[33],O[34]!==Z||O[35]!==G||O[36]!==q||O[37]!==z||O[38]!==Y||O[39]!==er?(m=[q,z,Y,Z,er,G],O[34]=Z,O[35]=G,O[36]=q,O[37]=z,O[38]=Y,O[39]=er,O[40]=m):m=O[40],(0,eo.useEffect)(u,m),O[41]===Symbol.for("react.memo_cache_sentinel")?(C=Object.entries(es.k.sortDropdownOptionDisplayValues),O[41]=C):C=O[41];let eC=C;if(O[42]!==ec||O[43]!==eu||O[44]!==ee){let e,l,a,n,t=Object.entries(es.k.sortDropdownReactionLabels);O[47]!==ee?(e=e1(ee)||"relevance"===ee,O[47]=ee,O[48]=e):e=O[48],g=e,O[49]!==ec?(l=()=>ec(es.k.totalReactions,"reactions"),O[49]=ec,O[50]=l):l=O[50];let i="reactions"===ee;O[51]!==l||O[52]!==i?(a=(0,el.jsx)(ed.l.Item,{onSelect:l,selected:i,role:"menuitemradio",children:es.k.totalReactions},"reactions"),O[51]=l,O[52]=i,O[53]=a):a=O[53],O[54]===Symbol.for("react.memo_cache_sentinel")?(n=(0,el.jsx)(ed.l.Divider,{}),O[54]=n):n=O[54],p=(0,el.jsxs)(el.Fragment,{children:[a,n,t.map(e=>{let[l,a]=e;return(0,el.jsxs)(ed.l.Item,{onSelect:()=>eu(l),selected:ee===l,role:"menuitemradio",children:[(0,el.jsx)(ed.l.LeadingVisual,{children:eO.qG[eG(l)||""]}),a]},l)})]}),O[42]=ec,O[43]=eu,O[44]=ee,O[45]=g,O[46]=p}else g=O[45],p=O[46];let eg=p;O[55]===Symbol.for("react.memo_cache_sentinel")?(h=(0,el.jsx)(ed.l.GroupHeading,{children:"Sort by"}),O[55]=h):h=O[55],O[56]!==ec||O[57]!==ee?(f=eC.map(e=>{let[l,a]=e;return(0,el.jsx)(ed.l.Item,{onSelect:()=>ec(a,l),selected:ee===l,role:"menuitemradio",children:a},l)}),O[56]=ec,O[57]=ee,O[58]=f):f=O[58],O[59]!==ee?(y=e1(ee)||"reactions"===ee,O[59]=ee,O[60]=y):y=O[60],O[61]!==y?(_=(0,el.jsx)(eZ.W.Anchor,{children:(0,el.jsx)(ed.l.Item,{selected:y,children:es.k.reactions})}),O[61]=y,O[62]=_):_=O[62],O[63]!==eg?(b=(0,el.jsx)(eZ.W.Overlay,{children:(0,el.jsx)(ed.l,{selectionVariant:"single",children:eg})}),O[63]=eg,O[64]=b):b=O[64],O[65]!==_||O[66]!==b?(k=(0,el.jsxs)(eZ.W,{children:[_,b]}),O[65]=_,O[66]=b,O[67]=k):k=O[67],O[68]!==f||O[69]!==k?(x=(0,el.jsxs)(ed.l.Group,{children:[h,f,k]}),O[68]=f,O[69]=k,O[70]=x):x=O[70],O[71]===Symbol.for("react.memo_cache_sentinel")?(L=(0,el.jsx)(ed.l.Divider,{}),O[71]=L):L=O[71],O[72]===Symbol.for("react.memo_cache_sentinel")?(j=(0,el.jsx)(ed.l.GroupHeading,{children:"Order"}),O[72]=j):j=O[72];let ep="asc"===X&&null!==ee;O[73]!==em?(v=()=>em("asc"),O[73]=em,O[74]=v):v=O[74],O[75]===Symbol.for("react.memo_cache_sentinel")?(S=(0,el.jsx)(ed.l.LeadingVisual,{children:(0,el.jsx)(ej.SortAscIcon,{})}),O[75]=S):S=O[75],O[76]!==ee?(w=eJ(ee,"asc"),O[76]=ee,O[77]=w):w=O[77],O[78]!==g||O[79]!==ep||O[80]!==v||O[81]!==w?(I=(0,el.jsxs)(ed.l.Item,{disabled:g,selected:ep,onSelect:v,children:[S,w]},"ascending"),O[78]=g,O[79]=ep,O[80]=v,O[81]=w,O[82]=I):I=O[82];let ef="desc"===X&&null!==ee;O[83]!==em?(N=()=>em("desc"),O[83]=em,O[84]=N):N=O[84],O[85]===Symbol.for("react.memo_cache_sentinel")?(A=(0,el.jsx)(ed.l.LeadingVisual,{children:(0,el.jsx)(ej.SortDescIcon,{})}),O[85]=A):A=O[85],O[86]!==ee?(F=eJ(ee,"desc"),O[86]=ee,O[87]=F):F=O[87],O[88]!==g||O[89]!==ef||O[90]!==N||O[91]!==F?(M=(0,el.jsxs)(ed.l.Item,{disabled:g,selected:ef,onSelect:N,children:[A,F]},"descending"),O[88]=g,O[89]=ef,O[90]=N,O[91]=F,O[92]=M):M=O[92],O[93]!==I||O[94]!==M?(T=(0,el.jsxs)(ed.l.Group,{children:[j,I,M]}),O[93]=I,O[94]=M,O[95]=T):T=O[95],O[96]!==x||O[97]!==T?(K=(0,el.jsxs)(el.Fragment,{children:[x,L,T]}),O[96]=x,O[97]=T,O[98]=K):K=O[98];let e_=K;if(void 0!==W&&W){let e;return O[99]!==e_?(e=(0,el.jsx)(eB.t,{fallback:null,children:(0,el.jsx)(ed.l,{selectionVariant:"single","aria-labelledby":"","aria-label":"Sort",children:e_})}),O[99]=e_,O[100]=e):e=O[100],e}let eb=eq[X||"desc"];return O[101]!==ee?(V=e2(ee??"")?(0,el.jsx)("span",{className:"sr-only",children:"Sort by "}):null,O[101]=ee,O[102]=V):V=O[102],O[103]!==X||O[104]!==ee?(R=ee?(l=ee,a=X||"desc","created"===l?es.k.sortDropdownMenuButtonLabels[l][a]:es.k.sortDropdownMenuButtonLabels[l]):es.k.sort,O[103]=X,O[104]=ee,O[105]=R):R=O[105],O[106]!==R?(E=(0,el.jsx)(el.Fragment,{children:R}),O[106]=R,O[107]=E):E=O[107],O[108]!==X||O[109]!==ee?(D=e2(ee??"")?(0,el.jsx)("span",{className:"sr-only",children:"asc"===X?", ascending":", descending"}):null,O[108]=X,O[109]=ee,O[110]=D):D=O[110],O[111]!==eb||O[112]!==V||O[113]!==E||O[114]!==D?(P=(0,el.jsxs)(eZ.W.Button,{variant:"invisible",className:"sorting-dropdown-module__sortingMenuButton__j3BcS",leadingVisual:eb,children:[V,E,D]}),O[111]=eb,O[112]=V,O[113]=E,O[114]=D,O[115]=P):P=O[115],O[116]!==e_?($=(0,el.jsx)(eZ.W.Overlay,{children:(0,el.jsx)(ed.l,{selectionVariant:"single",children:e_})}),O[116]=e_,O[117]=$):$=O[117],O[118]!==P||O[119]!==$?(B=(0,el.jsxs)(eZ.W,{children:[P,$]}),O[118]=P,O[119]=$,O[120]=B):B=O[120],B}function eQ(e,l){let a=(0,eh.mA)(e);return eX(a.get("sort")?.[0]||"",e,l)}function eW(e,l){return l?((0,eh.mA)(e).get("searchTerms")||[]).length>0?"relevance":"created":"created"}function eG(e){var l;let a=ez[e]?.replace(" ","_").toUpperCase();return(l=a,Object.keys(eO.qG).includes(l))?a:void 0}function eY(e){let l=e.split("-")?.[1];return"asc"===l||"desc"===l?l:"desc"}function eX(e,l,a){if(!e)return eW(l,a);let n=e.match(eH)?.[0];return"reactions"===n&&(n=e.split(/-asc|-desc/)?.[0]?.split("reactions-")?.[1]||"reactions"),e2(n)?n:eW(l,a)}function eJ(e,l){return"created"===e||"updated"===e?"asc"===l?es.k.Oldest:es.k.Newest:"asc"===l?es.k.ascending:es.k.descending}function e1(e){return!!e&&es.k.sortDropdownReactionLabels.hasOwnProperty(e)}function e2(e){return!!e&&Object.keys(ez).includes(e)}eU.displayName="SortingDropdown";var e3=a(52111),e0=a(59767),e4=a(73762),e7=a(26316),e5=a(33542),e6=a(70887),e9=a(51581),e8=a(15393),le=a(95751),ll=a(55077),la=a(22216),ln=a(70452),lt=a(61190),li=a(58871),ls=a(91717),lr=a(66867),lo=a(95136),ld=a(42932),lc=a(49717),lu=a(17733),lm=a(33413),lC=a(72704),lg=a(58835),lp=a(35381),lh=a(64943),lf=a(40914),ly=a(21373),l_=a(60182),lb=a(40118);function lk(e){return"Issue"===e.__typename}function lx(){let e=(0,eo.useCallback)((e,l,a)=>e?(0,el.jsxs)(ed.l.Item,{disabled:!0,children:[(0,el.jsx)(ed.l.LeadingVisual,{children:(0,el.jsx)(l,{})}),a,(0,el.jsx)(ed.l.TrailingVisual,{children:(0,el.jsx)(ej.TriangleDownIcon,{})})]}):(0,el.jsx)(ly.Q,{disabled:!0,leadingVisual:l,trailingVisual:ej.TriangleDownIcon,children:a}),[]),l=(0,eo.useMemo)(()=>[{key:"mark-as",render:l=>e(l,ex.tT.issueIcons.CLOSED.icon,"Mark as")},{key:"apply-labels",render:l=>e(l,ej.TagIcon,"Label")},{key:"apply-assignees",render:l=>e(l,ej.PeopleIcon,"Assign")},{key:"add-to-projects",render:l=>e(l,ej.ProjectSymlinkIcon,"Project")},{key:"apply-milestone",render:l=>e(l,ej.MilestoneIcon,"Milestone")},{key:"apply-issue-type",render:l=>e(l,ej.IssueOpenedIcon,l_.l.setIssueType)}],[e]);return(0,el.jsx)(lp.X,{onToggleSelectAll:e3.l,actionsLabel:ln.k.bulkActions,actions:l,density:"normal"})}function lL({checkedItems:e,issueNodes:l,setCheckedItems:a,useBulkActions:n,listHasPRs:t,isInOrganization:i}){let{scoped_repository:s}=(0,ef.X)(),{addToast:r,addPersistedToast:o}=(0,lf.Y6)(),{setBulkJobId:d,bulkJobId:c}=(0,lt.ML)(),u=(0,eo.useMemo)(()=>Array.from(e.values()).filter(e=>null!=e).filter(lk),[e]),[m,C]=(0,eo.useState)(null!==c),g=(0,lt.SR)(),p=(0,lt.Q7)(),{setMultiPageSelectionAllowed:h}=(0,lh.P)(),f=(0,eo.useCallback)(e=>{C(!1),e&&(o({type:"info",message:ln.k.updatingIssues,icon:(0,el.jsx)(ej.RocketIcon,{}),role:"status"}),d(e))},[o,d]),y=(0,eo.useCallback)(e=>{C(!1),r({type:"error",message:`Could not update issues: ${e.message}`})},[r]),[_,b]=(0,eo.useState)(!1),k=(0,eo.useMemo)(()=>({onCompleted:f,onError:y,disabled:m,issuesToActOn:_?l.filter(e=>null!=e).map(e=>e.id):u.filter(e=>null!=e).map(e=>e.id),query:g}),[_,f,y,m,l,u,g]),{setSelectedCount:x}=(0,lr.v)(),L=(0,eo.useCallback)(e=>{e?a(l.reduce((e,l)=>(null!=l&&e.set(l.id,l),e),new Map)):(a(new Map),_&&(b(!1),x(0),h?.(!1)))},[l,a,h,x,_]),j=s&&n&&!t,v=s?.owner,S=s?.name,w=(0,eo.useMemo)(()=>({owner:v??"",repositoryName:S??""}),[S,v]),[I,N]=(0,eo.useState)(void 0),A=(0,eo.useMemo)(()=>({open:I,onOpenChange:e=>(0,lb.v)(e,N)}),[I]),F=(0,eo.useMemo)(()=>{if(!j||!v||!S)return;let e=[],l=[];for(let a of u)e.push(a.id),l.push(a.number);let a=[{key:"mark-as",render:e=>(0,el.jsx)(lg.K,{...k,nested:e})},{key:"apply-labels",render:l=>(0,el.jsx)(lm.m,{owner:v,repo:S,nested:l,issueIds:e,...k})},{key:"apply-assignees",render:a=>(0,el.jsx)(lc.T,{nested:a,issueIds:e,issueNumbers:l,...k,owner:v,repo:S})},{key:"add-to-projects",render:l=>(0,el.jsx)(ld.f,{nested:l,issueIds:e,owner:v,repo:S,...k})},{key:"apply-milestone",render:l=>(0,el.jsx)(lC.l,{owner:v,repo:S,nested:l,issueIds:e,...k})}];return i&&a.push({key:"apply-issue-type",render:l=>(0,el.jsx)(lo.y,{appName:"issue_types",category:"issues_index",metadata:w,children:(0,el.jsx)(lu.Q,{owner:v,repo:S,nested:l,issueIds:e,...k})})}),a},[j,k,v,S,i,u,w]);return(0,el.jsx)(eo.Suspense,{fallback:(0,el.jsx)(lx,{}),children:(0,el.jsx)(lp.X,{onToggleSelectAll:L,actionsLabel:ln.k.bulkActions,actions:F,density:"normal",assistiveAnnouncement:p?ln.k.loadingQueryResults:void 0,overflowMenuProps:A})})}lx.displayName="ListItemsHeaderBulkFallback",lL.displayName="ListItemsHeaderWithBulkActions";var lj=a(26384),lv=a(19519),lS=a(7478),lw=a(4510),lI=a(15260),lN=a(58053),lA=a(16497);function lF({repo:e,applySectionFilter:l,nested:a}){let{name:n,owner:t}=e,{currentViewId:i}=(0,lt.$_)(),s=(0,lt.SR)(),{debouncedDirtySearchQuery:r}=(0,lt.T1)(),o=r??s,d=(0,eo.useMemo)(()=>(0,ls.ET)(o,"assignee").slice(-1),[o]),c=(0,eo.useMemo)(()=>({id:lN.v.noAssigneeData.id,description:"",descriptionVariant:"inline",children:(0,el.jsx)(lA.JR,{html:lN.v.noAssigneeData.login}),source:lN.v.noAssigneeData,selected:o.includes("no:assignee"),leadingVisual:()=>(0,el.jsx)(ej.PersonIcon,{})}),[o]),u=(0,eo.useCallback)(e=>{let a=e.map(e=>e.id===lN.v.noAssigneeData.id?"no:assignee":(0,lI.i)(e)),n=(0,ls.rI)(o,a,"assignee"),t=(0,lj.Eq)({viewId:i,query:n});l(n,t)},[o,l,i]),m={readonly:!1,title:ln.k.filters.assigneesLabel,assigneeTokens:d,assignees:[],repo:n,owner:t,onSelectionChange:u,noAssigneeOption:c,anchorElement:a?lM:lT,showNoMatchItem:!0};return(0,el.jsx)(lw._,{...m,name:"assignee",selectionVariant:"single",includeAuthorableBots:!1,includeAssignableBots:!0})}function lM(e){return(0,el.jsxs)(ed.l.Item,{...e,"aria-label":ln.k.filters.assigneesLabel,role:"menuitem",children:[(0,el.jsx)(ed.l.LeadingVisual,{children:(0,el.jsx)(ej.MentionIcon,{})}),ln.k.filters.assignees,"..."]})}function lT(e){return(0,el.jsx)(ly.Q,{variant:"invisible","data-testid":"assignees-anchor-button",trailingVisual:ej.TriangleDownIcon,"aria-label":ln.k.filters.assigneesLabel,className:"ListAssigneeFilter-module__assigneeFilterButton___xgtC",...e,children:ln.k.filters.assignees})}lF.displayName="ListAssigneeFilter",lM.displayName="NestedAssigneesAnchor",lT.displayName="AssigneesAnchor";function lK({repo:e,applySectionFilter:l,nested:a}){let{name:n,owner:t}=e,{currentViewId:i}=(0,lt.$_)(),s=(0,lt.SR)(),{debouncedDirtySearchQuery:r}=(0,lt.T1)(),o=(0,eV.G7)("issues_react_include_bots_in_pickers"),d=r??s,c=(0,eo.useMemo)(()=>(0,ls.ET)(d,"author"),[d]),u=(0,eo.useCallback)(e=>{let a=e.map(lI.i),n=(0,ls.Vi)(d,a,"author"),t=(0,lj.Eq)({viewId:i,query:n});l(n,t)},[d,l,i]),m={readonly:!1,title:ln.k.filters.authorLabel,assigneeTokens:c,assignees:[],repo:n,owner:t,onSelectionChange:u,anchorElement:a?lV:lR,showNoMatchItem:!0};return(0,el.jsx)(lw._,{name:"author",selectionVariant:"single",...m,includeAuthorableBots:o,includeAssignableBots:!1})}function lV(e){return(0,el.jsxs)(ed.l.Item,{...e,"aria-label":ln.k.filters.authorLabel,role:"menuitem",children:[(0,el.jsx)(ed.l.LeadingVisual,{children:(0,el.jsx)(ej.PersonIcon,{})}),ln.k.filters.author,"..."]})}function lR(e){return(0,el.jsx)(ly.Q,{variant:"invisible","data-testid":"authors-anchor-button",trailingVisual:ej.TriangleDownIcon,"aria-label":ln.k.filters.authorLabel,className:"ListAuthorFilter-module__authorFilterButton__z7cNj",...e,children:ln.k.filters.author})}lK.displayName="ListAuthorFilter",lV.displayName="NestedAuthorsAnchor",lR.displayName="AuthorsAnchor";var lE=a(27430);function lD({repo:e,applySectionFilter:l,nested:a}){let{owner:n,name:t}=e,{currentViewId:i}=(0,lt.$_)(),s=(0,lt.SR)(),{debouncedDirtySearchQuery:r}=(0,lt.T1)(),o=r??s,d=(0,eo.useMemo)(()=>lB(o),[o]),c=(0,eo.useCallback)(e=>{let a=e?.map(e=>e.id===lN.v.noTypeData.id?"no:type":e.name)||[],n=(0,ls.rI)(o,a,"type"),t=(0,lj.Eq)({viewId:i,query:n});l(n,t)},[o,l,i]),u=(0,eo.useMemo)(()=>(0,ls.ET)(o,"type").at(-1),[o]);return(0,el.jsx)(lE.u,{title:ln.k.filters.issueTypeLabel,owner:n,repo:t,readonly:!1,activeIssueType:null,issueTypeToken:u,onSelectionChange:c,anchorElement:a?lP:l$,width:"medium",noTypeItem:d})}function lP(e){return(0,el.jsxs)(ed.l.Item,{...e,"aria-label":ln.k.filters.issueTypeLabel,role:"menuitem",children:[(0,el.jsx)(ed.l.LeadingVisual,{children:(0,el.jsx)(ej.IssueOpenedIcon,{})}),ln.k.filters.issueType,"..."]})}function l$(e){return(0,el.jsx)(ly.Q,{variant:"invisible","data-testid":eN.Y.issueTypeAnchorFilter,trailingVisual:ej.TriangleDownIcon,"aria-label":ln.k.filters.issueTypeLabel,className:"ListIssueTypeFilter-module__issueTypeFilterButton__H9Mgs",...e,children:ln.k.filters.issueType})}lD.displayName="ListIssueTypeFilter",lP.displayName="NestedIssueTypeAnchor",l$.displayName="IssueTypeAnchor";let lB=e=>({id:lN.v.noTypeData.id,description:"",descriptionVariant:"inline",children:(0,el.jsx)(lA.JR,{html:lN.v.noTypeData.name}),source:lN.v.noTypeData,groupId:"",selected:e.includes("no:type")});var lO=a(5584);function lZ({nested:e,repo:l,applySectionFilter:a}){let{currentViewId:n}=(0,lt.$_)(),t=(0,lt.SR)(),{debouncedDirtySearchQuery:i}=(0,lt.T1)(),s=i??t,r=(0,eo.useMemo)(()=>({id:lN.v.noLabelsData.id,description:"",descriptionVariant:"inline",children:(0,el.jsx)(lA.JR,{html:lN.v.noLabelsData.name,title:lN.v.noLabelsData.description}),source:lN.v.noLabelsData,selected:s.includes("no:label"),groupId:"",leadingVisual:()=>(0,el.jsx)("div",{className:"ListLabelFilter-module__labelColorIndicator__BIBYJ"})}),[s]),o=(0,eo.useCallback)(e=>{let l=e.map(e=>e.id===lN.v.noLabelsData.id?"no:label":e.name),t=(0,ls.rI)(s,l,"label"),i=(0,lj.Eq)({viewId:n,query:t});a(t,i)},[s,a,n]),d=(0,eo.useMemo)(()=>{let e=(0,ls.ET)(s,"label");return e.length>0?e:void 0},[s]);return(0,el.jsx)(lO.t,{anchorElement:e?lH:lq,title:ln.k.filters.labelsLabel,showEditLabelsButton:!1,repo:l.name,owner:l.owner,readonly:!1,onSelectionChange:o,noLabelOption:r,labels:[],labelNames:d,canCreateLabel:!1})}function lH(e){return(0,el.jsxs)(ed.l.Item,{...e,"aria-label":ln.k.filters.labelsLabel,role:"menuitem",children:[(0,el.jsx)(ed.l.LeadingVisual,{children:(0,el.jsx)(ej.TagIcon,{})}),ln.k.filters.labels,"..."]})}function lq(e){return(0,el.jsx)(ly.Q,{variant:"invisible","data-testid":"labels-anchor-button",trailingVisual:ej.TriangleDownIcon,"aria-label":ln.k.filters.labelsLabel,className:"ListLabelFilter-module__labelFilterButton__RRvUM",...e,children:ln.k.filters.labels})}lZ.displayName="ListLabelFilter",lH.displayName="NestedLabelsAnchor",lq.displayName="LabelsAnchor";var lz=a(90327);let lU=({nested:e,repo:l,applySectionFilter:a})=>{let{currentViewId:n}=(0,lt.$_)(),t=(0,lt.SR)(),{debouncedDirtySearchQuery:i}=(0,lt.T1)(),[s,r]=(0,eo.useState)(null),o=i??t,d=(0,eo.useMemo)(()=>({id:lN.v.noMilestoneData.id,description:"",descriptionVariant:"inline",children:(0,el.jsx)(lA.JR,{html:lN.v.noMilestoneData.title}),source:lN.v.noMilestoneData,groupId:"",selected:o.includes("no:milestone"),leadingVisual:()=>(0,el.jsx)(ej.MilestoneIcon,{})}),[o]),c=(0,eo.useMemo)(()=>(0,ls.ET)(o,"milestone"),[o]);(0,eo.useEffect)(()=>{c.length<=0&&r(null)},[c]);let u=(0,eo.useCallback)(e=>{let l=e[0]?.id===lN.v.noMilestoneData.id,t=e.map(e=>e.title);e[0]&&r(e[0]);let i=(0,ls.Vi)(o,t,"milestone",l),s=(0,lj.Eq)({viewId:n,query:i});a(i,s)},[o,a,n]);return(0,el.jsx)(lz.D,{repo:l.name,activeMilestone:s,anchorElement:e?lQ:lW,owner:l.owner,onSelectionChange:u,noMilestoneItem:d,title:ln.k.filters.milestonesLabel,canCreateMilestone:!1})};function lQ(e){return(0,el.jsxs)(ed.l.Item,{...e,"aria-label":ln.k.filters.milestonesLabel,role:"menuitem",children:[(0,el.jsx)(ed.l.LeadingVisual,{children:(0,el.jsx)(ej.MilestoneIcon,{})}),ln.k.filters.milestones,"..."]})}function lW(e){return(0,el.jsx)(ly.Q,{variant:"invisible","data-testid":eN.Y.milestoneAnchorFilter,trailingVisual:ej.TriangleDownIcon,"aria-label":ln.k.filters.milestonesLabel,className:"ListMilestoneFilter-module__milestoneFilterButton__y9msa",...e,children:ln.k.filters.milestones})}lU.displayName="ListMilestoneFilter",lQ.displayName="NestedMilestonesAnchor",lW.displayName="MilestonesAnchor";var lG=a(37582);function lY({repo:e,applySectionFilter:l,nested:a}){let{currentViewId:n}=(0,lt.$_)(),t=(0,lt.SR)(),{debouncedDirtySearchQuery:i}=(0,lt.T1)(),s=i??t,r=(0,eo.useMemo)(()=>(0,ls.ET)(s,"project"),[s]),o=(0,eo.useCallback)(a=>{let t=a.map(l=>`${e.owner}/${l.number}`),i=(0,ls.rI)(s,t,"project");if(i!==s){let e=(0,lj.Eq)({viewId:n,query:i});l(i,e)}},[s,l,n,e.owner]),d=(0,eo.useCallback)(e=>{let l=[];return r?.map(a=>{let n=e.find(e=>{let[l,n]=a.split("/");return e.url.endsWith(`/${l}/projects/${n}`)});n&&n.id&&!l.includes(n)&&l.push(n)}),l},[r]);return(0,el.jsx)(lG.wX,{pickerId:"list-project-filter",anchorElement:a?lX:lJ,repo:e.name,owner:e.owner,onSave:o,selectedProjects:[],readonly:!1,getSelectedProjects:d,title:ln.k.filters.projectsLabel})}function lX(e){return(0,el.jsxs)(ed.l.Item,{...e,"aria-label":ln.k.filters.projectsLabel,role:"menuitem",children:[(0,el.jsx)(ed.l.LeadingVisual,{children:(0,el.jsx)(ej.ProjectIcon,{})}),ln.k.filters.projects,"..."]})}function lJ(e){return(0,el.jsx)(ly.Q,{variant:"invisible","data-testid":"projects-anchor-button",trailingVisual:ej.TriangleDownIcon,"aria-label":ln.k.filters.projectsLabel,className:"ListProjectFilter-module__projectFilterButton__PTR36",...e,children:ln.k.filters.projects})}lY.displayName="ListProjectFilter",lX.displayName="NestedProjectsAnchor",lJ.displayName="ProjectsAnchor";let l1={fragment:{argumentDefinitions:[G={defaultValue:null,kind:"LocalArgument",name:"name"},Y={defaultValue:null,kind:"LocalArgument",name:"owner"},X={defaultValue:"archived:false assignee:@me sort:updated-desc",kind:"LocalArgument",name:"query"},J={defaultValue:"ISSUE_ADVANCED",kind:"LocalArgument",name:"type"}],kind:"Fragment",metadata:null,name:"OpenClosedTabsQuery",selections:ee=[{alias:null,args:[{kind:"Variable",name:"name",variableName:"name"},{kind:"Variable",name:"owner",variableName:"owner"}],concreteType:"Repository",kind:"LinkedField",name:"repository",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:[{kind:"Literal",name:"aggregations",value:!0},{kind:"Literal",name:"first",value:0},{kind:"Variable",name:"query",variableName:"query"},{kind:"Variable",name:"type",variableName:"type"}],concreteType:"SearchResultItemConnection",kind:"LinkedField",name:"search",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"closedIssueCount",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"openIssueCount",storageKey:null}],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[X,G,Y,J],kind:"Operation",name:"OpenClosedTabsQuery",selections:ee},params:{id:"9b5335baab0566640cfa28c329582507",metadata:{},name:"OpenClosedTabsQuery",operationKind:"query",text:null}};l1.hash="9d53eab94a659afb044228b8de635a14";var l2=a(97315),l3=a(82896);let l0="ListItems-module__tabsContainer__p07xT",l4=({isClosedTabActive:e,isOpenTabActive:l})=>(0,el.jsxs)("div",{className:`${(0,er.$)(l0,"ListItems-module__loading__f0yep")}`,children:[(0,el.jsx)(et.L,{title:"Open",isSelected:l,isLoading:!0,href:""},"open"),(0,el.jsx)(et.L,{title:"Closed",isSelected:e,isLoading:!0,href:""},"closed")]});function l7(e){let l=(0,lt.SR)(),{isBrowser:a}=(0,lv.V)(),n=(0,ls.jg)(l),t=(0,ls.pp)(l),i=(0,ls.Hg)(l),s=(0,ls.P8)(l),r=(0,el.jsx)(l4,{isOpenTabActive:n&&!i||s,isClosedTabActive:t&&!s||i});return a?(0,el.jsx)(eo.Suspense,{fallback:r,children:(0,el.jsx)(l5,{...e})}):r}function l5({applySectionFilter:e,scopedRepository:l,searchType:a}){let n=(0,lt.SR)(),t=(0,ek.useRelayEnvironment)(),{best_match_sort_enabled:i}=(0,ef.X)(),s=e7.fV.pathname,r=(0,eo.useMemo)(()=>(0,ls.W3)(n),[n]),o=r?`?q=${encodeURIComponent(r)}`:"",d=`${s}${o}`,c=(0,eo.useMemo)(()=>(0,ls.Ol)(n),[n]),u=c?`${s}?q=${encodeURIComponent(c)}`:s,m=(0,e8.X)(["mac"]),C=(0,eo.useCallback)((l,a)=>{if(!n||!e||(m?l.metaKey:l.ctrlKey))return;l.preventDefault();let t=a?d:u;e(a?r||l2.D.defaultRepoLevelOpen:c,t)},[n,e,c,u,m,r,d]),g=(0,ls.jg)(n),p=(0,ls.pp)(n),h=(0,ls.Hg)(n),f=(0,ls.P8)(n),y=g&&!h||f,_=p&&!f||h,b=(0,eo.useMemo)(()=>{let e=(0,eh.WM)(r)?c:r;return(e=(0,eh.$Z)(e,l,i),r)?e:`is:issue ${e}`},[c,r,l,i]),k=a??"ISSUE_ADVANCED",x=(0,eo.useMemo)(()=>({query:b,owner:l.owner,name:l.name,type:k}),[b,l,k]),L=(0,ek.useLazyLoadQuery)(l1,x,{fetchPolicy:"store-or-network"});(0,eo.useEffect)(()=>{L.repository?.id&&(0,eR.s9)({environment:t,queryNode:l1,variables:x,repoDataId:L.repository.id,queryArgs:{first:0,query:b,type:k,aggregations:!0}})},[t,l1,x,L.repository?.id,b,k]);let j=L.repository?.search?.closedIssueCount||0,v=L.repository?.search?.openIssueCount||0;return(0,el.jsx)("div",{...(0,e5.G)("list-view-section-filters"),children:(0,el.jsxs)("ul",{className:`list-style-none ${(0,er.$)(l0)}`,children:[(0,el.jsx)("li",{...(0,e5.G)("list-view-section-filter-0"),children:(0,el.jsx)(et.L,{title:"Open",isSelected:y&&!_,count:(0,l3.s)(v),href:d,onClick:e=>C(e,!0)},"open")},"section-filter-0"),(0,el.jsx)("li",{...(0,e5.G)("list-view-section-filter-1"),children:(0,el.jsx)(et.L,{title:"Closed",isSelected:_&&!y,count:(0,l3.s)(j),href:u,onClick:e=>C(e,!1)},"closed")},"section-filter-1")]})})}function l6({issueCount:e,issueNodes:l,setCheckedItems:a,setReactionEmojiToDisplay:n,setSortingItemSelected:t,setCurrentPage:i,updateListHasPRs:s,isInOrganization:r,searchType:o,...d}){let{scoped_repository:c,best_match_sort_enabled:u}=(0,ef.X)(),m=(0,lt.o1)(),C=(0,eo.useDeferredValue)(m),g=(0,lt.EX)(),{currentViewId:p}=(0,lt.$_)(),h=(0,lt.SR)(),f=(0,lt.Q7)(),{navigateToUrl:y}=(0,li.Y)(),_=(0,eo.useMemo)(()=>ln.k.numberOfResults(e),[e]),b=(0,eo.useCallback)((e,l)=>{(0,eo.startTransition)(()=>{g(e),y(l),i(1)})},[y,i,g]),[k,x]=(0,eo.useState)(!1),{setSelectedCount:L}=(0,lr.v)(),{setMultiPageSelectionAllowed:j}=(0,lh.P)(),v=(0,eo.useCallback)(e=>{if(e){let e=l.reduce((e,l)=>(null!=l&&e.set(l.id,l),e),new Map);a(e),s(e)}else a(new Map),k&&(x(!1),L(0),j?.(!1))},[l,L,a,k,j,s]),S=(0,eo.useCallback)(e=>(0,lj.Eq)({viewId:p,query:e}),[p]),w=(0,eo.useMemo)(()=>({key:"sort-by",render:e=>(0,el.jsx)(eU,{activeSearchQuery:h,dirtySearchQuery:C||h,setReactionEmojiToDisplay:n,setSortingItemSelected:t,searchUrl:S,nested:e,setCurrentPage:i,bestMatchSortEnabled:u})}),[h,C,S,i,n,t,u]),I=(0,eo.useMemo)(()=>({key:"spinner",render:()=>f?(0,el.jsx)(lS.A,{size:"small"}):(0,el.jsx)(el.Fragment,{})}),[f]),N=(0,eo.useMemo)(()=>{if(!c)return[];let e=[{key:"authors",render:e=>(0,el.jsx)(lK,{nested:e,repo:c,applySectionFilter:b})},{key:"labels",render:e=>(0,el.jsx)(lZ,{nested:e,repo:c,applySectionFilter:b})},{key:"projects",render:e=>(0,el.jsx)(lY,{nested:e,repo:c,applySectionFilter:b})},{key:"milestones",render:e=>(0,el.jsx)(lU,{nested:e,repo:c,applySectionFilter:b})},{key:"assignees",render:e=>(0,el.jsx)(lF,{nested:e,repo:c,applySectionFilter:b})}];return r&&e.push({key:"issue-types",render:e=>(0,el.jsx)(lD,{nested:e,repo:c,applySectionFilter:b})}),e},[b,c,r]),{isBrowser:A}=(0,lv.V)(),F=(0,eo.useMemo)(()=>A?[I,...N,w]:[],[A,N,w,I]);return(0,el.jsx)(lp.X,{title:!c&&_,sectionFilters:c&&(0,el.jsx)(l7,{applySectionFilter:b,scopedRepository:c,searchType:o}),onToggleSelectAll:v,density:"condensed",assistiveAnnouncement:f?ln.k.loadingQueryResults:void 0,actionsLabel:"Actions",actions:F,className:"ListItemsHeaderWithoutBulkActions-module__ListViewMetadata_0__mMrOF",...d})}function l9({...e}){let{anyItemsSelected:l}=(0,lr.v)();return l?(0,el.jsx)(lL,{...e}):(0,el.jsx)(l6,{...e})}l4.displayName="SuspendedFilterLinks",l7.displayName="OpenClosedTabs",l5.displayName="OpenClosedTabsInternal",l6.displayName="ListItemsHeaderWithoutBulkActions",l9.displayName="ListItemsHeader";var l8=a(77052);let ae=({itemsLabel:e})=>{let l=(0,lt.SR)(),{currentUser:a}=(0,ll.J)(),n=(0,eo.useMemo)(()=>(0,eh.ws)(l),[l]);return(0,el.jsx)("div",{className:"p-2",children:(0,el.jsx)(l8.l,{description:eI.n.moreItemsAvailableDescription(ex.tT.maxIssuesListItems(n,!!a),e),hideTitle:!0,title:eI.n.moreItemsAvailableTitle(e)})})};ae.displayName="MoreResultsAvailableBanner";let al={"issues-react:focus-next-issue":e3.l,"issues-react:focus-previous-issue":e3.l};function aa({key:e}){let{data:l,refetch:a}=(0,ek.usePaginationFragment)(eT,e);return{data:l,refetch:a}}function an({node:e,index:l,isSelected:a,metadataRef:n,onSelectRow:t,getMetadataHref:i,getAdditiveMetadataHref:s,onSidePanelNavigate:r,reactionEmojiToDisplay:o,sortingItemSelected:d,scopedRepository:c,navigate:u,itemSelectedRef:m,handleNavigateRef:C}){let g=(0,eo.useCallback)(l=>m.current(e.id,e,l),[e,m]),p=(0,eo.useCallback)((e,a)=>C.current(e,a,l),[C,l]);return(0,el.jsxs)("div",{className:"ListItems-module__listItem__EaWcf",children:["Issue"===e.__typename&&(0,el.jsx)(eD.M,{issueKey:e,metadataRef:n,isActive:!1,isSelected:a,getMetadataHref:i,onSelect:g,onSelectRow:t,onNavigate:p,onSidePanelNavigate:r,reactionEmojiToDisplay:o,sortingItemSelected:d,scopedRepository:c,"data-testid":eN.Y.issueRowItem(e.number),getAdditiveMetadataHref:s}),"PullRequest"===e.__typename&&(0,el.jsx)(e$.L,{pullRequestKey:e,metadataRef:n,onNavigate:u,isActive:!1,isSelected:a,getMetadataHref:i,onSelect:g,onSelectRow:t,reactionEmojiToDisplay:o,sortingItemSelected:d,"data-testid":eN.Y.pullRequestRowItem(e.number)})]})}aa.displayName="SearchFunction",an.displayName="RowItemComponent";let at=(0,eo.memo)(an);function ai({search:e,queryFromCustomView:l,listRef:a,isBulkSupported:n,isInOrganization:t,onSidePanelNavigate:i,onIssueNavigate:s,updateIssueSearchType:r,onListItemsChange:o,searchType:d}){let c,u=`${e7.fV.pathname}${e7.fV.search}`,{scoped_repository:m,best_match_sort_enabled:C}=(0,ef.X)(),{currentUser:g}=(0,ll.J)(),p=(0,lt.SR)(),h=(0,lt.aP)(),f=(0,lt.Ik)(),[y,_]=(0,eo.useState)(!1),b=(0,ey.Zp)(),k=(0,e8.X)(["mac"]),[x,L]=(0,eo.useState)(),{shiftKeyPressedRef:j}=(c=(0,eo.useRef)(!1),(0,eo.useEffect)(()=>{let e=e=>c.current=e.shiftKey,l=()=>c.current=!1;return window.addEventListener("keydown",e),window.addEventListener("keyup",l),()=>{window.removeEventListener("keydown",e),window.removeEventListener("keyup",l)}},[]),{shiftKeyPressedRef:c}),[v,S]=(0,e4.l)(eD.U,null,e0.Gd),{data:w,refetch:I}=aa({key:e}),N=null===w.search||void 0===w.search,A=w.search?.ok?null:w.search?.errors;if(!w.search.ok){let e=A?.some(e=>e&&"object"==typeof e&&"type"in e&&"SERVICE_UNAVAILABLE"===e.type),l=Error(`ListItemsPaginated: pageData.search.value.edges is errored. Errors: ${JSON.stringify(A)}`);throw l.shouldSkipReport=e??!1,l}let{ok:F,value:{edges:M,issueCount:T,issueSearchType:K}={}}=w.search,V=null!=M,[R,E]=(0,eo.useState)(!1);(0,eo.useEffect)(()=>{(0,eK.i)(ln.k.numberOfResults(T||0),{assertive:!0})},[T]),(0,eo.useEffect)(()=>{r?.(K)},[K,r]),(0,eo.useEffect)(()=>{let e=w.id&&"RootQueryObject"!==w.id;if(!R&&N&&e)return I({},{fetchPolicy:"network-only",onComplete:()=>E(!0)}).dispose},[p,I,R,N,w]);let D=(0,eo.useMemo)(()=>M?M.map(e=>e?.node&&("PullRequest"===e.node.__typename||"Issue"===e.node.__typename)?e.node:null).filter(e=>null!=e):[],[M]),{registerBulkJobSuccess:P}=(0,lt.ML)(),$=(0,ek.useRelayEnvironment)();(0,eo.useEffect)(()=>{o&&o(D.map(e=>e&&e.repository&&("Issue"===e.__typename||"PullRequest"===e.__typename)?{number:e.number,owner:e.repository.owner.login,repo:e.repository.name,type:e.__typename}:null).filter(e=>null!==e))},[D,o]);let B=(0,eo.useRef)(null),O=(0,eo.useMemo)(()=>(0,eh.ws)(p),[p]),Z=ex.tT.maxIssuesListItems(O,!!g),H=(0,eo.useMemo)(()=>T?Math.ceil(Math.min(Z,T)/ex.tT.issuesPageSize()):0,[T,Z]),{getQueryFieldUrl:q,getAdditiveQueryFieldUrl:z,navigateToUrl:U}=(0,li.Y)(),Q=(0,eo.useCallback)((e,l)=>{if((k?e.metaKey:e.ctrlKey)||e.shiftKey)return;e.preventDefault();let a=(0,ls.N7)(u,l);f(l),U(a)},[k,u,f,U]),W=(0,eo.useCallback)(e=>(0,ls.N7)(u,e),[u]),{initialSortingItem:G,initialReactionEmojiToDisplay:Y}=(0,eo.useMemo)(()=>{let e=(0,eh.mA)(l||p).get("sort"),a=eQ(e?.[0]||"",C),n=eG(a),t=eO.qG[n||""];return{initialSortingItem:a||"created",initialReactionEmojiToDisplay:t?{reaction:n||"",reactionEmoji:t}:void 0}},[p,l,C]),[X,J]=(0,eo.useState)(Y),[ee,ea]=(0,eo.useState)(G),[en,et]=(0,eo.useState)(!1),{sendAnalyticsEvent:ei}=(0,e9.s)(),es=(0,eo.useMemo)(()=>n&&!(0,eh.y9)(p),[p,n]),[ed,ec]=(0,eo.useState)(()=>new Map),eu=(0,eV.G7)("issues_bulk_sync_search_indexing");(0,eo.useEffect)(()=>{if(eu)return P(()=>{I({},{fetchPolicy:"store-and-network"}),$.commitUpdate(e=>{(0,eR.Yt)(e)})}),()=>{P(null)}},[I,P,eu,$]);let em=e=>{et(Array.from(e.values()).some(e=>"PullRequest"===e.__typename))},eC=(0,eo.useCallback)((e,l,a,n)=>{let t=D.findIndex(e=>e.id===l),i=D.findIndex(e=>e.id===a);if(-1!==t&&-1!==i)for(let l=Math.min(t,i);l<=Math.max(t,i);l++){let a=D[l];n?e.set(a.id,a):e.delete(a.id),em(e)}},[D]),eg=(0,eo.useCallback)((e,l,a)=>{let n=new Map(ed);j.current&&x?eC(n,x.id,e,a):(a?n.set(e,l):n.delete(e),em(n)),ec(n),L({id:e,node:l})},[eC,ed,x,j]);(0,eo.useEffect)(()=>{Array.from(ed.values()).find(e=>!D.find(l=>l===e))&&ec(D.reduce((e,l)=>(l&&ed.has(l.id)&&e.set(l.id,l),e),new Map))},[ed,D]),(0,eo.useEffect)(()=>{let e=(0,ls.Ys)(e7.fV.search);f(e>1?e:1),ec(new Map)},[f,u]);let ep=(0,eo.useMemo)(()=>D.reduce((e,l)=>(null!=l&&e.push(l),e),[]),[D]),e_=(0,el.jsx)(l9,{checkedItems:ed,issueCount:T||0,issueNodes:ep,sortingItemSelected:ee,setCheckedItems:ec,setReactionEmojiToDisplay:J,setSortingItemSelected:ea,useBulkActions:es,setCurrentPage:f,listHasPRs:en,updateListHasPRs:em,isInOrganization:t,searchType:d}),eb=(0,eo.useCallback)(e=>{ei("search_results.select_row","SEARCH_RESULT_ROW",{...e})},[ei]),eL=(0,eo.useMemo)(()=>new Set(D?.map(e=>e?.__typename)||[]),[D]),ej=(0,eo.useCallback)((e,l={},a)=>(s?.(a),U(e,l,!0)),[U,s]),ev=(0,eo.useRef)(eg);ev.current=eg;let eS=(0,eo.useRef)(ej);eS.current=ej;let[ew]=(0,le.Fo)(`${m?.owner}-${m?.name}-deletedRecordId`,""),eI=(0,eo.useMemo)(()=>D.map(e=>e?.id).filter(e=>e!==ew).filter(Boolean),[D,ew]),eA=null!==v;(0,eo.useEffect)(()=>{S({nodes:eI,includeReactions:!!Y})},[Y,S,eI,eA]);let eF=D?.map((e,l)=>null==e||e.id===ew?null:(0,el.jsx)(at,{node:e,index:l,isSelected:ed.has(e.id),metadataRef:v,getMetadataHref:q,getAdditiveMetadataHref:z,onSelectRow:eb,onSidePanelNavigate:i,reactionEmojiToDisplay:X,sortingItemSelected:ee,scopedRepository:m,navigate:b,itemSelectedRef:ev,handleNavigateRef:eS},e.id));(0,eo.useEffect)(()=>{y&&h&&((0,eK.i)(ln.k.announcePage(h,H,eF.length)),_(!1))},[h,y,eF.length,H]);let eM=void 0!==h&&H===h&&void 0!==T&&T>Z,eT=()=>{if(a.current){let e=a.current.querySelector('[tabindex="0"]');e&&e instanceof HTMLElement&&e.focus()}},e$=(0,el.jsxs)(el.Fragment,{children:[(0,el.jsx)(e6.ak,{commands:{"issues-react:focus-next-issue":eT,"issues-react:focus-previous-issue":eT}}),(0,el.jsx)("div",{"data-testid":"list-load-progress-bar",ref:B,className:(0,er.$)("turbo-progress-bar","ListItems-module__progressBar__q_sFu")}),(0,el.jsx)(e6.tL,{commands:al,className:"ListItems-module__listScopedCommand__l05gV",children:(0,el.jsxs)(eE.u,{...(0,e5.G)(eN.Y.list),title:ln.k.searchResults,totalCount:T||0,selectedCount:ed.size,titleHeaderTag:"h2",isSelectable:es,metadata:e_,singularUnits:ln.k.singularUnits(eL),pluralUnits:ln.k.pluralUnits(eL),listRef:a,children:[eF,0===eF.length&&!N&&F&&V&&(0,el.jsx)(eP,{}),eM&&(0,el.jsx)(ae,{itemsLabel:ln.k.pluralUnits(eL)??"issues"})]})})]});return(0,el.jsxs)("div",{children:[(0,el.jsx)("div",{"data-hpc":!0,className:"ListItems-module__listContainer__nGkuS",children:e$}),h&&H>1?(0,el.jsx)(la.A,{pageCount:H,currentPage:h,onPageChange:Q,hrefBuilder:W,marginPageCount:2,surroundingPageCount:2}):null]})}function as({itemIdentifier:e,query:l,search:a,repository:n,loadSearchQuery:t,queryFromCustomView:i,listRef:s,onSidePanelNavigate:r,onIssueNavigate:o,updateIssueSearchType:d,onListItemsChange:c,searchType:u,hasSsoOrgs:m}){let C=(0,ek.useFragment)(ea,a),{scoped_repository:g,best_match_sort_enabled:p}=(0,ef.X)(),{pathname:h}=(0,ey.zy)(),f=e?.number===void 0&&"/issues/new"!==h,y=(0,ek.useFragment)(en,n),_=y&&y.viewerCanPush&&!(y.isDisabled||y.isLocked||y.isArchived),b=[(0,el.jsx)(et.L,{title:"Open",isLoading:!0,href:""},"open"),(0,el.jsx)(et.L,{title:"Closed",isLoading:!0,href:""},"closed")];return(0,el.jsx)(eo.Suspense,{fallback:(0,el.jsx)(ep,{sectionFilters:b,showBorder:f,layoutDensity:"default",pageSize:ex.tT.issuesPageSize()}),children:(0,el.jsx)(e_.A,{critical:!0,fallback:m?eF:eA,onRetry:()=>{l&&t&&t({query:(0,eh.$Z)(l,g,p),owner:g?g.owner:"",name:g?g.name:"",...u&&"ISSUE_ADVANCED"!==u&&{type:u}},{fetchPolicy:"network-only"})},children:(0,el.jsx)(eb.Rr,{children:(0,el.jsx)(ai,{search:C,queryFromCustomView:i,listRef:s,isBulkSupported:_??!1,onSidePanelNavigate:r,isInOrganization:y?.isInOrganization??!1,onIssueNavigate:o,updateIssueSearchType:d,onListItemsChange:c,searchType:u})})})})}at.displayName="RowItem",ai.displayName="ListItems",as.displayName="SearchList"},83943(e,l,a){a.d(l,{A:()=>o});var n=a(74848),t=a(26707),i=a(70452),s=a(92193),r=a(8697);function o({customViewsRef:e}){let{isNavigationOpen:l,closeNavigation:a}=(0,s.t)();return l?(0,n.jsx)(t.l,{width:"large",title:i.k.allViews,onClose:a,children:(0,n.jsx)(r.B,{customViewsRef:e})}):null}o.displayName="MobileNavigation"},98182(e,l,a){a.d(l,{Q:()=>b});var n=a(74848),t=a(26384),i=a(6742),s=a(52111),r=a(54590),o=a(72685),d=a(32694),c=a(52246),u=a(96540),m=a(18312),C=a(70452),g=a(92193),p=a(61190),h=a(58871),f=a(66943),y=a(88004);function _({component:e}){return e?(0,n.jsx)(e,{}):null}function b({id:e,icon:l,Icon:a,color:k,title:x,position:L,query:j}){let v=(0,u.useMemo)(()=>l?(0,y.VH)(l):null,[l]),{setViewPosition:S,currentViewId:w}=(0,p.$_)(),{setCanEditView:I,isNewView:N,setIsNewView:A,setIsEditing:F,dirtyViewId:M}=(0,p.No)(),T=(0,p.Ik)(),{dirtyDescription:K,dirtyTitle:V}=(0,p.oP)(),R=(0,p.o1)(),{clearSavedViewEditState:E}=(0,p.iI)(),{closeNavigation:D}=(0,g.t)(),{navigateToUrl:P}=(0,h.Y)(),$=(0,m.useRelayEnvironment)(),B=(0,r.Zp)(),O=(0,o.S)(),Z=e===w,H=(0,t.Eq)({viewId:e,query:j}),q=(0,u.useCallback)(async()=>{P(H),T(1)},[P,H,T]),z=(0,u.useCallback)(()=>{if(void 0===M)return;let e={environment:$,input:{shortcutId:M},onError:s.l,onCompleted:s.l};(0,f.t)(e)},[M,$]),U=(0,u.useCallback)(async()=>{if(e===i.B.repository)return q();if(N&&(V!==C.k.views.defaultName||""!==R||""!==K)){if(!await O({title:C.k.views.unsavedChangesTitle,content:C.k.views.unsavedChangesContent,confirmButtonType:"danger"}))return;z()}F(!1),A(!1),E(),S(L),I(!0),D(),B(H)},[e,N,V,R,K,F,A,B,H,E,S,L,I,D,q,O,z]),Q=(0,u.useCallback)(e=>{e.preventDefault(),e.stopPropagation(),U()},[U]),W=(0,u.useMemo)(()=>(0,c.A)(Q,1e3,{leading:!0,trailing:!1}),[Q]);return(0,n.jsx)(d.c.Item,{to:H,as:r.N_,"aria-current":Z?"page":void 0,onClick:W,className:"SavedViewItem-module__navItem__Wfvh1",children:(0,n.jsxs)("div",{className:"SavedViewItem-module__itemText__ebHfJ",children:[(0,n.jsx)("div",{className:"SavedViewItem-module__icon__aEccP","data-color":k.toLowerCase(),children:(0,n.jsx)(_,{component:a??v})}),(0,n.jsx)("span",{className:"SavedViewItem-module__truncatedItemText__kVSQQ",children:x})]})})}_.displayName="StaticIconRenderer",b.displayName="SavedViewItem"},47760(e,l,a){a.d(l,{i:()=>I,B:()=>w});var n,t=a(74848),i=a(47769);let s={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"SavedViewsShortcutsFragment",selections:[{alias:null,args:[{kind:"Literal",name:"first",value:25},{kind:"Literal",name:"searchTypes",value:["ISSUES"]}],concreteType:"SearchShortcutConnection",kind:"LinkedField",name:"shortcuts",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null},{alias:null,args:null,concreteType:"SearchShortcut",kind:"LinkedField",name:"nodes",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"query",storageKey:null},{args:null,kind:"FragmentSpread",name:"SavedViewRow"}],storageKey:null}],storageKey:'shortcuts(first:25,searchTypes:["ISSUES"])'}],type:"UserDashboard",abstractKey:null};s.hash="54b562703acca0689408ea22e5656e42";var r=a(32694),o=a(96540),d=a(18312),c=a(70452),u=a(68333),m=a(61190),C=a(71732),g=a(91163),p=a(52111),h=a(38621),f=a(72685),y=a(26108),_=a(26707),b=a(58871),k=a(66943);function x({disabled:e}){let{commitUserViewCreate:l}=(0,m.iI)(),{dirtyDescription:a,dirtyTitle:n}=(0,m.oP)(),i=(0,m.o1)(),{dirtyViewId:s,setDirtyViewId:r,isNewView:C}=(0,m.No)(),g=(0,d.useRelayEnvironment)(),L=(0,f.S)(),[j,v]=(0,o.useState)(!1),{navigateToSavedView:S}=(0,b.Y)(),w=(0,o.useCallback)(()=>{v(!0)},[v]),I=(0,o.useCallback)(()=>{if(void 0===s)return;let e={environment:g,input:{shortcutId:s},onError:p.l,onCompleted:p.l};(0,k.t)(e)},[s,g]),N=(0,o.useCallback)(async()=>{if(C&&(n!==c.k.views.defaultName||""!==i||""!==a)){if(!await L({title:c.k.views.unsavedChangesTitle,content:c.k.views.unsavedChangesContent,confirmButtonType:"danger"}))return;I()}l({onSuccess:({createDashboardSearchShortcut:e})=>{e?.shortcut&&(r(e.shortcut.id),S(e.shortcut.id,{isNewView:!0}))},relayEnvironment:g})},[l,L,I,a,i,n,C,S,g,r]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(y.K,{icon:h.PlusIcon,size:"small",variant:"invisible","aria-label":e?c.k.views.maxViewsTooltip:c.k.views.createLink,onClick:e?w:N,className:e?"CreateSavedView-module__disabled__yfwnI":"",inactive:e}),e&&j&&(0,t.jsx)(_.l,{title:`${c.k.views.maxViewsTooltip} (${u.tT.viewsPageSize})`,onClose:()=>v(!1),children:c.k.views.maxViewsDescription})]})}x.displayName="CreateSavedView";let L={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"SavedViewRow",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"icon",storageKey:null},n={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"color",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"query",storageKey:null},{alias:null,args:null,concreteType:"Repository",kind:"LinkedField",name:"scopingRepository",plural:!1,selections:[n,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"owner",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"login",storageKey:null}],storageKey:null}],storageKey:null}],type:"SearchShortcut",abstractKey:null};L.hash="ccf64a6e8946f133ba890e4c61f6e60e";var j=a(34784),v=a(98182);function S({savedView:e,position:l}){let a,n,i=(0,j.useFragment)(L,e);return i&&(0,t.jsx)(v.Q,{id:i.id,position:l,icon:i.icon,color:i.color,title:i.name,description:i.description,query:(a=i.query,(n=i.scopingRepository)?`repo:${n.owner.login}/${n.name} ${a}`:a)},i.id)}S.displayName="SavedViewRow";let w=i.A;function I({savedViewsRef:e}){let l=(0,d.usePreloadedQuery)(w,e);return l.viewer.dashboard?(0,t.jsx)(N,{savedViewsRef:l.viewer.dashboard}):null}function N({savedViewsRef:e}){let{knownViews:l}=(0,C.A)(),{setSavedViewsCount:a}=(0,m.$_)(),n=(0,d.useFragment)(s,e),i=(0,o.useMemo)(()=>n.shortcuts.nodes||[],[n.shortcuts.nodes]);(0,o.useEffect)(()=>{a(n.shortcuts.totalCount)},[n,a]);let p=(0,o.useMemo)(()=>i.filter(A).map((e,a)=>({id:e.id,name:e.name,query:e.query,position:a+l.length+1})),[l.length,i]),h=(0,o.useMemo)(()=>p?.map(e=>e.position.toString()),[p]);return(0,g.$)(p,h,l.length),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"d-flex flex-items-center SavedViews-module__headerRow__TMNUF",children:[(0,t.jsx)("span",{className:"flex-1",children:c.k.viewsTitle}),(0,t.jsx)(x,{disabled:i.length>=u.tT.viewsPageSize})]}),(0,t.jsx)(r.c,{"aria-label":c.k.viewsTitle,className:"SavedViews-module__savedViewsList__jQW4m",children:i.length>0&&i.filter(A).map((e,l)=>(0,t.jsx)(S,{savedView:e,position:l+1},e.id))})]})}function A(e){return null!=e}I.displayName="SavedViews",N.displayName="SavedViewsInternal"},8697(e,l,a){a.d(l,{B:()=>j});var n=a(74848),t=a(32694),i=a(34164),s=a(96540),r=a(70452),o=a(68333),d=a(92193),c=a(71732),u=a(91163),m=a(7357),C=a(46249);function g(){return(0,n.jsx)("div",{className:"AppTitle-module__AppTitleContainer__WfeY4",children:(0,n.jsx)(C.A,{id:"sidebar-title",as:"h2",className:"AppTitle-module__Heading__oiISy",children:(0,n.jsx)("span",{children:r.k.appHeader})})})}g.displayName="AppTitle";var p=a(88004),h=a(98182),f=a(47760),y=a(89917),_=a(77236),b=a(4978),k=a(91717);function x({icon:e,title:l,id:a,path:i,tooltip:s,onClick:r}){let o=(0,k.rW)();return(0,n.jsxs)(t.c.Item,{as:_.N,"aria-current":o===a?"page":void 0,to:i,onClick:r,children:[(0,n.jsx)(t.c.LeadingVisual,{children:(0,n.jsx)(e,{})}),(0,n.jsx)(b.A,{"aria-label":s,children:l})]})}function L(){let{knownViews:e}=(0,c.A)(),l=e.filter(e=>!e.hidden).map((e,l)=>e.url?(0,n.jsx)(x,{icon:(0,p.VH)(e.icon),id:e.id,path:e.url,title:e.name,tooltip:""},e.id):(0,n.jsx)(h.Q,{id:e.id,icon:e.icon,color:o.tT.defaultViewColor,title:e.name,query:e.query,position:l+1},e.id));return(0,n.jsxs)("nav",{"aria-labelledby":"sidebar-title",className:"SidebarLoading-module__SidebarLoadingContainer__CDMXH",children:[(0,n.jsx)("div",{className:"sr-only","aria-hidden":"true",children:(0,n.jsx)(g,{})}),(0,n.jsx)(t.c,{"aria-label":r.k.defaultViews,className:"SidebarLoading-module__SavedViewsList__wQNhH",children:l}),(0,n.jsx)(t.c,{className:"SidebarLoading-module__LoadingViewsList__nC0tp",children:[...Array(o.tT.viewLoadingSize)].map((e,l)=>(0,n.jsxs)(t.c.Item,{children:[(0,n.jsx)(t.c.LeadingVisual,{children:(0,n.jsx)(y.Q,{borderRadius:"elliptical",height:"md",width:"md"})}),(0,n.jsx)(y.Q,{height:"sm",width:"random"})]},l))}),(0,n.jsx)("div",{className:"SidebarLoading-module__sidebarLoadingFooter__A4F0w",children:(0,n.jsx)("div",{className:"SidebarLoading-module__ctaContainer__RbbR2",children:(0,n.jsx)(m.F,{})})})]})}x.displayName="SidebarRow",L.displayName="SidebarLoading";let j=({customViewsRef:e,isFullHeight:l})=>e?(0,n.jsx)(s.Suspense,{fallback:(0,n.jsx)(L,{}),children:(0,n.jsx)(v,{customViewsRef:e,isFullHeight:l})}):(0,n.jsx)(L,{});function v({customViewsRef:e,isFullHeight:l}){let{knownViews:a,knownViewRoutes:C}=(0,c.A)(),{isNavigationOpen:y}=(0,d.t)(),_=(0,s.useMemo)(()=>a.map((e,l)=>(l+1).toString()),[a]);(0,u.$)(C,_);let b=a.filter(e=>!e.hidden).map((e,l)=>e.url?(0,n.jsx)(x,{title:e.name,icon:(0,p.VH)(e.icon),id:e.id,path:e.url,tooltip:e.name},e.id):(0,n.jsx)(h.Q,{id:e.id,position:l+1,icon:e.icon,color:o.tT.defaultViewColor,title:e.name},e.id));return(0,n.jsxs)(y?"div":"nav",{"aria-labelledby":"sidebar-title",className:(0,i.$)("Sidebar-module__SidebarContainer__rhc0H",l&&"Sidebar-module__SidebarContainerFullHeight__VKbxc"),children:[(0,n.jsx)("div",{className:"sr-only","aria-hidden":"true",children:(0,n.jsx)(g,{})}),(0,n.jsx)(t.c,{"aria-label":r.k.defaultViews,className:"Sidebar-module__SavedViewsList__qer5e",children:b}),(0,n.jsx)(f.i,{savedViewsRef:e}),(0,n.jsx)("div",{className:"Sidebar-module__sidebarFooter__Y58jP",children:(0,n.jsx)(m.F,{})})]})}j.displayName="Sidebar",v.displayName="SidebarInternal"},60182(e,l,a){a.d(l,{l:()=>n});let n={comment:"Comment",create:"Create",cancel:"Cancel",discardChanges:"Discard changes",save:"Save",apply:"Apply",issues:"Issues",addAssignees:"Add assignees",addLabels:"Add labels",addMilestone:"Add milestone",newIssue:"New issue",hideDetails:"Hide details",showDetails:"Show details",sendFeedback:"Give feedback",saveView:"Save view",returnToList:"Return to list",setIssueType:"Issue type"}},25154(e,l,a){a.d(l,{y:()=>s});var n=a(94653),t=a(96540),i=a(70150);function s(e){let{ssoOrgs:l}=(0,n.N)(),a=l.map(e=>e.login).filter(e=>void 0!==e),[s,r]=(0,t.useState)([]),[o,d]=(0,t.useState)(()=>new Set),c=(0,t.useCallback)(e=>{r(e),e.length>0&&d(l=>{let a=new Set(l);for(let l of e)a.add(l);return a.size===l.size?l:a})},[]),u=(0,t.useMemo)(()=>(0,i.oL)(e??"",[...a,...o]),[e,a,o]),m=(0,t.useMemo)(()=>[...new Set([...a,...s,...u])],[a,s,u]);return{orgNames:a,allSsoOrgs:m,filterDetectedSsoOrgs:(0,t.useMemo)(()=>[...new Set([...s,...u])],[s,u]),onSsoOrgsFromFilter:c}}},91163(e,l,a){a.d(l,{$:()=>u});var n=a(26384),t=a(93110),i=a(67461),s=a(54590),r=a(96540),o=a(61190),d=a(71732),c=a(45649);let u=(e,l,a=0)=>{let u=(0,s.Zp)(),{viewPosition:m,setViewPosition:C}=(0,o.$_)(),g=(0,o.SR)(),{setIsNewView:p}=(0,o.No)(),{viewId:h}=(0,c.D)(),{knownViewRoutes:f}=(0,d.A)(),y=(0,r.useCallback)(()=>{let l=e.findIndex(e=>e.id===h);return m||-1===l||C(e[l].position),-1===l&&(l=e.findIndex(e=>e.query===g)),l},[e,m,h,C,g]),_=(0,r.useCallback)(e=>{p(!1),e.query?u((0,n.Eq)({viewId:e.id,query:void 0})):e.url&&u(e.url),C(e.position)},[u,p,C]),b=(0,r.useCallback)(l=>{!isNaN(l)&&l>=0&&l{e.altKey&&e.shiftKey&&b(parseInt(e.code.substring(e.code.length-1),10)-a-1)},[a,b]),x=(0,r.useCallback)(l=>{if(l.altKey&&l.shiftKey){let a=y();-1===a?m===f.length+1&&"ArrowUp"===l.key?b(e.length-1):m===f.length&&"ArrowDown"===l.key&&b(0):a>=1&&"ArrowUp"===l.key?b(a-1):a+1d});let n={fragment:{argumentDefinitions:t=[{defaultValue:null,kind:"LocalArgument",name:"input"}],kind:"Fragment",metadata:null,name:"removeUserViewMutation",selections:[{alias:null,args:i=[{kind:"Variable",name:"input",variableName:"input"}],concreteType:"RemoveDashboardSearchShortcutPayload",kind:"LinkedField",name:"removeDashboardSearchShortcut",plural:!1,selections:[{alias:null,args:null,concreteType:"UserDashboard",kind:"LinkedField",name:"dashboard",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"SavedViewsShortcutsFragment"}],storageKey:null},{alias:null,args:null,concreteType:"SearchShortcut",kind:"LinkedField",name:"shortcut",plural:!1,selections:[s={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:t,kind:"Operation",name:"removeUserViewMutation",selections:[{alias:null,args:i,concreteType:"RemoveDashboardSearchShortcutPayload",kind:"LinkedField",name:"removeDashboardSearchShortcut",plural:!1,selections:[{alias:null,args:null,concreteType:"UserDashboard",kind:"LinkedField",name:"dashboard",plural:!1,selections:[{alias:null,args:[{kind:"Literal",name:"first",value:25},{kind:"Literal",name:"searchTypes",value:["ISSUES"]}],concreteType:"SearchShortcutConnection",kind:"LinkedField",name:"shortcuts",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null},{alias:null,args:null,concreteType:"SearchShortcut",kind:"LinkedField",name:"nodes",plural:!0,selections:[s,r={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"query",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"icon",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"color",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},{alias:null,args:null,concreteType:"Repository",kind:"LinkedField",name:"scopingRepository",plural:!1,selections:[r,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"owner",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"login",storageKey:null},s],storageKey:null},s],storageKey:null}],storageKey:null}],storageKey:'shortcuts(first:25,searchTypes:["ISSUES"])'},s],storageKey:null},{alias:null,args:null,concreteType:"SearchShortcut",kind:"LinkedField",name:"shortcut",plural:!1,selections:[s,{alias:null,args:null,filters:null,handle:"deleteRecord",key:"",kind:"ScalarHandle",name:"id"}],storageKey:null}],storageKey:null}]},params:{id:"2939ea7192de2c6284da481de6737322",metadata:{},name:"removeUserViewMutation",operationKind:"mutation",text:null}};n.hash="245da169b3f76a221246bc00c4db41b4";var t,i,s,r,o=a(18312);function d({environment:e,input:{shortcutId:l},onCompleted:a,onError:t}){return(0,o.commitMutation)(e,{mutation:n,variables:{input:{shortcutId:l}},onCompleted:e=>a&&a(e),onError:e=>t&&t(e)})}},70150(e,l,a){a.d(l,{AB:()=>t,XT:()=>s,oL:()=>i});var n=a(89571);function t(e){let l=new Set;for(let a of e.blocks)if((0,n.aK)(a)){for(let e of a.value.values)if(e.validations?.some(e=>e.type===n.b.SsoRequired)&&e.ssoUrl){let t=(0,n.I8)(e.value)??"",i="repo"===a.key.value&&t.includes("/")?t.split("/")[0]:t;i&&l.add(i)}}return Array.from(l)}function i(e,l){if(!e||0===l.length)return[];let a=new Set(l.map(e=>e.toLowerCase())),n=[];for(let l of e.matchAll(/\borg:(\S+)/gi)){let e=l[1];a.has(e.toLowerCase())&&n.push(e)}for(let l of e.matchAll(/\brepo:(\S+?)\/\S+/gi)){let e=l[1];a.has(e.toLowerCase())&&n.push(e)}return[...new Set(n)]}function s(e,l,a){if(0===l.length)return e;let n=new Set(l.map(e=>e.toLowerCase()));return e.filter(e=>{if(!a){let l=e.match(/Invalid value
([^<]+)<\/pre> for 
(org|repo)<\/pre>/);if(!l)return!0;let a=l[1],t="repo"===l[2]&&a.includes("/")?a.split("/")[0]:a;return!n.has(t.toLowerCase())}let l=e.match(/Authenticate with (.+?) to access 
[^<]+<\/pre> for 
(org|repo)<\/pre>/);return!l||!n.has(l[1].toLowerCase())})}},54850(e,l,a){a.d(l,{D:()=>n});function n(e){return null!=e}},44685(e,l,a){a.d(l,{Gl:()=>s,Yt:()=>r,s9:()=>i});var n=a(69487);let t=new Map;function i(e){let l,a,i,{environment:s,queryNode:r,variables:o,repoDataId:d,queryArgs:c}=e,u=(l=o.owner??"",a=o.name??"",i=o.query??"",`${l}/${a}:${i}`);t.get(u)?.disposable.dispose();let m=(0,n.getRequest)(r),C=(0,n.createOperationDescriptor)(m,o),g=s.retain(C);t.set(u,{searchInfo:{repoDataId:d,queryArgs:c},disposable:g})}function s(e,l){if(0!==t.size)for(let{searchInfo:a}of t.values()){let n=e.get(a.repoDataId);if(!n)continue;let t=n.getLinkedRecord("search",a.queryArgs);if(!t)continue;let i=t.getValue("openIssueCount")??0,s=t.getValue("closedIssueCount")??0;t.setValue(Math.max(0,i+l),"openIssueCount"),t.setValue(Math.max(0,s-l),"closedIssueCount")}}function r(e){if(0!==t.size)for(let{searchInfo:l}of t.values()){let a=e.get(l.repoDataId);if(!a)continue;let n=a.getLinkedRecord("search",l.queryArgs);n&&n.invalidateRecord()}}},63296(e,l,a){a.d(l,{x:()=>p});var n=a(74848),t=a(16522),i=a(38621),s=a(56133),r=a(59134),o=a(20757),d=a(18990),c=a(54590),u=a(34164),m=a(96540),C=a(51189),g=a(99097);function p(e){let l,a,o,d,p,y,_,b=(0,t.c)(35),{className:k,portalContainerName:x,protectedOrgs:L,maxVisibleOrgNames:j,redirectURI:v,useFullWidthStyle:S,forceWrap:w}=e,I=void 0===j?3:j,N=(0,c.zy)(),A=(0,m.useRef)(!1);if(b[0]!==L?(l=()=>{!A.current&&L&&L.length>0&&((0,C.iv)({incrementKey:"LEGACY_SSO_BANNER_DISPLAYED_WITH_GLOBAL_BANNER_ENABLED",requestUrl:window.location.href}),A.current=!0)},a=[L],b[0]=L,b[1]=l,b[2]=a):(l=b[1],a=b[2]),(0,m.useEffect)(l,a),!L||0===L.length)return null;let F=Math.max(0,L.length-I);if(1===L.length||F>0){let e,l;b[3]!==I||b[4]!==L?(e=L.slice(0,I).join(", "),b[3]=I,b[4]=L,b[5]=e):e=b[5],b[6]!==e?(l=(0,n.jsx)("b",{children:e}),b[6]=e,b[7]=l):l=b[7],o=l}else{let e,l,a,t;b[8]!==L?(e=L.slice(0,L.length-1).join(", "),b[8]=L,b[9]=e):e=b[9],b[10]!==e?(l=(0,n.jsx)("b",{children:e}),b[10]=e,b[11]=l):l=b[11];let i=L.length>2&&",",s=L[L.length-1];b[12]!==s?(a=(0,n.jsx)("b",{children:s}),b[12]=s,b[13]=a):a=b[13],b[14]!==l||b[15]!==i||b[16]!==a?(t=(0,n.jsxs)("span",{children:[l,i," and ",a]}),b[14]=l,b[15]=i,b[16]=a,b[17]=t):t=b[17],o=t}let M=o,T=S&&g.A.FlashFullWidth;return b[18]!==T?(d=(0,u.$)(g.A.Flash,T),b[18]=T,b[19]=d):d=b[19],b[20]!==w||b[21]!==F||b[22]!==N||b[23]!==I||b[24]!==x||b[25]!==L||b[26]!==v||b[27]!==M?(p=1===L.length?(0,n.jsxs)("div",{children:[(0,n.jsx)(i.ShieldLockIcon,{className:g.A.ShieldLockIcon}),(0,n.jsx)(s.A,{inline:!0,href:`/orgs/${L[0]}/sso?return_to=${f({location:N,redirectURI:v})}`,children:"Single sign-on"})," ","to see results in the ",(0,n.jsx)("b",{children:L[0]})," organization."]}):(0,n.jsxs)("div",{className:g.A.multiOrgLayout,children:[(0,n.jsx)(i.ShieldLockIcon,{className:g.A.Octicon}),(0,n.jsxs)("div",{className:(0,u.$)(g.A.orgListWrapper,w&&g.A.ForceWrap),children:[(0,n.jsxs)("p",{className:g.A.ProtectedOrgs_FullList,children:["Single sign-on to see results in ",0===F&&"the ",I>0&&(0,n.jsxs)(n.Fragment,{children:[M," "]}),F>0&&(0,n.jsxs)(n.Fragment,{children:[I>0&&"and ",F," other"," "]}),L.length>1&&1!==F?"organizations":"organization","."]}),(0,n.jsx)("p",{className:g.A.ProtectedOrgs_Shortened,children:"Single sign-on to see results in your organizations"}),(0,n.jsx)("div",{style:{flexShrink:0},children:(0,n.jsx)(h,{portalContainerName:x,protectedOrgs:L,redirectURI:v})})]})]}),b[20]=w,b[21]=F,b[22]=N,b[23]=I,b[24]=x,b[25]=L,b[26]=v,b[27]=M,b[28]=p):p=b[28],b[29]!==d||b[30]!==p?(y=(0,n.jsx)("div",{className:g.A.bannerContainer,children:(0,n.jsx)("section",{"aria-label":"Single sign-on information",children:(0,n.jsx)(r.A,{className:d,children:p})})}),b[29]=d,b[30]=p,b[31]=y):y=b[31],b[32]!==k||b[33]!==y?(_=(0,n.jsx)("div",{className:k,"data-testid":"sso-banner",children:y}),b[32]=k,b[33]=y,b[34]=_):_=b[34],_}function h(e){let l,a,i,s,r=(0,t.c)(13),{portalContainerName:u,protectedOrgs:m,redirectURI:C}=e,g=(0,c.zy)();if(r[0]===Symbol.for("react.memo_cache_sentinel")?(l=(0,n.jsx)(o.W.Button,{size:"small",children:"Select an organization"}),r[0]=l):l=r[0],r[1]!==g||r[2]!==m||r[3]!==C){let e;r[5]!==g||r[6]!==C?(e=e=>(0,n.jsx)(d.l.Item,{onSelect:()=>{window.location.href=`/orgs/${encodeURIComponent(e)}/sso?return_to=${f({location:g,redirectURI:C})}`},children:e},`org-${e}`),r[5]=g,r[6]=C,r[7]=e):e=r[7],a=m.map(e),r[1]=g,r[2]=m,r[3]=C,r[4]=a}else a=r[4];return r[8]!==a?(i=(0,n.jsx)(d.l,{children:a}),r[8]=a,r[9]=i):i=r[9],r[10]!==u||r[11]!==i?(s=(0,n.jsxs)(o.W,{children:[l,(0,n.jsx)(o.W.Overlay,{portalContainerName:u,children:i})]}),r[10]=u,r[11]=i,r[12]=s):s=r[12],s}function f({location:e,redirectURI:l}){return encodeURIComponent(l?l(e):e.pathname+e.search+e.hash)}p.displayName="SingleSignOnBanner",h.displayName="SingleSignOnButton"},94653(e,l,a){a.d(l,{N:()=>i});var n=a(16522),t=a(50964);let i=()=>{let e,l,a=(0,n.c)(5),i=(0,t.X)();i?.sso_organizations,i?.base_avatar_url,a[0]!==i?.sso_organizations?(e=i?.sso_organizations??[],a[0]=i?.sso_organizations,a[1]=e):e=a[1];let s=e,r=i?.base_avatar_url??"https://avatars.githubusercontent.com";return a[2]!==r||a[3]!==s?(l={ssoOrgs:s,baseAvatarUrl:r},a[2]=r,a[3]=s,a[4]=l):l=a[4],l}}}]);
//# sourceMappingURL=chunk-27114-bcf005017bf7444e-e0efca7c5633eb2f.js.map