import{d as Mi,f as Bn,R as on,F as Oi}from"./index-e7035897.js";const cu=""+new URL("studentStart-9f3fecce.png",import.meta.url).href,gu="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGYAAABmCAYAAAA53+RiAAAAAXNSR0IArs4c6QAAC5lJREFUeF7tXWuoZmUVfh66SJKVVDL1pzSoQAqqibRRQ6sx897FKVEhMooG0+lmTYoOOWVNjtZQFAlBSmoXL5WlZkpTOV00IQlqoHL+lGTSxSiyYsVzXPuwfM/e397fvu9zvhc+OOf79nt99rvWetda71rEBIqZPRPAC8Ln+QD03QHJR7N5OPk8CGAvgN9kH5L6btSFYxydmR0C4Bj/HA1gXcvjfADAnQDu0Ifk71puv3FzowHGzF4B4CwAxwN4TuOZzdfAPgA3A/gyyZ/OV7WbpwcFxsyeC+AMAGcCEHkaQxHZuwrA1STvH2pAgwBjZi8DsBXAqQCqjOGfkUf433rLU36idUz5jnZf5E/6e/8KC24AbgDwMZL3VHi+1UeqLEprHZrZEQA+AuB1JY3+C8CPnQeIF9xN8r9tDMTMHg9gPQDxLvGxDQCeVNL2LQAuIakx9VJ6AcbMRKZ2Adg4Y1b/BvAtJyO3ktT/nRcz2w/AsU5OTwSg/4vKbQDOISly12npFBgz05sokvVBAE8smMndAK4EcB3Jv3Y625LGzexpADYBONt3VV4NvTA7nMRpZ3dSOgPGzI4D8FkABxeMfDeA7ST1Fo6umJl2t8juUQWD+z2AzSS/28XgWwfGzJ4A4FIA7y0YsM4OF5H8URcTartN54vbnB/lNb8TwIdI/qfNvlsFxswkAV0HQGeStPwBwBaSX21zAn21ZWanAbgcwLNz+tTZZxNJSYqtlNaAMbMTdEADcGAyMklTnwFwMUmJt5MtZiZR/GIA7wEg6S6Wv+iATPLbbUywFWDMTMzy8wAelwxKBzS9ST9rY7BjacO1FNcC0AE5lv8BeBdJCTONSmNgzEwM8pKcUdwI4G1DS1qNVmdGZZfgvgTglJzHLiC5vUnftYExM9X9tOT6HNL1fpL6bdUXMzsXwKdySJv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CJWLwgkV3h9vSz0opzLo5fmIvRiTbBaC73ouyYvWOkRY0l7W3ONeq/WarBSB0aBARbhfRtA2Ul4XwdH8VYWAbFrgtNJQOwgTSxCyNcAptMQ8r5rlNtykXRhDnB6Sbrg4Cgy0yJNSQVwektTEkiacl0uEvvMAKf3xD4BnNRxQz8tUmE9epdymFRYAZy83JeL5HFDJo8L4CzSLfpijCbdogsDiwSlj5KvcSUoLSFr+nmR0reCBFf0SGkqrCptL5JgL6/SeJJgJ6L0Im38mNLGB3B0CJUhKKZlzH6WSL1lqjloPPfL5TlZYTU/pVGUIXFfFQpT5ZlWSFnsyHNmXpqTnjF77A7F5spLZlNlwH0/4zb6bUnOlziMnQDkWlua23KesbcOTNg90krL7TZmBIxj2w1g+1gzbbiLkc5rRxUsqO7lby5LmzgPGPHZzoBxkVr2nK0eQTDGsI9jkOPblSKBfeQRmLVQbjvZBEDajfUFz8p1eIdC8s5Kl1gXkKxep8CE3aMMG7uSZHTp2DVhhayXAKGkap3E9U879asQGwGcBeDEJAlC+rgyj59TlImvKRi97ZicRZD3jchDWfx8hbBXYAjxozsBKI9NK4Gq3TVWu+Fo5xsbkhDueeurLBkiuyuSvLUJxmDAhB0kn10BpFS3VXatYkErt038SAJ6OPmoiwOSjyRF5WWJn/0rLKiyIOmQLEDuqfB8q49UWZRWO4yNeWS7MwCcmSQU6qzPCg3vBXAVgKuHjHQ4KDAJSEosJICOT9KlVFjLxo9o990sQLLEOo1bbNjAaIBJQNKd0GP8I16wruE80+rKdCTeJR6mHJ+64TCqMkpgcoQGBYmIPEJS3kEAnpzwE1WNfOcfHlxC5GmZP5F8cFQo5Azm/5KfuQmQCbAuAAAAAElFTkSuQmCC";function LA(r){if(typeof r!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(r))}function ln(r,A){for(var e="",t=0,n=-1,s=0,i,a=0;a<=r.length;++a){if(a2){var B=e.lastIndexOf("/");if(B!==e.length-1){B===-1?(e="",t=0):(e=e.slice(0,B),t=e.length-1-e.lastIndexOf("/")),n=a,s=0;continue}}else if(e.length===2||e.length===1){e="",t=0,n=a,s=0;continue}}A&&(e.length>0?e+="/..":e="..",t=2)}else e.length>0?e+="/"+r.slice(n+1,a):e=r.slice(n+1,a),t=a-n-1;n=a,s=0}else i===46&&s!==-1?++s:s=-1}return e}function Ri(r,A){var e=A.dir||A.root,t=A.base||(A.name||"")+(A.ext||"");return e?e===A.root?e+t:e+r+t:t}var ae={resolve:function(){for(var A="",e=!1,t,n=arguments.length-1;n>=-1&&!e;n--){var s;n>=0?s=arguments[n]:(t===void 0&&(t=process.cwd()),s=t),LA(s),s.length!==0&&(A=s+"/"+A,e=s.charCodeAt(0)===47)}return A=ln(A,!e),e?A.length>0?"/"+A:"/":A.length>0?A:"."},normalize:function(A){if(LA(A),A.length===0)return".";var e=A.charCodeAt(0)===47,t=A.charCodeAt(A.length-1)===47;return A=ln(A,!e),A.length===0&&!e&&(A="."),A.length>0&&t&&(A+="/"),e?"/"+A:A},isAbsolute:function(A){return LA(A),A.length>0&&A.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var A,e=0;e0&&(A===void 0?A=t:A+="/"+t)}return A===void 0?".":ae.normalize(A)},relative:function(A,e){if(LA(A),LA(e),A===e||(A=ae.resolve(A),e=ae.resolve(e),A===e))return"";for(var t=1;to){if(e.charCodeAt(i+c)===47)return e.slice(i+c+1);if(c===0)return e.slice(i+c)}else s>o&&(A.charCodeAt(t+c)===47?l=c:c===0&&(l=0));break}var g=A.charCodeAt(t+c),C=e.charCodeAt(i+c);if(g!==C)break;g===47&&(l=c)}var Q="";for(c=t+l+1;c<=n;++c)(c===n||A.charCodeAt(c)===47)&&(Q.length===0?Q+="..":Q+="/..");return Q.length>0?Q+e.slice(i+l):(i+=l,e.charCodeAt(i)===47&&++i,e.slice(i))},_makeLong:function(A){return A},dirname:function(A){if(LA(A),A.length===0)return".";for(var e=A.charCodeAt(0),t=e===47,n=-1,s=!0,i=A.length-1;i>=1;--i)if(e=A.charCodeAt(i),e===47){if(!s){n=i;break}}else s=!1;return n===-1?t?"/":".":t&&n===1?"//":A.slice(0,n)},basename:function(A,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');LA(A);var t=0,n=-1,s=!0,i;if(e!==void 0&&e.length>0&&e.length<=A.length){if(e.length===A.length&&e===A)return"";var a=e.length-1,B=-1;for(i=A.length-1;i>=0;--i){var o=A.charCodeAt(i);if(o===47){if(!s){t=i+1;break}}else B===-1&&(s=!1,B=i+1),a>=0&&(o===e.charCodeAt(a)?--a===-1&&(n=i):(a=-1,n=B))}return t===n?n=B:n===-1&&(n=A.length),A.slice(t,n)}else{for(i=A.length-1;i>=0;--i)if(A.charCodeAt(i)===47){if(!s){t=i+1;break}}else n===-1&&(s=!1,n=i+1);return n===-1?"":A.slice(t,n)}},extname:function(A){LA(A);for(var e=-1,t=0,n=-1,s=!0,i=0,a=A.length-1;a>=0;--a){var B=A.charCodeAt(a);if(B===47){if(!s){t=a+1;break}continue}n===-1&&(s=!1,n=a+1),B===46?e===-1?e=a:i!==1&&(i=1):e!==-1&&(i=-1)}return e===-1||n===-1||i===0||i===1&&e===n-1&&e===t+1?"":A.slice(e,n)},format:function(A){if(A===null||typeof A!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof A);return Ri("/",A)},parse:function(A){LA(A);var e={root:"",dir:"",base:"",ext:"",name:""};if(A.length===0)return e;var t=A.charCodeAt(0),n=t===47,s;n?(e.root="/",s=1):s=0;for(var i=-1,a=0,B=-1,o=!0,l=A.length-1,c=0;l>=s;--l){if(t=A.charCodeAt(l),t===47){if(!o){a=l+1;break}continue}B===-1&&(o=!1,B=l+1),t===46?i===-1?i=l:c!==1&&(c=1):i!==-1&&(c=-1)}return i===-1||B===-1||c===0||c===1&&i===B-1&&i===a+1?B!==-1&&(a===0&&n?e.base=e.name=A.slice(1,B):e.base=e.name=A.slice(a,B)):(a===0&&n?(e.name=A.slice(1,i),e.base=A.slice(1,B)):(e.name=A.slice(a,i),e.base=A.slice(a,B)),e.ext=A.slice(i,B)),a>0?e.dir=A.slice(0,a-1):n&&(e.dir="/"),e},sep:"/",delimiter:":",win32:null,posix:null};ae.posix=ae;const Gi=ae.extname,Fs=ae.basename;class Ni{constructor(){let A=(()=>typeof global>"u")(),e="image/png",t="image/jpeg",n="image/jpeg",s="image/webp",i="application/pdf",a="image/svg+xml";Object.assign(this,{toMime:this.toMime.bind(this),fromMime:this.fromMime.bind(this),expected:A?'"png", "jpg", or "webp"':'"png", "jpg", "pdf", or "svg"',formats:A?{png:e,jpg:t,jpeg:n,webp:s}:{png:e,jpg:t,jpeg:n,pdf:i,svg:a},mimes:A?{[e]:"png",[t]:"jpg",[s]:"webp"}:{[e]:"png",[t]:"jpg",[i]:"pdf",[a]:"svg"}})}toMime(A){return this.formats[(A||"").replace(/^\./,"").toLowerCase()]}fromMime(A){return this.mimes[A]}}function Vi(r,{filename:A="",extension:e="",format:F,page:n,quality:s,matte:i,density:a,outline:B,archive:C}={}){var{fromMime:l,toMime:c,expected:g}=new Ni,C=C||"canvas",Q=F||e.replace(/@\d+x$/i,"")||Gi(A),F=l(c(Q)||Q),L=c(F),f=r.length;if(!Q)throw new Error("Cannot determine image format (use a filename extension or 'format' argument)");if(!F)throw new Error('Unsupported file format "'.concat(Q,'" (expected ').concat(g,")"));if(!f)throw new RangeError("Canvas has no associated contexts (try calling getContext or newPage first)");let w,H,h=A.replace(/{(\d*)}/g,(u,p)=>(H=!0,p=parseInt(p,10),w=isFinite(p)?p:isFinite(w)?w:-1,"{}")),d=n>0?n-1:n<0?f+n:void 0;if(isFinite(d)&&d<0||d>=f)throw new RangeError(f==1?"Canvas only has a ‘page 1’ (".concat(d," is out of bounds)"):"Canvas has pages 1–".concat(f," (").concat(d," is out of bounds)"));if(r=isFinite(d)?[r[d]]:H||F=="pdf"?r:r.slice(-1),s===void 0)s=.92;else if(typeof s!="number"||!isFinite(s)||s<0||s>1)throw new TypeError("The quality option must be an number in the 0.0–1.0 range");if(a===void 0){let u=(e||Fs(A,Q)).match(/@(\d+)x$/i);a=u?parseInt(u[1],10):1}else if(typeof a!="number"||!Number.isInteger(a)||a<1)throw new TypeError("The density option must be a non-negative integer");return B===void 0?B=!0:F=="svg"&&(B=!!B),{filename:A,pattern:h,format:F,mime:L,pages:r,padding:w,quality:s,matte:i,density:a,outline:B,archive:C}}class Ot{static for(A){return new Ot().append(A).get()}constructor(){this.crc=-1}get(){return~this.crc}append(A){for(var e=this.crc|0,t=this.table,n=0,s=A.length|0;n>>8^t[(e^A[n])&255];return this.crc=e,this}}Ot.prototype.table=(()=>{var r,A,e,t=[];for(r=0;r<256;r++){for(e=r,A=0;A<8;A++)e=e&1?e>>>1^3988292384:e>>>1;t[r]=e}return t})();function qt(r){let A=new Uint8Array(r),e=new DataView(A.buffer),t={array:A,view:e,size:r,set8(n,s){return e.setUint8(n,s),t},set16(n,s){return e.setUint16(n,s,!0),t},set32(n,s){return e.setUint32(n,s,!0),t},bytes(n,s){return A.set(s,n),t}};return t}class Rt{constructor(A){let e=new Date;Object.assign(this,{directory:A,offset:0,files:[],time:(e.getHours()<<6|e.getMinutes())<<5|e.getSeconds()/2,date:(e.getFullYear()-1980<<4|e.getMonth()+1)<<5|e.getDate()}),this.add(A)}async add(A,e){let t=!e,n=Rt.encoder.encode("".concat(this.directory,"/").concat(t?"":A)),s=new Uint8Array(t?0:await e.arrayBuffer()),i=30+n.length,a=i+s.length,B=16,{offset:o}=this,l=qt(26).set32(0,134742036).set16(6,this.time).set16(8,this.date).set32(10,Ot.for(s)).set32(14,s.length).set32(18,s.length).set16(22,n.length);o+=i;let c=qt(i+s.length+B).set32(0,67324752).bytes(4,l.array).bytes(30,n).bytes(i,s);o+=s.length,c.set32(a,134695760).bytes(a+4,l.array.slice(10,22)),o+=B,this.files.push({offset:o,folder:t,name:n,header:l,payload:c}),this.offset=o}toBuffer(){let A=this.files.reduce((c,{name:g})=>46+g.length+c,0),e=qt(A+22),t=0;for(var{offset:n,name:s,header:i,folder:a}of this.files)e.set32(t,33639248).set16(t+4,20).bytes(t+6,i.array).set8(t+38,a?16:0).set32(t+42,n).bytes(t+46,s),t+=46+s.length;e.set32(t,101010256).set16(t+8,this.files.length).set16(t+10,this.files.length).set32(t+12,A).set32(t+16,this.offset);let B=new Uint8Array(this.offset+e.size),o=0;for(var{payload:l}of this.files)B.set(l.array,o),o+=l.size;return B.set(e.array,o),B}get blob(){return new Blob([this.toBuffer()],{type:"application/zip"})}}Rt.encoder=new TextEncoder;const Wr=(r,A,e,t)=>{if(t){let{width:n,height:s}=r,i=Object.assign(document.createElement("canvas"),{width:n,height:s}),a=i.getContext("2d");a.fillStyle=t,a.fillRect(0,0,n,s),a.drawImage(r,0,0),r=i}return new Promise((n,s)=>r.toBlob(n,A,e))},Pi=(...r)=>Wr(...r).then(A=>A.arrayBuffer()),ki=async(r,A,e,t,n)=>{ds(n,await Wr(r,A,e,t))},_i=async(r,A,e,t,n,s,i)=>{let a=l=>s.replace("{}",String(l+1).padStart(i,"0")),B=Fs(n,".zip")||"archive",o=new Rt(B);await Promise.all(r.map(async(l,c)=>{let g=a(c);await o.add(g,await Wr(l,A,e,t))})),ds("".concat(B,".zip"),o.blob)},ds=(r,A)=>{const e=window.URL.createObjectURL(A),t=document.createElement("a");t.style.display="none",t.href=e,t.setAttribute("download",r),typeof t.download>"u"&&t.setAttribute("target","_blank"),document.body.appendChild(t),t.click(),document.body.removeChild(t),setTimeout(()=>window.URL.revokeObjectURL(e),100)},Xi=(r,A,e)=>r.map(t=>{if(A==1&&!e)return t.canvas;let n=document.createElement("canvas"),s=n.getContext("2d"),i=t.canvas?t.canvas:t;return n.width=i.width*A,n.height=i.height*A,e&&(s.fillStyle=e,s.fillRect(0,0,n.width,n.height)),s.scale(A,A),s.drawImage(i,0,0),n}),Ji={asBuffer:Pi,asDownload:ki,asZipDownload:_i,atScale:Xi,options:Vi},{asBuffer:$t,asDownload:Yi,asZipDownload:Wi,atScale:Ar,options:er}=Ji,cn=Symbol.for("toDataURL"),Zi=r=>new Promise((A,e)=>Object.assign(new ps,{crossOrigin:"Anonymous",onload:A,onerror:e,src:r}));let zi=class{constructor(A,e){let t=document.createElement("canvas"),n=[];Object.defineProperty(t,"async",{value:!0,writable:!1,enumerable:!0});for(var[s,i]of Object.entries({png:()=>$t(t,"image/png"),jpg:()=>$t(t,"image/jpeg"),pages:()=>n.concat(t).map(a=>a.getContext("2d"))}))Object.defineProperty(t,s,{get:i});return Object.assign(t,{width:A,height:e,newPage(...a){var{width:o,height:l}=t,B=Object.assign(document.createElement("canvas"),{width:o,height:l});B.getContext("2d").drawImage(t,0,0),n.push(B);var[o,l]=a.length?a:[o,l];return Object.assign(t,{width:o,height:l}).getContext("2d")},saveAs(a,B){B=typeof B=="number"?{quality:B}:B;let o=er(this.pages,{filename:a,...B}),{pattern:l,padding:c,mime:g,quality:C,matte:Q,density:F,archive:L}=o,f=Ar(o.pages,F);return c==null?Yi(f[0],g,C,Q,a):Wi(f,g,C,Q,L,l,c)},toBuffer(a="png",B={}){B=typeof B=="number"?{quality:B}:B;let o=er(this.pages,{extension:a,...B}),{mime:l,quality:c,matte:g,pages:C,density:Q}=o,F=Ar(C,Q,g)[0];return $t(F,l,c,g)},[cn]:t.toDataURL.bind(t),toDataURL(a="png",B={}){B=typeof B=="number"?{quality:B}:B;let o=er(this.pages,{extension:a,...B}),{mime:l,quality:c,matte:g,pages:C,density:Q}=o,F=Ar(C,Q,g)[0],L=F[F===t?cn:"toDataURL"](l,c);return Promise.resolve(L)}})}};const{CanvasRenderingContext2D:ji,CanvasGradient:qi,CanvasPattern:$i,Image:ps,ImageData:Aa,Path2D:ea,DOMMatrix:ta,DOMRect:ra,DOMPoint:na}=window,sa={Canvas:zi,loadImage:Zi,CanvasRenderingContext2D:ji,CanvasGradient:qi,CanvasPattern:$i,Image:ps,ImageData:Aa,Path2D:ea,DOMMatrix:ta,DOMRect:ra,DOMPoint:na},Ke=(r,A,e={},t=e)=>{if(Array.isArray(A))A.forEach(n=>Ke(r,n,e,t));else if(typeof A=="function")A(r,e,t,Ke);else{const n=Object.keys(A)[0];Array.isArray(A[n])?(t[n]={},Ke(r,A[n],e,t[n])):t[n]=A[n](r,e,t,Ke)}return e},le=(r,A)=>(e,t,n,s)=>{A(e,t,n)&&s(e,r,t,n)},ia=(r,A)=>(e,t,n,s)=>{const i=[];let a=e.pos;for(;A(e,t,n);){const B={};if(s(e,r,t,B),e.pos===a)break;a=e.pos,i.push(B)}return i},aa=r=>({data:r,pos:0}),HA=()=>r=>r.data[r.pos++],Es=(r=0)=>A=>A.data[A.pos+r],DA=r=>A=>A.data.subarray(A.pos,A.pos+=r),Gt=r=>A=>A.data.subarray(A.pos,A.pos+r),Er=r=>A=>Array.from(DA(r)(A)).map(e=>String.fromCharCode(e)).join(""),se=r=>A=>{const e=DA(2)(A);return r?(e[1]<<8)+e[0]:(e[0]<<8)+e[1]},vs=(r,A)=>(e,t,n)=>{const s=typeof A=="function"?A(e,t,n):A,i=DA(r),a=new Array(s);for(var B=0;B{for(var t=0,n=0;nA=>{const e=HA()(A),t=new Array(8);for(var n=0;n<8;n++)t[7-n]=!!(e&1<{const a=r[i];return a.length?s[i]=Ba(t,a.index,a.length):s[i]=t[a.index],s},{})};var Nt={blocks:r=>{const e=[],t=r.data.length;for(var n=0,s=HA()(r);s!==0&&s;s=HA()(r)){if(r.pos+s>=t){const o=t-r.pos;e.push(DA(o)(r)),n+=o;break}e.push(DA(s)(r)),n+=s}const i=new Uint8Array(n);for(var a=0,B=0;B{var A=Gt(2)(r);return A[0]===33&&A[1]===249}),la=le({image:[{code:HA()},{descriptor:[{left:se(!0)},{top:se(!0)},{width:se(!0)},{height:se(!0)},{lct:Zr({exists:{index:0},interlaced:{index:1},sort:{index:2},future:{index:3,length:2},size:{index:5,length:3}})}]},le({lct:vs(3,(r,A,e)=>Math.pow(2,e.descriptor.lct.size+1))},(r,A,e)=>e.descriptor.lct.exists),{data:[{minCodeSize:HA()},Nt]}]},r=>Es()(r)===44),ca=le({text:[{codes:DA(2)},{blockSize:HA()},{preData:(r,A,e)=>DA(e.text.blockSize)(r)},Nt]},r=>{var A=Gt(2)(r);return A[0]===33&&A[1]===1}),ga=le({application:[{codes:DA(2)},{blockSize:HA()},{id:(r,A,e)=>Er(e.blockSize)(r)},Nt]},r=>{var A=Gt(2)(r);return A[0]===33&&A[1]===255}),ua=le({comment:[{codes:DA(2)},Nt]},r=>{var A=Gt(2)(r);return A[0]===33&&A[1]===254}),fa=[{header:[{signature:Er(3)},{version:Er(3)}]},{lsd:[{width:se(!0)},{height:se(!0)},{gct:Zr({exists:{index:0},resolution:{index:1,length:3},sort:{index:4},size:{index:5,length:3}})},{backgroundColorIndex:HA()},{pixelAspectRatio:HA()}]},le({gct:vs(3,(r,A)=>Math.pow(2,A.lsd.gct.size+1))},(r,A)=>A.lsd.gct.exists),{frames:ia([oa,ga,ua,la,ca],r=>{var A=Es()(r);return A===33||A===44})}],wa=(r,A)=>{const e=new Array(r.length),t=r.length/A,n=function(l,c){const g=r.slice(c*A,(c+1)*A);e.splice.apply(e,[l*A,A].concat(g))},s=[0,4,2,1],i=[8,8,4,2];for(var a=0,B=0;B<4;B++)for(var o=s[B];o{const s=e;var i,a,B,o,l,c,g,d,C,Q,h,F,u,p,I,v;const L=new Array(e),f=new Array(4096),w=new Array(4096),H=new Array(4096+1);for(F=r,a=1<>=o,d-=o,C>i||C==l)break;if(C==a){o=F+1,B=(1<a;)H[p++]=w[C],C=f[C];u=w[C]&255,H[p++]=u,i<4096&&(f[i]=g,w[i]=u,i++,!(i&B)&&i<4096&&(o++,B+=i)),g=c}p--,L[v++]=H[p],Q++}for(Q=v;Q{const A=new Uint8Array(r);return Ke(aa(A),fa)},Ca=r=>{const A=r.pixels.length,e=new Uint8ClampedArray(A*4);for(var t=0;t{if(!r.image){console.warn("gif frame does not have associated image.");return}const{image:t}=r,n=t.descriptor.width*t.descriptor.height;var s=Qa(t.data.minCodeSize,t.data.blocks,n);t.descriptor.lct.interlaced&&(s=wa(s,t.descriptor.width));const i={pixels:s,dims:{top:r.image.descriptor.top,left:r.image.descriptor.left,width:r.image.descriptor.width,height:r.image.descriptor.height}};return t.descriptor.lct&&t.descriptor.lct.exists?i.colorTable=t.lct:i.colorTable=A,r.gce&&(i.delay=(r.gce.delay||10)*10,i.disposalType=r.gce.extras.disposal,r.gce.extras.transparentColorGiven&&(i.transparentIndex=r.gce.transparentColorIndex)),e&&(i.patch=Ca(i)),i},Fa=(r,A)=>r.frames.filter(e=>e.image).map(e=>Ua(e,r.gct,A));function da(r,A,e){const t=Hs(A),n=r-1;let s=0;switch(e){case wA.L:s=xA[n][0];break;case wA.M:s=xA[n][1];break;case wA.Q:s=xA[n][2];break;case wA.H:s=xA[n][3];break}return t<=s}function pa(r,A){for(var e=1,t=Hs(r),n=0,s=xA.length;nxA.length)throw new Error("Too long data");return e}function Hs(r){var A=encodeURI(r).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return A.length+(A.length!=Number(r)?3:0)}class Ea{constructor(A){this.mode=UA.MODE_8BIT_BYTE,this.parsedData=[],this.data=A;const e=[];for(let t=0,n=this.data.length;t65536?(s[0]=240|(i&1835008)>>>18,s[1]=128|(i&258048)>>>12,s[2]=128|(i&4032)>>>6,s[3]=128|i&63):i>2048?(s[0]=224|(i&61440)>>>12,s[1]=128|(i&4032)>>>6,s[2]=128|i&63):i>128?(s[0]=192|(i&1984)>>>6,s[1]=128|i&63):s[0]=i,e.push(s)}this.parsedData=Array.prototype.concat.apply([],e),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}getLength(){return this.parsedData.length}write(A){for(let e=0,t=this.parsedData.length;e40)throw new Error("Invalid QR version: ".concat(this.typeNumber));if(!da(this.typeNumber,A,this.errorCorrectLevel))throw new Error("Data is too long for QR version: ".concat(this.typeNumber))}const e=new Ea(A);this.dataList.push(e),this.dataCache=void 0}isDark(A,e){if(A<0||this.moduleCount<=A||e<0||this.moduleCount<=e)throw new Error("".concat(A,",").concat(e));return this.modules[A][e]}getModuleCount(){return this.moduleCount}make(){this.makeImpl(!1,this.getBestMaskPattern())}makeImpl(A,e){this.moduleCount=this.typeNumber*4+17,this.modules=new Array(this.moduleCount);for(let t=0;t=7&&this.setupTypeNumber(A),this.dataCache==null&&(this.dataCache=zA.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,e)}setupPositionProbePattern(A,e){for(let t=-1;t<=7;t++)if(!(A+t<=-1||this.moduleCount<=A+t))for(let n=-1;n<=7;n++)e+n<=-1||this.moduleCount<=e+n||(0<=t&&t<=6&&(n==0||n==6)||0<=n&&n<=6&&(t==0||t==6)||2<=t&&t<=4&&2<=n&&n<=4?this.modules[A+t][e+n]=!0:this.modules[A+t][e+n]=!1)}getBestMaskPattern(){if(Number.isInteger(this.maskPattern)&&Object.values(VA).includes(this.maskPattern))return this.maskPattern;let A=0,e=0;for(let t=0;t<8;t++){this.makeImpl(!0,t);const n=k.getLostPoint(this);(t==0||A>n)&&(A=n,e=t)}return e}setupTimingPattern(){for(let A=8;A>t&1)==1;this.modules[Math.floor(t/3)][t%3+this.moduleCount-8-3]=n}for(var t=0;t<18;t++){var n=!A&&(e>>t&1)==1;this.modules[t%3+this.moduleCount-8-3][Math.floor(t/3)]=n}}setupTypeInfo(A,e){const t=this.errorCorrectLevel<<3|e,n=k.getBCHTypeInfo(t);for(var s=0;s<15;s++){var i=!A&&(n>>s&1)==1;s<6?this.modules[s][8]=i:s<8?this.modules[s+1][8]=i:this.modules[this.moduleCount-15+s][8]=i}for(var s=0;s<15;s++){var i=!A&&(n>>s&1)==1;s<8?this.modules[8][this.moduleCount-s-1]=i:s<9?this.modules[8][15-s-1+1]=i:this.modules[8][15-s-1]=i}this.modules[this.moduleCount-8][8]=!A}mapData(A,e){let t=-1,n=this.moduleCount-1,s=7,i=0;for(let a=this.moduleCount-1;a>0;a-=2)for(a==6&&a--;;){for(let B=0;B<2;B++)if(this.modules[n][a-B]==null){let o=!1;i>>s&1)==1),k.getMask(e,n,a-B)&&(o=!o),this.modules[n][a-B]=o,s--,s==-1&&(i++,s=7)}if(n+=t,n<0||this.moduleCount<=n){n-=t,t=-t;break}}}static createData(A,e,t){const n=PA.getRSBlocks(A,e),s=new va;for(var i=0;ia*8)throw new Error("code length overflow. (".concat(s.getLengthInBits(),">").concat(a*8,")"));for(s.getLengthInBits()+4<=a*8&&s.put(0,4);s.getLengthInBits()%8!=0;)s.putBit(!1);for(;!(s.getLengthInBits()>=a*8||(s.put(zA.PAD0,8),s.getLengthInBits()>=a*8));)s.put(zA.PAD1,8);return zA.createBytes(s,n)}static createBytes(A,e){let t=0,n=0,s=0;const i=new Array(e.length),a=new Array(e.length);for(var B=0;B=0?f.get(H):0}}let l=0;for(var o=0;o=0;)e^=k.G15<=0;)e^=k.G18<>>=1;return e}static getPatternPosition(A){return k.PATTERN_POSITION_TABLE[A-1]}static getMask(A,e,t){switch(A){case VA.PATTERN000:return(e+t)%2==0;case VA.PATTERN001:return e%2==0;case VA.PATTERN010:return t%3==0;case VA.PATTERN011:return(e+t)%3==0;case VA.PATTERN100:return(Math.floor(e/2)+Math.floor(t/3))%2==0;case VA.PATTERN101:return e*t%2+e*t%3==0;case VA.PATTERN110:return(e*t%2+e*t%3)%2==0;case VA.PATTERN111:return(e*t%3+(e+t)%2)%2==0;default:throw new Error("bad maskPattern:".concat(A))}}static getErrorCorrectPolynomial(A){let e=new pe([1],0);for(let t=0;t5&&(t+=3+B-5)}for(var n=0;n=256;)A-=255;return q.EXP_TABLE[A]}}q.EXP_TABLE=new Array(256);q.LOG_TABLE=new Array(256);q._constructor=function(){for(var r=0;r<8;r++)q.EXP_TABLE[r]=1<>>7-A%8&1)==1}put(A,e){for(let t=0;t>>e-t-1&1)==1)}getLengthInBits(){return this.length}putBit(A){const e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),A&&(this.buffer[e]|=128>>>this.length%8),this.length++}}const xA=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];var Ha=100,BA=256,gn=BA-1,JA=4,Is=16,zr=1<>jr,ma=zr<>3,vr=6,ba=1<>3);var f,w;for(f=0;f>=JA,e[f][1]>>=JA,e[f][2]>>=JA,e[f][3]=f}function o(f,w,H,h,d){e[w][0]-=f*(e[w][0]-H)/ze,e[w][1]-=f*(e[w][1]-h)/ze,e[w][2]-=f*(e[w][2]-d)/ze}function l(f,w,H,h,d){for(var u=Math.abs(w-f),p=Math.min(w+f,BA),v=w+1,I=w-1,x=1,U,S;vu;)S=i[x++],vu&&(U=e[I--],U[0]-=S*(U[0]-H)/ce,U[1]-=S*(U[1]-h)/ce,U[2]-=S*(U[2]-d)/ce)}function c(f,w,H){var h=2147483647,d=h,u=-1,p=u,v,I,x,U,S;for(v=0;v>Is-JA),U>jr,s[v]-=S,n[v]+=S<>1,w=p+1;w>1,w=p+1;w<256;w++)t[w]=gn}function C(f,w,H){for(var h,d,u,p=1e3,v=-1,I=t[w],x=I-1;I=0;)I=p?I=BA:(I++,u<0&&(u=-u),h=d[0]-f,h<0&&(h=-h),u+=h,u=0&&(d=e[x],u=w-d[1],u>=p?x=-1:(x--,u<0&&(u=-u),h=d[0]-f,h<0&&(h=-h),u+=h,u>vr;for(v<=1&&(v=0),f=0;f=w&&(D-=w),f++,d===0&&(d=1),f%d===0)for(u-=u/H,p-=p/Ka,v=p>>vr,v<=1&&(v=0),E=0;E=254&&I(D)}function d(E){u(Ie),c=F+2,C=!0,S(F,E)}function u(E){for(var D=0;D=0){rA=N-M,M===0&&(rA=1);do if((M-=rA)<0&&(M+=N),i[M]===m){tA=a[M];continue A}while(i[M]>=0)}S(tA,D),tA=z,c<1<0&&(E.writeByte(l),E.writeBytes(s,0,l),l=0)}function x(E){return(1<0?B|=E<=8;)h(B&255,D),B>>=8,o-=8;if((c>g||C)&&(C?(g=x(H=Q),C=!1):(++H,H==je?g=1<0;)h(B&255,D),B>>=8,o-=8;I(D)}}this.encode=v}function hA(){this.page=-1,this.pages=[],this.newPage()}hA.pageSize=4096;hA.charMap={};for(var qe=0;qe<256;qe++)hA.charMap[qe]=String.fromCharCode(qe);hA.prototype.newPage=function(){this.pages[++this.page]=new Uint8Array(hA.pageSize),this.cursor=0};hA.prototype.getData=function(){for(var r="",A=0;At+n.length,0));return r.reduce((t,n)=>(e.set(n,t),t+n.length),0),e};hA.prototype.writeByte=function(r){this.cursor>=hA.pageSize&&this.newPage(),this.pages[this.page][this.cursor++]=r};hA.prototype.writeUTFBytes=function(r){for(var A=r.length,e=0;e=0&&(this.dispose=r)};X.prototype.setRepeat=function(r){this.repeat=r};X.prototype.setTransparent=function(r){this.transparent=r};X.prototype.addFrame=function(r){this.image=r,this.colorTab=this.globalPalette&&this.globalPalette.slice?this.globalPalette:null,this.getImagePixels(),this.analyzePixels(),this.globalPalette===!0&&(this.globalPalette=this.colorTab),this.firstFrame&&(this.writeHeader(),this.writeLSD(),this.writePalette(),this.repeat>=0&&this.writeNetscapeExt()),this.writeGraphicCtrlExt(),this.writeImageDesc(),!this.firstFrame&&!this.globalPalette&&this.writePalette(),this.writePixels(),this.firstFrame=!1};X.prototype.finish=function(){this.out.writeByte(59)};X.prototype.setQuality=function(r){r<1&&(r=1),this.sample=r};X.prototype.setDither=function(r){r===!0&&(r="FloydSteinberg"),this.dither=r};X.prototype.setGlobalPalette=function(r){this.globalPalette=r};X.prototype.getGlobalPalette=function(){return this.globalPalette&&this.globalPalette.slice&&this.globalPalette.slice(0)||this.globalPalette};X.prototype.writeHeader=function(){this.out.writeUTFBytes("GIF89a")};X.prototype.analyzePixels=function(){this.colorTab||(this.neuQuant=new Ta(this.pixels,this.sample),this.neuQuant.buildColormap(),this.colorTab=this.neuQuant.getColormap()),this.dither?this.ditherPixels(this.dither.replace("-serpentine",""),this.dither.match(/-serpentine/)!==null):this.indexPixels(),this.pixels=null,this.colorDepth=8,this.palSize=7,this.transparent!==null&&(this.transIndex=this.findClosest(this.transparent,!0))};X.prototype.indexPixels=function(r){var A=this.pixels.length/3;this.indexedPixels=new Uint8Array(A);for(var e=0,t=0;t=0&&v+l=0&&I+o>16,(r&65280)>>8,r&255,A)};X.prototype.findClosestRGB=function(r,A,e,t){if(this.colorTab===null)return-1;if(this.neuQuant&&!t)return this.neuQuant.lookupRGB(r,A,e);for(var n=0,s=256*256*256,i=this.colorTab.length,a=0,B=0;a=0&&(A=this.dispose&7),A<<=2,this.out.writeByte(0|A|0|r),this.writeShort(this.delay),this.out.writeByte(this.transIndex),this.out.writeByte(0)};X.prototype.writeImageDesc=function(){this.out.writeByte(44),this.writeShort(0),this.writeShort(0),this.writeShort(this.width),this.writeShort(this.height),this.firstFrame||this.globalPalette?this.out.writeByte(0):this.out.writeByte(128|this.palSize)};X.prototype.writeLSD=function(){this.writeShort(this.width),this.writeShort(this.height),this.out.writeByte(240|this.palSize),this.out.writeByte(0),this.out.writeByte(0)};X.prototype.writeNetscapeExt=function(){this.out.writeByte(33),this.out.writeByte(255),this.out.writeByte(11),this.out.writeUTFBytes("NETSCAPE2.0"),this.out.writeByte(3),this.out.writeByte(1),this.writeShort(this.repeat),this.out.writeByte(0)};X.prototype.writePalette=function(){this.out.writeBytes(this.colorTab);for(var r=3*256-this.colorTab.length,A=0;A>8&255)};X.prototype.writePixels=function(){var r=new Ma(this.width,this.height,this.indexedPixels,this.colorDepth);r.encode(this.out)};X.prototype.stream=function(){return this.out};var Oa=globalThis&&globalThis.__awaiter||function(r,A,e,t){function n(s){return s instanceof e?s:new e(function(i){i(s)})}return new(e||(e=Promise))(function(s,i){function a(l){try{o(t.next(l))}catch(c){i(c)}}function B(l){try{o(t.throw(l))}catch(c){i(c)}}function o(l){l.done?s(l.value):n(l.value).then(a,B)}o((t=t.apply(r,A||[])).next())})};const{Canvas:RA}=sa,$e=.4;function Cn(r){if(!r)return;function A(e){e.onload=null,e.onerror=null}return new Promise(function(e,t){if(r.slice(0,4)=="data"){let s=new Image;s.onload=function(){e(s),A(s)},s.onerror=function(){t("Image load error"),A(s)},s.src=r;return}let n=new Image;n.setAttribute("crossOrigin","Anonymous"),n.onload=function(){e(n)},n.onerror=function(){t("Image load error")},n.src=r})}class V{constructor(A){const e=Object.assign({},A);if(Object.keys(V.defaultOptions).forEach(t=>{t in e||Object.defineProperty(e,t,{value:V.defaultOptions[t],enumerable:!0,writable:!0})}),e.components?typeof e.components=="object"&&Object.keys(V.defaultComponentOptions).forEach(t=>{t in e.components?Object.defineProperty(e.components,t,{value:Object.assign(Object.assign({},V.defaultComponentOptions[t]),e.components[t]),enumerable:!0,writable:!0}):Object.defineProperty(e.components,t,{value:V.defaultComponentOptions[t],enumerable:!0,writable:!0})}):e.components=V.defaultComponentOptions,e.dotScale!==null&&e.dotScale!==void 0){if(e.dotScale<=0||e.dotScale>1)throw new Error("dotScale should be in range (0, 1].");e.components.data.scale=e.dotScale,e.components.timing.scale=e.dotScale,e.components.alignment.scale=e.dotScale}this.options=e,this.canvas=new RA(A.size,A.size),this.canvasContext=this.canvas.getContext("2d"),this.qrCode=new zA(-1,this.options.correctLevel),Number.isInteger(this.options.maskPattern)&&(this.qrCode.maskPattern=this.options.maskPattern),Number.isInteger(this.options.version)&&(this.qrCode.typeNumber=this.options.version),this.qrCode.addData(this.options.text),this.qrCode.make()}draw(){return new Promise(A=>this._draw().then(A))}_clear(){this.canvasContext.clearRect(0,0,this.canvas.width,this.canvas.height)}static _prepareRoundedCornerClip(A,e,t,n,s,i){A.beginPath(),A.moveTo(e,t),A.arcTo(e+n,t,e+n,t+s,i),A.arcTo(e+n,t+s,e,t+s,i),A.arcTo(e,t+s,e,t,i),A.arcTo(e,t,e+n,t,i),A.closePath()}static _getAverageRGB(A){const t={r:0,g:0,b:0};let n,s,i=-4;const a={r:0,g:0,b:0};let B=0;s=A.naturalHeight||A.height,n=A.naturalWidth||A.width;const l=new RA(n,s).getContext("2d");if(!l)return t;l.drawImage(A,0,0);let c;try{c=l.getImageData(0,0,n,s)}catch(g){return t}for(;(i+=5*4)200||c.data[i+1]>200||c.data[i+2]>200||(++B,a.r+=c.data[i],a.g+=c.data[i+1],a.b+=c.data[i+2]);return a.r=~~(a.r/B),a.g=~~(a.g/B),a.b=~~(a.b/B),a}static _drawDot(A,e,t,n,s=0,i=1){A.fillRect((e+s)*n,(t+s)*n,i*n,i*n)}static _drawAlignProtector(A,e,t,n){A.clearRect((e-2)*n,(t-2)*n,5*n,5*n),A.fillRect((e-2)*n,(t-2)*n,5*n,5*n)}static _drawAlign(A,e,t,n,s=0,i=1,a,B){const o=A.fillStyle;A.fillStyle=a,new Array(4).fill(0).map((l,c)=>{V._drawDot(A,e-2+c,t-2,n,s,i),V._drawDot(A,e+2,t-2+c,n,s,i),V._drawDot(A,e+2-c,t+2,n,s,i),V._drawDot(A,e-2,t+2-c,n,s,i)}),V._drawDot(A,e,t,n,s,i),B||(A.fillStyle="rgba(255, 255, 255, 0.6)",new Array(2).fill(0).map((l,c)=>{V._drawDot(A,e-1+c,t-1,n,s,i),V._drawDot(A,e+1,t-1+c,n,s,i),V._drawDot(A,e+1-c,t+1,n,s,i),V._drawDot(A,e-1,t+1-c,n,s,i)})),A.fillStyle=o}_draw(){var A,e,t,n,s,i,a,B,o,l,c,g,C,Q,F,L,f,w,H;return Oa(this,void 0,void 0,function*(){const h=(A=this.qrCode)===null||A===void 0?void 0:A.moduleCount,d=this.options.size;let u=this.options.margin;(u<0||u*2>=d)&&(u=0);const p=Math.ceil(u),v=d-2*u,I=this.options.whiteMargin,x=this.options.backgroundDimming,U=Math.ceil(v/h),S=U*h,E=S+2*p,D=new RA(E,E),m=D.getContext("2d");this._clear(),m.save(),m.translate(p,p);const z=new RA(E,E),M=z.getContext("2d");let tA=null,rA=[];if(this.options.gifBackground){const K=ha(this.options.gifBackground);if(tA=K,rA=Fa(K,!0),this.options.autoColor){let T=0,O=0,G=0,iA=0;for(let Y=0;Y200||Z[1]>200||Z[2]>200||Z[0]===0&&Z[1]===0&&Z[2]===0||(iA++,T+=Z[0],O+=Z[1],G+=Z[2])}T=~~(T/iA),O=~~(O/iA),G=~~(G/iA),this.options.colorDark="rgb(".concat(T,",").concat(O,",").concat(G,")")}}else if(this.options.backgroundImage){const K=yield Cn(this.options.backgroundImage);if(this.options.autoColor){const T=V._getAverageRGB(K);this.options.colorDark="rgb(".concat(T.r,",").concat(T.g,",").concat(T.b,")")}M.drawImage(K,0,0,K.width,K.height,0,0,E,E),M.rect(0,0,E,E),M.fillStyle=x,M.fill()}else M.rect(0,0,E,E),M.fillStyle=this.options.colorLight,M.fill();const N=k.getPatternPosition(this.qrCode.typeNumber),nA=((t=(e=this.options.components)===null||e===void 0?void 0:e.data)===null||t===void 0?void 0:t.scale)||$e,bA=(1-nA)*.5;for(let K=0;K=h-8)||T>=h-8&&K<8,iA=K==6&&T>=8&&T<=h-8||T==6&&K>=8&&K<=h-8;let Y=G||iA;for(let uA=1;uA=N[uA]-2&&K<=N[uA]+2&&T>=N[uA]-2&&T<=N[uA]+2;const Z=T*U+(Y?0:bA*U),IA=K*U+(Y?0:bA*U);if(m.strokeStyle=O?this.options.colorDark:this.options.colorLight,m.lineWidth=.5,m.fillStyle=O?this.options.colorDark:this.options.colorLight,N.length===0)Y||m.fillRect(Z,IA,(Y?1:nA)*U,(Y?1:nA)*U);else{const uA=T=h-4-5&&K=h-4-5;!Y&&!uA&&m.fillRect(Z,IA,(Y?1:nA)*U,(Y?1:nA)*U)}}const j=N[N.length-1],MA=this.options.colorLight;if(m.fillStyle=MA,m.fillRect(0,0,8*U,8*U),m.fillRect(0,(h-8)*U,8*U,8*U),m.fillRect((h-8)*U,0,8*U,8*U),!((s=(n=this.options.components)===null||n===void 0?void 0:n.timing)===null||s===void 0)&&s.protectors&&(m.fillRect(8*U,6*U,(h-8-8)*U,U),m.fillRect(6*U,8*U,U,(h-8-8)*U)),!((a=(i=this.options.components)===null||i===void 0?void 0:i.cornerAlignment)===null||a===void 0)&&a.protectors&&V._drawAlignProtector(m,j,j,U),!((o=(B=this.options.components)===null||B===void 0?void 0:B.alignment)===null||o===void 0)&&o.protectors)for(let K=0;K=1)&&(T=.2),O<0&&(O=0),G<0&&(G=0);const iA=S*T,Y=.5*(E-iA),Z=Y;m.restore(),m.fillStyle=this.options.logoBackgroundColor,m.save(),V._prepareRoundedCornerClip(m,Y-O,Z-O,iA+2*O,iA+2*O,G+O),m.clip();const IA=m.globalCompositeOperation;m.globalCompositeOperation="destination-out",m.fill(),m.globalCompositeOperation=IA,m.restore(),m.save(),V._prepareRoundedCornerClip(m,Y,Z,iA,iA,G),m.clip(),m.drawImage(K,Y,Z,iA,iA),m.restore(),m.save(),m.translate(p,p)}if(tA){let K,T,O,G,iA,Y;if(rA.forEach(function(Z){K||(K=new X(d,d),K.setDelay(Z.delay),K.setRepeat(0));const{width:IA,height:uA}=Z.dims;T||(T=new RA(IA,uA),O=T.getContext("2d"),O.rect(0,0,T.width,T.height),O.fillStyle="#ffffff",O.fill()),(!G||!Y||IA!==G.width||uA!==G.height)&&(G=new RA(IA,uA),iA=G.getContext("2d"),Y=iA.createImageData(IA,uA)),Y.data.set(Z.patch),iA.putImageData(Y,0,0),O.drawImage(G.getContext("2d").canvas,Z.dims.left,Z.dims.top);const Ze=new RA(E,E),He=Ze.getContext("2d");He.drawImage(T.getContext("2d").canvas,0,0,E,E),He.rect(0,0,E,E),He.fillStyle=x,He.fill(),He.drawImage(D.getContext("2d").canvas,0,0,E,E);const jt=new RA(d,d),an=jt.getContext("2d");an.drawImage(Ze.getContext("2d").canvas,0,0,d,d),K.addFrame(an.getImageData(0,0,jt.width,jt.height).data)}),!K)throw new Error("No frames.");if(K.finish(),Un(this.canvas)){const IA=K.stream().toFlattenUint8Array().reduce((uA,Ze)=>uA+String.fromCharCode(Ze),"");return Promise.resolve("data:image/gif;base64,".concat(window.btoa(IA)))}return Promise.resolve(Buffer.from(K.stream().toFlattenUint8Array()))}else{M.drawImage(D.getContext("2d").canvas,0,0,E,E),m.drawImage(z.getContext("2d").canvas,-p,-p,E,E);const K=new RA(d,d);K.getContext("2d").drawImage(D.getContext("2d").canvas,0,0,d,d),this.canvas=K;const O=this.options.gifBackground?"gif":"png";return Un(this.canvas)?Promise.resolve(this.canvas.toDataURL(O)):Promise.resolve(this.canvas.toBuffer(O))}})}}V.CorrectLevel=wA;V.defaultComponentOptions={data:{scale:.4},timing:{scale:.5,protectors:!1},alignment:{scale:.5,protectors:!1},cornerAlignment:{scale:.5,protectors:!0}};V.defaultOptions={text:"",size:400,margin:20,colorDark:"#000000",colorLight:"rgba(255, 255, 255, 0.6)",correctLevel:wA.M,backgroundImage:void 0,backgroundDimming:"rgba(0,0,0,0)",logoImage:void 0,logoScale:.2,logoMargin:4,logoCornerRadius:8,whiteMargin:!0,components:V.defaultComponentOptions,autoColor:!0,logoBackgroundColor:"#ffffff",backgroundColor:"#ffffff"};function Un(r){try{return r instanceof HTMLElement}catch(A){return typeof r=="object"&&r.nodeType===1&&typeof r.style=="object"&&typeof r.ownerDocument=="object"}}function Fn(r){return r===""?r:r==="true"||r=="1"}function Ra(r){return new Promise(A=>{const e=new XMLHttpRequest;e.responseType="blob",e.onload=function(){const t=new FileReader;t.onloadend=function(){A(t.result)},t.readAsArrayBuffer(e.response)},e.open("GET",r),e.send()})}const fu=Mi({name:"TheQrCode",props:{text:{type:String,required:!0},qid:{type:String},correctLevel:{type:Number,default:0},size:{type:Number,default:220},margin:{type:Number,default:20},colorDark:{type:String,default:"#000000"},colorLight:{type:String,default:"#FFFFFF"},bgSrc:{type:String,default:void 0},background:{type:String,default:"rgba(0,0,0,0)"},backgroundDimming:{type:String,default:"rgba(0,0,0,0)"},logoSrc:{type:String,default:void 0},logoBackgroundColor:{type:String,default:"rgba(255,255,255,1)"},gifBgSrc:{type:String,default:void 0},logoScale:{type:Number,default:.2},logoMargin:{type:Number,default:0},logoCornerRadius:{type:Number,default:8},whiteMargin:{type:[Boolean,String],default:!0},dotScale:{type:Number,default:1},autoColor:{type:[Boolean,String],default:!0},binarize:{type:[Boolean,String],default:!1},binarizeThreshold:{type:Number,default:128},callback:{type:Function,default:function(){}},bindElement:{type:Boolean,default:!0},backgroundColor:{type:String,default:"#FFFFFF"},components:{default:function(){return{data:{scale:1},timing:{scale:1,protectors:!1},alignment:{scale:1,protectors:!1},cornerAlignment:{scale:1,protectors:!0}}}}},data(){return{imgUrl:""}},watch:{$props:{deep:!0,handler(){this.main()}}},mounted(){this.main()},methods:{async main(){if(this.gifBgSrc){const e=await Ra(this.gifBgSrc),t=this.logoSrc;this.render(void 0,t,e);return}const r=this.bgSrc,A=this.logoSrc;this.render(r,A)},async render(r,A,e){console.log(r,A,e,"render====>code");const t={gifBackground:e,text:this.text,size:this.size,margin:this.margin,colorDark:this.colorDark,colorLight:this.colorLight,backgroundColor:this.backgroundColor,backgroundImage:r,backgroundDimming:this.backgroundDimming,logoScale:this.logoScale,logoBackgroundColor:this.logoBackgroundColor,correctLevel:this.correctLevel,logoMargin:this.logoMargin,logoCornerRadius:this.logoCornerRadius,whiteMargin:Fn(this.whiteMargin),dotScale:this.dotScale,autoColor:Fn(this.autoColor),components:this.components};A&&(t.logoImage=A+"?"+new Date().getTime()),new V(t).draw().then(n=>{console.log("🚀 ~ dataUri:",n),this.imgUrl=n,this.callback&&this.callback(n,this.qid)})}},render(){return Bn(Oi,null,[this.bindElement&&this.imgUrl&&Bn("img",{style:{width:on(this.size),height:on(this.size),display:"inline-block",zIndex:1e3},src:this.imgUrl},null)])}}),wu=""+new URL("btnBg-e86054d6.png",import.meta.url).href;/*! * html2canvas 1.4.1 * Copyright (c) 2022 Niklas von Hertzen * Released under MIT License *//*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */var Hr=function(r,A){return Hr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Hr(r,A)};function yA(r,A){if(typeof A!="function"&&A!==null)throw new TypeError("Class extends value "+String(A)+" is not a constructor or null");Hr(r,A);function e(){this.constructor=r}r.prototype=A===null?Object.create(A):(e.prototype=A.prototype,new e)}var Ir=function(){return Ir=Object.assign||function(A){for(var e,t=1,n=arguments.length;t0&&s[s.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!s||o[1]>s[0]&&o[1]=55296&&n<=56319&&e>10)+55296,i%1024+56320)),(n+1===e||t.length>16384)&&(s+=String.fromCharCode.apply(String,t),t.length=0)}return s},dn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Na=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var et=0;et"u"?[]:new Uint8Array(256);for(var tt=0;tt>4,l[n++]=(i&15)<<4|a>>2,l[n++]=(a&3)<<6|B&63;return o},Pa=function(r){for(var A=r.length,e=[],t=0;t>Be,Xa=1<>Be,Ya=Ks+Ja,Wa=Ya,Za=32,za=Wa+Za,ja=65536>>qr,qa=1<<_a,$a=qa-1,En=function(r,A,e){return r.slice?r.slice(A,e):new Uint16Array(Array.prototype.slice.call(r,A,e))},AB=function(r,A,e){return r.slice?r.slice(A,e):new Uint32Array(Array.prototype.slice.call(r,A,e))},eB=function(r,A){var e=Va(r),t=Array.isArray(e)?ka(e):new Uint32Array(e),n=Array.isArray(e)?Pa(e):new Uint16Array(e),s=24,i=En(n,s/2,t[4]/2),a=t[5]===2?En(n,(s+t[4])/2):AB(t,Math.ceil((s+t[4])/4));return new tB(t[0],t[1],t[2],t[3],i,a)},tB=function(){function r(A,e,t,n,s,i){this.initialValue=A,this.errorValue=e,this.highStart=t,this.highValueIndex=n,this.index=s,this.data=i}return r.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=this.index[A>>Be],e=(e<>Be)],e=(e<>qr),e=this.index[e],e+=A>>Be&$a,e=this.index[e],e=(e<"u"?[]:new Uint8Array(256);for(var rt=0;rtHn?(n.push(!0),a-=Hn):n.push(!1),["normal","auto","loose"].indexOf(A)!==-1&&[8208,8211,12316,12448].indexOf(s)!==-1)return t.push(i),e.push(br);if(a===iB||a===mr){if(i===0)return t.push(i),e.push(ne);var B=e[i-1];return fB.indexOf(B)===-1?(t.push(t[i-1]),e.push(B)):(t.push(i),e.push(ne))}if(t.push(i),a===cB)return e.push(A==="strict"?Lr:_e);if(a===Ss||a===lB)return e.push(ne);if(a===gB)return s>=131072&&s<=196605||s>=196608&&s<=262141?e.push(_e):e.push(ne);e.push(a)}),[t,e,n]},ir=function(r,A,e,t){var n=t[e];if(Array.isArray(r)?r.indexOf(n)!==-1:r===n)for(var s=e;s<=t.length;){s++;var i=t[s];if(i===A)return!0;if(i!==jA)break}if(n===jA)for(var s=e;s>0;){s--;var a=t[s];if(Array.isArray(r)?r.indexOf(a)!==-1:r===a)for(var B=e;B<=t.length;){B++;var i=t[B];if(i===A)return!0;if(i!==jA)break}if(a!==jA)break}return!1},xn=function(r,A){for(var e=r;e>=0;){var t=A[e];if(t===jA)e--;else return t}return 0},hB=function(r,A,e,t,n){if(e[t]===0)return R;var s=t-1;if(Array.isArray(n)&&n[s]===!0)return R;var i=s-1,a=s+1,B=A[s],o=i>=0?A[i]:0,l=A[a];if(B===xs&&l===Ds)return R;if(Mr.indexOf(B)!==-1)return Ms;if(Mr.indexOf(l)!==-1||Os.indexOf(l)!==-1)return R;if(xn(s,A)===Ts)return at;if(Sr.get(r[s])===mr||(B===st||B===it)&&Sr.get(r[a])===mr||B===In||l===In||B===mn||[jA,yr,De].indexOf(B)===-1&&l===mn||[nt,me,oB,ge,ue].indexOf(l)!==-1||xn(s,A)===ye||ir(nr,ye,s,A)||ir([nt,me],Lr,s,A)||ir(yn,yn,s,A))return R;if(B===jA)return at;if(B===nr||l===nr)return R;if(l===br||B===br)return at;if([yr,De,Lr].indexOf(l)!==-1||B===BB||o===Dr&&wB.indexOf(B)!==-1||B===ue&&l===Dr||l===bn||GA.indexOf(l)!==-1&&B===FA||GA.indexOf(B)!==-1&&l===FA||B===Se&&[_e,st,it].indexOf(l)!==-1||[_e,st,it].indexOf(B)!==-1&&l===Te||GA.indexOf(B)!==-1&&Ln.indexOf(l)!==-1||Ln.indexOf(B)!==-1&&GA.indexOf(l)!==-1||[Se,Te].indexOf(B)!==-1&&(l===FA||[ye,De].indexOf(l)!==-1&&A[a+1]===FA)||[ye,De].indexOf(B)!==-1&&l===FA||B===FA&&[FA,ue,ge].indexOf(l)!==-1)return R;if([FA,ue,ge,nt,me].indexOf(l)!==-1)for(var c=s;c>=0;){var g=A[c];if(g===FA)return R;if([ue,ge].indexOf(g)!==-1)c--;else break}if([Se,Te].indexOf(l)!==-1)for(var c=[nt,me].indexOf(B)!==-1?i:s;c>=0;){var g=A[c];if(g===FA)return R;if([ue,ge].indexOf(g)!==-1)c--;else break}if(Tr===B&&[Tr,Et,Kr,xr].indexOf(l)!==-1||[Et,Kr].indexOf(B)!==-1&&[Et,vt].indexOf(l)!==-1||[vt,xr].indexOf(B)!==-1&&l===vt||Kn.indexOf(B)!==-1&&[bn,Te].indexOf(l)!==-1||Kn.indexOf(l)!==-1&&B===Se||GA.indexOf(B)!==-1&&GA.indexOf(l)!==-1||B===ge&&GA.indexOf(l)!==-1||GA.concat(FA).indexOf(B)!==-1&&l===ye&&uB.indexOf(r[a])===-1||GA.concat(FA).indexOf(l)!==-1&&B===me)return R;if(B===sr&&l===sr){for(var C=e[s],Q=1;C>0&&(C--,A[C]===sr);)Q++;if(Q%2!==0)return R}return B===st&&l===it?R:at},CB=function(r,A){A||(A={lineBreak:"normal",wordBreak:"normal"});var e=QB(r,A.lineBreak),t=e[0],n=e[1],s=e[2];(A.wordBreak==="break-all"||A.wordBreak==="break-word")&&(n=n.map(function(a){return[FA,ne,Ss].indexOf(a)!==-1?_e:a}));var i=A.wordBreak==="keep-all"?s.map(function(a,B){return a&&r[B]>=19968&&r[B]<=40959}):void 0;return[t,n,i]},UB=function(){function r(A,e,t,n){this.codePoints=A,this.required=e===Ms,this.start=t,this.end=n}return r.prototype.slice=function(){return AA.apply(void 0,this.codePoints.slice(this.start,this.end))},r}(),FB=function(r,A){var e=Pt(r),t=CB(e,A),n=t[0],s=t[1],i=t[2],a=e.length,B=0,o=0;return{next:function(){if(o>=a)return{done:!0,value:null};for(var l=R;o=Rs&&r<=57},Ao=function(r){return r>=55296&&r<=57343},fe=function(r){return gA(r)||r>=Vs&&r<=ks||r>=Gs&&r<=ZB},eo=function(r){return r>=Gs&&r<=jB},to=function(r){return r>=Vs&&r<=$B},ro=function(r){return eo(r)||to(r)},no=function(r){return r>=GB},gt=function(r){return r===mt||r===EB||r===vB},yt=function(r){return ro(r)||no(r)||r===yB},On=function(r){return yt(r)||gA(r)||r===QA},so=function(r){return r>=kB&&r<=_B||r===XB||r>=JB&&r<=YB||r===WB},ZA=function(r,A){return r!==Ge?!1:A!==mt},ut=function(r,A,e){return r===QA?yt(A)||ZA(A,e):yt(r)?!0:!!(r===Ge&&ZA(r,A))},Br=function(r,A,e){return r===ie||r===QA?gA(A)?!0:A===Xe&&gA(e):gA(r===Xe?A:r)},io=function(r){var A=0,e=1;(r[A]===ie||r[A]===QA)&&(r[A]===QA&&(e=-1),A++);for(var t=[];gA(r[A]);)t.push(r[A++]);var n=t.length?parseInt(AA.apply(void 0,t),10):0;r[A]===Xe&&A++;for(var s=[];gA(r[A]);)s.push(r[A++]);var i=s.length,a=i?parseInt(AA.apply(void 0,s),10):0;(r[A]===Ps||r[A]===Ns)&&A++;var B=1;(r[A]===ie||r[A]===QA)&&(r[A]===QA&&(B=-1),A++);for(var o=[];gA(r[A]);)o.push(r[A++]);var l=o.length?parseInt(AA.apply(void 0,o),10):0;return e*(n+a*Math.pow(10,-i))*Math.pow(10,B*l)},ao={type:2},Bo={type:3},oo={type:4},lo={type:13},co={type:8},go={type:21},uo={type:9},fo={type:10},wo={type:11},Qo={type:12},ho={type:14},ft={type:23},Co={type:1},Uo={type:25},Fo={type:24},po={type:26},Eo={type:27},vo={type:28},Ho={type:29},Io={type:31},Or={type:32},_s=function(){function r(){this._value=[]}return r.prototype.write=function(A){this._value=this._value.concat(Pt(A))},r.prototype.read=function(){for(var A=[],e=this.consumeToken();e!==Or;)A.push(e),e=this.consumeToken();return A},r.prototype.consumeToken=function(){var A=this.consumeCodePoint();switch(A){case Bt:return this.consumeStringToken(Bt);case HB:var e=this.peekCodePoint(0),t=this.peekCodePoint(1),n=this.peekCodePoint(2);if(On(e)||ZA(t,n)){var s=ut(e,t,n)?pB:dB,i=this.consumeName();return{type:5,value:i,flags:s}}break;case IB:if(this.peekCodePoint(0)===be)return this.consumeCodePoint(),lo;break;case ot:return this.consumeStringToken(ot);case lt:return ao;case Le:return Bo;case ar:if(this.peekCodePoint(0)===be)return this.consumeCodePoint(),ho;break;case ie:if(Br(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case NB:return oo;case QA:var a=A,B=this.peekCodePoint(0),o=this.peekCodePoint(1);if(Br(a,B,o))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(ut(a,B,o))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(B===QA&&o===KB)return this.consumeCodePoint(),this.consumeCodePoint(),Fo;break;case Xe:if(Br(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case Tn:if(this.peekCodePoint(0)===ar)for(this.consumeCodePoint();;){var l=this.consumeCodePoint();if(l===ar&&(l=this.consumeCodePoint(),l===Tn))return this.consumeToken();if(l===KA)return this.consumeToken()}break;case VB:return po;case PB:return Eo;case LB:if(this.peekCodePoint(0)===bB&&this.peekCodePoint(1)===QA&&this.peekCodePoint(2)===QA)return this.consumeCodePoint(),this.consumeCodePoint(),Uo;break;case xB:var c=this.peekCodePoint(0),g=this.peekCodePoint(1),C=this.peekCodePoint(2);if(ut(c,g,C)){var i=this.consumeName();return{type:7,value:i}}break;case DB:return vo;case Ge:if(ZA(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case TB:return Ho;case SB:if(this.peekCodePoint(0)===be)return this.consumeCodePoint(),co;break;case MB:return wo;case OB:return Qo;case zB:case qB:var Q=this.peekCodePoint(0),F=this.peekCodePoint(1);return Q===ie&&(fe(F)||F===ct)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case Sn:if(this.peekCodePoint(0)===be)return this.consumeCodePoint(),uo;if(this.peekCodePoint(0)===Sn)return this.consumeCodePoint(),go;break;case RB:if(this.peekCodePoint(0)===be)return this.consumeCodePoint(),fo;break;case KA:return Or}return gt(A)?(this.consumeWhiteSpace(),Io):gA(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):yt(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:AA(A)}},r.prototype.consumeCodePoint=function(){var A=this._value.shift();return typeof A>"u"?-1:A},r.prototype.reconsumeCodePoint=function(A){this._value.unshift(A)},r.prototype.peekCodePoint=function(A){return A>=this._value.length?-1:this._value[A]},r.prototype.consumeUnicodeRangeToken=function(){for(var A=[],e=this.consumeCodePoint();fe(e)&&A.length<6;)A.push(e),e=this.consumeCodePoint();for(var t=!1;e===ct&&A.length<6;)A.push(e),e=this.consumeCodePoint(),t=!0;if(t){var n=parseInt(AA.apply(void 0,A.map(function(B){return B===ct?Rs:B})),16),s=parseInt(AA.apply(void 0,A.map(function(B){return B===ct?ks:B})),16);return{type:30,start:n,end:s}}var i=parseInt(AA.apply(void 0,A),16);if(this.peekCodePoint(0)===QA&&fe(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();for(var a=[];fe(e)&&a.length<6;)a.push(e),e=this.consumeCodePoint();var s=parseInt(AA.apply(void 0,a),16);return{type:30,start:i,end:s}}else return{type:30,start:i,end:i}},r.prototype.consumeIdentLikeToken=function(){var A=this.consumeName();return A.toLowerCase()==="url"&&this.peekCodePoint(0)===lt?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===lt?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}},r.prototype.consumeUrlToken=function(){var A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===KA)return{type:22,value:""};var e=this.peekCodePoint(0);if(e===ot||e===Bt){var t=this.consumeStringToken(this.consumeCodePoint());return t.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===KA||this.peekCodePoint(0)===Le)?(this.consumeCodePoint(),{type:22,value:t.value}):(this.consumeBadUrlRemnants(),ft)}for(;;){var n=this.consumeCodePoint();if(n===KA||n===Le)return{type:22,value:AA.apply(void 0,A)};if(gt(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===KA||this.peekCodePoint(0)===Le?(this.consumeCodePoint(),{type:22,value:AA.apply(void 0,A)}):(this.consumeBadUrlRemnants(),ft);if(n===Bt||n===ot||n===lt||so(n))return this.consumeBadUrlRemnants(),ft;if(n===Ge)if(ZA(n,this.peekCodePoint(0)))A.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),ft;else A.push(n)}},r.prototype.consumeWhiteSpace=function(){for(;gt(this.peekCodePoint(0));)this.consumeCodePoint()},r.prototype.consumeBadUrlRemnants=function(){for(;;){var A=this.consumeCodePoint();if(A===Le||A===KA)return;ZA(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},r.prototype.consumeStringSlice=function(A){for(var e=5e4,t="";A>0;){var n=Math.min(e,A);t+=AA.apply(void 0,this._value.splice(0,n)),A-=n}return this._value.shift(),t},r.prototype.consumeStringToken=function(A){var e="",t=0;do{var n=this._value[t];if(n===KA||n===void 0||n===A)return e+=this.consumeStringSlice(t),{type:0,value:e};if(n===mt)return this._value.splice(0,t),Co;if(n===Ge){var s=this._value[t+1];s!==KA&&s!==void 0&&(s===mt?(e+=this.consumeStringSlice(t),t=-1,this._value.shift()):ZA(n,s)&&(e+=this.consumeStringSlice(t),e+=AA(this.consumeEscapedCodePoint()),t=-1))}t++}while(!0)},r.prototype.consumeNumber=function(){var A=[],e=Ye,t=this.peekCodePoint(0);for((t===ie||t===QA)&&A.push(this.consumeCodePoint());gA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());t=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(t===Xe&&gA(n))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=Dn;gA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());t=this.peekCodePoint(0),n=this.peekCodePoint(1);var s=this.peekCodePoint(2);if((t===Ps||t===Ns)&&((n===ie||n===QA)&&gA(s)||gA(n)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=Dn;gA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[io(A),e]},r.prototype.consumeNumericToken=function(){var A=this.consumeNumber(),e=A[0],t=A[1],n=this.peekCodePoint(0),s=this.peekCodePoint(1),i=this.peekCodePoint(2);if(ut(n,s,i)){var a=this.consumeName();return{type:15,number:e,flags:t,unit:a}}return n===mB?(this.consumeCodePoint(),{type:16,number:e,flags:t}):{type:17,number:e,flags:t}},r.prototype.consumeEscapedCodePoint=function(){var A=this.consumeCodePoint();if(fe(A)){for(var e=AA(A);fe(this.peekCodePoint(0))&&e.length<6;)e+=AA(this.consumeCodePoint());gt(this.peekCodePoint(0))&&this.consumeCodePoint();var t=parseInt(e,16);return t===0||Ao(t)||t>1114111?Mn:t}return A===KA?Mn:A},r.prototype.consumeName=function(){for(var A="";;){var e=this.consumeCodePoint();if(On(e))A+=AA(e);else if(ZA(e,this.peekCodePoint(0)))A+=AA(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(e),A}},r}(),Xs=function(){function r(A){this._tokens=A}return r.create=function(A){var e=new _s;return e.write(A),new r(e.read())},r.parseValue=function(A){return r.create(A).parseComponentValue()},r.parseValues=function(A){return r.create(A).parseComponentValues()},r.prototype.parseComponentValue=function(){for(var A=this.consumeToken();A.type===31;)A=this.consumeToken();if(A.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);var e=this.consumeComponentValue();do A=this.consumeToken();while(A.type===31);if(A.type===32)return e;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},r.prototype.parseComponentValues=function(){for(var A=[];;){var e=this.consumeComponentValue();if(e.type===32)return A;A.push(e),A.push()}},r.prototype.consumeComponentValue=function(){var A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A},r.prototype.consumeSimpleBlock=function(A){for(var e={type:A,values:[]},t=this.consumeToken();;){if(t.type===32||yo(t,A))return e;this.reconsumeToken(t),e.values.push(this.consumeComponentValue()),t=this.consumeToken()}},r.prototype.consumeFunction=function(A){for(var e={name:A.value,values:[],type:18};;){var t=this.consumeToken();if(t.type===32||t.type===3)return e;this.reconsumeToken(t),e.values.push(this.consumeComponentValue())}},r.prototype.consumeToken=function(){var A=this._tokens.shift();return typeof A>"u"?Or:A},r.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},r}(),We=function(r){return r.type===15},ve=function(r){return r.type===17},_=function(r){return r.type===20},mo=function(r){return r.type===0},Rr=function(r,A){return _(r)&&r.value===A},Js=function(r){return r.type!==31},Ee=function(r){return r.type!==31&&r.type!==4},TA=function(r){var A=[],e=[];return r.forEach(function(t){if(t.type===4){if(e.length===0)throw new Error("Error parsing function args, zero tokens for arg");A.push(e),e=[];return}t.type!==31&&e.push(t)}),e.length&&A.push(e),A},yo=function(r,A){return A===11&&r.type===12||A===28&&r.type===29?!0:A===2&&r.type===3},te=function(r){return r.type===17||r.type===15},eA=function(r){return r.type===16||te(r)},Ys=function(r){return r.length>1?[r[0],r[1]]:[r[0]]},lA={type:17,number:0,flags:Ye},$r={type:16,number:50,flags:Ye},qA={type:16,number:100,flags:Ye},Me=function(r,A,e){var t=r[0],n=r[1];return[J(t,A),J(typeof n<"u"?n:t,e)]},J=function(r,A){if(r.type===16)return r.number/100*A;if(We(r))switch(r.unit){case"rem":case"em":return 16*r.number;case"px":default:return r.number}return r.number},Ws="deg",Zs="grad",zs="rad",js="turn",kt={name:"angle",parse:function(r,A){if(A.type===15)switch(A.unit){case Ws:return Math.PI*A.number/180;case Zs:return Math.PI/200*A.number;case zs:return A.number;case js:return Math.PI*2*A.number}throw new Error("Unsupported angle type")}},qs=function(r){return r.type===15&&(r.unit===Ws||r.unit===Zs||r.unit===zs||r.unit===js)},$s=function(r){var A=r.filter(_).map(function(e){return e.value}).join(" ");switch(A){case"to bottom right":case"to right bottom":case"left top":case"top left":return[lA,lA];case"to top":case"bottom":return EA(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[lA,qA];case"to right":case"left":return EA(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[qA,qA];case"to bottom":case"top":return EA(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[qA,lA];case"to left":case"right":return EA(270)}return 0},EA=function(r){return Math.PI*r/180},Ae={name:"color",parse:function(r,A){if(A.type===18){var e=bo[A.name];if(typeof e>"u")throw new Error('Attempting to parse an unsupported color function "'+A.name+'"');return e(r,A.values)}if(A.type===5){if(A.value.length===3){var t=A.value.substring(0,1),n=A.value.substring(1,2),s=A.value.substring(2,3);return $A(parseInt(t+t,16),parseInt(n+n,16),parseInt(s+s,16),1)}if(A.value.length===4){var t=A.value.substring(0,1),n=A.value.substring(1,2),s=A.value.substring(2,3),i=A.value.substring(3,4);return $A(parseInt(t+t,16),parseInt(n+n,16),parseInt(s+s,16),parseInt(i+i,16)/255)}if(A.value.length===6){var t=A.value.substring(0,2),n=A.value.substring(2,4),s=A.value.substring(4,6);return $A(parseInt(t,16),parseInt(n,16),parseInt(s,16),1)}if(A.value.length===8){var t=A.value.substring(0,2),n=A.value.substring(2,4),s=A.value.substring(4,6),i=A.value.substring(6,8);return $A(parseInt(t,16),parseInt(n,16),parseInt(s,16),parseInt(i,16)/255)}}if(A.type===20){var a=kA[A.value.toUpperCase()];if(typeof a<"u")return a}return kA.TRANSPARENT}},ee=function(r){return(255&r)===0},aA=function(r){var A=255&r,e=255&r>>8,t=255&r>>16,n=255&r>>24;return A<255?"rgba("+n+","+t+","+e+","+A/255+")":"rgb("+n+","+t+","+e+")"},$A=function(r,A,e,t){return(r<<24|A<<16|e<<8|Math.round(t*255)<<0)>>>0},Rn=function(r,A){if(r.type===17)return r.number;if(r.type===16){var e=A===3?1:255;return A===3?r.number/100*e:Math.round(r.number/100*e)}return 0},Gn=function(r,A){var e=A.filter(Ee);if(e.length===3){var t=e.map(Rn),n=t[0],s=t[1],i=t[2];return $A(n,s,i,1)}if(e.length===4){var a=e.map(Rn),n=a[0],s=a[1],i=a[2],B=a[3];return $A(n,s,i,B)}return 0};function or(r,A,e){return e<0&&(e+=1),e>=1&&(e-=1),e<1/6?(A-r)*e*6+r:e<1/2?A:e<2/3?(A-r)*6*(2/3-e)+r:r}var Nn=function(r,A){var e=A.filter(Ee),t=e[0],n=e[1],s=e[2],i=e[3],a=(t.type===17?EA(t.number):kt.parse(r,t))/(Math.PI*2),B=eA(n)?n.number/100:0,o=eA(s)?s.number/100:0,l=typeof i<"u"&&eA(i)?J(i,1):1;if(B===0)return $A(o*255,o*255,o*255,1);var c=o<=.5?o*(B+1):o+B-o*B,g=o*2-c,C=or(g,c,a+1/3),Q=or(g,c,a),F=or(g,c,a-1/3);return $A(C*255,Q*255,F*255,l)},bo={hsl:Nn,hsla:Nn,rgb:Gn,rgba:Gn},Ne=function(r,A){return Ae.parse(r,Xs.create(A).parseComponentValue())},kA={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},Lo={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(r,A){return A.map(function(e){if(_(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Ko={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},_t=function(r,A){var e=Ae.parse(r,A[0]),t=A[1];return t&&eA(t)?{color:e,stop:t}:{color:e,stop:null}},Vn=function(r,A){var e=r[0],t=r[r.length-1];e.stop===null&&(e.stop=lA),t.stop===null&&(t.stop=qA);for(var n=[],s=0,i=0;is?n.push(B):n.push(s),s=B}else n.push(null)}for(var o=null,i=0;ii.optimumDistance)?{optimumCorner:a,optimumDistance:l}:i},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},To=function(r,A,e,t,n){var s=0,i=0;switch(r.size){case 0:r.shape===0?s=i=Math.min(Math.abs(A),Math.abs(A-t),Math.abs(e),Math.abs(e-n)):r.shape===1&&(s=Math.min(Math.abs(A),Math.abs(A-t)),i=Math.min(Math.abs(e),Math.abs(e-n)));break;case 2:if(r.shape===0)s=i=Math.min(mA(A,e),mA(A,e-n),mA(A-t,e),mA(A-t,e-n));else if(r.shape===1){var a=Math.min(Math.abs(e),Math.abs(e-n))/Math.min(Math.abs(A),Math.abs(A-t)),B=Pn(t,n,A,e,!0),o=B[0],l=B[1];s=mA(o-A,(l-e)/a),i=a*s}break;case 1:r.shape===0?s=i=Math.max(Math.abs(A),Math.abs(A-t),Math.abs(e),Math.abs(e-n)):r.shape===1&&(s=Math.max(Math.abs(A),Math.abs(A-t)),i=Math.max(Math.abs(e),Math.abs(e-n)));break;case 3:if(r.shape===0)s=i=Math.max(mA(A,e),mA(A,e-n),mA(A-t,e),mA(A-t,e-n));else if(r.shape===1){var a=Math.max(Math.abs(e),Math.abs(e-n))/Math.max(Math.abs(A),Math.abs(A-t)),c=Pn(t,n,A,e,!1),o=c[0],l=c[1];s=mA(o-A,(l-e)/a),i=a*s}break}return Array.isArray(r.size)&&(s=J(r.size[0],t),i=r.size.length===2?J(r.size[1],n):s),[s,i]},So=function(r,A){var e=EA(180),t=[];return TA(A).forEach(function(n,s){if(s===0){var i=n[0];if(i.type===20&&i.value==="to"){e=$s(n);return}else if(qs(i)){e=kt.parse(r,i);return}}var a=_t(r,n);t.push(a)}),{angle:e,stops:t,type:1}},wt=function(r,A){var e=EA(180),t=[];return TA(A).forEach(function(n,s){if(s===0){var i=n[0];if(i.type===20&&["top","left","right","bottom"].indexOf(i.value)!==-1){e=$s(n);return}else if(qs(i)){e=(kt.parse(r,i)+EA(270))%EA(360);return}}var a=_t(r,n);t.push(a)}),{angle:e,stops:t,type:1}},Mo=function(r,A){var e=EA(180),t=[],n=1,s=0,i=3,a=[];return TA(A).forEach(function(B,o){var l=B[0];if(o===0){if(_(l)&&l.value==="linear"){n=1;return}else if(_(l)&&l.value==="radial"){n=2;return}}if(l.type===18){if(l.name==="from"){var c=Ae.parse(r,l.values[0]);t.push({stop:lA,color:c})}else if(l.name==="to"){var c=Ae.parse(r,l.values[0]);t.push({stop:qA,color:c})}else if(l.name==="color-stop"){var g=l.values.filter(Ee);if(g.length===2){var c=Ae.parse(r,g[1]),C=g[0];ve(C)&&t.push({stop:{type:16,number:C.number*100,flags:C.flags},color:c})}}}}),n===1?{angle:(e+EA(180))%EA(360),stops:t,type:n}:{size:i,shape:s,stops:t,position:a,type:n}},Ai="closest-side",ei="farthest-side",ti="closest-corner",ri="farthest-corner",ni="circle",si="ellipse",ii="cover",ai="contain",Oo=function(r,A){var e=0,t=3,n=[],s=[];return TA(A).forEach(function(i,a){var B=!0;if(a===0){var o=!1;B=i.reduce(function(c,g){if(o)if(_(g))switch(g.value){case"center":return s.push($r),c;case"top":case"left":return s.push(lA),c;case"right":case"bottom":return s.push(qA),c}else(eA(g)||te(g))&&s.push(g);else if(_(g))switch(g.value){case ni:return e=0,!1;case si:return e=1,!1;case"at":return o=!0,!1;case Ai:return t=0,!1;case ii:case ei:return t=1,!1;case ai:case ti:return t=2,!1;case ri:return t=3,!1}else if(te(g)||eA(g))return Array.isArray(t)||(t=[]),t.push(g),!1;return c},B)}if(B){var l=_t(r,i);n.push(l)}}),{size:t,shape:e,stops:n,position:s,type:2}},Qt=function(r,A){var e=0,t=3,n=[],s=[];return TA(A).forEach(function(i,a){var B=!0;if(a===0?B=i.reduce(function(l,c){if(_(c))switch(c.value){case"center":return s.push($r),!1;case"top":case"left":return s.push(lA),!1;case"right":case"bottom":return s.push(qA),!1}else if(eA(c)||te(c))return s.push(c),!1;return l},B):a===1&&(B=i.reduce(function(l,c){if(_(c))switch(c.value){case ni:return e=0,!1;case si:return e=1,!1;case ai:case Ai:return t=0,!1;case ei:return t=1,!1;case ti:return t=2,!1;case ii:case ri:return t=3,!1}else if(te(c)||eA(c))return Array.isArray(t)||(t=[]),t.push(c),!1;return l},B)),B){var o=_t(r,i);n.push(o)}}),{size:t,shape:e,stops:n,position:s,type:2}},Ro=function(r){return r.type===1},Go=function(r){return r.type===2},An={name:"image",parse:function(r,A){if(A.type===22){var e={url:A.value,type:0};return r.cache.addImage(A.value),e}if(A.type===18){var t=Bi[A.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported image function "'+A.name+'"');return t(r,A.values)}throw new Error("Unsupported image type "+A.type)}};function No(r){return!(r.type===20&&r.value==="none")&&(r.type!==18||!!Bi[r.name])}var Bi={"linear-gradient":So,"-moz-linear-gradient":wt,"-ms-linear-gradient":wt,"-o-linear-gradient":wt,"-webkit-linear-gradient":wt,"radial-gradient":Oo,"-moz-radial-gradient":Qt,"-ms-radial-gradient":Qt,"-o-radial-gradient":Qt,"-webkit-radial-gradient":Qt,"-webkit-gradient":Mo},Vo={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(r,A){if(A.length===0)return[];var e=A[0];return e.type===20&&e.value==="none"?[]:A.filter(function(t){return Ee(t)&&No(t)}).map(function(t){return An.parse(r,t)})}},Po={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(r,A){return A.map(function(e){if(_(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},ko={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(r,A){return TA(A).map(function(e){return e.filter(eA)}).map(Ys)}},_o={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(r,A){return TA(A).map(function(e){return e.filter(_).map(function(t){return t.value}).join(" ")}).map(Xo)}},Xo=function(r){switch(r){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},de;(function(r){r.AUTO="auto",r.CONTAIN="contain",r.COVER="cover"})(de||(de={}));var Jo={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(r,A){return TA(A).map(function(e){return e.filter(Yo)})}},Yo=function(r){return _(r)||eA(r)},Xt=function(r){return{name:"border-"+r+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Wo=Xt("top"),Zo=Xt("right"),zo=Xt("bottom"),jo=Xt("left"),Jt=function(r){return{name:"border-radius-"+r,initialValue:"0 0",prefix:!1,type:1,parse:function(A,e){return Ys(e.filter(eA))}}},qo=Jt("top-left"),$o=Jt("top-right"),Al=Jt("bottom-right"),el=Jt("bottom-left"),Yt=function(r){return{name:"border-"+r+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(A,e){switch(e){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},tl=Yt("top"),rl=Yt("right"),nl=Yt("bottom"),sl=Yt("left"),Wt=function(r){return{name:"border-"+r+"-width",initialValue:"0",type:0,prefix:!1,parse:function(A,e){return We(e)?e.number:0}}},il=Wt("top"),al=Wt("right"),Bl=Wt("bottom"),ol=Wt("left"),ll={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},cl={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(r,A){switch(A){case"rtl":return 1;case"ltr":default:return 0}}},gl={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(r,A){return A.filter(_).reduce(function(e,t){return e|ul(t.value)},0)}},ul=function(r){switch(r){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},fl={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(r,A){switch(A){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},wl={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(r,A){return A.type===20&&A.value==="normal"?0:A.type===17||A.type===15?A.number:0}},bt;(function(r){r.NORMAL="normal",r.STRICT="strict"})(bt||(bt={}));var Ql={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(r,A){switch(A){case"strict":return bt.STRICT;case"normal":default:return bt.NORMAL}}},hl={name:"line-height",initialValue:"normal",prefix:!1,type:4},kn=function(r,A){return _(r)&&r.value==="normal"?1.2*A:r.type===17?A*r.number:eA(r)?J(r,A):A},Cl={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(r,A){return A.type===20&&A.value==="none"?null:An.parse(r,A)}},Ul={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(r,A){switch(A){case"inside":return 0;case"outside":default:return 1}}},Gr={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(r,A){switch(A){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},Zt=function(r){return{name:"margin-"+r,initialValue:"0",prefix:!1,type:4}},Fl=Zt("top"),dl=Zt("right"),pl=Zt("bottom"),El=Zt("left"),vl={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(r,A){return A.filter(_).map(function(e){switch(e.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},Hl={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(r,A){switch(A){case"break-word":return"break-word";case"normal":default:return"normal"}}},zt=function(r){return{name:"padding-"+r,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Il=zt("top"),ml=zt("right"),yl=zt("bottom"),bl=zt("left"),Ll={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(r,A){switch(A){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},Kl={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(r,A){switch(A){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},xl={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(r,A){return A.length===1&&Rr(A[0],"none")?[]:TA(A).map(function(e){for(var t={color:kA.TRANSPARENT,offsetX:lA,offsetY:lA,blur:lA},n=0,s=0;s"u")throw new Error('Attempting to parse an unsupported transform function "'+A.name+'"');return e(A.values)}return null}},Sl=function(r){var A=r.filter(function(e){return e.type===17}).map(function(e){return e.number});return A.length===6?A:null},Ml=function(r){var A=r.filter(function(B){return B.type===17}).map(function(B){return B.number}),e=A[0],t=A[1];A[2],A[3];var n=A[4],s=A[5];A[6],A[7],A[8],A[9],A[10],A[11];var i=A[12],a=A[13];return A[14],A[15],A.length===16?[e,t,n,s,i,a]:null},Ol={matrix:Sl,matrix3d:Ml},_n={type:16,number:50,flags:Ye},Rl=[_n,_n],Gl={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(r,A){var e=A.filter(eA);return e.length!==2?Rl:[e[0],e[1]]}},Nl={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(r,A){switch(A){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},Ve;(function(r){r.NORMAL="normal",r.BREAK_ALL="break-all",r.KEEP_ALL="keep-all"})(Ve||(Ve={}));var Vl={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(r,A){switch(A){case"break-all":return Ve.BREAK_ALL;case"keep-all":return Ve.KEEP_ALL;case"normal":default:return Ve.NORMAL}}},Pl={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(r,A){if(A.type===20)return{auto:!0,order:0};if(ve(A))return{auto:!1,order:A.number};throw new Error("Invalid z-index number parsed")}},oi={name:"time",parse:function(r,A){if(A.type===15)switch(A.unit.toLowerCase()){case"s":return 1e3*A.number;case"ms":return A.number}throw new Error("Unsupported time type")}},kl={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(r,A){return ve(A)?A.number:1}},_l={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Xl={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(r,A){return A.filter(_).map(function(e){switch(e.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(e){return e!==0})}},Jl={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(r,A){var e=[],t=[];return A.forEach(function(n){switch(n.type){case 20:case 0:e.push(n.value);break;case 17:e.push(n.number.toString());break;case 4:t.push(e.join(" ")),e.length=0;break}}),e.length&&t.push(e.join(" ")),t.map(function(n){return n.indexOf(" ")===-1?n:"'"+n+"'"})}},Yl={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Wl={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(r,A){if(ve(A))return A.number;if(_(A))switch(A.value){case"bold":return 700;case"normal":default:return 400}return 400}},Zl={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(r,A){return A.filter(_).map(function(e){return e.value})}},zl={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(r,A){switch(A){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},sA=function(r,A){return(r&A)!==0},jl={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(r,A){if(A.length===0)return[];var e=A[0];return e.type===20&&e.value==="none"?[]:A}},ql={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(r,A){if(A.length===0)return null;var e=A[0];if(e.type===20&&e.value==="none")return null;for(var t=[],n=A.filter(Js),s=0;s1?1:0],this.overflowWrap=b(A,Hl,e.overflowWrap),this.paddingTop=b(A,Il,e.paddingTop),this.paddingRight=b(A,ml,e.paddingRight),this.paddingBottom=b(A,yl,e.paddingBottom),this.paddingLeft=b(A,bl,e.paddingLeft),this.paintOrder=b(A,rc,e.paintOrder),this.position=b(A,Kl,e.position),this.textAlign=b(A,Ll,e.textAlign),this.textDecorationColor=b(A,_l,(t=e.textDecorationColor)!==null&&t!==void 0?t:e.color),this.textDecorationLine=b(A,Xl,(n=e.textDecorationLine)!==null&&n!==void 0?n:e.textDecoration),this.textShadow=b(A,xl,e.textShadow),this.textTransform=b(A,Dl,e.textTransform),this.transform=b(A,Tl,e.transform),this.transformOrigin=b(A,Gl,e.transformOrigin),this.visibility=b(A,Nl,e.visibility),this.webkitTextStrokeColor=b(A,nc,e.webkitTextStrokeColor),this.webkitTextStrokeWidth=b(A,sc,e.webkitTextStrokeWidth),this.wordBreak=b(A,Vl,e.wordBreak),this.zIndex=b(A,Pl,e.zIndex)}return r.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},r.prototype.isTransparent=function(){return ee(this.backgroundColor)},r.prototype.isTransformed=function(){return this.transform!==null},r.prototype.isPositioned=function(){return this.position!==0},r.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},r.prototype.isFloating=function(){return this.float!==0},r.prototype.isInlineLevel=function(){return sA(this.display,4)||sA(this.display,33554432)||sA(this.display,268435456)||sA(this.display,536870912)||sA(this.display,67108864)||sA(this.display,134217728)},r}(),ac=function(){function r(A,e){this.content=b(A,jl,e.content),this.quotes=b(A,ec,e.quotes)}return r}(),Jn=function(){function r(A,e){this.counterIncrement=b(A,ql,e.counterIncrement),this.counterReset=b(A,$l,e.counterReset)}return r}(),b=function(r,A,e){var t=new _s,n=e!==null&&typeof e<"u"?e.toString():A.initialValue;t.write(n);var s=new Xs(t.read());switch(A.type){case 2:var i=s.parseComponentValue();return A.parse(r,_(i)?i.value:A.initialValue);case 0:return A.parse(r,s.parseComponentValue());case 1:return A.parse(r,s.parseComponentValues());case 4:return s.parseComponentValue();case 3:switch(A.format){case"angle":return kt.parse(r,s.parseComponentValue());case"color":return Ae.parse(r,s.parseComponentValue());case"image":return An.parse(r,s.parseComponentValue());case"length":var a=s.parseComponentValue();return te(a)?a:lA;case"length-percentage":var B=s.parseComponentValue();return eA(B)?B:lA;case"time":return oi.parse(r,s.parseComponentValue())}break}},Bc="data-html2canvas-debug",oc=function(r){var A=r.getAttribute(Bc);switch(A){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Nr=function(r,A){var e=oc(r);return e===1||A===e},SA=function(){function r(A,e){if(this.context=A,this.textNodes=[],this.elements=[],this.flags=0,Nr(e,3))debugger;this.styles=new ic(A,window.getComputedStyle(e,null)),kr(e)&&(this.styles.animationDuration.some(function(t){return t>0})&&(e.style.animationDuration="0s"),this.styles.transform!==null&&(e.style.transform="none")),this.bounds=Vt(this.context,e),Nr(e,4)&&(this.flags|=16)}return r}(),lc="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgF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AAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQG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AQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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535)return e=this.index[A>>oe],e=(e<>oe)],e=(e<>en),e=this.index[e],e+=A>>oe&Ec,e=this.index[e],e=(e<"u"?[]:new Uint8Array(256);for(var Ct=0;Ct=55296&&n<=56319&&e>10)+55296,i%1024+56320)),(n+1===e||t.length>16384)&&(s+=String.fromCharCode.apply(String,t),t.length=0)}return s},xc=Hc(lc),dA="×",hr="÷",Dc=function(r){return xc.get(r)},Tc=function(r,A,e){var t=e-2,n=A[t],s=A[e-1],i=A[e];if(s===gr&&i===ur)return dA;if(s===gr||s===ur||s===zn||i===gr||i===ur||i===zn)return hr;if(s===qn&&[qn,fr,$n,As].indexOf(i)!==-1||(s===$n||s===fr)&&(i===fr||i===wr)||(s===As||s===wr)&&i===wr||i===es||i===jn||i===bc||s===yc)return dA;if(s===es&&i===ts){for(;n===jn;)n=A[--t];if(n===ts)return dA}if(s===Qr&&i===Qr){for(var a=0;n===Qr;)a++,n=A[--t];if(a%2===0)return dA}return hr},Sc=function(r){var A=Lc(r),e=A.length,t=0,n=0,s=A.map(Dc);return{next:function(){if(t>=e)return{done:!0,value:null};for(var i=dA;ti.x||l.y>i.y;return i=l,o===0?!0:c});return r.body.removeChild(A),a},Gc=function(){return typeof new Image().crossOrigin<"u"},Nc=function(){return typeof new XMLHttpRequest().responseType=="string"},Vc=function(r){var A=new Image,e=r.createElement("canvas"),t=e.getContext("2d");if(!t)return!1;A.src="data:image/svg+xml,";try{t.drawImage(A,0,0),e.toDataURL()}catch(n){return!1}return!0},rs=function(r){return r[0]===0&&r[1]===255&&r[2]===0&&r[3]===255},Pc=function(r){var A=r.createElement("canvas"),e=100;A.width=e,A.height=e;var t=A.getContext("2d");if(!t)return Promise.reject(!1);t.fillStyle="rgb(0, 255, 0)",t.fillRect(0,0,e,e);var n=new Image,s=A.toDataURL();n.src=s;var i=Vr(e,e,0,0,n);return t.fillStyle="red",t.fillRect(0,0,e,e),ns(i).then(function(a){t.drawImage(a,0,0);var B=t.getImageData(0,0,e,e).data;t.fillStyle="red",t.fillRect(0,0,e,e);var o=r.createElement("div");return o.style.backgroundImage="url("+s+")",o.style.height=e+"px",rs(B)?ns(Vr(e,e,0,0,o)):Promise.reject(!1)}).then(function(a){return t.drawImage(a,0,0),rs(t.getImageData(0,0,e,e).data)}).catch(function(){return!1})},Vr=function(r,A,e,t,n){var s="http://www.w3.org/2000/svg",i=document.createElementNS(s,"svg"),a=document.createElementNS(s,"foreignObject");return i.setAttributeNS(null,"width",r.toString()),i.setAttributeNS(null,"height",A.toString()),a.setAttributeNS(null,"width","100%"),a.setAttributeNS(null,"height","100%"),a.setAttributeNS(null,"x",e.toString()),a.setAttributeNS(null,"y",t.toString()),a.setAttributeNS(null,"externalResourcesRequired","true"),i.appendChild(a),a.appendChild(n),i},ns=function(r){return new Promise(function(A,e){var t=new Image;t.onload=function(){return A(t)},t.onerror=e,t.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(r))})},oA={get SUPPORT_RANGE_BOUNDS(){var r=Oc(document);return Object.defineProperty(oA,"SUPPORT_RANGE_BOUNDS",{value:r}),r},get SUPPORT_WORD_BREAKING(){var r=oA.SUPPORT_RANGE_BOUNDS&&Rc(document);return Object.defineProperty(oA,"SUPPORT_WORD_BREAKING",{value:r}),r},get SUPPORT_SVG_DRAWING(){var r=Vc(document);return Object.defineProperty(oA,"SUPPORT_SVG_DRAWING",{value:r}),r},get SUPPORT_FOREIGNOBJECT_DRAWING(){var r=typeof Array.from=="function"&&typeof window.fetch=="function"?Pc(document):Promise.resolve(!1);return Object.defineProperty(oA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:r}),r},get SUPPORT_CORS_IMAGES(){var r=Gc();return Object.defineProperty(oA,"SUPPORT_CORS_IMAGES",{value:r}),r},get SUPPORT_RESPONSE_TYPE(){var r=Nc();return Object.defineProperty(oA,"SUPPORT_RESPONSE_TYPE",{value:r}),r},get SUPPORT_CORS_XHR(){var r="withCredentials"in new XMLHttpRequest;return Object.defineProperty(oA,"SUPPORT_CORS_XHR",{value:r}),r},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var r=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(oA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:r}),r}},Pe=function(){function r(A,e){this.text=A,this.bounds=e}return r}(),kc=function(r,A,e,t){var n=Jc(A,e),s=[],i=0;return n.forEach(function(a){if(e.textDecorationLine.length||a.trim().length>0)if(oA.SUPPORT_RANGE_BOUNDS){var B=ss(t,i,a.length).getClientRects();if(B.length>1){var o=tn(a),l=0;o.forEach(function(g){s.push(new Pe(g,_A.fromDOMRectList(r,ss(t,l+i,g.length).getClientRects()))),l+=g.length})}else s.push(new Pe(a,_A.fromDOMRectList(r,B)))}else{var c=t.splitText(a.length);s.push(new Pe(a,_c(r,t))),t=c}else oA.SUPPORT_RANGE_BOUNDS||(t=t.splitText(a.length));i+=a.length}),s},_c=function(r,A){var e=A.ownerDocument;if(e){var t=e.createElement("html2canvaswrapper");t.appendChild(A.cloneNode(!0));var n=A.parentNode;if(n){n.replaceChild(t,A);var s=Vt(r,t);return t.firstChild&&n.replaceChild(t.firstChild,t),s}}return _A.EMPTY},ss=function(r,A,e){var t=r.ownerDocument;if(!t)throw new Error("Node has no owner document");var n=t.createRange();return n.setStart(r,A),n.setEnd(r,A+e),n},tn=function(r){if(oA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(A.segment(r)).map(function(e){return e.segment})}return Mc(r)},Xc=function(r,A){if(oA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(e.segment(r)).map(function(t){return t.segment})}return Wc(r,A)},Jc=function(r,A){return A.letterSpacing!==0?tn(r):Xc(r,A)},Yc=[32,160,4961,65792,65793,4153,4241],Wc=function(r,A){for(var e=FB(r,{lineBreak:A.lineBreak,wordBreak:A.overflowWrap==="break-word"?"break-word":A.wordBreak}),t=[],n,s=function(){if(n.value){var i=n.value.slice(),a=Pt(i),B="";a.forEach(function(o){Yc.indexOf(o)===-1?B+=AA(o):(B.length&&t.push(B),t.push(AA(o)),B="")}),B.length&&t.push(B)}};!(n=e.next()).done;)s();return t},Zc=function(){function r(A,e,t){this.text=zc(e.data,t.textTransform),this.textBounds=kc(A,this.text,t,e)}return r}(),zc=function(r,A){switch(A){case 1:return r.toLowerCase();case 3:return r.replace(jc,qc);case 2:return r.toUpperCase();default:return r}},jc=/(^|\s|:|-|\(|\))([a-z])/g,qc=function(r,A,e){return r.length>0?A+e.toUpperCase():r},ci=function(r){yA(A,r);function A(e,t){var n=r.call(this,e,t)||this;return n.src=t.currentSrc||t.src,n.intrinsicWidth=t.naturalWidth,n.intrinsicHeight=t.naturalHeight,n.context.cache.addImage(n.src),n}return A}(SA),gi=function(r){yA(A,r);function A(e,t){var n=r.call(this,e,t)||this;return n.canvas=t,n.intrinsicWidth=t.width,n.intrinsicHeight=t.height,n}return A}(SA),ui=function(r){yA(A,r);function A(e,t){var n=r.call(this,e,t)||this,s=new XMLSerializer,i=Vt(e,t);return t.setAttribute("width",i.width+"px"),t.setAttribute("height",i.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(s.serializeToString(t)),n.intrinsicWidth=t.width.baseVal.value,n.intrinsicHeight=t.height.baseVal.value,n.context.cache.addImage(n.svg),n}return A}(SA),fi=function(r){yA(A,r);function A(e,t){var n=r.call(this,e,t)||this;return n.value=t.value,n}return A}(SA),Pr=function(r){yA(A,r);function A(e,t){var n=r.call(this,e,t)||this;return n.start=t.start,n.reversed=typeof t.reversed=="boolean"&&t.reversed===!0,n}return A}(SA),$c=[{type:15,flags:0,unit:"px",number:3}],Ag=[{type:16,flags:0,number:50}],eg=function(r){return r.width>r.height?new _A(r.left+(r.width-r.height)/2,r.top,r.height,r.height):r.width0)e.textNodes.push(new Zc(r,n,e.styles));else if(Fe(n))if(vi(n)&&n.assignedNodes)n.assignedNodes().forEach(function(a){return Ht(r,a,e,t)});else{var i=Ci(r,n);i.styles.isVisible()&&(sg(n,i,t)?i.flags|=4:ig(i.styles)&&(i.flags|=2),ng.indexOf(n.tagName)!==-1&&(i.flags|=8),e.elements.push(i),n.slot,n.shadowRoot?Ht(r,n.shadowRoot,i,t):!xt(n)&&!di(n)&&!Dt(n)&&Ht(r,n,i,t))}},Ci=function(r,A){return _r(A)?new ci(r,A):pi(A)?new gi(r,A):di(A)?new ui(r,A):ag(A)?new fi(r,A):Bg(A)?new Pr(r,A):og(A)?new rn(r,A):Dt(A)?new wi(r,A):xt(A)?new Qi(r,A):Ei(A)?new hi(r,A):new SA(r,A)},Ui=function(r,A){var e=Ci(r,A);return e.flags|=4,Ht(r,A,e,e),e},sg=function(r,A,e){return A.styles.isPositionedWithZIndex()||A.styles.opacity<1||A.styles.isTransformed()||nn(r)&&e.styles.isTransparent()},ig=function(r){return r.isPositioned()||r.isFloating()},Fi=function(r){return r.nodeType===Node.TEXT_NODE},Fe=function(r){return r.nodeType===Node.ELEMENT_NODE},kr=function(r){return Fe(r)&&typeof r.style<"u"&&!It(r)},It=function(r){return typeof r.className=="object"},ag=function(r){return r.tagName==="LI"},Bg=function(r){return r.tagName==="OL"},og=function(r){return r.tagName==="INPUT"},lg=function(r){return r.tagName==="HTML"},di=function(r){return r.tagName==="svg"},nn=function(r){return r.tagName==="BODY"},pi=function(r){return r.tagName==="CANVAS"},as=function(r){return r.tagName==="VIDEO"},_r=function(r){return r.tagName==="IMG"},Ei=function(r){return r.tagName==="IFRAME"},Bs=function(r){return r.tagName==="STYLE"},cg=function(r){return r.tagName==="SCRIPT"},xt=function(r){return r.tagName==="TEXTAREA"},Dt=function(r){return r.tagName==="SELECT"},vi=function(r){return r.tagName==="SLOT"},os=function(r){return r.tagName.indexOf("-")>0},gg=function(){function r(){this.counters={}}return r.prototype.getCounterValue=function(A){var e=this.counters[A];return e&&e.length?e[e.length-1]:1},r.prototype.getCounterValues=function(A){var e=this.counters[A];return e||[]},r.prototype.pop=function(A){var e=this;A.forEach(function(t){return e.counters[t].pop()})},r.prototype.parse=function(A){var e=this,t=A.counterIncrement,n=A.counterReset,s=!0;t!==null&&t.forEach(function(a){var B=e.counters[a.counter];B&&a.increment!==0&&(s=!1,B.length||B.push(1),B[Math.max(0,B.length-1)]+=a.increment)});var i=[];return s&&n.forEach(function(a){var B=e.counters[a.counter];i.push(a.counter),B||(B=e.counters[a.counter]=[]),B.push(a.reset)}),i},r}(),ls={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},cs={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},ug={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},fg={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},we=function(r,A,e,t,n,s){return re?Je(r,n,s.length>0):t.integers.reduce(function(i,a,B){for(;r>=a;)r-=a,i+=t.values[B];return i},"")+s},Hi=function(r,A,e,t){var n="";do e||r--,n=t(r)+n,r/=A;while(r*A>=A);return n},$=function(r,A,e,t,n){var s=e-A+1;return(r<0?"-":"")+(Hi(Math.abs(r),s,t,function(i){return AA(Math.floor(i%s)+A)})+n)},re=function(r,A,e){e===void 0&&(e=". ");var t=A.length;return Hi(Math.abs(r),t,!1,function(n){return A[Math.floor(n%t)]})+e},Ce=1,YA=2,WA=4,Re=8,NA=function(r,A,e,t,n,s){if(r<-9999||r>9999)return Je(r,4,n.length>0);var i=Math.abs(r),a=n;if(i===0)return A[0]+a;for(var B=0;i>0&&B<=4;B++){var o=i%10;o===0&&sA(s,Ce)&&a!==""?a=A[o]+a:o>1||o===1&&B===0||o===1&&B===1&&sA(s,YA)||o===1&&B===1&&sA(s,WA)&&r>100||o===1&&B>1&&sA(s,Re)?a=A[o]+(B>0?e[B-1]:"")+a:o===1&&B>0&&(a=e[B-1]+a),i=Math.floor(i/10)}return(r<0?t:"")+a},gs="十百千萬",us="拾佰仟萬",fs="マイナス",Cr="마이너스",Je=function(r,A,e){var t=e?". ":"",n=e?"、":"",s=e?", ":"",i=e?" ":"";switch(A){case 0:return"•"+i;case 1:return"◦"+i;case 2:return"◾"+i;case 5:var a=$(r,48,57,!0,t);return a.length<4?"0"+a:a;case 4:return re(r,"〇一二三四五六七八九",n);case 6:return we(r,1,3999,ls,3,t).toLowerCase();case 7:return we(r,1,3999,ls,3,t);case 8:return $(r,945,969,!1,t);case 9:return $(r,97,122,!1,t);case 10:return $(r,65,90,!1,t);case 11:return $(r,1632,1641,!0,t);case 12:case 49:return we(r,1,9999,cs,3,t);case 35:return we(r,1,9999,cs,3,t).toLowerCase();case 13:return $(r,2534,2543,!0,t);case 14:case 30:return $(r,6112,6121,!0,t);case 15:return re(r,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return re(r,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return NA(r,"零一二三四五六七八九",gs,"負",n,YA|WA|Re);case 47:return NA(r,"零壹貳參肆伍陸柒捌玖",us,"負",n,Ce|YA|WA|Re);case 42:return NA(r,"零一二三四五六七八九",gs,"负",n,YA|WA|Re);case 41:return NA(r,"零壹贰叁肆伍陆柒捌玖",us,"负",n,Ce|YA|WA|Re);case 26:return NA(r,"〇一二三四五六七八九","十百千万",fs,n,0);case 25:return NA(r,"零壱弐参四伍六七八九","拾百千万",fs,n,Ce|YA|WA);case 31:return NA(r,"영일이삼사오육칠팔구","십백천만",Cr,s,Ce|YA|WA);case 33:return NA(r,"零一二三四五六七八九","十百千萬",Cr,s,0);case 32:return NA(r,"零壹貳參四五六七八九","拾百千",Cr,s,Ce|YA|WA);case 18:return $(r,2406,2415,!0,t);case 20:return we(r,1,19999,fg,3,t);case 21:return $(r,2790,2799,!0,t);case 22:return $(r,2662,2671,!0,t);case 22:return we(r,1,10999,ug,3,t);case 23:return re(r,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return re(r,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return $(r,3302,3311,!0,t);case 28:return re(r,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return re(r,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return $(r,3792,3801,!0,t);case 37:return $(r,6160,6169,!0,t);case 38:return $(r,4160,4169,!0,t);case 39:return $(r,2918,2927,!0,t);case 40:return $(r,1776,1785,!0,t);case 43:return $(r,3046,3055,!0,t);case 44:return $(r,3174,3183,!0,t);case 45:return $(r,3664,3673,!0,t);case 46:return $(r,3872,3881,!0,t);case 3:default:return $(r,48,57,!0,t)}},Ii="data-html2canvas-ignore",ws=function(){function r(A,e,t){if(this.context=A,this.options=t,this.scrolledElements=[],this.referenceElement=e,this.counters=new gg,this.quoteDepth=0,!e.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(e.ownerDocument.documentElement,!1)}return r.prototype.toIFrame=function(A,e){var t=this,n=wg(A,e);if(!n.contentWindow)return Promise.reject("Unable to find iframe window");var s=A.defaultView.pageXOffset,i=A.defaultView.pageYOffset,a=n.contentWindow,B=a.document,o=Cg(n).then(function(){return fA(t,void 0,void 0,function(){var l,c;return cA(this,function(g){switch(g.label){case 0:return this.scrolledElements.forEach(pg),a&&(a.scrollTo(e.left,e.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(a.scrollY!==e.top||a.scrollX!==e.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(a.scrollX-e.left,a.scrollY-e.top,0,0))),l=this.options.onclone,c=this.clonedReferenceElement,typeof c>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:B.fonts&&B.fonts.ready?[4,B.fonts.ready]:[3,2];case 1:g.sent(),g.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,hg(B)]:[3,4];case 3:g.sent(),g.label=4;case 4:return typeof l=="function"?[2,Promise.resolve().then(function(){return l(B,c)}).then(function(){return n})]:[2,n]}})})});return B.open(),B.write(Fg(document.doctype)+""),dg(this.referenceElement.ownerDocument,s,i),B.replaceChild(B.adoptNode(this.documentElement),B.documentElement),B.close(),o},r.prototype.createElementClone=function(A){if(Nr(A,2))debugger;if(pi(A))return this.createCanvasClone(A);if(as(A))return this.createVideoClone(A);if(Bs(A))return this.createStyleClone(A);var e=A.cloneNode(!1);return _r(e)&&(_r(A)&&A.currentSrc&&A.currentSrc!==A.src&&(e.src=A.currentSrc,e.srcset=""),e.loading==="lazy"&&(e.loading="eager")),os(e)?this.createCustomElementClone(e):e},r.prototype.createCustomElementClone=function(A){var e=document.createElement("html2canvascustomelement");return Ur(A.style,e),e},r.prototype.createStyleClone=function(A){try{var e=A.sheet;if(e&&e.cssRules){var t=[].slice.call(e.cssRules,0).reduce(function(s,i){return i&&typeof i.cssText=="string"?s+i.cssText:s},""),n=A.cloneNode(!1);return n.textContent=t,n}}catch(s){if(this.context.logger.error("Unable to access cssRules property",s),s.name!=="SecurityError")throw s}return A.cloneNode(!1)},r.prototype.createCanvasClone=function(A){var e;if(this.options.inlineImages&&A.ownerDocument){var t=A.ownerDocument.createElement("img");try{return t.src=A.toDataURL(),t}catch(o){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}var n=A.cloneNode(!1);try{n.width=A.width,n.height=A.height;var s=A.getContext("2d"),i=n.getContext("2d");if(i)if(!this.options.allowTaint&&s)i.putImageData(s.getImageData(0,0,A.width,A.height),0,0);else{var a=(e=A.getContext("webgl2"))!==null&&e!==void 0?e:A.getContext("webgl");if(a){var B=a.getContextAttributes();(B==null?void 0:B.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A)}i.drawImage(A,0,0)}return n}catch(o){this.context.logger.info("Unable to clone canvas as it is tainted",A)}return n},r.prototype.createVideoClone=function(A){var e=A.ownerDocument.createElement("canvas");e.width=A.offsetWidth,e.height=A.offsetHeight;var t=e.getContext("2d");try{return t&&(t.drawImage(A,0,0,e.width,e.height),this.options.allowTaint||t.getImageData(0,0,e.width,e.height)),e}catch(s){this.context.logger.info("Unable to clone video as it is tainted",A)}var n=A.ownerDocument.createElement("canvas");return n.width=A.offsetWidth,n.height=A.offsetHeight,n},r.prototype.appendChildNode=function(A,e,t){(!Fe(e)||!cg(e)&&!e.hasAttribute(Ii)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(e)))&&(!this.options.copyStyles||!Fe(e)||!Bs(e))&&A.appendChild(this.cloneNode(e,t))},r.prototype.cloneChildNodes=function(A,e,t){for(var n=this,s=A.shadowRoot?A.shadowRoot.firstChild:A.firstChild;s;s=s.nextSibling)if(Fe(s)&&vi(s)&&typeof s.assignedNodes=="function"){var i=s.assignedNodes();i.length&&i.forEach(function(a){return n.appendChildNode(e,a,t)})}else this.appendChildNode(e,s,t)},r.prototype.cloneNode=function(A,e){if(Fi(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var t=A.ownerDocument.defaultView;if(t&&Fe(A)&&(kr(A)||It(A))){var n=this.createElementClone(A);n.style.transitionProperty="none";var s=t.getComputedStyle(A),i=t.getComputedStyle(A,":before"),a=t.getComputedStyle(A,":after");this.referenceElement===A&&kr(n)&&(this.clonedReferenceElement=n),nn(n)&&Hg(n);var B=this.counters.parse(new Jn(this.context,s)),o=this.resolvePseudoContent(A,n,i,ke.BEFORE);os(A)&&(e=!0),as(A)||this.cloneChildNodes(A,n,e),o&&n.insertBefore(o,n.firstChild);var l=this.resolvePseudoContent(A,n,a,ke.AFTER);return l&&n.appendChild(l),this.counters.pop(B),(s&&(this.options.copyStyles||It(A))&&!Ei(A)||e)&&Ur(s,n),(A.scrollTop!==0||A.scrollLeft!==0)&&this.scrolledElements.push([n,A.scrollLeft,A.scrollTop]),(xt(A)||Dt(A))&&(xt(n)||Dt(n))&&(n.value=A.value),n}return A.cloneNode(!1)},r.prototype.resolvePseudoContent=function(A,e,t,n){var s=this;if(t){var i=t.content,a=e.ownerDocument;if(!(!a||!i||i==="none"||i==="-moz-alt-content"||t.display==="none")){this.counters.parse(new Jn(this.context,t));var B=new ac(this.context,t),o=a.createElement("html2canvaspseudoelement");Ur(t,o),B.content.forEach(function(c){if(c.type===0)o.appendChild(a.createTextNode(c.value));else if(c.type===22){var g=a.createElement("img");g.src=c.value,g.style.opacity="1",o.appendChild(g)}else if(c.type===18){if(c.name==="attr"){var C=c.values.filter(_);C.length&&o.appendChild(a.createTextNode(A.getAttribute(C[0].value)||""))}else if(c.name==="counter"){var Q=c.values.filter(Ee),F=Q[0],L=Q[1];if(F&&_(F)){var f=s.counters.getCounterValue(F.value),w=L&&_(L)?Gr.parse(s.context,L.value):3;o.appendChild(a.createTextNode(Je(f,w,!1)))}}else if(c.name==="counters"){var H=c.values.filter(Ee),F=H[0],h=H[1],L=H[2];if(F&&_(F)){var d=s.counters.getCounterValues(F.value),u=L&&_(L)?Gr.parse(s.context,L.value):3,p=h&&h.type===0?h.value:"",v=d.map(function(U){return Je(U,u,!1)}).join(p);o.appendChild(a.createTextNode(v))}}}else if(c.type===20)switch(c.value){case"open-quote":o.appendChild(a.createTextNode(Xn(B.quotes,s.quoteDepth++,!0)));break;case"close-quote":o.appendChild(a.createTextNode(Xn(B.quotes,--s.quoteDepth,!1)));break;default:o.appendChild(a.createTextNode(c.value))}}),o.className=Xr+" "+Jr;var l=n===ke.BEFORE?" "+Xr:" "+Jr;return It(e)?e.className.baseValue+=l:e.className+=l,o}}},r.destroy=function(A){return A.parentNode?(A.parentNode.removeChild(A),!0):!1},r}(),ke;(function(r){r[r.BEFORE=0]="BEFORE",r[r.AFTER=1]="AFTER"})(ke||(ke={}));var wg=function(r,A){var e=r.createElement("iframe");return e.className="html2canvas-container",e.style.visibility="hidden",e.style.position="fixed",e.style.left="-10000px",e.style.top="0px",e.style.border="0",e.width=A.width.toString(),e.height=A.height.toString(),e.scrolling="no",e.setAttribute(Ii,"true"),r.body.appendChild(e),e},Qg=function(r){return new Promise(function(A){if(r.complete){A();return}if(!r.src){A();return}r.onload=A,r.onerror=A})},hg=function(r){return Promise.all([].slice.call(r.images,0).map(Qg))},Cg=function(r){return new Promise(function(A,e){var t=r.contentWindow;if(!t)return e("No window assigned for iframe");var n=t.document;t.onload=r.onload=function(){t.onload=r.onload=null;var s=setInterval(function(){n.body.childNodes.length>0&&n.readyState==="complete"&&(clearInterval(s),A(r))},50)}})},Ug=["all","d","content"],Ur=function(r,A){for(var e=r.length-1;e>=0;e--){var t=r.item(e);Ug.indexOf(t)===-1&&A.style.setProperty(t,r.getPropertyValue(t))}return A},Fg=function(r){var A="";return r&&(A+=""),A},dg=function(r,A,e){r&&r.defaultView&&(A!==r.defaultView.pageXOffset||e!==r.defaultView.pageYOffset)&&r.defaultView.scrollTo(A,e)},pg=function(r){var A=r[0],e=r[1],t=r[2];A.scrollLeft=e,A.scrollTop=t},Eg=":before",vg=":after",Xr="___html2canvas___pseudoelement_before",Jr="___html2canvas___pseudoelement_after",Qs='{\n content: "" !important;\n display: none !important;\n}',Hg=function(r){Ig(r,"."+Xr+Eg+Qs+"\n ."+Jr+vg+Qs)},Ig=function(r,A){var e=r.ownerDocument;if(e){var t=e.createElement("style");t.textContent=A,r.appendChild(t)}},mi=function(){function r(){}return r.getOrigin=function(A){var e=r._link;return e?(e.href=A,e.href=e.href,e.protocol+e.hostname+e.port):"about:blank"},r.isSameOrigin=function(A){return r.getOrigin(A)===r._origin},r.setContext=function(A){r._link=A.document.createElement("a"),r._origin=r.getOrigin(A.location.href)},r._origin="about:blank",r}(),mg=function(){function r(A,e){this.context=A,this._options=e,this._cache={}}return r.prototype.addImage=function(A){var e=Promise.resolve();return this.has(A)||(dr(A)||Kg(A))&&(this._cache[A]=this.loadImage(A)).catch(function(){}),e},r.prototype.match=function(A){return this._cache[A]},r.prototype.loadImage=function(A){return fA(this,void 0,void 0,function(){var e,t,n,s,i=this;return cA(this,function(a){switch(a.label){case 0:return e=mi.isSameOrigin(A),t=!Fr(A)&&this._options.useCORS===!0&&oA.SUPPORT_CORS_IMAGES&&!e,n=!Fr(A)&&!e&&!dr(A)&&typeof this._options.proxy=="string"&&oA.SUPPORT_CORS_XHR&&!t,!e&&this._options.allowTaint===!1&&!Fr(A)&&!dr(A)&&!n&&!t?[2]:(s=A,n?[4,this.proxy(s)]:[3,2]);case 1:s=a.sent(),a.label=2;case 2:return this.context.logger.debug("Added image "+A.substring(0,256)),[4,new Promise(function(B,o){var l=new Image;l.onload=function(){return B(l)},l.onerror=o,(xg(s)||t)&&(l.crossOrigin="anonymous"),l.src=s,l.complete===!0&&setTimeout(function(){return B(l)},500),i._options.imageTimeout>0&&setTimeout(function(){return o("Timed out ("+i._options.imageTimeout+"ms) loading image")},i._options.imageTimeout)})];case 3:return[2,a.sent()]}})})},r.prototype.has=function(A){return typeof this._cache[A]<"u"},r.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},r.prototype.proxy=function(A){var e=this,t=this._options.proxy;if(!t)throw new Error("No proxy defined");var n=A.substring(0,256);return new Promise(function(s,i){var a=oA.SUPPORT_RESPONSE_TYPE?"blob":"text",B=new XMLHttpRequest;B.onload=function(){if(B.status===200)if(a==="text")s(B.response);else{var c=new FileReader;c.addEventListener("load",function(){return s(c.result)},!1),c.addEventListener("error",function(g){return i(g)},!1),c.readAsDataURL(B.response)}else i("Failed to proxy resource "+n+" with status code "+B.status)},B.onerror=i;var o=t.indexOf("?")>-1?"&":"?";if(B.open("GET",""+t+o+"url="+encodeURIComponent(A)+"&responseType="+a),a!=="text"&&B instanceof XMLHttpRequest&&(B.responseType=a),e._options.imageTimeout){var l=e._options.imageTimeout;B.timeout=l,B.ontimeout=function(){return i("Timed out ("+l+"ms) proxying "+n)}}B.send()})},r}(),yg=/^data:image\/svg\+xml/i,bg=/^data:image\/.*;base64,/i,Lg=/^data:image\/.*/i,Kg=function(r){return oA.SUPPORT_SVG_DRAWING||!Dg(r)},Fr=function(r){return Lg.test(r)},xg=function(r){return bg.test(r)},dr=function(r){return r.substr(0,4)==="blob"},Dg=function(r){return r.substr(-3).toLowerCase()==="svg"||yg.test(r)},y=function(){function r(A,e){this.type=0,this.x=A,this.y=e}return r.prototype.add=function(A,e){return new r(this.x+A,this.y+e)},r}(),Qe=function(r,A,e){return new y(r.x+(A.x-r.x)*e,r.y+(A.y-r.y)*e)},Ut=function(){function r(A,e,t,n){this.type=1,this.start=A,this.startControl=e,this.endControl=t,this.end=n}return r.prototype.subdivide=function(A,e){var t=Qe(this.start,this.startControl,A),n=Qe(this.startControl,this.endControl,A),s=Qe(this.endControl,this.end,A),i=Qe(t,n,A),a=Qe(n,s,A),B=Qe(i,a,A);return e?new r(this.start,t,i,B):new r(B,a,s,this.end)},r.prototype.add=function(A,e){return new r(this.start.add(A,e),this.startControl.add(A,e),this.endControl.add(A,e),this.end.add(A,e))},r.prototype.reverse=function(){return new r(this.end,this.endControl,this.startControl,this.start)},r}(),pA=function(r){return r.type===1},Tg=function(){function r(A){var e=A.styles,t=A.bounds,n=Me(e.borderTopLeftRadius,t.width,t.height),s=n[0],i=n[1],a=Me(e.borderTopRightRadius,t.width,t.height),B=a[0],o=a[1],l=Me(e.borderBottomRightRadius,t.width,t.height),c=l[0],g=l[1],C=Me(e.borderBottomLeftRadius,t.width,t.height),Q=C[0],F=C[1],L=[];L.push((s+B)/t.width),L.push((Q+c)/t.width),L.push((i+F)/t.height),L.push((o+g)/t.height);var f=Math.max.apply(Math,L);f>1&&(s/=f,i/=f,B/=f,o/=f,c/=f,g/=f,Q/=f,F/=f);var w=t.width-B,H=t.height-g,h=t.width-c,d=t.height-F,u=e.borderTopWidth,p=e.borderRightWidth,v=e.borderBottomWidth,I=e.borderLeftWidth,x=J(e.paddingTop,A.bounds.width),U=J(e.paddingRight,A.bounds.width),S=J(e.paddingBottom,A.bounds.width),E=J(e.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=s>0||i>0?W(t.left+I/3,t.top+u/3,s-I/3,i-u/3,P.TOP_LEFT):new y(t.left+I/3,t.top+u/3),this.topRightBorderDoubleOuterBox=s>0||i>0?W(t.left+w,t.top+u/3,B-p/3,o-u/3,P.TOP_RIGHT):new y(t.left+t.width-p/3,t.top+u/3),this.bottomRightBorderDoubleOuterBox=c>0||g>0?W(t.left+h,t.top+H,c-p/3,g-v/3,P.BOTTOM_RIGHT):new y(t.left+t.width-p/3,t.top+t.height-v/3),this.bottomLeftBorderDoubleOuterBox=Q>0||F>0?W(t.left+I/3,t.top+d,Q-I/3,F-v/3,P.BOTTOM_LEFT):new y(t.left+I/3,t.top+t.height-v/3),this.topLeftBorderDoubleInnerBox=s>0||i>0?W(t.left+I*2/3,t.top+u*2/3,s-I*2/3,i-u*2/3,P.TOP_LEFT):new y(t.left+I*2/3,t.top+u*2/3),this.topRightBorderDoubleInnerBox=s>0||i>0?W(t.left+w,t.top+u*2/3,B-p*2/3,o-u*2/3,P.TOP_RIGHT):new y(t.left+t.width-p*2/3,t.top+u*2/3),this.bottomRightBorderDoubleInnerBox=c>0||g>0?W(t.left+h,t.top+H,c-p*2/3,g-v*2/3,P.BOTTOM_RIGHT):new y(t.left+t.width-p*2/3,t.top+t.height-v*2/3),this.bottomLeftBorderDoubleInnerBox=Q>0||F>0?W(t.left+I*2/3,t.top+d,Q-I*2/3,F-v*2/3,P.BOTTOM_LEFT):new y(t.left+I*2/3,t.top+t.height-v*2/3),this.topLeftBorderStroke=s>0||i>0?W(t.left+I/2,t.top+u/2,s-I/2,i-u/2,P.TOP_LEFT):new y(t.left+I/2,t.top+u/2),this.topRightBorderStroke=s>0||i>0?W(t.left+w,t.top+u/2,B-p/2,o-u/2,P.TOP_RIGHT):new y(t.left+t.width-p/2,t.top+u/2),this.bottomRightBorderStroke=c>0||g>0?W(t.left+h,t.top+H,c-p/2,g-v/2,P.BOTTOM_RIGHT):new y(t.left+t.width-p/2,t.top+t.height-v/2),this.bottomLeftBorderStroke=Q>0||F>0?W(t.left+I/2,t.top+d,Q-I/2,F-v/2,P.BOTTOM_LEFT):new y(t.left+I/2,t.top+t.height-v/2),this.topLeftBorderBox=s>0||i>0?W(t.left,t.top,s,i,P.TOP_LEFT):new y(t.left,t.top),this.topRightBorderBox=B>0||o>0?W(t.left+w,t.top,B,o,P.TOP_RIGHT):new y(t.left+t.width,t.top),this.bottomRightBorderBox=c>0||g>0?W(t.left+h,t.top+H,c,g,P.BOTTOM_RIGHT):new y(t.left+t.width,t.top+t.height),this.bottomLeftBorderBox=Q>0||F>0?W(t.left,t.top+d,Q,F,P.BOTTOM_LEFT):new y(t.left,t.top+t.height),this.topLeftPaddingBox=s>0||i>0?W(t.left+I,t.top+u,Math.max(0,s-I),Math.max(0,i-u),P.TOP_LEFT):new y(t.left+I,t.top+u),this.topRightPaddingBox=B>0||o>0?W(t.left+Math.min(w,t.width-p),t.top+u,w>t.width+p?0:Math.max(0,B-p),Math.max(0,o-u),P.TOP_RIGHT):new y(t.left+t.width-p,t.top+u),this.bottomRightPaddingBox=c>0||g>0?W(t.left+Math.min(h,t.width-I),t.top+Math.min(H,t.height-v),Math.max(0,c-p),Math.max(0,g-v),P.BOTTOM_RIGHT):new y(t.left+t.width-p,t.top+t.height-v),this.bottomLeftPaddingBox=Q>0||F>0?W(t.left+I,t.top+Math.min(d,t.height-v),Math.max(0,Q-I),Math.max(0,F-v),P.BOTTOM_LEFT):new y(t.left+I,t.top+t.height-v),this.topLeftContentBox=s>0||i>0?W(t.left+I+E,t.top+u+x,Math.max(0,s-(I+E)),Math.max(0,i-(u+x)),P.TOP_LEFT):new y(t.left+I+E,t.top+u+x),this.topRightContentBox=B>0||o>0?W(t.left+Math.min(w,t.width+I+E),t.top+u+x,w>t.width+I+E?0:B-I+E,o-(u+x),P.TOP_RIGHT):new y(t.left+t.width-(p+U),t.top+u+x),this.bottomRightContentBox=c>0||g>0?W(t.left+Math.min(h,t.width-(I+E)),t.top+Math.min(H,t.height+u+x),Math.max(0,c-(p+U)),g-(v+S),P.BOTTOM_RIGHT):new y(t.left+t.width-(p+U),t.top+t.height-(v+S)),this.bottomLeftContentBox=Q>0||F>0?W(t.left+I+E,t.top+d,Math.max(0,Q-(I+E)),F-(v+S),P.BOTTOM_LEFT):new y(t.left+I+E,t.top+t.height-(v+S))}return r}(),P;(function(r){r[r.TOP_LEFT=0]="TOP_LEFT",r[r.TOP_RIGHT=1]="TOP_RIGHT",r[r.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",r[r.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(P||(P={}));var W=function(r,A,e,t,n){var s=4*((Math.sqrt(2)-1)/3),i=e*s,a=t*s,B=r+e,o=A+t;switch(n){case P.TOP_LEFT:return new Ut(new y(r,o),new y(r,o-a),new y(B-i,A),new y(B,A));case P.TOP_RIGHT:return new Ut(new y(r,A),new y(r+i,A),new y(B,o-a),new y(B,o));case P.BOTTOM_RIGHT:return new Ut(new y(B,A),new y(B,A+a),new y(r+i,o),new y(r,o));case P.BOTTOM_LEFT:default:return new Ut(new y(B,o),new y(B-i,o),new y(r,A+a),new y(r,A))}},Tt=function(r){return[r.topLeftBorderBox,r.topRightBorderBox,r.bottomRightBorderBox,r.bottomLeftBorderBox]},Sg=function(r){return[r.topLeftContentBox,r.topRightContentBox,r.bottomRightContentBox,r.bottomLeftContentBox]},St=function(r){return[r.topLeftPaddingBox,r.topRightPaddingBox,r.bottomRightPaddingBox,r.bottomLeftPaddingBox]},Mg=function(){function r(A,e,t){this.offsetX=A,this.offsetY=e,this.matrix=t,this.type=0,this.target=6}return r}(),Ft=function(){function r(A,e){this.path=A,this.target=e,this.type=1}return r}(),Og=function(){function r(A){this.opacity=A,this.type=2,this.target=6}return r}(),Rg=function(r){return r.type===0},yi=function(r){return r.type===1},Gg=function(r){return r.type===2},hs=function(r,A){return r.length===A.length?r.some(function(e,t){return e===A[t]}):!1},Ng=function(r,A,e,t,n){return r.map(function(s,i){switch(i){case 0:return s.add(A,e);case 1:return s.add(A+t,e);case 2:return s.add(A+t,e+n);case 3:return s.add(A,e+n)}return s})},bi=function(){function r(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return r}(),Li=function(){function r(A,e){if(this.container=A,this.parent=e,this.effects=[],this.curves=new Tg(this.container),this.container.styles.opacity<1&&this.effects.push(new Og(this.container.styles.opacity)),this.container.styles.transform!==null){var t=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,s=this.container.styles.transform;this.effects.push(new Mg(t,n,s))}if(this.container.styles.overflowX!==0){var i=Tt(this.curves),a=St(this.curves);hs(i,a)?this.effects.push(new Ft(i,6)):(this.effects.push(new Ft(i,2)),this.effects.push(new Ft(a,4)))}}return r.prototype.getEffects=function(A){for(var e=[2,3].indexOf(this.container.styles.position)===-1,t=this.parent,n=this.effects.slice(0);t;){var s=t.effects.filter(function(B){return!yi(B)});if(e||t.container.styles.position!==0||!t.parent){if(n.unshift.apply(n,s),e=[2,3].indexOf(t.container.styles.position)===-1,t.container.styles.overflowX!==0){var i=Tt(t.curves),a=St(t.curves);hs(i,a)||n.unshift(new Ft(a,6))}}else n.unshift.apply(n,s);t=t.parent}return n.filter(function(B){return sA(B.target,A)})},r}(),Yr=function(r,A,e,t){r.container.elements.forEach(function(n){var s=sA(n.flags,4),i=sA(n.flags,2),a=new Li(n,r);sA(n.styles.display,2048)&&t.push(a);var B=sA(n.flags,8)?[]:t;if(s||i){var o=s||n.styles.isPositioned()?e:A,l=new bi(a);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var c=n.styles.zIndex.order;if(c<0){var g=0;o.negativeZIndex.some(function(Q,F){return c>Q.element.container.styles.zIndex.order?(g=F,!1):g>0}),o.negativeZIndex.splice(g,0,l)}else if(c>0){var C=0;o.positiveZIndex.some(function(Q,F){return c>=Q.element.container.styles.zIndex.order?(C=F+1,!1):C>0}),o.positiveZIndex.splice(C,0,l)}else o.zeroOrAutoZIndexOrTransformedOrOpacity.push(l)}else n.styles.isFloating()?o.nonPositionedFloats.push(l):o.nonPositionedInlineLevel.push(l);Yr(a,l,s?l:e,B)}else n.styles.isInlineLevel()?A.inlineLevel.push(a):A.nonInlineLevel.push(a),Yr(a,A,e,B);sA(n.flags,8)&&Ki(n,B)})},Ki=function(r,A){for(var e=r instanceof Pr?r.start:1,t=r instanceof Pr?r.reversed:!1,n=0;n"u"?r[0]:e},Wg=function(r,A,e,t,n){var s=A[0],i=A[1],a=e[0],B=e[1];switch(r){case 2:return[new y(Math.round(t.left),Math.round(t.top+i)),new y(Math.round(t.left+t.width),Math.round(t.top+i)),new y(Math.round(t.left+t.width),Math.round(B+t.top+i)),new y(Math.round(t.left),Math.round(B+t.top+i))];case 3:return[new y(Math.round(t.left+s),Math.round(t.top)),new y(Math.round(t.left+s+a),Math.round(t.top)),new y(Math.round(t.left+s+a),Math.round(t.height+t.top)),new y(Math.round(t.left+s),Math.round(t.height+t.top))];case 1:return[new y(Math.round(t.left+s),Math.round(t.top+i)),new y(Math.round(t.left+s+a),Math.round(t.top+i)),new y(Math.round(t.left+s+a),Math.round(t.top+i+B)),new y(Math.round(t.left+s),Math.round(t.top+i+B))];default:return[new y(Math.round(n.left),Math.round(n.top)),new y(Math.round(n.left+n.width),Math.round(n.top)),new y(Math.round(n.left+n.width),Math.round(n.height+n.top)),new y(Math.round(n.left),Math.round(n.height+n.top))]}},Zg="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Us="Hidden Text",zg=function(){function r(A){this._data={},this._document=A}return r.prototype.parseMetrics=function(A,e){var t=this._document.createElement("div"),n=this._document.createElement("img"),s=this._document.createElement("span"),i=this._document.body;t.style.visibility="hidden",t.style.fontFamily=A,t.style.fontSize=e,t.style.margin="0",t.style.padding="0",t.style.whiteSpace="nowrap",i.appendChild(t),n.src=Zg,n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",s.style.fontFamily=A,s.style.fontSize=e,s.style.margin="0",s.style.padding="0",s.appendChild(this._document.createTextNode(Us)),t.appendChild(s),t.appendChild(n);var a=n.offsetTop-s.offsetTop+2;t.removeChild(s),t.appendChild(this._document.createTextNode(Us)),t.style.lineHeight="normal",n.style.verticalAlign="super";var B=n.offsetTop-t.offsetTop+2;return i.removeChild(t),{baseline:a,middle:B}},r.prototype.getMetrics=function(A,e){var t=A+" "+e;return typeof this._data[t]>"u"&&(this._data[t]=this.parseMetrics(A,e)),this._data[t]},r}(),Di=function(){function r(A,e){this.context=A,this.options=e}return r}(),jg=1e4,qg=function(r){yA(A,r);function A(e,t){var n=r.call(this,e,t)||this;return n._activeEffects=[],n.canvas=t.canvas?t.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),t.canvas||(n.canvas.width=Math.floor(t.width*t.scale),n.canvas.height=Math.floor(t.height*t.scale),n.canvas.style.width=t.width+"px",n.canvas.style.height=t.height+"px"),n.fontMetrics=new zg(document),n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-t.x,-t.y),n.ctx.textBaseline="bottom",n._activeEffects=[],n.context.logger.debug("Canvas renderer initialized ("+t.width+"x"+t.height+") with scale "+t.scale),n}return A.prototype.applyEffects=function(e){for(var t=this;this._activeEffects.length;)this.popEffect();e.forEach(function(n){return t.applyEffect(n)})},A.prototype.applyEffect=function(e){this.ctx.save(),Gg(e)&&(this.ctx.globalAlpha=e.opacity),Rg(e)&&(this.ctx.translate(e.offsetX,e.offsetY),this.ctx.transform(e.matrix[0],e.matrix[1],e.matrix[2],e.matrix[3],e.matrix[4],e.matrix[5]),this.ctx.translate(-e.offsetX,-e.offsetY)),yi(e)&&(this.path(e.path),this.ctx.clip()),this._activeEffects.push(e)},A.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},A.prototype.renderStack=function(e){return fA(this,void 0,void 0,function(){var t;return cA(this,function(n){switch(n.label){case 0:return t=e.element.container.styles,t.isVisible()?[4,this.renderStackContent(e)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}})})},A.prototype.renderNode=function(e){return fA(this,void 0,void 0,function(){return cA(this,function(t){switch(t.label){case 0:if(sA(e.container.flags,16))debugger;return e.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(e)]:[3,3];case 1:return t.sent(),[4,this.renderNodeContent(e)];case 2:t.sent(),t.label=3;case 3:return[2]}})})},A.prototype.renderTextWithLetterSpacing=function(e,t,n){var s=this;if(t===0)this.ctx.fillText(e.text,e.bounds.left,e.bounds.top+n);else{var i=tn(e.text);i.reduce(function(a,B){return s.ctx.fillText(B,a,e.bounds.top+n),a+s.ctx.measureText(B).width},e.bounds.left)}},A.prototype.createFontStyle=function(e){var t=e.fontVariant.filter(function(i){return i==="normal"||i==="small-caps"}).join(""),n=ru(e.fontFamily).join(", "),s=We(e.fontSize)?""+e.fontSize.number+e.fontSize.unit:e.fontSize.number+"px";return[[e.fontStyle,t,e.fontWeight,s,n].join(" "),n,s]},A.prototype.renderTextNode=function(e,t){return fA(this,void 0,void 0,function(){var n,s,i,a,B,o,l,c,g=this;return cA(this,function(C){return n=this.createFontStyle(t),s=n[0],i=n[1],a=n[2],this.ctx.font=s,this.ctx.direction=t.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",B=this.fontMetrics.getMetrics(i,a),o=B.baseline,l=B.middle,c=t.paintOrder,e.textBounds.forEach(function(Q){c.forEach(function(F){switch(F){case 0:g.ctx.fillStyle=aA(t.color),g.renderTextWithLetterSpacing(Q,t.letterSpacing,o);var L=t.textShadow;L.length&&Q.text.trim().length&&(L.slice(0).reverse().forEach(function(f){g.ctx.shadowColor=aA(f.color),g.ctx.shadowOffsetX=f.offsetX.number*g.options.scale,g.ctx.shadowOffsetY=f.offsetY.number*g.options.scale,g.ctx.shadowBlur=f.blur.number,g.renderTextWithLetterSpacing(Q,t.letterSpacing,o)}),g.ctx.shadowColor="",g.ctx.shadowOffsetX=0,g.ctx.shadowOffsetY=0,g.ctx.shadowBlur=0),t.textDecorationLine.length&&(g.ctx.fillStyle=aA(t.textDecorationColor||t.color),t.textDecorationLine.forEach(function(f){switch(f){case 1:g.ctx.fillRect(Q.bounds.left,Math.round(Q.bounds.top+o),Q.bounds.width,1);break;case 2:g.ctx.fillRect(Q.bounds.left,Math.round(Q.bounds.top),Q.bounds.width,1);break;case 3:g.ctx.fillRect(Q.bounds.left,Math.ceil(Q.bounds.top+l),Q.bounds.width,1);break}}));break;case 1:t.webkitTextStrokeWidth&&Q.text.trim().length&&(g.ctx.strokeStyle=aA(t.webkitTextStrokeColor),g.ctx.lineWidth=t.webkitTextStrokeWidth,g.ctx.lineJoin=window.chrome?"miter":"round",g.ctx.strokeText(Q.text,Q.bounds.left,Q.bounds.top+o)),g.ctx.strokeStyle="",g.ctx.lineWidth=0,g.ctx.lineJoin="miter";break}})}),[2]})})},A.prototype.renderReplacedElement=function(e,t,n){if(n&&e.intrinsicWidth>0&&e.intrinsicHeight>0){var s=Mt(e),i=St(t);this.path(i),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,e.intrinsicWidth,e.intrinsicHeight,s.left,s.top,s.width,s.height),this.ctx.restore()}},A.prototype.renderNodeContent=function(e){return fA(this,void 0,void 0,function(){var t,n,s,i,a,B,w,w,o,l,c,g,h,C,Q,d,F,L,f,w,H,h,d;return cA(this,function(u){switch(u.label){case 0:this.applyEffects(e.getEffects(4)),t=e.container,n=e.curves,s=t.styles,i=0,a=t.textNodes,u.label=1;case 1:return i0&&D>0&&(v=s.ctx.createPattern(d,"repeat"),s.renderRepeat(x,v,z,M))):Go(l)&&(I=pr(e,t,[null,null,null]),x=I[0],U=I[1],S=I[2],E=I[3],D=I[4],m=l.position.length===0?[$r]:l.position,z=J(m[0],E),M=J(m[m.length-1],D),tA=To(l,z,M,E,D),rA=tA[0],N=tA[1],rA>0&&N>0&&(nA=s.ctx.createRadialGradient(U+z,S+M,0,U+z,S+M,rA),Vn(l.stops,rA*2).forEach(function(XA){return nA.addColorStop(XA.stop,aA(XA.color))}),s.path(x),s.ctx.fillStyle=nA,rA!==N?(bA=e.bounds.left+.5*e.bounds.width,j=e.bounds.top+.5*e.bounds.height,MA=N/rA,CA=1/MA,s.ctx.save(),s.ctx.translate(bA,j),s.ctx.transform(1,0,0,MA,0,0),s.ctx.translate(-bA,-j),s.ctx.fillRect(U,CA*(S-j)+j,E,D*CA),s.ctx.restore()):s.ctx.fill())),OA.label=6;case 6:return t--,[2]}})},s=this,i=0,a=e.styles.backgroundImage.slice(0).reverse(),o.label=1;case 1:return i0?l.style!==2?[3,5]:[4,this.renderDashedDottedBorder(l.color,l.width,a,e.curves,2)]:[3,11]):[3,13];case 4:return g.sent(),[3,11];case 5:return l.style!==3?[3,7]:[4,this.renderDashedDottedBorder(l.color,l.width,a,e.curves,3)];case 6:return g.sent(),[3,11];case 7:return l.style!==4?[3,9]:[4,this.renderDoubleBorder(l.color,l.width,a,e.curves)];case 8:return g.sent(),[3,11];case 9:return[4,this.renderSolidBorder(l.color,a,e.curves)];case 10:g.sent(),g.label=11;case 11:a++,g.label=12;case 12:return B++,[3,3];case 13:return[2]}})})},A.prototype.renderDashedDottedBorder=function(e,t,n,s,i){return fA(this,void 0,void 0,function(){var a,B,o,l,c,g,C,Q,F,L,f,w,H,h,d,u,d,u;return cA(this,function(p){return this.ctx.save(),a=_g(s,n),B=Cs(s,n),i===2&&(this.path(B),this.ctx.clip()),pA(B[0])?(o=B[0].start.x,l=B[0].start.y):(o=B[0].x,l=B[0].y),pA(B[1])?(c=B[1].end.x,g=B[1].end.y):(c=B[1].x,g=B[1].y),n===0||n===2?C=Math.abs(o-c):C=Math.abs(l-g),this.ctx.beginPath(),i===3?this.formatPath(a):this.formatPath(B.slice(0,2)),Q=t<3?t*3:t*2,F=t<3?t*2:t,i===3&&(Q=t,F=t),L=!0,C<=Q*2?L=!1:C<=Q*2+F?(f=C/(2*Q+F),Q*=f,F*=f):(w=Math.floor((C+F)/(Q+F)),H=(C-w*Q)/(w-1),h=(C-(w+1)*Q)/w,F=h<=0||Math.abs(F-H)