import RB from"./DataOverview-daf66b37-1785478469326v=1.0.0.js";import VB from"./PhysicalFitnessTest-b9c2ed15-1785478469326v=1.0.0.js";import NB from"./ExtraSportsData-b6cddd8d-1785478469326v=1.0.0.js";import XB from"./TrainingUsage-cfb4fce7-1785478469326v=1.0.0.js";import JB from"./SearchBox-554a2e6b-1785478469326v=1.0.0.js";import _B from"./SportsInstruction-798e1eea-1785478469326v=1.0.0.js";import kB from"./MassActivities-d9542586-1785478469326v=1.0.0.js";import{x as PB,r as YB,c as WB,al as kr,y as ZB,z as qB,L as tA,Q as N,A as zB,u as yA,I as iA}from"./vendor-46662d77-1785478469326v=1.0.0.js";import{_ as jB}from"./index-5a47c360-1785478469326v=1.0.0.js";import"./CardBox-d49ae056-1785478469326v=1.0.0.js";import"./eleVendor-bc05bc4d-1785478469326v=1.0.0.js";import"./workbench-ed922c90-1785478469326v=1.0.0.js";import"./index-e26c4070-1785478469326v=1.0.0.js";import"./DataSmallCard-f75e2176-1785478469326v=1.0.0.js";import"./Top10Departments-11b65196-1785478469326v=1.0.0.js";import"./index-37bf2f99-1785478469326v=1.0.0.js";import"./workbench-c54758ec-1785478469326v=1.0.0.js";import"./Five-YearTestRecords-afcfe633-1785478469326v=1.0.0.js";import"./joinNum-bb36e3cf-1785478469326v=1.0.0.js";import"./useGetCollage-5696f774-1785478469326v=1.0.0.js";import"./CourseDistributionChart-9f41df2b-1785478469326v=1.0.0.js";/*!
 * html2canvas 1.4.1 <https://html2canvas.hertzen.com>
 * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
 * 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(A,e){return Hr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var B in r)Object.prototype.hasOwnProperty.call(r,B)&&(t[B]=r[B])},Hr(A,e)};function AA(A,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Hr(A,e);function t(){this.constructor=A}A.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}function W(A,e,t,r){function B(s){return s instanceof t?s:new t(function(n){n(s)})}return new(t||(t=Promise))(function(s,n){function a(o){try{Q(r.next(o))}catch(w){n(w)}}function i(o){try{Q(r.throw(o))}catch(w){n(w)}}function Q(o){o.done?s(o.value):B(o.value).then(a,i)}Q((r=r.apply(A,e||[])).next())})}function k(A,e){var t={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,B,s,n;return n={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(n[Symbol.iterator]=function(){return this}),n;function a(Q){return function(o){return i([Q,o])}}function i(Q){if(r)throw new TypeError("Generator is already executing.");for(;t;)try{if(r=1,B&&(s=Q[0]&2?B.return:Q[0]?B.throw||((s=B.return)&&s.call(B),0):B.next)&&!(s=s.call(B,Q[1])).done)return s;switch(B=0,s&&(Q=[Q[0]&2,s.value]),Q[0]){case 0:case 1:s=Q;break;case 4:return t.label++,{value:Q[1],done:!1};case 5:t.label++,B=Q[1],Q=[0];continue;case 7:Q=t.ops.pop(),t.trys.pop();continue;default:if(s=t.trys,!(s=s.length>0&&s[s.length-1])&&(Q[0]===6||Q[0]===2)){t=0;continue}if(Q[0]===3&&(!s||Q[1]>s[0]&&Q[1]<s[3])){t.label=Q[1];break}if(Q[0]===6&&t.label<s[1]){t.label=s[1],s=Q;break}if(s&&t.label<s[2]){t.label=s[2],t.ops.push(Q);break}s[2]&&t.ops.pop(),t.trys.pop();continue}Q=e.call(A,t)}catch(o){Q=[6,o],B=0}finally{r=s=0}if(Q[0]&5)throw Q[1];return{value:Q[0]?Q[1]:void 0,done:!0}}}var pA=function(){function A(e,t,r,B){this.left=e,this.top=t,this.width=r,this.height=B}return A.prototype.add=function(e,t,r,B){return new A(this.left+e,this.top+t,this.width+r,this.height+B)},A.fromClientRect=function(e,t){return new A(t.left+e.windowBounds.left,t.top+e.windowBounds.top,t.width,t.height)},A.fromDOMRectList=function(e,t){var r=Array.from(t).find(function(B){return B.width!==0});return r?new A(r.left+e.windowBounds.left,r.top+e.windowBounds.top,r.width,r.height):A.EMPTY},A.EMPTY=new A(0,0,0,0),A}(),Or=function(A,e){return pA.fromClientRect(A,e.getBoundingClientRect())},Ne=function(A){for(var e=[],t=0,r=A.length;t<r;){var B=A.charCodeAt(t++);if(B>=55296&&B<=56319&&t<r){var s=A.charCodeAt(t++);(s&64512)===56320?e.push(((B&1023)<<10)+(s&1023)+65536):(e.push(B),t--)}else e.push(B)}return e},S=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var t=A.length;if(!t)return"";for(var r=[],B=-1,s="";++B<t;){var n=A[B];n<=65535?r.push(n):(n-=65536,r.push((n>>10)+55296,n%1024+56320)),(B+1===t||r.length>16384)&&(s+=String.fromCharCode.apply(String,r),r.length=0)}return s},Pr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",$B=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var ie=0;ie<Pr.length;ie++)$B[Pr.charCodeAt(ie)]=ie;var Yr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",kA=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Qe=0;Qe<Yr.length;Qe++)kA[Yr.charCodeAt(Qe)]=Qe;var As=function(A){var e=A.length*.75,t=A.length,r,B=0,s,n,a,i;A[A.length-1]==="="&&(e--,A[A.length-2]==="="&&e--);var Q=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(e):new Array(e),o=Array.isArray(Q)?Q:new Uint8Array(Q);for(r=0;r<t;r+=4)s=kA[A.charCodeAt(r)],n=kA[A.charCodeAt(r+1)],a=kA[A.charCodeAt(r+2)],i=kA[A.charCodeAt(r+3)],o[B++]=s<<2|n>>4,o[B++]=(n&15)<<4|a>>2,o[B++]=(a&3)<<6|i&63;return Q},es=function(A){for(var e=A.length,t=[],r=0;r<e;r+=2)t.push(A[r+1]<<8|A[r]);return t},rs=function(A){for(var e=A.length,t=[],r=0;r<e;r+=4)t.push(A[r+3]<<24|A[r+2]<<16|A[r+1]<<8|A[r]);return t},dA=5,Gr=6+5,tr=2,ts=Gr-dA,Nt=65536>>dA,Bs=1<<dA,Br=Bs-1,ss=1024>>dA,ns=Nt+ss,as=ns,is=32,Qs=as+is,os=65536>>Gr,ws=1<<ts,gs=ws-1,Wr=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},Cs=function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))},Us=function(A,e){var t=As(A),r=Array.isArray(t)?rs(t):new Uint32Array(t),B=Array.isArray(t)?es(t):new Uint16Array(t),s=24,n=Wr(B,s/2,r[4]/2),a=r[5]===2?Wr(B,(s+r[4])/2):Cs(r,Math.ceil((s+r[4])/4));return new cs(r[0],r[1],r[2],r[3],n,a)},cs=function(){function A(e,t,r,B,s,n){this.initialValue=e,this.errorValue=t,this.highStart=r,this.highValueIndex=B,this.index=s,this.data=n}return A.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>dA],t=(t<<tr)+(e&Br),this.data[t];if(e<=65535)return t=this.index[Nt+(e-55296>>dA)],t=(t<<tr)+(e&Br),this.data[t];if(e<this.highStart)return t=Qs-os+(e>>Gr),t=this.index[t],t+=e>>dA&gs,t=this.index[t],t=(t<<tr)+(e&Br),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),Zr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Fs=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var oe=0;oe<Zr.length;oe++)Fs[Zr.charCodeAt(oe)]=oe;var us=" ",qr=50,fs=1,Xt=2,Jt=3,ls=4,hs=5,zr=7,_t=8,jr=9,cA=10,Er=11,$r=12,dr=13,Hs=14,PA=15,Ir=16,we=17,NA=18,Es=19,At=20,pr=21,XA=22,sr=23,LA=24,P=25,YA=26,WA=27,mA=28,ds=29,HA=30,Is=31,ge=32,Ce=33,vr=34,Kr=35,yr=36,ee=37,Lr=38,me=39,De=40,nr=41,kt=42,ps=43,vs=[9001,65288],Pt="!",d="\xD7",Ue="\xF7",mr=Us(us),QA=[HA,yr],Dr=[fs,Xt,Jt,hs],Yt=[cA,_t],et=[WA,YA],Ks=Dr.concat(Yt),rt=[Lr,me,De,vr,Kr],ys=[PA,dr],Ls=function(A,e){e===void 0&&(e="strict");var t=[],r=[],B=[];return A.forEach(function(s,n){var a=mr.get(s);if(a>qr?(B.push(!0),a-=qr):B.push(!1),["normal","auto","loose"].indexOf(e)!==-1&&[8208,8211,12316,12448].indexOf(s)!==-1)return r.push(n),t.push(Ir);if(a===ls||a===Er){if(n===0)return r.push(n),t.push(HA);var i=t[n-1];return Ks.indexOf(i)===-1?(r.push(r[n-1]),t.push(i)):(r.push(n),t.push(HA))}if(r.push(n),a===Is)return t.push(e==="strict"?pr:ee);if(a===kt||a===ds)return t.push(HA);if(a===ps)return s>=131072&&s<=196605||s>=196608&&s<=262141?t.push(ee):t.push(HA);t.push(a)}),[r,t,B]},ar=function(A,e,t,r){var B=r[t];if(Array.isArray(A)?A.indexOf(B)!==-1:A===B)for(var s=t;s<=r.length;){s++;var n=r[s];if(n===e)return!0;if(n!==cA)break}if(B===cA)for(var s=t;s>0;){s--;var a=r[s];if(Array.isArray(A)?A.indexOf(a)!==-1:A===a)for(var i=t;i<=r.length;){i++;var n=r[i];if(n===e)return!0;if(n!==cA)break}if(a!==cA)break}return!1},tt=function(A,e){for(var t=A;t>=0;){var r=e[t];if(r===cA)t--;else return r}return 0},ms=function(A,e,t,r,B){if(t[r]===0)return d;var s=r-1;if(Array.isArray(B)&&B[s]===!0)return d;var n=s-1,a=s+1,i=e[s],Q=n>=0?e[n]:0,o=e[a];if(i===Xt&&o===Jt)return d;if(Dr.indexOf(i)!==-1)return Pt;if(Dr.indexOf(o)!==-1||Yt.indexOf(o)!==-1)return d;if(tt(s,e)===_t)return Ue;if(mr.get(A[s])===Er||(i===ge||i===Ce)&&mr.get(A[a])===Er||i===zr||o===zr||i===jr||[cA,dr,PA].indexOf(i)===-1&&o===jr||[we,NA,Es,LA,mA].indexOf(o)!==-1||tt(s,e)===XA||ar(sr,XA,s,e)||ar([we,NA],pr,s,e)||ar($r,$r,s,e))return d;if(i===cA)return Ue;if(i===sr||o===sr)return d;if(o===Ir||i===Ir)return Ue;if([dr,PA,pr].indexOf(o)!==-1||i===Hs||Q===yr&&ys.indexOf(i)!==-1||i===mA&&o===yr||o===At||QA.indexOf(o)!==-1&&i===P||QA.indexOf(i)!==-1&&o===P||i===WA&&[ee,ge,Ce].indexOf(o)!==-1||[ee,ge,Ce].indexOf(i)!==-1&&o===YA||QA.indexOf(i)!==-1&&et.indexOf(o)!==-1||et.indexOf(i)!==-1&&QA.indexOf(o)!==-1||[WA,YA].indexOf(i)!==-1&&(o===P||[XA,PA].indexOf(o)!==-1&&e[a+1]===P)||[XA,PA].indexOf(i)!==-1&&o===P||i===P&&[P,mA,LA].indexOf(o)!==-1)return d;if([P,mA,LA,we,NA].indexOf(o)!==-1)for(var w=s;w>=0;){var g=e[w];if(g===P)return d;if([mA,LA].indexOf(g)!==-1)w--;else break}if([WA,YA].indexOf(o)!==-1)for(var w=[we,NA].indexOf(i)!==-1?n:s;w>=0;){var g=e[w];if(g===P)return d;if([mA,LA].indexOf(g)!==-1)w--;else break}if(Lr===i&&[Lr,me,vr,Kr].indexOf(o)!==-1||[me,vr].indexOf(i)!==-1&&[me,De].indexOf(o)!==-1||[De,Kr].indexOf(i)!==-1&&o===De||rt.indexOf(i)!==-1&&[At,YA].indexOf(o)!==-1||rt.indexOf(o)!==-1&&i===WA||QA.indexOf(i)!==-1&&QA.indexOf(o)!==-1||i===LA&&QA.indexOf(o)!==-1||QA.concat(P).indexOf(i)!==-1&&o===XA&&vs.indexOf(A[a])===-1||QA.concat(P).indexOf(o)!==-1&&i===NA)return d;if(i===nr&&o===nr){for(var F=t[s],C=1;F>0&&(F--,e[F]===nr);)C++;if(C%2!==0)return d}return i===ge&&o===Ce?d:Ue},Ds=function(A,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var t=Ls(A,e.lineBreak),r=t[0],B=t[1],s=t[2];(e.wordBreak==="break-all"||e.wordBreak==="break-word")&&(B=B.map(function(a){return[P,HA,kt].indexOf(a)!==-1?ee:a}));var n=e.wordBreak==="keep-all"?s.map(function(a,i){return a&&A[i]>=19968&&A[i]<=40959}):void 0;return[r,B,n]},bs=function(){function A(e,t,r,B){this.codePoints=e,this.required=t===Pt,this.start=r,this.end=B}return A.prototype.slice=function(){return S.apply(void 0,this.codePoints.slice(this.start,this.end))},A}(),xs=function(A,e){var t=Ne(A),r=Ds(t,e),B=r[0],s=r[1],n=r[2],a=t.length,i=0,Q=0;return{next:function(){if(Q>=a)return{done:!0,value:null};for(var o=d;Q<a&&(o=ms(t,s,B,++Q,n))===d;);if(o!==d||Q===a){var w=new bs(t,o,i,Q);return i=Q,{value:w,done:!1}}return{done:!0,value:null}}}},Ts=1<<0,Ss=1<<1,Be=1<<2,Bt=1<<3,xe=10,st=47,jA=92,Ms=9,Os=32,ce=34,JA=61,Gs=35,Rs=36,Vs=37,Fe=39,ue=40,_A=41,Ns=95,J=45,Xs=33,Js=60,_s=62,ks=64,Ps=91,Ys=93,Ws=61,Zs=123,fe=63,qs=125,nt=124,zs=126,js=128,at=65533,ir=42,EA=43,$s=44,An=58,en=59,re=46,rn=0,tn=8,Bn=11,sn=14,nn=31,an=127,BA=-1,Wt=48,Zt=97,qt=101,Qn=102,on=117,wn=122,zt=65,jt=69,$t=70,gn=85,Cn=90,X=function(A){return A>=Wt&&A<=57},Un=function(A){return A>=55296&&A<=57343},DA=function(A){return X(A)||A>=zt&&A<=$t||A>=Zt&&A<=Qn},cn=function(A){return A>=Zt&&A<=wn},Fn=function(A){return A>=zt&&A<=Cn},un=function(A){return cn(A)||Fn(A)},fn=function(A){return A>=js},le=function(A){return A===xe||A===Ms||A===Os},Te=function(A){return un(A)||fn(A)||A===Ns},it=function(A){return Te(A)||X(A)||A===J},ln=function(A){return A>=rn&&A<=tn||A===Bn||A>=sn&&A<=nn||A===an},UA=function(A,e){return A!==jA?!1:e!==xe},he=function(A,e,t){return A===J?Te(e)||UA(e,t):Te(A)?!0:!!(A===jA&&UA(A,e))},Qr=function(A,e,t){return A===EA||A===J?X(e)?!0:e===re&&X(t):X(A===re?e:A)},hn=function(A){var e=0,t=1;(A[e]===EA||A[e]===J)&&(A[e]===J&&(t=-1),e++);for(var r=[];X(A[e]);)r.push(A[e++]);var B=r.length?parseInt(S.apply(void 0,r),10):0;A[e]===re&&e++;for(var s=[];X(A[e]);)s.push(A[e++]);var n=s.length,a=n?parseInt(S.apply(void 0,s),10):0;(A[e]===jt||A[e]===qt)&&e++;var i=1;(A[e]===EA||A[e]===J)&&(A[e]===J&&(i=-1),e++);for(var Q=[];X(A[e]);)Q.push(A[e++]);var o=Q.length?parseInt(S.apply(void 0,Q),10):0;return t*(B+a*Math.pow(10,-n))*Math.pow(10,i*o)},Hn={type:2},En={type:3},dn={type:4},In={type:13},pn={type:8},vn={type:21},Kn={type:9},yn={type:10},Ln={type:11},mn={type:12},Dn={type:14},He={type:23},bn={type:1},xn={type:25},Tn={type:24},Sn={type:26},Mn={type:27},On={type:28},Gn={type:29},Rn={type:31},br={type:32},AB=function(){function A(){this._value=[]}return A.prototype.write=function(e){this._value=this._value.concat(Ne(e))},A.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==br;)e.push(t),t=this.consumeToken();return e},A.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case ce:return this.consumeStringToken(ce);case Gs:var t=this.peekCodePoint(0),r=this.peekCodePoint(1),B=this.peekCodePoint(2);if(it(t)||UA(r,B)){var s=he(t,r,B)?Ss:Ts,n=this.consumeName();return{type:5,value:n,flags:s}}break;case Rs:if(this.peekCodePoint(0)===JA)return this.consumeCodePoint(),In;break;case Fe:return this.consumeStringToken(Fe);case ue:return Hn;case _A:return En;case ir:if(this.peekCodePoint(0)===JA)return this.consumeCodePoint(),Dn;break;case EA:if(Qr(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case $s:return dn;case J:var a=e,i=this.peekCodePoint(0),Q=this.peekCodePoint(1);if(Qr(a,i,Q))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(he(a,i,Q))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(i===J&&Q===_s)return this.consumeCodePoint(),this.consumeCodePoint(),Tn;break;case re:if(Qr(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case st:if(this.peekCodePoint(0)===ir)for(this.consumeCodePoint();;){var o=this.consumeCodePoint();if(o===ir&&(o=this.consumeCodePoint(),o===st))return this.consumeToken();if(o===BA)return this.consumeToken()}break;case An:return Sn;case en:return Mn;case Js:if(this.peekCodePoint(0)===Xs&&this.peekCodePoint(1)===J&&this.peekCodePoint(2)===J)return this.consumeCodePoint(),this.consumeCodePoint(),xn;break;case ks:var w=this.peekCodePoint(0),g=this.peekCodePoint(1),F=this.peekCodePoint(2);if(he(w,g,F)){var n=this.consumeName();return{type:7,value:n}}break;case Ps:return On;case jA:if(UA(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case Ys:return Gn;case Ws:if(this.peekCodePoint(0)===JA)return this.consumeCodePoint(),pn;break;case Zs:return Ln;case qs:return mn;case on:case gn:var C=this.peekCodePoint(0),f=this.peekCodePoint(1);return C===EA&&(DA(f)||f===fe)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case nt:if(this.peekCodePoint(0)===JA)return this.consumeCodePoint(),Kn;if(this.peekCodePoint(0)===nt)return this.consumeCodePoint(),vn;break;case zs:if(this.peekCodePoint(0)===JA)return this.consumeCodePoint(),yn;break;case BA:return br}return le(e)?(this.consumeWhiteSpace(),Rn):X(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):Te(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:S(e)}},A.prototype.consumeCodePoint=function(){var e=this._value.shift();return typeof e>"u"?-1:e},A.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},A.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},A.prototype.consumeUnicodeRangeToken=function(){for(var e=[],t=this.consumeCodePoint();DA(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var r=!1;t===fe&&e.length<6;)e.push(t),t=this.consumeCodePoint(),r=!0;if(r){var B=parseInt(S.apply(void 0,e.map(function(i){return i===fe?Wt:i})),16),s=parseInt(S.apply(void 0,e.map(function(i){return i===fe?$t:i})),16);return{type:30,start:B,end:s}}var n=parseInt(S.apply(void 0,e),16);if(this.peekCodePoint(0)===J&&DA(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var a=[];DA(t)&&a.length<6;)a.push(t),t=this.consumeCodePoint();var s=parseInt(S.apply(void 0,a),16);return{type:30,start:n,end:s}}else return{type:30,start:n,end:n}},A.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return e.toLowerCase()==="url"&&this.peekCodePoint(0)===ue?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===ue?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},A.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===BA)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===Fe||t===ce){var r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===BA||this.peekCodePoint(0)===_A)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),He)}for(;;){var B=this.consumeCodePoint();if(B===BA||B===_A)return{type:22,value:S.apply(void 0,e)};if(le(B))return this.consumeWhiteSpace(),this.peekCodePoint(0)===BA||this.peekCodePoint(0)===_A?(this.consumeCodePoint(),{type:22,value:S.apply(void 0,e)}):(this.consumeBadUrlRemnants(),He);if(B===ce||B===Fe||B===ue||ln(B))return this.consumeBadUrlRemnants(),He;if(B===jA)if(UA(B,this.peekCodePoint(0)))e.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),He;else e.push(B)}},A.prototype.consumeWhiteSpace=function(){for(;le(this.peekCodePoint(0));)this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(e===_A||e===BA)return;UA(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(e){for(var t=5e4,r="";e>0;){var B=Math.min(t,e);r+=S.apply(void 0,this._value.splice(0,B)),e-=B}return this._value.shift(),r},A.prototype.consumeStringToken=function(e){var t="",r=0;do{var B=this._value[r];if(B===BA||B===void 0||B===e)return t+=this.consumeStringSlice(r),{type:0,value:t};if(B===xe)return this._value.splice(0,r),bn;if(B===jA){var s=this._value[r+1];s!==BA&&s!==void 0&&(s===xe?(t+=this.consumeStringSlice(r),r=-1,this._value.shift()):UA(B,s)&&(t+=this.consumeStringSlice(r),t+=S(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)},A.prototype.consumeNumber=function(){var e=[],t=Be,r=this.peekCodePoint(0);for((r===EA||r===J)&&e.push(this.consumeCodePoint());X(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0);var B=this.peekCodePoint(1);if(r===re&&X(B))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=Bt;X(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0),B=this.peekCodePoint(1);var s=this.peekCodePoint(2);if((r===jt||r===qt)&&((B===EA||B===J)&&X(s)||X(B)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=Bt;X(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[hn(e),t]},A.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],r=e[1],B=this.peekCodePoint(0),s=this.peekCodePoint(1),n=this.peekCodePoint(2);if(he(B,s,n)){var a=this.consumeName();return{type:15,number:t,flags:r,unit:a}}return B===Vs?(this.consumeCodePoint(),{type:16,number:t,flags:r}):{type:17,number:t,flags:r}},A.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(DA(e)){for(var t=S(e);DA(this.peekCodePoint(0))&&t.length<6;)t+=S(this.consumeCodePoint());le(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(t,16);return r===0||Un(r)||r>1114111?at:r}return e===BA?at:e},A.prototype.consumeName=function(){for(var e="";;){var t=this.consumeCodePoint();if(it(t))e+=S(t);else if(UA(t,this.peekCodePoint(0)))e+=S(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(t),e}},A}(),eB=function(){function A(e){this._tokens=e}return A.create=function(e){var t=new AB;return t.write(e),new A(t.read())},A.parseValue=function(e){return A.create(e).parseComponentValue()},A.parseValues=function(e){return A.create(e).parseComponentValues()},A.prototype.parseComponentValue=function(){for(var e=this.consumeToken();e.type===31;)e=this.consumeToken();if(e.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var t=this.consumeComponentValue();do e=this.consumeToken();while(e.type===31);if(e.type===32)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},A.prototype.parseComponentValues=function(){for(var e=[];;){var t=this.consumeComponentValue();if(t.type===32)return e;e.push(t),e.push()}},A.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},A.prototype.consumeSimpleBlock=function(e){for(var t={type:e,values:[]},r=this.consumeToken();;){if(r.type===32||Vn(r,e))return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue()),r=this.consumeToken()}},A.prototype.consumeFunction=function(e){for(var t={name:e.value,values:[],type:18};;){var r=this.consumeToken();if(r.type===32||r.type===3)return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue())}},A.prototype.consumeToken=function(){var e=this._tokens.shift();return typeof e>"u"?br:e},A.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},A}(),se=function(A){return A.type===15},Xe=function(A){return A.type===17},x=function(A){return A.type===20},xr=function(A,e){return x(A)&&A.value===e},Je=function(A){return A.type!==31&&A.type!==4},sA=function(A){var e=[],t=[];return A.forEach(function(r){if(r.type===4){if(t.length===0)throw new Error("Error parsing function args, zero tokens for arg");e.push(t),t=[];return}r.type!==31&&t.push(r)}),t.length&&e.push(t),e},Vn=function(A,e){return e===11&&A.type===12||e===28&&A.type===29?!0:e===2&&A.type===3},lA=function(A){return A.type===17||A.type===15},M=function(A){return A.type===16||lA(A)},rB=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},R={type:17,number:0,flags:Be},Rr={type:16,number:50,flags:Be},FA={type:16,number:100,flags:Be},ZA=function(A,e,t){var r=A[0],B=A[1];return[L(r,e),L(typeof B<"u"?B:r,t)]},L=function(A,e){if(A.type===16)return A.number/100*e;if(se(A))switch(A.unit){case"rem":case"em":return 16*A.number;case"px":default:return A.number}return A.number},tB="deg",BB="grad",sB="rad",nB="turn",_e={name:"angle",parse:function(A,e){if(e.type===15)switch(e.unit){case tB:return Math.PI*e.number/180;case BB:return Math.PI/200*e.number;case sB:return e.number;case nB:return Math.PI*2*e.number}throw new Error("Unsupported angle type")}},aB=function(A){return A.type===15&&(A.unit===tB||A.unit===BB||A.unit===sB||A.unit===nB)},iB=function(A){var e=A.filter(x).map(function(t){return t.value}).join(" ");switch(e){case"to bottom right":case"to right bottom":case"left top":case"top left":return[R,R];case"to top":case"bottom":return z(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[R,FA];case"to right":case"left":return z(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[FA,FA];case"to bottom":case"top":return z(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[FA,R];case"to left":case"right":return z(270)}return 0},z=function(A){return Math.PI*A/180},fA={name:"color",parse:function(A,e){if(e.type===18){var t=Nn[e.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return t(A,e.values)}if(e.type===5){if(e.value.length===3){var r=e.value.substring(0,1),B=e.value.substring(1,2),s=e.value.substring(2,3);return uA(parseInt(r+r,16),parseInt(B+B,16),parseInt(s+s,16),1)}if(e.value.length===4){var r=e.value.substring(0,1),B=e.value.substring(1,2),s=e.value.substring(2,3),n=e.value.substring(3,4);return uA(parseInt(r+r,16),parseInt(B+B,16),parseInt(s+s,16),parseInt(n+n,16)/255)}if(e.value.length===6){var r=e.value.substring(0,2),B=e.value.substring(2,4),s=e.value.substring(4,6);return uA(parseInt(r,16),parseInt(B,16),parseInt(s,16),1)}if(e.value.length===8){var r=e.value.substring(0,2),B=e.value.substring(2,4),s=e.value.substring(4,6),n=e.value.substring(6,8);return uA(parseInt(r,16),parseInt(B,16),parseInt(s,16),parseInt(n,16)/255)}}if(e.type===20){var a=te[e.value.toUpperCase()];if(typeof a<"u")return a}return te.TRANSPARENT}},OA=function(A){return(255&A)===0},G=function(A){var e=255&A,t=255&A>>8,r=255&A>>16,B=255&A>>24;return e<255?"rgba("+B+","+r+","+t+","+e/255+")":"rgb("+B+","+r+","+t+")"},uA=function(A,e,t,r){return(A<<24|e<<16|t<<8|Math.round(r*255)<<0)>>>0},Qt=function(A,e){if(A.type===17)return A.number;if(A.type===16){var t=e===3?1:255;return e===3?A.number/100*t:Math.round(A.number/100*t)}return 0},ot=function(A,e){var t=e.filter(Je);if(t.length===3){var r=t.map(Qt),B=r[0],s=r[1],n=r[2];return uA(B,s,n,1)}if(t.length===4){var a=t.map(Qt),B=a[0],s=a[1],n=a[2],i=a[3];return uA(B,s,n,i)}return 0};function or(A,e,t){return t<0&&(t+=1),t>=1&&(t-=1),t<1/6?(e-A)*t*6+A:t<1/2?e:t<2/3?(e-A)*6*(2/3-t)+A:A}var wt=function(A,e){var t=e.filter(Je),r=t[0],B=t[1],s=t[2],n=t[3],a=(r.type===17?z(r.number):_e.parse(A,r))/(Math.PI*2),i=M(B)?B.number/100:0,Q=M(s)?s.number/100:0,o=typeof n<"u"&&M(n)?L(n,1):1;if(i===0)return uA(Q*255,Q*255,Q*255,1);var w=Q<=.5?Q*(i+1):Q+i-Q*i,g=Q*2-w,F=or(g,w,a+1/3),C=or(g,w,a),f=or(g,w,a-1/3);return uA(F*255,C*255,f*255,o)},Nn={hsl:wt,hsla:wt,rgb:ot,rgba:ot},gt=function(A,e){return fA.parse(A,eB.create(e).parseComponentValue())},te={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},Xn={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(x(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Jn={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},ke=function(A,e){var t=fA.parse(A,e[0]),r=e[1];return r&&M(r)?{color:t,stop:r}:{color:t,stop:null}},Ct=function(A,e){var t=A[0],r=A[A.length-1];t.stop===null&&(t.stop=R),r.stop===null&&(r.stop=FA);for(var B=[],s=0,n=0;n<A.length;n++){var a=A[n].stop;if(a!==null){var i=L(a,e);i>s?B.push(i):B.push(s),s=i}else B.push(null)}for(var Q=null,n=0;n<B.length;n++){var o=B[n];if(o===null)Q===null&&(Q=n);else if(Q!==null){for(var w=n-Q,g=B[Q-1],F=(o-g)/(w+1),C=1;C<=w;C++)B[Q+C-1]=F*C;Q=null}}return A.map(function(f,p){var h=f.color;return{color:h,stop:Math.max(Math.min(1,B[p]/e),0)}})},_n=function(A,e,t){var r=e/2,B=t/2,s=L(A[0],e)-r,n=B-L(A[1],t);return(Math.atan2(n,s)+Math.PI*2)%(Math.PI*2)},kn=function(A,e,t){var r=typeof A=="number"?A:_n(A,e,t),B=Math.abs(e*Math.sin(r))+Math.abs(t*Math.cos(r)),s=e/2,n=t/2,a=B/2,i=Math.sin(r-Math.PI/2)*a,Q=Math.cos(r-Math.PI/2)*a;return[B,s-Q,s+Q,n-i,n+i]},$=function(A,e){return Math.sqrt(A*A+e*e)},Ut=function(A,e,t,r,B){var s=[[0,0],[0,e],[A,0],[A,e]];return s.reduce(function(n,a){var i=a[0],Q=a[1],o=$(t-i,r-Q);return(B?o<n.optimumDistance:o>n.optimumDistance)?{optimumCorner:a,optimumDistance:o}:n},{optimumDistance:B?1/0:-1/0,optimumCorner:null}).optimumCorner},Pn=function(A,e,t,r,B){var s=0,n=0;switch(A.size){case 0:A.shape===0?s=n=Math.min(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-B)):A.shape===1&&(s=Math.min(Math.abs(e),Math.abs(e-r)),n=Math.min(Math.abs(t),Math.abs(t-B)));break;case 2:if(A.shape===0)s=n=Math.min($(e,t),$(e,t-B),$(e-r,t),$(e-r,t-B));else if(A.shape===1){var a=Math.min(Math.abs(t),Math.abs(t-B))/Math.min(Math.abs(e),Math.abs(e-r)),i=Ut(r,B,e,t,!0),Q=i[0],o=i[1];s=$(Q-e,(o-t)/a),n=a*s}break;case 1:A.shape===0?s=n=Math.max(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-B)):A.shape===1&&(s=Math.max(Math.abs(e),Math.abs(e-r)),n=Math.max(Math.abs(t),Math.abs(t-B)));break;case 3:if(A.shape===0)s=n=Math.max($(e,t),$(e,t-B),$(e-r,t),$(e-r,t-B));else if(A.shape===1){var a=Math.max(Math.abs(t),Math.abs(t-B))/Math.max(Math.abs(e),Math.abs(e-r)),w=Ut(r,B,e,t,!1),Q=w[0],o=w[1];s=$(Q-e,(o-t)/a),n=a*s}break}return Array.isArray(A.size)&&(s=L(A.size[0],r),n=A.size.length===2?L(A.size[1],B):s),[s,n]},Yn=function(A,e){var t=z(180),r=[];return sA(e).forEach(function(B,s){if(s===0){var n=B[0];if(n.type===20&&n.value==="to"){t=iB(B);return}else if(aB(n)){t=_e.parse(A,n);return}}var a=ke(A,B);r.push(a)}),{angle:t,stops:r,type:1}},Ee=function(A,e){var t=z(180),r=[];return sA(e).forEach(function(B,s){if(s===0){var n=B[0];if(n.type===20&&["top","left","right","bottom"].indexOf(n.value)!==-1){t=iB(B);return}else if(aB(n)){t=(_e.parse(A,n)+z(270))%z(360);return}}var a=ke(A,B);r.push(a)}),{angle:t,stops:r,type:1}},Wn=function(A,e){var t=z(180),r=[],B=1,s=0,n=3,a=[];return sA(e).forEach(function(i,Q){var o=i[0];if(Q===0){if(x(o)&&o.value==="linear"){B=1;return}else if(x(o)&&o.value==="radial"){B=2;return}}if(o.type===18){if(o.name==="from"){var w=fA.parse(A,o.values[0]);r.push({stop:R,color:w})}else if(o.name==="to"){var w=fA.parse(A,o.values[0]);r.push({stop:FA,color:w})}else if(o.name==="color-stop"){var g=o.values.filter(Je);if(g.length===2){var w=fA.parse(A,g[1]),F=g[0];Xe(F)&&r.push({stop:{type:16,number:F.number*100,flags:F.flags},color:w})}}}}),B===1?{angle:(t+z(180))%z(360),stops:r,type:B}:{size:n,shape:s,stops:r,position:a,type:B}},QB="closest-side",oB="farthest-side",wB="closest-corner",gB="farthest-corner",CB="circle",UB="ellipse",cB="cover",FB="contain",Zn=function(A,e){var t=0,r=3,B=[],s=[];return sA(e).forEach(function(n,a){var i=!0;if(a===0){var Q=!1;i=n.reduce(function(w,g){if(Q)if(x(g))switch(g.value){case"center":return s.push(Rr),w;case"top":case"left":return s.push(R),w;case"right":case"bottom":return s.push(FA),w}else(M(g)||lA(g))&&s.push(g);else if(x(g))switch(g.value){case CB:return t=0,!1;case UB:return t=1,!1;case"at":return Q=!0,!1;case QB:return r=0,!1;case cB:case oB:return r=1,!1;case FB:case wB:return r=2,!1;case gB:return r=3,!1}else if(lA(g)||M(g))return Array.isArray(r)||(r=[]),r.push(g),!1;return w},i)}if(i){var o=ke(A,n);B.push(o)}}),{size:r,shape:t,stops:B,position:s,type:2}},de=function(A,e){var t=0,r=3,B=[],s=[];return sA(e).forEach(function(n,a){var i=!0;if(a===0?i=n.reduce(function(o,w){if(x(w))switch(w.value){case"center":return s.push(Rr),!1;case"top":case"left":return s.push(R),!1;case"right":case"bottom":return s.push(FA),!1}else if(M(w)||lA(w))return s.push(w),!1;return o},i):a===1&&(i=n.reduce(function(o,w){if(x(w))switch(w.value){case CB:return t=0,!1;case UB:return t=1,!1;case FB:case QB:return r=0,!1;case oB:return r=1,!1;case wB:return r=2,!1;case cB:case gB:return r=3,!1}else if(lA(w)||M(w))return Array.isArray(r)||(r=[]),r.push(w),!1;return o},i)),i){var Q=ke(A,n);B.push(Q)}}),{size:r,shape:t,stops:B,position:s,type:2}},qn=function(A){return A.type===1},zn=function(A){return A.type===2},Vr={name:"image",parse:function(A,e){if(e.type===22){var t={url:e.value,type:0};return A.cache.addImage(e.value),t}if(e.type===18){var r=uB[e.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return r(A,e.values)}throw new Error("Unsupported image type "+e.type)}};function jn(A){return!(A.type===20&&A.value==="none")&&(A.type!==18||!!uB[A.name])}var uB={"linear-gradient":Yn,"-moz-linear-gradient":Ee,"-ms-linear-gradient":Ee,"-o-linear-gradient":Ee,"-webkit-linear-gradient":Ee,"radial-gradient":Zn,"-moz-radial-gradient":de,"-ms-radial-gradient":de,"-o-radial-gradient":de,"-webkit-radial-gradient":de,"-webkit-gradient":Wn},$n={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(e.length===0)return[];var t=e[0];return t.type===20&&t.value==="none"?[]:e.filter(function(r){return Je(r)&&jn(r)}).map(function(r){return Vr.parse(A,r)})}},Aa={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(x(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},ea={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(A,e){return sA(e).map(function(t){return t.filter(M)}).map(rB)}},ra={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(A,e){return sA(e).map(function(t){return t.filter(x).map(function(r){return r.value}).join(" ")}).map(ta)}},ta=function(A){switch(A){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}},GA;(function(A){A.AUTO="auto",A.CONTAIN="contain",A.COVER="cover"})(GA||(GA={}));var Ba={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(A,e){return sA(e).map(function(t){return t.filter(sa)})}},sa=function(A){return x(A)||M(A)},Pe=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},na=Pe("top"),aa=Pe("right"),ia=Pe("bottom"),Qa=Pe("left"),Ye=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:1,parse:function(e,t){return rB(t.filter(M))}}},oa=Ye("top-left"),wa=Ye("top-right"),ga=Ye("bottom-right"),Ca=Ye("bottom-left"),We=function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},Ua=We("top"),ca=We("right"),Fa=We("bottom"),ua=We("left"),Ze=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return se(t)?t.number:0}}},fa=Ze("top"),la=Ze("right"),ha=Ze("bottom"),Ha=Ze("left"),Ea={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},da={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(A,e){switch(e){case"rtl":return 1;case"ltr":default:return 0}}},Ia={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(A,e){return e.filter(x).reduce(function(t,r){return t|pa(r.value)},0)}},pa=function(A){switch(A){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},va={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Ka={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(A,e){return e.type===20&&e.value==="normal"?0:e.type===17||e.type===15?e.number:0}},Se;(function(A){A.NORMAL="normal",A.STRICT="strict"})(Se||(Se={}));var ya={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"strict":return Se.STRICT;case"normal":default:return Se.NORMAL}}},La={name:"line-height",initialValue:"normal",prefix:!1,type:4},ct=function(A,e){return x(A)&&A.value==="normal"?1.2*e:A.type===17?e*A.number:M(A)?L(A,e):e},ma={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(A,e){return e.type===20&&e.value==="none"?null:Vr.parse(A,e)}},Da={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(A,e){switch(e){case"inside":return 0;case"outside":default:return 1}}},ba={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){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}}},qe=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:4}},xa=qe("top"),Ta=qe("right"),Sa=qe("bottom"),Ma=qe("left"),Oa={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(A,e){return e.filter(x).map(function(t){switch(t.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},Ga={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-word":return"break-word";case"normal":default:return"normal"}}},ze=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Ra=ze("top"),Va=ze("right"),Na=ze("bottom"),Xa=ze("left"),Ja={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(A,e){switch(e){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},_a={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(A,e){switch(e){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},ka={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.length===1&&xr(e[0],"none")?[]:sA(e).map(function(t){for(var r={color:te.TRANSPARENT,offsetX:R,offsetY:R,blur:R},B=0,s=0;s<t.length;s++){var n=t[s];lA(n)?(B===0?r.offsetX=n:B===1?r.offsetY=n:r.blur=n,B++):r.color=fA.parse(A,n)}return r})}},Pa={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Ya={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(A,e){if(e.type===20&&e.value==="none")return null;if(e.type===18){var t=qa[e.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported transform function "'+e.name+'"');return t(e.values)}return null}},Wa=function(A){var e=A.filter(function(t){return t.type===17}).map(function(t){return t.number});return e.length===6?e:null},Za=function(A){var e=A.filter(function(i){return i.type===17}).map(function(i){return i.number}),t=e[0],r=e[1];e[2],e[3];var B=e[4],s=e[5];e[6],e[7],e[8],e[9],e[10],e[11];var n=e[12],a=e[13];return e[14],e[15],e.length===16?[t,r,B,s,n,a]:null},qa={matrix:Wa,matrix3d:Za},Ft={type:16,number:50,flags:Be},za=[Ft,Ft],ja={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(A,e){var t=e.filter(M);return t.length!==2?za:[t[0],t[1]]}},$a={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},$A;(function(A){A.NORMAL="normal",A.BREAK_ALL="break-all",A.KEEP_ALL="keep-all"})($A||($A={}));var Ai={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-all":return $A.BREAK_ALL;case"keep-all":return $A.KEEP_ALL;case"normal":default:return $A.NORMAL}}},ei={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(A,e){if(e.type===20)return{auto:!0,order:0};if(Xe(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},fB={name:"time",parse:function(A,e){if(e.type===15)switch(e.unit.toLowerCase()){case"s":return 1e3*e.number;case"ms":return e.number}throw new Error("Unsupported time type")}},ri={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(A,e){return Xe(e)?e.number:1}},ti={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Bi={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(A,e){return e.filter(x).map(function(t){switch(t.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(t){return t!==0})}},si={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(A,e){var t=[],r=[];return e.forEach(function(B){switch(B.type){case 20:case 0:t.push(B.value);break;case 17:t.push(B.number.toString());break;case 4:r.push(t.join(" ")),t.length=0;break}}),t.length&&r.push(t.join(" ")),r.map(function(B){return B.indexOf(" ")===-1?B:"'"+B+"'"})}},ni={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},ai={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(A,e){if(Xe(e))return e.number;if(x(e))switch(e.value){case"bold":return 700;case"normal":default:return 400}return 400}},ii={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.filter(x).map(function(t){return t.value})}},Qi={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},O=function(A,e){return(A&e)!==0},oi={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(A,e){return e.filter(se).map(function(t){return fB.parse(A,t)})}},wi={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.length===1&&xr(e[0],"none")?[]:sA(e).map(function(t){for(var r={color:255,offsetX:R,offsetY:R,blur:R,spread:R,inset:!1},B=0,s=0;s<t.length;s++){var n=t[s];xr(n,"inset")?r.inset=!0:lA(n)?(B===0?r.offsetX=n:B===1?r.offsetY=n:B===2?r.blur=n:r.spread=n,B++):r.color=fA.parse(A,n)}return r})}},gi={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(A,e){var t=[0,1,2],r=[];return e.filter(x).forEach(function(B){switch(B.value){case"stroke":r.push(1);break;case"fill":r.push(0);break;case"markers":r.push(2);break}}),t.forEach(function(B){r.indexOf(B)===-1&&r.push(B)}),r}},Ci={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},Ui={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(A,e){return se(e)?e.number:0}},ci=function(){function A(e,t){var r,B;this.animationDuration=c(e,oi,t.animationDuration),this.backgroundClip=c(e,Xn,t.backgroundClip),this.backgroundColor=c(e,Jn,t.backgroundColor),this.backgroundImage=c(e,$n,t.backgroundImage),this.backgroundOrigin=c(e,Aa,t.backgroundOrigin),this.backgroundPosition=c(e,ea,t.backgroundPosition),this.backgroundRepeat=c(e,ra,t.backgroundRepeat),this.backgroundSize=c(e,Ba,t.backgroundSize),this.borderTopColor=c(e,na,t.borderTopColor),this.borderRightColor=c(e,aa,t.borderRightColor),this.borderBottomColor=c(e,ia,t.borderBottomColor),this.borderLeftColor=c(e,Qa,t.borderLeftColor),this.borderTopLeftRadius=c(e,oa,t.borderTopLeftRadius),this.borderTopRightRadius=c(e,wa,t.borderTopRightRadius),this.borderBottomRightRadius=c(e,ga,t.borderBottomRightRadius),this.borderBottomLeftRadius=c(e,Ca,t.borderBottomLeftRadius),this.borderTopStyle=c(e,Ua,t.borderTopStyle),this.borderRightStyle=c(e,ca,t.borderRightStyle),this.borderBottomStyle=c(e,Fa,t.borderBottomStyle),this.borderLeftStyle=c(e,ua,t.borderLeftStyle),this.borderTopWidth=c(e,fa,t.borderTopWidth),this.borderRightWidth=c(e,la,t.borderRightWidth),this.borderBottomWidth=c(e,ha,t.borderBottomWidth),this.borderLeftWidth=c(e,Ha,t.borderLeftWidth),this.boxShadow=c(e,wi,t.boxShadow),this.color=c(e,Ea,t.color),this.direction=c(e,da,t.direction),this.display=c(e,Ia,t.display),this.float=c(e,va,t.cssFloat),this.fontFamily=c(e,si,t.fontFamily),this.fontSize=c(e,ni,t.fontSize),this.fontStyle=c(e,Qi,t.fontStyle),this.fontVariant=c(e,ii,t.fontVariant),this.fontWeight=c(e,ai,t.fontWeight),this.letterSpacing=c(e,Ka,t.letterSpacing),this.lineBreak=c(e,ya,t.lineBreak),this.lineHeight=c(e,La,t.lineHeight),this.listStyleImage=c(e,ma,t.listStyleImage),this.listStylePosition=c(e,Da,t.listStylePosition),this.listStyleType=c(e,ba,t.listStyleType),this.marginTop=c(e,xa,t.marginTop),this.marginRight=c(e,Ta,t.marginRight),this.marginBottom=c(e,Sa,t.marginBottom),this.marginLeft=c(e,Ma,t.marginLeft),this.opacity=c(e,ri,t.opacity);var s=c(e,Oa,t.overflow);this.overflowX=s[0],this.overflowY=s[s.length>1?1:0],this.overflowWrap=c(e,Ga,t.overflowWrap),this.paddingTop=c(e,Ra,t.paddingTop),this.paddingRight=c(e,Va,t.paddingRight),this.paddingBottom=c(e,Na,t.paddingBottom),this.paddingLeft=c(e,Xa,t.paddingLeft),this.paintOrder=c(e,gi,t.paintOrder),this.position=c(e,_a,t.position),this.textAlign=c(e,Ja,t.textAlign),this.textDecorationColor=c(e,ti,(r=t.textDecorationColor)!==null&&r!==void 0?r:t.color),this.textDecorationLine=c(e,Bi,(B=t.textDecorationLine)!==null&&B!==void 0?B:t.textDecoration),this.textShadow=c(e,ka,t.textShadow),this.textTransform=c(e,Pa,t.textTransform),this.transform=c(e,Ya,t.transform),this.transformOrigin=c(e,ja,t.transformOrigin),this.visibility=c(e,$a,t.visibility),this.webkitTextStrokeColor=c(e,Ci,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=c(e,Ui,t.webkitTextStrokeWidth),this.wordBreak=c(e,Ai,t.wordBreak),this.zIndex=c(e,ei,t.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},A.prototype.isTransparent=function(){return OA(this.backgroundColor)},A.prototype.isTransformed=function(){return this.transform!==null},A.prototype.isPositioned=function(){return this.position!==0},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return this.float!==0},A.prototype.isInlineLevel=function(){return O(this.display,4)||O(this.display,33554432)||O(this.display,268435456)||O(this.display,536870912)||O(this.display,67108864)||O(this.display,134217728)},A}(),c=function(A,e,t){var r=new AB,B=t!==null&&typeof t<"u"?t.toString():e.initialValue;r.write(B);var s=new eB(r.read());switch(e.type){case 2:var n=s.parseComponentValue();return e.parse(A,x(n)?n.value:e.initialValue);case 0:return e.parse(A,s.parseComponentValue());case 1:return e.parse(A,s.parseComponentValues());case 4:return s.parseComponentValue();case 3:switch(e.format){case"angle":return _e.parse(A,s.parseComponentValue());case"color":return fA.parse(A,s.parseComponentValue());case"image":return Vr.parse(A,s.parseComponentValue());case"length":var a=s.parseComponentValue();return lA(a)?a:R;case"length-percentage":var i=s.parseComponentValue();return M(i)?i:R;case"time":return fB.parse(A,s.parseComponentValue())}break}},Fi="data-html2canvas-debug",ui=function(A){var e=A.getAttribute(Fi);switch(e){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},ut=function(A,e){var t=ui(A);return t===1||e===t},nA=function(){function A(e,t){if(this.context=e,this.textNodes=[],this.elements=[],this.flags=0,ut(t,3))debugger;this.styles=new ci(e,window.getComputedStyle(t,null)),uQ(t)&&(this.styles.animationDuration.some(function(r){return r>0})&&(t.style.animationDuration="0s"),this.styles.transform!==null&&(t.style.transform="none")),this.bounds=Or(this.context,t),ut(t,4)&&(this.flags|=16)}return A}(),fi=" ",ft="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",qA=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Ie=0;Ie<ft.length;Ie++)qA[ft.charCodeAt(Ie)]=Ie;var li=function(A){var e=A.length*.75,t=A.length,r,B=0,s,n,a,i;A[A.length-1]==="="&&(e--,A[A.length-2]==="="&&e--);var Q=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(e):new Array(e),o=Array.isArray(Q)?Q:new Uint8Array(Q);for(r=0;r<t;r+=4)s=qA[A.charCodeAt(r)],n=qA[A.charCodeAt(r+1)],a=qA[A.charCodeAt(r+2)],i=qA[A.charCodeAt(r+3)],o[B++]=s<<2|n>>4,o[B++]=(n&15)<<4|a>>2,o[B++]=(a&3)<<6|i&63;return Q},hi=function(A){for(var e=A.length,t=[],r=0;r<e;r+=2)t.push(A[r+1]<<8|A[r]);return t},Hi=function(A){for(var e=A.length,t=[],r=0;r<e;r+=4)t.push(A[r+3]<<24|A[r+2]<<16|A[r+1]<<8|A[r]);return t},IA=5,Nr=6+5,wr=2,Ei=Nr-IA,lB=65536>>IA,di=1<<IA,gr=di-1,Ii=1024>>IA,pi=lB+Ii,vi=pi,Ki=32,yi=vi+Ki,Li=65536>>Nr,mi=1<<Ei,Di=mi-1,lt=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},bi=function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))},xi=function(A,e){var t=li(A),r=Array.isArray(t)?Hi(t):new Uint32Array(t),B=Array.isArray(t)?hi(t):new Uint16Array(t),s=24,n=lt(B,s/2,r[4]/2),a=r[5]===2?lt(B,(s+r[4])/2):bi(r,Math.ceil((s+r[4])/4));return new Ti(r[0],r[1],r[2],r[3],n,a)},Ti=function(){function A(e,t,r,B,s,n){this.initialValue=e,this.errorValue=t,this.highStart=r,this.highValueIndex=B,this.index=s,this.data=n}return A.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>IA],t=(t<<wr)+(e&gr),this.data[t];if(e<=65535)return t=this.index[lB+(e-55296>>IA)],t=(t<<wr)+(e&gr),this.data[t];if(e<this.highStart)return t=yi-Li+(e>>Nr),t=this.index[t],t+=e>>IA&Di,t=this.index[t],t=(t<<wr)+(e&gr),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),ht="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Si=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var pe=0;pe<ht.length;pe++)Si[ht.charCodeAt(pe)]=pe;var Mi=1,Cr=2,Ur=3,Ht=4,Et=5,Oi=7,dt=8,cr=9,Fr=10,It=11,pt=12,vt=13,Kt=14,ur=15,Gi=function(A){for(var e=[],t=0,r=A.length;t<r;){var B=A.charCodeAt(t++);if(B>=55296&&B<=56319&&t<r){var s=A.charCodeAt(t++);(s&64512)===56320?e.push(((B&1023)<<10)+(s&1023)+65536):(e.push(B),t--)}else e.push(B)}return e},Ri=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var t=A.length;if(!t)return"";for(var r=[],B=-1,s="";++B<t;){var n=A[B];n<=65535?r.push(n):(n-=65536,r.push((n>>10)+55296,n%1024+56320)),(B+1===t||r.length>16384)&&(s+=String.fromCharCode.apply(String,r),r.length=0)}return s},Vi=xi(fi),Z="\xD7",fr="\xF7",Ni=function(A){return Vi.get(A)},Xi=function(A,e,t){var r=t-2,B=e[r],s=e[t-1],n=e[t];if(s===Cr&&n===Ur)return Z;if(s===Cr||s===Ur||s===Ht||n===Cr||n===Ur||n===Ht)return fr;if(s===dt&&[dt,cr,It,pt].indexOf(n)!==-1||(s===It||s===cr)&&(n===cr||n===Fr)||(s===pt||s===Fr)&&n===Fr||n===vt||n===Et||n===Oi||s===Mi)return Z;if(s===vt&&n===Kt){for(;B===Et;)B=e[--r];if(B===Kt)return Z}if(s===ur&&n===ur){for(var a=0;B===ur;)a++,B=e[--r];if(a%2===0)return Z}return fr},Ji=function(A){var e=Gi(A),t=e.length,r=0,B=0,s=e.map(Ni);return{next:function(){if(r>=t)return{done:!0,value:null};for(var n=Z;r<t&&(n=Xi(e,s,++r))===Z;);if(n!==Z||r===t){var a=Ri.apply(null,e.slice(B,r));return B=r,{value:a,done:!1}}return{done:!0,value:null}}}},_i=function(A){for(var e=Ji(A),t=[],r;!(r=e.next()).done;)r.value&&t.push(r.value.slice());return t},ki=function(A){var e=123;if(A.createRange){var t=A.createRange();if(t.getBoundingClientRect){var r=A.createElement("boundtest");r.style.height=e+"px",r.style.display="block",A.body.appendChild(r),t.selectNode(r);var B=t.getBoundingClientRect(),s=Math.round(B.height);if(A.body.removeChild(r),s===e)return!0}}return!1},Pi=function(A){var e=A.createElement("boundtest");e.style.width="50px",e.style.display="block",e.style.fontSize="12px",e.style.letterSpacing="0px",e.style.wordSpacing="0px",A.body.appendChild(e);var t=A.createRange();e.innerHTML=typeof"".repeat=="function"?"&#128104;".repeat(10):"";var r=e.firstChild,B=Ne(r.data).map(function(i){return S(i)}),s=0,n={},a=B.every(function(i,Q){t.setStart(r,s),t.setEnd(r,s+i.length);var o=t.getBoundingClientRect();s+=i.length;var w=o.x>n.x||o.y>n.y;return n=o,Q===0?!0:w});return A.body.removeChild(e),a},Yi=function(){return typeof new Image().crossOrigin<"u"},Wi=function(){return typeof new XMLHttpRequest().responseType=="string"},Zi=function(A){var e=new Image,t=A.createElement("canvas"),r=t.getContext("2d");if(!r)return!1;e.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(e,0,0),t.toDataURL()}catch{return!1}return!0},yt=function(A){return A[0]===0&&A[1]===255&&A[2]===0&&A[3]===255},qi=function(A){var e=A.createElement("canvas"),t=100;e.width=t,e.height=t;var r=e.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,t,t);var B=new Image,s=e.toDataURL();B.src=s;var n=Tr(t,t,0,0,B);return r.fillStyle="red",r.fillRect(0,0,t,t),Lt(n).then(function(a){r.drawImage(a,0,0);var i=r.getImageData(0,0,t,t).data;r.fillStyle="red",r.fillRect(0,0,t,t);var Q=A.createElement("div");return Q.style.backgroundImage="url("+s+")",Q.style.height=t+"px",yt(i)?Lt(Tr(t,t,0,0,Q)):Promise.reject(!1)}).then(function(a){return r.drawImage(a,0,0),yt(r.getImageData(0,0,t,t).data)}).catch(function(){return!1})},Tr=function(A,e,t,r,B){var s="http://www.w3.org/2000/svg",n=document.createElementNS(s,"svg"),a=document.createElementNS(s,"foreignObject");return n.setAttributeNS(null,"width",A.toString()),n.setAttributeNS(null,"height",e.toString()),a.setAttributeNS(null,"width","100%"),a.setAttributeNS(null,"height","100%"),a.setAttributeNS(null,"x",t.toString()),a.setAttributeNS(null,"y",r.toString()),a.setAttributeNS(null,"externalResourcesRequired","true"),n.appendChild(a),a.appendChild(B),n},Lt=function(A){return new Promise(function(e,t){var r=new Image;r.onload=function(){return e(r)},r.onerror=t,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(A))})},Y={get SUPPORT_RANGE_BOUNDS(){var A=ki(document);return Object.defineProperty(Y,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_WORD_BREAKING(){var A=Y.SUPPORT_RANGE_BOUNDS&&Pi(document);return Object.defineProperty(Y,"SUPPORT_WORD_BREAKING",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=Zi(document);return Object.defineProperty(Y,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A=typeof Array.from=="function"&&typeof window.fetch=="function"?qi(document):Promise.resolve(!1);return Object.defineProperty(Y,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=Yi();return Object.defineProperty(Y,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A=Wi();return Object.defineProperty(Y,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Y,"SUPPORT_CORS_XHR",{value:A}),A},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var A=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(Y,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:A}),A}},Ae=function(){function A(e,t){this.text=e,this.bounds=t}return A}(),zi=function(A,e,t,r){var B=AQ(e,t),s=[],n=0;return B.forEach(function(a){if(t.textDecorationLine.length||a.trim().length>0)if(Y.SUPPORT_RANGE_BOUNDS){var i=mt(r,n,a.length).getClientRects();if(i.length>1){var Q=Xr(a),o=0;Q.forEach(function(g){s.push(new Ae(g,pA.fromDOMRectList(A,mt(r,o+n,g.length).getClientRects()))),o+=g.length})}else s.push(new Ae(a,pA.fromDOMRectList(A,i)))}else{var w=r.splitText(a.length);s.push(new Ae(a,ji(A,r))),r=w}else Y.SUPPORT_RANGE_BOUNDS||(r=r.splitText(a.length));n+=a.length}),s},ji=function(A,e){var t=e.ownerDocument;if(t){var r=t.createElement("html2canvaswrapper");r.appendChild(e.cloneNode(!0));var B=e.parentNode;if(B){B.replaceChild(r,e);var s=Or(A,r);return r.firstChild&&B.replaceChild(r.firstChild,r),s}}return pA.EMPTY},mt=function(A,e,t){var r=A.ownerDocument;if(!r)throw new Error("Node has no owner document");var B=r.createRange();return B.setStart(A,e),B.setEnd(A,e+t),B},Xr=function(A){if(Y.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(A)).map(function(t){return t.segment})}return _i(A)},$i=function(A,e){if(Y.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(t.segment(A)).map(function(r){return r.segment})}return rQ(A,e)},AQ=function(A,e){return e.letterSpacing!==0?Xr(A):$i(A,e)},eQ=[32,160,4961,65792,65793,4153,4241],rQ=function(A,e){for(var t=xs(A,{lineBreak:e.lineBreak,wordBreak:e.overflowWrap==="break-word"?"break-word":e.wordBreak}),r=[],B,s=function(){if(B.value){var n=B.value.slice(),a=Ne(n),i="";a.forEach(function(Q){eQ.indexOf(Q)===-1?i+=S(Q):(i.length&&r.push(i),r.push(S(Q)),i="")}),i.length&&r.push(i)}};!(B=t.next()).done;)s();return r},tQ=function(){function A(e,t,r){this.text=BQ(t.data,r.textTransform),this.textBounds=zi(e,this.text,r,t)}return A}(),BQ=function(A,e){switch(e){case 1:return A.toLowerCase();case 3:return A.replace(sQ,nQ);case 2:return A.toUpperCase();default:return A}},sQ=/(^|\s|:|-|\(|\))([a-z])/g,nQ=function(A,e,t){return A.length>0?e+t.toUpperCase():A},hB=function(A){AA(e,A);function e(t,r){var B=A.call(this,t,r)||this;return B.src=r.currentSrc||r.src,B.intrinsicWidth=r.naturalWidth,B.intrinsicHeight=r.naturalHeight,B.context.cache.addImage(B.src),B}return e}(nA),HB=function(A){AA(e,A);function e(t,r){var B=A.call(this,t,r)||this;return B.canvas=r,B.intrinsicWidth=r.width,B.intrinsicHeight=r.height,B}return e}(nA),EB=function(A){AA(e,A);function e(t,r){var B=A.call(this,t,r)||this,s=new XMLSerializer,n=Or(t,r);return r.setAttribute("width",n.width+"px"),r.setAttribute("height",n.height+"px"),B.svg="data:image/svg+xml,"+encodeURIComponent(s.serializeToString(r)),B.intrinsicWidth=r.width.baseVal.value,B.intrinsicHeight=r.height.baseVal.value,B.context.cache.addImage(B.svg),B}return e}(nA),dB=function(A){AA(e,A);function e(t,r){var B=A.call(this,t,r)||this;return B.value=r.value,B}return e}(nA),Sr=function(A){AA(e,A);function e(t,r){var B=A.call(this,t,r)||this;return B.start=r.start,B.reversed=typeof r.reversed=="boolean"&&r.reversed===!0,B}return e}(nA),aQ=[{type:15,flags:0,unit:"px",number:3}],iQ=[{type:16,flags:0,number:50}],QQ=function(A){return A.width>A.height?new pA(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width<A.height?new pA(A.left,A.top+(A.height-A.width)/2,A.width,A.width):A},oQ=function(A){var e=A.type===wQ?new Array(A.value.length+1).join("\u2022"):A.value;return e.length===0?A.placeholder||"":e},Me="checkbox",Oe="radio",wQ="password",Dt=707406591,Jr=function(A){AA(e,A);function e(t,r){var B=A.call(this,t,r)||this;switch(B.type=r.type.toLowerCase(),B.checked=r.checked,B.value=oQ(r),(B.type===Me||B.type===Oe)&&(B.styles.backgroundColor=3739148031,B.styles.borderTopColor=B.styles.borderRightColor=B.styles.borderBottomColor=B.styles.borderLeftColor=2779096575,B.styles.borderTopWidth=B.styles.borderRightWidth=B.styles.borderBottomWidth=B.styles.borderLeftWidth=1,B.styles.borderTopStyle=B.styles.borderRightStyle=B.styles.borderBottomStyle=B.styles.borderLeftStyle=1,B.styles.backgroundClip=[0],B.styles.backgroundOrigin=[0],B.bounds=QQ(B.bounds)),B.type){case Me:B.styles.borderTopRightRadius=B.styles.borderTopLeftRadius=B.styles.borderBottomRightRadius=B.styles.borderBottomLeftRadius=aQ;break;case Oe:B.styles.borderTopRightRadius=B.styles.borderTopLeftRadius=B.styles.borderBottomRightRadius=B.styles.borderBottomLeftRadius=iQ;break}return B}return e}(nA),IB=function(A){AA(e,A);function e(t,r){var B=A.call(this,t,r)||this,s=r.options[r.selectedIndex||0];return B.value=s&&s.text||"",B}return e}(nA),pB=function(A){AA(e,A);function e(t,r){var B=A.call(this,t,r)||this;return B.value=r.value,B}return e}(nA),vB=function(A){AA(e,A);function e(t,r){var B=A.call(this,t,r)||this;B.src=r.src,B.width=parseInt(r.width,10)||0,B.height=parseInt(r.height,10)||0,B.backgroundColor=B.styles.backgroundColor;try{if(r.contentWindow&&r.contentWindow.document&&r.contentWindow.document.documentElement){B.tree=CQ(t,r.contentWindow.document.documentElement);var s=r.contentWindow.document.documentElement?gt(t,getComputedStyle(r.contentWindow.document.documentElement).backgroundColor):te.TRANSPARENT,n=r.contentWindow.document.body?gt(t,getComputedStyle(r.contentWindow.document.body).backgroundColor):te.TRANSPARENT;B.backgroundColor=OA(s)?OA(n)?B.styles.backgroundColor:n:s}}catch{}return B}return e}(nA),gQ=["OL","UL","MENU"],be=function(A,e,t,r){for(var B=e.firstChild,s=void 0;B;B=s)if(s=B.nextSibling,FQ(B)&&B.data.trim().length>0)t.textNodes.push(new tQ(A,B,t.styles));else if(yB(B))if(vQ(B)&&B.assignedNodes)B.assignedNodes().forEach(function(a){return be(A,a,t,r)});else{var n=KB(A,B);n.styles.isVisible()&&(UQ(B,n,r)?n.flags|=4:cQ(n.styles)&&(n.flags|=2),gQ.indexOf(B.tagName)!==-1&&(n.flags|=8),t.elements.push(n),B.slot,B.shadowRoot?be(A,B.shadowRoot,n,r):!mB(B)&&!LB(B)&&!DB(B)&&be(A,B,n,r))}},KB=function(A,e){return IQ(e)?new hB(A,e):dQ(e)?new HB(A,e):LB(e)?new EB(A,e):lQ(e)?new dB(A,e):hQ(e)?new Sr(A,e):HQ(e)?new Jr(A,e):DB(e)?new IB(A,e):mB(e)?new pB(A,e):pQ(e)?new vB(A,e):new nA(A,e)},CQ=function(A,e){var t=KB(A,e);return t.flags|=4,be(A,e,t,t),t},UQ=function(A,e,t){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||EQ(A)&&t.styles.isTransparent()},cQ=function(A){return A.isPositioned()||A.isFloating()},FQ=function(A){return A.nodeType===Node.TEXT_NODE},yB=function(A){return A.nodeType===Node.ELEMENT_NODE},uQ=function(A){return yB(A)&&typeof A.style<"u"&&!fQ(A)},fQ=function(A){return typeof A.className=="object"},lQ=function(A){return A.tagName==="LI"},hQ=function(A){return A.tagName==="OL"},HQ=function(A){return A.tagName==="INPUT"},LB=function(A){return A.tagName==="svg"},EQ=function(A){return A.tagName==="BODY"},dQ=function(A){return A.tagName==="CANVAS"},IQ=function(A){return A.tagName==="IMG"},pQ=function(A){return A.tagName==="IFRAME"},mB=function(A){return A.tagName==="TEXTAREA"},DB=function(A){return A.tagName==="SELECT"},vQ=function(A){return A.tagName==="SLOT"},bt={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"]},xt={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:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},KQ={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:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},yQ={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:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},bA=function(A,e,t,r,B,s){return A<e||A>t?_r(A,B,s.length>0):r.integers.reduce(function(n,a,i){for(;A>=a;)A-=a,n+=r.values[i];return n},"")+s},bB=function(A,e,t,r){var B="";do t||A--,B=r(A)+B,A/=e;while(A*e>=e);return B},T=function(A,e,t,r,B){var s=t-e+1;return(A<0?"-":"")+(bB(Math.abs(A),s,r,function(n){return S(Math.floor(n%s)+e)})+B)},hA=function(A,e,t){t===void 0&&(t=". ");var r=e.length;return bB(Math.abs(A),r,!1,function(B){return e[Math.floor(B%r)]})+t},SA=1<<0,gA=1<<1,CA=1<<2,zA=1<<3,oA=function(A,e,t,r,B,s){if(A<-9999||A>9999)return _r(A,4,B.length>0);var n=Math.abs(A),a=B;if(n===0)return e[0]+a;for(var i=0;n>0&&i<=4;i++){var Q=n%10;Q===0&&O(s,SA)&&a!==""?a=e[Q]+a:Q>1||Q===1&&i===0||Q===1&&i===1&&O(s,gA)||Q===1&&i===1&&O(s,CA)&&A>100||Q===1&&i>1&&O(s,zA)?a=e[Q]+(i>0?t[i-1]:"")+a:Q===1&&i>0&&(a=t[i-1]+a),n=Math.floor(n/10)}return(A<0?r:"")+a},Tt="\u5341\u767E\u5343\u842C",St="\u62FE\u4F70\u4EDF\u842C",Mt="\u30DE\u30A4\u30CA\u30B9",lr="\uB9C8\uC774\uB108\uC2A4",_r=function(A,e,t){var r=t?". ":"",B=t?"\u3001":"",s=t?", ":"",n=t?" ":"";switch(e){case 0:return"\u2022"+n;case 1:return"\u25E6"+n;case 2:return"\u25FE"+n;case 5:var a=T(A,48,57,!0,r);return a.length<4?"0"+a:a;case 4:return hA(A,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",B);case 6:return bA(A,1,3999,bt,3,r).toLowerCase();case 7:return bA(A,1,3999,bt,3,r);case 8:return T(A,945,969,!1,r);case 9:return T(A,97,122,!1,r);case 10:return T(A,65,90,!1,r);case 11:return T(A,1632,1641,!0,r);case 12:case 49:return bA(A,1,9999,xt,3,r);case 35:return bA(A,1,9999,xt,3,r).toLowerCase();case 13:return T(A,2534,2543,!0,r);case 14:case 30:return T(A,6112,6121,!0,r);case 15:return hA(A,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",B);case 16:return hA(A,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",B);case 17:case 48:return oA(A,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Tt,"\u8CA0",B,gA|CA|zA);case 47:return oA(A,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",St,"\u8CA0",B,SA|gA|CA|zA);case 42:return oA(A,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Tt,"\u8D1F",B,gA|CA|zA);case 41:return oA(A,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",St,"\u8D1F",B,SA|gA|CA|zA);case 26:return oA(A,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",Mt,B,0);case 25:return oA(A,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",Mt,B,SA|gA|CA);case 31:return oA(A,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",lr,s,SA|gA|CA);case 33:return oA(A,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",lr,s,0);case 32:return oA(A,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",lr,s,SA|gA|CA);case 18:return T(A,2406,2415,!0,r);case 20:return bA(A,1,19999,yQ,3,r);case 21:return T(A,2790,2799,!0,r);case 22:return T(A,2662,2671,!0,r);case 22:return bA(A,1,10999,KQ,3,r);case 23:return hA(A,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case 24:return hA(A,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case 27:return T(A,3302,3311,!0,r);case 28:return hA(A,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",B);case 29:return hA(A,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",B);case 34:return T(A,3792,3801,!0,r);case 37:return T(A,6160,6169,!0,r);case 38:return T(A,4160,4169,!0,r);case 39:return T(A,2918,2927,!0,r);case 40:return T(A,1776,1785,!0,r);case 43:return T(A,3046,3055,!0,r);case 44:return T(A,3174,3183,!0,r);case 45:return T(A,3664,3673,!0,r);case 46:return T(A,3872,3881,!0,r);case 3:default:return T(A,48,57,!0,r)}},Ot;(function(A){A[A.BEFORE=0]="BEFORE",A[A.AFTER=1]="AFTER"})(Ot||(Ot={}));var LQ=function(){function A(){}return A.getOrigin=function(e){var t=A._link;return t?(t.href=e,t.href=t.href,t.protocol+t.hostname+t.port):"about:blank"},A.isSameOrigin=function(e){return A.getOrigin(e)===A._origin},A.setContext=function(e){A._link=e.document.createElement("a"),A._origin=A.getOrigin(e.location.href)},A._origin="about:blank",A}(),U=function(){function A(e,t){this.type=0,this.x=e,this.y=t}return A.prototype.add=function(e,t){return new A(this.x+e,this.y+t)},A}(),xA=function(A,e,t){return new U(A.x+(e.x-A.x)*t,A.y+(e.y-A.y)*t)},ve=function(){function A(e,t,r,B){this.type=1,this.start=e,this.startControl=t,this.endControl=r,this.end=B}return A.prototype.subdivide=function(e,t){var r=xA(this.start,this.startControl,e),B=xA(this.startControl,this.endControl,e),s=xA(this.endControl,this.end,e),n=xA(r,B,e),a=xA(B,s,e),i=xA(n,a,e);return t?new A(this.start,r,n,i):new A(i,a,s,this.end)},A.prototype.add=function(e,t){return new A(this.start.add(e,t),this.startControl.add(e,t),this.endControl.add(e,t),this.end.add(e,t))},A.prototype.reverse=function(){return new A(this.end,this.endControl,this.startControl,this.start)},A}(),q=function(A){return A.type===1},mQ=function(){function A(e){var t=e.styles,r=e.bounds,B=ZA(t.borderTopLeftRadius,r.width,r.height),s=B[0],n=B[1],a=ZA(t.borderTopRightRadius,r.width,r.height),i=a[0],Q=a[1],o=ZA(t.borderBottomRightRadius,r.width,r.height),w=o[0],g=o[1],F=ZA(t.borderBottomLeftRadius,r.width,r.height),C=F[0],f=F[1],p=[];p.push((s+i)/r.width),p.push((C+w)/r.width),p.push((n+f)/r.height),p.push((Q+g)/r.height);var h=Math.max.apply(Math,p);h>1&&(s/=h,n/=h,i/=h,Q/=h,w/=h,g/=h,C/=h,f/=h);var l=r.width-i,m=r.height-g,v=r.width-w,E=r.height-f,u=t.borderTopWidth,y=t.borderRightWidth,K=t.borderBottomWidth,H=t.borderLeftWidth,V=L(t.paddingTop,e.bounds.width),wA=L(t.paddingRight,e.bounds.width),aA=L(t.paddingBottom,e.bounds.width),D=L(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=s>0||n>0?b(r.left+H/3,r.top+u/3,s-H/3,n-u/3,I.TOP_LEFT):new U(r.left+H/3,r.top+u/3),this.topRightBorderDoubleOuterBox=s>0||n>0?b(r.left+l,r.top+u/3,i-y/3,Q-u/3,I.TOP_RIGHT):new U(r.left+r.width-y/3,r.top+u/3),this.bottomRightBorderDoubleOuterBox=w>0||g>0?b(r.left+v,r.top+m,w-y/3,g-K/3,I.BOTTOM_RIGHT):new U(r.left+r.width-y/3,r.top+r.height-K/3),this.bottomLeftBorderDoubleOuterBox=C>0||f>0?b(r.left+H/3,r.top+E,C-H/3,f-K/3,I.BOTTOM_LEFT):new U(r.left+H/3,r.top+r.height-K/3),this.topLeftBorderDoubleInnerBox=s>0||n>0?b(r.left+H*2/3,r.top+u*2/3,s-H*2/3,n-u*2/3,I.TOP_LEFT):new U(r.left+H*2/3,r.top+u*2/3),this.topRightBorderDoubleInnerBox=s>0||n>0?b(r.left+l,r.top+u*2/3,i-y*2/3,Q-u*2/3,I.TOP_RIGHT):new U(r.left+r.width-y*2/3,r.top+u*2/3),this.bottomRightBorderDoubleInnerBox=w>0||g>0?b(r.left+v,r.top+m,w-y*2/3,g-K*2/3,I.BOTTOM_RIGHT):new U(r.left+r.width-y*2/3,r.top+r.height-K*2/3),this.bottomLeftBorderDoubleInnerBox=C>0||f>0?b(r.left+H*2/3,r.top+E,C-H*2/3,f-K*2/3,I.BOTTOM_LEFT):new U(r.left+H*2/3,r.top+r.height-K*2/3),this.topLeftBorderStroke=s>0||n>0?b(r.left+H/2,r.top+u/2,s-H/2,n-u/2,I.TOP_LEFT):new U(r.left+H/2,r.top+u/2),this.topRightBorderStroke=s>0||n>0?b(r.left+l,r.top+u/2,i-y/2,Q-u/2,I.TOP_RIGHT):new U(r.left+r.width-y/2,r.top+u/2),this.bottomRightBorderStroke=w>0||g>0?b(r.left+v,r.top+m,w-y/2,g-K/2,I.BOTTOM_RIGHT):new U(r.left+r.width-y/2,r.top+r.height-K/2),this.bottomLeftBorderStroke=C>0||f>0?b(r.left+H/2,r.top+E,C-H/2,f-K/2,I.BOTTOM_LEFT):new U(r.left+H/2,r.top+r.height-K/2),this.topLeftBorderBox=s>0||n>0?b(r.left,r.top,s,n,I.TOP_LEFT):new U(r.left,r.top),this.topRightBorderBox=i>0||Q>0?b(r.left+l,r.top,i,Q,I.TOP_RIGHT):new U(r.left+r.width,r.top),this.bottomRightBorderBox=w>0||g>0?b(r.left+v,r.top+m,w,g,I.BOTTOM_RIGHT):new U(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=C>0||f>0?b(r.left,r.top+E,C,f,I.BOTTOM_LEFT):new U(r.left,r.top+r.height),this.topLeftPaddingBox=s>0||n>0?b(r.left+H,r.top+u,Math.max(0,s-H),Math.max(0,n-u),I.TOP_LEFT):new U(r.left+H,r.top+u),this.topRightPaddingBox=i>0||Q>0?b(r.left+Math.min(l,r.width-y),r.top+u,l>r.width+y?0:Math.max(0,i-y),Math.max(0,Q-u),I.TOP_RIGHT):new U(r.left+r.width-y,r.top+u),this.bottomRightPaddingBox=w>0||g>0?b(r.left+Math.min(v,r.width-H),r.top+Math.min(m,r.height-K),Math.max(0,w-y),Math.max(0,g-K),I.BOTTOM_RIGHT):new U(r.left+r.width-y,r.top+r.height-K),this.bottomLeftPaddingBox=C>0||f>0?b(r.left+H,r.top+Math.min(E,r.height-K),Math.max(0,C-H),Math.max(0,f-K),I.BOTTOM_LEFT):new U(r.left+H,r.top+r.height-K),this.topLeftContentBox=s>0||n>0?b(r.left+H+D,r.top+u+V,Math.max(0,s-(H+D)),Math.max(0,n-(u+V)),I.TOP_LEFT):new U(r.left+H+D,r.top+u+V),this.topRightContentBox=i>0||Q>0?b(r.left+Math.min(l,r.width+H+D),r.top+u+V,l>r.width+H+D?0:i-H+D,Q-(u+V),I.TOP_RIGHT):new U(r.left+r.width-(y+wA),r.top+u+V),this.bottomRightContentBox=w>0||g>0?b(r.left+Math.min(v,r.width-(H+D)),r.top+Math.min(m,r.height+u+V),Math.max(0,w-(y+wA)),g-(K+aA),I.BOTTOM_RIGHT):new U(r.left+r.width-(y+wA),r.top+r.height-(K+aA)),this.bottomLeftContentBox=C>0||f>0?b(r.left+H+D,r.top+E,Math.max(0,C-(H+D)),f-(K+aA),I.BOTTOM_LEFT):new U(r.left+H+D,r.top+r.height-(K+aA))}return A}(),I;(function(A){A[A.TOP_LEFT=0]="TOP_LEFT",A[A.TOP_RIGHT=1]="TOP_RIGHT",A[A.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",A[A.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(I||(I={}));var b=function(A,e,t,r,B){var s=4*((Math.sqrt(2)-1)/3),n=t*s,a=r*s,i=A+t,Q=e+r;switch(B){case I.TOP_LEFT:return new ve(new U(A,Q),new U(A,Q-a),new U(i-n,e),new U(i,e));case I.TOP_RIGHT:return new ve(new U(A,e),new U(A+n,e),new U(i,Q-a),new U(i,Q));case I.BOTTOM_RIGHT:return new ve(new U(i,e),new U(i,e+a),new U(A+n,Q),new U(A,Q));case I.BOTTOM_LEFT:default:return new ve(new U(i,Q),new U(i-n,Q),new U(A,e+a),new U(A,e))}},Ge=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},DQ=function(A){return[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox]},Re=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},bQ=function(){function A(e,t,r){this.offsetX=e,this.offsetY=t,this.matrix=r,this.type=0,this.target=6}return A}(),Ke=function(){function A(e,t){this.path=e,this.target=t,this.type=1}return A}(),xQ=function(){function A(e){this.opacity=e,this.type=2,this.target=6}return A}(),TQ=function(A){return A.type===0},xB=function(A){return A.type===1},SQ=function(A){return A.type===2},Gt=function(A,e){return A.length===e.length?A.some(function(t,r){return t===e[r]}):!1},MQ=function(A,e,t,r,B){return A.map(function(s,n){switch(n){case 0:return s.add(e,t);case 1:return s.add(e+r,t);case 2:return s.add(e+r,t+B);case 3:return s.add(e,t+B)}return s})},TB=function(){function A(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return A}(),SB=function(){function A(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new mQ(this.container),this.container.styles.opacity<1&&this.effects.push(new xQ(this.container.styles.opacity)),this.container.styles.transform!==null){var r=this.container.bounds.left+this.container.styles.transformOrigin[0].number,B=this.container.bounds.top+this.container.styles.transformOrigin[1].number,s=this.container.styles.transform;this.effects.push(new bQ(r,B,s))}if(this.container.styles.overflowX!==0){var n=Ge(this.curves),a=Re(this.curves);Gt(n,a)?this.effects.push(new Ke(n,6)):(this.effects.push(new Ke(n,2)),this.effects.push(new Ke(a,4)))}}return A.prototype.getEffects=function(e){for(var t=[2,3].indexOf(this.container.styles.position)===-1,r=this.parent,B=this.effects.slice(0);r;){var s=r.effects.filter(function(i){return!xB(i)});if(t||r.container.styles.position!==0||!r.parent){if(B.unshift.apply(B,s),t=[2,3].indexOf(r.container.styles.position)===-1,r.container.styles.overflowX!==0){var n=Ge(r.curves),a=Re(r.curves);Gt(n,a)||B.unshift(new Ke(a,6))}}else B.unshift.apply(B,s);r=r.parent}return B.filter(function(i){return O(i.target,e)})},A}(),Mr=function(A,e,t,r){A.container.elements.forEach(function(B){var s=O(B.flags,4),n=O(B.flags,2),a=new SB(B,A);O(B.styles.display,2048)&&r.push(a);var i=O(B.flags,8)?[]:r;if(s||n){var Q=s||B.styles.isPositioned()?t:e,o=new TB(a);if(B.styles.isPositioned()||B.styles.opacity<1||B.styles.isTransformed()){var w=B.styles.zIndex.order;if(w<0){var g=0;Q.negativeZIndex.some(function(C,f){return w>C.element.container.styles.zIndex.order?(g=f,!1):g>0}),Q.negativeZIndex.splice(g,0,o)}else if(w>0){var F=0;Q.positiveZIndex.some(function(C,f){return w>=C.element.container.styles.zIndex.order?(F=f+1,!1):F>0}),Q.positiveZIndex.splice(F,0,o)}else Q.zeroOrAutoZIndexOrTransformedOrOpacity.push(o)}else B.styles.isFloating()?Q.nonPositionedFloats.push(o):Q.nonPositionedInlineLevel.push(o);Mr(a,o,s?o:t,i)}else B.styles.isInlineLevel()?e.inlineLevel.push(a):e.nonInlineLevel.push(a),Mr(a,e,t,i);O(B.flags,8)&&MB(B,i)})},MB=function(A,e){for(var t=A instanceof Sr?A.start:1,r=A instanceof Sr?A.reversed:!1,B=0;B<e.length;B++){var s=e[B];s.container instanceof dB&&typeof s.container.value=="number"&&s.container.value!==0&&(t=s.container.value),s.listValue=_r(t,s.container.styles.listStyleType,!0),t+=r?-1:1}},OQ=function(A){var e=new SB(A,null),t=new TB(e),r=[];return Mr(e,t,t,r),MB(e.container,r),t},Rt=function(A,e){switch(e){case 0:return j(A.topLeftBorderBox,A.topLeftPaddingBox,A.topRightBorderBox,A.topRightPaddingBox);case 1:return j(A.topRightBorderBox,A.topRightPaddingBox,A.bottomRightBorderBox,A.bottomRightPaddingBox);case 2:return j(A.bottomRightBorderBox,A.bottomRightPaddingBox,A.bottomLeftBorderBox,A.bottomLeftPaddingBox);case 3:default:return j(A.bottomLeftBorderBox,A.bottomLeftPaddingBox,A.topLeftBorderBox,A.topLeftPaddingBox)}},GQ=function(A,e){switch(e){case 0:return j(A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox,A.topRightBorderBox,A.topRightBorderDoubleOuterBox);case 1:return j(A.topRightBorderBox,A.topRightBorderDoubleOuterBox,A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox);case 2:return j(A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox,A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox);case 3:default:return j(A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox,A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox)}},RQ=function(A,e){switch(e){case 0:return j(A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox,A.topRightBorderDoubleInnerBox,A.topRightPaddingBox);case 1:return j(A.topRightBorderDoubleInnerBox,A.topRightPaddingBox,A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox);case 2:return j(A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox,A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox);case 3:default:return j(A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox,A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox)}},VQ=function(A,e){switch(e){case 0:return ye(A.topLeftBorderStroke,A.topRightBorderStroke);case 1:return ye(A.topRightBorderStroke,A.bottomRightBorderStroke);case 2:return ye(A.bottomRightBorderStroke,A.bottomLeftBorderStroke);case 3:default:return ye(A.bottomLeftBorderStroke,A.topLeftBorderStroke)}},ye=function(A,e){var t=[];return q(A)?t.push(A.subdivide(.5,!1)):t.push(A),q(e)?t.push(e.subdivide(.5,!0)):t.push(e),t},j=function(A,e,t,r){var B=[];return q(A)?B.push(A.subdivide(.5,!1)):B.push(A),q(t)?B.push(t.subdivide(.5,!0)):B.push(t),q(r)?B.push(r.subdivide(.5,!0).reverse()):B.push(r),q(e)?B.push(e.subdivide(.5,!1).reverse()):B.push(e),B},OB=function(A){var e=A.bounds,t=A.styles;return e.add(t.borderLeftWidth,t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth),-(t.borderTopWidth+t.borderBottomWidth))},Ve=function(A){var e=A.styles,t=A.bounds,r=L(e.paddingLeft,t.width),B=L(e.paddingRight,t.width),s=L(e.paddingTop,t.width),n=L(e.paddingBottom,t.width);return t.add(r+e.borderLeftWidth,s+e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth+r+B),-(e.borderTopWidth+e.borderBottomWidth+s+n))},NQ=function(A,e){return A===0?e.bounds:A===2?Ve(e):OB(e)},XQ=function(A,e){return A===0?e.bounds:A===2?Ve(e):OB(e)},hr=function(A,e,t){var r=NQ(MA(A.styles.backgroundOrigin,e),A),B=XQ(MA(A.styles.backgroundClip,e),A),s=JQ(MA(A.styles.backgroundSize,e),t,r),n=s[0],a=s[1],i=ZA(MA(A.styles.backgroundPosition,e),r.width-n,r.height-a),Q=_Q(MA(A.styles.backgroundRepeat,e),i,s,r,B),o=Math.round(r.left+i[0]),w=Math.round(r.top+i[1]);return[Q,o,w,n,a]},TA=function(A){return x(A)&&A.value===GA.AUTO},Le=function(A){return typeof A=="number"},JQ=function(A,e,t){var r=e[0],B=e[1],s=e[2],n=A[0],a=A[1];if(!n)return[0,0];if(M(n)&&a&&M(a))return[L(n,t.width),L(a,t.height)];var i=Le(s);if(x(n)&&(n.value===GA.CONTAIN||n.value===GA.COVER)){if(Le(s)){var Q=t.width/t.height;return Q<s!=(n.value===GA.COVER)?[t.width,t.width/s]:[t.height*s,t.height]}return[t.width,t.height]}var o=Le(r),w=Le(B),g=o||w;if(TA(n)&&(!a||TA(a))){if(o&&w)return[r,B];if(!i&&!g)return[t.width,t.height];if(g&&i){var F=o?r:B*s,C=w?B:r/s;return[F,C]}var f=o?r:t.width,p=w?B:t.height;return[f,p]}if(i){var h=0,l=0;return M(n)?h=L(n,t.width):M(a)&&(l=L(a,t.height)),TA(n)?h=l*s:(!a||TA(a))&&(l=h/s),[h,l]}var m=null,v=null;if(M(n)?m=L(n,t.width):a&&M(a)&&(v=L(a,t.height)),m!==null&&(!a||TA(a))&&(v=o&&w?m/r*B:t.height),v!==null&&TA(n)&&(m=o&&w?v/B*r:t.width),m!==null&&v!==null)return[m,v];throw new Error("Unable to calculate background-size for element")},MA=function(A,e){var t=A[e];return typeof t>"u"?A[0]:t},_Q=function(A,e,t,r,B){var s=e[0],n=e[1],a=t[0],i=t[1];switch(A){case 2:return[new U(Math.round(r.left),Math.round(r.top+n)),new U(Math.round(r.left+r.width),Math.round(r.top+n)),new U(Math.round(r.left+r.width),Math.round(i+r.top+n)),new U(Math.round(r.left),Math.round(i+r.top+n))];case 3:return[new U(Math.round(r.left+s),Math.round(r.top)),new U(Math.round(r.left+s+a),Math.round(r.top)),new U(Math.round(r.left+s+a),Math.round(r.height+r.top)),new U(Math.round(r.left+s),Math.round(r.height+r.top))];case 1:return[new U(Math.round(r.left+s),Math.round(r.top+n)),new U(Math.round(r.left+s+a),Math.round(r.top+n)),new U(Math.round(r.left+s+a),Math.round(r.top+n+i)),new U(Math.round(r.left+s),Math.round(r.top+n+i))];default:return[new U(Math.round(B.left),Math.round(B.top)),new U(Math.round(B.left+B.width),Math.round(B.top)),new U(Math.round(B.left+B.width),Math.round(B.height+B.top)),new U(Math.round(B.left),Math.round(B.height+B.top))]}},kQ="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Vt="Hidden Text",PQ=function(){function A(e){this._data={},this._document=e}return A.prototype.parseMetrics=function(e,t){var r=this._document.createElement("div"),B=this._document.createElement("img"),s=this._document.createElement("span"),n=this._document.body;r.style.visibility="hidden",r.style.fontFamily=e,r.style.fontSize=t,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",n.appendChild(r),B.src=kQ,B.width=1,B.height=1,B.style.margin="0",B.style.padding="0",B.style.verticalAlign="baseline",s.style.fontFamily=e,s.style.fontSize=t,s.style.margin="0",s.style.padding="0",s.appendChild(this._document.createTextNode(Vt)),r.appendChild(s),r.appendChild(B);var a=B.offsetTop-s.offsetTop+2;r.removeChild(s),r.appendChild(this._document.createTextNode(Vt)),r.style.lineHeight="normal",B.style.verticalAlign="super";var i=B.offsetTop-r.offsetTop+2;return n.removeChild(r),{baseline:a,middle:i}},A.prototype.getMetrics=function(e,t){var r=e+" "+t;return typeof this._data[r]>"u"&&(this._data[r]=this.parseMetrics(e,t)),this._data[r]},A}(),GB=function(){function A(e,t){this.context=e,this.options=t}return A}(),YQ=1e4;(function(A){AA(e,A);function e(t,r){var B=A.call(this,t,r)||this;return B._activeEffects=[],B.canvas=r.canvas?r.canvas:document.createElement("canvas"),B.ctx=B.canvas.getContext("2d"),r.canvas||(B.canvas.width=Math.floor(r.width*r.scale),B.canvas.height=Math.floor(r.height*r.scale),B.canvas.style.width=r.width+"px",B.canvas.style.height=r.height+"px"),B.fontMetrics=new PQ(document),B.ctx.scale(B.options.scale,B.options.scale),B.ctx.translate(-r.x,-r.y),B.ctx.textBaseline="bottom",B._activeEffects=[],B.context.logger.debug("Canvas renderer initialized ("+r.width+"x"+r.height+") with scale "+r.scale),B}return e.prototype.applyEffects=function(t){for(var r=this;this._activeEffects.length;)this.popEffect();t.forEach(function(B){return r.applyEffect(B)})},e.prototype.applyEffect=function(t){this.ctx.save(),SQ(t)&&(this.ctx.globalAlpha=t.opacity),TQ(t)&&(this.ctx.translate(t.offsetX,t.offsetY),this.ctx.transform(t.matrix[0],t.matrix[1],t.matrix[2],t.matrix[3],t.matrix[4],t.matrix[5]),this.ctx.translate(-t.offsetX,-t.offsetY)),xB(t)&&(this.path(t.path),this.ctx.clip()),this._activeEffects.push(t)},e.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},e.prototype.renderStack=function(t){return W(this,void 0,void 0,function(){var r;return k(this,function(B){switch(B.label){case 0:return r=t.element.container.styles,r.isVisible()?[4,this.renderStackContent(t)]:[3,2];case 1:B.sent(),B.label=2;case 2:return[2]}})})},e.prototype.renderNode=function(t){return W(this,void 0,void 0,function(){return k(this,function(r){switch(r.label){case 0:if(O(t.container.flags,16))debugger;return t.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(t)]:[3,3];case 1:return r.sent(),[4,this.renderNodeContent(t)];case 2:r.sent(),r.label=3;case 3:return[2]}})})},e.prototype.renderTextWithLetterSpacing=function(t,r,B){var s=this;if(r===0)this.ctx.fillText(t.text,t.bounds.left,t.bounds.top+B);else{var n=Xr(t.text);n.reduce(function(a,i){return s.ctx.fillText(i,a,t.bounds.top+B),a+s.ctx.measureText(i).width},t.bounds.left)}},e.prototype.createFontStyle=function(t){var r=t.fontVariant.filter(function(n){return n==="normal"||n==="small-caps"}).join(""),B=jQ(t.fontFamily).join(", "),s=se(t.fontSize)?""+t.fontSize.number+t.fontSize.unit:t.fontSize.number+"px";return[[t.fontStyle,r,t.fontWeight,s,B].join(" "),B,s]},e.prototype.renderTextNode=function(t,r){return W(this,void 0,void 0,function(){var B,s,n,a,i,Q,o,w,g=this;return k(this,function(F){return B=this.createFontStyle(r),s=B[0],n=B[1],a=B[2],this.ctx.font=s,this.ctx.direction=r.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",i=this.fontMetrics.getMetrics(n,a),Q=i.baseline,o=i.middle,w=r.paintOrder,t.textBounds.forEach(function(C){w.forEach(function(f){switch(f){case 0:g.ctx.fillStyle=G(r.color),g.renderTextWithLetterSpacing(C,r.letterSpacing,Q);var p=r.textShadow;p.length&&C.text.trim().length&&(p.slice(0).reverse().forEach(function(h){g.ctx.shadowColor=G(h.color),g.ctx.shadowOffsetX=h.offsetX.number*g.options.scale,g.ctx.shadowOffsetY=h.offsetY.number*g.options.scale,g.ctx.shadowBlur=h.blur.number,g.renderTextWithLetterSpacing(C,r.letterSpacing,Q)}),g.ctx.shadowColor="",g.ctx.shadowOffsetX=0,g.ctx.shadowOffsetY=0,g.ctx.shadowBlur=0),r.textDecorationLine.length&&(g.ctx.fillStyle=G(r.textDecorationColor||r.color),r.textDecorationLine.forEach(function(h){switch(h){case 1:g.ctx.fillRect(C.bounds.left,Math.round(C.bounds.top+Q),C.bounds.width,1);break;case 2:g.ctx.fillRect(C.bounds.left,Math.round(C.bounds.top),C.bounds.width,1);break;case 3:g.ctx.fillRect(C.bounds.left,Math.ceil(C.bounds.top+o),C.bounds.width,1);break}}));break;case 1:r.webkitTextStrokeWidth&&C.text.trim().length&&(g.ctx.strokeStyle=G(r.webkitTextStrokeColor),g.ctx.lineWidth=r.webkitTextStrokeWidth,g.ctx.lineJoin=window.chrome?"miter":"round",g.ctx.strokeText(C.text,C.bounds.left,C.bounds.top+Q)),g.ctx.strokeStyle="",g.ctx.lineWidth=0,g.ctx.lineJoin="miter";break}})}),[2]})})},e.prototype.renderReplacedElement=function(t,r,B){if(B&&t.intrinsicWidth>0&&t.intrinsicHeight>0){var s=Ve(t),n=Re(r);this.path(n),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(B,0,0,t.intrinsicWidth,t.intrinsicHeight,s.left,s.top,s.width,s.height),this.ctx.restore()}},e.prototype.renderNodeContent=function(t){return W(this,void 0,void 0,function(){var r,B,s,n,a,i,l,l,Q,o,w,g,v,F,C,E,f,p,h,l,m,v,E;return k(this,function(u){switch(u.label){case 0:this.applyEffects(t.getEffects(4)),r=t.container,B=t.curves,s=r.styles,n=0,a=r.textNodes,u.label=1;case 1:return n<a.length?(i=a[n],[4,this.renderTextNode(i,s)]):[3,4];case 2:u.sent(),u.label=3;case 3:return n++,[3,1];case 4:if(!(r instanceof hB))return[3,8];u.label=5;case 5:return u.trys.push([5,7,,8]),[4,this.context.cache.match(r.src)];case 6:return l=u.sent(),this.renderReplacedElement(r,B,l),[3,8];case 7:return u.sent(),this.context.logger.error("Error loading image "+r.src),[3,8];case 8:if(r instanceof HB&&this.renderReplacedElement(r,B,r.canvas),!(r instanceof EB))return[3,12];u.label=9;case 9:return u.trys.push([9,11,,12]),[4,this.context.cache.match(r.svg)];case 10:return l=u.sent(),this.renderReplacedElement(r,B,l),[3,12];case 11:return u.sent(),this.context.logger.error("Error loading svg "+r.svg.substring(0,255)),[3,12];case 12:return r instanceof vB&&r.tree?(Q=new e(this.context,{scale:this.options.scale,backgroundColor:r.backgroundColor,x:0,y:0,width:r.width,height:r.height}),[4,Q.render(r.tree)]):[3,14];case 13:o=u.sent(),r.width&&r.height&&this.ctx.drawImage(o,0,0,r.width,r.height,r.bounds.left,r.bounds.top,r.bounds.width,r.bounds.height),u.label=14;case 14:if(r instanceof Jr&&(w=Math.min(r.bounds.width,r.bounds.height),r.type===Me?r.checked&&(this.ctx.save(),this.path([new U(r.bounds.left+w*.39363,r.bounds.top+w*.79),new U(r.bounds.left+w*.16,r.bounds.top+w*.5549),new U(r.bounds.left+w*.27347,r.bounds.top+w*.44071),new U(r.bounds.left+w*.39694,r.bounds.top+w*.5649),new U(r.bounds.left+w*.72983,r.bounds.top+w*.23),new U(r.bounds.left+w*.84,r.bounds.top+w*.34085),new U(r.bounds.left+w*.39363,r.bounds.top+w*.79)]),this.ctx.fillStyle=G(Dt),this.ctx.fill(),this.ctx.restore()):r.type===Oe&&r.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(r.bounds.left+w/2,r.bounds.top+w/2,w/4,0,Math.PI*2,!0),this.ctx.fillStyle=G(Dt),this.ctx.fill(),this.ctx.restore())),WQ(r)&&r.value.length){switch(g=this.createFontStyle(s),v=g[0],F=g[1],C=this.fontMetrics.getMetrics(v,F).baseline,this.ctx.font=v,this.ctx.fillStyle=G(s.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=qQ(r.styles.textAlign),E=Ve(r),f=0,r.styles.textAlign){case 1:f+=E.width/2;break;case 2:f+=E.width;break}p=E.add(f,0,0,-E.height/2+1),this.ctx.save(),this.path([new U(E.left,E.top),new U(E.left+E.width,E.top),new U(E.left+E.width,E.top+E.height),new U(E.left,E.top+E.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Ae(r.value,p),s.letterSpacing,C),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!O(r.styles.display,2048))return[3,20];if(r.styles.listStyleImage===null)return[3,19];if(h=r.styles.listStyleImage,h.type!==0)return[3,18];l=void 0,m=h.url,u.label=15;case 15:return u.trys.push([15,17,,18]),[4,this.context.cache.match(m)];case 16:return l=u.sent(),this.ctx.drawImage(l,r.bounds.left-(l.width+10),r.bounds.top),[3,18];case 17:return u.sent(),this.context.logger.error("Error loading list-style-image "+m),[3,18];case 18:return[3,20];case 19:t.listValue&&r.styles.listStyleType!==-1&&(v=this.createFontStyle(s)[0],this.ctx.font=v,this.ctx.fillStyle=G(s.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",E=new pA(r.bounds.left,r.bounds.top+L(r.styles.paddingTop,r.bounds.width),r.bounds.width,ct(s.lineHeight,s.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Ae(t.listValue,E),s.letterSpacing,ct(s.lineHeight,s.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),u.label=20;case 20:return[2]}})})},e.prototype.renderStackContent=function(t){return W(this,void 0,void 0,function(){var r,B,h,s,n,h,a,i,h,Q,o,h,w,g,h,F,C,h,f,p,h;return k(this,function(l){switch(l.label){case 0:if(O(t.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(t.element)];case 1:l.sent(),r=0,B=t.negativeZIndex,l.label=2;case 2:return r<B.length?(h=B[r],[4,this.renderStack(h)]):[3,5];case 3:l.sent(),l.label=4;case 4:return r++,[3,2];case 5:return[4,this.renderNodeContent(t.element)];case 6:l.sent(),s=0,n=t.nonInlineLevel,l.label=7;case 7:return s<n.length?(h=n[s],[4,this.renderNode(h)]):[3,10];case 8:l.sent(),l.label=9;case 9:return s++,[3,7];case 10:a=0,i=t.nonPositionedFloats,l.label=11;case 11:return a<i.length?(h=i[a],[4,this.renderStack(h)]):[3,14];case 12:l.sent(),l.label=13;case 13:return a++,[3,11];case 14:Q=0,o=t.nonPositionedInlineLevel,l.label=15;case 15:return Q<o.length?(h=o[Q],[4,this.renderStack(h)]):[3,18];case 16:l.sent(),l.label=17;case 17:return Q++,[3,15];case 18:w=0,g=t.inlineLevel,l.label=19;case 19:return w<g.length?(h=g[w],[4,this.renderNode(h)]):[3,22];case 20:l.sent(),l.label=21;case 21:return w++,[3,19];case 22:F=0,C=t.zeroOrAutoZIndexOrTransformedOrOpacity,l.label=23;case 23:return F<C.length?(h=C[F],[4,this.renderStack(h)]):[3,26];case 24:l.sent(),l.label=25;case 25:return F++,[3,23];case 26:f=0,p=t.positiveZIndex,l.label=27;case 27:return f<p.length?(h=p[f],[4,this.renderStack(h)]):[3,30];case 28:l.sent(),l.label=29;case 29:return f++,[3,27];case 30:return[2]}})})},e.prototype.mask=function(t){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(t.slice(0).reverse()),this.ctx.closePath()},e.prototype.path=function(t){this.ctx.beginPath(),this.formatPath(t),this.ctx.closePath()},e.prototype.formatPath=function(t){var r=this;t.forEach(function(B,s){var n=q(B)?B.start:B;s===0?r.ctx.moveTo(n.x,n.y):r.ctx.lineTo(n.x,n.y),q(B)&&r.ctx.bezierCurveTo(B.startControl.x,B.startControl.y,B.endControl.x,B.endControl.y,B.end.x,B.end.y)})},e.prototype.renderRepeat=function(t,r,B,s){this.path(t),this.ctx.fillStyle=r,this.ctx.translate(B,s),this.ctx.fill(),this.ctx.translate(-B,-s)},e.prototype.resizeImage=function(t,r,B){var s;if(t.width===r&&t.height===B)return t;var n=(s=this.canvas.ownerDocument)!==null&&s!==void 0?s:document,a=n.createElement("canvas");a.width=Math.max(1,r),a.height=Math.max(1,B);var i=a.getContext("2d");return i.drawImage(t,0,0,t.width,t.height,0,0,r,B),a},e.prototype.renderBackgroundImage=function(t){return W(this,void 0,void 0,function(){var r,B,s,n,a,i;return k(this,function(Q){switch(Q.label){case 0:r=t.styles.backgroundImage.length-1,B=function(o){var w,g,F,V,eA,rA,D,_,K,C,V,eA,rA,D,_,f,p,h,l,m,v,E,u,y,K,H,V,wA,aA,D,_,ne,eA,rA,je,vA,ae,$e,Ar,RA,er,rr;return k(this,function(KA){switch(KA.label){case 0:if(o.type!==0)return[3,5];w=void 0,g=o.url,KA.label=1;case 1:return KA.trys.push([1,3,,4]),[4,s.context.cache.match(g)];case 2:return w=KA.sent(),[3,4];case 3:return KA.sent(),s.context.logger.error("Error loading background-image "+g),[3,4];case 4:return w&&(F=hr(t,r,[w.width,w.height,w.width/w.height]),V=F[0],eA=F[1],rA=F[2],D=F[3],_=F[4],K=s.ctx.createPattern(s.resizeImage(w,D,_),"repeat"),s.renderRepeat(V,K,eA,rA)),[3,6];case 5:qn(o)?(C=hr(t,r,[null,null,null]),V=C[0],eA=C[1],rA=C[2],D=C[3],_=C[4],f=kn(o.angle,D,_),p=f[0],h=f[1],l=f[2],m=f[3],v=f[4],E=document.createElement("canvas"),E.width=D,E.height=_,u=E.getContext("2d"),y=u.createLinearGradient(h,m,l,v),Ct(o.stops,p).forEach(function(VA){return y.addColorStop(VA.stop,G(VA.color))}),u.fillStyle=y,u.fillRect(0,0,D,_),D>0&&_>0&&(K=s.ctx.createPattern(E,"repeat"),s.renderRepeat(V,K,eA,rA))):zn(o)&&(H=hr(t,r,[null,null,null]),V=H[0],wA=H[1],aA=H[2],D=H[3],_=H[4],ne=o.position.length===0?[Rr]:o.position,eA=L(ne[0],D),rA=L(ne[ne.length-1],_),je=Pn(o,eA,rA,D,_),vA=je[0],ae=je[1],vA>0&&ae>0&&($e=s.ctx.createRadialGradient(wA+eA,aA+rA,0,wA+eA,aA+rA,vA),Ct(o.stops,vA*2).forEach(function(VA){return $e.addColorStop(VA.stop,G(VA.color))}),s.path(V),s.ctx.fillStyle=$e,vA!==ae?(Ar=t.bounds.left+.5*t.bounds.width,RA=t.bounds.top+.5*t.bounds.height,er=ae/vA,rr=1/er,s.ctx.save(),s.ctx.translate(Ar,RA),s.ctx.transform(1,0,0,er,0,0),s.ctx.translate(-Ar,-RA),s.ctx.fillRect(wA,rr*(aA-RA)+RA,D,_*rr),s.ctx.restore()):s.ctx.fill())),KA.label=6;case 6:return r--,[2]}})},s=this,n=0,a=t.styles.backgroundImage.slice(0).reverse(),Q.label=1;case 1:return n<a.length?(i=a[n],[5,B(i)]):[3,4];case 2:Q.sent(),Q.label=3;case 3:return n++,[3,1];case 4:return[2]}})})},e.prototype.renderSolidBorder=function(t,r,B){return W(this,void 0,void 0,function(){return k(this,function(s){return this.path(Rt(B,r)),this.ctx.fillStyle=G(t),this.ctx.fill(),[2]})})},e.prototype.renderDoubleBorder=function(t,r,B,s){return W(this,void 0,void 0,function(){var n,a;return k(this,function(i){switch(i.label){case 0:return r<3?[4,this.renderSolidBorder(t,B,s)]:[3,2];case 1:return i.sent(),[2];case 2:return n=GQ(s,B),this.path(n),this.ctx.fillStyle=G(t),this.ctx.fill(),a=RQ(s,B),this.path(a),this.ctx.fill(),[2]}})})},e.prototype.renderNodeBackgroundAndBorders=function(t){return W(this,void 0,void 0,function(){var r,B,s,n,a,i,Q,o,w=this;return k(this,function(g){switch(g.label){case 0:return this.applyEffects(t.getEffects(2)),r=t.container.styles,B=!OA(r.backgroundColor)||r.backgroundImage.length,s=[{style:r.borderTopStyle,color:r.borderTopColor,width:r.borderTopWidth},{style:r.borderRightStyle,color:r.borderRightColor,width:r.borderRightWidth},{style:r.borderBottomStyle,color:r.borderBottomColor,width:r.borderBottomWidth},{style:r.borderLeftStyle,color:r.borderLeftColor,width:r.borderLeftWidth}],n=ZQ(MA(r.backgroundClip,0),t.curves),B||r.boxShadow.length?(this.ctx.save(),this.path(n),this.ctx.clip(),OA(r.backgroundColor)||(this.ctx.fillStyle=G(r.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(t.container)]):[3,2];case 1:g.sent(),this.ctx.restore(),r.boxShadow.slice(0).reverse().forEach(function(F){w.ctx.save();var C=Ge(t.curves),f=F.inset?0:YQ,p=MQ(C,-f+(F.inset?1:-1)*F.spread.number,(F.inset?1:-1)*F.spread.number,F.spread.number*(F.inset?-2:2),F.spread.number*(F.inset?-2:2));F.inset?(w.path(C),w.ctx.clip(),w.mask(p)):(w.mask(C),w.ctx.clip(),w.path(p)),w.ctx.shadowOffsetX=F.offsetX.number+f,w.ctx.shadowOffsetY=F.offsetY.number,w.ctx.shadowColor=G(F.color),w.ctx.shadowBlur=F.blur.number,w.ctx.fillStyle=F.inset?G(F.color):"rgba(0,0,0,1)",w.ctx.fill(),w.ctx.restore()}),g.label=2;case 2:a=0,i=0,Q=s,g.label=3;case 3:return i<Q.length?(o=Q[i],o.style!==0&&!OA(o.color)&&o.width>0?o.style!==2?[3,5]:[4,this.renderDashedDottedBorder(o.color,o.width,a,t.curves,2)]:[3,11]):[3,13];case 4:return g.sent(),[3,11];case 5:return o.style!==3?[3,7]:[4,this.renderDashedDottedBorder(o.color,o.width,a,t.curves,3)];case 6:return g.sent(),[3,11];case 7:return o.style!==4?[3,9]:[4,this.renderDoubleBorder(o.color,o.width,a,t.curves)];case 8:return g.sent(),[3,11];case 9:return[4,this.renderSolidBorder(o.color,a,t.curves)];case 10:g.sent(),g.label=11;case 11:a++,g.label=12;case 12:return i++,[3,3];case 13:return[2]}})})},e.prototype.renderDashedDottedBorder=function(t,r,B,s,n){return W(this,void 0,void 0,function(){var a,i,Q,o,w,g,F,C,f,p,h,l,m,v,E,u,E,u;return k(this,function(y){return this.ctx.save(),a=VQ(s,B),i=Rt(s,B),n===2&&(this.path(i),this.ctx.clip()),q(i[0])?(Q=i[0].start.x,o=i[0].start.y):(Q=i[0].x,o=i[0].y),q(i[1])?(w=i[1].end.x,g=i[1].end.y):(w=i[1].x,g=i[1].y),B===0||B===2?F=Math.abs(Q-w):F=Math.abs(o-g),this.ctx.beginPath(),n===3?this.formatPath(a):this.formatPath(i.slice(0,2)),C=r<3?r*3:r*2,f=r<3?r*2:r,n===3&&(C=r,f=r),p=!0,F<=C*2?p=!1:F<=C*2+f?(h=F/(2*C+f),C*=h,f*=h):(l=Math.floor((F+f)/(C+f)),m=(F-l*C)/(l-1),v=(F-(l+1)*C)/l,f=v<=0||Math.abs(f-m)<Math.abs(f-v)?m:v),p&&(n===3?this.ctx.setLineDash([0,C+f]):this.ctx.setLineDash([C,f])),n===3?(this.ctx.lineCap="round",this.ctx.lineWidth=r):this.ctx.lineWidth=r*2+1.1,this.ctx.strokeStyle=G(t),this.ctx.stroke(),this.ctx.setLineDash([]),n===2&&(q(i[0])&&(E=i[3],u=i[0],this.ctx.beginPath(),this.formatPath([new U(E.end.x,E.end.y),new U(u.start.x,u.start.y)]),this.ctx.stroke()),q(i[1])&&(E=i[1],u=i[2],this.ctx.beginPath(),this.formatPath([new U(E.end.x,E.end.y),new U(u.start.x,u.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},e.prototype.render=function(t){return W(this,void 0,void 0,function(){var r;return k(this,function(B){switch(B.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=G(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),r=OQ(t),[4,this.renderStack(r)];case 1:return B.sent(),this.applyEffects([]),[2,this.canvas]}})})},e})(GB);var WQ=function(A){return A instanceof pB||A instanceof IB?!0:A instanceof Jr&&A.type!==Oe&&A.type!==Me},ZQ=function(A,e){switch(A){case 0:return Ge(e);case 2:return DQ(e);case 1:default:return Re(e)}},qQ=function(A){switch(A){case 1:return"center";case 2:return"right";case 0:default:return"left"}},zQ=["-apple-system","system-ui"],jQ=function(A){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?A.filter(function(e){return zQ.indexOf(e)===-1}):A};(function(A){AA(e,A);function e(t,r){var B=A.call(this,t,r)||this;return B.canvas=r.canvas?r.canvas:document.createElement("canvas"),B.ctx=B.canvas.getContext("2d"),B.options=r,B.canvas.width=Math.floor(r.width*r.scale),B.canvas.height=Math.floor(r.height*r.scale),B.canvas.style.width=r.width+"px",B.canvas.style.height=r.height+"px",B.ctx.scale(B.options.scale,B.options.scale),B.ctx.translate(-r.x,-r.y),B.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+r.width+"x"+r.height+" at "+r.x+","+r.y+") with scale "+r.scale),B}return e.prototype.render=function(t){return W(this,void 0,void 0,function(){var r,B;return k(this,function(s){switch(s.label){case 0:return r=Tr(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,t),[4,$Q(r)];case 1:return B=s.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=G(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(B,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},e})(GB);var $Q=function(A){return new Promise(function(e,t){var r=new Image;r.onload=function(){e(r)},r.onerror=t,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(A))})};typeof window<"u"&&LQ.setContext(window);const Ao={class:"workbench-container"},eo=PB({__name:"index",setup(A){const e=YB({schoolYearId:"",collegeId:-1,semester:"0",lastYear:""}),t=WB(()=>({...e.value,collegeId:e.value.collegeId===-1?null:e.value.collegeId})),r=B=>{e.value=B};return(B,s)=>{const n=kr("el-col"),a=kr("el-row");return ZB(),qB("div",Ao,[tA(' <el-button @click="exportImage">\u5BFC\u51FA\u56FE\u7247</el-button> '),tA(" \u641C\u7D22\u6A21\u5757 "),tA(" {{ searForm }} "),N(JB,{onUpdateForm:r}),tA(" \u6807\u9898 "),s[0]||(s[0]=zB("div",{class:"page-title"},"\u6570\u636E\u603B\u89C8",-1)),tA(" \u6570\u636E\u603B\u89C8 "),N(RB,{searForm:yA(t)},null,8,["searForm"]),N(a,{gutter:16},{default:iA(()=>[tA(" \u4F53\u80B2\u6559\u5B66 "),N(n,{xs:24,sm:24,md:24,lg:24,xl:24},{default:iA(()=>[N(_B,{height:"586px",searForm:yA(t)},null,8,["searForm"])]),_:1})]),_:1}),N(a,{gutter:16},{default:iA(()=>[tA(" \u7FA4\u4F53\u6D3B\u52A8 "),N(n,{xs:24,sm:24,md:24,lg:24,xl:24},{default:iA(()=>[N(kB,{height:"586px",searForm:yA(t)},null,8,["searForm"])]),_:1})]),_:1}),N(a,{gutter:16,style:{"margin-bottom":"16px"}},{default:iA(()=>[tA(" \u4F53\u8D28\u6D4B\u8BD5 "),N(n,{xs:24,sm:24,md:24,lg:24,xl:24},{default:iA(()=>[N(VB,{searForm:yA(t)},null,8,["searForm"])]),_:1})]),_:1}),N(a,{gutter:16},{default:iA(()=>[tA(" \u8BFE\u5916\u4F53\u80B2\u6570\u636E "),N(n,{xs:24,sm:24,md:24,lg:12,xl:12},{default:iA(()=>[N(NB,{height:"586px",searForm:yA(t)},null,8,["searForm"])]),_:1}),tA(" \u57F9\u8BAD\u4F7F\u7528 "),N(n,{xs:24,sm:24,md:24,lg:12,xl:12},{default:iA(()=>[N(XB,{height:"586px",searForm:yA(t)},null,8,["searForm"])]),_:1})]),_:1})])}}});const Io=jB(eo,[["__scopeId","data-v-cab267aa"]]);export{Io as default};
