-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
main.45b737.js
1 lines (1 loc) · 32.3 KB
/
main.45b737.js
1
(()=>{var e={631:(e,t,n)=>{var a,r,i,s=function(e){var t=/\blang(?:uage)?-([\w-]+)\b/i,n=0,a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function(e){return e instanceof r?new r(e.type,a.util.encode(e.content),e.alias):Array.isArray(e)?e.map(a.util.encode):e.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var r,i,s=a.util.type(t);switch(n=n||{},s){case"Object":if(i=a.util.objId(t),n[i])return n[i];for(var o in r={},n[i]=r,t)t.hasOwnProperty(o)&&(r[o]=e(t[o],n));return r;case"Array":return i=a.util.objId(t),n[i]?n[i]:(r=[],n[i]=r,t.forEach((function(t,a){r[a]=e(t,n)})),r);default:return t}}},languages:{extend:function(e,t){var n=a.util.clone(a.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var i=(r=r||a.languages)[e],s={};for(var o in i)if(i.hasOwnProperty(o)){if(o==t)for(var l in n)n.hasOwnProperty(l)&&(s[l]=n[l]);n.hasOwnProperty(o)||(s[o]=i[o])}var c=r[e];return r[e]=s,a.languages.DFS(a.languages,(function(t,n){n===c&&t!=e&&(this[t]=s)})),s},DFS:function e(t,n,r,i){i=i||{};var s=a.util.objId;for(var o in t)if(t.hasOwnProperty(o)){n.call(t,o,t[o],r||o);var l=t[o],c=a.util.type(l);"Object"!==c||i[s(l)]?"Array"!==c||i[s(l)]||(i[s(l)]=!0,e(l,n,o,i)):(i[s(l)]=!0,e(l,n,null,i))}}},plugins:{},highlightAll:function(e,t){a.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var r={callback:n,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};a.hooks.run("before-highlightall",r);for(var i,s=r.elements||e.querySelectorAll(r.selector),o=0;i=s[o++];)a.highlightElement(i,!0===t,r.callback)},highlightElement:function(n,r,i){for(var s,o="none",l=n;l&&!t.test(l.className);)l=l.parentNode;l&&(o=(l.className.match(t)||[,"none"])[1].toLowerCase(),s=a.languages[o]),n.className=n.className.replace(t,"").replace(/\s+/g," ")+" language-"+o,n.parentNode&&(l=n.parentNode,/pre/i.test(l.nodeName)&&(l.className=l.className.replace(t,"").replace(/\s+/g," ")+" language-"+o));var c={element:n,language:o,grammar:s,code:n.textContent},u=function(e){c.highlightedCode=e,a.hooks.run("before-insert",c),c.element.innerHTML=c.highlightedCode,a.hooks.run("after-highlight",c),a.hooks.run("complete",c),i&&i.call(c.element)};if(a.hooks.run("before-sanity-check",c),c.code)if(a.hooks.run("before-highlight",c),c.grammar)if(r&&e.Worker){var d=new Worker(a.filename);d.onmessage=function(e){u(e.data)},d.postMessage(JSON.stringify({language:c.language,code:c.code,immediateClose:!0}))}else u(a.highlight(c.code,c.grammar,c.language));else u(a.util.encode(c.code));else a.hooks.run("complete",c)},highlight:function(e,t,n){var i={code:e,grammar:t,language:n};return a.hooks.run("before-tokenize",i),i.tokens=a.tokenize(i.code,i.grammar),a.hooks.run("after-tokenize",i),r.stringify(a.util.encode(i.tokens),i.language)},matchGrammar:function(e,t,n,i,s,o,l){for(var c in n)if(n.hasOwnProperty(c)&&n[c]){if(c==l)return;var u=n[c];u="Array"===a.util.type(u)?u:[u];for(var d=0;d<u.length;++d){var f=u[d],p=f.inside,g=!!f.lookbehind,h=!!f.greedy,m=0,v=f.alias;if(h&&!f.pattern.global){var y=f.pattern.toString().match(/[imuy]*$/)[0];f.pattern=RegExp(f.pattern.source,y+"g")}f=f.pattern||f;for(var b=i,A=s;b<t.length;A+=t[b].length,++b){var w=t[b];if(t.length>e.length)return;if(!(w instanceof r)){if(h&&b!=t.length-1){if(f.lastIndex=A,!(_=f.exec(e)))break;for(var k=_.index+(g?_[1].length:0),x=_.index+_[0].length,F=b,S=A,E=t.length;F<E&&(S<x||!t[F].type&&!t[F-1].greedy);++F)(S+=t[F].length)<=k&&(++b,A=S);if(t[b]instanceof r)continue;C=F-b,w=e.slice(A,S),_.index-=A}else{f.lastIndex=0;var _=f.exec(w),C=1}if(_){g&&(m=_[1]?_[1].length:0),x=(k=_.index+m)+(_=_[0].slice(m)).length;var L=w.slice(0,k),j=w.slice(x),O=[b,C];L&&(++b,A+=L.length,O.push(L));var T=new r(c,p?a.tokenize(_,p):_,v,_,h);if(O.push(T),j&&O.push(j),Array.prototype.splice.apply(t,O),1!=C&&a.matchGrammar(e,t,n,b,A,!0,c),o)break}else if(o)break}}}}},tokenize:function(e,t){var n=[e],r=t.rest;if(r){for(var i in r)t[i]=r[i];delete t.rest}return a.matchGrammar(e,n,t,0,0,!1),n},hooks:{all:{},add:function(e,t){var n=a.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=a.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:r};function r(e,t,n,a,r){this.type=e,this.content=t,this.alias=n,this.length=0|(a||"").length,this.greedy=!!r}if(e.Prism=a,r.stringify=function(e,t){if("string"==typeof e)return e;if(Array.isArray(e))return e.map((function(e){return r.stringify(e,t)})).join("");var n={type:e.type,content:r.stringify(e.content,t),tag:"span",classes:["token",e.type],attributes:{},language:t};if(e.alias){var i=Array.isArray(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(n.classes,i)}a.hooks.run("wrap",n);var s=Object.keys(n.attributes).map((function(e){return e+'="'+(n.attributes[e]||"").replace(/"/g,""")+'"'})).join(" ");return"<"+n.tag+' class="'+n.classes.join(" ")+'"'+(s?" "+s:"")+">"+n.content+"</"+n.tag+">"},!e.document)return e.addEventListener&&(a.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,s=n.immediateClose;e.postMessage(a.highlight(i,a.languages[r],r)),s&&e.close()}),!1)),a;var i=document.currentScript||[].slice.call(document.getElementsByTagName("script")).pop();return i&&(a.filename=i.src,a.manual||i.hasAttribute("data-manual")||("loading"!==document.readyState?window.requestAnimationFrame?window.requestAnimationFrame(a.highlightAll):window.setTimeout(a.highlightAll,16):document.addEventListener("DOMContentLoaded",a.highlightAll))),a}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=s),void 0!==n.g&&(n.g.Prism=s),s.languages.markup={comment:/<!--[\s\S]*?-->/,prolog:/<\?[\s\S]+?\?>/,doctype:/<!DOCTYPE[\s\S]+?>/i,cdata:/<!\[CDATA\[[\s\S]*?]]>/i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/i,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/&#?[\da-z]{1,8};/i},s.languages.markup.tag.inside["attr-value"].inside.entity=s.languages.markup.entity,s.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(s.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:s.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var a={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};a["language-"+t]={pattern:/[\s\S]+/,inside:s.languages[t]};var r={};r[e]={pattern:RegExp("(<__[\\s\\S]*?>)(?:<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\s*|[\\s\\S])*?(?=<\\/__>)".replace(/__/g,e),"i"),lookbehind:!0,greedy:!0,inside:a},s.languages.insertBefore("markup","cdata",r)}}),s.languages.xml=s.languages.extend("markup",{}),s.languages.html=s.languages.markup,s.languages.mathml=s.languages.markup,s.languages.svg=s.languages.markup,function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-]+[\s\S]*?(?:;|(?=\s*\{))/,inside:{rule:/@[\w-]+/}},url:{pattern:RegExp("url\\((?:"+t.source+"|[^\n\r()]*)\\)","i"),inside:{function:/^url/i,punctuation:/^\(|\)$/}},selector:RegExp("[^{}\\s](?:[^{};\"']|"+t.source+")*?(?=\\s*\\{)"),string:{pattern:t,greedy:!0},property:/[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*(?=\s*:)/i,important:/!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),e.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:n.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:e.languages.css}},alias:"language-css"}},n.tag))}(s),s.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/((?:\b(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/,punctuation:/[{}[\];(),.:]/},s.languages.javascript=s.languages.extend("clike",{"class-name":[s.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])[_$A-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\s*)(?:catch|finally)\b/,lookbehind:!0},{pattern:/(^|[^.])\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,function:/[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,operator:/-[-=]?|\+[+=]?|!=?=?|<<?=?|>>?>?=?|=(?:==?|>)?|&[&=]?|\|[|=]?|\*\*?=?|\/=?|~|\^=?|%=?|\?|\.{3}/}),s.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,s.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s])\s*)\/(\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=\s*($|[\r\n,.;})\]]))/,lookbehind:!0,greedy:!0},"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)?\s*\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\))/,lookbehind:!0,inside:s.languages.javascript},{pattern:/[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*=>)/i,inside:s.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*=>)/,lookbehind:!0,inside:s.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\s*)\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*\{)/,lookbehind:!0,inside:s.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),s.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}|[^\\`])*`/,greedy:!0,inside:{interpolation:{pattern:/\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}/,inside:{"interpolation-punctuation":{pattern:/^\${|}$/,alias:"punctuation"},rest:s.languages.javascript}},string:/[\s\S]+/}}}),s.languages.markup&&s.languages.markup.tag.addInlined("script","javascript"),s.languages.js=s.languages.javascript,r=/\b(?:abstract|continue|for|new|switch|assert|default|goto|package|synchronized|boolean|do|if|private|this|break|double|implements|protected|throw|byte|else|import|public|throws|case|enum|instanceof|return|transient|catch|extends|int|short|try|char|final|interface|static|void|class|finally|long|strictfp|volatile|const|float|native|super|while|var|null|exports|module|open|opens|provides|requires|to|transitive|uses|with)\b/,i=/\b[A-Z](?:\w*[a-z]\w*)?\b/,(a=s).languages.java=a.languages.extend("clike",{"class-name":[i,/\b[A-Z]\w*(?=\s+\w+\s*[;,=())])/],keyword:r,function:[a.languages.clike.function,{pattern:/(\:\:)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x[\da-f_]*\.?[\da-f_p+-]+\b|(?:\b\d[\d_]*\.?[\d_]*|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|([-+&|])\2|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),a.languages.insertBefore("java","class-name",{annotation:{alias:"punctuation",pattern:/(^|[^.])@\w+/,lookbehind:!0},namespace:{pattern:/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)[a-z]\w*(\.[a-z]\w*)+/,lookbehind:!0,inside:{punctuation:/\./}},generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":i,keyword:r,punctuation:/[<>(),.:]/,operator:/[?&|]/}}}),s.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},"string-interpolation":{pattern:/(?:f|rf|fr)(?:("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:{{)*){(?!{)(?:[^{}]|{(?!{)(?:[^{}]|{(?!{)(?:[^{}])+})+})+}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|rb|br)?("""|''')[\s\S]+?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|rb|br)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^\s*)@\w+(?:\.\w+)*/i,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:and|as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:True|False|None)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*\.?\d*|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},s.languages.python["string-interpolation"].inside.interpolation.inside.rest=s.languages.python,s.languages.py=s.languages.python},790:()=>{},72:e=>{"use strict";var t=[];function n(e){for(var n=-1,a=0;a<t.length;a++)if(t[a].identifier===e){n=a;break}return n}function a(e,a){for(var i={},s=[],o=0;o<e.length;o++){var l=e[o],c=a.base?l[0]+a.base:l[0],u=i[c]||0,d="".concat(c," ").concat(u);i[c]=u+1;var f=n(d),p={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==f)t[f].references++,t[f].updater(p);else{var g=r(p,a);a.byIndex=o,t.splice(o,0,{identifier:d,updater:g,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var i=a(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<i.length;s++){var o=n(i[s]);t[o].references--}for(var l=a(e,r),c=0;c<i.length;c++){var u=n(i[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}i=l}}},659:e=>{"use strict";var t={};e.exports=function(e,n){var a=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(n)}},540:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},56:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},825:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var a="";n.supports&&(a+="@supports (".concat(n.supports,") {")),n.media&&(a+="@media ".concat(n.media," {"));var r=void 0!==n.layer;r&&(a+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),a+=n.css,r&&(a+="}"),n.media&&(a+="}"),n.supports&&(a+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(a+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(a,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},113:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}},t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var i=t[a]={exports:{}};return e[a](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.nc=void 0,(()=>{"use strict";var e=n(72),t=n.n(e),a=n(825),r=n.n(a),i=n(659),s=n.n(i),o=n(56),l=n.n(o),c=n(540),u=n.n(c),d=n(113),f=n.n(d),p=n(790),g=n.n(p),h={};h.styleTagTransform=f(),h.setAttributes=l(),h.insert=s().bind(null,"head"),h.domAPI=r(),h.insertStyleElement=u();t()(g(),h);g()&&g().locals&&g().locals;var m,v,y,b;n(631);function A(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function w(){return w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},w.apply(this,arguments)}function k(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Array.from||(Array.from=(m=Object.prototype.toString,v=function(e){return"function"==typeof e||"[object Function]"===m.call(e)},y=Math.pow(2,53)-1,b=function(e){var t=function(e){var t=Number(e);return isNaN(t)?0:0!==t&&isFinite(t)?(t>0?1:-1)*Math.floor(Math.abs(t)):t}(e);return Math.min(Math.max(t,0),y)},function(e){var t=Object(e);if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var n,a=arguments.length>1?arguments[1]:void 0;if(void 0!==a){if(!v(a))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(n=arguments[2])}for(var r,i=b(t.length),s=v(this)?Object(new this(i)):new Array(i),o=0;o<i;)r=t[o],s[o]=a?void 0===n?a(r,o):a.call(n,r,o):r,o+=1;return s.length=i,s})),function(e,t){var n=(e.body||e.documentElement).style,a="",r="";""==n.WebkitAnimation&&(a="-webkit-"),""==n.MozAnimation&&(a="-moz-"),""==n.OAnimation&&(a="-o-"),""==n.WebkitTransition&&(r="-webkit-"),""==n.MozTransition&&(r="-moz-"),""==n.OTransition&&(r="-o-"),Object.defineProperty(Object.prototype,"onCSSAnimationEnd",{value:function(e){var t=function t(n){e(),n.target.removeEventListener(n.type,t)};return this.addEventListener("webkitAnimationEnd",t),this.addEventListener("mozAnimationEnd",t),this.addEventListener("oAnimationEnd",t),this.addEventListener("oanimationend",t),this.addEventListener("animationend",t),(""==a&&!("animation"in n)||"0s"==getComputedStyle(this)[a+"animation-duration"])&&e(),this},enumerable:!1,writable:!0}),Object.defineProperty(Object.prototype,"onCSSTransitionEnd",{value:function(e){var t=function t(n){e(),n.target.removeEventListener(n.type,t)};return this.addEventListener("webkitTransitionEnd",t),this.addEventListener("mozTransitionEnd",t),this.addEventListener("oTransitionEnd",t),this.addEventListener("transitionend",t),this.addEventListener("transitionend",t),(""==r&&!("transition"in n)||"0s"==getComputedStyle(this)[r+"transition-duration"])&&e(),this},enumerable:!1,writable:!0})}(document,window);var x=function(){function e(t,n){var a=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var r="string"==typeof t?document.querySelector(t):t;if(null!=r){var i={headerClass:".js-badger-accordion-header",panelClass:".js-badger-accordion-panel",panelInnerClass:".js-badger-accordion-panel-inner",hiddenClass:"-ba-is-hidden",activeClass:"-ba-is-active",get hidenClass(){return this.hiddenClass},initializedClass:"badger-accordion--initialized",get initalisedClass(){return this.initializedClass},headerDataAttr:"data-badger-accordion-header-id",openMultiplePanels:!1,openHeadersOnLoad:[],addListenersOnInit:!0,headerOpenLabel:"",headerCloseLabel:"",roles:!0};this.settings=w({},i,n),this.container=r;var s=Array.from(this.container.children),o=s.filter((function(e){return!e.classList.contains(a.settings.panelClass.substr(1))}));this.headers=o.reduce((function(e,t){var n,r=Array.from(t.children).filter((function(e){return e.classList.contains(a.settings.headerClass.substr(1))}));return e=(n=[]).concat.apply(n,k(e).concat([r]))}),[]),this.panels=s.filter((function(e){return e.classList.contains(a.settings.panelClass.substr(1))})),this.toggleEl=void 0!==this.settings.toggleEl?Array.from(this.container.querySelectorAll(this.settings.toggleEl)):this.headers,this.states=[].map.call(this.headers,(function(){return{state:"closed"}})),this.ids=[].map.call(this.headers,(function(){return{id:Math.floor(1e6*Math.random()+1)}})),this.toggling=!1,this.container?this.init():console.log("Something is wrong with you markup...")}}var t,n,a;return t=e,n=[{key:"init",value:function(){this._setupAttributes(),this._initalState(),this.calculateAllPanelsHeight(),this._insertDataAttrs(),this._addListeners(),this._finishInitialization()}},{key:"_setRole",value:function(e,t){("boolean"==typeof this.settings.roles&&this.settings.roles||void 0!==this.settings.roles[e]&&!1!==this.settings.roles[e])&&t.setAttribute("role",e)}},{key:"_initalState",value:function(){var e=this.settings.openHeadersOnLoad;e.length&&this._openHeadersOnLoad(e),this._renderDom()}},{key:"_insertDataAttrs",value:function(){var e=this;this.headers.forEach((function(t,n){t.setAttribute(e.settings.headerDataAttr,n)}))}},{key:"_finishInitialization",value:function(){this.container.classList.add(this.settings.initializedClass),this._setRole("presentation",this.container)}},{key:"_addListeners",value:function(){if(this.settings.addListenersOnInit){var e=this;this.headers.forEach((function(t,n){t.addEventListener("click",(function(){e.handleClick(t,n)}))}))}}},{key:"handleClick",value:function(e,t){var n=this.settings.headerClass.substr(1);e.classList.contains(n)&&!1===this.toggling&&(this.toggling=!0,this.setState(t),this._renderDom())}},{key:"setState",value:function(e){var t=this,n=this.getState();this.settings.openMultiplePanels||n.filter((function(t,n){n!=e&&(t.state="closed")})),n.filter((function(n,a){if(a==e){var r=t.toggleState(n.state);return n.state=r}}))}},{key:"_renderDom",value:function(){var e=this;this.states.filter((function(t,n){"open"===t.state&&e.open(n,!1)})),this.states.filter((function(t,n){"closed"===t.state&&e.close(n,!1)}))}},{key:"open",value:function(e){(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&this.setState(e),this.togglePanel("open",e)}},{key:"close",value:function(e){(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&this.setState(e),this.togglePanel("closed",e)}},{key:"openAll",value:function(){var e=this;this.headers.forEach((function(t,n){e.togglePanel("open",n)}))}},{key:"closeAll",value:function(){var e=this;this.headers.forEach((function(t,n){e.togglePanel("closed",n)}))}},{key:"togglePanel",value:function(e,t){var n=this;if(void 0!==e&&void 0!==t)if("closed"===e){var a=this.headers[t],r=this.panels[t];r.classList.add(this.settings.hiddenClass),r.classList.remove(this.settings.activeClass),a.classList.remove(this.settings.activeClass),a.setAttribute("aria-expanded",!1),r.onCSSTransitionEnd((function(){return n.toggling=!1}))}else if("open"===e){var i=this.headers[t],s=this.panels[t];s.classList.remove(this.settings.hiddenClass),s.classList.add(this.settings.activeClass),i.classList.add(this.settings.activeClass),i.setAttribute("aria-expanded",!0),s.onCSSTransitionEnd((function(){return n.toggling=!1}))}}},{key:"getState",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.length&&Array.isArray(t)?t.map((function(t){return e.states[t]})):this.states}},{key:"toggleState",value:function(e){if(void 0!==e)return"closed"===e?"open":"closed"}},{key:"_openHeadersOnLoad",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];t.length&&Array.isArray(t)&&t.filter((function(e){return null!=e})).forEach((function(t){e.setState(t)}))}},{key:"_setupAttributes",value:function(){this._setupHeaders(),this._setupPanels(),this._insertDataAttrs()}},{key:"_setPanelHeight",value:function(){this.calculateAllPanelsHeight()}},{key:"calculatePanelHeight",value:function(e){var t=e.querySelector(this.settings.panelInnerClass).offsetHeight;return e.style.maxHeight="".concat(t,"px")}},{key:"calculateAllPanelsHeight",value:function(){var e=this;this.panels.forEach((function(t){e.calculatePanelHeight(t)}))}},{key:"_setupHeaders",value:function(){var e=this;this.headers.forEach((function(t,n){t.setAttribute("id","badger-accordion-header-".concat(e.ids[n].id)),t.setAttribute("aria-controls","badger-accordion-panel-".concat(e.ids[n].id))}))}},{key:"_setupPanels",value:function(){var e=this;this.panels.forEach((function(t,n){t.setAttribute("id","badger-accordion-panel-".concat(e.ids[n].id)),t.setAttribute("aria-labelledby","badger-accordion-header-".concat(e.ids[n].id)),!0!==e.settings.roles&&!1===e.settings.roles.region||e._setRole("region",t)}))}}],n&&A(t.prototype,n),a&&A(t,a),e}();function F(e){return function(e){if(Array.isArray(e))return _(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||E(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 S(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,s,o=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(o.push(a.value),o.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return o}}(e,t)||E(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e,t){if(e){if("string"==typeof e)return _(e,t);var n={}.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)?_(e,t):void 0}}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}new x(".js-badger-accordion",{openHeadersOnLoad:[0]}),document.addEventListener("DOMContentLoaded",(function(){var e=this;Array.from(document.querySelectorAll("[data-mail]")).map((function(e){e.addEventListener("mouseover",(function(t){var n=e.getAttribute("data-mail");e.setAttribute("href","mailto:"+atob(n)),e.removeAttribute("data-mail")}),{once:!0})})),Array.from(document.querySelectorAll("[data-sort-filter]")).map((function(e){var t={options:{},filters:{}};function n(e){for(var n in t.filters){var a=t.filters[n].toLowerCase();if(-1===e.columns[n].toLowerCase().indexOf(a))return!1}return!0}var a=e.querySelector("tbody"),r=(Array.from(e.querySelectorAll("thead th")).map((function(e,i){var s=null!==e.getAttribute("data-suggest"),o=e.innerText.toLowerCase();return e.appendChild(document.createElement("br")),function(e,i,s){var o=document.createElement("input");o.addEventListener("change",(function(e){t.filters[s]=e.target.value,function(e){for(;e.firstChild;)e.removeChild(e.firstChild)}(a),r.filter(n).map((function(e){a.appendChild(e.el)}))})),o.setAttribute("style","width:100%;display:block"),o.setAttribute("type","text"),o.setAttribute("name","filter_"+i),o.setAttribute("list","opts_for_"+i),e.appendChild(o)}(e,o,i),s&&function(e,n,a){t.options[a]=document.createElement("datalist"),t.options[a].setAttribute("id","opts_for_"+n),t.options[a]._options=[],e.appendChild(t.options[a])}(e,o,i),{idx:i,isSuggested:s,label:o}})),Array.from(e.querySelectorAll("tbody tr")).map((function(e){var n=Array.from(e.querySelectorAll("td")).map((function(e,n){return t.options[n]&&t.options[n]._options.push(e.innerText),e.innerText}));return{el:e,columns:n}})));Object.entries(t.options).map((function(e){var t=S(e,2),n=(t[0],t[1]),a=F(new Set(n._options));a.sort((function(e,t){return e.length-t.length})),a.map((function(e){var t=document.createElement("option");return t.innerText=e,t})).map((function(e){return n.appendChild(e)}))}))})),Array.from(document.querySelectorAll("[data-tree-filter]")).map((function(e){e.addEventListener("change",(function(e){var t=e.target.value.toLowerCase(),n=e.target.nextElementSibling;t.length>1?function(e,t){e.classList.add("is-filtering"),Array.from(e.getElementsByTagName("li")).map((function(e){-1!==e.textContent.toLowerCase().indexOf(t)?e.classList.add("tree-filter-match"):e.classList.remove("tree-filter-match")})),Array.from(e.getElementsByTagName("ul")).map((function(e){-1!==e.textContent.toLowerCase().indexOf(t)?e.classList.add("tree-branch-filter"):e.classList.remove("tree-branch-filter")}))}(n,t):function(e){e.classList.remove("is-filtering"),Array.from(e.getElementsByTagName("li")).map((function(e){e.classList.remove("tree-filter-match")})),Array.from(e.getElementsByTagName("ul")).map((function(e){e.classList.remove("tree-branch-filter")}))}(n)}))}));var t=document.getElementById("primary-menu");t.querySelector(".toggler").addEventListener("click",(function(e){e.preventDefault(),t.classList.toggle("in-search")})),Array.from(document.querySelectorAll("[track-event]")).map((function(e){e.addEventListener("click",(function(t){t.preventDefault();var n=S(e.getAttribute("track-event").split("."),3),a=n[0],r=n[1],i=n[2];void 0===window.ga?console.log("track-event",a,r,i):ga("send",{hitType:"event",eventAction:a,eventCategory:r,eventLabel:i}),setTimeout((function(){window.location=e.href}),400)}))}));var n=function(e,t){return e.children[t].innerText||e.children[t].textContent};document.querySelectorAll("th.sortable").forEach((function(t){return t.addEventListener("click",(function(){var a,r,i=t.closest("table");Array.from(i.querySelectorAll("tr:nth-child(n+2)")).sort((a=Array.from(t.parentNode.children).indexOf(t),r=e.asc=!e.asc,function(e,t){return i=n(r?e:t,a),s=n(r?t:e,a),""===i||""===s||isNaN(i)||isNaN(s)?i.toString().localeCompare(s):i-s;var i,s})).forEach((function(e){return i.appendChild(e)}))}))})),document.querySelectorAll("input.togglehidetablerows").forEach((function(e){return e.addEventListener("change",(function(){var t=e.closest("table");Array.from(t.querySelectorAll("tr.togglehide")).forEach((function(t){return t.style.display=e.checked?"":"none"}))}))}))}))})()})();