utils/node_modules/@vue/compiler-dom/dist/compiler-dom.esm-browser.prod.js

7 lines
78 KiB
JavaScript
Raw Normal View History

2024-02-07 01:33:07 -05:00
/**
* @vue/compiler-dom v3.4.15
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
function e(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const t={},n=()=>{},s=()=>!1,i=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),o=Object.assign,r=Array.isArray,c=e=>"string"==typeof e,a=e=>"symbol"==typeof e,l=e=>null!==e&&"object"==typeof e,h=e(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),d=e("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),p=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},u=/-(\w)/g,f=p((e=>e.replace(u,((e,t)=>t?t.toUpperCase():"")))),m=p((e=>e.charAt(0).toUpperCase()+e.slice(1))),_=p((e=>e?`on${m(e)}`:""));function E(e,t=0,n=e.length){let s=e.split(/(\r?\n)/);const i=s.filter(((e,t)=>t%2==1));s=s.filter(((e,t)=>t%2==0));let o=0;const r=[];for(let c=0;c<s.length;c++)if(o+=s[c].length+(i[c]&&i[c].length||0),o>=t){for(let e=c-2;e<=c+2||n>o;e++){if(e<0||e>=s.length)continue;const a=e+1;r.push(`${a}${" ".repeat(Math.max(3-String(a).length,0))}| ${s[e]}`);const l=s[e].length,h=i[e]&&i[e].length||0;if(e===c){const e=t-(o-(l+h)),s=Math.max(1,n>o?l-e:n-t);r.push(" | "+" ".repeat(e)+"^".repeat(s))}else if(e>c){if(n>o){const e=Math.max(Math.min(n-o,l),1);r.push(" | "+"^".repeat(e))}o+=l+h}}break}return r.join("\n")}const S=/;(?![^(]*\))/g,g=/:([^]+)/,T=/\/\*[^]*?\*\//g;const N=e("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),I=e("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),y=e("annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics"),O=e("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),b=Symbol(""),A=Symbol(""),v=Symbol(""),C=Symbol(""),x=Symbol(""),R=Symbol(""),L=Symbol(""),M=Symbol(""),P=Symbol(""),D=Symbol(""),k=Symbol(""),V=Symbol(""),X=Symbol(""),w=Symbol(""),U=Symbol(""),F=Symbol(""),B=Symbol(""),$=Symbol(""),H=Symbol(""),G=Symbol(""),q=Symbol(""),J=Symbol(""),j=Symbol(""),W=Symbol(""),K=Symbol(""),Y=Symbol(""),Q=Symbol(""),z=Symbol(""),Z=Symbol(""),ee=Symbol(""),te=Symbol(""),ne=Symbol(""),se=Symbol(""),ie=Symbol(""),oe=Symbol(""),re=Symbol(""),ce=Symbol(""),ae=Symbol(""),le=Symbol(""),he={[b]:"Fragment",[A]:"Teleport",[v]:"Suspense",[C]:"KeepAlive",[x]:"BaseTransition",[R]:"openBlock",[L]:"createBlock",[M]:"createElementBlock",[P]:"createVNode",[D]:"createElementVNode",[k]:"createCommentVNode",[V]:"createTextVNode",[X]:"createStaticVNode",[w]:"resolveComponent",[U]:"resolveDynamicComponent",[F]:"resolveDirective",[B]:"resolveFilter",[$]:"withDirectives",[H]:"renderList",[G]:"renderSlot",[q]:"createSlots",[J]:"toDisplayString",[j]:"mergeProps