TOPVERSE_Official/.output/public/_nuxt/ContentRendererMarkdown.6e8...

2 lines
22 KiB
JavaScript
Raw Normal View History

2023-05-31 11:02:15 +08:00
import{a as Z,z as J,ai as M,C as T,X as E,am as x,s as G,an as Q}from"./entry.a42f0781.js";import{p as nn}from"./index.a6ef77ff.js";import{u as ln}from"./preview.000d6083.js";class S{constructor(e,t,o){this.property=e,this.normal=t,o&&(this.space=o)}}S.prototype.property={};S.prototype.normal={};S.prototype.space=null;function U(n,e){const t={},o={};let r=-1;for(;++r<n.length;)Object.assign(t,n[r].property),Object.assign(o,n[r].normal);return new S(t,o,e)}function P(n){return n.toLowerCase()}class m{constructor(e,t){this.property=e,this.attribute=t}}m.prototype.space=null;m.prototype.boolean=!1;m.prototype.booleanish=!1;m.prototype.overloadedBoolean=!1;m.prototype.number=!1;m.prototype.commaSeparated=!1;m.prototype.spaceSeparated=!1;m.prototype.commaOrSpaceSeparated=!1;m.prototype.mustUseProperty=!1;m.prototype.defined=!1;let en=0;const u=v(),g=v(),z=v(),l=v(),p=v(),b=v(),f=v();function v(){return 2**++en}const O=Object.freeze(Object.defineProperty({__proto__:null,boolean:u,booleanish:g,commaOrSpaceSeparated:f,commaSeparated:b,number:l,overloadedBoolean:z,spaceSeparated:p},Symbol.toStringTag,{value:"Module"})),w=Object.keys(O);class L extends m{constructor(e,t,o,r){let a=-1;if(super(e,t),R(this,"space",r),typeof o=="number")for(;++a<w.length;){const i=w[a];R(this,w[a],(o&O[i])===O[i])}}}L.prototype.defined=!0;function R(n,e,t){t&&(n[e]=t)}const on={}.hasOwnProperty;function k(n){const e={},t={};let o;for(o in n.properties)if(on.call(n.properties,o)){const r=n.properties[o],a=new L(o,n.transform(n.attributes||{},o),r,n.space);n.mustUseProperty&&n.mustUseProperty.includes(o)&&(a.mustUseProperty=!0),e[o]=a,t[P(o)]=o,t[P(a.attribute)]=o}return new S(e,t,n.space)}const B=k({space:"xlink",transform(n,e){return"xlink:"+e.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),I=k({space:"xml",transform(n,e){return"xml:"+e.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function j(n,e){return e in n?n[e]:e}function _(n,e){return j(n,e.toLowerCase())}const H=k({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:_,properties:{xmlns:null,xmlnsXLink:null}}),F=k({transform(n,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:g,ariaAutoComplete:null,ariaBusy:g,ariaChecked:g,ariaColCount:l,ariaColIndex:l,ariaColSpan:l,ariaControls:p,ariaCurrent:null,ariaDescribedBy:p,ariaDetails:null,ariaDisabled:g,ariaDropEffect:p,ariaErrorMessage:null,ariaExpanded:g,ariaFlowTo:p,ariaGrabbed:g,ariaHasPopup:null,ariaHidden:g,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:p,ariaLevel:l,ariaLive:null,ariaModal:g,ariaMultiLine:g,ariaMultiSelectable:g,ariaOrientation:null,ariaOwns:p,ariaPlaceholder:null,ariaPosInSet:l,ariaPressed:g,ariaReadOnly:g,ariaRelevant:null,ariaRequired:g,ariaRoleDescription:p,ariaRowCount:l,ariaRowIndex:l,ariaRowSpan:l,ariaSelected:g,ariaSetSize:l,ariaSort:null,ariaValueMax:l,ariaValueMin:l,ariaValueNow:l,ariaValueText:null,role:null}}),tn=k({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:_,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:b,acceptCharset:p,accessKey:p,action:null,allow:null,allowFullScreen:u,allowPaymentRequest:u,allowUserMedia:u,alt:null,as:null,async:u,autoCapitalize:null,autoComplete:p,autoFocus:u,autoPlay:u,capture:u,charSet:null,checked:u,cite:null,className:p,cols:l,colSpan:null,content:null,contentEditable:g,controls:u,controlsList:p,coords:l|b,crossOrigin:null,data:null,dateTime:null,decoding:null,default:u,defer:u,dir:null,dirName:null,disabled:u,download:z,draggable:g,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:u,formTarget:null,headers:p,height:l,hidden:u,high:l,href:null,hrefLang:null,htmlFor:p,httpEquiv:p,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:u,itemId:null,itemProp:p,itemRe