PageSourceSearch

https://app.paper.co/js/libs-@vue/compiler-dom.BIdZH9Iv.js

js paper.co collected 2026-09-24 09:11:04 UTC 5,421 bytes, 6 lines download raw bytes

1import{registerRuntimeHelpers as V,baseCompile as x,noopDirectiveTransform as H,createSimpleExpression as a,createObjectProperty as h,getConstantType as R,createCallExpression as y,TO_DISPLAY_STRING as K,transformModel as $,findProp as A,hasDynamicKeyVBind as P,transformOn as j,createCompilerError as B,isStaticExp as u,createCompoundExpression as v,checkCompatEnabled as J}from"./compiler-core.BJBV5tGJ.js";import{extend as M,isVoidTag as W,isHTMLTag as Y,isSVGTag as z,isMathMLTag as U,parseStringStyle as X,capitalize as q,makeMap as d}from"./shared.DLWOYkA7.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="aa5e9400-9891-4514-a003-80b930da9561",e._sentryDebugIdIdentifier="sentry-dbid-aa5e9400-9891-4514-a003-80b930da9561")}catch{}})();{var p=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};p._sentryModuleMetadata=p._sentryModuleMetadata||{},p._sentryModuleMetadata[new p.Error().stack]=Object.assign({},p._sentryModuleMetadata[new p.Error().stack],{dsn:"https://[email protected]/6688884"})}/**
2* @vue/compiler-dom v3.5.13
3* (c) 2018-present Yuxi (Evan) You and Vue contributors
4* @license MIT
5**/const O=Symbol(""),b=Symbol(""),C=Symbol(""),_=Symbol(""),g=Symbol(""),I=Symbol(""),w=Symbol(""),D=Symbol(""),k=Symbol(""),N=Symbol("");V({[O]:"vModelRadio",[b]:"vModelCheckbox",[C]:"vModelText",[_]:"vModelSelect",[g]:"vModelDynamic",[I]:"withModifiers",[w]:"withKeys",[D]:"vShow",[k]:"Transition",[N]:"TransitionGroup"});let m;function F(e,t=!1){return m||(m=document.createElement("div")),t?(m.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,m.children[0].getAttribute("foo")):(m.innerHTML=e,m.textContent)}const G={parseMode:"html",isVoidTag:W,isNativeTag:e=>Y(e)||z(e)||U(e),isPreTag:e=>e==="pre",isIgnoreNewlineTag:e=>e==="pre"||e==="textarea",decodeEntities:F,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return k;if(e==="TransitionGroup"||e==="transition-group")return N},getNamespace(e,t,r){let o=t?t.ns:r;if(t&&o===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(n=>n.type===6&&n.name==="encoding"&&n.value!=null&&(n.value.content==="text/html"||n.value.content==="application/xhtml+xml"))&&(o=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(o=0);else t&&o===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(o=0);if(o===0){if(e==="svg")return 1;if(e==="math")return 2}return o}},Q=e=>{e.type===1&&e.props.forEach((t,r)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[r]={type:7,name:"bind",arg:a("style",!0,t.loc),exp:Z(t.value.content,t.loc),modifiers:[],loc:t.loc})})},Z=(e,t)=>{const r=X(e);return a(JSON.stringify(r),!1,t,3)};function f(e,t){return B(e,t)}const ee=(e,t,r)=>{const{exp:o,loc:n}=e;return o||r.onError(f(53,n)),t.children.length&&(r.onError(f(54,n)),t.children.length=0),{props:[h(a("innerHTML",!0,n),o||a("",!0))]}},te=(e,t,r)=>{const{exp:o,loc:n}=e;return o||r.onError(f(55,n)),t.children.length&&(r.onError(f(56,n)),t.children.length=0),{props:[h(a("textContent",!0),o?R(o,r)>0?o:y(r.helperString(K),[o],n):a("",!0))]}},re=(e,t,r)=>{const o=$(e,t,r);if(!o.props.length||t.tagType===1)return o;e.arg&&r.onError(f(58,e.arg.loc));const{tag:n}=t,i=r.isCustomElement(n);if(n==="input"||n==="textarea"||n==="select"||i){let l=C,c=!1;if(n==="input"||i){const s=A(t,"type");if(s){if(s.type===7)l=g;else if(s.value)switch(s.value.content){case"radio":l=O;break;case"checkbox":l=b;break;case"file":c=!0,r.onError(f(59,e.loc));break}}else P(t)&&(l=g)}else n==="select"&&(l=_);c||(o.needRuntime=r.helper(l))}else r.onError(f(57,e.loc));return o.props=o.props.filter(l=>!(l.key.type===4&&l.key.content==="modelValue")),o},ne=d("passive,once,capture"),oe=d("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),se=d("left,right"),L=d("onkeyup,onkeydown,onkeypress"),ie=(e,t,r,o)=>{const n=[],i=[],l=[];for(let c=0;c<t.length;c++){const s=t[c].content;s==="native"&&J("COMPILER_V_ON_NATIVE",r)||ne(s)?l.push(s):se(s)?u(e)?L(e.content.toLowerCase())?n.push(s):i.push(s):(n.push(s),i.push(s)):oe(s)?i.push(s):n.push(s)}return{keyModifiers:n,nonKeyModifiers:i,eventOptionModifiers:l}},S=(e,t)=>u(e)&&e.content.toLowerCase()==="onclick"?a(t,!0):e.type!==4?v(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,le=(e,t,r)=>j(e,t,r,o=>{const{modifiers:n}=e;if(!n.length)return o;let{key:i,value:l}=o.props[0];const{keyModifiers:c,nonKeyModifiers:s,eventOptionModifiers:T}=ie(i,n,r,e.loc);if(s.includes("right")&&(i=S(i,"onContextmenu")),s.includes("middle")&&(i=S(i,"onMouseup")),s.length&&(l=y(r.helper(I),[l,JSON.stringify(s)])),c.length&&(!u(i)||L(i.content.toLowerCase()))&&(l=y(r.helper(w),[l,JSON.stringify(c)])),T.length){const E=T.map(q).join("");i=u(i)?a(`${i.content}${E}`,!0):v(["(",i,`) + "${E}"`])}return{props:[h(i,l)]}}),ce=(e,t,r)=>{const{exp:o,loc:n}=e;return o||r.onError(f(61,n)),{props:[],needRuntime:r.helper(D)}},fe=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&t.removeNode()},ae=[Q],pe={cloak:H,html:ee,text:te,model:re,on:le,show:ce};function de(e,t={}){return x(e,M({},G,t,{nodeTransforms:[fe,...ae,...t.nodeTransforms||[]],directiveTransforms:M({},pe,t.directiveTransforms||{}),transformHoist:null}))}export{de as compile};
6//# sourceMappingURL=compiler-dom.BIdZH9Iv.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.