(()=>{var lt=(F=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(F,{get:(V,N)=>(typeof require<"u"?require:V)[N]}):F)(function(F){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+F+'" is not supported')});/*! rasterizeHTML.js - v1.3.0 - 2018-03-18 * http://www.github.com/cburgmer/rasterizeHTML.js * Copyright (c) 2018 Christoph Burgmer; Licensed MIT */var pt={};(function(F){pt.rasterizeHTML=F()})(function(){return function F(V,N,w){function A(p,n){if(!N[p]){if(!V[p]){var h=typeof lt=="function"&<if(!n&&h)return h(p,!0);if(x)return x(p,!0);var b=new Error("Cannot find module '"+p+"'");throw b.code="MODULE_NOT_FOUND",b}var i=N[p]={exports:{}};V[p][0].call(i.exports,function(C){var d=V[p][1][C];return A(d||C)},i,i.exports,F,V,N,w)}return N[p].exports}for(var x=typeof lt=="function"&<,g=0;g"),O.contentDocument.write(D),O.contentDocument.close()})};var a=function(o,r,y,s,R){var S,T,P,O,D,H,z,j,L,v,M,U=Math.max(o.scrollWidth,o.clientWidth),$=Math.max(o.scrollHeight,o.clientHeight);return r?(S=(H=function(k,W){var X=k.querySelector(W);if(X)return X;if(k.ownerDocument.querySelector(W)===k)return k;throw{message:"Clipping selector not found"}}(o,r).getBoundingClientRect()).top,T=H.left,P=H.width,O=H.height):(T=S=0,P=U,O=$),j={width:P,height:O},L=y,v=s,M=R,z={width:Math.max(j.width*M,L),height:Math.max(j.height*M,v)},D=u.getComputedStyle(o.ownerDocument.documentElement).fontSize,{left:T,top:S,width:z.width,height:z.height,viewportWidth:U,viewportHeight:$,rootFontSize:D}};l.calculateDocumentContentSize=function(o,r){return new Promise(function(y,s){var R,S,T,P,O,D,H,z,j,L,v,M,U=r.zoom||1;S=r.width,T=r.height,P=U,j=Math.floor(S/P),L=Math.floor(T/P),O=u.document,D=j,H=L,(z=O.createElement("iframe")).style.width=D+"px",z.style.height=H+"px",z.style.visibility="hidden",z.style.position="absolute",z.style.top=-1e4-H+"px",z.style.left=-1e4-D+"px",z.style.borderWidth=0,z.sandbox="allow-same-origin",z.scrolling="no",R=z,u.document.getElementsByTagName("body")[0].appendChild(R),R.onload=function(){var $,k,W,X=R.contentDocument;try{$=a((k=X,W=o.tagName,k.querySelector(W)),r.clip,r.width,r.height,U),y($)}catch(J){s(J)}finally{u.document.getElementsByTagName("body")[0].removeChild(R)}},R.contentDocument.open(),R.contentDocument.write(""),R.contentDocument.write((M=(v=o).tagName.toLowerCase())==="html"||M==="body"?v.outerHTML:''+v.outerHTML+""),R.contentDocument.close()})},l.parseHtmlFragment=function(o){var r=u.document.implementation.createHTMLDocument("");r.documentElement.innerHTML=o;var y=r.querySelector("body").firstChild;if(!y)throw"Invalid source";return y},l.parseHTML=function(o){var r=u.document.implementation.createHTMLDocument("");return r.documentElement.innerHTML=o,function(y,s){var R,S,T,P,O=/]*)?)>/im.exec(s),D=u.document.implementation.createHTMLDocument("");if(O)for(R="",D.documentElement.innerHTML=R,T=D.querySelector("div"),S=0;S"],{type:"text/xml"}),!0}catch{}return!1})()&&m.URL?(y=u(a,!0),e(y).then(function(s){return l(y),!s&&e(u(a,!1)).then(function(R){return R})},function(){return!1})).then(function(s){o(!s)},function(){r()}):o(!1)})},t=function(o){return(f===void 0&&(f=c()),f).then(function(r){return u(o,r)})};return E.renderSvg=function(o){return new Promise(function(r,y){var s,R,S=function(){s&&l(s)};(R=new Image).onload=function(){R.onload=null,R.onerror=null,S(),r(R)},R.onerror=function(){S(),y()},t(o).then(function(T){s=T,R.src=s},y)})},E}(window);return function(m,f,E){"use strict";var u={};u.drawDocument=function(){var a,e,c,t,o,r,y,s=arguments[0],R=Array.prototype.slice.call(arguments,1),S=m.parseOptionalParameters(R),T=s.documentElement?s.documentElement:s;return E.rasterize(T,S.canvas,(c=(a=S).canvas,t=a.options,o=c?c.width:300,r=c?c.height:200,y={width:t.width!==void 0?t.width:o,height:t.height!==void 0?t.height:r},(e=m.clone(a.options)).width=y.width,e.height=y.height,e))},u.drawHTML=function(){var a,e,c,t,o=arguments[0],r=Array.prototype.slice.call(arguments,1),y=m.parseOptionalParameters(r);return a=o,e=y.canvas,c=y.options,t=f.parseHTML(a),u.drawDocument(t,e,c)};var l=function(a,e,c){return f.loadDocument(a,c).then(function(t){var o=function(r,y,s){var R=document.implementation.createHTMLDocument("");R.replaceChild(r.documentElement,R.documentElement);var S=s?m.clone(s):{};return s.baseUrl||(S.baseUrl=y),{document:R,options:S}}(t,a,c);return u.drawDocument(o.document,e,o.options)})};return u.drawURL=function(){var a=arguments[0],e=Array.prototype.slice.call(arguments,1),c=m.parseOptionalParameters(e);return l(a,c.canvas,c.options)},u}(h,C,function(m,f,E,u,l,a){"use strict";var e={},c=function(r){return{message:"Error rendering page",originalError:r}},t=function(r){return l.renderSvg(r).then(function(y){return{image:y,svg:r}},function(y){throw c(y)})},o=function(r,y,s){return u.drawDocumentAsSvg(r,s).then(t).then(function(R){return y&&function(S,T){try{T.getContext("2d").drawImage(S,0,0)}catch(P){throw c(P)}}(R.image,y),R})};return e.rasterize=function(r,y,s){var R;return(R=m.clone(s)).inlineScripts=s.executeJs===!0,a.inlineReferences(r,R).then(function(S){return s.executeJs?(T=r,P=s,f.executeJavascript(T,P).then(function(O){var D=O.document;return E.persistInputValues(D),{document:D,errors:O.errors}})).then(function(O){return{element:O.document.documentElement,errors:S.concat(O.errors)}}):{element:r,errors:S};var T,P}).then(function(S){return o(S.element,y,s).then(function(T){return{image:T.image,svg:T.svg,errors:S.errors}})})},e}(h,C,i,function(m,f,E,u){"use strict";var l={},a=function(c){var t=Object.keys(c);return t.length?" "+t.map(function(o){return o+'="'+c[o]+'"'}).join(" "):""},e=function(c,t,o){var r=u.serializeToString(c);f.validateXHTML(r);var y,s,R,S,T,P,O,D,H=(y=t,s=Math.round(y.viewportWidth),R=Math.round(y.viewportHeight),{x:-y.left,y:-y.top,width:s,height:R});return T=(S=H).style||"",S.style=T+"float: left;",H.externalResourcesRequired=!0,'"+r+""};return l.getSvgForDocument=function(c,t,o){return E.rewriteTagNameSelectorsToLowerCase(c),e(c,t,o)},l.drawDocumentAsSvg=function(c,t){return["hover","active","focus","target"].forEach(function(o){t[o]&&E.fakeUserAction(c,t[o],o)}),f.calculateDocumentContentSize(c,t).then(function(o){return l.getSvgForDocument(c,o,t.zoom)})},l}(0,C,i,g),d,n))},(w=this)===void 0&&window!==void 0&&(w=window),typeof V=="object"&&V.exports?V.exports=A(F("url"),F("xmlserializer"),F("sane-domparser-error"),F("inlineresources")):w.rasterizeHTML=A(w.url,w.xmlserializer,w.sanedomparsererror,w.inlineresources)},{inlineresources:5,"sane-domparser-error":14,url:15,xmlserializer:17}],2:[function(F,V,N){(function(w){(function(A){typeof N=="object"&&V!==void 0?V.exports=A():(typeof window<"u"?window:w!==void 0?w:typeof self<"u"?self:this).cssFontFaceSrc=A()})(function(){return function A(x,g,p){function n(i,C){if(!g[i]){if(!x[i]){var d=typeof F=="function"&&F;if(!C&&d)return d(i,!0);if(h)return h(i,!0);var m=new Error("Cannot find module '"+i+"'");throw m.code="MODULE_NOT_FOUND",m}var f=g[i]={exports:{}};x[i][0].call(f.exports,function(E){var u=x[i][1][E];return n(u||E)},f,f.exports,A,x,g,p)}return g[i].exports}for(var h=typeof F=="function"&&F,b=0;b= 0x80 (not a basic code point)","invalid-input":"Invalid input"},o=i-C,r=Math.floor,y=String.fromCharCode;function s(j){throw RangeError(t[j])}function R(j,L){for(var v=j.length,M=[];v--;)M[v]=L(j[v]);return M}function S(j,L){var v=j.split("@"),M="";return 1>>10&1023|55296),L=56320|1023&L),v+=y(L)}).join("")}function O(j,L){return j+22+75*(j<26)-((L!=0)<<5)}function D(j,L,v){var M=0;for(j=v?r(j/f):j>>1,j+=r(j/L);o*d>>1r((b-Z)/k))&&s("overflow"),Z+=X*k,!(X<(J=W<=K?C:K+d<=W?d:W-K));W+=i)k>r(b/(G=i-J))&&s("overflow"),k*=G;K=D(Z-$,L=et.length+1,$==0),r(Z/L)>b-nt&&s("overflow"),nt+=r(Z/L),Z%=L,et.splice(Z++,0,nt)}return P(et)}function z(j){var L,v,M,U,$,k,W,X,J,G,B,et,tt,Z,nt,K=[];for(et=(j=T(j)).length,L=u,$=E,k=v=0;kr((b-v)/(tt=M+1))&&s("overflow"),v+=(W-L)*tt,L=W,k=0;kb&&s("overflow"),B==L){for(X=v,J=i;!(X<(G=J<=$?C:$+d<=J?d:J-$));J+=i)nt=X-G,Z=i-G,K.push(y(O(G+nt%Z,0))),X=r(nt/Z);K.push(y(O(X,0))),$=D(v,tt,M==U),v=0,++M}++v,++L}return K.join("")}if(n={version:"1.3.2",ucs2:{decode:T,encode:P},decode:H,encode:z,toASCII:function(j){return S(j,function(L){return e.test(L)?"xn--"+z(L):L})},toUnicode:function(j){return S(j,function(L){return a.test(L)?H(L.slice(4).toLowerCase()):L})}},x&&g)if(V.exports==x)g.exports=n;else for(h in n)n.hasOwnProperty(h)&&(x[h]=n[h]);else A.punycode=n})(this)}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}],11:[function(F,V,N){"use strict";V.exports=function(A,x,g,p){x=x||"&",g=g||"=";var n={};if(typeof A!="string"||A.length===0)return n;var h=/\+/g;A=A.split(x);var b=1e3;p&&typeof p.maxKeys=="number"&&(b=p.maxKeys);var i,C,d=A.length;0]*>This page contains the following errors:]*>(.+?) ?`),new RegExp(`^(.+) `)],A=function(x){var g,p,n,h,b=(g=x,p=new XMLSerializer,Array.prototype.map.call(g.childNodes,function(i){return p.serializeToString(i)}).join(""));for(n=0;n",'"',"`"," ","\r",` `," "]),b=["'"].concat(h),i=["%","/","?",";","#"].concat(b),C=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},E={javascript:!0,"javascript:":!0},u={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},l=F("querystring");function a(e,c,t){if(e&&A.isObject(e)&&e instanceof x)return e;var o=new x;return o.parse(e,c,t),o}x.prototype.parse=function(e,c,t){if(!A.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),r=o!==-1&&o/g,">").replace(/"/g,""").replace(/'/g,"'")+'"')}),0",d+=g(h),d+=""):d+="/>",d},n=function(h,b){var i,C=b&&b.rootNode;return h.nodeName==="#document"||h.nodeName==="#document-fragment"?g(h):h.tagName?p(h,C):h.nodeName==="#text"?((i=h).nodeValue||i.value||"").replace(/&/g,"&").replace(//g,">"):h.nodeName==="#comment"?"":h.nodeName==="#cdata-section"?"":void 0};return{serializeToString:function(h){return n(h,{rootNode:!0}).replace(/[\x00-\x08\x0B\x0C\x0E-\x1F]/g,"")}}},typeof V=="object"&&V.exports?V.exports=A():w.xmlserializer=A()},{}]},{},[1])(1)});var gt=pt.rasterizeHTML;})();