Initial commit

This commit is contained in:
K20 committed 2025-12-24 12:08:26 +05:30
commit b71b3fcbf2
862 files changed
+596723

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2018-present, Yuxi (Evan) You
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
+13
View File
@@ -0,0 +1,13 @@
# @vue/runtime-dom
```js
import { h, createApp } from '@vue/runtime-dom'
const RootComponent = {
render() {
return h('div', 'hello world')
},
}
createApp(RootComponent).mount('#app')
```
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+7
View File
@@ -0,0 +1,7 @@
/**
* @vue/runtime-dom v3.5.26
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/var e,t;let n,l,r,i,s,o,a,u,c,f,p,d;function h(e){let t=Object.create(null);for(let n of e.split(","))t[n]=1;return e=>e in t}let g={},_=[],m=()=>{},y=()=>!1,b=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||97>e.charCodeAt(2)),S=e=>e.startsWith("onUpdate:"),C=Object.assign,x=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},w=Object.prototype.hasOwnProperty,E=(e,t)=>w.call(e,t),k=Array.isArray,T=e=>"function"==typeof e,A=e=>"string"==typeof e,R=e=>"symbol"==typeof e,O=e=>null!==e&&"object"==typeof e,N=e=>(O(e)||T(e))&&T(e.then)&&T(e.catch),P=Object.prototype.toString,M=e=>A(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,I=h(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),L=e=>{let t=Object.create(null);return n=>t[n]||(t[n]=e(n))},F=/-\w/g,j=L(e=>e.replace(F,e=>e.slice(1).toUpperCase())),D=/\B([A-Z])/g,V=L(e=>e.replace(D,"-$1").toLowerCase()),U=L(e=>e.charAt(0).toUpperCase()+e.slice(1)),$=L(e=>e?`on${U(e)}`:""),B=(e,t)=>!Object.is(e,t),H=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},W=(e,t,n,l=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:l,value:n})},K=e=>{let t=parseFloat(e);return isNaN(t)?e:t},z=e=>{let t=A(e)?Number(e):NaN;return isNaN(t)?e:t},q=()=>n||(n="u">typeof globalThis?globalThis:"u">typeof self?self:"u">typeof window?window:"u">typeof global?global:{}),G=h("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol");function J(e){if(k(e)){let t={};for(let n=0;n<e.length;n++){let l=e[n],r=A(l)?function(e){let t={};return e.replace(Y,"").split(X).forEach(e=>{if(e){let n=e.split(Z);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}(l):J(l);if(r)for(let e in r)t[e]=r[e]}return t}if(A(e)||O(e))return e}let X=/;(?![^(]*\))/g,Z=/:([^]+)/,Y=/\/\*[^]*?\*\//g;function Q(e){let t="";if(A(e))t=e;else if(k(e))for(let n=0;n<e.length;n++){let l=Q(e[n]);l&&(t+=l+" ")}else if(O(e))for(let n in e)e[n]&&(t+=n+" ");return t.trim()}function ee(e){if(!e)return null;let{class:t,style:n}=e;return t&&!A(t)&&(e.class=Q(t)),n&&(e.style=J(n)),e}let et=h("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function en(e,t){let n,l;if(e===t)return!0;let r="[object Date]"===(n=e,P.call(n)),i="[object Date]"===(l=t,P.call(l));if(r||i)return!!r&&!!i&&e.getTime()===t.getTime();if(r=R(e),i=R(t),r||i)return e===t;if(r=k(e),i=k(t),r||i)return!!r&&!!i&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let l=0;n&&l<e.length;l++)n=en(e[l],t[l]);return n}(e,t);if(r=O(e),i=O(t),r||i){if(!r||!i||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e){let l=e.hasOwnProperty(n),r=t.hasOwnProperty(n);if(l&&!r||!l&&r||!en(e[n],t[n]))return!1}}return String(e)===String(t)}function el(e,t){return e.findIndex(e=>en(e,t))}let er=e=>!!(e&&!0===e.__v_isRef),ei=e=>A(e)?e:null==e?"":k(e)||O(e)&&(e.toString===P||!T(e.toString))?er(e)?ei(e.value):JSON.stringify(e,es,2):String(e),es=(e,t)=>{let n;if(er(t))return es(e,t.value);if("[object Map]"===(n=t,P.call(n)))return{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],l)=>(e[eo(t,l)+" =>"]=n,e),{})};{let e;if("[object Set]"===(e=t,P.call(e)))return{[`Set(${t.size})`]:[...t.values()].map(e=>eo(e))};else{if(R(t))return eo(t);let e;if(O(t)&&!k(t)&&"[object Object]"!==(e=t,P.call(e)))return String(t)}}return t},eo=(e,t="")=>{var n;return R(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};class ea{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=l,!e&&l&&(this.index=(l.scopes||(l.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){let e,t;if(this._isPaused=!1,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){let t=l;try{return l=this,e()}finally{l=t}}}on(){1==++this._on&&(this.prevScope=l,l=this)}off(){this._on>0&&0==--this._on&&(l=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){let t,n;for(t=0,this._active=!1,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,this.effects.length=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){let e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}}function eu(e){return new ea(e)}function ec(){return l}function ef(e,t=!1){l&&l.cleanups.push(e)}let ep=new WeakSet;class ed{cLine truncated
`===n[0]&&("PRE"===e.tagName||"TEXTAREA"===e.tagName)&&(n=n.slice(1));let{textContent:l}=e;l!==n&&l!==n.replace(/\r\n|\r/g,`
`)&&(n6(e,0)||nZ(),e.textContent=t.children)}if(u){if(g||!s||48&c){let t=e.tagName.includes("-");for(let r in u)(g&&(r.endsWith("value")||"indeterminate"===r)||b(r)&&!I(r)||"."===r[0]||t)&&l(e,r,null,u[r],void 0,n)}else if(u.onClick)l(e,"onClick",null,u.onClick,void 0,n);else if(4&c&&tc(u.style))for(let e in u.style)u.style[e]}(a=u&&u.onVnodeBeforeMount)&&iu(a,n,t),d&&ni(t,null,n,"beforeMount"),((a=u&&u.onVnodeMounted)||d||y)&&r$(()=>{a&&iu(a,n,t),y&&h.enter(e),d&&ni(t,null,n,"mounted")},r)}return e.nextSibling},p=(e,t,l,s,o,u,f)=>{f=f||!!t.dynamicChildren;let p=t.children,d=p.length;for(let t=0;t<d;t++){let h=f?p[t]:p[t]=ii(p[t]),g=h.type===rW;e?(g&&!f&&t+1<d&&ii(p[t+1]).type===rW&&(a(r(e.data.slice(h.children.length)),l,i(e)),e.data=h.children),e=c(e,h,s,o,u,f)):g&&!h.children?a(h.el=r(""),l):(n6(l,1)||nZ(),n(null,h,l,null,s,o,nY(l),u))}return e},d=(e,t,n,l,r,o)=>{let{slotScopeIds:c}=t;c&&(r=r?r.concat(c):c);let f=s(e),d=p(i(e),t,f,n,l,r,o);return d&&nQ(d)&&"]"===d.data?i(t.anchor=d):(nZ(),a(t.anchor=u("]"),f,d),d)},h=(e,t,l,r,a,u)=>{if(n6(e.parentElement,1)||nZ(),t.el=null,u){let t=g(e);for(;;){let n=i(e);if(n&&n!==t)o(n);else break}}let c=i(e),f=s(e);return o(e),n(null,t,f,c,l,r,nY(f),a),l&&(l.vnode.el=t.el,rd(l,t.el)),c},g=(e,t="[",n="]")=>{let l=0;for(;e;)if((e=i(e))&&nQ(e)&&(e.data===t&&l++,e.data===n))if(0===l)return i(e);else l--;return e},_=(e,t,n)=>{let l=t.parentNode;l&&l.replaceChild(e,t);let r=n;for(;r;)r.vnode.el===t&&(r.vnode.el=r.subTree.el=e),r=r.parent},m=e=>1===e.nodeType&&"TEMPLATE"===e.tagName;return[(e,t)=>{if(!t.hasChildNodes()){n(null,e,t),t4(),t._vnode=e;return}c(t.firstChild,e,null,null,null),t4(),t._vnode=e},c]}let n1="data-allow-mismatch",n2={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function n6(e,t){if(0===t||1===t)for(;e&&!e.hasAttribute(n1);)e=e.parentElement;let n=e&&e.getAttribute(n1);if(null==n)return!1;{if(""===n)return!0;let e=n.split(",");return!!(0===t&&e.includes("children"))||e.includes(n2[t])}}let n8=q().requestIdleCallback||(e=>setTimeout(e,1)),n4=q().cancelIdleCallback||(e=>clearTimeout(e)),n3=(e=1e4)=>t=>{let n=n8(t,{timeout:e});return()=>n4(n)},n5=e=>(t,n)=>{let l=new IntersectionObserver(e=>{for(let n of e)if(n.isIntersecting){l.disconnect(),t();break}},e);return n(e=>{if(e instanceof Element){if(function(e){let{top:t,left:n,bottom:l,right:r}=e.getBoundingClientRect(),{innerHeight:i,innerWidth:s}=window;return(t>0&&t<i||l>0&&l<i)&&(n>0&&n<s||r>0&&r<s)}(e))return t(),l.disconnect(),!1;l.observe(e)}}),()=>l.disconnect()},n9=e=>t=>{if(e){let n=matchMedia(e);if(!n.matches)return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t);t()}},n7=(e=[])=>(t,n)=>{A(e)&&(e=[e]);let l=!1,r=e=>{l||(l=!0,i(),t(),e.target.dispatchEvent(new e.constructor(e.type,e)))},i=()=>{n(t=>{for(let n of e)t.removeEventListener(n,r)})};return n(t=>{for(let n of e)t.addEventListener(n,r,{once:!0})}),i},le=e=>!!e.type.__asyncLoader;function lt(e){let t;T(e)&&(e={loader:e});let{loader:n,loadingComponent:l,errorComponent:r,delay:i=200,hydrate:s,timeout:o,suspensible:a=!0,onError:u}=e,c=null,f=0,p=()=>{let e;return c||(e=c=n().catch(e=>{if(e=e instanceof Error?e:Error(String(e)),u)return new Promise((t,n)=>{u(e,()=>t((f++,c=null,p())),()=>n(e),f+1)});throw e}).then(n=>e!==c&&c?c:(n&&(n.__esModule||"Module"===n[Symbol.toStringTag])&&(n=n.default),t=n,n)))};return nH({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(e,n,l){let r=!1;(n.bu||(n.bu=[])).push(()=>r=!0);let i=()=>{r||l()},o=s?()=>{let t=s(i,t=>(function(e,t){if(nQ(e)&&"["===e.data){let n=1,l=e.nextSibling;for(;l;){if(1===l.nodeType){if(!1===t(l))break}else if(nQ(l))if("]"===l.data){if(0==--n)break}else"["===l.data&&n++;l=l.nextSibling}}else t(e)})(e,t));t&&(n.bum||(n.bum=[])).push(t)}:i;t?o():p().then(()=>!n.isUnmounted&&o())},get __asyncResolved(){return t},setup(){let e=ih;if(nK(e),t)return()=>ln(t,e);let n=t=>{c=null,tz(t,e,13,!r)};if(a&&e.suspense||iy)return p().then(t=>()=>ln(t,e)).catch(e=>(n(e),()=>r?r9(r,{error:e}):null));let s=ty(!1),u=ty(),f=ty(!!i);return i&&setTimeout(()=>{f.value=!1},i),null!=o&&setTimeout(()=>{if(!s.value&&!u.value){let e=Error(`Async component timed out after ${o}ms.`);n(e),u.value=e}},o),p().then(()=>{s.value=!0,e.parent&&ll(e.parent.vnode)&&e.parent.update()}).catch(e=>{n(e),u.value=e}),()=>s.value&&t?ln(t,e):u.value&&r?r9(r,{error:u.value}):l&&!f.value?ln(l,e):void 0}})}function ln(e,t){let{ref:n,props:l,children:r,ce:i}=t.vnode,s=r9(e,l,r);return s.ref=n,s.ce=i,delete t.vnode.ce,s}let ll=e=>e.type.__isKeepAlive,lr={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){let n=ig(),l=n.ctx;if(!l.renderer)return()=>{let e=t.default&&t.default();return e&&1===e.length?e[0]:e};let r=new Map,i=new Set,s=null,o=n.suspense,{renderer:{p:a,m:u,um:c,o:{createElement:f}}}=l,p=f("div");function d(e){lu(e),c(e,n,o,!0)}function h(e){r.forEach((t,n)=>{let l=iA(le(t)?t.type.__async Line truncated
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+7
View File
@@ -0,0 +1,7 @@
/**
* @vue/runtime-dom v3.5.26
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/var VueRuntimeDOM=function(e){"use strict";var t,n;let l,r,i,s,o,a,u,c,f,p,d,h;function g(e){let t=Object.create(null);for(let n of e.split(","))t[n]=1;return e=>e in t}let _={},m=[],y=()=>{},b=()=>!1,S=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||97>e.charCodeAt(2)),x=e=>e.startsWith("onUpdate:"),C=Object.assign,w=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},E=Object.prototype.hasOwnProperty,k=(e,t)=>E.call(e,t),T=Array.isArray,A=e=>"function"==typeof e,O=e=>"string"==typeof e,R=e=>"symbol"==typeof e,N=e=>null!==e&&"object"==typeof e,P=e=>(N(e)||A(e))&&A(e.then)&&A(e.catch),M=Object.prototype.toString,I=e=>O(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,L=g(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),F=e=>{let t=Object.create(null);return n=>t[n]||(t[n]=e(n))},D=/-\w/g,j=F(e=>e.replace(D,e=>e.slice(1).toUpperCase())),V=/\B([A-Z])/g,U=F(e=>e.replace(V,"-$1").toLowerCase()),$=F(e=>e.charAt(0).toUpperCase()+e.slice(1)),B=F(e=>e?`on${$(e)}`:""),H=(e,t)=>!Object.is(e,t),W=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},K=(e,t,n,l=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:l,value:n})},z=e=>{let t=parseFloat(e);return isNaN(t)?e:t},q=e=>{let t=O(e)?Number(e):NaN;return isNaN(t)?e:t},G=()=>l||(l="u">typeof globalThis?globalThis:"u">typeof self?self:"u">typeof window?window:"u">typeof global?global:{}),J=g("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol");function X(e){if(T(e)){let t={};for(let n=0;n<e.length;n++){let l=e[n],r=O(l)?function(e){let t={};return e.replace(Q,"").split(Z).forEach(e=>{if(e){let n=e.split(Y);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}(l):X(l);if(r)for(let e in r)t[e]=r[e]}return t}if(O(e)||N(e))return e}let Z=/;(?![^(]*\))/g,Y=/:([^]+)/,Q=/\/\*[^]*?\*\//g;function ee(e){let t="";if(O(e))t=e;else if(T(e))for(let n=0;n<e.length;n++){let l=ee(e[n]);l&&(t+=l+" ")}else if(N(e))for(let n in e)e[n]&&(t+=n+" ");return t.trim()}let et=g("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function en(e,t){let n,l;if(e===t)return!0;let r="[object Date]"===(n=e,M.call(n)),i="[object Date]"===(l=t,M.call(l));if(r||i)return!!r&&!!i&&e.getTime()===t.getTime();if(r=R(e),i=R(t),r||i)return e===t;if(r=T(e),i=T(t),r||i)return!!r&&!!i&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let l=0;n&&l<e.length;l++)n=en(e[l],t[l]);return n}(e,t);if(r=N(e),i=N(t),r||i){if(!r||!i||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e){let l=e.hasOwnProperty(n),r=t.hasOwnProperty(n);if(l&&!r||!l&&r||!en(e[n],t[n]))return!1}}return String(e)===String(t)}function el(e,t){return e.findIndex(e=>en(e,t))}let er=e=>!!(e&&!0===e.__v_isRef),ei=e=>O(e)?e:null==e?"":T(e)||N(e)&&(e.toString===M||!A(e.toString))?er(e)?ei(e.value):JSON.stringify(e,es,2):String(e),es=(e,t)=>{let n;if(er(t))return es(e,t.value);if("[object Map]"===(n=t,M.call(n)))return{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],l)=>(e[eo(t,l)+" =>"]=n,e),{})};{let e;if("[object Set]"===(e=t,M.call(e)))return{[`Set(${t.size})`]:[...t.values()].map(e=>eo(e))};else{if(R(t))return eo(t);let e;if(N(t)&&!T(t)&&"[object Object]"!==(e=t,M.call(e)))return String(t)}}return t},eo=(e,t="")=>{var n;return R(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};class ea{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=r,!e&&r&&(this.index=(r.scopes||(r.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){let e,t;if(this._isPaused=!1,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){let t=r;try{return r=this,e()}finally{r=t}}}on(){1==++this._on&&(this.prevScope=r,r=this)}off(){this._on>0&&0==--this._on&&(r=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){let t,n;for(t=0,this._active=!1,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,this.effects.length=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){let e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}}let eu=new WeakSet;class ec{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,r&&r.active&&r.effects.pusLine truncated
`===n[0]&&("PRE"===e.tagName||"TEXTAREA"===e.tagName)&&(n=n.slice(1));let{textContent:l}=e;l!==n&&l!==n.replace(/\r\n|\r/g,`
`)&&(nR(e,0)||nw(),e.textContent=t.children)}if(u){if(g||!s||48&c){let t=e.tagName.includes("-");for(let r in u)(g&&(r.endsWith("value")||"indeterminate"===r)||S(r)&&!L(r)||"."===r[0]||t)&&l(e,r,null,u[r],void 0,n)}else if(u.onClick)l(e,"onClick",null,u.onClick,void 0,n);else if(4&c&&tr(u.style))for(let e in u.style)u.style[e]}(a=u&&u.onVnodeBeforeMount)&&rf(a,n,t),d&&tX(t,null,n,"beforeMount"),((a=u&&u.onVnodeMounted)||d||y)&&lG(()=>{a&&rf(a,n,t),y&&h.enter(e),d&&tX(t,null,n,"mounted")},r)}return e.nextSibling},p=(e,t,l,s,o,u,f)=>{f=f||!!t.dynamicChildren;let p=t.children,d=p.length;for(let t=0;t<d;t++){let h=f?p[t]:p[t]=ro(p[t]),g=h.type===lZ;e?(g&&!f&&t+1<d&&ro(p[t+1]).type===lZ&&(a(r(e.data.slice(h.children.length)),l,i(e)),e.data=h.children),e=c(e,h,s,o,u,f)):g&&!h.children?a(h.el=r(""),l):(nR(l,1)||nw(),n(null,h,l,null,s,o,nE(l),u))}return e},d=(e,t,n,l,r,o)=>{let{slotScopeIds:c}=t;c&&(r=r?r.concat(c):c);let f=s(e),d=p(i(e),t,f,n,l,r,o);return d&&nk(d)&&"]"===d.data?i(t.anchor=d):(nw(),a(t.anchor=u("]"),f,d),d)},h=(e,t,l,r,a,u)=>{if(nR(e.parentElement,1)||nw(),t.el=null,u){let t=g(e);for(;;){let n=i(e);if(n&&n!==t)o(n);else break}}let c=i(e),f=s(e);return o(e),n(null,t,f,c,l,r,nE(f),a),l&&(l.vnode.el=t.el,lx(l,t.el)),c},g=(e,t="[",n="]")=>{let l=0;for(;e;)if((e=i(e))&&nk(e)&&(e.data===t&&l++,e.data===n))if(0===l)return i(e);else l--;return e},_=(e,t,n)=>{let l=t.parentNode;l&&l.replaceChild(e,t);let r=n;for(;r;)r.vnode.el===t&&(r.vnode.el=r.subTree.el=e),r=r.parent},m=e=>1===e.nodeType&&"TEMPLATE"===e.tagName;return[(e,t)=>{if(!t.hasChildNodes()){n(null,e,t),tW(),t._vnode=e;return}c(t.firstChild,e,null,null,null),tW(),t._vnode=e},c]}let nA="data-allow-mismatch",nO={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function nR(e,t){if(0===t||1===t)for(;e&&!e.hasAttribute(nA);)e=e.parentElement;let n=e&&e.getAttribute(nA);if(null==n)return!1;{if(""===n)return!0;let e=n.split(",");return!!(0===t&&e.includes("children"))||e.includes(nO[t])}}let nN=G().requestIdleCallback||(e=>setTimeout(e,1)),nP=G().cancelIdleCallback||(e=>clearTimeout(e)),nM=e=>!!e.type.__asyncLoader;function nI(e,t){let{ref:n,props:l,children:r,ce:i}=t.vnode,s=rl(e,l,r);return s.ref=n,s.ce=i,delete t.vnode.ce,s}let nL=e=>e.type.__isKeepAlive;function nF(e,t){let n;if(T(e))return e.some(e=>nF(e,t));if(O(e))return e.split(",").includes(t);return"[object RegExp]"===(n=e,M.call(n))&&(e.lastIndex=0,e.test(t))}function nD(e,t){nV(e,"a",t)}function nj(e,t){nV(e,"da",t)}function nV(e,t,n=rh){let l=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(nB(t,l,n),n){let e=n.parent;for(;e&&e.parent;)nL(e.parent.vnode)&&function(e,t,n,l){let r=nB(t,e,l,!0);nJ(()=>{w(l[t],r)},n)}(l,t,n,e),e=e.parent}}function nU(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function n$(e){return 128&e.shapeFlag?e.ssContent:e}function nB(e,t,n=rh,l=!1){if(n){let r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...l)=>{eS();let r=rv(n),i=tR(t,n,e,l);return r(),ex(),i});return l?r.unshift(i):r.push(i),i}}let nH=e=>(t,n=rh)=>{ry&&"sp"!==e||nB(e,(...e)=>t(...e),n)},nW=nH("bm"),nK=nH("m"),nz=nH("bu"),nq=nH("u"),nG=nH("bum"),nJ=nH("um"),nX=nH("sp"),nZ=nH("rtg"),nY=nH("rtc");function nQ(e,t=rh){nB("ec",e,t)}let n0="components",n1=Symbol.for("v-ndc");function n2(e,t,n=!0,l=!1){let r=tz||rh;if(r){let n=r.type;if(e===n0){let e=rE(n,!1);if(e&&(e===t||e===j(t)||e===$(j(t))))return n}let i=n6(r[e]||n[e],t)||n6(r.appContext[e],t);return!i&&l?n:i}}function n6(e,t){return e&&(e[t]||e[j(t)]||e[$(j(t))])}let n8=e=>e?rm(e)?rw(e):n8(e.parent):null,n4=C(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>n8(e.parent),$root:e=>n8(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ll(e),$forceUpdate:e=>e.f||(e.f=()=>{tU(e.update)}),$nextTick:e=>e.n||(e.n=tV.bind(e.proxy)),$watch:e=>t2.bind(e)}),n3=(e,t)=>e!==_&&!e.__isScriptSetup&&k(e,t),n5={get({_:e},t){let n,l;if("__v_skip"===t)return!0;let{ctx:r,setupState:i,data:s,props:o,accessCache:a,type:u,appContext:c}=e;if("$"!==t[0]){let e=a[t];if(void 0!==e)switch(e){case 1:return i[t];case 2:return s[t];case 4:return r[t];case 3:return o[t]}else{if(n3(i,t))return a[t]=1,i[t];if(s!==_&&k(s,t))return a[t]=2,s[t];if(k(o,t))return a[t]=3,o[t];if(r!==_&&k(r,t))return a[t]=4,r[t];lt&&(a[t]=0)}}let f=n4[t];return f?("$attrs"===t&&eN(e.attrs,"get",""),f(e)):(n=u.__cssModules)&&(n=n[t])?n:r!==_&&k(r,t)?(a[t]=4,r[t]):k(l=c.config.globalProperties,t)?l[t]:void 0},set({_:e},t,n){let{data:l,setupState:r,ctx:i}=e;return n3(r,t)?(r[t]=n,!0):l!==_&&k(l,t)?(l[t]=n,!0):!k(e.props,t)&&!("$"===t[0]&&t.slice(1)in e)&&(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:l,appContext:r,props:i,type:s}},o){let a;return!!(n[o]||e!==_&&"$"!==o[0]&&k(e,o)||n3(t,o)||k(i,o)||k(l,o)||k(n4,o)||k(r.config.globalProperties,o)||(a=s.__cssModules)&&a[o])},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:k(n,"value")&&this.set(e,t,n.value,null) Line truncated
+7
View File
@@ -0,0 +1,7 @@
'use strict'
if (process.env.NODE_ENV === 'production') {
module.exports = require('./dist/runtime-dom.cjs.prod.js')
} else {
module.exports = require('./dist/runtime-dom.cjs.js')
}
+60
View File
@@ -0,0 +1,60 @@
{
"name": "@vue/runtime-dom",
"version": "3.5.26",
"description": "@vue/runtime-dom",
"main": "index.js",
"module": "dist/runtime-dom.esm-bundler.js",
"types": "dist/runtime-dom.d.ts",
"unpkg": "dist/runtime-dom.global.js",
"files": [
"index.js",
"dist"
],
"exports": {
".": {
"types": "./dist/runtime-dom.d.ts",
"node": {
"production": "./dist/runtime-dom.cjs.prod.js",
"development": "./dist/runtime-dom.cjs.js",
"default": "./index.js"
},
"module": "./dist/runtime-dom.esm-bundler.js",
"import": "./dist/runtime-dom.esm-bundler.js",
"require": "./index.js"
},
"./*": "./*"
},
"sideEffects": false,
"buildOptions": {
"name": "VueRuntimeDOM",
"formats": [
"esm-bundler",
"esm-browser",
"cjs",
"global"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/core.git",
"directory": "packages/runtime-dom"
},
"keywords": [
"vue"
],
"author": "Evan You",
"license": "MIT",
"bugs": {
"url": "https://github.com/vuejs/core/issues"
},
"homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-dom#readme",
"dependencies": {
"csstype": "^3.2.3",
"@vue/shared": "3.5.26",
"@vue/reactivity": "3.5.26",
"@vue/runtime-core": "3.5.26"
},
"devDependencies": {
"@types/trusted-types": "^2.0.7"
}
}