blog (content view) (2024)

.',e.rawAttrsMap.style),e.staticStyle=JSON.stringify(Fo(r)));var o=po(e,"style",!1);o&&(e.styleBinding=o)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},Yi=function(e){return(Zi=Zi||document.createElement("div")).innerHTML=e,Zi.textContent},Xi=v("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Qi=v("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),ea=v("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),ta=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,na=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ra="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+U.source+"]*",oa="((?:"+ra+"\\:)?"+ra+")",ia=new RegExp("^<"+oa),aa=/^\s*(\/?)>/,sa=new RegExp("^<\\/"+oa+"[^>]*>"),ca=/^]+>/i,la=/^<!\--/,ua=/^<!\[/,fa=v("script,style,textarea",!0),da={},pa={"<":"<",">":">",""":'"',"&":"&","":"\n","":"\t","'":"'"},va=/&(?:lt|gt|quot|amp|#39);/g,ha=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,ma=v("pre,textarea",!0),ya=function(e,t){return e&&ma(e)&&"\n"===t[0]};function ga(e,t){var n=t?ha:va;return e.replace(n,function(e){return pa[e]})}var ba,_a,wa,$a,xa,ka,Ca,Aa,Sa,Oa=/^@|^v-on:/,Ta=/^v-|^@|^:/,Ma=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,ja=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Na=/^\(|\)$/g,Ea=/^\[.*\]$/,Ia=/:(.*)$/,Da=/^:|^\.|^v-bind:/,La=/\.[^.\]]+(?=[^\]]*$)/g,Fa=/^v-slot(:|$)|^#/,Pa=/[\r\n]/,Ra=/\s+/g,Ua=/[\s"'<>\/=]/,Ha=_(Yi),Va="_empty_";function Ba(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:Ga(t),rawAttrsMap:{},parent:n,children:[]}}function za(e,t){ba=t.warn||ro,ka=t.isPreTag||j,Ca=t.mustUseProp||j,Aa=t.getTagNamespace||j;var n=t.isReservedTag||j;Sa=function(e){return!!e.component||!n(e.tag)},wa=oo(t.modules,"transformNode"),$a=oo(t.modules,"preTransformNode"),xa=oo(t.modules,"postTransformNode"),_a=t.delimiters;var r,o,i=[],a=!1!==t.preserveWhitespace,s=t.whitespace,c=!1,l=!1,u=!1;function f(e,t){u||(u=!0,ba(e,t))}function d(e){if(p(e),c||e.processed||(e=qa(e,t)),i.length||e===r||(r.if&&(e.elseif||e.else)?(v(e),Ka(r,{exp:e.elseif,block:e})):f("Component template should contain exactly one root element. If you are using v-if on multiple elements, use v-else-if to chain them instead.",{start:e.start})),o&&!e.forbidden)if(e.elseif||e.else)a=e,(s=function(e){var t=e.length;for(;t--;){if(1===e[t].type)return e[t];" "!==e[t].text&&ba('text "'+e[t].text.trim()+'" between v-if and v-else(-if) will be ignored.',e[t]),e.pop()}}(o.children))&&s.if?Ka(s,{exp:a.elseif,block:a}):ba("v-"+(a.elseif?'else-if="'+a.elseif+'"':"else")+" used on element <"+a.tag+"> without corresponding v-if.",a.rawAttrsMap[a.elseif?"v-else-if":"v-else"]);else{if(e.slotScope){var n=e.slotTarget||'"default"';(o.scopedSlots||(o.scopedSlots={}))[n]=e}o.children.push(e),e.parent=o}var a,s;e.children=e.children.filter(function(e){return!e.slotScope}),p(e),e.pre&&(c=!1),ka(e.tag)&&(l=!1);for(var u=0;u

as component root element because it may contain multiple nodes.",{start:e.start}),e.attrsMap.hasOwnProperty("v-for")&&f("Cannot use v-for on stateful component root element because it renders multiple elements.",e.rawAttrsMap["v-for"])}return function(e,t){for(var n,r,o=[],i=t.expectHTML,a=t.isUnaryTag||j,s=t.canBeLeftOpenTag||j,c=0;e;){if(n=e,r&&fa(r)){var l=0,u=r.toLowerCase(),f=da[u]||(da[u]=new RegExp("([\\s\\S]*?)("+u+"[^>]*>)","i")),d=e.replace(f,function(e,n,r){return l=r.length,fa(u)||"noscript"===u||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),ya(u,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});c+=e.length-d.length,e=d,A(u,c-l,c)}else{var p=e.indexOf("<");if(0===p){if(la.test(e)){var v=e.indexOf("--\x3e");if(v>=0){t.shouldKeepComment&&t.comment(e.substring(4,v),c,c+v+3),x(v+3);continue}}if(ua.test(e)){var h=e.indexOf("]>");if(h>=0){x(h+2);continue}}var m=e.match(ca);if(m){x(m[0].length);continue}var y=e.match(sa);if(y){var g=c;x(y[0].length),A(y[1],g,c);continue}var b=k();if(b){C(b),ya(b.tagName,e)&&x(1);continue}}var _=void 0,w=void 0,$=void 0;if(p>=0){for(w=e.slice(p);!(sa.test(w)||ia.test(w)||la.test(w)||ua.test(w)||($=w.indexOf("<",1))<0);)p+=$,w=e.slice(p);_=e.substring(0,p)}p<0&&(_=e),_&&x(_.length),t.chars&&_&&t.chars(_,c-_.length,c)}if(e===n){t.chars&&t.chars(e),!o.length&&t.warn&&t.warn('Mal-formatted tag at end of template: "'+e+'"',{start:c+e.length});break}}function x(t){c+=t,e=e.substring(t)}function k(){var t=e.match(ia);if(t){var n,r,o={tagName:t[1],attrs:[],start:c};for(x(t[0].length);!(n=e.match(aa))&&(r=e.match(na)||e.match(ta));)r.start=c,x(r[0].length),r.end=c,o.attrs.push(r);if(n)return o.unarySlash=n[1],x(n[0].length),o.end=c,o}}function C(e){var n=e.tagName,c=e.unarySlash;i&&("p"===r&&ea(n)&&A(r),s(n)&&r===n&&A(n));for(var l=a(n)||!!c,u=e.attrs.length,f=new Array(u),d=0;d=0&&o[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var l=o.length-1;l>=a;l--)(l>a||!e&&t.warn)&&t.warn("tag <"+o[l].tag+"> has no matching end tag.",{start:o[l].start,end:o[l].end}),t.end&&t.end(o[l].tag,n,i);o.length=a,r=a&&o[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,i):"p"===s&&(t.start&&t.start(e,[],!1,n,i),t.end&&t.end(e,n,i))}A()}(e,{warn:ba,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,n,a,s,u){var f=o&&o.ns||Aa(e);G&&"svg"===f&&(n=function(e){for(var t=[],n=0;n, / or =.",{start:e.start+e.name.indexOf("["),end:e.start+e.name.length})}),"style"!==(p=h).tag&&("script"!==p.tag||p.attrsMap.type&&"text/javascript"!==p.attrsMap.type)||oe()||(h.forbidden=!0,ba("Templates should only be responsible for mapping the state to the UI. Avoid placing tags with side-effects in your templates, such as <"+e+">, as they will not be parsed.",{start:h.start}));for(var m=0;m<$a.length;m++)h=$a[m](h,t)||h;c||(!function(e){null!=vo(e,"v-pre")&&(e.pre=!0)}(h),h.pre&&(c=!0)),ka(h.tag)&&(l=!0),c?function(e){var t=e.attrsList,n=t.length;if(n)for(var r=e.attrs=new Array(n),o=0;o cannot be keyed. Place the key on real elements instead.",fo(e,"key")),e.for){var n=e.iterator2||e.iterator1,r=e.parent;n&&n===t&&r&&"transition-group"===r.tag&&ba("Do not use v-for index as key on children, this is the same as not using keys.",fo(e,"key"),!0)}e.key=t}}(e),e.plain=!e.key&&!e.scopedSlots&&!e.attrsList.length,(r=po(n=e,"ref"))&&(n.ref=r,n.refInFor=function(e){for(var t=e;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}(n)),function(e){var t;"template"===e.tag?((t=vo(e,"scope"))&&ba('the "scope" attribute for scoped slots have been deprecated and replaced by "slot-scope" since 2.5. The new "slot-scope" attribute can also be used on plain elements in addition to
blog (content view) (2024)
Top Articles
Latest Posts
Article information

Author: Mr. See Jast

Last Updated:

Views: 6446

Rating: 4.4 / 5 (55 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Mr. See Jast

Birthday: 1999-07-30

Address: 8409 Megan Mountain, New Mathew, MT 44997-8193

Phone: +5023589614038

Job: Chief Executive

Hobby: Leather crafting, Flag Football, Candle making, Flying, Poi, Gunsmithing, Swimming

Introduction: My name is Mr. See Jast, I am a open, jolly, gorgeous, courageous, inexpensive, friendly, homely person who loves writing and wants to share my knowledge and understanding with you.