PageSourceSearch

https://dark-sonic.vercel.app/assets/hooks.module-FUe7F2R0.js

js dark-sonic.vercel.app collected 2026-10-03 06:32:30 UTC 15,452 bytes, 1 lines download raw bytes

vendor: 7,564 bytes, line 1
1var A,m,m_,y_,H,i_,g_,b_,k_,Y,G,J,$_,M={},w_=[],L_=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,B=Array.isArray;function w(e,_){for(var t in _)e[t]=_[t];return e}function Z(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function K(e,_,t){var n,i,r,u={};for(r in _)r=="key"?n=_[r]:r=="ref"?i=_[r]:u[r]=_[r];if(arguments.length>2&&(u.children=arguments.length>3?A.call(arguments,2):t),typeof e=="function"&&e.defaultProps!=null)for(r in e.defaultProps)u[r]===void 0&&(u[r]=e.defaultProps[r]);return N(e,u,n,i,null)}function N(e,_,t,n,i){var r={type:e,props:_,key:t,ref:n,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:i??++m_,__i:-1,__u:0};return i==null&&m.vnode!=null&&m.vnode(r),r}function W_(){return{current:null}}function L(e){return e.children}function F(e,_){this.props=e,this.context=_}function S(e,_){if(_==null)return e.__?S(e.__,e.__i+1):null;for(var t;_<e.__k.length;_++)if((t=e.__k[_])!=null&&t.__e!=null)return t.__e;return typeof e.type=="function"?S(e):null}function C_(e){var _,t;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,_=0;_<e.__k.length;_++)if((t=e.__k[_])!=null&&t.__e!=null){e.__e=e.__c.base=t.__e;break}return C_(e)}}function Q(e){(!e.__d&&(e.__d=!0)&&H.push(e)&&!q.__r++||i_!==m.debounceRendering)&&((i_=m.debounceRendering)||g_)(q)}function q(){for(var e,_,t,n,i,r,u,c=1;H.length;)H.length>c&&H.sort(b_),e=H.shift(),c=H.length,e.__d&&(t=void 0,i=(n=(_=e).__v).__e,r=[],u=[],_.__P&&((t=w({},n)).__v=n.__v+1,m.vnode&&m.vnode(t),__(_.__P,t,n,_.__n,_.__P.namespaceURI,32&n.__u?[i]:null,r,i??S(n),!!(32&n.__u),u),t.__v=n.__v,t.__.__k[t.__i]=t,S_(r,t,u),t.__e!=i&&C_(t)));q.__r=0}function x_(e,_,t,n,i,r,u,c,f,l,a){var o,p,s,g,k,b,d=n&&n.__k||w_,v=_.length;for(f=I_(t,_,d,f,v),o=0;o<v;o++)(s=t.__k[o])!=null&&(p=s.__i===-1?M:d[s.__i]||M,s.__i=o,b=__(e,s,p,i,r,u,c,f,l,a),g=s.__e,s.ref&&p.ref!=s.ref&&(p.ref&&e_(p.ref,null,s),a.push(s.ref,s.__c||g,s)),k==null&&g!=null&&(k=g),4&s.__u||p.__k===s.__k?f=H_(s,f,e):typeof s.type=="function"&&b!==void 0?f=b:g&&(f=g.nextSibling),s.__u&=-7);return t.__e=k,f}function I_(e,_,t,n,i){var r,u,c,f,l,a=t.length,o=a,p=0;for(e.__k=new Array(i),r=0;r<i;r++)(u=_[r])!=null&&typeof u!="boolean"&&typeof u!="function"?(f=r+p,(u=e.__k[r]=typeof u=="string"||typeof u=="number"||typeof u=="bigint"||u.constructor==String?N(null,u,null,null,null):B(u)?N(L,{children:u},null,null,null):u.constructor===void 0&&u.__b>0?N(u.type,u.props,u.key,u.ref?u.ref:null,u.__v):u).__=e,u.__b=e.__b+1,c=null,(l=u.__i=O_(u,t,f,o))!==-1&&(o--,(c=t[l])&&(c.__u|=2)),c==null||c.__v===null?(l==-1&&(i>a?p--:i<a&&p++),typeof u.type!="function"&&(u.__u|=4)):l!=f&&(l==f-1?p--:l==f+1?p++:(l>f?p--:p++,u.__u|=4))):e.__k[r]=null;if(o)for(r=0;r<a;r++)(c=t[r])!=null&&!(2&c.__u)&&(c.__e==n&&(n=S(c)),E_(c,c));return n}function H_(e,_,t){var n,i;if(typeof e.type=="function"){for(n=e.__k,i=0;n&&i<n.length;i++)n[i]&&(n[i].__=e,_=H_(n[i],_,t));return _}e.__e!=_&&(_&&e.type&&!t.contains(_)&&(_=S(e)),t.insertBefore(e.__e,_||null),_=e.__e);do _=_&&_.nextSibling;while(_!=null&&_.nodeType==8);return _}function P_(e,_){return _=_||[],e==null||typeof e=="boolean"||(B(e)?e.some(function(t){P_(t,_)}):_.push(e)),_}function O_(e,_,t,n){var i,r,u=e.key,c=e.type,f=_[t];if(f===null&&e.key==null||f&&u==f.key&&c===f.type&&!(2&f.__u))return t;if(n>(f!=null&&!(2&f.__u)?1:0))for(i=t-1,r=t+1;i>=0||r<_.length;){if(i>=0){if((f=_[i])&&!(2&f.__u)&&u==f.key&&c===f.type)return i;i--}if(r<_.length){if((f=_[r])&&!(2&f.__u)&&u==f.key&&c===f.type)return r;r++}}return-1}function u_(e,_,t){_[0]=="-"?e.setProperty(_,t??""):e[_]=t==null?"":typeof t!="number"||L_.test(_)?t:t+"px"}function R(e,_,t,n,i){var r;_:if(_=="style")if(typeof t=="string")e.style.cssText=t;else{if(typeof n=="string"&&(e.style.cssText=n=""),n)for(_ in n)t&&_ in t||u_(e.style,_,"");if(t)for(_ in t)n&&t[_]===n[_]||u_(e.style,_,t[_])}else if(_[0]=="o"&&_[1]=="n")r=_!=(_=_.replace(k_,"$1")),_=_.toLowerCase()in e||_=="onFocusOut"||_=="onFocusIn"?_.toLowerCase().slice(2):_.slice(2),e.l||(e.l={}),e.l[_+r]=t,t?n?t.u=n.u:(t.u=Y,e.addEventListener(_,r?J:G,r)):e.removeEventListener(_,r?J:G,r);else{if(i=="http://www.w3.org/2000/svg")_=_.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(_!="width"&&_!="height"&&_!="href"&&_!="list"&&_!="form"&&_!="tabIndex"&&_!="download"&&_!="rowSpan"&&_!="colSpan"&&_!="role"&&_!="popover"&&_ in e)try{e[_]=t??"";break _}catch{}typeof t=="function"||(t==null||t===!1&&_[4]!="-"?e.removeAttribute(_):e.setAttribute(_,_=="popover"&&t==1?"":t))}}function l_(e){return function(_){if(this.l){var t=this.l[_.type+e];if(_.t==null)_.t=Y++;else if(_.t<t.u)return;return t(m.event?m.event(_):_)}}}function __(e,_,t,n,i,r,u,c,f,l){var a,o,p,s,g,k,b,d,v,T,x,W,U,r_,I,o_,O,V,$=_.type;if(_.constructor!==void 0)return null;128&t.__u&&(f=!!(32&t.__u),r=[c=_.__e=t.__e]),(a=m.__b)&&a(_);_:if(typeof $=="function")try{if(d=_.props,v="prototype"in $&&$.prototype.render,T=(a=$.contextType)&&n[a.__c],x=a?T?T.props.value:a.__:n,t.__c?b=(o=_.__c=t.__c).__=o.__E:(v?_.__c=o=new $(d,x):(_.__c=o=new F(d,x),o.constructor=$,o.render=j_),T&&T.sub(o),o.props=d,o.state||(o.state={}),o.context=x,o.__n=n,p=o.__d=!0,o.__h=[],o._sb=[]),v&&o.__s==null&&(o.__s=o.state),v&&$.getDerivedStateFromProps!=null&&(o.__s==o.state&&(o.__s=w({},o.__s)),w(o.__s,$.getDerivedStateFromProps(d,o.__s))),s=o.props,g=o.state,o.__v=_,p)v&&$.getDerivedStateFromProps==null&&o.componentWillMount!=null&&o.componentWillMount(),v&&o.componentDidMount!=null&&o.__h.push(o.componentDidMount);else{if(v&&$.getDerivedStateFromProps==null&&d!==s&&o.componentWillReceiveProps!=null&&o.componentWillReceiveProps(d,x),!o.__e&&(o.shouldComponentUpdate!=null&&o.shouldComponentUpdate(d,o.__s,x)===!1||_.__v==t.__v)){for(_.__v!=t.__v&&(o.props=d,o.state=o.__s,o.__d=!1),_.__e=t.__e,_.__k=t.__k,_.__k.some(function(D){D&&(D.__=_)}),W=0;W<o._sb.length;W++)o.__h.push(o._sb[W]);o._sb=[],o.__h.length&&u.push(o);break _}o.componentWillUpdate!=null&&o.componentWillUpdate(d,o.__s,x),v&&o.componentDidUpdate!=null&&o.__h.push(function(){o.componentDidUpdate(s,g,k)})}if(o.context=x,o.props=d,o.__P=e,o.__e=!1,U=m.__r,r_=0,v){for(o.state=o.__s,o.__d=!1,U&&U(_),a=o.render(o.props,o.state,o.context),I=0;I<o._sb.length;I++)o.__h.push(o._sb[I]);o._sb=[]}else do o.__d=!1,U&&U(_),a=o.render(o.props,o.state,o.context),o.state=o.__s;while(o.__d&&++r_<25);o.state=o.__s,o.getChildContext!=null&&(n=w(w({},n),o.getChildContext())),v&&!p&&o.getSnapshotBeforeUpdate!=null&&(k=o.getSnapshotBeforeUpdate(s,g)),O=(o_=a!=null&&a.type===L&&a.key==null)?a.props.children:a,o_&&(a.props.children=null),c=x_(e,B(O)?O:[O],_,t,n,i,r,u,c,f,l),o.base=_.__e,_.__u&=-161,o.__h.length&&u.push(o),b&&(o.__E=o.__=null)}catch(D){if(_.__v=null,f||r!=null)if(D.then){for(_.__u|=f?160:128;c&&c.nodeType==8&&c.nextSibling;)c=c.nextSibling;r[r.indexOf(c)]=null,_.__e=c}else for(V=r.length;V--;)Z(r[V]);else _.__e=t.__e,_.__k=t.__k;m.__e(D,_,t)}else r==null&&_.__v==t.__v?(_.__k=t.__k,_.__e=t.__e):c=_.__e=R_(t.__e,_,t,n,i,r,u,f,l);return(a=m.diffed)&&a(_),128&_.__u?void 0:c}function S_(e,_,t){for(var n=0;n<t.length;n++)e_(t[n],t[++n],t[++n]);m.__c&&m.__c(_,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(r){r.call(i)})}catch(r){m.__e(r,i.__v)}})}function R_(e,_,t,n,i,r,u,c,f){var l,a,o,p,s,g,k,b=t.props,d=_.props,v=_.type;if(v=="svg"?i="http://www.w3.org/2000/svg":v=="math"?i="http://www.w3.org/1998/Math/MathML":i||(i="http://www.w3.org/1999/xhtml"),r!=null){for(l=0;l<r.length;l++)if((s=r[l])&&"setAttribute"in s==!!v&&(v?s.localName==v:s.nodeType==3)){e=s,r[l]=null;break}}
1if(e==null){if(v==null)return document.createTextNode(d);e=document.createElementNS(i,v,d.is&&d),c&&(m.__m&&m.__m(_,r),c=!1),r=null}if(v===null)b===d||c&&e.data===d||(e.data=d);else{if(r=r&&A.call(e.childNodes),b=t.props||M,!c&&r!=null)for(b={},l=0;l<e.attributes.length;l++)b[(s=e.attributes[l]).name]=s.value;for(l in b)if(s=b[l],l!="children"){if(l=="dangerouslySetInnerHTML")o=s;else if(!(l in d)){if(l=="value"&&"defaultValue"in d||l=="checked"&&"defaultChecked"in d)continue;R(e,l,null,s,i)}}for(l in d)s=d[l],l=="children"?p=s:l=="dangerouslySetInnerHTML"?a=s:l=="value"?g=s:l=="checked"?k=s:c&&typeof s!="function"||b[l]===s||R(e,l,s,b[l],i);if(a)c||o&&(a.__html===o.__html||a.__html===e.innerHTML)||(e.innerHTML=a.__html),_.__k=[];else if(o&&(e.innerHTML=""),x_(_.type==="template"?e.content:e,B(p)?p:[p],_,t,n,v=="foreignObject"?"http://www.w3.org/1999/xhtml":i,r,u,r?r[0]:t.__k&&S(t,0),c,f),r!=null)for(l=r.length;l--;)Z(r[l]);c||(l="value",v=="progress"&&g==null?e.removeAttribute("value"):g!==void 0&&(g!==e[l]||v=="progress"&&!g||v=="option"&&g!==b[l])&&R(e,l,g,b[l],i),l="checked",k!==void 0&&k!==e[l]&&R(e,l,k,b[l],i))}return e}function e_(e,_,t){try{if(typeof e=="function"){var n=typeof e.__u=="function";n&&e.__u(),n&&_==null||(e.__u=e(_))}else e.current=_}catch(i){m.__e(i,t)}}function E_(e,_,t){var n,i;if(m.unmount&&m.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||e_(n,null,_)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(r){m.__e(r,_)}n.base=n.__P=null}if(n=e.__k)for(i=0;i<n.length;i++)n[i]&&E_(n[i],_,t||typeof e.type!="function");t||Z(e.__e),e.__c=e.__=e.__e=void 0}function j_(e,_,t){return this.constructor(e,t)}function T_(e,_,t){var n,i,r,u;_==document&&(_=document.documentElement),m.__&&m.__(e,_),i=(n=typeof t=="function")?null:t&&t.__k||_.__k,r=[],u=[],__(_,e=(!n&&t||_).__k=K(L,null,[e]),i||M,M,_.namespaceURI,!n&&t?[t]:i?null:_.firstChild?A.call(_.childNodes):null,r,!n&&t?t:i?i.__e:_.firstChild,n,u),S_(r,e,u)}function U_(e,_){T_(e,_,U_)}function q_(e,_,t){var n,i,r,u,c=w({},e.props);for(r in e.type&&e.type.defaultProps&&(u=e.type.defaultProps),_)r=="key"?n=_[r]:r=="ref"?i=_[r]:c[r]=_[r]===void 0&&u!==void 0?u[r]:_[r];return arguments.length>2&&(c.children=arguments.length>3?A.call(arguments,2):t),N(e.type,c,n||e.key,i||e.ref,null)}function B_(e){function _(t){var n,i;return this.getChildContext||(n=new Set,(i={})[_.__c]=this,this.getChildContext=function(){return i},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(r){this.props.value!==r.value&&n.forEach(function(u){u.__e=!0,Q(u)})},this.sub=function(r){n.add(r);var u=r.componentWillUnmount;r.componentWillUnmount=function(){n&&n.delete(r),u&&u.call(r)}}),t.children}return _.__c="__cC"+$_++,_.__=e,_.Provider=_.__l=(_.Consumer=function(t,n){return t.children(n)}).contextType=_,_}A=w_.slice,m={__e:function(e,_,t,n){for(var i,r,u;_=_.__;)if((i=_.__c)&&!i.__)try{if((r=i.constructor)&&r.getDerivedStateFromError!=null&&(i.setState(r.getDerivedStateFromError(e)),u=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(e,n||{}),u=i.__d),u)return i.__E=i}catch(c){e=c}throw e}},m_=0,y_=function(e){return e!=null&&e.constructor==null},F.prototype.setState=function(e,_){var t;t=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=w({},this.state),typeof e=="function"&&(e=e(w({},t),this.props)),e&&w(t,e),e!=null&&this.__v&&(_&&this._sb.push(_),Q(this))},F.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Q(this))},F.prototype.render=L,H=[],g_=typeof Promise=="function"?Promise.prototype.then.bind(Prom
1ise.resolve()):setTimeout,b_=function(e,_){return e.__v.__b-_.__v.__b},q.__r=0,k_=/(PointerCapture)$|Capture$/i,Y=0,G=l_(!1),J=l_(!0),$_=0;const ee=Object.freeze(Object.defineProperty({__proto__:null,Component:F,Fragment:L,cloneElement:q_,createContext:B_,createElement:K,createRef:W_,h:K,hydrate:U_,get isValidElement(){return y_},get options(){return m},render:T_,toChildArray:P_},Symbol.toStringTag,{value:"Module"}));var C,h,z,c_,E=0,D_=[],y=m,f_=y.__b,s_=y.__r,a_=y.diffed,p_=y.__c,h_=y.unmount,d_=y.__;function P(e,_){y.__h&&y.__h(h,e,E||_),E=0;var t=h.__H||(h.__H={__:[],__h:[]});return e>=t.__.length&&t.__.push({}),t.__[e]}function N_(e){return E=1,F_(A_,e)}function F_(e,_,t){var n=P(C++,2);if(n.t=e,!n.__c&&(n.__=[t?t(_):A_(void 0,_),function(c){var f=n.__N?n.__N[0]:n.__[0],l=n.t(f,c);f!==l&&(n.__N=[l,n.__[1]],n.__c.setState({}))}],n.__c=h,!h.__f)){var i=function(c,f,l){if(!n.__c.__H)return!0;var a=n.__c.__H.__.filter(function(p){return!!p.__c});if(a.every(function(p){return!p.__N}))return!r||r.call(this,c,f,l);var o=n.__c.props!==c;return a.forEach(function(p){if(p.__N){var s=p.__[0];p.__=p.__N,p.__N=void 0,s!==p.__[0]&&(o=!0)}}),r&&r.call(this,c,f,l)||o};h.__f=!0;var r=h.shouldComponentUpdate,u=h.componentWillUpdate;h.componentWillUpdate=function(c,f,l){if(this.__e){var a=r;r=void 0,i(c,f,l),r=a}u&&u.call(this,c,f,l)}
vendor: 2,938 bytes, line 1
1,h.shouldComponentUpdate=i}return n.__N||n.__}function V_(e,_){var t=P(C++,3);!y.__s&&n_(t.__H,_)&&(t.__=e,t.u=_,h.__H.__h.push(t))}function M_(e,_){var t=P(C++,4);!y.__s&&n_(t.__H,_)&&(t.__=e,t.u=_,h.__h.push(t))}function z_(e){return E=5,t_(function(){return{current:e}},[])}function G_(e,_,t){E=6,M_(function(){if(typeof e=="function"){var n=e(_());return function(){e(null),n&&typeof n=="function"&&n()}}if(e)return e.current=_(),function(){return e.current=null}},t==null?t:t.concat(e))}function t_(e,_){var t=P(C++,7);return n_(t.__H,_)&&(t.__=e(),t.__H=_,t.__h=e),t.__}function J_(e,_){return E=8,t_(function(){return e},_)}function K_(e){var _=h.context[e.__c],t=P(C++,9);return t.c=e,_?(t.__==null&&(t.__=!0,_.sub(h)),_.props.value):e.__}function Q_(e,_){y.useDebugValue&&y.useDebugValue(_?_(e):e)}function X_(e){var _=P(C++,10),t=N_();return _.__=e,h.componentDidCatch||(h.componentDidCatch=function(n,i){_.__&&_.__(n,i),t[1](n)}),[t[0],function(){t[1](void 0)}]}function Y_(){var e=P(C++,11);if(!e.__){for(var _=h.__v;_!==null&&!_.__m&&_.__!==null;)_=_.__;var t=_.__m||(_.__m=[0,0]);e.__="P"+t[0]+"-"+t[1]++}return e.__}function Z_(){for(var e;e=D_.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(j),e.__H.__h.forEach(X),e.__H.__h=[]}catch(_){e.__H.__h=[],y.__e(_,e.__v)}}y.__b=function(e){h=null,f_&&f_(e)},y.__=function(e,_){e&&_.__k&&_.__k.__m&&(e.__m=_.__k.__m),d_&&d_(e,_)},y.__r=function(e){s_&&s_(e),C=0;var _=(h=e.__c).__H;_&&(z===h?(_.__h=[],h.__h=[],_.__.forEach(function(t){t.__N&&(t.__=t.__N),t.u=t.__N=void 0})):(_.__h.forEach(j),_.__h.forEach(X),_.__h=[],C=0)),z=h},y.diffed=function(e){a_&&a_(e);var _=e.__c;_&&_.__H&&(_.__H.__h.length&&(D_.push(_)!==1&&c_===y.requestAnimationFrame||((c_=y.requestAnimationFrame)||_e)(Z_)),_.__H.__.forEach(function(t){t.u&&(t.__H=t.u),t.u=void 0})),z=h=null},y.__c=function(e,_){_.some(function(t){try{t.__h.forEach(j),t.__h=t.__h.filter(function(n){return!n.__||X(n)})}catch(n){_.some(function(i){i.__h&&(i.__h=[])}),_=[],y.__e(n,t.__v)}}),p_&&p_(e,_)},y.unmount=function(e){h_&&h_(e);var _,t=e.__c;t&&t.__H&&(t.__H.__.forEach(function(n){try{j(n)}catch(i){_=i}}),t.__H=void 0,_&&y.__e(_,t.__v))};var v_=typeof requestAnimationFrame=="function";function _e(e){var _,t=function(){clearTimeout(n),v_&&cancelAnimationFrame(_),setTimeout(e)},n=setTimeout(t,100);v_&&(_=requestAnimationFrame(t))}function j(e){var _=h,t=e.__c;typeof t=="function"&&(e.__c=void 0,t()),h=_}function X(e){var _=h;e.__c=e.__(),h=_}function n_(e,_){return!e||e.length!==_.length||_.some(function(t,n){return t!==e[n]})}function A_(e,_){return typeof _=="function"?_(e):_}const te=Object.freeze(Object.defineProperty({__proto__:null,useCallback:J_,useContext:K_,useDebugValue:Q_,useEffect:V_,useErrorBoundary:X_,useId:Y_,useImperativeHandle:G_,useLayoutEffect:M_,useMemo:t_,useReducer:F_,useRef:z_,useState:N_},Symbol.toStringTag,{value:"Module"}));export{T_ as D,K as _,N_ as d,te as h,ee as p,V_ as y};

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.