PageSourceSearch

https://seedance2.live/_next/static/chunks/9256-653f30e7bd5abe30.js

js seedance2.live collected 2026-10-04 02:18:31 UTC 14,277 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9256],{8513:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(85841).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},56134:(e,t,r)=>{r.d(t,{F:()=>a});var n=r(36484);let o=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,i=n.$,a=(e,t)=>r=>{var n;if((null==t?void 0:t.variants)==null)return i(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:a,defaultVariants:l}=t,c=Object.keys(a).map(e=>{let t=null==r?void 0:r[e],n=null==l?void 0:l[e];if(null===t)return null;let i=o(t)||o(n);return a[e][i]}),u=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return i(e,c,null==t||null==(n=t.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:r,className:n,...o}=t;return Object.entries(o).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...l,...u}[t]):({...l,...u})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}},58137:(e,t,r)=>{r.d(t,{Xs:()=>p});var n,o=r(49016),i=r(2100),a=(0,o.forwardRef)(({as:e="div",...t},r)=>(0,i.jsx)(e,{...t,ref:r})),l="cf-turnstile-script",c="onloadTurnstileCallback",u={normal:{width:300,height:65},compact:{width:150,height:140},invisible:{width:0,height:0,overflow:"hidden"},flexible:{minWidth:300,width:"100%",height:65},interactionOnly:{width:"fit-content",height:"auto",display:"flex"}},s="unloaded",d=new Promise((e,t)=>{n={resolve:e,reject:t},"ready"===s&&e(void 0)}),f=(e=c)=>("unloaded"===s&&(s="loading",window[e]=()=>{n.resolve(),s="ready",delete window[e]}),d),p=(0,o.forwardRef)((e,t)=>{let{scriptOptions:r,options:n={},siteKey:d,onWidgetLoad:p,onSuccess:m,onExpire:h,onError:y,onBeforeInteractive:v,onAfterInteractive:w,onUnsupported:b,onTimeout:x,onLoadScript:g,id:k,style:E,as:C="div",injectScript:R=!0,rerenderOnCallbackChange:j=!1,...A}=e,I=n.size,O=(0,o.useCallback)(()=>typeof I>"u"?{}:"execute"===n.execution?u.invisible:"interaction-only"===n.appearance?u.interactionOnly:u[I],[n.execution,I,n.appearance]),[P,N]=(0,o.useState)(O()),T=(0,o.useRef)(null),[L,S]=(0,o.useState)(!1),$=(0,o.useRef)(void 0),_=(0,o.useRef)(!1),B=k||"cf-turnstile",M=(0,o.useRef)({onSuccess:m,onError:y,onExpire:h,onBeforeInteractive:v,onAfterInteractive:w,onUnsupported:b,onTimeout:x});(0,o.useEffect)(()=>{j||(M.current={onSuccess:m,onError:y,onExpire:h,onBeforeInteractive:v,onAfterInteractive:w,onUnsupported:b,onTimeout:x})});let U=r?.id||l,D=function(e=l){let[t,r]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{let t=()=>{document.getElementById(e)&&r(!0)},n=new MutationObserver(t);return n.observe(document,{childList:!0,subtree:!0}),t(),()=>{n.disconnect()}},[e]),t}(U),F=r?.onLoadCallbackName||c,W=n.appearance||"always",z=(0,o.useMemo)(()=>({sitekey:d,action:n.action,cData:n.cData,theme:n.theme||"auto",language:n.language||"auto",tabindex:n.tabIndex,"response-field":n.responseField,"response-field-name":n.responseFieldName,size:function(e){if("invisible"!==e&&"interactionOnly"!==e)return e}(I),retry:n.retry||"auto","retry-interval":n.retryInterval||8e3,"refresh-expired":n.refreshExpired||"auto","refresh-timeout":n.refreshTimeout||"auto",execution:n.execution||"render",appearance:n.appearance||"always","feedback-enabled":n.feedbackEnabled||!0,callback:e=>{_.current=!0,j?m?.(e):M.current.onSuccess?.(e)},"error-callback":j?y:(...e)=>M.current.onError?.(...e),"expired-callback":j?h:(...e)=>M.current.onExpire?.(...e),"before-interactive-callback":j?v:(...e)=>M.current.onBeforeInteractive?.(...e),"after-interactive-callback":j?w:(...e)=>M.current.onAfterInteractive?.(...e),"unsupported-callback":j?b:(...e)=>M.current.onUnsupported?.(...e),"timeout-callback":j?x:(...e)=>M.current.onTimeout?.(...e)}),[n.action,n.appearance,n.cData,n.execution,n.language,n.refreshExpired,n.responseField,n.responseFieldName,n.retry,n.retryInterval,n.tabIndex,n.theme,n.feedbackEnabled,n.refreshTimeout,d,I,j,j?m:null,j?y:null,j?h:null,j?v:null,j?w:null,j?b:null,j?x:null]),Y=(0,o.useCallback)(()=>"u">typeof window&&!!window.turnstile,[]);return(0,o.useEffect)(function(){R&&!L&&(f(F),(({render:e="explicit",onLoadCallbackName:t=c,scriptOptions:{nonce:r="",defer:n=!0,async:o=!0,id:i="",appendTo:a,onError:u,crossOrigin:s=""}={}})=>{let d=i||l;if(document.getElementById(d))return;let f=document.createElement("script");f.id=d,f.src=`https://challenges.cloudflare.com/turnstile/v0/api.js?onload=${t}&render=${e}`,document.querySelector(`script[src="${f.src}"]`)||(f.defer=!!n,f.async=!!o,r&&(f.nonce=r),s&&(f.crossOrigin=s),u&&(f.onerror=u,delete window[t]),("body"===a?document.body:document.getElementsByTagName("head")[0]).appendChild(f))})({onLoadCallbackName:F,scriptOptions:{...r,id:U}}))},[R,L,r,U,F]),(0,o.useEffect)(function(){"ready"!==s&&f(F).then(()=>S(!0)).catch(console.error)},[F]),(0,o.useEffect)(function(){if(!T.current||!L)return;let e=!1;return(async()=>{e||!T.current||($.current=window.turnstile.render(T.current,z),$.current&&p?.($.current))})(),()=>{e=!0,$.current&&(window.turnstile.remove($.current),_.current=!1)}},[B,L,z]),(0,o.useImperativeHandle)(t,()=>{let{turnstile:e}=window;
1return{getResponse(){if(e?.getResponse&&$.current&&Y())return e.getResponse($.current)},getResponsePromise:async(e=3e4,t=100)=>new Promise((r,n)=>{let o,i=async()=>{if(_.current&&window.turnstile&&$.current)try{let e=window.turnstile.getResponse($.current);return o&&clearTimeout(o),e?r(e):n(Error("No response received"))}catch(e){return o&&clearTimeout(o),console.warn("Failed to get response",e),n(Error("Failed to get response"))}o||(o=setTimeout(()=>{o&&clearTimeout(o),n(Error("Timeout"))},e)),await new Promise(e=>setTimeout(e,t)),await i()};i()}),reset(){if(e?.reset&&$.current&&Y()){"execute"===n.execution&&N(u.invisible);try{_.current=!1,e.reset($.current)}catch(e){}}},remove(){e?.remove&&$.current&&Y()&&(N(u.invisible),_.current=!1,e.remove($.current),$.current=null)},render(){if(!e?.render||!T.current||!Y()||$.current)return;let t=e.render(T.current,z);return $.current=t,$.current&&p?.($.current),"execute"!==n.execution&&N(I?u[I]:{}),t},execute(){"execute"!==n.execution||e?.execute&&T.current&&$.current&&Y()&&(e.execute(T.current,z),N(I?u[I]:{}))},isExpired:()=>e?.isExpired&&$.current&&Y()?e.isExpired($.current):(console.warn("Turnstile has not been loaded"),!1)}},[$,n.execution,I,z,T,Y,L,p]),(0,o.useEffect)(()=>{if(L||!D)return;if(window.turnstile)return void S(!0);let e=setInterval(()=>{window.turnstile&&(S(!0),clearInterval(e))},50);return()=>{clearInterval(e)}},[L,D]),(0,o.useEffect)(()=>{N(O())},[n.execution,I,W]),(0,o.useEffect)(()=>{D&&"function"==typeof g&&g()},[D]),(0,i.jsx)(a,{ref:T,as:C,id:B,style:{...P,...E},...A})});p.displayName="Turnstile"},58726:(e,t,r)=>{r.d(t,{DX:()=>d,TL:()=>s});var n,o=r(49016),i=r(94057),a=r(2100),l=Symbol.for("react.lazy"),c=(n||(n=r.t(o,2)))[" use ".trim().toString()];function u(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===l&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}function s(e){var t;let r,n=(t=e,(r=o.forwardRef((e,t)=>{let{children:r,...n}=e;if(u(r)&&"function"==typeof c&&(r=c(r._payload)),o.isValidElement(r)){var a;let e,l,c=(a=r,(l=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(l=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),u=function(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==o.Fragment&&(u.ref=t?(0,i.t)(t,c):c),o.cloneElement(r,u)}return o.Children.count(r)>1?o.Children.only(null):null})).displayName=`${t}.SlotClone`,r),l=o.forwardRef((e,t)=>{let{children:r,...i}=e;u(r)&&"function"==typeof c&&(r=c(r._payload));let l=o.Children.toArray(r),s=l.find(p);if(s){let e=s.props.children,r=l.map(t=>t!==s?t:o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null);return(0,a.jsx)(n,{...i,ref:t,children:o.isValidElement(e)?o.cloneElement(e,void 0,r):null})}return(0,a.jsx)(n,{...i,ref:t,children:r})});return l.displayName=`${e}.Slot`,l}var d=s("Slot"),f=Symbol("radix.slottable");function p(e){return o.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===f}},68397:(e,t,r)=>{function n(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}r.d(t,{A:()=>o});var o=function e(t,r){function o(e,o,i){if("undefined"!=typeof document){"number"==typeof(i=n({},r,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var l in i)i[l]&&(a+="; "+l,!0!==i[l]&&(a+="="+i[l].split(";")[0]));return document.cookie=e+"="+t.write(o,e)+a}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var r=document.cookie?document.cookie.split("; "):[],n={},o=0;o<r.length;o++){var i=r[o].split("="),a=i.slice(1).join("=");try{var l=decodeURIComponent(i[0]);if(n[l]=t.read(a,l),e===l)break}catch(e){}}return e?n[e]:n}},remove:function(e,t){o(e,"",n({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,n({},this.attributes,t))},withConverter:function(t){return e(n({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decode
1URIComponent)}},{path:"/"})},70360:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(85841).A)("github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]])},79439:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(85841).A)("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]])},85841:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(49016);let o=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},i=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim();var a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,n.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:o,className:l="",children:c,iconNode:u,...s},d)=>(0,n.createElement)("svg",{ref:d,...a,width:t,height:t,stroke:e,strokeWidth:o?24*Number(r)/Number(t):r,className:i("lucide",l),...!c&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(s)&&{"aria-hidden":"true"},...s},[...u.map(([e,t])=>(0,n.createElement)(e,t)),...Array.isArray(c)?c:[c]])),c=(e,t)=>{let r=(0,n.forwardRef)(({className:r,...a},c)=>(0,n.createElement)(l,{ref:c,iconNode:t,className:i(`lucide-${o(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,r),...a}));return r.displayName=o(e),r}},86325:(e,t,r)=>{r.d(t,{A:()=>p});var n=r(35492),o=r(49016),i=r.t(o,2),a=r(71525),l=i["use".trim()],c=r(67084),u=r(23697),s=r(82277),d=r(2100),f=r(69727);function p(e){let{Link:t,config:r,getPathname:i,...p}=function(e,t){var r,i,a;let f={...r=t||{},localePrefix:"object"==typeof(a=r.localePrefix)?a:{mode:a||"always"},localeCookie:!!((i=r.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof i&&i},localeDetection:r.localeDetection??!0,alternateLinks:r.alternateLinks??!0},p=f.pathnames,m=(0,o.forwardRef)(function({href:t,locale:r,...n},o){let i,a;"object"==typeof t?(i=t.pathname,a=t.params):i=t;let s=(0,c._x)(t),m=e(),y=(0,c.yL)(m)?l(m):m,v=s?h({locale:r||y,href:null==p?i:{pathname:i,params:a},forcePrefix:null!=r||void 0}):i;return(0,d.jsx)(u.default,{ref:o,href:"object"==typeof t?{...t,pathname:v}:v,locale:r,localeCookie:f.localeCookie,...n})});function h(e){let t,{forcePrefix:r,href:n,locale:o}=e;return null==p?"object"==typeof n?(t=n.pathname,n.query&&(t+=(0,s.Zn)(n.query))):t=n:t=(0,s.FP)({locale:o,...(0,s.TK)(n),pathnames:f.pathnames}),(0,s.x3)(t,o,f,r)}function y(e){return function(t,...r){return e(h(t),...r)}}return{config:f,Link:m,redirect:y(n.redirect),permanentRedirect:y(n.permanentRedirect),getPathname:h}}(a.Ym,e);return{...p,Link:t,usePathname:function(){let e,t,i=(e=(0,n.usePathname)(),t=(0,a.Ym)(),(0,o.useMemo)(()=>{if(!e)return e;let n=e,o=(0,c.XP)(t,r.localePrefix);if((0,c.wO)(o,e))n=(0,c.MY)(e,o);else if("never"!==r.localePrefix.mode&&r.localePrefix.prefixes){let r=(0,c.bL)(t);(0,c.wO)(r,e)&&(n=(0,c.MY)(e,r))}return n},[r.localePrefix,t,e])),l=(0,a.Ym)();return(0,o.useMemo)(()=>i&&r.pathnames?(0,s.aM)(l,i,r.pathnames):i,[l,i])},useRouter:function(){let e=(0,n.useRouter)(),t=(0,a.Ym)(),l=(0,n.usePathname)();return(0,o.useMemo)(()=>{function n(e){return function(n,o){let{locale:a,...c}=o||{},u=[i({href:n,locale:a||t,forcePrefix:null!=a||void 0})];Object.keys(c).length>0&&u.push(c),(0,f.A)(r.localeCookie,l,t,a),e(...u)}}return{...e,push:n(e.push),replace:n(e.replace),prefetch:n(e.prefetch)}},[t,l,e])},getPathname:i}}},89771:(e,t,r)=>{r.d(t,{A:()=>n});function n(e){return e}},94057:(e,t,r)=>{r.d(t,{s:()=>a,t:()=>i});var n=r(49016);function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function i(...e){return t=>{let r=!1,n=e.map(e=>{let n=o(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():o(e[t],null)}}}}function a(...e){return n.useCallback(i(...e),e)}},98485:(e,t,r)=>{r.d(t,{c:()=>i});var n=r(71525);function o(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let i=o(0,n.c3);o(0,n.kc)}}]);

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.