!function(e,t){"object"==typeofexports&&"object"==typeofmodule?module.exports=t():"function"==typeofdefine&&define.amd?define([],t):"object"==typeofexports?exports.Valine=t():e.Valine=t()}(this,function(){returnfunction(e){functiont(r){if(n[r])returnn[r].exports;varo=n[r]={i:r,l:!1,exports:{}};returne[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}varn={};returnt.m=e,t.c=n,t.i=function(e){returne},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){varn=e&&e.__esModule?function(){returne.default}:function(){returne};returnt.d(n,"a",n),n},t.o=function(e,t){returnObject.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=62)}([function(e,t,n){"use strict";functionr(e){returne&&e.__esModule?e:{default:e}}t.__esModule=!0;varo="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(e){returntypeofe}:function(e){returne&&"function"==typeofSymbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeofe},i=n(42),a=r(i),s=n(27),l=r(s),c=n(26),d=r(c),u=n(46),p=r(u),f=document,h=navigator,v=/[&<>"'`\\]/g,g=RegExp(v.source),m=/&(?:amp|lt|gt|quot|#39|#x60|#x5c);/g,y=RegExp(m.source),b={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","\\":"\"},w={};for(varxinb)w[b[x]]=x;vark=null;Array.prototype.forEach||(Array.prototype.forEach=function(e,t){varn,r;if(null==this)thrownewTypeError(" this is null or not defined");varo=Object(this),i=o.length>>>0;if("function"!=typeofe)thrownewTypeError(e+" is not a function");for(arguments.length>1&&(n=t),r=0;r<i;){vara;rino&&(a=o[r],e.call(n,a,r,o)),r++}}),window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach),(0,a.default)(l.default.fn,{prepend:function(e){returneinstanceofHTMLElement||(e=e[0]),this.forEach(function(t){t.insertAdjacentElement("afterBegin",e)}),this},append:function(e){returneinstanceofHTMLElement||(e=e[0]),this.forEach(function(t){t.insertAdjacentElement("beforeEnd",e)}),this},remove:function(){returnthis.forEach(function(e){try{e.parentNode.removeChild(e)}catch(e){}}),this},find:function(e){return(0,l.default)(e,this)},eq:function(e){return(0,l.default)(this[e])},show:function(){returnthis.forEach(function(e){e.style.display="block"}),this},hide:function(){returnthis.forEach(function(e){e.style.display="none"}),this},css:function(e){vart=this;returnObject.keys(e).forEach(function(n){t.forEach(function(t){t.style[n]=e[n]})}),this},index:function(){vare=this[0],t=e.parentNode;returnArray.prototype.indexOf.call(t.children,e)},on:function(e,t,n){returnl.default.fn.off(e,t,n),this.forEach(function(r){e.split(" ").forEach(function(e){r.addEventListener?r.addEventListener(e,t,n||!1):r.attachEvent?r.attachEvent("on"+e,t):r["on"+e]=t})}),this},off:function(e,t,n){returnthis.forEach(function(r){e.split(" ").forEach(function(e){r.removeEventListener?r.removeEventListener(e,t,n||!1):r.detachEvent?r.detachEvent("on"+e,t):r["on"+e]=null})}),this},offAll:function(){vare=this;returnthis.forEach(function(t,n){varr=t.cloneNode(!0);t.parentNode.replaceChild(r,t),e[n]=r}),this},html:function(e){returnvoid0!==e?(this.forEach(function(t){t.innerHTML=e}),this):this[0].innerHTML},text:function(e){returnvoid0!==e?(this.forEach(function(t){t.innerText=e}),this):this[0].innerText},empty:function(e){returne=e||0,this.forEach(function(t){setTimeout(function(e){t.innerText=""},e)}),this},val:function(e){returnvoid0!==e?(this.forEach(function(t){t.value=e}),this):this[0].value||""},attr:function(){vare=arguments;if("object"==o(arguments[0])){vart=arguments[0],n=this;returnObject.keys(t).forEach(function(e){n.forEach(function(n){n.setAttribute(e,t[e])})}),this}return"string"==typeofarguments[0]&&arguments.length<2?this[0].getAttribute(arguments[0])||"":(this.forEach(function(t){t.setAttribute(e[0],e[1])}),this)},removeAttr:function(e){returnthis.forEach(function(t){varn,r=0,o=e&&e.match(/[^\x20\t\r\n\f\*\/\\]+/g);if(o&&1===t.nodeType)for(;n=o[r++];)t.removeAttribute(n)}),this},hasClass:function(
!function(n,a){o=[e,t],r=a,void0!==(i="function"==typeofr?r.apply(t,o):r)&&(e.exports=i)}(0,function(e,t){"use strict";functionn(e){functiont(t){varn=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}functionn(e){for(vart=[];e&&e.parentNode&&e.parentNodeinstanceofElement;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;returnt}functionr(){if(0!==e.scrollHeight){vart=n(e),r=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+s+"px",l=e.clientWidth,t.forEach(function(e){e.node.scrollTop=e.scrollTop}),r&&(document.documentElement.scrollTop=r)}}functiono(){r();varn=Math.round(parseFloat(e.style.height)),o=window.getComputedStyle(e,null),i="content-box"===o.boxSizing?Math.round(parseFloat(o.height)):e.offsetHeight;if(i<n?"hidden"===o.overflowY&&(t("scroll"),r(),i="content-box"===o.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==o.overflowY&&(t("hidden"),r(),i="content-box"===o.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),c!==i){c=i;vars=a("autosize:resized");try{e.dispatchEvent(s)}catch(e){}}}if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!i.has(e)){vars=null,l=null,c=null,d=function(){e.clientWidth!==l&&o()},u=function(t){window.removeEventListener("resize",d,!1),e.removeEventListener("input",o,!1),e.removeEventListener("keyup",o,!1),e.removeEventListener("autosize:destroy",u,!1),e.removeEventListener("autosize:update",o,!1),Object.keys(t).forEach(function(n){e.style[n]=t[n]}),i.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",u,!1),"onpropertychange"ine&&"oninput"ine&&e.addEventListener("keyup",o,!1),window.addEventListener("resize",d,!1),e.addEventListener("input",o,!1),e.addEventListener("autosize:update",o,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",i.set(e,{destroy:u,update:o}),function(){vart=window.getComputedStyle(e,null);"vertical"===t.resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),s="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(s)&&(s=0),o()}()}}functionr(e){vart=i.get(e);t&&t.destroy()}functiono(e){vart=i.get(e);t&&t.update()}vari="function"==typeofMap?newMap:function(){vare=[],t=[];return{has:function(t){returne.indexOf(t)>-1},get:function(n){returnt[e.indexOf(n)]},set:function(n,r){-1===e.indexOf(n)&&(e.push(n),t.push(r))},delete:function(n){varr=e.indexOf(n);r>-1&&(e.splice(r,1),t.splice(r,1))}}}(),a=function(e){returnnewEvent(e,{bubbles:!0})};try{newEvent("test")}catch(e){a=function(e){vart=document.createEvent("Event");returnt.initEvent(e,!0,!1),t}}vars=null;"undefined"==typeofwindow||"function"!=typeofwindow.getComputedStyle?(s=function(e){returne},s.destroy=function(e){returne},s.update=function(e){returne}):(s=function(e,t){returne&&Array.prototype.forEach.call(e.length?e:[e],function(e){returnn(e)}),e},s.destroy=function(e){returne&&Array.prototype.forEach.call(e.length?e:[e],r),e},s.update=function(e){returne&&Array.prototype.forEach.call(e.length?e:[e],o),e}),t.default=s,e.exports=t.default})},function(e,t,n){"use strict";functionr(e){returne&&e.__esModule?e:{default:e}}functiono(e){return!!e&&this.init(e),this}functioni(e){returnnewo(e)}vara=n(25),s=r(a),l=n(17),c=r(l),d=n(21),u=r(d),p=n(20),f=r(p),h=n(5),v=n(24),g=r(v),m=n(6),y=r(m),b=n(0),w=r(b),x=n(23),k=r(x),_=n(19),A=r(_),S=n(22),O=r(S),$={comment:"",nick:"",mail:"",link:"",ua:w.default.ua,url:""},E="",j={cdn:"https://gravatar.loli.net/avatar/",ds:["mp","identicon","monsterid","wavatar","robohash","retro",""],params:"",hide:!1};o.prototype.init=function(e){if("undefined"==typeofdocument)thrownewError("Sorry, Valine does not support Server-side rendering.");vart=this;returne&&(
object-assign
(c)SindreSorhus
@licenseMIT
*/
varo=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;vare=newString("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(vart={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){returnt[e]}).join(""))return!1;varr={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(varn,s,l=r(e),c=1;c<arguments.length;c++){n=Object(arguments[c]);for(vardinn)i.call(n,d)&&(l[d]=n[d]);if(o){s=o(n);for(varu=0;u<s.length;u++)a.call(n,s[u])&&(l[s[u]]=n[s[u]])}}returnl}},function(e,t,n){"use strict";varr;if(!Object.keys){varo=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=n(11),s=Object.prototype.propertyIsEnumerable,l=!s.call({toString:null},"toString"),c=s.call(function(){},"prototype"),d=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],u=function(e){vart=e.constructor;returnt&&t.prototype===e},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=function(){if("undefined"==typeofwindow)return!1;for(vareinwindow)try{if(!p["$"+e]&&o.call(window,e)&&null!==window[e]&&"object"==typeofwindow[e])try{u(window[e])}catch(e){return!0}}catch(e){return!0}return!1}(),h=function(e){if("undefined"==typeofwindow||!f)returnu(e);try{returnu(e)}catch(e){return!1}};r=function(e){vart=null!==e&&"object"==typeofe,n="[object Function]"===i.call(e),r=a(e),s=t&&"[object String]"===i.call(e),u=[];if(!t&&!n&&!r)thrownewTypeError("Object.keys called on a non-object");varp=c&&n;if(s&&e.length>0&&!o.call(e,0))for(varf=0;f<e.length;++f)u.push(String(f));if(r&&e.length>0)for(varv=0;v<e.length;++v)u.push(String(v));elsefor(vargine)p&&"prototype"===g||!o.call(e,g)||u.push(String(g));if(l)for(varm=h(e),y=0;y<d.length;++y)m&&"constructor"===d[y]||!o.call(e,d[y])||u.push(d[y]);returnu}}e.exports=r},function(e,t,n){"use strict";varr=Array.prototype.slice,o=n(11),i=Object.keys,a=i?function(e){returni(e)}:n(43),s=Object.keys;a.shim=function(){if(Object.keys){(function(){vare=Object.keys(arguments);returne&&e.length===arguments.length})(1,2)||(Object.keys=function(e){returns(o(e)?r.call(e):e)})}elseObject.keys=a;returnObject.keys||a},e.exports=a},function(e,t){functionn(){thrownewError("setTimeout has not been defined")}functionr(){thrownewError("clearTimeout has not been defined")}functiono(e){if(d===setTimeout)returnsetTimeout(e,0);if((d===n||!d)&&setTimeout)returnd=setTimeout,setTimeout(e,0);try{returnd(e,0)}catch(t){try{returnd.call(null,e,0)}catch(t){returnd.call(this,e,0)}}}functioni(e){if(u===clearTimeout)returnclearTimeout(e);if((u===r||!u)&&clearTimeout)returnu=clearTimeout,clearTimeout(e);try{returnu(e)}catch(t){try{returnu.call(null,e)}catch(t){returnu.call(this,e)}}}functiona(){v&&f&&(v=!1,f.length?h=f.concat(h):g=-1,h.length&&s())}functions(){if(!v){vare=o(a);v=!0;for(vart=h.length;t;){for(f=h,h=[];++g<t;)f&&f[g].run();g=-1,t=h.length}f=null,v=!1,i(e)}}functionl(e,t){this.fun=e,this.array=t}functionc(){}vard,u,p=e.exports={};!function(){try{d="function"==typeofsetTimeout?setTimeout:n}catch(e){d=n}try{u="function"==typeofclearTimeout?clearTimeout:r}catch(e){u=r}}();varf,h=[],v=!1,g=-1;p.nextTick=function(e){vart=newArray(arguments.length-1);if(arguments.length>1)for(varn=1;n<arguments.length;n++)t[n-1]=arguments[n];h.push(newl(e,t)),1!==h.length||v||o(s)},l.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=c,p.