build/static/js/12.a35328b3.chunk.js

2 lines
31 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*! For license information please see 12.a35328b3.chunk.js.LICENSE.txt */
(this.webpackJsonp=this.webpackJsonp||[]).push([[12],{SJMd:function(e,t){window.PR_SHOULD_USE_CONTINUATION=!0,function(){var e=window,t=["break,continue,do,else,for,if,return,while"],n=[[t,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],r=[n,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],o=[n,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],i=[n,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],a=[n,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],l="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",s=[t,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],c=[t,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],u=[t,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],d=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/;function p(e,t,n,r,o){if(n){var i={sourceNode:e,pre:1,langExtension:null,numberLines:null,sourceCode:n,spans:null,basePos:t,decorations:null};r(i),o.push.apply(o,i.decorations)}}var f=/\S/;function m(e){for(var t=void 0,n=e.firstChild;n;n=n.nextSibling){var r=n.nodeType;t=1===r?t?e:n:3===r&&f.test(n.nodeValue)?e:t}return t===e?void 0:t}function g(e,t){var n,r={};!function(){for(var o=e.concat(t),i=[],a={},l=0,s=o.length;l<s;++l){var c=o[l],u=c[3];if(u)for(var d=u.length;--d>=0;)r[u.charAt(d)]=c;var p=c[1],f=""+p;a.hasOwnProperty(f)||(i.push(p),a[f]=null)}i.push(/[\0-\uffff]/),n=function(e){for(var t=0,n=!1,r=!1,o=0,i=e.length;o<i;++o){if((p=e[o]).ignoreCase)r=!0;else if(/[a-z]/i.test(p.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){n=!0,r=!1;break}}var a={b:8,t:9,n:10,v:11,f:12,r:13};function l(e){var t=e.charCodeAt(0);if(92!==t)return t;var n=e.charAt(1);return(t=a[n])||("0"<=n&&n<="7"?parseInt(e.substring(1),8):"u"===n||"x"===n?parseInt(e.substring(2),16):e.charCodeAt(1))}function s(e){if(e<32)return(e<16?"\\x0":"\\x")+e.toString(16);var t=String.fromCharCode(e);return"\\"===t||"-"===t||"]"===t||"^"===t?"\\"+t:t}function c(e){var t=e.substring(1,e.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),n=[],r="^"===t[0],o=["["];r&&o.push("^");for(var i=r?1:0,a=t.length;i<a;++i){var c=t[i];if(/\\[bdsw]/i.test(c))o.push(c);else{var u,d=l(c);i+2<a&&"-"===t[i+1]?(u=l(t[i+2]),i+=2):u=d,n.push([d,u]),u<65||d>122||(u<65||d>90||n.push([32|Math.max(65,d),32|Math.min(u,90)]),u<97||d>122||n.push([-33&Math.max(97,d),-33&Math.min(u,122)]))}}n.sort((function(e,t){return e[0]-t[0]||t[1]-e[1]}));var p=[],f=[];for(i=0;i<n.length;++i){(m=n[i])[0]<=f[1]+1?f[1]=Math.max(f[1],m[1]):p.push(f=m)}for(i=0;i<p.length;++i){var m=p[i];o.push(s(m[0])),m[1]>m[0]&&(m[1]+1>m[0]&&o.push("-"),o.push(s(m[1])))}return o.push("]"),o.join("")}function u(e){for(var r=e.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),o=r.length,i=[],a=0,l=0;a<o;++a){if("("===(d=r[a]))++l;else if("\\"===d.charAt(0)){(u=+d.substring(1))&&(u<=l?i[u]=-1:r[a]=s(u))}}for(a=1;a<i.length;++a)-1===i[a]&&(i[a]=++t);for(a=0,l=0;a<o;++a){if("("===(d=r[a]))i[++l]||(r[a]="(?:");else if("\\"===d.charAt(0)){var u;(u=+d.substring(1))&&u<=l&&(r[a]="\\"+i[u])}}for(a=0;a<o;++a)"^"===r[a]&&"^"!==r[a+1]&&(r[a]="");if(e.ignoreCase&&n)for(a=0;a<o;++a){var d,p=(d=r[a]).charAt(0);d.length>=2&&"["===p?r[a]=c(d):"\\"!==p&&(r[a]=d.replace(/[a-zA-Z]/g,(function(e){var t=e.charCodeAt(0);return"["+String.fromCharCode(-33&t,32|t)+"]"})))}return r.join("")}var d=[];for(o=0,i=e.length;o<i;++o){var p;if((p=e[o]).global||p.multiline)throw new Error(""+p);d.push("(?:"+u(p)+")")}return new RegExp(d.join("|"),r?"gi":"g")}(i)}();var o=t.length,i=function(e){for(var a=e.sourceCode,l=e.basePos,s=e.sourceNode,c=[l,"pln"],u=0,d=a.match(n)||[],f={},m=0,g=d.length;m<g;++m){var h,y=d[m],v=f[y],b=void 0;if("string"==typeof v)h=!1;else{var x=r[y.charAt(0)];if(x)b=y.match(x[1]),v=x[0];else{for(var w=0;w<o;++w)if(x=t[w],b=y.match(x[1])){v=x[0];break}b||(v="pln")}!(h=v.length>=5&&"lang-"===v.substring(0,5))||b&&"string"==typeof b[1]||(h=!1,v="src"),h||(f[y]=v)}var T=u;if(u+=y.length,h){var A=b[1],N=y.indexOf(A),_=N+A.length;b[2]&&(N=(_=y.length-b[2].length)-A.length);var C=v.substring(5);p(s,l+T,y.substring(0,N),i,c),p(s,l+T+N,A,S(C,A),c),p(s,l+T+_,y.substring(_),i,c)}else c.push(l+T,v)}e.decorations=c};return i}function h(e){var t=[],n=[];e.tripleQuotedStrings?t.push(["str",/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""]):e.multiLineStrings?t.push(["str",/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):t.push(["str",/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"]),e.verbatimStrings&&n.push(["str",/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var r=e.hashComments;r&&(e.cStyleComments?(r>1?t.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):t.push(["com",/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),n.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):t.push(["com",/^#[^\r\n]*/,null,"#"])),e.cStyleComments&&(n.push(["com",/^\/\/[^\r\n]*/,null]),n.push(["com",/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var o=e.regexLiterals;if(o){var i=o>1?"":"\n\r",a=i?".":"[\\S\\s]",l="/(?=[^/*"+i+"])(?:[^/\\x5B\\x5C"+i+"]|\\x5C"+a+"|\\x5B(?:[^\\x5C\\x5D"+i+"]|\\x5C"+a+")*(?:\\x5D|$))+/";n.push(["lang-regex",RegExp("^(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*("+l+")")])}var s=e.types;s&&n.push(["typ",s]);var c=(""+e.keywords).replace(/^ | $/g,"");c.length&&n.push(["kwd",new RegExp("^(?:"+c.replace(/[\s,]+/g,"|")+")\\b"),null]),t.push(["pln",/^\s+/,null," \r\n\t "]);var u="^.[^\\s\\w.$@'\"`/\\\\]*";return e.regexLiterals&&(u+="(?!s*/)"),n.push(["lit",/^@[a-z_$][a-z_$@0-9]*/i,null],["typ",/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],["pln",/^[a-z_$][a-z_$@0-9]*/i,null],["lit",new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],["pln",/^\\[\s\S]?/,null],["pun",new RegExp(u),null]),g(t,n)}var y=h({keywords:[r,i,o,a,l,s,c,u],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function v(e,t,n){for(var r=/(?:^|\s)nocode(?:\s|$)/,o=/\r\n?|\n/,i=e.ownerDocument,a=i.createElement("li");e.firstChild;)a.appendChild(e.firstChild);var l=[a];function s(e){var t=e.nodeType;if(1!=t||r.test(e.className)){if((3==t||4==t)&&n){var a=e.nodeValue,l=a.match(o);if(l){var u=a.substring(0,l.index);e.nodeValue=u;var d=a.substring(l.index+l[0].length);if(d)e.parentNode.insertBefore(i.createTextNode(d),e.nextSibling);c(e),u||e.parentNode.removeChild(e)}}}else if("br"===e.nodeName)c(e),e.parentNode&&e.parentNode.removeChild(e);else for(var p=e.firstChild;p;p=p.nextSibling)s(p)}function c(e){for(;!e.nextSibling;)if(!(e=e.parentNode))return;for(var t,n=function e(t,n){var r=n?t.cloneNode(!1):t,o=t.parentNode;if(o){var i=e(o,1),a=t.nextSibling;i.appendChild(r);for(var l=a;l;l=a)a=l.nextSibling,i.appendChild(l)}return r}(e.nextSibling,0);(t=n.parentNode)&&1===t.nodeType;)n=t;l.push(n)}for(var u=0;u<l.length;++u)s(l[u]);t===(0|t)&&l[0].setAttribute("value",t);var d=i.createElement("ol");d.className="linenums";for(var p=Math.max(0,t-1|0)||0,f=(u=0,l.length);u<f;++u)(a=l[u]).className="L"+(u+p)%10,a.firstChild||a.appendChild(i.createTextNode(" ")),d.appendChild(a);e.appendChild(d)}var b={};function x(t,n){for(var r=n.length;--r>=0;){var o=n[r];b.hasOwnProperty(o)?e.console&&console.warn("cannot override language handler %s",o):b[o]=t}}function S(e,t){return e&&b.hasOwnProperty(e)||(e=/^\s*</.test(t)?"default-markup":"default-code"),b[e]}function w(t){var n,r,o,i,a,l,s,c=t.langExtension;try{var u=(n=t.sourceNode,r=t.pre,o=/(?:^|\s)nocode(?:\s|$)/,i=[],a=0,l=[],s=0,function e(t){var n=t.nodeType;if(1==n){if(o.test(t.className))return;for(var c=t.firstChild;c;c=c.nextSibling)e(c);var u=t.nodeName.toLowerCase();"br"!==u&&"li"!==u||(i[s]="\n",l[s<<1]=a++,l[s++<<1|1]=t)}else if(3==n||4==n){var d=t.nodeValue;d.length&&(d=r?d.replace(/\r\n?/g,"\n"):d.replace(/[ \t\r\n]+/g," "),i[s]=d,l[s<<1]=a,a+=d.length,l[s++<<1|1]=t)}}(n),{sourceCode:i.join("").replace(/\n$/,""),spans:l}),d=u.sourceCode;t.sourceCode=d,t.spans=u.spans,t.basePos=0,S(c,d)(t),function(e){var t=/\bMSIE\s(\d+)/.exec(navigator.userAgent);t=t&&+t[1]<=8;var n,r,o=/\n/g,i=e.sourceCode,a=i.length,l=0,s=e.spans,c=s.length,u=0,d=e.decorations,p=d.length,f=0;for(d[p]=a,r=n=0;r<p;)d[r]!==d[r+2]?(d[n++]=d[r++],d[n++]=d[r++]):r+=2;for(p=n,r=n=0;r<p;){for(var m=d[r],g=d[r+1],h=r+2;h+2<=p&&d[h+1]===g;)h+=2;d[n++]=m,d[n++]=g,r=h}p=d.length=n;var y=e.sourceNode,v="";y&&(v=y.style.display,y.style.display="none");try{for(;u<c;){s[u];var b,x=s[u+2]||a,S=d[f+2]||a,w=(h=Math.min(x,S),s[u+1]);if(1!==w.nodeType&&(b=i.substring(l,h))){t&&(b=b.replace(o,"\r")),w.nodeValue=b;var T=w.ownerDocument,A=T.createElement("span");A.className=d[f+1];var N=w.parentNode;N.replaceChild(A,w),A.appendChild(w),l<x&&(s[u+1]=w=T.createTextNode(i.substring(h,x)),N.insertBefore(w,A.nextSibling))}(l=h)>=x&&(u+=2),l>=S&&(f+=2)}}finally{y&&(y.style.display=v)}}(t)}catch(t){e.console&&console.log(t&&t.stack||t)}}function T(e,t,n){var r=n||!1,o=t||null,i=document.createElement("div");return i.innerHTML="<pre>"+e+"</pre>",i=i.firstChild,r&&v(i,r,!0),w({langExtension:o,numberLines:r,sourceNode:i,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null}),i.innerHTML}function A(t,n){var r=n||document.body,o=r.ownerDocument||document;function i(e){return r.getElementsByTagName(e)}for(var a=[i("pre"),i("code"),i("xmp")],l=[],s=0;s<a.length;++s)for(var c=0,u=a[s].length;c<u;++c)l.push(a[s][c]);a=null;var d=Date;d.now||(d={now:function(){return+new Date}});var p=0,f=/\blang(?:uage)?-([\w.]+)(?!\S)/,g=/\bprettyprint\b/,h=/\bprettyprinted\b/,y=/pre|xmp/i,b=/^code$/i,x=/^(?:pre|code|xmp)$/i,S={};!function n(){for(var r=e.PR_SHOULD_USE_CONTINUATION?d.now()+250:1/0;p<l.length&&d.now()<r;p++){for(var i=l[p],a=S,s=i;s=s.previousSibling;){var c=s.nodeType,u=(7===c||8===c)&&s.nodeValue;if(u?!/^\??prettify\b/.test(u):3!==c||/\S/.test(s.nodeValue))break;if(u){a={},u.replace(/\b(\w+)=([\w:.%+-]+)/g,(function(e,t,n){a[t]=n}));break}}var T=i.className;if((a!==S||g.test(T))&&!h.test(T)){for(var A=!1,N=i.parentNode;N;N=N.parentNode){var _=N.tagName;if(x.test(_)&&N.className&&g.test(N.className)){A=!0;break}}if(!A){i.className+=" prettyprinted";var C,k,E=a.lang;if(!E)!(E=T.match(f))&&(C=m(i))&&b.test(C.tagName)&&(E=C.className.match(f)),E&&(E=E[1]);if(y.test(i.tagName))k=1;else{var L=i.currentStyle,R=o.defaultView,D=L?L.whiteSpace:R&&R.getComputedStyle?R.getComputedStyle(i,null).getPropertyValue("white-space"):0;k=D&&"pre"===D.substring(0,3)}var M=a.linenums;(M="true"===M||+M)||(M=!!(M=T.match(/\blinenums\b(?::(\d+))?/))&&(!M[1]||!M[1].length||+M[1])),M&&v(i,M,k),w({langExtension:E,sourceNode:i,numberLines:M,pre:k,sourceCode:null,basePos:null,spans:null,decorations:null})}}}p<l.length?e.setTimeout(n,250):"function"==typeof t&&t()}()}x(y,["default-code"]),x(g([],[["pln",/^[^<?]+/],["dec",/^<!\w[^>]*(?:>|$)/],["com",/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),x(g([["pln",/^[\s]+/,null," \t\r\n"],["atv",/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],["pun",/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),x(g([],[["atv",/^[\s\S]+/]]),["uq.val"]),x(h({keywords:r,hashComments:!0,cStyleComments:!0,types:d}),["c","cc","cpp","cxx","cyc","m"]),x(h({keywords:"null,true,false"}),["json"]),x(h({keywords:i,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:d}),["cs"]),x(h({keywords:o,cStyleComments:!0}),["java"]),x(h({keywords:u,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),x(h({keywords:s,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),x(h({keywords:l,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),x(h({keywords:c,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),x(h({keywords:a,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),x(h({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),x(g([],[["str",/^[\s\S]+/]]),["regex"]);var N=e.PR={createSimpleLexer:g,registerLangHandler:x,sourceDecorator:h,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ",prettyPrintOne:T,prettyPrint:A},_=e.define;"function"==typeof _&&_.amd&&_("google-code-prettify",[],(function(){return N}))}()},vg9a:function(e,t,n){},wMS7:function(e,t,n){e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,n=Object.isFrozen,r=Object.keys,o=Object.freeze,i=Object.seal,a=Object.create,l="undefined"!=typeof Reflect&&Reflect,s=l.apply,c=l.construct;s||(s=function(e,t,n){return e.apply(t,n)}),o||(o=function(e){return e}),i||(i=function(e){return e}),c||(c=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t))))});var u=A(Array.prototype.forEach),d=A(Array.prototype.indexOf),p=A(Array.prototype.join),f=A(Array.prototype.pop),m=A(Array.prototype.push),g=A(Array.prototype.slice),h=A(String.prototype.toLowerCase),y=A(String.prototype.match),v=A(String.prototype.replace),b=A(String.prototype.indexOf),x=A(String.prototype.trim),S=A(RegExp.prototype.test),w=N(RegExp),T=N(TypeError);function A(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return s(e,t,r)}}function N(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return c(e,n)}}function _(e,r){t&&t(e,null);for(var o=r.length;o--;){var i=r[o];if("string"==typeof i){var a=h(i);a!==i&&(n(r)||(r[o]=a),i=a)}e[i]=!0}return e}function C(t){var n=a(null),r=void 0;for(r in t)s(e,t,[r])&&(n[r]=t[r]);return n}var k=o(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),E=o(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","audio","canvas","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","video","view","vkern"]),L=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),R=o(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),D=o(["#text"]),M=o(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns"]),O=o(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),P=o(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),z=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),F=i(/\{\{[\s\S]*|[\s\S]*\}\}/gm),I=i(/<%[\s\S]*|[\s\S]*%>/gm),H=i(/^data-[\-\w.\u00B7-\uFFFF]/),j=i(/^aria-[\-\w]+$/),$=i(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),U=i(/^(?:\w+script|data):/i),B=i(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),G="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);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var V=function(){return"undefined"==typeof window?null:window},W=function(e,t){if("object"!==(void 0===e?"undefined":G(e))||"function"!=typeof e.createPolicy)return null;var n=null;t.currentScript&&t.currentScript.hasAttribute("data-tt-policy-suffix")&&(n=t.currentScript.getAttribute("data-tt-policy-suffix"));var r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:V(),n=function(t){return e(t)};if(n.version="2.0.15",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var i=t.document,a=!1,l=t.document,s=t.DocumentFragment,c=t.HTMLTemplateElement,A=t.Node,N=t.NodeFilter,Y=t.NamedNodeMap,K=void 0===Y?t.NamedNodeMap||t.MozNamedAttrMap:Y,J=t.Text,Q=t.Comment,Z=t.DOMParser,X=t.trustedTypes;if("function"==typeof c){var ee=l.createElement("template");ee.content&&ee.content.ownerDocument&&(l=ee.content.ownerDocument)}var te=W(X,i),ne=te&&Pe?te.createHTML(""):"",re=l,oe=re.implementation,ie=re.createNodeIterator,ae=re.getElementsByTagName,le=re.createDocumentFragment,se=i.importNode,ce=C(l).documentMode?l.documentMode:{},ue={};n.isSupported=oe&&void 0!==oe.createHTMLDocument&&9!==ce;var de=F,pe=I,fe=H,me=j,ge=U,he=B,ye=$,ve=null,be=_({},[].concat(q(k),q(E),q(L),q(R),q(D))),xe=null,Se=_({},[].concat(q(M),q(O),q(P),q(z))),we=null,Te=null,Ae=!0,Ne=!0,_e=!1,Ce=!1,ke=!1,Ee=!1,Le=!1,Re=!1,De=!1,Me=!1,Oe=!1,Pe=!1,ze=!0,Fe=!0,Ie=!1,He={},je=_({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","plaintext","script","style","svg","template","thead","title","video","xmp"]),$e=null,Ue=_({},["audio","video","img","source","image","track"]),Be=null,Ge=_({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),qe=null,Ve=l.createElement("form"),We=function(e){qe&&qe===e||(e&&"object"===(void 0===e?"undefined":G(e))||(e={}),e=C(e),ve="ALLOWED_TAGS"in e?_({},e.ALLOWED_TAGS):be,xe="ALLOWED_ATTR"in e?_({},e.ALLOWED_ATTR):Se,Be="ADD_URI_SAFE_ATTR"in e?_(C(Ge),e.ADD_URI_SAFE_ATTR):Ge,$e="ADD_DATA_URI_TAGS"in e?_(C(Ue),e.ADD_DATA_URI_TAGS):Ue,we="FORBID_TAGS"in e?_({},e.FORBID_TAGS):{},Te="FORBID_ATTR"in e?_({},e.FORBID_ATTR):{},He="USE_PROFILES"in e&&e.USE_PROFILES,Ae=!1!==e.ALLOW_ARIA_ATTR,Ne=!1!==e.ALLOW_DATA_ATTR,_e=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ce=e.SAFE_FOR_JQUERY||!1,ke=e.SAFE_FOR_TEMPLATES||!1,Ee=e.WHOLE_DOCUMENT||!1,De=e.RETURN_DOM||!1,Me=e.RETURN_DOM_FRAGMENT||!1,Oe=e.RETURN_DOM_IMPORT||!1,Pe=e.RETURN_TRUSTED_TYPE||!1,Re=e.FORCE_BODY||!1,ze=!1!==e.SANITIZE_DOM,Fe=!1!==e.KEEP_CONTENT,Ie=e.IN_PLACE||!1,ye=e.ALLOWED_URI_REGEXP||ye,ke&&(Ne=!1),Me&&(De=!0),He&&(ve=_({},[].concat(q(D))),xe=[],!0===He.html&&(_(ve,k),_(xe,M)),!0===He.svg&&(_(ve,E),_(xe,O),_(xe,z)),!0===He.svgFilters&&(_(ve,L),_(xe,O),_(xe,z)),!0===He.mathMl&&(_(ve,R),_(xe,P),_(xe,z))),e.ADD_TAGS&&(ve===be&&(ve=C(ve)),_(ve,e.ADD_TAGS)),e.ADD_ATTR&&(xe===Se&&(xe=C(xe)),_(xe,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&_(Be,e.ADD_URI_SAFE_ATTR),Fe&&(ve["#text"]=!0),Ee&&_(ve,["html","head","body"]),ve.table&&(_(ve,["tbody"]),delete we.tbody),o&&o(e),qe=e)},Ye=function(e){m(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.outerHTML=ne}},Ke=function(e,t){try{m(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){m(n.removed,{attribute:null,from:t})}t.removeAttribute(e)},Je=function(e){var t=void 0,n=void 0;if(Re)e="<remove></remove>"+e;else{var r=y(e,/^[\r\n\t ]+/);n=r&&r[0]}var o=te?te.createHTML(e):e;try{t=(new Z).parseFromString(o,"text/html")}catch(e){}if(a&&_(we,["title"]),!t||!t.documentElement){var i=(t=oe.createHTMLDocument("")).body;i.parentNode.removeChild(i.parentNode.firstElementChild),i.outerHTML=o}return e&&n&&t.body.insertBefore(l.createTextNode(n),t.body.childNodes[0]||null),ae.call(t,Ee?"html":"body")[0]};n.isSupported&&function(){try{var e=Je("<x/><title>&lt;/title&gt;&lt;img&gt;");S(/<\/title/,e.querySelector("title").innerHTML)&&(a=!0)}catch(e){}}();var Qe=function(e){return ie.call(e.ownerDocument||e,e,N.SHOW_ELEMENT|N.SHOW_COMMENT|N.SHOW_TEXT,(function(){return N.FILTER_ACCEPT}),!1)},Ze=function(e){return!(e instanceof J||e instanceof Q||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof K&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI)},Xe=function(e){return"object"===(void 0===A?"undefined":G(A))?e instanceof A:e&&"object"===(void 0===e?"undefined":G(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},et=function(e,t,r){ue[e]&&u(ue[e],(function(e){e.call(n,t,r,qe)}))},tt=function(e){var t=void 0;if(et("beforeSanitizeElements",e,null),Ze(e))return Ye(e),!0;if(y(e.nodeName,/[\u0080-\uFFFF]/))return Ye(e),!0;var r=h(e.nodeName);if(et("uponSanitizeElement",e,{tagName:r,allowedTags:ve}),("svg"===r||"math"===r)&&0!==e.querySelectorAll("p, br").length)return Ye(e),!0;if(!ve[r]||we[r]){if(Fe&&!je[r]&&"function"==typeof e.insertAdjacentHTML)try{var o=e.innerHTML;e.insertAdjacentHTML("AfterEnd",te?te.createHTML(o):o)}catch(e){}return Ye(e),!0}return"noscript"===r&&S(/<\/noscript/i,e.innerHTML)||"noembed"===r&&S(/<\/noembed/i,e.innerHTML)?(Ye(e),!0):(!Ce||Xe(e.firstElementChild)||Xe(e.content)&&Xe(e.content.firstElementChild)||!S(/</g,e.textContent)||(m(n.removed,{element:e.cloneNode()}),e.innerHTML?e.innerHTML=v(e.innerHTML,/</g,"&lt;"):e.innerHTML=v(e.textContent,/</g,"&lt;")),ke&&3===e.nodeType&&(t=e.textContent,t=v(t,de," "),t=v(t,pe," "),e.textContent!==t&&(m(n.removed,{element:e.cloneNode()}),e.textContent=t)),et("afterSanitizeElements",e,null),!1)},nt=function(e,t,n){if(ze&&("id"===t||"name"===t)&&(n in l||n in Ve))return!1;if(Ne&&S(fe,t));else if(Ae&&S(me,t));else{if(!xe[t]||Te[t])return!1;if(Be[t]);else if(S(ye,v(n,he,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==b(n,"data:")||!$e[e])if(_e&&!S(ge,v(n,he,"")));else if(n)return!1}return!0},rt=function(e){var t=void 0,o=void 0,i=void 0,a=void 0,l=void 0;et("beforeSanitizeAttributes",e,null);var s=e.attributes;if(s){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:xe};for(l=s.length;l--;){var u=t=s[l],m=u.name,y=u.namespaceURI;if(o=x(t.value),i=h(m),c.attrName=i,c.attrValue=o,c.keepAttr=!0,c.forceKeepAttr=void 0,et("uponSanitizeAttribute",e,c),o=c.attrValue,!c.forceKeepAttr){if("name"===i&&"IMG"===e.nodeName&&s.id)a=s.id,s=g(s,[]),Ke("id",e),Ke(m,e),d(s,a)>l&&e.setAttribute("id",a.value);else{if("INPUT"===e.nodeName&&"type"===i&&"file"===o&&c.keepAttr&&(xe[i]||!Te[i]))continue;"id"===m&&e.setAttribute(m,""),Ke(m,e)}if(c.keepAttr)if(Ce&&S(/\/>/i,o))Ke(m,e);else if(S(/svg|math/i,e.namespaceURI)&&S(w("</("+p(r(je),"|")+")","i"),o))Ke(m,e);else{ke&&(o=v(o,de," "),o=v(o,pe," "));var b=e.nodeName.toLowerCase();if(nt(b,i,o))try{y?e.setAttributeNS(y,m,o):e.setAttribute(m,o),f(n.removed)}catch(e){}}}}et("afterSanitizeAttributes",e,null)}},ot=function e(t){var n=void 0,r=Qe(t);for(et("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)et("uponSanitizeShadowNode",n,null),tt(n)||(n.content instanceof s&&e(n.content),rt(n));et("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e,r){var o=void 0,a=void 0,l=void 0,c=void 0,u=void 0;if(e||(e="\x3c!--\x3e"),"string"!=typeof e&&!Xe(e)){if("function"!=typeof e.toString)throw T("toString is not a function");if("string"!=typeof(e=e.toString()))throw T("dirty is not a string, aborting")}if(!n.isSupported){if("object"===G(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if(Xe(e))return t.toStaticHTML(e.outerHTML)}return e}if(Le||We(r),n.removed=[],"string"==typeof e&&(Ie=!1),Ie);else if(e instanceof A)1===(a=(o=Je("\x3c!--\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===a.nodeName||"HTML"===a.nodeName?o=a:o.appendChild(a);else{if(!De&&!ke&&!Ee&&-1===e.indexOf("<"))return te&&Pe?te.createHTML(e):e;if(!(o=Je(e)))return De?null:ne}o&&Re&&Ye(o.firstChild);for(var d=Qe(Ie?e:o);l=d.nextNode();)3===l.nodeType&&l===c||tt(l)||(l.content instanceof s&&ot(l.content),rt(l),c=l);if(c=null,Ie)return e;if(De){if(Me)for(u=le.call(o.ownerDocument);o.firstChild;)u.appendChild(o.firstChild);else u=o;return Oe&&(u=se.call(i,u,!0)),u}var p=Ee?o.outerHTML:o.innerHTML;return ke&&(p=v(p,de," "),p=v(p,pe," ")),te&&Pe?te.createHTML(p):p},n.setConfig=function(e){We(e),Le=!0},n.clearConfig=function(){qe=null,Le=!1},n.isValidAttribute=function(e,t,n){qe||We({});var r=h(e),o=h(t);return nt(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&(ue[e]=ue[e]||[],m(ue[e],t))},n.removeHook=function(e){ue[e]&&f(ue[e])},n.removeHooks=function(e){ue[e]&&(ue[e]=[])},n.removeAllHooks=function(){ue={}},n}()}()}}]);