mirror of
https://github.com/XiaoDaiGua-Ray/ray-template.git
synced 2025-04-05 19:42:07 +08:00
6 lines
3.6 KiB
JavaScript
6 lines
3.6 KiB
JavaScript
import{i as R,a as h}from"./@vue_reactivity@3.4.27-nlIwDTvR.js";import{a as g,b as m,c as S,g as A,E as z,n as p,d as N,e as y,f as E,h as j}from"./@vue_shared@3.4.27-oeeFp4ux.js";/**
|
|
* @vue/runtime-core v3.4.27
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let f=null,B=null;const M=Symbol.for("v-ndc"),P=t=>t.__isSuspense,U={},T=t=>Object.getPrototypeOf(t)===U,G=t=>t.__isTeleport,V=Symbol.for("v-fgt"),L=Symbol.for("v-txt"),Y=Symbol.for("v-cmt"),D=Symbol.for("v-stc"),r=[];let u=null;function d(t=!1){r.push(u=t?null:[])}function K(){r.pop(),u=r[r.length-1]||null}function q(t){return t.dynamicChildren=u||z,K(),u&&u.push(t),t}function v(t,s,l,c,n,e){return q(O(t,s,l,c,n,e,!0))}function w(t){return t?t.__v_isVNode===!0:!1}const I=({key:t})=>t??null,_=({ref:t,ref_key:s,ref_for:l})=>(typeof t=="number"&&(t=""+t),t!=null?g(t)||R(t)||S(t)?{i:f,r:t,k:s,f:!!l}:t:null);function O(t,s=null,l=null,c=0,n=null,e=t===V?0:1,o=!1,i=!1){const a={__v_isVNode:!0,__v_skip:!0,type:t,props:s,key:s&&I(s),ref:s&&_(s),scopeId:B,slotScopeIds:null,children:l,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:e,patchFlag:c,dynamicProps:n,dynamicChildren:null,appContext:null,ctx:f};return i?(k(a,l),e&128&&t.normalize(a)):l&&(a.shapeFlag|=g(l)?8:16),!o&&u&&(a.patchFlag>0||e&6)&&a.patchFlag!==32&&u.push(a),a}const x=H;function H(t,s=null,l=null,c=0,n=null,e=!1){if((!t||t===M)&&(t=Y),w(t)){const i=F(t,s,!0);return l&&k(i,l),!e&&u&&(i.shapeFlag&6?u[u.indexOf(t)]=i:u.push(i)),i.patchFlag|=-2,i}if(X(t)&&(t=t.__vccOpts),s){s=J(s);let{class:i,style:a}=s;i&&!g(i)&&(s.class=p(i)),N(a)&&(h(a)&&!m(a)&&(a=y({},a)),s.style=E(a))}const o=g(t)?1:P(t)?128:G(t)?64:N(t)?4:S(t)?2:0;return O(t,s,l,c,n,o,e,!0)}function J(t){return t?h(t)||T(t)?y({},t):t:null}function F(t,s,l=!1,c=!1){const{props:n,ref:e,patchFlag:o,children:i,transition:a}=t,C=s?W(n||{},s):n,b={__v_isVNode:!0,__v_skip:!0,type:t.type,props:C,key:C&&I(C),ref:s&&s.ref?l&&e?m(e)?e.concat(_(s)):[e,_(s)]:_(s):e,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:i,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:s&&t.type!==V?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:a,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&F(t.ssContent),ssFallback:t.ssFallback&&F(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return a&&c&&(b.transition=a.clone(b)),b}function Q(t=" ",s=0){return x(L,null,t,s)}function tt(t,s){const l=x(D,null,t);return l.staticCount=s,l}function k(t,s){let l=0;const{shapeFlag:c}=t;if(s==null)s=null;else if(m(s))l=16;else if(typeof s=="object")if(c&65){const n=s.default;n&&(n._c&&(n._d=!1),k(t,n()),n._c&&(n._d=!0));return}else{l=32;const n=s._;!n&&!T(s)?s._ctx=f:n===3&&f&&(f.slots._===1?s._=1:(s._=2,t.patchFlag|=1024))}else S(s)?(s={default:s,_ctx:f},l=32):(s=String(s),c&64?(l=16,s=[Q(s)]):l=8);t.children=s,t.shapeFlag|=l}function W(...t){const s={};for(let l=0;l<t.length;l++){const c=t[l];for(const n in c)if(n==="class")s.class!==c.class&&(s.class=p([s.class,c.class]));else if(n==="style")s.style=E([s.style,c.style]);else if(j(n)){const e=s[n],o=c[n];o&&e!==o&&!(m(e)&&e.includes(o))&&(s[n]=e?[].concat(e,o):o)}else n!==""&&(s[n]=c[n])}return s}{const t=A(),s=(l,c)=>{let n;return(n=t[l])||(n=t[l]=[]),n.push(c),e=>{n.length>1?n.forEach(o=>o(e)):n[0](e)}};s("__VUE_INSTANCE_SETTERS__",l=>l),s("__VUE_SSR_SETTERS__",l=>l)}function X(t){return S(t)&&"__vccOpts"in t}export{tt as a,v as c,d as o};
|