티스토리 수익 글 보기

티스토리 수익 글 보기

“use strict”;(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[“notifications-subscriptions-menu”],{78924:(e,t,s)=>{s.d(t,{I:()=>a});let a=(0,s(96540).createContext)(null)},52811:(e,t,s)=>{s.d(t,{C:()=>r,i:()=>l});var a=s(96679),n=s(27851),i=s(46493);function r(e,t){(0,n.G7)(“arianotify_comprehensive_migration”)?l(o(e),{…t,element:t?.element??e}):(0,n.G7)(“primer_live_region_element”)&&t?.element===void 0?(0,i.Cj)(e,{politeness:t?.assertive?”assertive”:”polite”}):l(o(e),t)}function l(e,t){let{assertive:s,element:r}=t??{};(0,n.G7)(“arianotify_comprehensive_migration”)&&”ariaNotify”in Element.prototype?(r||document.body).ariaNotify(e):(0,n.G7)(“primer_live_region_element”)&&void 0===r?(0,i.iP)(e,{politeness:s?”assertive”:”polite”}):function(e,t,s){let n=s??a.XC?.querySelector(t?”#js-global-screen-reader-notice-assertive”:”#js-global-screen-reader-notice”);n&&(n.textContent===e?n.textContent=`${e}\u00A0`:n.textContent=e)}(e,s,r)}function o(e){return(e.getAttribute(“aria-label”)||e.innerText||””).trim()}},53005:(e,t,s)=>{s.d(t,{O:()=>r,S:()=>i});var a=s(96679);let n=a.cg?.document?.head?.querySelector(‘meta[name=”release”]’)?.content||””,i=”X-GitHub-Client-Version”;function r(){return n}},39627:(e,t,s)=>{s.d(t,{D:()=>i,Y:()=>r});var a=s(52811),n=s(96679);function i(e){if(!n.XC)return;let t=n.XC.querySelector(“title”),s=n.XC.createElement(“title”);s.textContent=e,t?t.textContent!==e&&(t.replaceWith(s),(0,a.i)(e)):(n.XC.head.appendChild(s),(0,a.i)(e))}function r(e){return document.body.classList.contains(“logged-out”)?`${e} \xb7 GitHub`:e}},26559:(e,t,s)=>{s.d(t,{jC:()=>o,kt:()=>r,tV:()=>l});var a=s(53005),n=s(27851),i=s(88191);function r(e){let t={“X-Requested-With”:”XMLHttpRequest”,…(0,i.wE)(e)};return(0,n.G7)(“client_version_header”)&&(t={…t,[a.S]:(0,a.O)()}),t}function l(e,t){for(let[s,a]of Object.entries(r(t)))e.set(s,a)}function o(e){return{“X-GitHub-App-Type”:e}}},88191:(e,t,s)=>{s.d(t,{$r:()=>r,M1:()=>l,li:()=>n,pS:()=>c,wE:()=>o});var a=s(96679);let n=”X-Fetch-Nonce”,i=new Set;function r(e){i.add(e)}function l(){return i.values().next().value||””}function o(e){let t={};return void 0!==e&&(t[“X-Fetch-Nonce-To-Validate”]=e),void 0===e?t[n]=l():i.has(e)?t[n]=e:t[n]=Array.from(i).join(“,”),t}function c(){let e=a.XC?.head?.querySelector(‘meta[name=”fetch-nonce”]’)?.content||””;e&&r(e)}},13233:(e,t,s)=>{s.d(t,{l:()=>a});let a=()=>void 0},39784:(e,t,s)=>{let a;var n,i=s(52497),r=s(74848),l=s(96540),o=s(10569),c=s(95776),d=s(2724),u=s(38621),h=s(60039);let p=(a=”/notifications/subscribe”,async e=>{try{let t=await (0,h.DI)(a,{method:”POST”,body:e});if(t.ok)return t;return Error(“Failed to update”)}catch(e){return e}});var m=s(15385);let b={NONE:”none”,WATCHING:”watching”,IGNORING:”ignoring”,CUSTOM:”custom”},y={[b.NONE]:”Participating and @mentions”,[b.WATCHING]:”All Activity”,[b.IGNORING]:”Ignore”,[b.CUSTOM]:”Custom”},f={…y,[b.NONE]:”Participating”},g={[b.NONE]:”Watch”,[b.WATCHING]:”Unwatch”,[b.IGNORING]:”Stop ignoring”,[b.CUSTOM]:”Unwatch”},C=[{name:y[b.NONE],description:”Only receive notifications from this repository when participating or @mentioned.”,subscriptionType:b.NONE},{name:y[b.WATCHING],description:”Notified of all notifications on this repository.”,subscriptionType:b.WATCHING},{name:y[b.IGNORING],description:”Never be notified.”,subscriptionType:b.IGNORING},{name:y[b.CUSTOM],description:”Select events you want to be notified of in addition to participating and @mentions.”,trailingIcon:(0,l.createElement)(u.ArrowRightIcon),subscriptionType:b.CUSTOM}],x=e=>e in g?g[e]:””,N=(e,t)=>{let s=x(e),a=f[e];return e===b.IGNORING?`${s} in ${t}`:`${s}: ${a} in ${t}`},v={subscriptionTypeName:”SubscriptionList-module__subscriptionTypeName–mWUOD”};function _(e){return(0,r.jsx)(m.l,{selectionVariant:”single”,children:C.map((t,s)=>(0,r.jsxs)(l.Fragment,{children:[(0,r.jsxs)(m.l.Item,{selected:t.subscriptionType===e.selected,onSelect:()=>e.onSelect(t.subscriptionType),children:[(0,r.jsx)(“span”,{className:v.subscriptionTypeName,children:t.name}),(0,r.jsx)(m.l.Description,{variant:”block”,children:t.description}),t.trailingIcon?(0,r.jsx)(m.l.TrailingVisual,{children:t.trailingIcon}):null]}),s!==C.length-1?(0,r.jsx)(m.l.Divider,{}):””]},s))})}try{_.displayName||(_.displayName=”SubscriptionList”)}catch{}var T=s(73451),j=s(65607),S=s(45286),w=s(55847),I=s(94977);function A(e){let[t,s]=(0,l.useState)(!1),[a,n]=(0,l.useState)(“”),i=e.items.filter(e=>e?.text?.toLowerCase().startsWith(a.toLowerCase())),o=l.memo(k);return(0,r.jsx)(S.X,{title:”Select labels”,renderAnchor:t=>0===e.items.length?(0,r.jsx)(I.A,{text:”Add labels to this repository to filter on them.”,direction:”s”,children:(0,r.jsx)(o,{anchorProps:t,itemsLength:e.items.length,labelsText:e.labelsText})}):(0,r.jsx)(o,{anchorProps:t,itemsLength:e.items.length,labelsText:e.labelsText}),placeholderText:”Filter labels”,open:t,onCancel:e.resetLabels,onOpenChange:(t,a)=>{s(t),”click-outside”===a&&e.applyLabels()},items:i,selected:e.selectedLabels,onSelectedChange:e.onChangeLabels,onFilterChange:n,showItemDividers:!0,overlayProps:{width:”small”,height:”medium”,maxHeight:”medium”}})}let k=({anchorProps:e,itemsLength:t,labelsText:s})=>(0,r.jsx)(w.Q,{leadingVisual:u.TagIcon,trailingAction:u.TriangleDownIcon,…e,”aria-label”:”Filter labels”,”aria-describedby”:”select-labels”,”aria-haspopup”:”dialog”,size:”small”,disabled:0===t,children:0===t?”No labels available”:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(“span”,{className:”color-fg-muted”,children:”Labels: “}),(0,r.jsx)(“span”,{id:”select-labels”,children:s})]})});try{A.displayName||(A.displayName=”FilterLabels”)}catch{}try{(n=ButtonFilter).displayName||(n.displayName=”ButtonFilter”)}catch{}var O=s(63867);let L={footerContainer:”FooterActions-module__footerContainer–Z9ixI”,buttonsContainer:”FooterActions-module__buttonsContainer–lkkwg”,errorMessageText:”FooterActions-module__errorMessageText–UsWpj”,FooterActionsSpinner:”FooterActions-module__FooterActionsSpinner–ElpdD”,applyButton:”FooterActions-module__applyButton–cgiu4″};function R(e){let[t,s]=(0,l.useState)(!1),a=(0,l.useCallback)(()=>(e.nextFocusRef?.current?.focus(),!0),[e.nextFocusRef]),n=(0,l.useCallback)(()=>{s(!0)},[]),i=(0,l.useCallback)(()=>{e.onApply(),setTimeout(()=>{e?.checkStatus&&e.checkStatus(n)},600)},[e,n]);return(0,r.jsxs)(“div”,{className:L.footerContainer,children:[e.showError?(0,r.jsx)(“span”,{className:L.errorMessageText,children:”Error. Please try again.”}):null,(0,r.jsxs)(“div”,{className:L.buttonsContainer,style:e.overrideButtonStyles??{padding:”var(–base-size-16)”},children:[!e.showError&&t?(0,r.jsx)(O.A,{size:”small”,className:L.FooterActionsSpinner}):null,(0,r.jsx)(w.Q,{size:”small”,onClick:()=>e.onCancel(),onBlur:t=>{e.disabled&&a(t)},children:”Cancel”}),(0,r.jsx)(w.Q,{disabled:e.disabled,variant:”primary”,size:”small”,onClick:()=>i(),onBlur:a,className:L.applyButton,children:”Apply”})]})]})}try{R.displayName||(R.displayName=”FooterActions”)}catch{}let G=e=>{let t=F(e,2);if(e.length>=2){if(2===e.length)return E(e);let s=F(e,3);if(s.length>30)return`${t.slice(0,30)}… +${e.length-2} more`;{let t=e.length>3?` +${e.length-3} more`:””;return`${s}${t}`}}if(1!==e.length)return”All”;{let t=e[0]?.text||””;return t.length>30?`${t.slice(0,30)}…`:t}},E=e=>{let t=e[0]?.text||””,s=F(e,2);return s.length>30?t.length>25?`${t.slice(0,25)}… +1 more`:`${s.slice(0,30)}…`:s},F=(e,t)=>e.slice(0,t).map(e=>e.text).join(“, “),P=e=>{switch(e){case”PullRequest”:return”Pull requests”;case”SecurityAlert”:return”Security alerts”;default:return`${e}s`}},M={filterContainer:”ThreadList-module__filterContainer–eNebD”,threadContent:”ThreadList-module__threadContent–Ry8II”,threadRow:”ThreadList-module__threadRow–lx6FW”,threadDisabledMessage:”ThreadList-module__threadDisabledMessage–Wwkul”};function $(e){let[t,s]=(0,l.useState)(e.appliedThreads),[a,n]=(0,l.useState)(e.appliedLabels),[i,o]=(0,l.useState)(e.appliedLabels),[c,d]=(0,l.useState)(()=>G(e.appliedLabels));(0,l.useEffect)(()=>{e.appliedLabels.length>0&&!t.includes(“Issue”)&&s([…t,”Issue”])},[]);let u=(0,l.useCallback)(e=>{t&&t.includes(e)?s(t.filter(t=>t!==e)):s([…t,e])},[t]),h=(0,l.useCallback)(()=>{e.applyThreads(t)},[e,t]),p=(0,l.useCallback)(e=>{o(e),d(G(e))},[]),m=(0,l.useCallback)(()=>{n(i)},[i]),b=(0,l.useCallback)(()=>{o(a),d(G(a))},[a]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(“div”,{className:M.threadContent,children:e.subscribableThreadTypes.map((s,a)=>(0,r.jsxs)(“div”,{className:M.threadRow,style:a===e.subscribableThreadTypes.length-1?{}:{borderBottom:”1px solid var(–borderColor-default, var(–color-border-default))”},children:[(0,r.jsxs)(T.A,{children:[(0,r.jsx)(j.A,{checked:t.includes(s.name),onChange:()=>u(s.name)}),(0,r.jsx)(T.A.Label,{children:P(s.name)})]}),s.enabled?null:(0,r.jsxs)(“p”,{className:M.threadDisabledMessage,children:[P(s.name),” are not enabled for this repository”]}),(0,r.jsx)(“div”,{“aria-live”:”polite”,children:”Issue”===s.name&&e.showLabelSubscriptions&&t.includes(“Issue”)?(0,r.jsx)(“div”,{className:M.filterContainer,children:(0,r.jsx)(A,{filterAction:h,items:e.repoLabels,labelsText:c,onChangeLabels:p,selectedLabels:i,applyLabels:m,resetLabels:b})}):null})]},a))}),(0,r.jsx)(R,{onCancel:e.cancelMenuCallback,onApply:()=>e.saveThreads(t,i),showError:e.showError,disabled:0===t.length||e.isSavingThreads})]})}try{$.displayName||($.displayName=”ThreadList”)}catch{}let W={watchCounter:”NotificationsSubscriptionsMenu-module__watchCounter–nAbhU”,watchButton:”NotificationsSubscriptionsMenu-module__watchButton–ifxlS”};function B({repositoryId:e,repositoryName:t,watchersCount:s,subscriptionType:a,subscribableThreadTypes:n,repositoryLabels:i,showLabelSubscriptions:h}){let m=(0,l.useMemo)(()=>i.map(e=>({id:e.id,text:e.name,selected:e.subscribed})),[i]),y=m.filter(e=>e.selected),f=(0,l.useMemo)(()=>n.map(e=>e.subscribed||”Issue”===e.name&&h&&y.length>0?e.name:null).filter(e=>null!==e),[n,h,y]),[g,C]=(0,l.useState)(!1),[v,T]=(0,l.useState)(!1),[j,S]=(0,l.useState)(!1),w=(0,l.useCallback)(()=>S(!1),[]),[I,A]=(0,l.useState)(f.length>0?b.CUSTOM:a),[k,O]=(0,l.useState)(I),[L,R]=(0,l.useState)(f),[G,E]=(0,l.useState)(y),[F,P]=(0,l.useState)(!1),M=(0,l.useRef)(null),B=(0,l.useCallback)(()=>{T(!1),A(k)},[k]),U=(0,l.useCallback)(async(t,s)=>{P(!0),R(t),E(s),O(b.CUSTOM);let a=new FormData;a.set(“do”,”custom”),a.set(“repository_id”,e),t.map(e=>{a.append(“thread_types[]”,e)}),s.map(e=>{e.id&&a.append(“labels[]”,e.id.toString())}),(await p(a)).ok?(T(!1),P(!1)):C(!0)},[e]),D=(0,l.useCallback)(async t=>{let s=new FormData;return t===b.IGNORING?s.set(“do”,”ignore”):t===b.WATCHING?s.set(“do”,”subscribed”):(t===b.NONE||t===b.CUSTOM&&0===L.length)&&s.set(“do”,”included”),s.append(“thread_types[]”,””),s.set(“repository_id”,e),!(await p(s) instanceof Error)},[e,L]),H=(0,l.useCallback)(async e=>{e===b.CUSTOM?(T(!0),A(b.CUSTOM)):await D(e)?(A(e),O(e),R([])):S(!0)},[A]),X=(0,l.useCallback)(e=>{R(e)},[R]),V=(0,l.useMemo)(()=>N(I,t),[I,t]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(“div”,{className:”d-md-none”,children:(0,r.jsxs)(o.W,{children:[(0,r.jsx)(o.W.Button,{“data-testid”:”notifications-subscriptions-menu-button-desktop”,leadingVisual:I===b.IGNORING?u.BellSlashIcon:u.EyeIcon,trailingAction:null,className:W.watchButton,”aria-label”:V,children:(0,r.jsx)(r.Fragment,{})}),(0,r.jsx)(o.W.Overlay,{width:”medium”,children:(0,r.jsx)(_,{selected:I,onSelect:H})})]})}),(0,r.jsx)(“div”,{className:”d-none d-md-block”,children:(0,r.jsxs)(o.W,{children:[(0,r.jsxs)(o.W.Button,{“data-testid”:”notifications-subscriptions-menu-button-mobile”,size:”small”,leadingVisual:I===b.IGNORING?u.BellSlashIcon:u.EyeIcon,sx:{‘&& [data-component=”leadingVisual”]’:{color:”var(–fgColor-muted, var(–color-fg-muted))”}},”aria-label”:V,children:[x(I),(0,r.jsx)(“span”,{className:`ml-2 Counter rounded-3 ${W.watchCounter}`,children:s})]}),(0,r.jsx)(o.W.Overlay,{width:”medium”,children:(0,r.jsx)(_,{selected:I,onSelect:H})})]})}),(0,r.jsx)(c.A,{returnFocusRef:M,isOpen:v,onDismiss:()=>B(),”aria-labelledby”:”header”,children:(0,r.jsxs)(“div”,{“data-testid”:”inner”,children:[(0,r.jsxs)(c.A.Header,{id:”header”,children:[“Subscribe to events for “,t]}),(0,r.jsx)($,{subscribableThreadTypes:n,showLabelSubscriptions:h,cancelMenuCallback:B,appliedThreads:L,repoLabels:m,subscribedThreads:f,applyThreads:X,appliedLabels:G,saveThreads:U,showError:g,isSavingThreads:F})]})}),j&&(0,r.jsx)(d.l,{title:”Cannot watch this repository”,onClose:w,children:(0,r.jsxs)(d.l.Body,{children:[“You have reached the limit of 10,000 watched repositories. Update your”,” “,(0,r.jsx)(“a”,{href:”/watching”,children:”watch settings”}),” to continue.”]})})]})}try{B.displayName||(B.displayName=”NotificationsSubscriptionsMenu”)}catch{}(0,i.k)(“notifications-subscriptions-menu”,{Component:B})},7531:(e,t,s)=>{s.d(t,{Y:()=>a});function a(){let e={};return e.promise=new Promise((t,s)=>{e.resolve=t,e.reject=s}),e}},41764:(e,t,s)=>{s.d(t,{A:()=>l});let{getItem:a,setItem:n,removeItem:i}=(0,s(85351).A)(“localStorage”),r=”REACT_PROFILING_ENABLED”,l={enable:()=>n(r,”true”),disable:()=>i(r),isEnabled:()=>!!a(r)}},64899:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(17515),n=s(96540);function i(){let e=(0,n.useRef)(!1),t=(0,n.useCallback)(()=>e.current,[]);return(0,a.N)(()=>(e.current=!0,()=>{e.current=!1}),[]),t}},17515:(e,t,s)=>{s.d(t,{N:()=>i});var a=s(96679),n=s(96540);let i=void 0!==a.cg?.document?.createElement?n.useLayoutEffect:n.useEffect},47019:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(64899),n=s(96540);let i=function(e){let t=(0,a.A)(),[s,i]=(0,n.useState)(e);return[s,(0,n.useCallback)(e=>{t()&&i(e)},[t])]}},60039:(e,t,s)=>{s.d(t,{DI:()=>n,QJ:()=>r,Sr:()=>l,lS:()=>i});var a=s(26559);function n(e,t={}){var s=e;if(new URL(s,window.location.origin).origin!==window.location.origin)throw Error(“Can not make cross-origin requests from verifiedFetch”);let i=function(e){let t=new URL(e,window.location.href),s=new URL(window.location.href,window.location.origin),a=s.searchParams.get(“_features”);a&&!t.searchParams.has(“_features”)&&t.searchParams.set(“_features”,a);let n=s.searchParams.get(“_tracing”);return n&&!t.searchParams.has(“_tracing”)&&t.searchParams.set(“_tracing”,n),e.startsWith(window.location.origin)?t.href:`${t.pathname}${t.search}`}(e),r={…t.headers,”GitHub-Verified-Fetch”:”true”,…(0,a.kt)()};return fetch(i,{…t,headers:r})}function i(e,t){let s={…t?.headers??{},Accept:”application/json”,”Content-Type”:”application/json”},a=t?.body?JSON.stringify(t.body):void 0;return n(e,{…t,body:a,headers:s})}function r(e,t={}){let s={…t.headers,”GitHub-Is-React”:”true”};return n(e,{…t,headers:s})}function l(e,t){let s={…t?.headers??{},”GitHub-Is-React”:”true”};return i(e,{…t,headers:s})}},26033:(e,t,s)=>{s.d(t,{y:()=>r});var a=s(74848),n=s(21728),i=s(78924);function r(e){let t,s,r,l=(0,n.c)(7),{children:o,appName:c,category:d,metadata:u}=e;return l[0]!==c||l[1]!==d||l[2]!==u?(s={appName:c,category:d,metadata:u},l[0]=c,l[1]=d,l[2]=u,l[3]=s):s=l[3],t=s,l[4]!==o||l[5]!==t?(r=(0,a.jsx)(i.I.Provider,{value:t,children:o}),l[4]=o,l[5]=t,l[6]=r):r=l[6],r}try{r.displayName||(r.displayName=”AnalyticsProvider”)}catch{}},60674:(e,t,s)=>{s.d(t,{BP:()=>u,D3:()=>d,O8:()=>o});var a=s(74848),n=s(21728),i=s(96540),r=s(96679),l=s(17515);let o={ServerRender:”ServerRender”,ClientHydrate:”ClientHydrate”,ClientRender:”ClientRender”},c=(0,i.createContext)(o.ClientRender);function d(e){let t,s,d,u,h=(0,n.c)(8),{wasServerRendered:p,children:m}=e;h[0]!==p?(t=()=>r.X3?o.ServerRender:p?o.ClientHydrate:o.ClientRender,h[0]=p,h[1]=t):t=h[1];let[b,y]=(0,i.useState)(t);return h[2]!==b?(s=()=>{b!==o.ClientRender&&y(o.ClientRender)},d=[b],h[2]=b,h[3]=s,h[4]=d):(s=h[3],d=h[4]),(0,l.N)(s,d),h[5]!==m||h[6]!==b?(u=(0,a.jsx)(c.Provider,{value:b,children:m}),h[5]=m,h[6]=b,h[7]=u):u=h[7],u}function u(){return(0,i.useContext)(c)}try{c.displayName||(c.displayName=”RenderPhaseContext”)}catch{}try{d.displayName||(d.displayName=”RenderPhaseProvider”)}catch{}},99543:(e,t,s)=>{s.d(t,{Qn:()=>o,T8:()=>d,Y6:()=>h,k6:()=>u});var a=s(74848),n=s(65556),i=s(96540),r=s(13233),l=s(47019);let o=5e3,c=(0,i.createContext)({addToast:r.l,addPersistedToast:r.l,clearPersistedToast:r.l}),d=(0,i.createContext)({toasts:[],persistedToast:null});function u({children:e}){let[t,s]=(0,l.A)([]),[r,u]=(0,i.useState)(null),{safeSetTimeout:h}=(0,n.A)(),p=(0,i.useCallback)(function(e){s([…t,e]),h(()=>s(t.slice(1)),o)},[t,h,s]),m=(0,i.useCallback)(function(e){u(e)},[u]),b=(0,i.useCallback)(function(){u(null)},[u]),y=(0,i.useMemo)(()=>({addToast:p,addPersistedToast:m,clearPersistedToast:b}),[m,p,b]),f=(0,i.useMemo)(()=>({toasts:t,persistedToast:r}),[t,r]);return(0,a.jsx)(c.Provider,{value:y,children:(0,a.jsx)(d.Provider,{value:f,children:e})})}function h(){return(0,i.useContext)(c)}try{c.displayName||(c.displayName=”ToastContext”)}catch{}try{d.displayName||(d.displayName=”InternalToastsContext”)}catch{}try{u.displayName||(u.displayName=”ToastContextProvider”)}catch{}},42218:(e,t,s)=>{s.d(t,{V:()=>h});var a=s(74848),n=s(96540),i=s(99543),r=s(38621),l=s(65556),o=s(16255);let c={info:””,success:”Toast–success”,error:”Toast–error”},d={info:(0,a.jsx)(r.InfoIcon,{}),success:(0,a.jsx)(r.CheckIcon,{}),error:(0,a.jsx)(r.StopIcon,{})},u=({message:e,timeToLive:t,icon:s,type:i=”info”,role:r=”log”})=>{let[u,h]=n.useState(!0),{safeSetTimeout:p}=(0,l.A)();return(0,n.useEffect)(()=>{t&&p(()=>h(!1),t-300)},[p,t]),(0,a.jsx)(o.Z,{children:(0,a.jsx)(“div”,{className:”p-1 position-fixed bottom-0 left-0 mb-3 ml-3″,children:(0,a.jsxs)(“div”,{className:`Toast ${c[i]} ${u?”Toast–animateIn”:”Toast–animateOut”}`,id:”ui-app-toast”,”data-testid”:`ui-app-toast-${i}`,role:r,children:[(0,a.jsx)(“span”,{className:”Toast-icon”,children:s||d[i]}),(0,a.jsx)(“span”,{className:”Toast-content”,children:e})]})})})};try{u.displayName||(u.displayName=”Toast”)}catch{}function h(){let{toasts:e,persistedToast:t}=(0,n.useContext)(i.T8);return(0,a.jsxs)(a.Fragment,{children:[e.map((e,t)=>(0,a.jsx)(u,{message:e.message,icon:e.icon,timeToLive:i.Qn,type:e.type,role:e.role},t)),t&&(0,a.jsx)(u,{message:t.message,icon:t.icon,type:t.type,role:t.role})]})}try{h.displayName||(h.displayName=”Toasts”)}catch{}}},e=>{var t=t=>e(e.s=t);e.O(0,[“primer-react”,”react-core”,”react-lib”,”octicons-react”,”vendors-node_modules_oddbird_popover-polyfill_dist_popover-fn_js”,”vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_stacktrace-parser_dist_s-1d3d52″,”vendors-node_modules_primer_behaviors_dist_esm_index_mjs”,”vendors-node_modules_emotion_is-prop-valid_dist_emotion-is-prop-valid_esm_js-node_modules_emo-b1c483″,”vendors-node_modules_github_catalyst_lib_index_js-node_modules_primer_live-region-element_dis-b2aea6″,”ui_packages_failbot_failbot_ts”],()=>t(39784)),e.O()}]); //# sourceMappingURL=notifications-subscriptions-menu-c10f710a75b6.js.map