6 lines
74 KiB
JavaScript
6 lines
74 KiB
JavaScript
/**
|
|||
|
|
* @vue/server-renderer v3.6.0-rc.10
|
||
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
|
* @license MIT
|
||
|
|
**/
|
||
|
|
function e(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}const t={},n=[],r=()=>{},i=()=>!1,a=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),o=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,s=e=>e.startsWith(`onUpdate:`),c=Object.assign,l=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},u=Object.prototype.hasOwnProperty,d=(e,t)=>u.call(e,t),f=Array.isArray,p=e=>x(e)===`[object Map]`,m=e=>x(e)===`[object Set]`,h=e=>x(e)===`[object Date]`,g=e=>typeof e==`function`,_=e=>typeof e==`string`,v=e=>typeof e==`symbol`,y=e=>typeof e==`object`&&!!e,b=e=>(y(e)||g(e))&&g(e.then)&&g(e.catch),ee=Object.prototype.toString,x=e=>ee.call(e),te=e=>x(e).slice(8,-1),ne=e=>x(e)===`[object Object]`,re=e=>_(e)&&e!==`NaN`&&e[0]!==`-`&&``+parseInt(e,10)===e,ie=e(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),ae=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},oe=/-(\w)/g,se=(e,t)=>t?t.toUpperCase():``,S=ae(e=>e.replace(oe,se)),ce=/\B([A-Z])/g,C=ae(e=>e.replace(ce,`-$1`).toLowerCase()),le=ae(e=>e.charAt(0).toUpperCase()+e.slice(1)),ue=ae(e=>e?`on${le(e)}`:``),w=e=>`${e===`modelValue`||e===`model-value`?`model`:e}Modifiers${e===`model`?`$`:``}`,T=(e,t)=>!Object.is(e,t),de=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},fe=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},pe=e=>{let t=parseFloat(e);return isNaN(t)?e:t};let me;const he=()=>me||(me=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{});function ge(e){return e!==`PROGRESS`&&!e.includes(`-`)}function _e(e){if(f(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=_(r)?be(r):_e(r);if(i)for(let e in i)t[e]=i[e]}return t}if(_(e)||y(e))return e}const ve=/;(?![^(]*\))/g,E=/:([^]+)/,ye=/"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g;function be(e){let t={};return e.replace(ye,e=>e.startsWith(`/*`)?``:e).split(ve).forEach(e=>{if(e){let n=e.split(E);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function xe(e){if(!e)return``;if(_(e))return e;let t=``;for(let n in e){let r=e[n];if(_(r)||typeof r==`number`){let e=n.startsWith(`--`)?n:C(n);t+=`${e}:${r};`}}return t}function Se(e){let t=``;if(_(e))t=e;else if(f(e))for(let n=0;n<e.length;n++){let r=Se(e[n]);r&&(t+=r+` `)}else if(y(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}const Ce=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`),we=e(`area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr`),Te=`itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`,Ee=e(Te),De=e(Te+`,async,autofocus,autoplay,controls,default,defer,disabled,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`);function Oe(e){return!!e||e===``}const ke=/[>/="'\u0009\u000a\u000c\u000d\u0020]/,Ae={};function je(e){if(Ae.hasOwnProperty(e))return Ae[e];let t=ke.test(e);return t&&console.error(`unsafe attribute name: ${e}`),Ae[e]=!t}const Me={acceptCharset:`accept-charset`,className:`class`,htmlFor:`for`,httpEquiv:`http-equiv`};function Ne(e){if(e==null)return!1;let t=typeof e;return t===`string`||t===`number`||t===`boolean`}function Pe(e,t){return t===`spellcheck`||t===`draggable`||t===`translate`||t===`autocorrect`||t===`form`||t===`list`&&e===`INPUT`||t===`type`&&e===`TEXTAREA`||(t===`wi
|