1"use strict";function _regenerator(){var e,r,t="function"==typeof Symbol?Symbol:{},n=t.iterator||"@@iterator",o=t.toStringTag||"@@toStringTag";function a(t,n,o,a){var u=n&&n.prototype instanceof c?n:c,f=Object.create(u.prototype);return _regeneratorDefine2(f,"_invoke",function(t,n,o){var a,c,u,f=0,s=o||[],l=!1,p={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(r,t){return a=r,c=0,u=e,p.n=t,i}};function v(t,n){for(c=t,u=n,r=0;!l&&f&&!o&&r<s.length;r++){var o,a=s[r],v=p.p,y=a[2];t>3?(o=y===n)&&(u=a[(c=a[4])?5:(c=3,3)],a[4]=a[5]=e):a[0]<=v&&((o=t<2&&v<a[1])?(c=0,p.v=n,p.n=a[1]):v<y&&(o=t<3||a[0]>n||n>y)&&(a[4]=t,a[5]=n,p.n=y,c=0))}if(o||t>1)return i;throw l=!0,n}return function(o,s,y){if(f>1)throw TypeError("Generator is already running");for(l&&1===s&&v(s,y),c=s,u=y;(r=c<2?e:u)||!l;){a||(c?c<3?(c>1&&(p.n=-1),v(c,u)):p.n=u:p.v=u);try{if(f=2,a){if(c||(o="next"),r=a[o]){if(!(r=r.call(a,u)))throw TypeError("iterator result is not an object");if(!r.done)return r;u=r.value,c<2&&(c=0)}else 1===c&&(r=a["return"])&&r.call(a),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);a=e}else if((r=(l=p.n<0)?u:t.call(n,p))!==i)break}catch(r){a=e,c=1,u=r}finally{f=1}}return{value:r,done:l}}}(t,o,a),!0),f}var i={};function c(){}function u(){}function f(){}r=Object.getPrototypeOf;var s=[][n]?r(r([][n]())):(_regeneratorDefine2(r={},n,function(){return this}),r),l=f.prototype=c.prototype=Object.create(s);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,_regeneratorDefine2(e,o,"GeneratorFunction")),e.prototype=Object.create(l),e}return u.prototype=f,_regeneratorDefine2(l,"constructor",f),_regeneratorDefine2(f,"constructor",u),u.displayName="GeneratorFunction",_regeneratorDefine2(f,o,"GeneratorFunction"),_regeneratorDefine2(l),_regeneratorDefine2(l,o,"Generator"),_regeneratorDefine2(l,n,function(){return this}),_regeneratorDefine2(l,"toString",function(){return"[object Generator]"}),(_regenerator=function(){return{w:a,m:p}})()}function _regeneratorDefine2(e,r,t,n){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}_regeneratorDefine2=function(e,r,t,n){function a(r,t){_regeneratorDefine2(e,r,function(e){return this._invoke(r,t,e)})}r?o?o(e,r,{value:t,enumerable:!n,configurable:!n,writable:!n}):e[r]=t:(a("next",0),a("throw",1),a("return",2))},_regeneratorDefine2(e,r,t,n)}function asyncGeneratorStep(e,r,t,n,o,a,i){try{var c=e[a](i),u=c.value}catch(e){return void t(e)}c.done?r(u):Promise.resolve(u).then(n,o)}function _asyncToGenerator(e){return function(){var r=this,t=arguments;return new Promise(function(n,o){var a=e.apply(r,t);function i(e){asyncGeneratorStep(a,n,o,i,c,"next",e)}function c(e){asyncGeneratorStep(a,n,o,i,c,"throw",e)}i(void 0)})}}document.currentScript.stellarMount=function(e,r){for(var t=r.serviceUtils,n=e.getElementsByClassName("ds-waline"),o=function(){var e=n[a],r=parseInt(e.getAttribute("limit"))||10,o=e.dataset.api;if(null==o)return 1;var i=o+"/comment?type=recent&count="+r,c=def.avatar;t.request(e,i,function(){var r=_asyncToGenerator(_regenerator().m(function n(r){var o;return _regenerator().w(function(n){for(;;)switch(n.n){case 0:return n.n=1,r.json();case 1:o=n.v,(Array.isArray(o)?o:o&&Array.isArray(o.data)?o.data:[]).forEach(function(r,n){var o='<div class="timenode" index="'+n+'">';o+='<div class="header">',o+='<div class="user-info">',o+='<img src="'+(r.avatar||c)+'" onerror="javascript:this.src=\''+c+"';\">",o+="<span>"+r.nick+"</span>",o+="</div>",o+="<span>"+new Date(r.time).toLocaleString()+"</span>",o+="</div>",o+='<a class="body" href="'+r.url+"#"+r.objectId+'" target="_blank" rel="external nofollow noopener noreferrer">',o+=r.comment.replace(/<a\b[^>]*>(.*?)<\/a>/g,"$1"),o+="</a>",o+="</div>",t.dom(e).append(o)});case 2:return n.a(2)}},n)}));return function(e){return r.apply(this,arguments)}}())},a=0;a<n.length;a++)o()}; 2//# sourceMappingURL=../../maps/js/services/waline_latest_comment.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.