PageSourceSearch

https://www.ultimate-guitar.com/static/public/build/ug_react_i18n_…/5759.c69b56d8a282525d8ed719236399a887.js

js ultimate-guitar.com collected 2026-09-24 08:40:55 UTC 20,459 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkug_react_i18n_es6=self.webpackChunkug_react_i18n_es6||[]).push([[5759],{94786:(e,t,a)=>{a.d(t,{Z:()=>d});var i=a(57763),n=a.n(i),r=a(74458),o=a.n(r),l=a(60455),s=o()(n());s.i(l.Z,"",!0),s.push([e.id,".m0tRQ{--field-bg-color:var(--ug-color-form-primary-bg);--field-border-color:var(--ug-color-bg-tertiary);color:var(--ug-color-text-secondary);display:flex;flex-direction:column;gap:var(--ug-spacing-xxs);width:100%}.m0tRQ[data-disabled]{color:var(--ug-color-text-muted);cursor:not-allowed}.m0tRQ[data-invalid]{--field-border-color:var(--ug-color-text-red)}.m0tRQ[focus-within].WmUmq,.WmUmq .m0tRQ[focus-within]{--field-border-color:var(--ug-color-form-muted)}.m0tRQ:focus-within{--field-border-color:var(--ug-color-form-muted)}.m0tRQ textarea{resize:none}.b0XCX{background-color:var(--field-bg-color);border-radius:var(--ug-border-radius-default);box-shadow:inset 0 0 0 1px var(--field-border-color);flex:1 0;padding-bottom:10px;padding-left:var(--ug-spacing-m);padding-right:var(--ug-spacing-m);padding-top:10px}.JBILG{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;caret-color:var(--ug-color-text-primary);color:var(--ug-color-text-primary);display:block;font:var(--ug-font-body-s);width:100%}.JBILG::-moz-placeholder{color:var(--ug-color-text-secondary)}.JBILG::placeholder{color:var(--ug-color-text-secondary)}.JBILG:disabled{cursor:not-allowed}.JBILG:disabled::-moz-placeholder{color:currentColor}.JBILG:disabled,.JBILG:disabled::placeholder{color:currentColor}",""]),s.locals={fieldContainer:"m0tRQ","js-focus-within":"WmUmq",inputContainer:"b0XCX",textInput:"JBILG "+l.Z.locals.input};const d=s},49706:(e,t,a)=>{a.d(t,{Z:()=>l});var i=a(57763),n=a.n(i),r=a(74458),o=a.n(r)()(n());o.push([e.id,'.TebsA{list-style-type:none;margin:0;padding:0}.TebsA li:not(:last-child)::after{content:",";opacity:0}',""]),o.locals={errorsList:"TebsA"};const l=o},80736:(e,t,a)=>{a.d(t,{Z:()=>l});var i=a(57763),n=a.n(i),r=a(74458),o=a.n(r)()(n());o.push([e.id,".NVPaA{min-height:100%}",""]),o.locals={textarea:"NVPaA"};const l=o},36243:(e,t,a)=>{a.d(t,{Z:()=>l});var i=a(57763),n=a.n(i),r=a(74458),o=a.n(r)()(n());o.push([e.id,".QdHb9{align-items:center;background-color:var(--ug-color-modal-overlay);bottom:0;display:flex;flex-direction:column;justify-content:center;left:0;padding:var(--ug-spacing-xxl);position:fixed;right:0;top:0;z-index:10}.zt-x6{--ug-modal-size-s:400px;--ug-modal-size-m:600px;--ug-modal-size-l:800px;max-width:100%}.zt-x6._QUuI{height:100%}.zt-x6.cTIFX{max-height:min(var(--ug-modal-size-m),100%)}.zt-x6.eaOZq{max-height:100%}.zt-x6.zmjJ4{width:var(--ug-modal-size-s)}.zt-x6.VS57U{width:var(--ug-modal-size-m)}.zt-x6.q3z5w{width:var(--ug-modal-size-l)}.zt-x6.LwAAu{width:auto}.DHkbA{background-color:var(--ug-color-bg-modal);box-shadow:var(--ug-box-shadow-popover);display:flex;flex-direction:column;height:100%;overflow:hidden}",""]),o.locals={overlay:"QdHb9",modal:"zt-x6",withFixedHeight:"_QUuI","height-m":"cTIFX","height-full":"eaOZq","width-s":"zmjJ4","width-m":"VS57U","width-l":"q3z5w","width-auto":"LwAAu",dialog:"DHkbA"};const l=o},5858:(e,t,a)=>{a.d(t,{Z:()=>l});var i=a(57763),n=a.n(i),r=a(74458),o=a.n(r)()(n());o.push([e.id,".i704j{padding:var(--ug-spacing-l)}",""]),o.locals={actions:"i704j"};const l=o},30713:(e,t,a)=>{a.d(t,{Z:()=>l});var i=a(57763),n=a.n(i),r=a(74458),o=a.n(r)()(n());o.push([e.id,"._5VzAE{border-bottom:1px solid transparent;border-top:1px solid transparent;flex-grow:1;overflow:auto;transition:border-top-color .1s ease,border-bottom-color .1s ease}._5VzAE.f4TZT:not(:first-child){border-top-color:var(--ug-color-divider-alpha)}._5VzAE._4tURX:not(:last-child){border-bottom-color:var(--ug-color-divider-alpha)}._5VzAE._2CUou{padding-left:var(--ug-spacing-l);padding-right:var(--ug-spacing-l)}._5VzAE._2CUou:first-child{padding-top:var(--ug-spacing-l)}._5VzAE._2CUou:last-child{padding-bottom:var(--ug-spacing-l)}.EcUrx{position:relative}",""]),o.locals={scrollableContainer:"_5VzAE",withTopBorder:"f4TZT",withBottomBorder:"_4tURX",padded:"_2CUou",trackersContainer:"EcUrx"};const l=o},52399:(e,t,a)=>{a.d(t,{Z:()=>l});var i=a(57763),n=a.n(i),r=a(74458),o=a.n(r)()(n());
1o.push([e.id,".CfJOk{padding:var(--ug-spacing-xs) var(--ug-spacing-m) var(--ug-spacing-xs) var(--ug-spacing-l)}.qr45e{padding-bottom:var(--ug-spacing-xs);padding-top:var(--ug-spacing-xs)}.wGzhJ{--icon-size:20px;position:relative;transform:translateX(var(--ug-spacing-xs))}",""]),o.locals={header:"CfJOk",title:"qr45e",closeButton:"wGzhJ"};const l=o},58557:(e,t,a)=>{a.d(t,{Z:()=>l});var i=a(57763),n=a.n(i),r=a(74458),o=a.n(r)()(n());o.push([e.id,".Xl_XZ{font-weight:var(--ug-font-weight-semibold)}.xqhKb{font-style:italic}._4mrGU{-webkit-text-decoration:line-through;text-decoration:line-through}.m8Dyy{text-decoration-line:underline;text-decoration-thickness:1px;text-underline-position:from-font}.QdrMx{white-space:nowrap;word-break:keep-all}",""]),o.locals={bold:"Xl_XZ",italic:"xqhKb",strikethrough:"_4mrGU",underline:"m8Dyy",nowrap:"QdrMx"};const l=o},16230:(e,t,a)=>{a.d(t,{I:()=>c,O:()=>u});var i=a(54326),n=a(502),r=a(53958),o=a(92358),l=a(54091),s=a(34021),d=a(24517);const c=({"aria-details":e,"aria-label":t,children:a,classNames:c={},dialogRef:u,modalRef:h,overlayRef:g,testIDs:p={},...m})=>{const v=(0,n.useId)(),f=e?void 0:"modal-description-"+v,b=t?void 0:"modal-title-"+v;return(0,d.tZ)(r.ZA,{className:c.overlay,ref:g,...m,children:(0,d.tZ)(r.u_,{className:c.modal,ref:h,children:(0,d.tZ)(o.Vq,{className:(0,i.Z)(s.Z.dialog,c.dialog),"aria-label":t,"aria-details":e,"aria-labelledby":b,"aria-describedby":f,ref:u,children:({close:e})=>(0,d.tZ)(l.d.Provider,{value:{closeModal:e,descriptionId:f,titleId:b},children:a})})})})},u=o.hg.bind({})},54091:(e,t,a)=>{a.d(t,{d:()=>r,v:()=>o});var i=a(502),n=a(24517);const r=(0,i.createContext)({closeModal:()=>null,descriptionId:"",titleId:""}),o=({children:e,className:t,testID:a})=>{const o=(0,i.useContext)(r),l="function"==typeof e?e(o):e;return(0,n.tZ)("div",{className:t,children:l})}},38946:(e,t,a)=>{a.r(t),a.d(t,{NewTabProFeedbackContainer:()=>w});var i=a(502),n=a(67449),r=a(42744),o=a(6809),l=a(41816),s=a(67642),d=a(40665),c=a(89851),u=a(70224),h=a(40973),g=a(56773),p=a(23582),m=a(59317),v=a(78793),f=a(97104),b=a(46675),x=a(51635),Z=a(6586),y=a(24517);const w=()=>{(0,Z.$)();const e=(0,f.Q)().t,t=(0,m.Z)({closeModalById:v.GA,createFeedback:x.L}),a=(0,i.useState)(!1),w=a[0],E=a[1],C=(0,i.useState)(!1),z=C[0],N=C[1],k=(0,i.useRef)(null),T=(0,i.useRef)(!0);(0,i.useEffect)((()=>()=>{T.current=!1}),[]);const B=(0,i.useCallback)((()=>{t.closeModalById(b.z)}),[t]),I=()=>{var e;null===(e=k.current)||void 0===e||e.reset(),N(!1),E(!1),B()},R=(0,i.useCallback)((async e=>{if(e.preventDefault(),w)return;const a=(new FormData(e.currentTarget).get("text")||"").toString().trim();if(a){E(!0);try{await t.createFeedback({text:a})}finally{T.current&&E(!1)}}else N(!1)}),[t,w]),O=(0,i.useCallback)((e=>{N(0<e.trim().length)}),[]);return(0,y.tZ)(n.i,{isOpen:!0,onOpenChange:e=>{e||I()},children:(0,y.BX)(r.u,{onClose:I,width:"s",children:[(0,y.tZ)(o.x,{title:e({message:["Help us improve the Tab Player"]})}),(0,y.BX)(l.l,{onSubmit:R,ref:k,children:[(0,y.tZ)(s.h,{children:(0,y.BX)(d.gC,{gap:"xl",children:[(0,y.tZ)(c.x,{state:"primary",type:"body-s",children:(0,y.tZ)(u.o,{children:e({message:["Have you experienced any issues with the Tab Player? Let us know about bugs related to playback, notation, or any of its features.
[br][/br][br][/br][b]Please do not report tab mistakes (wrong notes, chords, etc.) here[/b]. Instead, leave a comment on the tab page itself. This is the fastest way to alert the tab’s author or UG team.[br][/br][br][/br]Thank you! Your feedback is invaluable and helps us make the player better."]})})}),(0,y.tZ)(h.N,{name:"text","aria-label":e({message:["Feedback"]}),placeholder:e({message:["Leave your feedback here"]}),onChange:O,isRequired:!0,rows:5})]})}),(0,y.tZ)(g.n,{children:(0,y.tZ)(p.z,{type:"submit",state:"primary",isDisabled:!z||w,isPending:w,pendingLabel:e({message:["Sending feedback"]}),children:e({message:["Send feedback"]})})})]})]})})}},6586:(e,t,a)=>{a.d(t,{$:()=>i});const i=()=>{}},51635:(e,t,a)=>{a.d(t,{L:()=>u});var i=a(86712),n=a(78793),r=a(75213),o=a(1461),l=a(21690),s=a(40311),d=a(7113);var c=a(46675);const u=e=>async(t,a,{logger:u})=>{try{const u=(0,i.Z)([o.pQ],a)[0];await(e=>s.Z.post({url:d.eK+"/tab/feedback/player/new",payload:e}))({tab_id:u,...e}),t((0,n.GA)(c.z)),t((0,r.c0)({content:l.a.t({message:["Thank you for helping us make the Player better"]}),hideTimeout:2e3}))}catch(e){u.error(e),t((0,n.GA)(c.z)),t((0,r.c0)({content:l.a.t({message:["Please check your internet connection and try again."]}),hideTimeout:2e3}))}}},91115:(e,t,a)=>{a.d(t,{D:()=>r});var i=a(26931),n=a(24517);const r=({children:e,...t})=>{const a=(0,i.T)({type:"caption-l"});return e?(0,n.tZ)("div",{className:a,...t,children:e}):null}},2597:(e,t,a)=>{a.d(t,{d:()=>s});var i=a(20386),n=a.n(i),r=a(26931),o=a(89547),l=a(24517);const s=({details:e,errors:t,...a})=>{const i=(0,r.T)({state:"red",type:"caption-l"});switch(t.length){case 0:return null;case 1:return(0,l.tZ)("div",{className:i,...a,children:t});default:return(0,l.tZ)("ul",{className:n()(i,o.Z.errorsList),...a,children:t.filter(Boolean).map((e=>(0,l.tZ)("li",{children:e},e)))})}}},24225:(e,t,a)=>{a.d(t,{Q:()=>r});var i=a(26931),n=a(24517);const r=({children:e,...t})=>{const a=(0,i.T)({type:"body-s"});return e?(0,n.tZ)("label",{className:a,...t,children:e}):null}},41816:(e,t,a)=>{a.d(t,{l:()=>u});var i=a(502),n=a(92972),r=a(74599),o=a(76577);const l=["validationErrors","validationBehavior","children","className"],s=(0,i.createContext)(null),d=(0,i.forwardRef)((function(e,t){var a=(0,r.pE)(e,t,s);e=a[0],t=a[1];let d=e,c=d.validationErrors,u=d.validationBehavior,h=void 0===u?"native":u,g=d.children,p=d.className,m=(0,n.Z)(d,l);return i.default.createElement("form",{noValidate:"native"!==h,...m,ref:t,className:p||"react-aria-Form"},i.default.createElement(s.Provider,{value:{...e,validationBehavior:h}},i.default.createElement(o.r7.Provider,{value:null!=c?c:{}},g)))}));var c=a(24517);const u=(0,i.forwardRef)((({testID:e,...t},a)=>
1(0,c.tZ)(d,{...t,ref:a,validationBehavior:"native"})))},40973:(e,t,a)=>{a.d(t,{N:()=>f});var i=a(502),n=a(20386),r=a.n(n),o=a(84671),l=a(62402),s=a(24225),d=a(2597),c=a(91115),u=a(23278),h=a.n(u),g=a(80736),p={injectType:"styleTag",insert:"head",singleton:!1};h()(g.Z,p);const m=g.Z.locals||{};var v=a(24517);const f=({className:e,disableNativeValidation:t=!1,rows:a=2,testID:n,...u})=>{const h=(0,i.useRef)(null),g=(0,o.h)({...u,inputElementType:"textarea",validationBehavior:t?"aria":"native"},h),p=g.labelProps,f=g.inputProps,b=g.descriptionProps,x=g.errorMessageProps,Z=g.isInvalid,y=g.validationDetails,w=g.validationErrors;return(0,v.BX)("div",{className:r()(l.Z.fieldContainer,e),"data-disabled":u.isDisabled||void 0,"data-invalid":Z||void 0,children:[(0,v.tZ)(s.Q,{...p,children:u.label}),(0,v.tZ)("div",{className:l.Z.inputContainer,children:(0,v.tZ)("textarea",{className:r()(l.Z.textInput,m.textarea),ref:h,rows:Math.max(2,a),...f})}),0<w.length?(0,v.tZ)(d.d,{details:y,errors:w,...x}):(0,v.tZ)(c.D,{...b,children:u.description})]})}},42744:(e,t,a)=>{a.d(t,{u:()=>u});var i=a(502),n=a(20386),r=a.n(n),o=a(16230),l=a(83623),s=a(7871),d=a(13397),c=a(24517);const u=({hasFixedHeight:e=!1,height:t="m",isDismissable:a=!0,onClose:n,theme:u="current",width:h="m",...g})=>{const p=(0,i.useCallback)((e=>!e&&(null==n?void 0:n())),[n]),m={classNames:{dialog:d.Z.dialog,modal:r()(d.Z.modal,d.Z["height-"+t],d.Z["width-"+h],{[d.Z.withFixedHeight]:e}),overlay:d.Z.overlay},isDismissable:a,onOpenChange:p,...g};return(0,s.P)(u)?(0,c.tZ)(o.I,{"data-theme":u,...m}):(0,c.tZ)(l.G,{children:e=>(0,c.tZ)(o.I,{"data-theme":"current"===u?e.theme:e.inverseTheme,...m})})}},67449:(e,t,a)=>{a.d(t,{i:()=>i});const i=a(16230).O},56773:(e,t,a)=>{a.d(t,{n:()=>d});var i=a(20386),n=a.n(i),r=a(54091),o=a(61163),l=a(74776),s=a(24517);const d=({children:e,justify:t="end"})=>{const a=(0,o._)({direction:"row",gap:"xs",justify:t});return(0,s.tZ)(r.v,{className:n()(a,l.Z.actions),children:"function"==typeof e?t=>e(t):e})}},67642:(e,t,a)=>{a.d(t,{h:()=>c});var i=a(502),n=a(20386),r=a.n(n),o=a(97395),l=a(54091),s=a(84209),d=a(24517);const c=({children:e,hasPadding:t=!0})=>{var a,n;const c=(0,i.useRef)(null),u=(0,i.useState)(!1),h=u[0],g=u[1],p=(0,i.useState)(!1),m=p[0],v=p[1],f={"--modal-content-viewport-height":(null!==(a=null===(n=c.current)||void 0===n?void 0:n.clientHeight)&&void 0!==a?a:0)+"px"};return(0,d.tZ)("div",{"data-modal-scrollable-container":!0,className:r()(s.Z.scrollableContainer,{[s.Z.padded]:t,[s.Z.withTopBorder]:!h,[s.Z.withBottomBorder]:!m}),ref:c,style:f,children:(0,d.BX)("div",{className:s.Z.trackersContainer,children:[(0,d.tZ)(o.U,{rootRef:c,onVisibilityChange:g,top:0,width:"100%"}),(0,d.tZ)(l.v,{children:e}),(0,d.tZ)(o.U,{rootRef:c,onVisibilityChange:v,bottom:0,width:"100%"})]})})}},6809:(e,t,a)=>{a.d(t,{x:()=>d});var i=a(54091),n=a(40665),r=a(89851),o=a(94089),l=a(76151),s=a(24517);const d=({hasCloseButton:e=!0,subtitle:t,title:a})=>(0,s.tZ)(i.v,{className:l.Z.header,children:({closeModal:i,descriptionId:d,titleId:c})=>(0,s.BX)(s.HY,{children:[(0,s.BX)(n.Ug,{alignItems:"start",justify:"space-between",children:[(0,s.tZ)(r.x,{as:"h2",type:"subtitle-s",state:"primary",id:c,className:l.Z.title,children:a}),e&&(0,s.tZ)(o.P,{className:l.Z.closeButton,onPress:i})]}),t&&(0,s.tZ)(r.x,{type:"body-s",state:"secondary",id:d,children:t})]})})},70224:(e,t,a)=>{a.d(t,{o:()=>v});var i=a(502),n=a(62362);const r=e=>"string"==typeof e,o=(e,t,a=e=>e,n=0)=>Array.isArray(e)&&e.length?e.reduce(((e,l,s)=>{if(r(l)){const t=e.length-1,i=" "===l?l:a(l,n);r(e[t])&&r(i)?e[t]+=i:e.push(i)}if("object"==typeof(c=l)&&null!==c&&"tag"in c){const r=t[l.tag],c=l.content?o(l.content,t,a,n+1):null;if(void 0===r)e.push(c);else{var d;const t=null!==(d=l.attrs)&&void 0!==d?d:{},a=(e=>{var t;return null===(t=Object.entries(e).find((([e,t])=>e===t)))||void 0===t?void 0:t[1]})(t);let n=r(c,t,a);(0,i.isValidElement)(n)&&(n=(0,i.cloneElement)(n,{key:s})),e.push(n)}}var c;return e}),[]):null;var l=a(24517);const s=(e,t)=>{const a=(0,n.Z)().process;return(0,i.memo)((({children:i,customTags:n,formatStringNode:r,parserOptions:s})=>{const d=a(i,{...t,...s}).tree,c=o(d,{...e,...n},r);return(0,l.tZ)(l.HY,{children:c})}))};s();var d=a(51963),c=a(89851),u=a(23278),h=a.n(u),g=a(58557),p={injectType:"styleTag",insert:"head",singleton:!1};h()(g.Z,p);const m=g.Z.locals||{},v=s({accent:(e,{state:t})=>(0,l.tZ)(c.x,{state:t,children:e}),b:e=>(0,l.tZ)("span",{className:m.bold,children:e}),br:()=>(0,l.tZ)("br",{}),i:e=>(0,l.tZ)("span",{className:m.italic,children:e}),nowrap:e=>(0,l.tZ)("span",{className:m.nowrap,children:e}),s:e=>(0,l.tZ)("span",{className:m.strikethrough,children:e}),u:e=>(0,l.tZ)("span",{className:m.underline,children:e}),url:(e,{href:t,rel:a,state:i,target:n},r)=>(0,l.tZ)(d.l,{href:r||t,rel:a,state:i,target:n,children:e})},{enableEscapeTags:!0})},62402:(e,t,a)=>{a.d(t,{Z:()=>l});var i=a(23278),n=a.n(i),r=a(94786),o={injectType:"styleTag",insert:"head",singleton:!1};n()(r.Z,o);const l=r.Z.locals||{}},89547:(e,t,a)=>{a.d(t,{Z:()=>l});var i=a(23278),n=a.n(i),r=a(49706),o={injectType:"styleTag",insert:"head",singleton:!1};n()(r.Z,o);const l=r.Z.locals||{}},13397:(e,t,a)=>{a.d(t,{Z:()=>l});var i=a(23278),n=a.n(i),r=a(36243),o={injectType:"styleTag",insert:"head",singleton:!1};n()(r.Z,o);const l=r.Z.locals||{}},74776:(e,t,a)=>{a.d(t,{Z:()=>l});var i=a(23278),n=a.n(i),r=a(5858),o={injectType:"styleTag",insert:"head",singleton:!1};n()(r.Z,o);const l=r.Z.locals||{}},84209:(e,t,a)=>{a.d(t,{Z:()=>l});var i=a(23278),n=a.n(i),r=a(30713),o={injectType:"styleTag",insert:"head",singleton:!1};n()(r.Z,o);const l=r.Z.locals||{}},76151:(e,t,a)=>{a.d(t,{Z:()=>l});var i=a(23278),n=a.n(i),r=a(52399),o={injectType:"styleTag",insert:"head",singleton:!1};n()(r.Z,o);const l=r.Z.locals||{}},2979:(e,t,a)=>{a.d(t,{N:()=>d});
1var i=a(10209),n=a(61617),r=a(60921),o=a(23264),l=a(61925),s=a(502);function d(e,t,a){let d=(0,n.I)({...e,isOpen:t.isOpen,onClose:t.close},a),c=d.overlayProps,u=d.underlayProps;return(0,o.t)({isDisabled:!t.isOpen}),(0,r.Bq)(),(0,s.useEffect)((()=>{if(t.isOpen&&a.current)return(0,i.R)([a.current],{shouldUseInert:!0})}),[t.isOpen,a]),{modalProps:(0,l.d)(c),underlayProps:u}}},25328:(e,t,a)=>{a.d(t,{n:()=>d});var i=a(37646),n=a(12458),r=a(258),o=a(502),l=a(25229);let s="undefined"!=typeof document&&window.visualViewport;function d(){let e=(0,l.Av)(),t=(0,o.useState)((()=>e?{width:0,height:0}:c())),a=t[0],d=t[1];return(0,o.useEffect)((()=>{let e,t=e=>{d((t=>e.width===t.width&&e.height===t.height?t:e))},a=()=>{s&&1<s.scale||t(c())},o=a=>{s&&1<s.scale||(0,r.o)((0,i.NI)(a))&&(e=requestAnimationFrame((()=>{let e=(0,i.vY)();e&&(0,r.o)(e)||t({width:document.documentElement.clientWidth,height:document.documentElement.clientHeight})})))};return t(c()),(0,n.gn)()&&window.addEventListener("blur",o,!0),s?s.addEventListener("resize",a):window.addEventListener("resize",a),()=>{cancelAnimationFrame(e),(0,n.gn)()&&window.removeEventListener("blur",o,!0),s?s.removeEventListener("resize",a):window.removeEventListener("resize",a)}}),[]),a}function c(){return{width:s?s.width*s.scale:document.documentElement.clientWidth,height:s?s.height*s.scale:document.documentElement.clientHeight}}},53958:(e,t,a)=>{a.d(t,{ZA:()=>C,u_:()=>w});var i=a(92972),n=a(74599),r=a(92358),o=a(25229),l=a(2979),s=a(60921),d=a(71520),c=a(94912),u=a(60194),h=a(25328),g=a(69820),p=a(61925),m=a(75354),v=a(82822),f=a(55928),b=a(502);const x=["isDismissable","isKeyboardDismissDisabled","isOpen","defaultOpen","onOpenChange","children","isEntering","isExiting","UNSTABLE_portalContainer","shouldCloseOnInteractOutside"],Z=(0,b.createContext)(null),y=(0,b.createContext)(null),w=(0,b.forwardRef)((function(e,t){if((0,b.useContext)(y))return b.default.createElement(N,{...e,modalRef:t},e.children);let a=e.isDismissable,n=e.isKeyboardDismissDisabled,r=e.isOpen,o=e.defaultOpen,l=e.onOpenChange,s=e.children,d=e.isEntering,c=e.isExiting,u=e.UNSTABLE_portalContainer,h=e.shouldCloseOnInteractOutside,g=(0,i.Z)(e,x);return b.default.createElement(C,{isDismissable:a,isKeyboardDismissDisabled:n,isOpen:r,defaultOpen:o,onOpenChange:l,isEntering:d,isExiting:c,UNSTABLE_portalContainer:u,shouldCloseOnInteractOutside:h},b.default.createElement(N,{...g,modalRef:t},s))}));function E(e,t){var a=(0,n.pE)(e,t,Z);e=a[0],t=a[1];let i=(0,b.useContext)(r.$H),l=(0,f.d)(e),s=null==e.isOpen&&null==e.defaultOpen&&i?i:l,d=(0,c.B)(t),h=(0,b.useRef)(null),g=(0,u.x)(d,s.isOpen),p=(0,u.x)(h,s.isOpen),m=g||p||e.isExiting||!1,v=(0,o.Av)();return!s.isOpen&&!m||v?null:b.default.createElement(z,{...e,state:s,isExiting:m,overlayRef:d,modalRef:h})}const C=(0,b.forwardRef)(E);function z({UNSTABLE_portalContainer:e,...t}){let a,i=t.modalRef,o=t.state,d=(0,l.N)(t,o,i),c=d.modalProps,v=d.underlayProps,f=(0,u.i)(t.overlayRef)||t.isEntering||!1,x=(0,n.aX)({...t,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:f,isExiting:t.isExiting,state:o}}),Z=(0,h.n)();if("undefined"!=typeof document){let e=(0,g.a)(document.body)?document.body:document.scrollingElement||document.documentElement,t=e.getBoundingClientRect().height%1;a=e.scrollHeight-t}let w={...x.style,"--visual-viewport-height":Z.height+"px","--page-height":void 0===a?void 0:a+"px"};return b.default.createElement(s.aV,{isExiting:t.isExiting,portalContainer:e},b.default.createElement("div",{...(0,p.d)((0,m.z)(t,{global:!0}),v),...x,style:w,ref:t.overlayRef,"data-entering":f||void 0,"data-exiting":t.isExiting||void 0},b.default.createElement(n.zt,{values:[[y,{modalProps:c,modalRef:i,isExiting:t.isExiting,isDismissable:t.isDismissable}],[r.$H,o]]},x.children)))}function N(e){let t=(0,b.useContext)(y),a=t.modalProps,i=t.modalRef,o=t.isExiting,l=t.isDismissable,s=(0,b.useContext)(r.$H),h=(0,b.useMemo)((()=>(0,v.l)(e.modalRef,i)),[e.modalRef,i]),g=(0,c.B)(h),f=(0,u.i)(g),x=(0,n.aX)({...e,defaultClassName:"react-aria-Modal",values:{isEntering:f,isExiting:o,state:s}});return b.default.createElement("div",{...(0,p.d)((0,m.z)(e,{global:!0}),a),...x,ref:g,"data-entering":f||void 0,"data-exiting":o||void 0},l&&b.default.createElement(d.U,{onDismiss:s.close}),x.children)}}}]);
2//# sourceMappingURL=/static/public/build/ug_react_i18n_es6/../../sourcemap/ug_react_i18n_es6/202609/5759.4507c32c4fee7fdcb8d11f1176daf05f.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.