PageSourceSearch

https://seedance-2.video/_next/static/chunks/9217-c28e927fe7e51654.js?dpl=dpl_5BofdhEVSUuiWbgBKuchdE5bRi2k

js seedance-2.video collected 2026-10-05 01:28:28 UTC 9,433 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9217],{53695:(e,t,n)=>{n.d(t,{n:()=>d});var r=n(49978),o=n(38649),l=n(4939),u=n(87226),a=n(54802),i="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:E,...y}=e,[h,b]=r.useState(null),x=(0,u.c)(g),D=(0,u.c)(E),C=r.useRef(null),N=(0,o.s)(t,e=>b(e)),R=r.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;r.useEffect(()=>{if(d){let e=function(e){if(R.paused||!h)return;let t=e.target;h.contains(t)?C.current=t:m(C.current,{select:!0})},t=function(e){if(R.paused||!h)return;let t=e.relatedTarget;null!==t&&(h.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(h)});return h&&n.observe(h,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[d,h,R.paused]),r.useEffect(()=>{if(h){v.add(R);let e=document.activeElement;if(!h.contains(e)){let t=new CustomEvent(i,c);h.addEventListener(i,x),h.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(h).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&m(h))}return()=>{h.removeEventListener(i,x),setTimeout(()=>{let t=new CustomEvent(s,c);h.addEventListener(s,D),h.dispatchEvent(t),t.defaultPrevented||m(null!=e?e:document.body,{select:!0}),h.removeEventListener(s,D),v.remove(R)},0)}}},[h,x,D,R]);let I=r.useCallback(e=>{if(!n&&!d||R.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,R.paused]);return(0,a.jsx)(l.sG.div,{tabIndex:-1,...y,ref:N,onKeyDown:I})});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}},89217:(e,t,n)=>{n.d(t,{G$:()=>J,Hs:()=>x,UC:()=>en,VY:()=>eo,ZL:()=>ee,bL:()=>Q,bm:()=>el,hE:()=>er,hJ:()=>et,l9:()=>X});var r=n(49978),o=n(85159),l=n(38649),u=n(58625),a=n(26522),i=n(69414),s=n(25012),c=n(53695),d=n(94987),f=n(14651),p=n(4939),m=n(91215),v=n(38657),g=n(22408),E=n(22275),y=n(54802),h="Dialog",[b,x]=(0,u.A)(h),[D,C]=b(h),N=e=>{let{__scopeDialog:t,children:n,open:o,defaultOpen:l,onOpenChange:u,modal:s=!0}=e,c=r.useRef(null),d=r.useRef(null),[f,p]=(0,i.i)({prop:o,defaultProp:null!=l&&l,onChange:u,caller:h});return(0,y.jsx)(D,{scope:t,triggerRef:c,contentRef:d,contentId:(0,a.B)(),titleId:(0,a.B)(),descriptionId:(0,a.B)(),open:f,onOpenChange:p,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),modal:s,children:n})};N.displayName=h;var R="DialogTrigger",I=r.forwardRef((e,t)=>
1{let{__scopeDialog:n,...r}=e,u=C(R,n),a=(0,l.s)(t,u.triggerRef);return(0,y.jsx)(p.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":u.open,"aria-controls":u.contentId,"data-state":Z(u.open),...r,ref:a,onClick:(0,o.mK)(e.onClick,u.onOpenToggle)})});I.displayName=R;var j="DialogPortal",[w,F]=b(j,{forceMount:void 0}),O=e=>{let{__scopeDialog:t,forceMount:n,children:o,container:l}=e,u=C(j,t);return(0,y.jsx)(w,{scope:t,forceMount:n,children:r.Children.map(o,e=>(0,y.jsx)(f.C,{present:n||u.open,children:(0,y.jsx)(d.Z,{asChild:!0,container:l,children:e})}))})};O.displayName=j;var _="DialogOverlay",T=r.forwardRef((e,t)=>{let n=F(_,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,l=C(_,e.__scopeDialog);return l.modal?(0,y.jsx)(f.C,{present:r||l.open,children:(0,y.jsx)(L,{...o,ref:t})}):null});T.displayName=_;var A=(0,E.TL)("DialogOverlay.RemoveScroll"),L=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=C(_,n);return(0,y.jsx)(v.A,{as:A,allowPinchZoom:!0,shards:[o.contentRef],children:(0,y.jsx)(p.sG.div,{"data-state":Z(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),P="DialogContent",S=r.forwardRef((e,t)=>{let n=F(P,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,l=C(P,e.__scopeDialog);return(0,y.jsx)(f.C,{present:r||l.open,children:l.modal?(0,y.jsx)(K,{...o,ref:t}):(0,y.jsx)(k,{...o,ref:t})})});S.displayName=P;var K=r.forwardRef((e,t)=>{let n=C(P,e.__scopeDialog),u=r.useRef(null),a=(0,l.s)(t,n.contentRef,u);return r.useEffect(()=>{let e=u.current;if(e)return(0,g.Eq)(e)},[]),(0,y.jsx)(M,{...e,ref:a,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.mK)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null==(t=n.triggerRef.current)||t.focus()}),onPointerDownOutside:(0,o.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,o.mK)(e.onFocusOutside,e=>e.preventDefault())})}),k=r.forwardRef((e,t)=>{let n=C(P,e.__scopeDialog),o=r.useRef(!1),l=r.useRef(!1);return(0,y.jsx)(M,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,u;null==(r=e.onCloseAutoFocus)||r.call(e,t),t.defaultPrevented||(o.current||null==(u=n.triggerRef.current)||u.focus(),t.preventDefault()),o.current=!1,l.current=!1},onInteractOutside:t=>{var r,u;null==(r=e.onInteractOutside)||r.call(e,t),t.defaultPrevented||(o.current=!0,"pointerdown"===t.detail.originalEvent.type&&(l.current=!0));let a=t.target;(null==(u=n.triggerRef.current)?void 0:u.contains(a))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&l.current&&t.preventDefault()}})}),M=r.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:o,onOpenAutoFocus:u,onCloseAutoFocus:a,...i}=e,d=C(P,n),f=r.useRef(null),p=(0,l.s)(t,f);return(0,m.Oh)(),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(c.n,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:u,onUnmountAutoFocus:a,children:(0,y.jsx)(s.qW,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":Z(d.open),...i,ref:p,onDismiss:()=>d.onOpenChange(!1)})}),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)($,{titleId:d.titleId}),(0,y.jsx)(z,{contentRef:f,descriptionId:d.descriptionId})]})]})}),G="DialogTitle",q=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=C(G,n);return(0,y.jsx)(p.sG.h2,{id:o.titleId,...r,ref:t})});q.displayName=G;var W="DialogDescription",B=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=C(W,n);return(0,y.jsx)(p.sG.p,{id:o.descriptionId,...r,ref:t})});B.displayName=W;var U="DialogClose",H=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,l=C(U,n);return(0,y.jsx)(p.sG.button,{type:"button",...r,ref:t,onClick:(0,o.mK)(e.onClick,()=>l.onOpenChange(!1))})});function Z(e){return e?"open":"closed"}H.displayName=U;var V="DialogTitleWarning",[J,Y]=(0,u.q)(V,{contentName:P,titleName:G,docsSlug:"dialog"}),$=e=>{let{titleId:t}=e,n=Y(V),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},z=e=>{let{contentRef:t,descriptionId:n}=e,o=Y("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},Q=N,X=I,ee=O,et=T,en=S,er=q,eo=B,el=H},91215:(e,t,n)=>{n.d(t,{Oh:()=>l});var r=n(49978),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:u()),document.body.insertAdjacentElement("beforeend",null!=(t=n[1])?t:u()),o++,()=>{1===o&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e
1=>e.remove()),o--}},[])}function u(){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.