forked from Gitlink/build
2 lines
48 KiB
JavaScript
2 lines
48 KiB
JavaScript
/*! For license information please see 9.0599cec6.chunk.js.LICENSE.txt */
|
||
(this.webpackJsonp=this.webpackJsonp||[]).push([[9],{"9yH6":function(e,t,n){"use strict";n.r(t);var r=n("oOh1"),o=n("SiX+");n.d(t,"Group",(function(){return o.a}));var a=n("KNH7");n.d(t,"Button",(function(){return a.a})),r.a.Button=a.a,r.a.Group=o.a,t.default=r.a},K4yd:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("vXNv")},KNH7:function(e,t,n){"use strict";n.d(t,"a",(function(){return y}));var r=n("q1tI"),o=n("17x9"),a=n("oOh1"),i=n("H84U");function l(e){return(l="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})(e)}function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(d,e);var t,n,o,l=p(d);function d(){var e;return c(this,d),(e=l.apply(this,arguments)).renderRadioButton=function(t){var n=t.getPrefixCls,o=e.props,i=o.prefixCls,l=h(o,["prefixCls"]),c=n("radio-button",i);return e.context.radioGroup&&(l.checked=e.props.value===e.context.radioGroup.value,l.disabled=e.props.disabled||e.context.radioGroup.disabled),r.createElement(a.a,s({prefixCls:c},l))},e}return t=d,(n=[{key:"render",value:function(){return r.createElement(i.a,null,this.renderRadioButton)}}])&&u(t.prototype,n),o&&u(t,o),d}(r.Component);y.contextTypes={radioGroup:o.any}},PArb:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("eHJ2"),a=n.n(o),i=n("H84U");function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};t.default=function(e){return r.createElement(i.a,null,(function(t){var n,o=t.getPrefixCls,i=e.prefixCls,u=e.type,f=void 0===u?"horizontal":u,p=e.orientation,d=void 0===p?"center":p,m=e.className,h=e.children,y=e.dashed,g=c(e,["prefixCls","type","orientation","className","children","dashed"]),v=o("divider",i),b=d.length>0?"-".concat(d):d,x=a()(m,v,"".concat(v,"-").concat(f),(s(n={},"".concat(v,"-with-text").concat(b),h),s(n,"".concat(v,"-dashed"),!!y),n));return r.createElement("div",l({className:x},g,{role:"separator"}),h&&r.createElement("span",{className:"".concat(v,"-inner-text")},h))}))}},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"],a=[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"],i=[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"],f=/^(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 a={sourceNode:e,pre:1,langExtension:null,numberLines:null,sourceCode:n,spans:null,basePos:t,decorations:null};r(a),o.push.apply(o,a.decorations)}}var d=/\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&&d.test(n.nodeValue)?e:t}return t===e?void 0:t}function h(e,t){var n,r={};!function(){for(var o=e.concat(t),a=[],i={},l=0,s=o.length;l<s;++l){var c=o[l],u=c[3];if(u)for(var f=u.length;--f>=0;)r[u.charAt(f)]=c;var p=c[1],d=""+p;i.hasOwnProperty(d)||(a.push(p),i[d]=null)}a.push(/[\0-\uffff]/),n=function(e){for(var t=0,n=!1,r=!1,o=0,a=e.length;o<a;++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 i={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=i[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 a=r?1:0,i=t.length;a<i;++a){var c=t[a];if(/\\[bdsw]/i.test(c))o.push(c);else{var u,f=l(c);a+2<i&&"-"===t[a+1]?(u=l(t[a+2]),a+=2):u=f,n.push([f,u]),u<65||f>122||(u<65||f>90||n.push([32|Math.max(65,f),32|Math.min(u,90)]),u<97||f>122||n.push([-33&Math.max(97,f),-33&Math.min(u,122)]))}}n.sort((function(e,t){return e[0]-t[0]||t[1]-e[1]}));var p=[],d=[];for(a=0;a<n.length;++a){(m=n[a])[0]<=d[1]+1?d[1]=Math.max(d[1],m[1]):p.push(d=m)}for(a=0;a<p.length;++a){var m=p[a];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,a=[],i=0,l=0;i<o;++i){if("("===(f=r[i]))++l;else if("\\"===f.charAt(0)){(u=+f.substring(1))&&(u<=l?a[u]=-1:r[i]=s(u))}}for(i=1;i<a.length;++i)-1===a[i]&&(a[i]=++t);for(i=0,l=0;i<o;++i){if("("===(f=r[i]))a[++l]||(r[i]="(?:");else if("\\"===f.charAt(0)){var u;(u=+f.substring(1))&&u<=l&&(r[i]="\\"+a[u])}}for(i=0;i<o;++i)"^"===r[i]&&"^"!==r[i+1]&&(r[i]="");if(e.ignoreCase&&n)for(i=0;i<o;++i){var f,p=(f=r[i]).charAt(0);f.length>=2&&"["===p?r[i]=c(f):"\\"!==p&&(r[i]=f.replace(/[a-zA-Z]/g,(function(e){var t=e.charCodeAt(0);return"["+String.fromCharCode(-33&t,32|t)+"]"})))}return r.join("")}var f=[];for(o=0,a=e.length;o<a;++o){var p;if((p=e[o]).global||p.multiline)throw new Error(""+p);f.push("(?:"+u(p)+")")}return new RegExp(f.join("|"),r?"gi":"g")}(a)}();var o=t.length,a=function(e){for(var i=e.sourceCode,l=e.basePos,s=e.sourceNode,c=[l,"pln"],u=0,f=i.match(n)||[],d={},m=0,h=f.length;m<h;++m){var y,g=f[m],v=d[g],b=void 0;if("string"==typeof v)y=!1;else{var x=r[g.charAt(0)];if(x)b=g.match(x[1]),v=x[0];else{for(var S=0;S<o;++S)if(x=t[S],b=g.match(x[1])){v=x[0];break}b||(v="pln")}!(y=v.length>=5&&"lang-"===v.substring(0,5))||b&&"string"==typeof b[1]||(y=!1,v="src"),y||(d[g]=v)}var N=u;if(u+=g.length,y){var C=b[1],E=g.indexOf(C),O=E+C.length;b[2]&&(E=(O=g.length-b[2].length)-C.length);var T=v.substring(5);p(s,l+N,g.substring(0,E),a,c),p(s,l+N+E,C,w(T,C),c),p(s,l+N+O,g.substring(O),a,c)}else c.push(l+N,v)}e.decorations=c};return a}function y(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 a=o>1?"":"\n\r",i=a?".":"[\\S\\s]",l="/(?=[^/*"+a+"])(?:[^/\\x5B\\x5C"+a+"]|\\x5C"+i+"|\\x5B(?:[^\\x5C\\x5D"+a+"]|\\x5C"+i+")*(?:\\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]),h(t,n)}var g=y({keywords:[r,a,o,i,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/,a=e.ownerDocument,i=a.createElement("li");e.firstChild;)i.appendChild(e.firstChild);var l=[i];function s(e){var t=e.nodeType;if(1!=t||r.test(e.className)){if((3==t||4==t)&&n){var i=e.nodeValue,l=i.match(o);if(l){var u=i.substring(0,l.index);e.nodeValue=u;var f=i.substring(l.index+l[0].length);if(f)e.parentNode.insertBefore(a.createTextNode(f),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 a=e(o,1),i=t.nextSibling;a.appendChild(r);for(var l=i;l;l=i)i=l.nextSibling,a.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 f=a.createElement("ol");f.className="linenums";for(var p=Math.max(0,t-1|0)||0,d=(u=0,l.length);u<d;++u)(i=l[u]).className="L"+(u+p)%10,i.firstChild||i.appendChild(a.createTextNode(" ")),f.appendChild(i);e.appendChild(f)}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 w(e,t){return e&&b.hasOwnProperty(e)||(e=/^\s*</.test(t)?"default-markup":"default-code"),b[e]}function S(t){var n,r,o,a,i,l,s,c=t.langExtension;try{var u=(n=t.sourceNode,r=t.pre,o=/(?:^|\s)nocode(?:\s|$)/,a=[],i=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||(a[s]="\n",l[s<<1]=i++,l[s++<<1|1]=t)}else if(3==n||4==n){var f=t.nodeValue;f.length&&(f=r?f.replace(/\r\n?/g,"\n"):f.replace(/[ \t\r\n]+/g," "),a[s]=f,l[s<<1]=i,i+=f.length,l[s++<<1|1]=t)}}(n),{sourceCode:a.join("").replace(/\n$/,""),spans:l}),f=u.sourceCode;t.sourceCode=f,t.spans=u.spans,t.basePos=0,w(c,f)(t),function(e){var t=/\bMSIE\s(\d+)/.exec(navigator.userAgent);t=t&&+t[1]<=8;var n,r,o=/\n/g,a=e.sourceCode,i=a.length,l=0,s=e.spans,c=s.length,u=0,f=e.decorations,p=f.length,d=0;for(f[p]=i,r=n=0;r<p;)f[r]!==f[r+2]?(f[n++]=f[r++],f[n++]=f[r++]):r+=2;for(p=n,r=n=0;r<p;){for(var m=f[r],h=f[r+1],y=r+2;y+2<=p&&f[y+1]===h;)y+=2;f[n++]=m,f[n++]=h,r=y}p=f.length=n;var g=e.sourceNode,v="";g&&(v=g.style.display,g.style.display="none");try{for(;u<c;){s[u];var b,x=s[u+2]||i,w=f[d+2]||i,S=(y=Math.min(x,w),s[u+1]);if(1!==S.nodeType&&(b=a.substring(l,y))){t&&(b=b.replace(o,"\r")),S.nodeValue=b;var N=S.ownerDocument,C=N.createElement("span");C.className=f[d+1];var E=S.parentNode;E.replaceChild(C,S),C.appendChild(S),l<x&&(s[u+1]=S=N.createTextNode(a.substring(y,x)),E.insertBefore(S,C.nextSibling))}(l=y)>=x&&(u+=2),l>=w&&(d+=2)}}finally{g&&(g.style.display=v)}}(t)}catch(t){e.console&&console.log(t&&t.stack||t)}}function N(e,t,n){var r=n||!1,o=t||null,a=document.createElement("div");return a.innerHTML="<pre>"+e+"</pre>",a=a.firstChild,r&&v(a,r,!0),S({langExtension:o,numberLines:r,sourceNode:a,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null}),a.innerHTML}function C(t,n){var r=n||document.body,o=r.ownerDocument||document;function a(e){return r.getElementsByTagName(e)}for(var i=[a("pre"),a("code"),a("xmp")],l=[],s=0;s<i.length;++s)for(var c=0,u=i[s].length;c<u;++c)l.push(i[s][c]);i=null;var f=Date;f.now||(f={now:function(){return+new Date}});var p=0,d=/\blang(?:uage)?-([\w.]+)(?!\S)/,h=/\bprettyprint\b/,y=/\bprettyprinted\b/,g=/pre|xmp/i,b=/^code$/i,x=/^(?:pre|code|xmp)$/i,w={};!function n(){for(var r=e.PR_SHOULD_USE_CONTINUATION?f.now()+250:1/0;p<l.length&&f.now()<r;p++){for(var a=l[p],i=w,s=a;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){i={},u.replace(/\b(\w+)=([\w:.%+-]+)/g,(function(e,t,n){i[t]=n}));break}}var N=a.className;if((i!==w||h.test(N))&&!y.test(N)){for(var C=!1,E=a.parentNode;E;E=E.parentNode){var O=E.tagName;if(x.test(O)&&E.className&&h.test(E.className)){C=!0;break}}if(!C){a.className+=" prettyprinted";var T,_,A=i.lang;if(!A)!(A=N.match(d))&&(T=m(a))&&b.test(T.tagName)&&(A=T.className.match(d)),A&&(A=A[1]);if(g.test(a.tagName))_=1;else{var k=a.currentStyle,R=o.defaultView,L=k?k.whiteSpace:R&&R.getComputedStyle?R.getComputedStyle(a,null).getPropertyValue("white-space"):0;_=L&&"pre"===L.substring(0,3)}var D=i.linenums;(D="true"===D||+D)||(D=!!(D=N.match(/\blinenums\b(?::(\d+))?/))&&(!D[1]||!D[1].length||+D[1])),D&&v(a,D,_),S({langExtension:A,sourceNode:a,numberLines:D,pre:_,sourceCode:null,basePos:null,spans:null,decorations:null})}}}p<l.length?e.setTimeout(n,250):"function"==typeof t&&t()}()}x(g,["default-code"]),x(h([],[["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(h([["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(h([],[["atv",/^[\s\S]+/]]),["uq.val"]),x(y({keywords:r,hashComments:!0,cStyleComments:!0,types:f}),["c","cc","cpp","cxx","cyc","m"]),x(y({keywords:"null,true,false"}),["json"]),x(y({keywords:a,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:f}),["cs"]),x(y({keywords:o,cStyleComments:!0}),["java"]),x(y({keywords:u,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),x(y({keywords:s,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),x(y({keywords:l,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),x(y({keywords:c,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),x(y({keywords:i,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),x(y({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(h([],[["str",/^[\s\S]+/]]),["regex"]);var E=e.PR={createSimpleLexer:h,registerLangHandler:x,sourceDecorator:y,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:N,prettyPrint:C},O=e.define;"function"==typeof O&&O.amd&&O("google-code-prettify",[],(function(){return E}))}()},"SiX+":function(e,t,n){"use strict";var r=n("q1tI"),o=n("17x9"),a=n("eHJ2"),i=n.n(a),l=n("Gytx"),s=n.n(l),c=n("VCL8"),u=n("oOh1"),f=n("H84U");function p(e){return(p="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})(e)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return y(this,n)}}function y(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e){var t=null,n=!1;return r.Children.forEach(e,(function(e){e&&e.props&&e.props.checked&&(t=e.props.value,n=!0)})),n?{value:t}:void 0}var x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(l,e);var t,n,o,a=h(l);function l(e){var t,n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).onRadioChange=function(e){var n=t.state.value,r=e.target.value;"value"in t.props||t.setState({value:r});var o=t.props.onChange;o&&r!==n&&o(e)},t.renderGroup=function(e){var n=e.getPrefixCls,o=g(t).props,a=o.prefixCls,l=o.className,s=void 0===l?"":l,c=o.options,f=o.buttonStyle,p=n("radio",a),d="".concat(p,"-group"),m=i()(d,"".concat(d,"-").concat(f),function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"".concat(d,"-").concat(o.size),o.size),s),h=o.children;return c&&c.length>0&&(h=c.map((function(e){return"string"==typeof e?r.createElement(u.a,{key:e,prefixCls:p,disabled:t.props.disabled,value:e,checked:t.state.value===e},e):r.createElement(u.a,{key:"radio-group-value-options-".concat(e.value),prefixCls:p,disabled:e.disabled||t.props.disabled,value:e.value,checked:t.state.value===e.value},e.label)}))),r.createElement("div",{className:m,style:o.style,onMouseEnter:o.onMouseEnter,onMouseLeave:o.onMouseLeave,id:o.id},h)},"value"in e)n=e.value;else if("defaultValue"in e)n=e.defaultValue;else{var o=b(e.children);n=o&&o.value}return t.state={value:n},t}return t=l,o=[{key:"getDerivedStateFromProps",value:function(e){if("value"in e)return{value:e.value};var t=b(e.children);return t?{value:t.value}:null}}],(n=[{key:"getChildContext",value:function(){return{radioGroup:{onChange:this.onRadioChange,value:this.state.value,disabled:this.props.disabled,name:this.props.name}}}},{key:"shouldComponentUpdate",value:function(e,t){return!s()(this.props,e)||!s()(this.state,t)}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&d(t.prototype,n),o&&d(t,o),l}(r.Component);x.defaultProps={buttonStyle:"outline"},x.childContextTypes={radioGroup:o.any},Object(c.polyfill)(x),t.a=x},oOh1:function(e,t,n){"use strict";n.d(t,"a",(function(){return S}));var r=n("q1tI"),o=n("17x9"),a=n("x1Ya"),i=n("eHJ2"),l=n.n(i),s=n("Gytx"),c=n.n(s),u=n("H84U");function f(e){return(f="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})(e)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=x(e);if(t){var o=x(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?b(e):t}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},S=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(s,e);var t,n,o,i=g(s);function s(){var e;return m(this,s),(e=i.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.onChange=function(t){e.props.onChange&&e.props.onChange(t),e.context.radioGroup&&e.context.radioGroup.onChange&&e.context.radioGroup.onChange(t)},e.renderRadio=function(t){var n,o=t.getPrefixCls,i=b(e),s=i.props,c=i.context,u=s.prefixCls,f=s.className,m=s.children,h=s.style,y=w(s,["prefixCls","className","children","style"]),g=c.radioGroup,v=o("radio",u),x=d({},y);g&&(x.name=g.name,x.onChange=e.onChange,x.checked=s.value===g.value,x.disabled=s.disabled||g.disabled);var S=l()(f,(p(n={},"".concat(v,"-wrapper"),!0),p(n,"".concat(v,"-wrapper-checked"),x.checked),p(n,"".concat(v,"-wrapper-disabled"),x.disabled),n));return r.createElement("label",{className:S,style:h,onMouseEnter:s.onMouseEnter,onMouseLeave:s.onMouseLeave},r.createElement(a.a,d({},x,{prefixCls:v,ref:e.saveCheckbox})),void 0!==m?r.createElement("span",null,m):null)},e}return t=s,(n=[{key:"shouldComponentUpdate",value:function(e,t,n){return!c()(this.props,e)||!c()(this.state,t)||!c()(this.context.radioGroup,n.radioGroup)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(u.a,null,this.renderRadio)}}])&&h(t.prototype,n),o&&h(t,o),s}(r.Component);S.defaultProps={type:"radio"},S.contextTypes={radioGroup:o.any}},"qNb/":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("txnC")},txnC:function(e,t,n){},vXNv:function(e,t,n){},vg9a:function(e,t,n){},wMS7:function(e,t,n){e.exports=function(){"use strict";function e(t){return(e="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})(t)}function t(e,n){return(t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,n)}function n(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function r(e,o,a){return(r=n()?Reflect.construct:function(e,n,r){var o=[null];o.push.apply(o,n);var a=new(Function.bind.apply(e,o));return r&&t(a,r.prototype),a}).apply(null,arguments)}function o(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var i=Object.hasOwnProperty,l=Object.setPrototypeOf,s=Object.isFrozen,c=Object.getPrototypeOf,u=Object.getOwnPropertyDescriptor,f=Object.freeze,p=Object.seal,d=Object.create,m="undefined"!=typeof Reflect&&Reflect,h=m.apply,y=m.construct;h||(h=function(e,t,n){return e.apply(t,n)}),f||(f=function(e){return e}),p||(p=function(e){return e}),y||(y=function(e,t){return r(e,o(t))});var g,v=A(Array.prototype.forEach),b=A(Array.prototype.pop),x=A(Array.prototype.push),w=A(String.prototype.toLowerCase),S=A(String.prototype.toString),N=A(String.prototype.match),C=A(String.prototype.replace),E=A(String.prototype.indexOf),O=A(String.prototype.trim),T=A(RegExp.prototype.test),_=(g=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return y(g,t)});function A(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return h(e,t,r)}}function k(e,t,n){var r;n=null!==(r=n)&&void 0!==r?r:w,l&&l(e,null);for(var o=t.length;o--;){var a=t[o];if("string"==typeof a){var i=n(a);i!==a&&(s(t)||(t[o]=i),a=i)}e[a]=!0}return e}function R(e){var t,n=d(null);for(t in e)!0===h(i,e,[t])&&(n[t]=e[t]);return n}function L(e,t){for(;null!==e;){var n=u(e,t);if(n){if(n.get)return A(n.get);if("function"==typeof n.value)return A(n.value)}e=c(e)}return function(e){return console.warn("fallback value for",e),null}}var D=f(["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","dialog","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"]),M=f(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","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","view","vkern"]),P=f(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),I=f(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),j=f(["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"]),U=f(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),H=f(["#text"]),F=f(["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","nonce","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","slot"]),z=f(["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","transform-origin","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"]),G=f(["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"]),B=f(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),$=p(/\{\{[\w\W]*|[\w\W]*\}\}/gm),W=p(/<%[\w\W]*|[\w\W]*%>/gm),q=p(/\${[\w\W]*}/gm),V=p(/^data-[\-\w.\u00B7-\uFFFF]/),Y=p(/^aria-[\-\w]+$/),K=p(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),X=p(/^(?:\w+script|data):/i),Z=p(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),J=p(/^html$/i),Q=p(/^[a-z][.\w]*(-[.\w]+)+$/i),ee=function(){return"undefined"==typeof window?null:window},te=function(t,n){if("object"!==e(t)||"function"!=typeof t.createPolicy)return null;var r=null;n.currentScript&&n.currentScript.hasAttribute("data-tt-policy-suffix")&&(r=n.currentScript.getAttribute("data-tt-policy-suffix"));var o="dompurify"+(r?"#"+r:"");try{return t.createPolicy(o,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}};return function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ee(),r=function(e){return t(e)};if(r.version="2.5.0",r.removed=[],!n||!n.document||9!==n.document.nodeType)return r.isSupported=!1,r;var a=n.document,i=n.document,l=n.DocumentFragment,s=n.HTMLTemplateElement,c=n.Node,u=n.Element,p=n.NodeFilter,d=n.NamedNodeMap,m=void 0===d?n.NamedNodeMap||n.MozNamedAttrMap:d,h=n.HTMLFormElement,y=n.DOMParser,g=n.trustedTypes,A=u.prototype,ne=L(A,"cloneNode"),re=L(A,"nextSibling"),oe=L(A,"childNodes"),ae=L(A,"parentNode");if("function"==typeof s){var ie=i.createElement("template");ie.content&&ie.content.ownerDocument&&(i=ie.content.ownerDocument)}var le=te(g,a),se=le?le.createHTML(""):"",ce=i,ue=ce.implementation,fe=ce.createNodeIterator,pe=ce.createDocumentFragment,de=ce.getElementsByTagName,me=a.importNode,he={};try{he=R(i).documentMode?i.documentMode:{}}catch(e){}var ye={};r.isSupported="function"==typeof ae&&ue&&void 0!==ue.createHTMLDocument&&9!==he;var ge,ve,be=$,xe=W,we=q,Se=V,Ne=Y,Ce=X,Ee=Z,Oe=Q,Te=K,_e=null,Ae=k({},[].concat(o(D),o(M),o(P),o(j),o(H))),ke=null,Re=k({},[].concat(o(F),o(z),o(G),o(B))),Le=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),De=null,Me=null,Pe=!0,Ie=!0,je=!1,Ue=!0,He=!1,Fe=!0,ze=!1,Ge=!1,Be=!1,$e=!1,We=!1,qe=!1,Ve=!0,Ye=!1,Ke="user-content-",Xe=!0,Ze=!1,Je={},Qe=null,et=k({},["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"]),tt=null,nt=k({},["audio","video","img","source","image","track"]),rt=null,ot=k({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),at="http://www.w3.org/1998/Math/MathML",it="http://www.w3.org/2000/svg",lt="http://www.w3.org/1999/xhtml",st=lt,ct=!1,ut=null,ft=k({},[at,it,lt],S),pt=["application/xhtml+xml","text/html"],dt="text/html",mt=null,ht=i.createElement("form"),yt=function(e){return e instanceof RegExp||e instanceof Function},gt=function(t){mt&&mt===t||(t&&"object"===e(t)||(t={}),t=R(t),ge=ge=-1===pt.indexOf(t.PARSER_MEDIA_TYPE)?dt:t.PARSER_MEDIA_TYPE,ve="application/xhtml+xml"===ge?S:w,_e="ALLOWED_TAGS"in t?k({},t.ALLOWED_TAGS,ve):Ae,ke="ALLOWED_ATTR"in t?k({},t.ALLOWED_ATTR,ve):Re,ut="ALLOWED_NAMESPACES"in t?k({},t.ALLOWED_NAMESPACES,S):ft,rt="ADD_URI_SAFE_ATTR"in t?k(R(ot),t.ADD_URI_SAFE_ATTR,ve):ot,tt="ADD_DATA_URI_TAGS"in t?k(R(nt),t.ADD_DATA_URI_TAGS,ve):nt,Qe="FORBID_CONTENTS"in t?k({},t.FORBID_CONTENTS,ve):et,De="FORBID_TAGS"in t?k({},t.FORBID_TAGS,ve):{},Me="FORBID_ATTR"in t?k({},t.FORBID_ATTR,ve):{},Je="USE_PROFILES"in t&&t.USE_PROFILES,Pe=!1!==t.ALLOW_ARIA_ATTR,Ie=!1!==t.ALLOW_DATA_ATTR,je=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Ue=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,He=t.SAFE_FOR_TEMPLATES||!1,Fe=!1!==t.SAFE_FOR_XML,ze=t.WHOLE_DOCUMENT||!1,$e=t.RETURN_DOM||!1,We=t.RETURN_DOM_FRAGMENT||!1,qe=t.RETURN_TRUSTED_TYPE||!1,Be=t.FORCE_BODY||!1,Ve=!1!==t.SANITIZE_DOM,Ye=t.SANITIZE_NAMED_PROPS||!1,Xe=!1!==t.KEEP_CONTENT,Ze=t.IN_PLACE||!1,Te=t.ALLOWED_URI_REGEXP||Te,st=t.NAMESPACE||lt,Le=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&yt(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Le.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&yt(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Le.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Le.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),He&&(Ie=!1),We&&($e=!0),Je&&(_e=k({},o(H)),ke=[],!0===Je.html&&(k(_e,D),k(ke,F)),!0===Je.svg&&(k(_e,M),k(ke,z),k(ke,B)),!0===Je.svgFilters&&(k(_e,P),k(ke,z),k(ke,B)),!0===Je.mathMl&&(k(_e,j),k(ke,G),k(ke,B))),t.ADD_TAGS&&(_e===Ae&&(_e=R(_e)),k(_e,t.ADD_TAGS,ve)),t.ADD_ATTR&&(ke===Re&&(ke=R(ke)),k(ke,t.ADD_ATTR,ve)),t.ADD_URI_SAFE_ATTR&&k(rt,t.ADD_URI_SAFE_ATTR,ve),t.FORBID_CONTENTS&&(Qe===et&&(Qe=R(Qe)),k(Qe,t.FORBID_CONTENTS,ve)),Xe&&(_e["#text"]=!0),ze&&k(_e,["html","head","body"]),_e.table&&(k(_e,["tbody"]),delete De.tbody),f&&f(t),mt=t)},vt=k({},["mi","mo","mn","ms","mtext"]),bt=k({},["foreignobject","desc","title","annotation-xml"]),xt=k({},["title","style","font","a","script"]),wt=k({},M);k(wt,P),k(wt,I);var St=k({},j);k(St,U);var Nt=function(e){var t=ae(e);t&&t.tagName||(t={namespaceURI:st,tagName:"template"});var n=w(e.tagName),r=w(t.tagName);return!!ut[e.namespaceURI]&&(e.namespaceURI===it?t.namespaceURI===lt?"svg"===n:t.namespaceURI===at?"svg"===n&&("annotation-xml"===r||vt[r]):Boolean(wt[n]):e.namespaceURI===at?t.namespaceURI===lt?"math"===n:t.namespaceURI===it?"math"===n&&bt[r]:Boolean(St[n]):e.namespaceURI===lt?!(t.namespaceURI===it&&!bt[r])&&!(t.namespaceURI===at&&!vt[r])&&!St[n]&&(xt[n]||!wt[n]):!("application/xhtml+xml"!==ge||!ut[e.namespaceURI]))},Ct=function(e){x(r.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=se}catch(t){e.remove()}}},Et=function(e,t){try{x(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){x(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!ke[e])if($e||We)try{Ct(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Ot=function(e){var t,n;if(Be)e="<remove></remove>"+e;else{var r=N(e,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===ge&&st===lt&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var o=le?le.createHTML(e):e;if(st===lt)try{t=(new y).parseFromString(o,ge)}catch(e){}if(!t||!t.documentElement){t=ue.createDocument(st,"template",null);try{t.documentElement.innerHTML=ct?se:o}catch(e){}}var a=t.body||t.documentElement;return e&&n&&a.insertBefore(i.createTextNode(n),a.childNodes[0]||null),st===lt?de.call(t,ze?"html":"body")[0]:ze?t.documentElement:a},Tt=function(e){return fe.call(e.ownerDocument||e,e,p.SHOW_ELEMENT|p.SHOW_COMMENT|p.SHOW_TEXT|p.SHOW_PROCESSING_INSTRUCTION|p.SHOW_CDATA_SECTION,null,!1)},_t=function(e){return e instanceof h&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof m)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},At=function(t){return"object"===e(c)?t instanceof c:t&&"object"===e(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},kt=function(e,t,n){ye[e]&&v(ye[e],(function(e){e.call(r,t,n,mt)}))},Rt=function(e){var t;if(kt("beforeSanitizeElements",e,null),_t(e))return Ct(e),!0;if(T(/[\u0080-\uFFFF]/,e.nodeName))return Ct(e),!0;var n=ve(e.nodeName);if(kt("uponSanitizeElement",e,{tagName:n,allowedTags:_e}),e.hasChildNodes()&&!At(e.firstElementChild)&&(!At(e.content)||!At(e.content.firstElementChild))&&T(/<[/\w]/g,e.innerHTML)&&T(/<[/\w]/g,e.textContent))return Ct(e),!0;if("select"===n&&T(/<template/i,e.innerHTML))return Ct(e),!0;if(7===e.nodeType)return Ct(e),!0;if(Fe&&8===e.nodeType&&T(/<[/\w]/g,e.data))return Ct(e),!0;if(!_e[n]||De[n]){if(!De[n]&&Dt(n)){if(Le.tagNameCheck instanceof RegExp&&T(Le.tagNameCheck,n))return!1;if(Le.tagNameCheck instanceof Function&&Le.tagNameCheck(n))return!1}if(Xe&&!Qe[n]){var o=ae(e)||e.parentNode,a=oe(e)||e.childNodes;if(a&&o)for(var i=a.length-1;i>=0;--i)o.insertBefore(ne(a[i],!0),re(e))}return Ct(e),!0}return e instanceof u&&!Nt(e)?(Ct(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!T(/<\/no(script|embed|frames)/i,e.innerHTML)?(He&&3===e.nodeType&&(t=e.textContent,t=C(t,be," "),t=C(t,xe," "),t=C(t,we," "),e.textContent!==t&&(x(r.removed,{element:e.cloneNode()}),e.textContent=t)),kt("afterSanitizeElements",e,null),!1):(Ct(e),!0)},Lt=function(e,t,n){if(Ve&&("id"===t||"name"===t)&&(n in i||n in ht))return!1;if(Ie&&!Me[t]&&T(Se,t));else if(Pe&&T(Ne,t));else if(!ke[t]||Me[t]){if(!(Dt(e)&&(Le.tagNameCheck instanceof RegExp&&T(Le.tagNameCheck,e)||Le.tagNameCheck instanceof Function&&Le.tagNameCheck(e))&&(Le.attributeNameCheck instanceof RegExp&&T(Le.attributeNameCheck,t)||Le.attributeNameCheck instanceof Function&&Le.attributeNameCheck(t))||"is"===t&&Le.allowCustomizedBuiltInElements&&(Le.tagNameCheck instanceof RegExp&&T(Le.tagNameCheck,n)||Le.tagNameCheck instanceof Function&&Le.tagNameCheck(n))))return!1}else if(rt[t]);else if(T(Te,C(n,Ee,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==E(n,"data:")||!tt[e])if(je&&!T(Ce,C(n,Ee,"")));else if(n)return!1;return!0},Dt=function(e){return"annotation-xml"!==e&&N(e,Oe)},Mt=function(t){var n,o,a,i;kt("beforeSanitizeAttributes",t,null);var l=t.attributes;if(l){var s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ke};for(i=l.length;i--;){var c=n=l[i],u=c.name,f=c.namespaceURI;if(o="value"===u?n.value:O(n.value),a=ve(u),s.attrName=a,s.attrValue=o,s.keepAttr=!0,s.forceKeepAttr=void 0,kt("uponSanitizeAttribute",t,s),o=s.attrValue,!s.forceKeepAttr&&(Et(u,t),s.keepAttr))if(Ue||!T(/\/>/i,o)){He&&(o=C(o,be," "),o=C(o,xe," "),o=C(o,we," "));var p=ve(t.nodeName);if(Lt(p,a,o)){if(!Ye||"id"!==a&&"name"!==a||(Et(u,t),o=Ke+o),le&&"object"===e(g)&&"function"==typeof g.getAttributeType)if(f);else switch(g.getAttributeType(p,a)){case"TrustedHTML":o=le.createHTML(o);break;case"TrustedScriptURL":o=le.createScriptURL(o)}try{f?t.setAttributeNS(f,u,o):t.setAttribute(u,o),b(r.removed)}catch(e){}}}else Et(u,t)}kt("afterSanitizeAttributes",t,null)}},Pt=function e(t){var n,r=Tt(t);for(kt("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)kt("uponSanitizeShadowNode",n,null),Rt(n)||(n.content instanceof l&&e(n.content),Mt(n));kt("afterSanitizeShadowDOM",t,null)};return r.sanitize=function(t){var o,i,s,u,f,p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((ct=!t)&&(t="\x3c!--\x3e"),"string"!=typeof t&&!At(t)){if("function"!=typeof t.toString)throw _("toString is not a function");if("string"!=typeof(t=t.toString()))throw _("dirty is not a string, aborting")}if(!r.isSupported){if("object"===e(n.toStaticHTML)||"function"==typeof n.toStaticHTML){if("string"==typeof t)return n.toStaticHTML(t);if(At(t))return n.toStaticHTML(t.outerHTML)}return t}if(Ge||gt(p),r.removed=[],"string"==typeof t&&(Ze=!1),Ze){if(t.nodeName){var d=ve(t.nodeName);if(!_e[d]||De[d])throw _("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof c)1===(i=(o=Ot("\x3c!----\x3e")).ownerDocument.importNode(t,!0)).nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?o=i:o.appendChild(i);else{if(!$e&&!He&&!ze&&-1===t.indexOf("<"))return le&&qe?le.createHTML(t):t;if(!(o=Ot(t)))return $e?null:qe?se:""}o&&Be&&Ct(o.firstChild);for(var m=Tt(Ze?t:o);s=m.nextNode();)3===s.nodeType&&s===u||Rt(s)||(s.content instanceof l&&Pt(s.content),Mt(s),u=s);if(u=null,Ze)return t;if($e){if(We)for(f=pe.call(o.ownerDocument);o.firstChild;)f.appendChild(o.firstChild);else f=o;return(ke.shadowroot||ke.shadowrootmod)&&(f=me.call(a,f,!0)),f}var h=ze?o.outerHTML:o.innerHTML;return ze&&_e["!doctype"]&&o.ownerDocument&&o.ownerDocument.doctype&&o.ownerDocument.doctype.name&&T(J,o.ownerDocument.doctype.name)&&(h="<!DOCTYPE "+o.ownerDocument.doctype.name+">\n"+h),He&&(h=C(h,be," "),h=C(h,xe," "),h=C(h,we," ")),le&&qe?le.createHTML(h):h},r.setConfig=function(e){gt(e),Ge=!0},r.clearConfig=function(){mt=null,Ge=!1},r.isValidAttribute=function(e,t,n){mt||gt({});var r=ve(e),o=ve(t);return Lt(r,o,n)},r.addHook=function(e,t){"function"==typeof t&&(ye[e]=ye[e]||[],x(ye[e],t))},r.removeHook=function(e){if(ye[e])return b(ye[e])},r.removeHooks=function(e){ye[e]&&(ye[e]=[])},r.removeAllHooks=function(){ye={}},r}()}()}}]); |