PageSourceSearch

https://mouredev.pro/assets/index.es-DyTp-mEh.js

js mouredev.pro collected 2026-09-25 21:13:17 UTC 8,134 bytes, 11 lines download raw bytes

1import{a as e}from"./rolldown-runtime-Cyuzqnbw.js";import{P as t}from"./chunk-5KNZJZUH-jiyEHOq5.js";var n=e(t());function r(e,t,n,r){return new(n||=Promise)((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))}function i(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==`function`&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw TypeError(`Generator is already executing.`);for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!((i=i.length>0&&i[i.length-1])||a[0]!==6&&a[0]!==2)){o=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(a[0]===6&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function a(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)}function o(e,t){var n=typeof Symbol==`function`&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(t===void 0||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function s(e,t,n){if(n||arguments.length===2)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||=Array.prototype.slice.call(t,0,i),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function c(e,t,n,c,d){var f=[...arguments].slice(5);return r(this,void 0,void 0,(function(){var r,p,m,h,g,_;return i(this,(function(i){switch(i.label){case 0:i.trys.push([0,12,13,14]),r=a(f),p=r.next(),i.label=1;case 1:if(p.done)return[3,11];switch(m=p.value,typeof m){case`string`:return[3,2];case`number`:return[3,4];case`function`:return[3,6]}return[3,8];case 2:return[4,l(e,t,m,n,c,d)];case 3:return i.sent(),[3,10];case 4:return[4,u(m)];case 5:return i.sent(),[3,10];case 6:return[4,m.apply(void 0,s([e,t,n,c,d],o(f),!1))];case 7:return i.sent(),[3,10];case 8:return[4,m];case 9:i.sent(),i.label=10;case 10:return p=r.next(),[3,1];case 11:return[3,14];case 12:return h=i.sent(),g={error:h},[3,14];case 13:try{p&&!p.done&&(_=r.return)&&_.call(r)}finally{if(g)throw g.error}return[7];case 14:return[2]}}
1))}))}function l(e,t,n,a,c,l){return r(this,void 0,void 0,(function(){var r,u;return i(this,(function(i){switch(i.label){case 0:return r=e.textContent||``,u=function(e,t){var n=o(t).slice(0);return s(s([],o(e),!1),[NaN],!1).findIndex((function(e,t){return n[t]!==e}))}(r,n),[4,d(e,s(s([],o(p(r,t,u)),!1),o(f(n,t,u)),!1),a,c,l)];case 1:return i.sent(),[2]}}))}))}function u(e){return r(this,void 0,void 0,(function(){return i(this,(function(t){switch(t.label){case 0:return[4,new Promise((function(t){return setTimeout(t,e)}))];case 1:return t.sent(),[2]}}))}))}function d(e,t,n,s,c){return r(this,void 0,void 0,(function(){var r,l,d,f,p,m,h,g,_,v,y,b,x;return i(this,(function(S){switch(S.label){case 0:if(r=t,c){for(l=0,d=1;d<t.length;d++)if(f=o([t[d-1],t[d]],2),p=f[0],(m=f[1]).length>p.length||m===``){l=d;break}r=t.slice(l,t.length)}S.label=1;case 1:S.trys.push([1,6,7,8]),h=a(function(e){var t,n,r,o,s,c,l;return i(this,(function(u){switch(u.label){case 0:t=function(e){return i(this,(function(t){switch(t.label){case 0:return[4,{op:function(t){return requestAnimationFrame((function(){return t.textContent=e}))},opCode:function(t){var n=t.textContent||``;return e===``||n.length>e.length?`DELETE`:`WRITING`}}];case 1:return t.sent(),[2]}}))},u.label=1;case 1:u.trys.push([1,6,7,8]),n=a(e),r=n.next(),u.label=2;case 2:return r.done?[3,5]:(o=r.value,[5,t(o)]);case 3:u.sent(),u.label=4;case 4:return r=n.next(),[3,2];case 5:return[3,8];case 6:return s=u.sent(),c={error:s},[3,8];case 7:try{r&&!r.done&&(l=n.return)&&l.call(n)}finally{if(c)throw c.error}return[7];case 8:return[2]}}
1))}(r)),g=h.next(),S.label=2;case 2:return g.done?[3,5]:(_=g.value,v=_.opCode(e)===`WRITING`?n+n*(Math.random()-.5):s+s*(Math.random()-.5),_.op(e),[4,u(v)]);case 3:S.sent(),S.label=4;case 4:return g=h.next(),[3,2];case 5:return[3,8];case 6:return y=S.sent(),b={error:y},[3,8];case 7:try{g&&!g.done&&(x=h.return)&&x.call(h)}finally{if(b)throw b.error}return[7];case 8:return[2]}}))}))}function f(e,t,n){var r,a;return n===void 0&&(n=0),i(this,(function(i){switch(i.label){case 0:r=t(e),a=r.length,i.label=1;case 1:return n<a?[4,r.slice(0,++n).join(``)]:[3,3];case 2:return i.sent(),[3,1];case 3:return[2]}}))}function p(e,t,n){var r,a;return n===void 0&&(n=0),i(this,(function(i){switch(i.label){case 0:r=t(e),a=r.length,i.label=1;case 1:return a>n?[4,r.slice(0,--a).join(``)]:[3,3];case 2:return i.sent(),[3,1];case 3:return[2]}}))}var m=`index-module_type__E-SaG`;(function(e,t){t===void 0&&(t={});var n=t.insertAt;if(e&&typeof document<`u`){var r=document.head||document.getElementsByTagName(`head`)[0],i=document.createElement(`style`);i.type=`text/css`,n===`top`&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}})(`.index-module_type__E-SaG::after {
2  content: '|';
3  animation: index-module_cursor__PQg0P 1.1s infinite step-start;
4}
5
6@keyframes index-module_cursor__PQg0P {
7  50% {
8    opacity: 0;
9  }
10}
11`);var h=(0,n.memo)((0,n.forwardRef)((function(e,t){var r=e.sequence,i=e.repeat,a=e.className,l=e.speed,u=l===void 0?40:l,d=e.deletionSpeed,f=e.omitDeletionAnimation,p=f!==void 0&&f,h=e.preRenderFirstString,g=h!==void 0&&h,_=e.wrapper,v=_===void 0?`span`:_,y=e.splitter,b=y===void 0?function(e){return s([],o(e),!1)}:y,x=e.cursor,S=x===void 0||x,C=e.style,w=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}(e,[`sequence`,`repeat`,`className`,`speed`,`deletionSpeed`,`omitDeletionAnimation`,`preRenderFirstString`,`wrapper`,`splitter`,`cursor`,`style`]),T=w[`aria-label`],E=w[`aria-hidden`],D=w.role;d||=u;var O=[,,].fill(40);[u,d].forEach((function(e,t){switch(typeof e){case`number`:O[t]=Math.abs(e-100);break;case`object`:var n=e.type,r=e.value;if(typeof r!=`number`)break;n===`keyStrokeDelayInMs`&&(O[t]=r)}}));var k,A,j,M,N,P,F=O[0],I=O[1],L=function(e,t){t===void 0&&(t=null);var r=(0,n.useRef)(t);return(0,n.useEffect)((function(){e&&(typeof e==`function`?e(r.current):e.current=r.current)}),[e]),r}(t),R=m;k=a?`${S?R+` `:``}${a}`:S?R:``,A=(0,n.useRef)((function(){var e,t=r;i===1/0?e=c:typeof i==`number`&&(t=Array(1+i).fill(r).flat());var n=e?s(s([],o(t),!1),[e],!1):s([],o(t),!1);return c.apply(void 0,s([L.current,b,F,I,p],o(n),!1)),function(){L.current}})),j=(0,n.useRef)(),M=(0,n.useRef)(!1),N=(0,n.useRef)(!1),P=o((0,n.use
11State)(0),2)[1],M.current&&(N.current=!0),(0,n.useEffect)((function(){return M.current||(j.current=A.current(),M.current=!0),P((function(e){return e+1})),function(){N.current&&j.current&&j.current()}}),[]);var z=v,B=g?r.find((function(e){return typeof e==`string`}))||``:null;return n.createElement(z,{"aria-hidden":E,"aria-label":T,role:D,style:C,className:k,children:T?n.createElement(`span`,{"aria-hidden":`true`,ref:L,children:B}):B,ref:T?void 0:L})})),(function(e,t){return!0}));export{h as t};

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.