From b1f33700ae8e7325f9c5c8572121a48baee5d45d Mon Sep 17 00:00:00 2001 From: Wrik Das Date: Wed, 25 Oct 2023 16:25:51 +0530 Subject: [PATCH] Updates --- asset-manifest.json | 12 ++++++------ index.html | 2 +- static/js/main.bda9e6ff.js | 3 +++ ...9.js.LICENSE.txt => main.bda9e6ff.js.LICENSE.txt} | 0 static/js/main.bda9e6ff.js.map | 1 + static/js/main.dce8d479.js | 3 --- static/js/main.dce8d479.js.map | 1 - 7 files changed, 11 insertions(+), 11 deletions(-) create mode 100644 static/js/main.bda9e6ff.js rename static/js/{main.dce8d479.js.LICENSE.txt => main.bda9e6ff.js.LICENSE.txt} (100%) create mode 100644 static/js/main.bda9e6ff.js.map delete mode 100644 static/js/main.dce8d479.js delete mode 100644 static/js/main.dce8d479.js.map diff --git a/asset-manifest.json b/asset-manifest.json index 183c922..26ecb1a 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,13 +1,13 @@ { "files": { - "main.css": "/markdown-previewer/static/css/main.b6fd2d41.css", - "main.js": "/markdown-previewer/static/js/main.dce8d479.js", - "index.html": "/markdown-previewer/index.html", - "main.b6fd2d41.css.map": "/markdown-previewer/static/css/main.b6fd2d41.css.map", - "main.dce8d479.js.map": "/markdown-previewer/static/js/main.dce8d479.js.map" + "main.css": "/markdown-editor/static/css/main.b6fd2d41.css", + "main.js": "/markdown-editor/static/js/main.bda9e6ff.js", + "index.html": "/markdown-editor/index.html", + "main.b6fd2d41.css.map": "/markdown-editor/static/css/main.b6fd2d41.css.map", + "main.bda9e6ff.js.map": "/markdown-editor/static/js/main.bda9e6ff.js.map" }, "entrypoints": [ "static/css/main.b6fd2d41.css", - "static/js/main.dce8d479.js" + "static/js/main.bda9e6ff.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index 467b21e..47b551c 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -Markdown Previewer
\ No newline at end of file +Markdown Previewer
\ No newline at end of file diff --git a/static/js/main.bda9e6ff.js b/static/js/main.bda9e6ff.js new file mode 100644 index 0000000..7d1779a --- /dev/null +++ b/static/js/main.bda9e6ff.js @@ -0,0 +1,3 @@ +/*! For license information please see main.bda9e6ff.js.LICENSE.txt */ +!function(){var e={703:function(e){e.exports=function(){"use strict";function e(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1?n-1:0),u=1;u/gm),j=i(/^data-[\-\w.\u00B7-\uFFFF]/),U=i(/^aria-[\-\w]+$/),$=i(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),H=i(/^(?:\w+script|data):/i),V=i(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),W="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 q(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:Q(),t=function(e){return Y(e)};if(t.version="2.2.9",t.removed=[],!e||!e.document||9!==e.document.nodeType)return t.isSupported=!1,t;var n=e.document,r=e.document,u=e.DocumentFragment,a=e.HTMLTemplateElement,i=e.Node,o=e.Element,s=e.NodeFilter,c=e.NamedNodeMap,f=void 0===c?e.NamedNodeMap||e.MozNamedAttrMap:c,w=e.Text,E=e.Comment,Z=e.DOMParser,G=e.trustedTypes,X=o.prototype,J=F(X,"cloneNode"),ee=F(X,"nextSibling"),te=F(X,"childNodes"),ne=F(X,"parentNode");if("function"===typeof a){var re=r.createElement("template");re.content&&re.content.ownerDocument&&(r=re.content.ownerDocument)}var ue=K(G,n),ae=ue&&Re?ue.createHTML(""):"",le=r,ie=le.implementation,oe=le.createNodeIterator,se=le.createDocumentFragment,ce=n.importNode,fe={};try{fe=C(r).documentMode?r.documentMode:{}}catch(gt){}var de={};t.isSupported="function"===typeof ne&&ie&&"undefined"!==typeof ie.createHTMLDocument&&9!==fe;var pe=I,he=M,me=j,ge=U,ye=H,ve=V,be=$,De=null,ke=x({},[].concat(q(A),q(S),q(_),q(B),q(z))),we=null,Ee=x({},[].concat(q(O),q(N),q(R),q(L))),xe=null,Ce=null,Fe=!0,Ae=!0,Se=!1,_e=!1,Te=!1,Be=!1,Pe=!1,ze=!1,Oe=!1,Ne=!0,Re=!1,Le=!0,Ie=!0,Me=!1,je={},Ue=x({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),$e=null,He=x({},["audio","video","img","source","image","track"]),Ve=null,We=x({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),qe="http://www.w3.org/1998/Math/MathML",Qe="http://www.w3.org/2000/svg",Ke="http://www.w3.org/1999/xhtml",Ye=Ke,Ze=!1,Ge=null,Xe=r.createElement("form"),Je=function(e){Ge&&Ge===e||(e&&"object"===("undefined"===typeof e?"undefined":W(e))||(e={}),e=C(e),De="ALLOWED_TAGS"in e?x({},e.ALLOWED_TAGS):ke,we="ALLOWED_ATTR"in e?x({},e.ALLOWED_ATTR):Ee,Ve="ADD_URI_SAFE_ATTR"in e?x(C(We),e.ADD_URI_SAFE_ATTR):We,$e="ADD_DATA_URI_TAGS"in e?x(C(He),e.ADD_DATA_URI_TAGS):He,xe="FORBID_TAGS"in e?x({},e.FORBID_TAGS):{},Ce="FORBID_ATTR"in e?x({},e.FORBID_ATTR):{},je="USE_PROFILES"in e&&e.USE_PROFILES,Fe=!1!==e.ALLOW_ARIA_ATTR,Ae=!1!==e.ALLOW_DATA_ATTR,Se=e.ALLOW_UNKNOWN_PROTOCOLS||!1,_e=e.SAFE_FOR_TEMPLATES||!1,Te=e.WHOLE_DOCUMENT||!1,ze=e.RETURN_DOM||!1,Oe=e.RETURN_DOM_FRAGMENT||!1,Ne=!1!==e.RETURN_DOM_IMPORT,Re=e.RETURN_TRUSTED_TYPE||!1,Pe=e.FORCE_BODY||!1,Le=!1!==e.SANITIZE_DOM,Ie=!1!==e.KEEP_CONTENT,Me=e.IN_PLACE||!1,be=e.ALLOWED_URI_REGEXP||be,Ye=e.NAMESPACE||Ke,_e&&(Ae=!1),Oe&&(ze=!0),je&&(De=x({},[].concat(q(z))),we=[],!0===je.html&&(x(De,A),x(we,O)),!0===je.svg&&(x(De,S),x(we,N),x(we,L)),!0===je.svgFilters&&(x(De,_),x(we,N),x(we,L)),!0===je.mathMl&&(x(De,B),x(we,R),x(we,L))),e.ADD_TAGS&&(De===ke&&(De=C(De)),x(De,e.ADD_TAGS)),e.ADD_ATTR&&(we===Ee&&(we=C(we)),x(we,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&x(Ve,e.ADD_URI_SAFE_ATTR),Ie&&(De["#text"]=!0),Te&&x(De,["html","head","body"]),De.table&&(x(De,["tbody"]),delete xe.tbody),l&&l(e),Ge=e)},et=x({},["mi","mo","mn","ms","mtext"]),tt=x({},["foreignobject","desc","title","annotation-xml"]),nt=x({},S);x(nt,_),x(nt,T);var rt=x({},B);x(rt,P);var ut=function(e){var t=ne(e);t&&t.tagName||(t={namespaceURI:Ke,tagName:"template"});var n=m(e.tagName),r=m(t.tagName);if(e.namespaceURI===Qe)return t.namespaceURI===Ke?"svg"===n:t.namespaceURI===qe?"svg"===n&&("annotation-xml"===r||et[r]):Boolean(nt[n]);if(e.namespaceURI===qe)return t.namespaceURI===Ke?"math"===n:t.namespaceURI===Qe?"math"===n&&tt[r]:Boolean(rt[n]);if(e.namespaceURI===Ke){if(t.namespaceURI===Qe&&!tt[r])return!1;if(t.namespaceURI===qe&&!et[r])return!1;var u=x({},["title","style","font","a","script"]);return!rt[n]&&(u[n]||!nt[n])}return!1},at=function(e){h(t.removed,{element:e});try{e.parentNode.removeChild(e)}catch(gt){try{e.outerHTML=ae}catch(gt){e.remove()}}},lt=function(e,n){try{h(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch(gt){h(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),"is"===e&&!we[e])if(ze||Oe)try{at(n)}catch(gt){}else try{n.setAttribute(e,"")}catch(gt){}},it=function(e){var t=void 0,n=void 0;if(Pe)e=""+e;else{var u=g(e,/^[\r\n\t ]+/);n=u&&u[0]}var a=ue?ue.createHTML(e):e;if(Ye===Ke)try{t=(new Z).parseFromString(a,"text/html")}catch(gt){}if(!t||!t.documentElement){t=ie.createDocument(Ye,"template",null);try{t.documentElement.innerHTML=Ze?"":a}catch(gt){}}var l=t.body||t.documentElement;return e&&n&&l.insertBefore(r.createTextNode(n),l.childNodes[0]||null),Te?t.documentElement:l},ot=function(e){return oe.call(e.ownerDocument||e,e,s.SHOW_ELEMENT|s.SHOW_COMMENT|s.SHOW_TEXT,null,!1)},st=function(e){return!(e instanceof w||e instanceof E)&&!("string"===typeof e.nodeName&&"string"===typeof e.textContent&&"function"===typeof e.removeChild&&e.attributes instanceof f&&"function"===typeof e.removeAttribute&&"function"===typeof e.setAttribute&&"string"===typeof e.namespaceURI&&"function"===typeof e.insertBefore)},ct=function(e){return"object"===("undefined"===typeof i?"undefined":W(i))?e instanceof i:e&&"object"===("undefined"===typeof e?"undefined":W(e))&&"number"===typeof e.nodeType&&"string"===typeof e.nodeName},ft=function(e,n,r){de[e]&&d(de[e],(function(e){e.call(t,n,r,Ge)}))},dt=function(e){var n=void 0;if(ft("beforeSanitizeElements",e,null),st(e))return at(e),!0;if(g(e.nodeName,/[\u0080-\uFFFF]/))return at(e),!0;var r=m(e.nodeName);if(ft("uponSanitizeElement",e,{tagName:r,allowedTags:De}),!ct(e.firstElementChild)&&(!ct(e.content)||!ct(e.content.firstElementChild))&&D(/<[/\w]/g,e.innerHTML)&&D(/<[/\w]/g,e.textContent))return at(e),!0;if(!De[r]||xe[r]){if(Ie&&!Ue[r]){var u=ne(e)||e.parentNode,a=te(e)||e.childNodes;if(a&&u)for(var l=a.length-1;l>=0;--l)u.insertBefore(J(a[l],!0),ee(e))}return at(e),!0}return e instanceof o&&!ut(e)?(at(e),!0):"noscript"!==r&&"noembed"!==r||!D(/<\/no(script|embed)/i,e.innerHTML)?(_e&&3===e.nodeType&&(n=e.textContent,n=y(n,pe," "),n=y(n,he," "),e.textContent!==n&&(h(t.removed,{element:e.cloneNode()}),e.textContent=n)),ft("afterSanitizeElements",e,null),!1):(at(e),!0)},pt=function(e,t,n){if(Le&&("id"===t||"name"===t)&&(n in r||n in Xe))return!1;if(Ae&&D(me,t));else if(Fe&&D(ge,t));else{if(!we[t]||Ce[t])return!1;if(Ve[t]);else if(D(be,y(n,ve,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==v(n,"data:")||!$e[e])if(Se&&!D(ye,y(n,ve,"")));else if(n)return!1}return!0},ht=function(e){var n=void 0,r=void 0,u=void 0,a=void 0;ft("beforeSanitizeAttributes",e,null);var l=e.attributes;if(l){var i={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:we};for(a=l.length;a--;){var o=n=l[a],s=o.name,c=o.namespaceURI;if(r=b(n.value),u=m(s),i.attrName=u,i.attrValue=r,i.keepAttr=!0,i.forceKeepAttr=void 0,ft("uponSanitizeAttribute",e,i),r=i.attrValue,!i.forceKeepAttr&&(lt(s,e),i.keepAttr))if(D(/\/>/i,r))lt(s,e);else{_e&&(r=y(r,pe," "),r=y(r,he," "));var f=e.nodeName.toLowerCase();if(pt(f,u,r))try{c?e.setAttributeNS(c,s,r):e.setAttribute(s,r),p(t.removed)}catch(gt){}}}ft("afterSanitizeAttributes",e,null)}},mt=function e(t){var n=void 0,r=ot(t);for(ft("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)ft("uponSanitizeShadowNode",n,null),dt(n)||(n.content instanceof u&&e(n.content),ht(n));ft("afterSanitizeShadowDOM",t,null)};return t.sanitize=function(r,a){var l=void 0,o=void 0,s=void 0,c=void 0,f=void 0;if((Ze=!r)&&(r="\x3c!--\x3e"),"string"!==typeof r&&!ct(r)){if("function"!==typeof r.toString)throw k("toString is not a function");if("string"!==typeof(r=r.toString()))throw k("dirty is not a string, aborting")}if(!t.isSupported){if("object"===W(e.toStaticHTML)||"function"===typeof e.toStaticHTML){if("string"===typeof r)return e.toStaticHTML(r);if(ct(r))return e.toStaticHTML(r.outerHTML)}return r}if(Be||Je(a),t.removed=[],"string"===typeof r&&(Me=!1),Me);else if(r instanceof i)1===(o=(l=it("\x3c!----\x3e")).ownerDocument.importNode(r,!0)).nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?l=o:l.appendChild(o);else{if(!ze&&!_e&&!Te&&-1===r.indexOf("<"))return ue&&Re?ue.createHTML(r):r;if(!(l=it(r)))return ze?null:ae}l&&Pe&&at(l.firstChild);for(var d=ot(Me?r:l);s=d.nextNode();)3===s.nodeType&&s===c||dt(s)||(s.content instanceof u&&mt(s.content),ht(s),c=s);if(c=null,Me)return r;if(ze){if(Oe)for(f=se.call(l.ownerDocument);l.firstChild;)f.appendChild(l.firstChild);else f=l;return Ne&&(f=ce.call(n,f,!0)),f}var p=Te?l.outerHTML:l.innerHTML;return _e&&(p=y(p,pe," "),p=y(p,he," ")),ue&&Re?ue.createHTML(p):p},t.setConfig=function(e){Je(e),Be=!0},t.clearConfig=function(){Ge=null,Be=!1},t.isValidAttribute=function(e,t,n){Ge||Je({});var r=m(e),u=m(t);return pt(r,u,n)},t.addHook=function(e,t){"function"===typeof t&&(de[e]=de[e]||[],h(de[e],t))},t.removeHook=function(e){de[e]&&p(de[e])},t.removeHooks=function(e){de[e]&&(de[e]=[])},t.removeAllHooks=function(){de={}},t}return Y()}()},725:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(u){return!1}}()?Object.assign:function(e,u){for(var a,l,i=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),o=1;o