From fe9075eb481bb9846c82f13d0265bea6d36cec01 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Sat, 19 Jan 2019 02:16:03 +0000 Subject: [PATCH 1/2] Bump davclient.js from 0.1.2 to 0.1.3 Bumps [davclient.js](https://github.com/owncloud/davclient.js) from 0.1.2 to 0.1.3. - [Release notes](https://github.com/owncloud/davclient.js/releases) - [Commits](https://github.com/owncloud/davclient.js/compare/f7fc96b66d4e34489b1ffc6395fd40c02863b0fd...0e5ef1af5d174d9ec10dbe889a415b8f481d5094) Signed-off-by: dependabot[bot] Signed-off-by: Christoph Wurst --- core/js/dist/main.js | 2 +- core/js/dist/main.js.map | 2 +- package-lock.json | 12 ++++++------ package.json | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/core/js/dist/main.js b/core/js/dist/main.js index bdec8718573..1cf051e0eae 100644 --- a/core/js/dist/main.js +++ b/core/js/dist/main.js @@ -48,7 +48,7 @@ var i;i=function(){return function(e){var t={};function n(i){if(t[i])return t[i] autosize 4.0.2 license: MIT http://www.jacklmoore.com/autosize -*/s=[e,t],void 0===(r="function"==typeof(i=function(e,t){"use strict";var n,i,s="function"==typeof Map?new Map:(n=[],i=[],{has:function(e){return n.indexOf(e)>-1},get:function(e){return i[n.indexOf(e)]},set:function(e,t){-1===n.indexOf(e)&&(n.push(e),i.push(t))},delete:function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),i.splice(t,1))}}),r=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){r=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function o(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!s.has(e)){var t=null,n=null,i=null,o=function(){e.clientWidth!==n&&d()},a=function(t){window.removeEventListener("resize",o,!1),e.removeEventListener("input",d,!1),e.removeEventListener("keyup",d,!1),e.removeEventListener("autosize:destroy",a,!1),e.removeEventListener("autosize:update",d,!1),Object.keys(t).forEach(function(n){e.style[n]=t[n]}),s.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",a,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",d,!1),window.addEventListener("resize",o,!1),e.addEventListener("input",d,!1),e.addEventListener("autosize:update",d,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",s.set(e,{destroy:a,update:d}),"vertical"===(l=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===l.resize&&(e.style.resize="horizontal"),t="content-box"===l.boxSizing?-(parseFloat(l.paddingTop)+parseFloat(l.paddingBottom)):parseFloat(l.borderTopWidth)+parseFloat(l.borderBottomWidth),isNaN(t)&&(t=0),d()}var l;function u(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function c(){if(0!==e.scrollHeight){var i=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),s=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+t+"px",n=e.clientWidth,i.forEach(function(e){e.node.scrollTop=e.scrollTop}),s&&(document.documentElement.scrollTop=s)}}function d(){c();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),s="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(sthis.length&&(s=this.length),s<0&&(s+=this.length+1);var r,o,a=[],l=[],u=[],c=[],d={},h=t.add,p=t.merge,f=t.remove,m=!1,g=this.comparator&&null==s&&!1!==t.sort,_=n.isString(this.comparator)?this.comparator:null;for(o=0;o7),this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!(!this.history||!this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(P,"/"),this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot()){var t=this.root.slice(0,-1)||"/";return this.location.replace(t+"#"+this.getPath()),!0}this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0})}if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1;var i=document.body,s=i.insertBefore(this.iframe,i.firstChild).contentWindow;s.document.open(),s.document.close(),s.location.hash="#"+this.fragment}var r=window.addEventListener||function(e,t){return attachEvent("on"+e,t)};if(this._usePushState?r("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?r("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var e=window.removeEventListener||function(e,t){return detachEvent("on"+e,t)};this._usePushState?e("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&e("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),H.started=!1},route:function(e,t){this.handlers.unshift({route:e,callback:t})},checkUrl:function(e){var t=this.getFragment();if(t===this.fragment&&this.iframe&&(t=this.getHash(this.iframe.contentWindow)),t===this.fragment)return!1;this.iframe&&this.navigate(t),this.loadUrl()},loadUrl:function(e){return!!this.matchRoot()&&(e=this.fragment=this.getFragment(e),n.some(this.handlers,function(t){if(t.route.test(e))return t.callback(e),!0}))},navigate:function(e,t){if(!H.started)return!1;t&&!0!==t||(t={trigger:!!t}),e=this.getFragment(e||"");var n=this.root;""!==e&&"?"!==e.charAt(0)||(n=n.slice(0,-1)||"/");var i=n+e;if(e=this.decodeFragment(e.replace(O,"")),this.fragment!==e){if(this.fragment=e,this._usePushState)this.history[t.replace?"replaceState":"pushState"]({},document.title,i);else{if(!this._wantsHashChange)return this.location.assign(i);if(this._updateHash(this.location,e,t.replace),this.iframe&&e!==this.getHash(this.iframe.contentWindow)){var s=this.iframe.contentWindow;t.replace||(s.document.open(),s.document.close()),this._updateHash(s.location,e,t.replace)}}return t.trigger?this.loadUrl(e):void 0}},_updateHash:function(e,t,n){if(n){var i=e.href.replace(/(javascript:|#).*$/,"");e.replace(i+"#"+t)}else e.hash="#"+t}}),t.history=new H,v.extend=y.extend=D.extend=M.extend=H.extend=function(e,t){var i,s=this;return i=e&&n.has(e,"constructor")?e.constructor:function(){return s.apply(this,arguments)},n.extend(i,s,t),i.prototype=n.create(s.prototype,e),i.prototype.constructor=i,i.__super__=s.prototype,i};var j=function(){throw new Error('A "url" property or function must be specified')},I=function(e,t){var n=t.error;t.error=function(i){n&&n.call(t.context,e,i,t),e.trigger("error",e,i,t)}};return t}(o,n,e,t)}.apply(t,s))||(e.exports=r)}).call(this,n(46))},function(e,t){"undefined"==typeof dav&&(dav={}),dav._XML_CHAR_MAP={"<":"<",">":">","&":"&",'"':""","'":"'"},dav._escapeXml=function(e){return e.replace(/[<>&"']/g,function(e){return dav._XML_CHAR_MAP[e]})},dav.Client=function(e){var t;for(t in e)this[t]=e[t]},dav.Client.prototype={baseUrl:null,userName:null,password:null,xmlNamespaces:{"DAV:":"d"},propFind:function(e,t,n,i){void 0===n&&(n=0),(i=i||{}).Depth=n,i["Content-Type"]="application/xml; charset=utf-8";var s,r='\n\n \n",t)if(t.hasOwnProperty(o)){var a=this.parseClarkNotation(t[o]);this.xmlNamespaces[a.namespace]?r+=" <"+this.xmlNamespaces[a.namespace]+":"+a.name+" />\n":r+=" \n'}return r+=" \n",r+="",this.request("PROPFIND",e,i,r).then(function(e){return 0===n?{status:e.status,body:e.body[0],xhr:e.xhr}:{status:e.status,body:e.body,xhr:e.xhr}}.bind(this))},_renderPropSet:function(e){var t=" \n \n";for(var n in e)if(e.hasOwnProperty(n)){var i,s=this.parseClarkNotation(n),r=e[n];"d:resourcetype"!==(i=this.xmlNamespaces[s.namespace]?this.xmlNamespaces[s.namespace]+":"+s.name:"x:"+s.name+' xmlns:x="'+s.namespace+'"')&&(r=dav._escapeXml(r)),t+=" <"+i+">"+r+""+i+">\n"}return t+=" \n",t+=" \n"},propPatch:function(e,t,n){(n=n||{})["Content-Type"]="application/xml; charset=utf-8";var i,s='\n\n"+this._renderPropSet(t),s+="",this.request("PROPPATCH",e,n,s).then(function(e){return{status:e.status,body:e.body,xhr:e.xhr}}.bind(this))},mkcol:function(e,t,n){var i="";if((n=n||{})["Content-Type"]="application/xml; charset=utf-8",t){var s;for(s in i='\n\n"+this._renderPropSet(t),i+=""}return this.request("MKCOL",e,n,i).then(function(e){return{status:e.status,body:e.body,xhr:e.xhr}}.bind(this))},request:function(e,t,n,i){var s,r=this,o=this.xhrProvider();for(s in n=n||{},this.userName&&(n.Authorization="Basic "+btoa(this.userName+":"+this.password)),o.open(e,this.resolveUrl(t),!0),n)o.setRequestHeader(s,n[s]);return void 0===i?o.send():o.send(i),new Promise(function(e,t){o.onreadystatechange=function(){if(4===o.readyState){var t=o.response;207===o.status&&(t=r.parseMultiStatus(o.response)),e({body:t,status:o.status,xhr:o})}},o.ontimeout=function(){t(new Error("Timeout exceeded"))}})},xhrProvider:function(){return new XMLHttpRequest},_parsePropNode:function(e){var t=null;if(e.childNodes&&e.childNodes.length>0){for(var n=[],i=0;i/gm),y=g(/^data-[\-\w.\u00B7-\uFFFF]/),b=g(/^aria-[\-\w]+$/),w=g(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),k=g(/^(?:\w+script|data):/i),M=g(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g),x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function A(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:T(),d=function(t){return e(t)};if(d.version="1.0.9",d.removed=[],!o||!o.document||9!==o.document.nodeType)return d.isSupported=!1,d;var h=o.document,p=!1,g=!1,C=o.document,H=o.DocumentFragment,E=o.HTMLTemplateElement,P=o.Node,O=o.NodeFilter,j=o.NamedNodeMap,I=void 0===j?o.NamedNodeMap||o.MozNamedAttrMap:j,F=o.Text,N=o.Comment,z=o.DOMParser,W=o.TrustedTypes;if("function"==typeof E){var R=C.createElement("template");R.content&&R.content.ownerDocument&&(C=R.content.ownerDocument)}var B=S(W,h),U=B?B.createHTML(""):"",q=C,J=q.implementation,G=q.createNodeIterator,Q=q.getElementsByTagName,V=q.createDocumentFragment,K=h.importNode,X={};d.isSupported=J&&void 0!==J.createHTMLDocument&&9!==C.documentMode;var Z=_,$=v,ee=y,te=b,ne=k,ie=M,se=w,re=null,oe=f({},[].concat(A(t),A(n),A(i),A(s),A(r))),ae=null,le=f({},[].concat(A(a),A(l),A(u),A(c))),ue=null,ce=null,de=!0,he=!0,pe=!1,fe=!1,me=!1,ge=!1,_e=!1,ve=!1,ye=!1,be=!1,we=!1,ke=!0,Me=!0,xe=!1,Ae={},Le=f({},["audio","head","math","script","style","template","svg","video"]),De=f({},["audio","video","img","source","image"]),Ye=f({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),Te=null,Se=C.createElement("form"),Ce=function(e){Te&&Te===e||(e&&"object"===(void 0===e?"undefined":x(e))||(e={}),re="ALLOWED_TAGS"in e?f({},e.ALLOWED_TAGS):oe,ae="ALLOWED_ATTR"in e?f({},e.ALLOWED_ATTR):le,ue="FORBID_TAGS"in e?f({},e.FORBID_TAGS):{},ce="FORBID_ATTR"in e?f({},e.FORBID_ATTR):{},Ae="USE_PROFILES"in e&&e.USE_PROFILES,de=!1!==e.ALLOW_ARIA_ATTR,he=!1!==e.ALLOW_DATA_ATTR,pe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,fe=e.SAFE_FOR_JQUERY||!1,me=e.SAFE_FOR_TEMPLATES||!1,ge=e.WHOLE_DOCUMENT||!1,ye=e.RETURN_DOM||!1,be=e.RETURN_DOM_FRAGMENT||!1,we=e.RETURN_DOM_IMPORT||!1,ve=e.FORCE_BODY||!1,ke=!1!==e.SANITIZE_DOM,Me=!1!==e.KEEP_CONTENT,xe=e.IN_PLACE||!1,se=e.ALLOWED_URI_REGEXP||se,me&&(he=!1),be&&(ye=!0),Ae&&(re=f({},[].concat(A(r))),ae=[],!0===Ae.html&&(f(re,t),f(ae,a)),!0===Ae.svg&&(f(re,n),f(ae,l),f(ae,c)),!0===Ae.svgFilters&&(f(re,i),f(ae,l),f(ae,c)),!0===Ae.mathMl&&(f(re,s),f(ae,u),f(ae,c))),e.ADD_TAGS&&(re===oe&&(re=m(re)),f(re,e.ADD_TAGS)),e.ADD_ATTR&&(ae===le&&(ae=m(ae)),f(ae,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&f(Ye,e.ADD_URI_SAFE_ATTR),Me&&(re["#text"]=!0),ge&&f(re,["html","head","body"]),re.table&&f(re,["tbody"]),Y&&Y(e),Te=e)},He=function(e){d.removed.push({element:e});try{e.parentNode.removeChild(e)}catch(t){e.outerHTML=U}},Ee=function(e,t){try{d.removed.push({attribute:t.getAttributeNode(e),from:t})}catch(e){d.removed.push({attribute:null,from:t})}t.removeAttribute(e)},Pe=function(e){var t=void 0,n=void 0;if(ve)e=""+e;else{var i=e.match(/^[\s]+/);(n=i&&i[0])&&(e=e.slice(n.length))}if(p)try{t=(new z).parseFromString(e,"text/html")}catch(e){}if(g&&f(ue,["title"]),!t||!t.documentElement){var s=t=J.createHTMLDocument(""),r=s.body;r.parentNode.removeChild(r.parentNode.firstElementChild),r.outerHTML=B?B.createHTML(e):e}return n&&t.body.insertBefore(C.createTextNode(n),t.body.childNodes[0]||null),Q.call(t,ge?"html":"body")[0]};d.isSupported&&(function(){try{var e=Pe('');e.querySelector("svg img")&&(p=!0)}catch(e){}}(),function(){try{var e=Pe("</title><img>");e.querySelector("title").innerHTML.match(/<\/title/)&&(g=!0)}catch(e){}}());var Oe=function(e){return G.call(e.ownerDocument||e,e,O.SHOW_ELEMENT|O.SHOW_COMMENT|O.SHOW_TEXT,function(){return O.FILTER_ACCEPT},!1)},je=function(e){return"object"===(void 0===P?"undefined":x(P))?e instanceof P:e&&"object"===(void 0===e?"undefined":x(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},Ie=function(e,t,n){X[e]&&X[e].forEach(function(e){e.call(d,t,n,Te)})},Fe=function(e){var t,n=void 0;if(Ie("beforeSanitizeElements",e,null),!((t=e)instanceof F||t instanceof N||"string"==typeof t.nodeName&&"string"==typeof t.textContent&&"function"==typeof t.removeChild&&t.attributes instanceof I&&"function"==typeof t.removeAttribute&&"function"==typeof t.setAttribute))return He(e),!0;var i=e.nodeName.toLowerCase();if(Ie("uponSanitizeElement",e,{tagName:i,allowedTags:re}),!re[i]||ue[i]){if(Me&&!Le[i]&&"function"==typeof e.insertAdjacentHTML)try{var s=e.innerHTML;e.insertAdjacentHTML("AfterEnd",B?B.createHTML(s):s)}catch(e){}return He(e),!0}return!fe||e.firstElementChild||e.content&&e.content.firstElementChild||!/r&&e.setAttribute("id",s.value);else{if("INPUT"===e.nodeName&&"type"===i&&"file"===n&&(ae[i]||!ce[i]))continue;"id"===u&&e.setAttribute(u,""),Ee(u,e)}if(a.keepAttr){var h=e.nodeName.toLowerCase();if(Ne(h,i,n))try{c?e.setAttributeNS(c,u,n):e.setAttribute(u,n),d.removed.pop()}catch(e){}}}Ie("afterSanitizeAttributes",e,null)}},We=function e(t){var n=void 0,i=Oe(t);for(Ie("beforeSanitizeShadowDOM",t,null);n=i.nextNode();)Ie("uponSanitizeShadowNode",n,null),Fe(n)||(n.content instanceof H&&e(n.content),ze(n));Ie("afterSanitizeShadowDOM",t,null)};return d.sanitize=function(e,t){var n=void 0,i=void 0,s=void 0,r=void 0,a=void 0;if(e||(e="\x3c!--\x3e"),"string"!=typeof e&&!je(e)){if("function"!=typeof e.toString)throw new TypeError("toString is not a function");if("string"!=typeof(e=e.toString()))throw new TypeError("dirty is not a string, aborting")}if(!d.isSupported){if("object"===x(o.toStaticHTML)||"function"==typeof o.toStaticHTML){if("string"==typeof e)return o.toStaticHTML(e);if(je(e))return o.toStaticHTML(e.outerHTML)}return e}if(_e||Ce(t),d.removed=[],xe);else if(e instanceof P)n=Pe("\x3c!--\x3e"),1===(i=n.ownerDocument.importNode(e,!0)).nodeType&&"BODY"===i.nodeName?n=i:n.appendChild(i);else{if(!ye&&!ge&&-1===e.indexOf("<"))return B?B.createHTML(e):e;if(!(n=Pe(e)))return ye?null:U}n&&ve&&He(n.firstChild);for(var l=Oe(xe?e:n);s=l.nextNode();)3===s.nodeType&&s===r||Fe(s)||(s.content instanceof H&&We(s.content),ze(s),r=s);if(r=null,xe)return e;if(ye){if(be)for(a=V.call(n.ownerDocument);n.firstChild;)a.appendChild(n.firstChild);else a=n;return we&&(a=K.call(h,a,!0)),a}var u=ge?n.outerHTML:n.innerHTML;return B?B.createHTML(u):u},d.setConfig=function(e){Ce(e),_e=!0},d.clearConfig=function(){Te=null,_e=!1},d.isValidAttribute=function(e,t,n){Te||Ce({});var i=e.toLowerCase(),s=t.toLowerCase();return Ne(i,s,n)},d.addHook=function(e,t){"function"==typeof t&&(X[e]=X[e]||[],X[e].push(t))},d.removeHook=function(e){X[e]&&X[e].pop()},d.removeHooks=function(e){X[e]&&(X[e]=[])},d.removeAllHooks=function(){X={}},d}()}()},function(e,t,n){e.exports=n(441).default},function(e,t,n){(function(t){!function(t){"use strict";var n={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:g,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,nptable:g,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|\\n*|\\n*|?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=\\h*\\n)[\\s\\S]*?(?:\\n{2,}|$)|(?!script|pre|style)[a-z][\\w-]*\\s*>(?=\\h*\\n)[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:g,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading| {0,3}>|<\/?(?:tag)(?: +|\n|\/?>)|<(?:script|pre|style|!--))[^\n]+)*)/,text:/^[^\n]+/};function i(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||b.defaults,this.rules=n.normal,this.options.pedantic?this.rules=n.pedantic:this.options.gfm&&(this.options.tables?this.rules=n.tables:this.rules=n.gfm)}n._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,n._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,n.def=h(n.def).replace("label",n._label).replace("title",n._title).getRegex(),n.bullet=/(?:[*+-]|\d{1,9}\.)/,n.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,n.item=h(n.item,"gm").replace(/bull/g,n.bullet).getRegex(),n.list=h(n.list).replace(/bull/g,n.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+n.def.source+")").getRegex(),n._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",n._comment=//,n.html=h(n.html,"i").replace("comment",n._comment).replace("tag",n._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),n.paragraph=h(n.paragraph).replace("hr",n.hr).replace("heading",n.heading).replace("lheading",n.lheading).replace("tag",n._tag).getRegex(),n.blockquote=h(n.blockquote).replace("paragraph",n.paragraph).getRegex(),n.normal=_({},n),n.gfm=_({},n.normal,{fences:/^ {0,3}(`{3,}|~{3,})([^`\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),n.gfm.paragraph=h(n.paragraph).replace("(?!","(?!"+n.gfm.fences.source.replace("\\1","\\2")+"|"+n.list.source.replace("\\1","\\3")+"|").getRegex(),n.tables=_({},n.gfm,{nptable:/^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,table:/^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/}),n.pedantic=_({},n.normal,{html:h("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?\\1> *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",n._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/}),i.rules=n,i.lex=function(e,t){return new i(t).lex(e)},i.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},i.prototype.token=function(e,t){var i,s,r,o,a,l,u,c,d,h,p,f,m,g,_,b;for(e=e.replace(/^ +$/gm,"");e;)if((r=this.rules.newline.exec(e))&&(e=e.substring(r[0].length),r[0].length>1&&this.tokens.push({type:"space"})),r=this.rules.code.exec(e))e=e.substring(r[0].length),r=r[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?r:y(r,"\n")});else if(r=this.rules.fences.exec(e))e=e.substring(r[0].length),this.tokens.push({type:"code",lang:r[2]?r[2].trim():r[2],text:r[3]||""});else if(r=this.rules.heading.exec(e))e=e.substring(r[0].length),this.tokens.push({type:"heading",depth:r[1].length,text:r[2]});else if(t&&(r=this.rules.nptable.exec(e))&&(l={type:"table",header:v(r[1].replace(/^ *| *\| *$/g,"")),align:r[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:r[3]?r[3].replace(/\n$/,"").split("\n"):[]}).header.length===l.align.length){for(e=e.substring(r[0].length),p=0;p ?/gm,""),this.token(r,t),this.tokens.push({type:"blockquote_end"});else if(r=this.rules.list.exec(e)){for(e=e.substring(r[0].length),u={type:"list_start",ordered:g=(o=r[2]).length>1,start:g?+o:"",loose:!1},this.tokens.push(u),c=[],i=!1,m=(r=r[0].match(this.rules.item)).length,p=0;p1?1===a.length:a.length>1||this.options.smartLists&&a!==o)&&(e=r.slice(p+1).join("\n")+e,p=m-1)),s=i||/\n\n(?!\s*$)/.test(l),p!==m-1&&(i="\n"===l.charAt(l.length-1),s||(s=i)),s&&(u.loose=!0),b=void 0,(_=/^\[[ xX]\] /.test(l))&&(b=" "!==l[1],l=l.replace(/^\[[ xX]\] +/,"")),d={type:"list_item_start",task:_,checked:b,loose:s},c.push(d),this.tokens.push(d),this.token(l,!1),this.tokens.push({type:"list_item_end"});if(u.loose)for(m=c.length,p=0;p?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:g,tag:"^comment|^[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(href(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^\*([^\s*"<\[])\*(?!\*)|^_([^\s][\s\S]*?[^\s_])_(?!_|[^\spunctuation])|^_([^\s_][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s"<\[][\s\S]*?[^\s*])\*(?!\*)|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:g,text:/^(`+|[^`])[\s\S]*?(?=[\\?@\\[^_{|}~",s.em=h(s.em).replace(/punctuation/g,s._punctuation).getRegex(),s._escapes=/\\([!"#$%&'()*+,\-.\/:;<=>?@\[\]\\^_`{|}~])/g,s._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,s._email=/[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,s.autolink=h(s.autolink).replace("scheme",s._scheme).replace("email",s._email).getRegex(),s._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,s.tag=h(s.tag).replace("comment",n._comment).replace("attribute",s._attribute).getRegex(),s._label=/(?:\[[^\[\]]*\]|\\[\[\]]?|`[^`]*`|[^\[\]\\])*?/,s._href=/\s*(<(?:\\[<>]?|[^\s<>\\])*>|(?:\\[()]?|\([^\s\x00-\x1f\\]*\)|[^\s\x00-\x1f()\\])*?)/,s._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,s.link=h(s.link).replace("label",s._label).replace("href",s._href).replace("title",s._title).getRegex(),s.reflink=h(s.reflink).replace("label",s._label).getRegex(),s.normal=_({},s),s.pedantic=_({},s.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:h(/^!?\[(label)\]\((.*?)\)/).replace("label",s._label).getRegex(),reflink:h(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",s._label).getRegex()}),s.gfm=_({},s.normal,{escape:h(s.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:h(s.text).replace("]|","~]|").replace("|$","|https?://|ftp://|www\\.|[a-zA-Z0-9.!#$%&'*+/=?^_`{\\|}~-]+@|$").getRegex()}),s.gfm.url=h(s.gfm.url,"i").replace("email",s.gfm._extended_email).getRegex(),s.breaks=_({},s.gfm,{br:h(s.br).replace("{2,}","*").getRegex(),text:h(s.gfm.text).replace("{2,}","*").getRegex()}),r.rules=s,r.output=function(e,t,n){return new r(t,n).output(e)},r.prototype.output=function(e){for(var t,n,i,s,o,a,l="";e;)if(o=this.rules.escape.exec(e))e=e.substring(o[0].length),l+=c(o[1]);else if(o=this.rules.tag.exec(e))!this.inLink&&/^/i.test(o[0])&&(this.inLink=!1),!this.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(o[0])?this.inRawBlock=!0:this.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(o[0])&&(this.inRawBlock=!1),e=e.substring(o[0].length),l+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(o[0]):c(o[0]):o[0];else if(o=this.rules.link.exec(e))e=e.substring(o[0].length),this.inLink=!0,i=o[2],this.options.pedantic?(t=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i))?(i=t[1],s=t[3]):s="":s=o[3]?o[3].slice(1,-1):"",i=i.trim().replace(/^<([\s\S]*)>$/,"$1"),l+=this.outputLink(o,{href:r.escapes(i),title:r.escapes(s)}),this.inLink=!1;else if((o=this.rules.reflink.exec(e))||(o=this.rules.nolink.exec(e))){if(e=e.substring(o[0].length),t=(o[2]||o[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){l+=o[0].charAt(0),e=o[0].substring(1)+e;continue}this.inLink=!0,l+=this.outputLink(o,t),this.inLink=!1}else if(o=this.rules.strong.exec(e))e=e.substring(o[0].length),l+=this.renderer.strong(this.output(o[4]||o[3]||o[2]||o[1]));else if(o=this.rules.em.exec(e))e=e.substring(o[0].length),l+=this.renderer.em(this.output(o[6]||o[5]||o[4]||o[3]||o[2]||o[1]));else if(o=this.rules.code.exec(e))e=e.substring(o[0].length),l+=this.renderer.codespan(c(o[2].trim(),!0));else if(o=this.rules.br.exec(e))e=e.substring(o[0].length),l+=this.renderer.br();else if(o=this.rules.del.exec(e))e=e.substring(o[0].length),l+=this.renderer.del(this.output(o[1]));else if(o=this.rules.autolink.exec(e))e=e.substring(o[0].length),i="@"===o[2]?"mailto:"+(n=c(this.mangle(o[1]))):n=c(o[1]),l+=this.renderer.link(i,null,n);else if(this.inLink||!(o=this.rules.url.exec(e))){if(o=this.rules.text.exec(e))e=e.substring(o[0].length),this.inRawBlock?l+=this.renderer.text(o[0]):l+=this.renderer.text(c(this.smartypants(o[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else{if("@"===o[2])i="mailto:"+(n=c(o[0]));else{do{a=o[0],o[0]=this.rules._backpedal.exec(o[0])[0]}while(a!==o[0]);n=c(o[0]),i="www."===o[1]?"http://"+n:n}e=e.substring(o[0].length),l+=this.renderer.link(i,null,n)}return l},r.escapes=function(e){return e?e.replace(r.rules._escapes,"$1"):e},r.prototype.outputLink=function(e,t){var n=t.href,i=t.title?c(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,i,this.output(e[1])):this.renderer.image(n,i,c(e[1]))},r.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014\/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014\/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},r.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",i=e.length,s=0;s.5&&(t="x"+t.toString(16)),n+=""+t+";";return n},o.prototype.code=function(e,t,n){var i=(t||"").match(/\S*/)[0];if(this.options.highlight){var s=this.options.highlight(e,i);null!=s&&s!==e&&(n=!0,e=s)}return i?''+(n?e:c(e,!0))+"\n":""+(n?e:c(e,!0))+""},o.prototype.blockquote=function(e){return"\n"+e+"\n"},o.prototype.html=function(e){return e},o.prototype.heading=function(e,t,n,i){return this.options.headerIds?"'+e+"\n":""+e+"\n"},o.prototype.hr=function(){return this.options.xhtml?"\n":"\n"},o.prototype.list=function(e,t,n){var i=t?"ol":"ul";return"<"+i+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+""+i+">\n"},o.prototype.listitem=function(e){return""+e+"\n"},o.prototype.checkbox=function(e){return" "},o.prototype.paragraph=function(e){return""+e+"\n"},o.prototype.table=function(e,t){return t&&(t=""+t+""),"\n\n"+e+"\n"+t+"\n"},o.prototype.tablerow=function(e){return"\n"+e+"\n"},o.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+""+n+">\n"},o.prototype.strong=function(e){return""+e+""},o.prototype.em=function(e){return""+e+""},o.prototype.codespan=function(e){return""+e+""},o.prototype.br=function(){return this.options.xhtml?"":""},o.prototype.del=function(e){return""+e+""},o.prototype.link=function(e,t,n){if(null===(e=p(this.options.sanitize,this.options.baseUrl,e)))return n;var i='"+n+""},o.prototype.image=function(e,t,n){if(null===(e=p(this.options.sanitize,this.options.baseUrl,e)))return n;var i='":">"},o.prototype.text=function(e){return e},a.prototype.strong=a.prototype.em=a.prototype.codespan=a.prototype.del=a.prototype.text=function(e){return e},a.prototype.link=a.prototype.image=function(e,t,n){return""+n},a.prototype.br=function(){return""},l.parse=function(e,t){return new l(t).parse(e)},l.prototype.parse=function(e){this.inline=new r(e.links,this.options),this.inlineText=new r(e.links,_({},this.options,{renderer:new a})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},l.prototype.next=function(){return this.token=this.tokens.pop()},l.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},l.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},l.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,d(this.inlineText.output(this.token.text)),this.slugger);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,i,s="",r="";for(n="",e=0;e?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){var n=t;do{this.seen[n]++,t=n+"-"+this.seen[n]}while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t},c.escapeTest=/[&<>"']/,c.escapeReplace=/[&<>"']/g,c.replacements={"&":"&","<":"<",">":">",'"':""","'":"'"},c.escapeTestNoEncode=/[<>"']|&(?!#?\w+;)/,c.escapeReplaceNoEncode=/[<>"']|&(?!#?\w+;)/g;var f={},m=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function g(){}function _(e){for(var t,n,i=1;i=0&&"\\"===n[s];)i=!i;return i?"|":" |"}).split(/ \|/),i=0;if(n.length>t)n.splice(t);else for(;n.lengthAn error occurred:
');e.querySelector("svg img")&&(p=!0)}catch(e){}}(),function(){try{var e=Pe("
'+(n?e:c(e,!0))+"
"+(n?e:c(e,!0))+"
\n"+e+"
"+e+"
"+c(e.message+"",!0)+"