2 lines
271 KiB
JavaScript
2 lines
271 KiB
JavaScript
|
|
import{g as Kl}from"./prismjs-BZPoR7_J.js?v=1773287522785";function qe(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ae={},Jn=[],Ye=()=>{},Ss=()=>!1,Vn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Gi=e=>e.startsWith("onUpdate:"),ce=Object.assign,Yi=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},um=Object.prototype.hasOwnProperty,pe=(e,t)=>um.call(e,t),Y=Array.isArray,Qn=e=>us(e)==="[object Map]",Un=e=>us(e)==="[object Set]",ol=e=>us(e)==="[object Date]",hf=e=>us(e)==="[object RegExp]",re=e=>typeof e=="function",oe=e=>typeof e=="string",pt=e=>typeof e=="symbol",_e=e=>e!==null&&typeof e=="object",qi=e=>(_e(e)||re(e))&&re(e.then)&&re(e.catch),Wl=Object.prototype.toString,us=e=>Wl.call(e),df=e=>us(e).slice(8,-1),Fr=e=>us(e)==="[object Object]",Ji=e=>oe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ln=qe(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),pf=qe("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Qi=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},fm=/-(\w)/g,Ne=Qi(e=>e.replace(fm,(t,n)=>n?n.toUpperCase():"")),hm=/\B([A-Z])/g,rt=Qi(e=>e.replace(hm,"-$1").toLowerCase()),$n=Qi(e=>e.charAt(0).toUpperCase()+e.slice(1)),Zn=Qi(e=>e?"on".concat($n(e)):""),nt=(e,t)=>!Object.is(e,t),zn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Gl=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},pr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},mr=e=>{const t=oe(e)?Number(e):NaN;return isNaN(t)?e:t};let cc;const Vr=()=>cc||(cc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),dm=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function pm(e){return dm.test(e)?"__props.".concat(e):"__props[".concat(JSON.stringify(e),"]")}function mm(e,t){return e+JSON.stringify(t,(n,s)=>typeof s=="function"?s.toString():s)}const _m={TEXT:1,1:"TEXT",CLASS:2,2:"CLASS",STYLE:4,4:"STYLE",PROPS:8,8:"PROPS",FULL_PROPS:16,16:"FULL_PROPS",NEED_HYDRATION:32,32:"NEED_HYDRATION",STABLE_FRAGMENT:64,64:"STABLE_FRAGMENT",KEYED_FRAGMENT:128,128:"KEYED_FRAGMENT",UNKEYED_FRAGMENT:256,256:"UNKEYED_FRAGMENT",NEED_PATCH:512,512:"NEED_PATCH",DYNAMIC_SLOTS:1024,1024:"DYNAMIC_SLOTS",DEV_ROOT_FRAGMENT:2048,2048:"DEV_ROOT_FRAGMENT",CACHED:-1,"-1":"CACHED",BAIL:-2,"-2":"BAIL"},gm={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"NEED_HYDRATION",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},Em={ELEMENT:1,1:"ELEMENT",FUNCTIONAL_COMPONENT:2,2:"FUNCTIONAL_COMPONENT",STATEFUL_COMPONENT:4,4:"STATEFUL_COMPONENT",TEXT_CHILDREN:8,8:"TEXT_CHILDREN",ARRAY_CHILDREN:16,16:"ARRAY_CHILDREN",SLOTS_CHILDREN:32,32:"SLOTS_CHILDREN",TELEPORT:64,64:"TELEPORT",SUSPENSE:128,128:"SUSPENSE",COMPONENT_SHOULD_KEEP_ALIVE:256,256:"COMPONENT_SHOULD_KEEP_ALIVE",COMPONENT_KEPT_ALIVE:512,512:"COMPONENT_KEPT_ALIVE",COMPONENT:6,6:"COMPONENT"},ym={STABLE:1,1:"STABLE",DYNAMIC:2,2:"DYNAMIC",FORWARDED:3,3:"FORWARDED"},Tm={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},Sm="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",Yl=qe(Sm),bm=Yl,uc=2;function mf(e,t=0,n=e.length){if(t=Math.max(0,Math.min(t,e.length)),n=Math.max(0,Math.min(n,e.length)),t>n)return"";let s=e.split(/(\r?\n)/);const r=s.filter((l,a)=>a%2===1);s=s.filter((l,a)=>a%2===0);let i=0;const o=[];for(let l=0;l<s.length;l++)if(i+=s[l].length+(r[l]&&r[l].length||0),i>=t){for(let a=l-uc;a<=l+uc||n>i;a++){if(a<0||a>=s.length)continue;const c=a+1;o.push("".concat(c).concat(" ".repeat(Math.max(3-String(c).length,0)),"| ").concat(s[a]));const f=s[a].length,u=r[a]&&r[a].length||0;if(a===l){const h=t-(i-(f+u)),d=Math.max(1,n>i?f-h:n-t);o.push(" | "+" ".repeat(h)+"^".re
|