PageSourceSearch

https://playary.com/_next/static/chunks/158-cd3f3138f2434a94.js

js playary.com collected 2026-09-24 10:40:48 UTC 12,600 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[158],{10158:(e,t,n)=>{n.d(t,{bm:()=>ei,UC:()=>eo,VY:()=>ea,hJ:()=>er,ZL:()=>en,bL:()=>ee,hE:()=>el,l9:()=>et,G$:()=>Y,Hs:()=>C});var r=n(12115),o=!!("undefined"!=typeof window&&window.document&&window.document.createElement);function l(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}var a=n(6101),i=n(46081),u=n(61285),s=n(5845),c=n(69816),d=n(25519),f=n(34378),p=n(28905),m=n(63540),v=n(92293),g=n(31114),y=n(38168),h=n(95155),E=Symbol("radix.slottable");function b(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===E}var w="Dialog",[x,C]=(0,i.A)(w),[D,A]=x(w),N=e=>{let{__scopeDialog:t,children:n,open:o,defaultOpen:l,onOpenChange:a,modal:i=!0}=e,c=r.useRef(null),d=r.useRef(null),[f,p]=(0,s.i)({prop:o,defaultProp:null!=l&&l,onChange:a,caller:w});return(0,h.jsx)(D,{scope:t,triggerRef:c,contentRef:d,contentId:(0,u.B)(),titleId:(0,u.B)(),descriptionId:(0,u.B)(),open:f,onOpenChange:p,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),modal:i,children:n})};N.displayName=w;var R="DialogTrigger",j=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=A(R,n),i=(0,a.s)(t,o.triggerRef);return(0,h.jsx)(m.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":$(o.open),...r,ref:i,onClick:l(e.onClick,o.onOpenToggle)})});j.displayName=R;var I="DialogPortal",[F,O]=x(I,{forceMount:void 0}),S=e=>{let{__scopeDialog:t,forceMount:n,children:o,container:l}=e,a=A(I,t);return(0,h.jsx)(F,{scope:t,forceMount:n,children:r.Children.map(o,e=>(0,h.jsx)(p.C,{present:n||a.open,children:(0,h.jsx)(f.Z,{asChild:!0,container:l,children:e})}))})};S.displayName=I;var _="DialogOverlay",k=r.forwardRef((e,t)=>{let n=O(_,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,l=A(_,e.__scopeDialog);return l.modal?(0,h.jsx)(p.C,{present:r||l.open,children:(0,h.jsx)(T,{...o,ref:t})}):null});k.displayName=_;var P=function(e){let t=function(e){let t=r.forwardRef((e,t)=>{let{children:n,...o}=e;if(r.isValidElement(n)){var l;let e,i,u=(l=n,(i=(e=Object.getOwnPropertyDescriptor(l.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?l.ref:(i=(e=Object.getOwnPropertyDescriptor(l,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?l.props.ref:l.props.ref||l.ref),s=function(e,t){let n={...t};for(let r in t){let o=e[r],l=t[r];/^on[A-Z]/.test(r)?o&&l?n[r]=(...e)=>{let t=l(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...l}:"className"===r&&(n[r]=[o,l].filter(Boolean).join(" "))}return{...e,...n}}(o,n.props);return n.type!==r.Fragment&&(s.ref=t?(0,a.t)(t,u):u),r.cloneElement(n,s)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=r.forwardRef((e,n)=>{let{children:o,...l}=e,a=r.Children.toArray(o),i=a.find(b);if(i){let e=i.props.children,o=a.map(t=>t!==i?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,h.jsx)(t,{...l,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,o):null})}return(0,h.jsx)(t,{...l,ref:n,children:o})});return n.displayName=`${e}.Slot`,n}("DialogOverlay.RemoveScroll"),T=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=A(_,n);return(0,h.jsx)(g.A,{as:P,allowPinchZoom:!0,shards:[o.contentRef],children:(0,h.jsx)(m.sG.div,{"data-state":$(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),L="DialogContent",M=r.forwardRef((e,t)=>{let n=O(L,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,l=A(L,e.__scopeDialog);return(0,h.jsx)(p.C,{present:r||l.open,children:l.modal?(0,h.jsx)(W,{...o,ref:t}):(0,h.jsx)(K,{...o,ref:t})})});M.displayName=L;var W=r.forwardRef((e,t)=>{let n=A(L,e.__scopeDialog),o=r.useRef(null),i=(0,a.s)(t,n.contentRef,o);return r.useEffect(()=>{let e=o.current;if(e)return(0,y.Eq)(e)},[]),(0,h.jsx)(q,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:l(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null==(t=n.triggerRef.current)||t.focus()}),onPointerDownOutside:l(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:l(e.onFocusOutside,e=>e.preventDefault())})}),K=r.forwardRef((e,t)=>
1{let n=A(L,e.__scopeDialog),o=r.useRef(!1),l=r.useRef(!1);return(0,h.jsx)(q,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,a;null==(r=e.onCloseAutoFocus)||r.call(e,t),t.defaultPrevented||(o.current||null==(a=n.triggerRef.current)||a.focus(),t.preventDefault()),o.current=!1,l.current=!1},onInteractOutside:t=>{var r,a;null==(r=e.onInteractOutside)||r.call(e,t),t.defaultPrevented||(o.current=!0,"pointerdown"===t.detail.originalEvent.type&&(l.current=!0));let i=t.target;(null==(a=n.triggerRef.current)?void 0:a.contains(i))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&l.current&&t.preventDefault()}})}),q=r.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:o,onOpenAutoFocus:l,onCloseAutoFocus:i,...u}=e,s=A(L,n),f=r.useRef(null),p=(0,a.s)(t,f);return(0,v.Oh)(),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(d.n,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:l,onUnmountAutoFocus:i,children:(0,h.jsx)(c.qW,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":$(s.open),...u,ref:p,onDismiss:()=>s.onOpenChange(!1)})}),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(Q,{titleId:s.titleId}),(0,h.jsx)(X,{contentRef:f,descriptionId:s.descriptionId})]})]})}),B="DialogTitle",G=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=A(B,n);return(0,h.jsx)(m.sG.h2,{id:o.titleId,...r,ref:t})});G.displayName=B;var V="DialogDescription",U=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=A(V,n);return(0,h.jsx)(m.sG.p,{id:o.descriptionId,...r,ref:t})});U.displayName=V;var H="DialogClose",Z=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=A(H,n);return(0,h.jsx)(m.sG.button,{type:"button",...r,ref:t,onClick:l(e.onClick,()=>o.onOpenChange(!1))})});function $(e){return e?"open":"closed"}Z.displayName=H;var J="DialogTitleWarning",[Y,z]=(0,i.q)(J,{contentName:L,titleName:B,docsSlug:"dialog"}),Q=e=>{let{titleId:t}=e,n=z(J),o="`".concat(n.contentName,"` requires a `").concat(n.titleName,"` for the component to be accessible for screen reader users.\n\nIf you want to hide the `").concat(n.titleName,"`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/").concat(n.docsSlug);return r.useEffect(()=>{t&&(document.getElementById(t)||console.error(o))},[o,t]),null},X=e=>{let{contentRef:t,descriptionId:n}=e,o=z("DialogDescriptionWarning"),l="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(o.contentName,"}.");return r.useEffect(()=>{var e;let r=null==(e=t.current)?void 0:e.getAttribute("aria-describedby");n&&r&&(document.getElementById(n)||console.warn(l))},[l,t,n]),null},ee=N,et=j,en=S,er=k,eo=M,el=G,ea=U,ei=Z},25519:(e,t,n)=>{n.d(t,{n:()=>d});var r=n(12115),o=n(6101),l=n(63540),a=n(39033),i=n(95155),u="focusScope.autoFocusOnMount",s="focusScope.autoFocusOnUnmount",c={bubbles:!1,cancelable:!0},d=r.forwardRef((e,t)=>{let{loop:n=!1,trapped:d=!1,onMountAutoFocus:g,onUnmountAutoFocus:y,...h}=e,[E,b]=r.useState(null),w=(0,a.c)(g),x=(0,a.c)(y),C=r.useRef(null),D=(0,o.s)(t,e=>b(e)),A=r.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;r.useEffect(()=>{if(d){let e=function(e){if(A.paused||!E)return;let t=e.target;E.contains(t)?C.current=t:m(C.current,{select:!0})},t=function(e){if(A.paused||!E)return;let t=e.relatedTarget;null!==t&&(E.contains(t)||m(C.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&m(E)});return E&&n.observe(E,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[d,E,A.paused]),r.useEffect(()=>{if(E){v.add(A);let e=document.activeElement;if(!E.contains(e)){let t=new CustomEvent(u,c);E.addEventListener(u,w),E.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.activeElement;for(let r of e)if(m(r,{select:t}),document.activeElement!==n)return}(f(E).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&m(E))}return()=>{E.removeEventListener(u,w),setTimeout(()=>{let t=new CustomEvent(s,c);E.addEventListener(s,x),E.dispatchEvent(t),t.defaultPrevented||m(null!=e?e:document.body,{select:!0}),E.removeEventListener(s,x),v.remove(A)},0)}}},[E,w,x,A]);let N=r.useCallback(e=>{if(!n&&!d||A.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){let t=e.currentTarget,[o,l]=function(e){let t=f(e);return[p(t,e),p(t.reverse(),e)]}(t);o&&l?e.shiftKey||r!==l?e.shiftKey&&r===o&&(e.preventDefault(),n&&m(l,{select:!0})):(e.preventDefault(),n&&m(o,{select:!0})):r===t&&e.preventDefault()}},[n,d,A.paused]);return(0,i.jsx)(l.sG.div,{tabIndex:-1,...h,ref:D,onKeyDown:N})});function f(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function p(e,t){for(let n of e)if(!function(e,t){let{upTo:n}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===n||e!==n);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function m(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}d.displayName="FocusScope";var v=function(){let e=[];return{add(t){let n=e[0];t!==n&&(null==n||n.pause()),(e=g(e,t)).unshift(t)},remove(t){var n;null==(n=(e=g(e,t))[0])||n.resume()}}}();function g(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}},38168:(e,t,n)=>{n.d(t,{Eq:()=>c});var r=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},o=new WeakMap,l=new WeakMap,a={},i=0,u=function(e){return e&&(e.host||u(e.parentNode))},s=function(e,t,n,r){var s=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=u(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});a[n]||(a[n]=new WeakMap);var c=a[n],d=[],f=new Set,p=new Set(s),m=function(e){!e||f.has(e)||(f.add(e),m(e.parentNode))};
1s.forEach(m);var v=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))v(e);else try{var t=e.getAttribute(r),a=null!==t&&"false"!==t,i=(o.get(e)||0)+1,u=(c.get(e)||0)+1;o.set(e,i),c.set(e,u),d.push(e),1===i&&a&&l.set(e,!0),1===u&&e.setAttribute(n,"true"),a||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return v(t),f.clear(),i++,function(){d.forEach(function(e){var t=o.get(e)-1,a=c.get(e)-1;o.set(e,t),c.set(e,a),t||(l.has(e)||e.removeAttribute(r),l.delete(e)),a||e.removeAttribute(n)}),--i||(o=new WeakMap,o=new WeakMap,l=new WeakMap,a={})}},c=function(e,t,n){void 0===n&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),l=t||r(e);return l?(o.push.apply(o,Array.from(l.querySelectorAll("[aria-live], script"))),s(o,l,n,"aria-hidden")):function(){return null}}},61285:(e,t,n)=>{n.d(t,{B:()=>u});var r,o=n(12115),l=n(52712),a=(r||(r=n.t(o,2)))[" useId ".trim().toString()]||(()=>void 0),i=0;function u(e){let[t,n]=o.useState(a());return(0,l.N)(()=>{e||n(e=>e??String(i++))},[e]),e||(t?`radix-${t}`:"")}},92293:(e,t,n)=>{n.d(t,{Oh:()=>l});var r=n(12115),o=0;function l(){r.useEffect(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!=(e=n[0])?e:a()),document.body.insertAdjacentElement("beforeend",null!=(t=n[1])?t:a()),o++,()=>{1===o&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),o--}},[])}function a(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}}}]);

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.