gp-designer 1.0.108 → 1.0.109

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,12 +1,12 @@
1
- (function(De,c){typeof exports=="object"&&typeof module<"u"?c(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],c):(De=typeof globalThis<"u"?globalThis:De||self,c(De.GpWebModule={},De.Vue))})(this,function(De,c){"use strict";var sA;(function(A){A.Root="root",A.Text="text",A.Directive="directive",A.Comment="comment",A.Script="script",A.Style="style",A.Tag="tag",A.CDATA="cdata",A.Doctype="doctype"})(sA||(sA={}));function t0(A){return A.type===sA.Tag||A.type===sA.Script||A.type===sA.Style}const r0=sA.Root,n0=sA.Text,a0=sA.Directive,i0=sA.Comment,s0=sA.Script,o0=sA.Style,u0=sA.Tag,c0=sA.CDATA,l0=sA.Doctype;let ws=class{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(e){this.parent=e}get previousSibling(){return this.prev}set previousSibling(e){this.prev=e}get nextSibling(){return this.next}set nextSibling(e){this.next=e}cloneNode(e=!1){return Xt(this,e)}};class fa extends ws{constructor(e){super(),this.data=e}get nodeValue(){return this.data}set nodeValue(e){this.data=e}}class Yt extends fa{constructor(){super(...arguments),this.type=sA.Text}get nodeType(){return 3}}class ha extends fa{constructor(){super(...arguments),this.type=sA.Comment}get nodeType(){return 8}}class Ba extends fa{constructor(e,t){super(t),this.name=e,this.type=sA.Directive}get nodeType(){return 1}}class ga extends ws{constructor(e){super(),this.children=e}get firstChild(){var e;return(e=this.children[0])!==null&&e!==void 0?e:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(e){this.children=e}}class bs extends ga{constructor(){super(...arguments),this.type=sA.CDATA}get nodeType(){return 4}}class tt extends ga{constructor(){super(...arguments),this.type=sA.Root}get nodeType(){return 9}}class pa extends ga{constructor(e,t,r=[],n=e==="script"?sA.Script:e==="style"?sA.Style:sA.Tag){super(r),this.name=e,this.attribs=t,this.type=n}get nodeType(){return 1}get tagName(){return this.name}set tagName(e){this.name=e}get attributes(){return Object.keys(this.attribs).map(e=>{var t,r;return{name:e,value:this.attribs[e],namespace:(t=this["x-attribsNamespace"])===null||t===void 0?void 0:t[e],prefix:(r=this["x-attribsPrefix"])===null||r===void 0?void 0:r[e]}})}}function W(A){return t0(A)}function kr(A){return A.type===sA.CDATA}function we(A){return A.type===sA.Text}function Pr(A){return A.type===sA.Comment}function Ea(A){return A.type===sA.Directive}function Oe(A){return A.type===sA.Root}function NA(A){return Object.prototype.hasOwnProperty.call(A,"children")}function Xt(A,e=!1){let t;if(we(A))t=new Yt(A.data);else if(Pr(A))t=new ha(A.data);else if(W(A)){const r=e?ma(A.children):[],n=new pa(A.name,{...A.attribs},r);r.forEach(a=>a.parent=n),A.namespace!=null&&(n.namespace=A.namespace),A["x-attribsNamespace"]&&(n["x-attribsNamespace"]={...A["x-attribsNamespace"]}),A["x-attribsPrefix"]&&(n["x-attribsPrefix"]={...A["x-attribsPrefix"]}),t=n}else if(kr(A)){const r=e?ma(A.children):[],n=new bs(r);r.forEach(a=>a.parent=n),t=n}else if(Oe(A)){const r=e?ma(A.children):[],n=new tt(r);r.forEach(a=>a.parent=n),A["x-mode"]&&(n["x-mode"]=A["x-mode"]),t=n}else if(Ea(A)){const r=new Ba(A.name,A.data);A["x-name"]!=null&&(r["x-name"]=A["x-name"],r["x-publicId"]=A["x-publicId"],r["x-systemId"]=A["x-systemId"]),t=r}else throw new Error(`Not implemented yet: ${A.type}`);return t.startIndex=A.startIndex,t.endIndex=A.endIndex,A.sourceCodeLocation!=null&&(t.sourceCodeLocation=A.sourceCodeLocation),t}function ma(A){const e=A.map(t=>Xt(t,!0));for(let t=1;t<e.length;t++)e[t].prev=e[t-1],e[t-1].next=e[t];return e}const Ts={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};class d0{constructor(e,t,r){this.dom=[],this.root=new tt(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof t=="function"&&(r=t,t=Ts),typeof e=="object"&&(t=e,e=void 0),this.callback=e??null,this.options=t??Ts,this.elementCB=r??null}onparserinit(e){this.parser=e}onreset(){this.dom=[],this.root=new tt(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(e){this.handleCallback(e)}onclosetag(){this.lastNode=null;const e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)}onopentag(e,t){const r=this.options.xmlMode?sA.Tag:void 0,n=new pa(e,t,void 0,r);this.addNode(n),this.tagStack.push(n)}ontext(e){const{lastNode:t}=this;if(t&&t.type===sA.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{const r=new Yt(e);this.addNode(r),this.lastNode=r}}oncomment(e){if(this.lastNode&&this.lastNode.type===sA.Comment){this.lastNode.data+=e;return}const t=new ha(e);this.addNode(t),this.lastNode=t}oncommentend(){this.lastNode=null}oncdatastart(){const e=new Yt(""),t=new bs([e]);this.addNode(t),e.parent=t,this.lastNode=e}oncdataend(){this.lastNode=null}onprocessinginstruction(e,t){const r=new Ba(e,t);this.addNode(r)}handleCallback(e){if(typeof this.callback=="function")this.callback(e,this.dom);else if(e)throw e}addNode(e){const t=this.tagStack[this.tagStack.length-1],r=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),r&&(e.prev=r,r.next=e),e.parent=t,this.lastNode=null}}const Ca=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(A=>A.charCodeAt(0))),Us=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(A=>A.charCodeAt(0)));var wa;const f0=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),ba=(wa=String.fromCodePoint)!==null&&wa!==void 0?wa:function(A){let e="";return A>65535&&(A-=65536,e+=String.fromCharCode(A>>>10&1023|55296),A=56320|A&1023),e+=String.fromCharCode(A),e};function h0(A){var e;return A>=55296&&A<=57343||A>1114111?65533:(e=f0.get(A))!==null&&e!==void 0?e:A}var SA;(function(A){A[A.NUM=35]="NUM",A[A.SEMI=59]="SEMI",A[A.EQUALS=61]="EQUALS",A[A.ZERO=48]="ZERO",A[A.NINE=57]="NINE",A[A.LOWER_A=97]="LOWER_A",A[A.LOWER_F=102]="LOWER_F",A[A.LOWER_X=120]="LOWER_X",A[A.LOWER_Z=122]="LOWER_Z",A[A.UPPER_A=65]="UPPER_A",A[A.UPPER_F=70]="UPPER_F",A[A.UPPER_Z=90]="UPPER_Z"})(SA||(SA={}));const B0=32;var Re;(function(A){A[A.VALUE_LENGTH=49152]="VALUE_LENGTH",A[A.BRANCH_LENGTH=16256]="BRANCH_LENGTH",A[A.JUMP_TABLE=127]="JUMP_TABLE"})(Re||(Re={}));function Ta(A){return A>=SA.ZERO&&A<=SA.NINE}function g0(A){return A>=SA.UPPER_A&&A<=SA.UPPER_F||A>=SA.LOWER_A&&A<=SA.LOWER_F}function p0(A){return A>=SA.UPPER_A&&A<=SA.UPPER_Z||A>=SA.LOWER_A&&A<=SA.LOWER_Z||Ta(A)}function E0(A){return A===SA.EQUALS||p0(A)}var LA;(function(A){A[A.EntityStart=0]="EntityStart",A[A.NumericStart=1]="NumericStart",A[A.NumericDecimal=2]="NumericDecimal",A[A.NumericHex=3]="NumericHex",A[A.NamedEntity=4]="NamedEntity"})(LA||(LA={}));var oe;(function(A){A[A.Legacy=0]="Legacy",A[A.Strict=1]="Strict",A[A.Attribute=2]="Attribute"})(oe||(oe={}));class Ua{constructor(e,t,r){this.decodeTree=e,this.emitCodePoint=t,this.errors=r,this.state=LA.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=oe.Strict}startEntity(e){this.decodeMode=e,this.state=LA.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case LA.EntityStart:return e.charCodeAt(t)===SA.NUM?(this.state=LA.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=LA.NamedEntity,this.stateNamedEntity(e,t));case LA.NumericStart:return this.stateNumericStart(e,t);case LA.NumericDecimal:return this.stateNumericDecimal(e,t);case LA.NumericHex:return this.stateNumericHex(e,t);case LA.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|B0)===SA.LOWER_X?(this.state=LA.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=LA.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,r,n){if(t!==r){const a=r-t;this.result=this.result*Math.pow(n,a)+parseInt(e.substr(t,a),n),this.consumed+=a}}stateNumericHex(e,t){const r=t;for(;t<e.length;){const n=e.charCodeAt(t);if(Ta(n)||g0(n))t+=1;else return this.addToNumericResult(e,r,t,16),this.emitNumericEntity(n,3)}return this.addToNumericResult(e,r,t,16),-1}stateNumericDecimal(e,t){const r=t;for(;t<e.length;){const n=e.charCodeAt(t);if(Ta(n))t+=1;else return this.addToNumericResult(e,r,t,10),this.emitNumericEntity(n,2)}return this.addToNumericResult(e,r,t,10),-1}emitNumericEntity(e,t){var r;if(this.consumed<=t)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===SA.SEMI)this.consumed+=1;else if(this.decodeMode===oe.Strict)return 0;return this.emitCodePoint(h0(this.result),this.consumed),this.errors&&(e!==SA.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:r}=this;let n=r[this.treeIndex],a=(n&Re.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){const i=e.charCodeAt(t);if(this.treeIndex=m0(r,n,this.treeIndex+Math.max(1,a),i),this.treeIndex<0)return this.result===0||this.decodeMode===oe.Attribute&&(a===0||E0(i))?0:this.emitNotTerminatedNamedEntity();if(n=r[this.treeIndex],a=(n&Re.VALUE_LENGTH)>>14,a!==0){if(i===SA.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==oe.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:r}=this,n=(r[t]&Re.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,n,this.consumed),(e=this.errors)===null||e===void 0||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,r){const{decodeTree:n}=this;return this.emitCodePoint(t===1?n[e]&~Re.VALUE_LENGTH:n[e+1],r),t===3&&this.emitCodePoint(n[e+2],r),r}end(){var e;switch(this.state){case LA.NamedEntity:return this.result!==0&&(this.decodeMode!==oe.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case LA.NumericDecimal:return this.emitNumericEntity(0,2);case LA.NumericHex:return this.emitNumericEntity(0,3);case LA.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case LA.EntityStart:return 0}}}function Qs(A){let e="";const t=new Ua(A,r=>e+=ba(r));return function(n,a){let i=0,s=0;for(;(s=n.indexOf("&",s))>=0;){e+=n.slice(i,s),t.startEntity(a);const l=t.write(n,s+1);if(l<0){i=s+t.end();break}i=s+l,s=l===0?i+1:i}const u=e+n.slice(i);return e="",u}}function m0(A,e,t,r){const n=(e&Re.BRANCH_LENGTH)>>7,a=e&Re.JUMP_TABLE;if(n===0)return a!==0&&r===a?t:-1;if(a){const u=r-a;return u<0||u>=n?-1:A[t+u]-1}let i=t,s=i+n-1;for(;i<=s;){const u=i+s>>>1,l=A[u];if(l<r)i=u+1;else if(l>r)s=u-1;else return A[u+n]}return-1}Qs(Ca),Qs(Us);const Fs=/["&'<>$\x80-\uFFFF]/g,C0=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),w0=String.prototype.codePointAt!=null?(A,e)=>A.codePointAt(e):(A,e)=>(A.charCodeAt(e)&64512)===55296?(A.charCodeAt(e)-55296)*1024+A.charCodeAt(e+1)-56320+65536:A.charCodeAt(e);function Is(A){let e="",t=0,r;for(;(r=Fs.exec(A))!==null;){const n=r.index,a=A.charCodeAt(n),i=C0.get(a);i!==void 0?(e+=A.substring(t,n)+i,t=n+1):(e+=`${A.substring(t,n)}&#x${w0(A,n).toString(16)};`,t=Fs.lastIndex+=+((a&64512)===55296))}return e+A.substr(t)}function ys(A,e){return function(r){let n,a=0,i="";for(;n=A.exec(r);)a!==n.index&&(i+=r.substring(a,n.index)),i+=e.get(n[0].charCodeAt(0)),a=n.index+1;return i+r.substring(a)}}const xs=ys(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),vs=ys(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]])),b0=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(A=>[A.toLowerCase(),A])),T0=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(A=>[A.toLowerCase(),A])),U0=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function Q0(A){return A.replace(/"/g,"&quot;")}function F0(A,e){var t;if(!A)return;const r=((t=e.encodeEntities)!==null&&t!==void 0?t:e.decodeEntities)===!1?Q0:e.xmlMode||e.encodeEntities!=="utf8"?Is:xs;return Object.keys(A).map(n=>{var a,i;const s=(a=A[n])!==null&&a!==void 0?a:"";return e.xmlMode==="foreign"&&(n=(i=T0.get(n))!==null&&i!==void 0?i:n),!e.emptyAttrs&&!e.xmlMode&&s===""?n:`${n}="${r(s)}"`}).join(" ")}const _s=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function Kr(A,e={}){const t="length"in A?A:[A];let r="";for(let n=0;n<t.length;n++)r+=I0(t[n],e);return r}function I0(A,e){switch(A.type){case r0:return Kr(A.children,e);case l0:case a0:return _0(A);case i0:return L0(A);case c0:return S0(A);case s0:case o0:case u0:return v0(A,e);case n0:return N0(A,e)}}const y0=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),x0=new Set(["svg","math"]);function v0(A,e){var t;e.xmlMode==="foreign"&&(A.name=(t=b0.get(A.name))!==null&&t!==void 0?t:A.name,A.parent&&y0.has(A.parent.name)&&(e={...e,xmlMode:!1})),!e.xmlMode&&x0.has(A.name)&&(e={...e,xmlMode:"foreign"});let r=`<${A.name}`;const n=F0(A.attribs,e);return n&&(r+=` ${n}`),A.children.length===0&&(e.xmlMode?e.selfClosingTags!==!1:e.selfClosingTags&&_s.has(A.name))?(e.xmlMode||(r+=" "),r+="/>"):(r+=">",A.children.length>0&&(r+=Kr(A.children,e)),(e.xmlMode||!_s.has(A.name))&&(r+=`</${A.name}>`)),r}function _0(A){return`<${A.data}>`}function N0(A,e){var t;let r=A.data||"";return((t=e.encodeEntities)!==null&&t!==void 0?t:e.decodeEntities)!==!1&&!(!e.xmlMode&&A.parent&&U0.has(A.parent.name))&&(r=e.xmlMode||e.encodeEntities!=="utf8"?Is(r):vs(r)),r}function S0(A){return`<![CDATA[${A.children[0].data}]]>`}function L0(A){return`<!--${A.data}-->`}function Ns(A,e){return Kr(A,e)}function H0(A,e){return NA(A)?A.children.map(t=>Ns(t,e)).join(""):""}function Vr(A){return Array.isArray(A)?A.map(Vr).join(""):W(A)?A.name==="br"?`
2
- `:Vr(A.children):kr(A)?Vr(A.children):we(A)?A.data:""}function Et(A){return Array.isArray(A)?A.map(Et).join(""):NA(A)&&!Pr(A)?Et(A.children):we(A)?A.data:""}function Gr(A){return Array.isArray(A)?A.map(Gr).join(""):NA(A)&&(A.type===sA.Tag||kr(A))?Gr(A.children):we(A)?A.data:""}function Yr(A){return NA(A)?A.children:[]}function Ss(A){return A.parent||null}function Ls(A){const e=Ss(A);if(e!=null)return Yr(e);const t=[A];let{prev:r,next:n}=A;for(;r!=null;)t.unshift(r),{prev:r}=r;for(;n!=null;)t.push(n),{next:n}=n;return t}function D0(A,e){var t;return(t=A.attribs)===null||t===void 0?void 0:t[e]}function O0(A,e){return A.attribs!=null&&Object.prototype.hasOwnProperty.call(A.attribs,e)&&A.attribs[e]!=null}function R0(A){return A.name}function Qa(A){let{next:e}=A;for(;e!==null&&!W(e);)({next:e}=e);return e}function Fa(A){let{prev:e}=A;for(;e!==null&&!W(e);)({prev:e}=e);return e}function rt(A){if(A.prev&&(A.prev.next=A.next),A.next&&(A.next.prev=A.prev),A.parent){const e=A.parent.children,t=e.lastIndexOf(A);t>=0&&e.splice(t,1)}A.next=null,A.prev=null,A.parent=null}function M0(A,e){const t=e.prev=A.prev;t&&(t.next=e);const r=e.next=A.next;r&&(r.prev=e);const n=e.parent=A.parent;if(n){const a=n.children;a[a.lastIndexOf(A)]=e,A.parent=null}}function k0(A,e){if(rt(e),e.next=null,e.parent=A,A.children.push(e)>1){const t=A.children[A.children.length-2];t.next=e,e.prev=t}else e.prev=null}function P0(A,e){rt(e);const{parent:t}=A,r=A.next;if(e.next=r,e.prev=A,A.next=e,e.parent=t,r){if(r.prev=e,t){const n=t.children;n.splice(n.lastIndexOf(r),0,e)}}else t&&t.children.push(e)}function K0(A,e){if(rt(e),e.parent=A,e.prev=null,A.children.unshift(e)!==1){const t=A.children[1];t.prev=e,e.next=t}else e.next=null}function V0(A,e){rt(e);const{parent:t}=A;if(t){const r=t.children;r.splice(r.indexOf(A),0,e)}A.prev&&(A.prev.next=e),e.parent=t,e.prev=A.prev,e.next=A,A.prev=e}function Xr(A,e,t=!0,r=1/0){return Ia(A,Array.isArray(e)?e:[e],t,r)}function Ia(A,e,t,r){const n=[],a=[e],i=[0];for(;;){if(i[0]>=a[0].length){if(i.length===1)return n;a.shift(),i.shift();continue}const s=a[0][i[0]++];if(A(s)&&(n.push(s),--r<=0))return n;t&&NA(s)&&s.children.length>0&&(i.unshift(0),a.unshift(s.children))}}function G0(A,e){return e.find(A)}function ya(A,e,t=!0){let r=null;for(let n=0;n<e.length&&!r;n++){const a=e[n];if(W(a))A(a)?r=a:t&&a.children.length>0&&(r=ya(A,a.children,!0));else continue}return r}function Hs(A,e){return e.some(t=>W(t)&&(A(t)||Hs(A,t.children)))}function Y0(A,e){const t=[],r=[e],n=[0];for(;;){if(n[0]>=r[0].length){if(r.length===1)return t;r.shift(),n.shift();continue}const a=r[0][n[0]++];W(a)&&(A(a)&&t.push(a),a.children.length>0&&(n.unshift(0),r.unshift(a.children)))}}const Wr={tag_name(A){return typeof A=="function"?e=>W(e)&&A(e.name):A==="*"?W:e=>W(e)&&e.name===A},tag_type(A){return typeof A=="function"?e=>A(e.type):e=>e.type===A},tag_contains(A){return typeof A=="function"?e=>we(e)&&A(e.data):e=>we(e)&&e.data===A}};function Ds(A,e){return typeof e=="function"?t=>W(t)&&e(t.attribs[A]):t=>W(t)&&t.attribs[A]===e}function X0(A,e){return t=>A(t)||e(t)}function Os(A){const e=Object.keys(A).map(t=>{const r=A[t];return Object.prototype.hasOwnProperty.call(Wr,t)?Wr[t](r):Ds(t,r)});return e.length===0?null:e.reduce(X0)}function W0(A,e){const t=Os(A);return t?t(e):!0}function J0(A,e,t,r=1/0){const n=Os(A);return n?Xr(n,e,t,r):[]}function q0(A,e,t=!0){return Array.isArray(e)||(e=[e]),ya(Ds("id",A),e,t)}function mt(A,e,t=!0,r=1/0){return Xr(Wr.tag_name(A),e,t,r)}function j0(A,e,t=!0,r=1/0){return Xr(Wr.tag_type(A),e,t,r)}function z0(A){let e=A.length;for(;--e>=0;){const t=A[e];if(e>0&&A.lastIndexOf(t,e-1)>=0){A.splice(e,1);continue}for(let r=t.parent;r;r=r.parent)if(A.includes(r)){A.splice(e,1);break}}return A}var ue;(function(A){A[A.DISCONNECTED=1]="DISCONNECTED",A[A.PRECEDING=2]="PRECEDING",A[A.FOLLOWING=4]="FOLLOWING",A[A.CONTAINS=8]="CONTAINS",A[A.CONTAINED_BY=16]="CONTAINED_BY"})(ue||(ue={}));function Rs(A,e){const t=[],r=[];if(A===e)return 0;let n=NA(A)?A:A.parent;for(;n;)t.unshift(n),n=n.parent;for(n=NA(e)?e:e.parent;n;)r.unshift(n),n=n.parent;const a=Math.min(t.length,r.length);let i=0;for(;i<a&&t[i]===r[i];)i++;if(i===0)return ue.DISCONNECTED;const s=t[i-1],u=s.children,l=t[i],d=r[i];return u.indexOf(l)>u.indexOf(d)?s===e?ue.FOLLOWING|ue.CONTAINED_BY:ue.FOLLOWING:s===A?ue.PRECEDING|ue.CONTAINS:ue.PRECEDING}function Ct(A){return A=A.filter((e,t,r)=>!r.includes(e,t+1)),A.sort((e,t)=>{const r=Rs(e,t);return r&ue.PRECEDING?-1:r&ue.FOLLOWING?1:0}),A}function $0(A){const e=Jr(rd,A);return e?e.name==="feed"?Z0(e):Ad(e):null}function Z0(A){var e;const t=A.children,r={type:"atom",items:mt("entry",t).map(i=>{var s;const{children:u}=i,l={media:Ms(u)};ZA(l,"id","id",u),ZA(l,"title","title",u);const d=(s=Jr("link",u))===null||s===void 0?void 0:s.attribs.href;d&&(l.link=d);const f=Me("summary",u)||Me("content",u);f&&(l.description=f);const h=Me("updated",u);return h&&(l.pubDate=new Date(h)),l})};ZA(r,"id","id",t),ZA(r,"title","title",t);const n=(e=Jr("link",t))===null||e===void 0?void 0:e.attribs.href;n&&(r.link=n),ZA(r,"description","subtitle",t);const a=Me("updated",t);return a&&(r.updated=new Date(a)),ZA(r,"author","email",t,!0),r}function Ad(A){var e,t;const r=(t=(e=Jr("channel",A.children))===null||e===void 0?void 0:e.children)!==null&&t!==void 0?t:[],n={type:A.name.substr(0,3),id:"",items:mt("item",A.children).map(i=>{const{children:s}=i,u={media:Ms(s)};ZA(u,"id","guid",s),ZA(u,"title","title",s),ZA(u,"link","link",s),ZA(u,"description","description",s);const l=Me("pubDate",s)||Me("dc:date",s);return l&&(u.pubDate=new Date(l)),u})};ZA(n,"title","title",r),ZA(n,"link","link",r),ZA(n,"description","description",r);const a=Me("lastBuildDate",r);return a&&(n.updated=new Date(a)),ZA(n,"author","managingEditor",r,!0),n}const ed=["url","type","lang"],td=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function Ms(A){return mt("media:content",A).map(e=>{const{attribs:t}=e,r={medium:t.medium,isDefault:!!t.isDefault};for(const n of ed)t[n]&&(r[n]=t[n]);for(const n of td)t[n]&&(r[n]=parseInt(t[n],10));return t.expression&&(r.expression=t.expression),r})}function Jr(A,e){return mt(A,e,!0,1)[0]}function Me(A,e,t=!1){return Et(mt(A,e,t,1)).trim()}function ZA(A,e,t,r,n=!1){const a=Me(t,r,n);a&&(A[e]=a)}function rd(A){return A==="rss"||A==="feed"||A==="rdf:RDF"}const qr=Object.freeze(Object.defineProperty({__proto__:null,get DocumentPosition(){return ue},append:P0,appendChild:k0,compareDocumentPosition:Rs,existsOne:Hs,filter:Xr,find:Ia,findAll:Y0,findOne:ya,findOneChild:G0,getAttributeValue:D0,getChildren:Yr,getElementById:q0,getElements:J0,getElementsByTagName:mt,getElementsByTagType:j0,getFeed:$0,getInnerHTML:H0,getName:R0,getOuterHTML:Ns,getParent:Ss,getSiblings:Ls,getText:Vr,hasAttrib:O0,hasChildren:NA,innerText:Gr,isCDATA:kr,isComment:Pr,isDocument:Oe,isTag:W,isText:we,nextElementSibling:Qa,prepend:V0,prependChild:K0,prevElementSibling:Fa,removeElement:rt,removeSubsets:z0,replaceElement:M0,testElement:W0,textContent:Et,uniqueSort:Ct},Symbol.toStringTag,{value:"Module"})),nd={_useHtmlParser2:!1};function xa(A,e){if(!A)return e??nd;const t={_useHtmlParser2:!!A.xmlMode,...e,...A};return A.xml?(t._useHtmlParser2=!0,t.xmlMode=!0,A.xml!==!0&&Object.assign(t,A.xml)):A.xmlMode&&(t._useHtmlParser2=!0),t}function ks(A,e,t){return A?A(e??A._root.children,null,void 0,t).toString():""}function ad(A,e){return typeof A=="object"&&A!=null&&!("length"in A)&&!("type"in A)}function id(A,e){const t=ad(A)?(e=A,void 0):A,r={...this===null||this===void 0?void 0:this._options,...xa(e)};return ks(this,t,r)}function sd(A){const e={...this._options,xmlMode:!0};return ks(this,A,e)}function Wt(A){const e=A??(this?this.root():[]);let t="";for(let r=0;r<e.length;r++)t+=Et(e[r]);return t}function od(A,e,t=typeof e=="boolean"?e:!1){if(!A||typeof A!="string")return null;typeof e=="boolean"&&(t=e);const r=this.load(A,this._options,!1);return t||r("script").remove(),[...r.root()[0].children]}function ud(){return this(this._root)}function Ps(A,e){if(e===A)return!1;let t=e;for(;t&&t!==t.parent;)if(t=t.parent,t===A)return!0;return!1}function cd(A){return this.root().extract(A)}function ld(A,e){if(!Ks(A)||!Ks(e))return;let t=A.length;const r=+e.length;for(let n=0;n<r;n++)A[t++]=e[n];return A.length=t,A}function Ks(A){if(Array.isArray(A))return!0;if(typeof A!="object"||A===null||!("length"in A)||typeof A.length!="number"||A.length<0)return!1;for(let e=0;e<A.length;e++)if(!(e in A))return!1;return!0}const dd=Object.freeze(Object.defineProperty({__proto__:null,contains:Ps,extract:cd,html:id,merge:ld,parseHTML:od,root:ud,text:Wt,xml:sd},Symbol.toStringTag,{value:"Module"}));function xe(A){return A.cheerio!=null}function fd(A){return A.replace(/[._-](\w|$)/g,(e,t)=>t.toUpperCase())}function hd(A){return A.replace(/[A-Z]/g,"-$&").toLowerCase()}function bA(A,e){const t=A.length;for(let r=0;r<t;r++)e(A[r],r);return A}var nt;(function(A){A[A.LowerA=97]="LowerA",A[A.LowerZ=122]="LowerZ",A[A.UpperA=65]="UpperA",A[A.UpperZ=90]="UpperZ",A[A.Exclamation=33]="Exclamation"})(nt||(nt={}));function va(A){const e=A.indexOf("<");if(e<0||e>A.length-3)return!1;const t=A.charCodeAt(e+1);return(t>=nt.LowerA&&t<=nt.LowerZ||t>=nt.UpperA&&t<=nt.UpperZ||t===nt.Exclamation)&&A.includes(">",e+2)}const Jt=Object.prototype.hasOwnProperty,qt=/\s+/,_a="data-",Na=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,Bd=/^{[^]*}$|^\[[^]*]$/;function jr(A,e,t){var r;if(!(!A||!W(A))){if((r=A.attribs)!==null&&r!==void 0||(A.attribs={}),!e)return A.attribs;if(Jt.call(A.attribs,e))return!t&&Na.test(e)?e:A.attribs[e];if(A.name==="option"&&e==="value")return Wt(A.children);if(A.name==="input"&&(A.attribs.type==="radio"||A.attribs.type==="checkbox")&&e==="value")return"on"}}function wt(A,e,t){t===null?Xs(A,e):A.attribs[e]=`${t}`}function gd(A,e){if(typeof A=="object"||e!==void 0){if(typeof e=="function"){if(typeof A!="string")throw new Error("Bad combination of arguments.");return bA(this,(t,r)=>{W(t)&&wt(t,A,e.call(t,r,t.attribs[A]))})}return bA(this,t=>{if(W(t))if(typeof A=="object")for(const r of Object.keys(A)){const n=A[r];wt(t,r,n)}else wt(t,A,e)})}return arguments.length>1?this:jr(this[0],A,this.options.xmlMode)}function Vs(A,e,t){return e in A?A[e]:!t&&Na.test(e)?jr(A,e,!1)!==void 0:jr(A,e,t)}function Sa(A,e,t,r){e in A?A[e]=t:wt(A,e,!r&&Na.test(e)?t?"":null:`${t}`)}function pd(A,e){var t;if(typeof A=="string"&&e===void 0){const r=this[0];if(!r||!W(r))return;switch(A){case"style":{const n=this.css(),a=Object.keys(n);for(let i=0;i<a.length;i++)n[i]=a[i];return n.length=a.length,n}case"tagName":case"nodeName":return r.name.toUpperCase();case"href":case"src":{const n=(t=r.attribs)===null||t===void 0?void 0:t[A];return typeof URL<"u"&&(A==="href"&&(r.tagName==="a"||r.tagName==="link")||A==="src"&&(r.tagName==="img"||r.tagName==="iframe"||r.tagName==="audio"||r.tagName==="video"||r.tagName==="source"))&&n!==void 0&&this.options.baseURI?new URL(n,this.options.baseURI).href:n}case"innerText":return Gr(r);case"textContent":return Et(r);case"outerHTML":return this.clone().wrap("<container />").parent().html();case"innerHTML":return this.html();default:return Vs(r,A,this.options.xmlMode)}}if(typeof A=="object"||e!==void 0){if(typeof e=="function"){if(typeof A=="object")throw new TypeError("Bad combination of arguments.");return bA(this,(r,n)=>{W(r)&&Sa(r,A,e.call(r,n,Vs(r,A,this.options.xmlMode)),this.options.xmlMode)})}return bA(this,r=>{if(W(r))if(typeof A=="object")for(const n of Object.keys(A)){const a=A[n];Sa(r,n,a,this.options.xmlMode)}else Sa(r,A,e,this.options.xmlMode)})}}function Gs(A,e,t){var r;(r=A.data)!==null&&r!==void 0||(A.data={}),typeof e=="object"?Object.assign(A.data,e):typeof e=="string"&&t!==void 0&&(A.data[e]=t)}function Ed(A){for(const e of Object.keys(A.attribs)){if(!e.startsWith(_a))continue;const t=fd(e.slice(_a.length));Jt.call(A.data,t)||(A.data[t]=Ys(A.attribs[e]))}return A.data}function md(A,e){const t=_a+hd(e),r=A.data;if(Jt.call(r,e))return r[e];if(Jt.call(A.attribs,t))return r[e]=Ys(A.attribs[t])}function Ys(A){if(A==="null")return null;if(A==="true")return!0;if(A==="false")return!1;const e=Number(A);if(A===String(e))return e;if(Bd.test(A))try{return JSON.parse(A)}catch{}return A}function Cd(A,e){var t;const r=this[0];if(!r||!W(r))return;const n=r;return(t=n.data)!==null&&t!==void 0||(n.data={}),A==null?Ed(n):typeof A=="object"||e!==void 0?(bA(this,a=>{W(a)&&(typeof A=="object"?Gs(a,A):Gs(a,A,e))}),this):md(n,A)}function wd(A){const e=arguments.length===0,t=this[0];if(!t||!W(t))return e?void 0:this;switch(t.name){case"textarea":return this.text(A);case"select":{const r=this.find("option:selected");if(!e){if(this.attr("multiple")==null&&typeof A=="object")return this;this.find("option").removeAttr("selected");const n=typeof A=="object"?A:[A];for(const a of n)this.find(`option[value="${a}"]`).attr("selected","");return this}return this.attr("multiple")?r.toArray().map(n=>Wt(n.children)):r.attr("value")}case"input":case"option":return e?this.attr("value"):this.attr("value",A)}}function Xs(A,e){!A.attribs||!Jt.call(A.attribs,e)||delete A.attribs[e]}function zr(A){return A?A.trim().split(qt):[]}function bd(A){const e=zr(A);for(const t of e)bA(this,r=>{W(r)&&Xs(r,t)});return this}function Td(A){return this.toArray().some(e=>{const t=W(e)&&e.attribs.class;let r=-1;if(t&&A.length>0)for(;(r=t.indexOf(A,r+1))>-1;){const n=r+A.length;if((r===0||qt.test(t[r-1]))&&(n===t.length||qt.test(t[n])))return!0}return!1})}function Ws(A){if(typeof A=="function")return bA(this,(r,n)=>{if(W(r)){const a=r.attribs.class||"";Ws.call([r],A.call(r,n,a))}});if(!A||typeof A!="string")return this;const e=A.split(qt),t=this.length;for(let r=0;r<t;r++){const n=this[r];if(!W(n))continue;const a=jr(n,"class",!1);if(a){let i=` ${a} `;for(const s of e){const u=`${s} `;i.includes(` ${u}`)||(i+=u)}wt(n,"class",i.trim())}else wt(n,"class",e.join(" ").trim())}return this}function Js(A){if(typeof A=="function")return bA(this,(n,a)=>{W(n)&&Js.call([n],A.call(n,a,n.attribs.class||""))});const e=zr(A),t=e.length,r=arguments.length===0;return bA(this,n=>{if(W(n))if(r)n.attribs.class="";else{const a=zr(n.attribs.class);let i=!1;for(let s=0;s<t;s++){const u=a.indexOf(e[s]);u>=0&&(a.splice(u,1),i=!0,s--)}i&&(n.attribs.class=a.join(" "))}})}function qs(A,e){if(typeof A=="function")return bA(this,(i,s)=>{W(i)&&qs.call([i],A.call(i,s,i.attribs.class||"",e),e)});if(!A||typeof A!="string")return this;const t=A.split(qt),r=t.length,n=typeof e=="boolean"?e?1:-1:0,a=this.length;for(let i=0;i<a;i++){const s=this[i];if(!W(s))continue;const u=zr(s.attribs.class);for(let l=0;l<r;l++){const d=u.indexOf(t[l]);n>=0&&d<0?u.push(t[l]):n<=0&&d>=0&&u.splice(d,1)}s.attribs.class=u.join(" ")}return this}const Ud=Object.freeze(Object.defineProperty({__proto__:null,addClass:Ws,attr:gd,data:Cd,hasClass:Td,prop:pd,removeAttr:bd,removeClass:Js,toggleClass:qs,val:wd},Symbol.toStringTag,{value:"Module"}));var Y;(function(A){A.Attribute="attribute",A.Pseudo="pseudo",A.PseudoElement="pseudo-element",A.Tag="tag",A.Universal="universal",A.Adjacent="adjacent",A.Child="child",A.Descendant="descendant",A.Parent="parent",A.Sibling="sibling",A.ColumnCombinator="column-combinator"})(Y||(Y={}));var yA;(function(A){A.Any="any",A.Element="element",A.End="end",A.Equals="equals",A.Exists="exists",A.Hyphen="hyphen",A.Not="not",A.Start="start"})(yA||(yA={}));const js=/^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/,Qd=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,Fd=new Map([[126,yA.Element],[94,yA.Start],[36,yA.End],[42,yA.Any],[33,yA.Not],[124,yA.Hyphen]]),Id=new Set(["has","not","matches","is","where","host","host-context"]);function jt(A){switch(A.type){case Y.Adjacent:case Y.Child:case Y.Descendant:case Y.Parent:case Y.Sibling:case Y.ColumnCombinator:return!0;default:return!1}}const yd=new Set(["contains","icontains"]);function xd(A,e,t){const r=parseInt(e,16)-65536;return r!==r||t?e:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,r&1023|56320)}function zt(A){return A.replace(Qd,xd)}function La(A){return A===39||A===34}function zs(A){return A===32||A===9||A===10||A===12||A===13}function $r(A){const e=[],t=$s(e,`${A}`,0);if(t<A.length)throw new Error(`Unmatched selector: ${A.slice(t)}`);return e}function $s(A,e,t){let r=[];function n(h){const C=e.slice(t+h).match(js);if(!C)throw new Error(`Expected name, found ${e.slice(t)}`);const[m]=C;return t+=h+m.length,zt(m)}function a(h){for(t+=h;t<e.length&&zs(e.charCodeAt(t));)t++}function i(){t+=1;const h=t;let C=1;for(;C>0&&t<e.length;t++)e.charCodeAt(t)===40&&!s(t)?C++:e.charCodeAt(t)===41&&!s(t)&&C--;if(C)throw new Error("Parenthesis not matched");return zt(e.slice(h,t-1))}function s(h){let C=0;for(;e.charCodeAt(--h)===92;)C++;return(C&1)===1}function u(){if(r.length>0&&jt(r[r.length-1]))throw new Error("Did not expect successive traversals.")}function l(h){if(r.length>0&&r[r.length-1].type===Y.Descendant){r[r.length-1].type=h;return}u(),r.push({type:h})}function d(h,C){r.push({type:Y.Attribute,name:h,action:C,value:n(1),namespace:null,ignoreCase:"quirks"})}function f(){if(r.length&&r[r.length-1].type===Y.Descendant&&r.pop(),r.length===0)throw new Error("Empty sub-selector");A.push(r)}if(a(0),e.length===t)return t;A:for(;t<e.length;){const h=e.charCodeAt(t);switch(h){case 32:case 9:case 10:case 12:case 13:{(r.length===0||r[0].type!==Y.Descendant)&&(u(),r.push({type:Y.Descendant})),a(1);break}case 62:{l(Y.Child),a(1);break}case 60:{l(Y.Parent),a(1);break}case 126:{l(Y.Sibling),a(1);break}case 43:{l(Y.Adjacent),a(1);break}case 46:{d("class",yA.Element);break}case 35:{d("id",yA.Equals);break}case 91:{a(1);let C,m=null;e.charCodeAt(t)===124?C=n(1):e.startsWith("*|",t)?(m="*",C=n(2)):(C=n(0),e.charCodeAt(t)===124&&e.charCodeAt(t+1)!==61&&(m=C,C=n(1))),a(0);let T=yA.Exists;const v=Fd.get(e.charCodeAt(t));if(v){if(T=v,e.charCodeAt(t+1)!==61)throw new Error("Expected `=`");a(2)}else e.charCodeAt(t)===61&&(T=yA.Equals,a(1));let b="",x=null;if(T!=="exists"){if(La(e.charCodeAt(t))){const O=e.charCodeAt(t);let E=t+1;for(;E<e.length&&(e.charCodeAt(E)!==O||s(E));)E+=1;if(e.charCodeAt(E)!==O)throw new Error("Attribute value didn't end");b=zt(e.slice(t+1,E)),t=E+1}else{const O=t;for(;t<e.length&&(!zs(e.charCodeAt(t))&&e.charCodeAt(t)!==93||s(t));)t+=1;b=zt(e.slice(O,t))}a(0);const R=e.charCodeAt(t)|32;R===115?(x=!1,a(1)):R===105&&(x=!0,a(1))}if(e.charCodeAt(t)!==93)throw new Error("Attribute selector didn't terminate");t+=1;const D={type:Y.Attribute,name:C,action:T,value:b,namespace:m,ignoreCase:x};r.push(D);break}case 58:{if(e.charCodeAt(t+1)===58){r.push({type:Y.PseudoElement,name:n(2).toLowerCase(),data:e.charCodeAt(t)===40?i():null});continue}const C=n(1).toLowerCase();let m=null;if(e.charCodeAt(t)===40)if(Id.has(C)){if(La(e.charCodeAt(t+1)))throw new Error(`Pseudo-selector ${C} cannot be quoted`);if(m=[],t=$s(m,e,t+1),e.charCodeAt(t)!==41)throw new Error(`Missing closing parenthesis in :${C} (${e})`);t+=1}else{if(m=i(),yd.has(C)){const T=m.charCodeAt(0);T===m.charCodeAt(m.length-1)&&La(T)&&(m=m.slice(1,-1))}m=zt(m)}r.push({type:Y.Pseudo,name:C,data:m});break}case 44:{f(),r=[],a(1);break}default:{if(e.startsWith("/*",t)){const T=e.indexOf("*/",t+2);if(T<0)throw new Error("Comment was not terminated");t=T+2,r.length===0&&a(0);break}let C=null,m;if(h===42)t+=1,m="*";else if(h===124){if(m="",e.charCodeAt(t+1)===124){l(Y.ColumnCombinator),a(2);break}}else if(js.test(e.slice(t)))m=n(0);else break A;e.charCodeAt(t)===124&&e.charCodeAt(t+1)!==124&&(C=m,e.charCodeAt(t+1)===42?(m="*",t+=2):m=n(1)),r.push(m==="*"?{type:Y.Universal,namespace:C}:{type:Y.Tag,name:m,namespace:C})}}}return f(),t}function vd(A){return A&&A.__esModule&&Object.prototype.hasOwnProperty.call(A,"default")?A.default:A}var Zr={trueFunc:function(){return!0},falseFunc:function(){return!1}};const AA=vd(Zr),Zs=new Map([[Y.Universal,50],[Y.Tag,30],[Y.Attribute,1],[Y.Pseudo,0]]);function Ha(A){return!Zs.has(A.type)}const _d=new Map([[yA.Exists,10],[yA.Equals,8],[yA.Not,7],[yA.Start,6],[yA.End,6],[yA.Any,5]]);function Nd(A){const e=A.map(Ao);for(let t=1;t<A.length;t++){const r=e[t];if(!(r<0))for(let n=t-1;n>=0&&r<e[n];n--){const a=A[n+1];A[n+1]=A[n],A[n]=a,e[n+1]=e[n],e[n]=r}}}function Ao(A){var e,t;let r=(e=Zs.get(A.type))!==null&&e!==void 0?e:-1;return A.type===Y.Attribute?(r=(t=_d.get(A.action))!==null&&t!==void 0?t:4,A.action===yA.Equals&&A.name==="id"&&(r=9),A.ignoreCase&&(r>>=1)):A.type===Y.Pseudo&&(A.data?A.name==="has"||A.name==="contains"?r=0:Array.isArray(A.data)?(r=Math.min(...A.data.map(n=>Math.min(...n.map(Ao)))),r<0&&(r=0)):r=2:r=3),r}const Sd=/[-[\]{}()*+?.,\\^$|#\s]/g;function eo(A){return A.replace(Sd,"\\$&")}const Ld=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function at(A,e){return typeof A.ignoreCase=="boolean"?A.ignoreCase:A.ignoreCase==="quirks"?!!e.quirksMode:!e.xmlMode&&Ld.has(A.name)}const Hd={equals(A,e,t){const{adapter:r}=t,{name:n}=e;let{value:a}=e;return at(e,t)?(a=a.toLowerCase(),i=>{const s=r.getAttributeValue(i,n);return s!=null&&s.length===a.length&&s.toLowerCase()===a&&A(i)}):i=>r.getAttributeValue(i,n)===a&&A(i)},hyphen(A,e,t){const{adapter:r}=t,{name:n}=e;let{value:a}=e;const i=a.length;return at(e,t)?(a=a.toLowerCase(),function(u){const l=r.getAttributeValue(u,n);return l!=null&&(l.length===i||l.charAt(i)==="-")&&l.substr(0,i).toLowerCase()===a&&A(u)}):function(u){const l=r.getAttributeValue(u,n);return l!=null&&(l.length===i||l.charAt(i)==="-")&&l.substr(0,i)===a&&A(u)}},element(A,e,t){const{adapter:r}=t,{name:n,value:a}=e;if(/\s/.test(a))return AA.falseFunc;const i=new RegExp(`(?:^|\\s)${eo(a)}(?:$|\\s)`,at(e,t)?"i":"");return function(u){const l=r.getAttributeValue(u,n);return l!=null&&l.length>=a.length&&i.test(l)&&A(u)}},exists(A,{name:e},{adapter:t}){return r=>t.hasAttrib(r,e)&&A(r)},start(A,e,t){const{adapter:r}=t,{name:n}=e;let{value:a}=e;const i=a.length;return i===0?AA.falseFunc:at(e,t)?(a=a.toLowerCase(),s=>{const u=r.getAttributeValue(s,n);return u!=null&&u.length>=i&&u.substr(0,i).toLowerCase()===a&&A(s)}):s=>{var u;return!!(!((u=r.getAttributeValue(s,n))===null||u===void 0)&&u.startsWith(a))&&A(s)}},end(A,e,t){const{adapter:r}=t,{name:n}=e;let{value:a}=e;const i=-a.length;return i===0?AA.falseFunc:at(e,t)?(a=a.toLowerCase(),s=>{var u;return((u=r.getAttributeValue(s,n))===null||u===void 0?void 0:u.substr(i).toLowerCase())===a&&A(s)}):s=>{var u;return!!(!((u=r.getAttributeValue(s,n))===null||u===void 0)&&u.endsWith(a))&&A(s)}},any(A,e,t){const{adapter:r}=t,{name:n,value:a}=e;if(a==="")return AA.falseFunc;if(at(e,t)){const i=new RegExp(eo(a),"i");return function(u){const l=r.getAttributeValue(u,n);return l!=null&&l.length>=a.length&&i.test(l)&&A(u)}}return i=>{var s;return!!(!((s=r.getAttributeValue(i,n))===null||s===void 0)&&s.includes(a))&&A(i)}},not(A,e,t){const{adapter:r}=t,{name:n}=e;let{value:a}=e;return a===""?i=>!!r.getAttributeValue(i,n)&&A(i):at(e,t)?(a=a.toLowerCase(),i=>{const s=r.getAttributeValue(i,n);return(s==null||s.length!==a.length||s.toLowerCase()!==a)&&A(i)}):i=>r.getAttributeValue(i,n)!==a&&A(i)}},Dd=new Set([9,10,12,13,32]),to=48,Od=57;function Rd(A){if(A=A.trim().toLowerCase(),A==="even")return[2,0];if(A==="odd")return[2,1];let e=0,t=0,r=a(),n=i();if(e<A.length&&A.charAt(e)==="n"&&(e++,t=r*(n??1),s(),e<A.length?(r=a(),s(),n=i()):r=n=0),n===null||e<A.length)throw new Error(`n-th rule couldn't be parsed ('${A}')`);return[t,r*n];function a(){return A.charAt(e)==="-"?(e++,-1):(A.charAt(e)==="+"&&e++,1)}function i(){const u=e;let l=0;for(;e<A.length&&A.charCodeAt(e)>=to&&A.charCodeAt(e)<=Od;)l=l*10+(A.charCodeAt(e)-to),e++;return e===u?null:l}function s(){for(;e<A.length&&Dd.has(A.charCodeAt(e));)e++}}function Md(A){const e=A[0],t=A[1]-1;if(t<0&&e<=0)return AA.falseFunc;if(e===-1)return a=>a<=t;if(e===0)return a=>a===t;if(e===1)return t<0?AA.trueFunc:a=>a>=t;const r=Math.abs(e),n=(t%r+r)%r;return e>1?a=>a>=t&&a%r===n:a=>a<=t&&a%r===n}function An(A){return Md(Rd(A))}function en(A,e){return t=>{const r=e.getParent(t);return r!=null&&e.isTag(r)&&A(t)}}const Da={contains(A,e,{adapter:t}){return function(n){return A(n)&&t.getText(n).includes(e)}},icontains(A,e,{adapter:t}){const r=e.toLowerCase();return function(a){return A(a)&&t.getText(a).toLowerCase().includes(r)}},"nth-child"(A,e,{adapter:t,equals:r}){const n=An(e);return n===AA.falseFunc?AA.falseFunc:n===AA.trueFunc?en(A,t):function(i){const s=t.getSiblings(i);let u=0;for(let l=0;l<s.length&&!r(i,s[l]);l++)t.isTag(s[l])&&u++;return n(u)&&A(i)}},"nth-last-child"(A,e,{adapter:t,equals:r}){const n=An(e);return n===AA.falseFunc?AA.falseFunc:n===AA.trueFunc?en(A,t):function(i){const s=t.getSiblings(i);let u=0;for(let l=s.length-1;l>=0&&!r(i,s[l]);l--)t.isTag(s[l])&&u++;return n(u)&&A(i)}},"nth-of-type"(A,e,{adapter:t,equals:r}){const n=An(e);return n===AA.falseFunc?AA.falseFunc:n===AA.trueFunc?en(A,t):function(i){const s=t.getSiblings(i);let u=0;for(let l=0;l<s.length;l++){const d=s[l];if(r(i,d))break;t.isTag(d)&&t.getName(d)===t.getName(i)&&u++}return n(u)&&A(i)}},"nth-last-of-type"(A,e,{adapter:t,equals:r}){const n=An(e);return n===AA.falseFunc?AA.falseFunc:n===AA.trueFunc?en(A,t):function(i){const s=t.getSiblings(i);let u=0;for(let l=s.length-1;l>=0;l--){const d=s[l];if(r(i,d))break;t.isTag(d)&&t.getName(d)===t.getName(i)&&u++}return n(u)&&A(i)}},root(A,e,{adapter:t}){return r=>{const n=t.getParent(r);return(n==null||!t.isTag(n))&&A(r)}},scope(A,e,t,r){const{equals:n}=t;return!r||r.length===0?Da.root(A,e,t):r.length===1?a=>n(r[0],a)&&A(a):a=>r.includes(a)&&A(a)},hover:Oa("isHovered"),visited:Oa("isVisited"),active:Oa("isActive")};function Oa(A){return function(t,r,{adapter:n}){const a=n[A];return typeof a!="function"?AA.falseFunc:function(s){return a(s)&&t(s)}}}const ro={empty(A,{adapter:e}){return!e.getChildren(A).some(t=>e.isTag(t)||e.getText(t)!=="")},"first-child"(A,{adapter:e,equals:t}){if(e.prevElementSibling)return e.prevElementSibling(A)==null;const r=e.getSiblings(A).find(n=>e.isTag(n));return r!=null&&t(A,r)},"last-child"(A,{adapter:e,equals:t}){const r=e.getSiblings(A);for(let n=r.length-1;n>=0;n--){if(t(A,r[n]))return!0;if(e.isTag(r[n]))break}return!1},"first-of-type"(A,{adapter:e,equals:t}){const r=e.getSiblings(A),n=e.getName(A);for(let a=0;a<r.length;a++){const i=r[a];if(t(A,i))return!0;if(e.isTag(i)&&e.getName(i)===n)break}return!1},"last-of-type"(A,{adapter:e,equals:t}){const r=e.getSiblings(A),n=e.getName(A);for(let a=r.length-1;a>=0;a--){const i=r[a];if(t(A,i))return!0;if(e.isTag(i)&&e.getName(i)===n)break}return!1},"only-of-type"(A,{adapter:e,equals:t}){const r=e.getName(A);return e.getSiblings(A).every(n=>t(A,n)||!e.isTag(n)||e.getName(n)!==r)},"only-child"(A,{adapter:e,equals:t}){return e.getSiblings(A).every(r=>t(A,r)||!e.isTag(r))}};function no(A,e,t,r){if(t===null){if(A.length>r)throw new Error(`Pseudo-class :${e} requires an argument`)}else if(A.length===r)throw new Error(`Pseudo-class :${e} doesn't have any arguments`)}const kd={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:`:is(
1
+ (function(De,c){typeof exports=="object"&&typeof module<"u"?c(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],c):(De=typeof globalThis<"u"?globalThis:De||self,c(De.GpWebModule={},De.Vue))})(this,function(De,c){"use strict";var aA;(function(A){A.Root="root",A.Text="text",A.Directive="directive",A.Comment="comment",A.Script="script",A.Style="style",A.Tag="tag",A.CDATA="cdata",A.Doctype="doctype"})(aA||(aA={}));function s0(A){return A.type===aA.Tag||A.type===aA.Script||A.type===aA.Style}const o0=aA.Root,u0=aA.Text,c0=aA.Directive,l0=aA.Comment,d0=aA.Script,f0=aA.Style,h0=aA.Tag,B0=aA.CDATA,g0=aA.Doctype;let Qs=class{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(e){this.parent=e}get previousSibling(){return this.prev}set previousSibling(e){this.prev=e}get nextSibling(){return this.next}set nextSibling(e){this.next=e}cloneNode(e=!1){return Jt(this,e)}};class ma extends Qs{constructor(e){super(),this.data=e}get nodeValue(){return this.data}set nodeValue(e){this.data=e}}class Wt extends ma{constructor(){super(...arguments),this.type=aA.Text}get nodeType(){return 3}}class Ea extends ma{constructor(){super(...arguments),this.type=aA.Comment}get nodeType(){return 8}}class Ca extends ma{constructor(e,t){super(t),this.name=e,this.type=aA.Directive}get nodeType(){return 1}}class wa extends Qs{constructor(e){super(),this.children=e}get firstChild(){var e;return(e=this.children[0])!==null&&e!==void 0?e:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(e){this.children=e}}class Fs extends wa{constructor(){super(...arguments),this.type=aA.CDATA}get nodeType(){return 4}}class rt extends wa{constructor(){super(...arguments),this.type=aA.Root}get nodeType(){return 9}}class ba extends wa{constructor(e,t,r=[],n=e==="script"?aA.Script:e==="style"?aA.Style:aA.Tag){super(r),this.name=e,this.attribs=t,this.type=n}get nodeType(){return 1}get tagName(){return this.name}set tagName(e){this.name=e}get attributes(){return Object.keys(this.attribs).map(e=>{var t,r;return{name:e,value:this.attribs[e],namespace:(t=this["x-attribsNamespace"])===null||t===void 0?void 0:t[e],prefix:(r=this["x-attribsPrefix"])===null||r===void 0?void 0:r[e]}})}}function W(A){return s0(A)}function Pr(A){return A.type===aA.CDATA}function we(A){return A.type===aA.Text}function Kr(A){return A.type===aA.Comment}function Ta(A){return A.type===aA.Directive}function Oe(A){return A.type===aA.Root}function NA(A){return Object.prototype.hasOwnProperty.call(A,"children")}function Jt(A,e=!1){let t;if(we(A))t=new Wt(A.data);else if(Kr(A))t=new Ea(A.data);else if(W(A)){const r=e?Ua(A.children):[],n=new ba(A.name,{...A.attribs},r);r.forEach(a=>a.parent=n),A.namespace!=null&&(n.namespace=A.namespace),A["x-attribsNamespace"]&&(n["x-attribsNamespace"]={...A["x-attribsNamespace"]}),A["x-attribsPrefix"]&&(n["x-attribsPrefix"]={...A["x-attribsPrefix"]}),t=n}else if(Pr(A)){const r=e?Ua(A.children):[],n=new Fs(r);r.forEach(a=>a.parent=n),t=n}else if(Oe(A)){const r=e?Ua(A.children):[],n=new rt(r);r.forEach(a=>a.parent=n),A["x-mode"]&&(n["x-mode"]=A["x-mode"]),t=n}else if(Ta(A)){const r=new Ca(A.name,A.data);A["x-name"]!=null&&(r["x-name"]=A["x-name"],r["x-publicId"]=A["x-publicId"],r["x-systemId"]=A["x-systemId"]),t=r}else throw new Error(`Not implemented yet: ${A.type}`);return t.startIndex=A.startIndex,t.endIndex=A.endIndex,A.sourceCodeLocation!=null&&(t.sourceCodeLocation=A.sourceCodeLocation),t}function Ua(A){const e=A.map(t=>Jt(t,!0));for(let t=1;t<e.length;t++)e[t].prev=e[t-1],e[t-1].next=e[t];return e}const Is={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};class p0{constructor(e,t,r){this.dom=[],this.root=new rt(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof t=="function"&&(r=t,t=Is),typeof e=="object"&&(t=e,e=void 0),this.callback=e??null,this.options=t??Is,this.elementCB=r??null}onparserinit(e){this.parser=e}onreset(){this.dom=[],this.root=new rt(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(e){this.handleCallback(e)}onclosetag(){this.lastNode=null;const e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)}onopentag(e,t){const r=this.options.xmlMode?aA.Tag:void 0,n=new ba(e,t,void 0,r);this.addNode(n),this.tagStack.push(n)}ontext(e){const{lastNode:t}=this;if(t&&t.type===aA.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{const r=new Wt(e);this.addNode(r),this.lastNode=r}}oncomment(e){if(this.lastNode&&this.lastNode.type===aA.Comment){this.lastNode.data+=e;return}const t=new Ea(e);this.addNode(t),this.lastNode=t}oncommentend(){this.lastNode=null}oncdatastart(){const e=new Wt(""),t=new Fs([e]);this.addNode(t),e.parent=t,this.lastNode=e}oncdataend(){this.lastNode=null}onprocessinginstruction(e,t){const r=new Ca(e,t);this.addNode(r)}handleCallback(e){if(typeof this.callback=="function")this.callback(e,this.dom);else if(e)throw e}addNode(e){const t=this.tagStack[this.tagStack.length-1],r=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),r&&(e.prev=r,r.next=e),e.parent=t,this.lastNode=null}}const Qa=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(A=>A.charCodeAt(0))),ys=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(A=>A.charCodeAt(0)));var Fa;const m0=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Ia=(Fa=String.fromCodePoint)!==null&&Fa!==void 0?Fa:function(A){let e="";return A>65535&&(A-=65536,e+=String.fromCharCode(A>>>10&1023|55296),A=56320|A&1023),e+=String.fromCharCode(A),e};function E0(A){var e;return A>=55296&&A<=57343||A>1114111?65533:(e=m0.get(A))!==null&&e!==void 0?e:A}var SA;(function(A){A[A.NUM=35]="NUM",A[A.SEMI=59]="SEMI",A[A.EQUALS=61]="EQUALS",A[A.ZERO=48]="ZERO",A[A.NINE=57]="NINE",A[A.LOWER_A=97]="LOWER_A",A[A.LOWER_F=102]="LOWER_F",A[A.LOWER_X=120]="LOWER_X",A[A.LOWER_Z=122]="LOWER_Z",A[A.UPPER_A=65]="UPPER_A",A[A.UPPER_F=70]="UPPER_F",A[A.UPPER_Z=90]="UPPER_Z"})(SA||(SA={}));const C0=32;var Re;(function(A){A[A.VALUE_LENGTH=49152]="VALUE_LENGTH",A[A.BRANCH_LENGTH=16256]="BRANCH_LENGTH",A[A.JUMP_TABLE=127]="JUMP_TABLE"})(Re||(Re={}));function ya(A){return A>=SA.ZERO&&A<=SA.NINE}function w0(A){return A>=SA.UPPER_A&&A<=SA.UPPER_F||A>=SA.LOWER_A&&A<=SA.LOWER_F}function b0(A){return A>=SA.UPPER_A&&A<=SA.UPPER_Z||A>=SA.LOWER_A&&A<=SA.LOWER_Z||ya(A)}function T0(A){return A===SA.EQUALS||b0(A)}var LA;(function(A){A[A.EntityStart=0]="EntityStart",A[A.NumericStart=1]="NumericStart",A[A.NumericDecimal=2]="NumericDecimal",A[A.NumericHex=3]="NumericHex",A[A.NamedEntity=4]="NamedEntity"})(LA||(LA={}));var ue;(function(A){A[A.Legacy=0]="Legacy",A[A.Strict=1]="Strict",A[A.Attribute=2]="Attribute"})(ue||(ue={}));class xa{constructor(e,t,r){this.decodeTree=e,this.emitCodePoint=t,this.errors=r,this.state=LA.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=ue.Strict}startEntity(e){this.decodeMode=e,this.state=LA.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case LA.EntityStart:return e.charCodeAt(t)===SA.NUM?(this.state=LA.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=LA.NamedEntity,this.stateNamedEntity(e,t));case LA.NumericStart:return this.stateNumericStart(e,t);case LA.NumericDecimal:return this.stateNumericDecimal(e,t);case LA.NumericHex:return this.stateNumericHex(e,t);case LA.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|C0)===SA.LOWER_X?(this.state=LA.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=LA.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,r,n){if(t!==r){const a=r-t;this.result=this.result*Math.pow(n,a)+parseInt(e.substr(t,a),n),this.consumed+=a}}stateNumericHex(e,t){const r=t;for(;t<e.length;){const n=e.charCodeAt(t);if(ya(n)||w0(n))t+=1;else return this.addToNumericResult(e,r,t,16),this.emitNumericEntity(n,3)}return this.addToNumericResult(e,r,t,16),-1}stateNumericDecimal(e,t){const r=t;for(;t<e.length;){const n=e.charCodeAt(t);if(ya(n))t+=1;else return this.addToNumericResult(e,r,t,10),this.emitNumericEntity(n,2)}return this.addToNumericResult(e,r,t,10),-1}emitNumericEntity(e,t){var r;if(this.consumed<=t)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===SA.SEMI)this.consumed+=1;else if(this.decodeMode===ue.Strict)return 0;return this.emitCodePoint(E0(this.result),this.consumed),this.errors&&(e!==SA.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:r}=this;let n=r[this.treeIndex],a=(n&Re.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){const i=e.charCodeAt(t);if(this.treeIndex=U0(r,n,this.treeIndex+Math.max(1,a),i),this.treeIndex<0)return this.result===0||this.decodeMode===ue.Attribute&&(a===0||T0(i))?0:this.emitNotTerminatedNamedEntity();if(n=r[this.treeIndex],a=(n&Re.VALUE_LENGTH)>>14,a!==0){if(i===SA.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==ue.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:r}=this,n=(r[t]&Re.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,n,this.consumed),(e=this.errors)===null||e===void 0||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,r){const{decodeTree:n}=this;return this.emitCodePoint(t===1?n[e]&~Re.VALUE_LENGTH:n[e+1],r),t===3&&this.emitCodePoint(n[e+2],r),r}end(){var e;switch(this.state){case LA.NamedEntity:return this.result!==0&&(this.decodeMode!==ue.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case LA.NumericDecimal:return this.emitNumericEntity(0,2);case LA.NumericHex:return this.emitNumericEntity(0,3);case LA.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case LA.EntityStart:return 0}}}function xs(A){let e="";const t=new xa(A,r=>e+=Ia(r));return function(n,a){let i=0,s=0;for(;(s=n.indexOf("&",s))>=0;){e+=n.slice(i,s),t.startEntity(a);const l=t.write(n,s+1);if(l<0){i=s+t.end();break}i=s+l,s=l===0?i+1:i}const u=e+n.slice(i);return e="",u}}function U0(A,e,t,r){const n=(e&Re.BRANCH_LENGTH)>>7,a=e&Re.JUMP_TABLE;if(n===0)return a!==0&&r===a?t:-1;if(a){const u=r-a;return u<0||u>=n?-1:A[t+u]-1}let i=t,s=i+n-1;for(;i<=s;){const u=i+s>>>1,l=A[u];if(l<r)i=u+1;else if(l>r)s=u-1;else return A[u+n]}return-1}xs(Qa),xs(ys);const vs=/["&'<>$\x80-\uFFFF]/g,Q0=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),F0=String.prototype.codePointAt!=null?(A,e)=>A.codePointAt(e):(A,e)=>(A.charCodeAt(e)&64512)===55296?(A.charCodeAt(e)-55296)*1024+A.charCodeAt(e+1)-56320+65536:A.charCodeAt(e);function _s(A){let e="",t=0,r;for(;(r=vs.exec(A))!==null;){const n=r.index,a=A.charCodeAt(n),i=Q0.get(a);i!==void 0?(e+=A.substring(t,n)+i,t=n+1):(e+=`${A.substring(t,n)}&#x${F0(A,n).toString(16)};`,t=vs.lastIndex+=+((a&64512)===55296))}return e+A.substr(t)}function Ns(A,e){return function(r){let n,a=0,i="";for(;n=A.exec(r);)a!==n.index&&(i+=r.substring(a,n.index)),i+=e.get(n[0].charCodeAt(0)),a=n.index+1;return i+r.substring(a)}}const Ss=Ns(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),Ls=Ns(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]])),I0=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(A=>[A.toLowerCase(),A])),y0=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(A=>[A.toLowerCase(),A])),x0=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function v0(A){return A.replace(/"/g,"&quot;")}function _0(A,e){var t;if(!A)return;const r=((t=e.encodeEntities)!==null&&t!==void 0?t:e.decodeEntities)===!1?v0:e.xmlMode||e.encodeEntities!=="utf8"?_s:Ss;return Object.keys(A).map(n=>{var a,i;const s=(a=A[n])!==null&&a!==void 0?a:"";return e.xmlMode==="foreign"&&(n=(i=y0.get(n))!==null&&i!==void 0?i:n),!e.emptyAttrs&&!e.xmlMode&&s===""?n:`${n}="${r(s)}"`}).join(" ")}const Hs=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function Vr(A,e={}){const t="length"in A?A:[A];let r="";for(let n=0;n<t.length;n++)r+=N0(t[n],e);return r}function N0(A,e){switch(A.type){case o0:return Vr(A.children,e);case g0:case c0:return D0(A);case l0:return M0(A);case B0:return R0(A);case d0:case f0:case h0:return H0(A,e);case u0:return O0(A,e)}}const S0=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),L0=new Set(["svg","math"]);function H0(A,e){var t;e.xmlMode==="foreign"&&(A.name=(t=I0.get(A.name))!==null&&t!==void 0?t:A.name,A.parent&&S0.has(A.parent.name)&&(e={...e,xmlMode:!1})),!e.xmlMode&&L0.has(A.name)&&(e={...e,xmlMode:"foreign"});let r=`<${A.name}`;const n=_0(A.attribs,e);return n&&(r+=` ${n}`),A.children.length===0&&(e.xmlMode?e.selfClosingTags!==!1:e.selfClosingTags&&Hs.has(A.name))?(e.xmlMode||(r+=" "),r+="/>"):(r+=">",A.children.length>0&&(r+=Vr(A.children,e)),(e.xmlMode||!Hs.has(A.name))&&(r+=`</${A.name}>`)),r}function D0(A){return`<${A.data}>`}function O0(A,e){var t;let r=A.data||"";return((t=e.encodeEntities)!==null&&t!==void 0?t:e.decodeEntities)!==!1&&!(!e.xmlMode&&A.parent&&x0.has(A.parent.name))&&(r=e.xmlMode||e.encodeEntities!=="utf8"?_s(r):Ls(r)),r}function R0(A){return`<![CDATA[${A.children[0].data}]]>`}function M0(A){return`<!--${A.data}-->`}function Ds(A,e){return Vr(A,e)}function k0(A,e){return NA(A)?A.children.map(t=>Ds(t,e)).join(""):""}function Gr(A){return Array.isArray(A)?A.map(Gr).join(""):W(A)?A.name==="br"?`
2
+ `:Gr(A.children):Pr(A)?Gr(A.children):we(A)?A.data:""}function Ct(A){return Array.isArray(A)?A.map(Ct).join(""):NA(A)&&!Kr(A)?Ct(A.children):we(A)?A.data:""}function Yr(A){return Array.isArray(A)?A.map(Yr).join(""):NA(A)&&(A.type===aA.Tag||Pr(A))?Yr(A.children):we(A)?A.data:""}function Xr(A){return NA(A)?A.children:[]}function Os(A){return A.parent||null}function Rs(A){const e=Os(A);if(e!=null)return Xr(e);const t=[A];let{prev:r,next:n}=A;for(;r!=null;)t.unshift(r),{prev:r}=r;for(;n!=null;)t.push(n),{next:n}=n;return t}function P0(A,e){var t;return(t=A.attribs)===null||t===void 0?void 0:t[e]}function K0(A,e){return A.attribs!=null&&Object.prototype.hasOwnProperty.call(A.attribs,e)&&A.attribs[e]!=null}function V0(A){return A.name}function va(A){let{next:e}=A;for(;e!==null&&!W(e);)({next:e}=e);return e}function _a(A){let{prev:e}=A;for(;e!==null&&!W(e);)({prev:e}=e);return e}function nt(A){if(A.prev&&(A.prev.next=A.next),A.next&&(A.next.prev=A.prev),A.parent){const e=A.parent.children,t=e.lastIndexOf(A);t>=0&&e.splice(t,1)}A.next=null,A.prev=null,A.parent=null}function G0(A,e){const t=e.prev=A.prev;t&&(t.next=e);const r=e.next=A.next;r&&(r.prev=e);const n=e.parent=A.parent;if(n){const a=n.children;a[a.lastIndexOf(A)]=e,A.parent=null}}function Y0(A,e){if(nt(e),e.next=null,e.parent=A,A.children.push(e)>1){const t=A.children[A.children.length-2];t.next=e,e.prev=t}else e.prev=null}function X0(A,e){nt(e);const{parent:t}=A,r=A.next;if(e.next=r,e.prev=A,A.next=e,e.parent=t,r){if(r.prev=e,t){const n=t.children;n.splice(n.lastIndexOf(r),0,e)}}else t&&t.children.push(e)}function W0(A,e){if(nt(e),e.parent=A,e.prev=null,A.children.unshift(e)!==1){const t=A.children[1];t.prev=e,e.next=t}else e.next=null}function J0(A,e){nt(e);const{parent:t}=A;if(t){const r=t.children;r.splice(r.indexOf(A),0,e)}A.prev&&(A.prev.next=e),e.parent=t,e.prev=A.prev,e.next=A,A.prev=e}function Wr(A,e,t=!0,r=1/0){return Na(A,Array.isArray(e)?e:[e],t,r)}function Na(A,e,t,r){const n=[],a=[e],i=[0];for(;;){if(i[0]>=a[0].length){if(i.length===1)return n;a.shift(),i.shift();continue}const s=a[0][i[0]++];if(A(s)&&(n.push(s),--r<=0))return n;t&&NA(s)&&s.children.length>0&&(i.unshift(0),a.unshift(s.children))}}function q0(A,e){return e.find(A)}function Sa(A,e,t=!0){let r=null;for(let n=0;n<e.length&&!r;n++){const a=e[n];if(W(a))A(a)?r=a:t&&a.children.length>0&&(r=Sa(A,a.children,!0));else continue}return r}function Ms(A,e){return e.some(t=>W(t)&&(A(t)||Ms(A,t.children)))}function j0(A,e){const t=[],r=[e],n=[0];for(;;){if(n[0]>=r[0].length){if(r.length===1)return t;r.shift(),n.shift();continue}const a=r[0][n[0]++];W(a)&&(A(a)&&t.push(a),a.children.length>0&&(n.unshift(0),r.unshift(a.children)))}}const Jr={tag_name(A){return typeof A=="function"?e=>W(e)&&A(e.name):A==="*"?W:e=>W(e)&&e.name===A},tag_type(A){return typeof A=="function"?e=>A(e.type):e=>e.type===A},tag_contains(A){return typeof A=="function"?e=>we(e)&&A(e.data):e=>we(e)&&e.data===A}};function ks(A,e){return typeof e=="function"?t=>W(t)&&e(t.attribs[A]):t=>W(t)&&t.attribs[A]===e}function z0(A,e){return t=>A(t)||e(t)}function Ps(A){const e=Object.keys(A).map(t=>{const r=A[t];return Object.prototype.hasOwnProperty.call(Jr,t)?Jr[t](r):ks(t,r)});return e.length===0?null:e.reduce(z0)}function $0(A,e){const t=Ps(A);return t?t(e):!0}function Z0(A,e,t,r=1/0){const n=Ps(A);return n?Wr(n,e,t,r):[]}function Ad(A,e,t=!0){return Array.isArray(e)||(e=[e]),Sa(ks("id",A),e,t)}function wt(A,e,t=!0,r=1/0){return Wr(Jr.tag_name(A),e,t,r)}function ed(A,e,t=!0,r=1/0){return Wr(Jr.tag_type(A),e,t,r)}function td(A){let e=A.length;for(;--e>=0;){const t=A[e];if(e>0&&A.lastIndexOf(t,e-1)>=0){A.splice(e,1);continue}for(let r=t.parent;r;r=r.parent)if(A.includes(r)){A.splice(e,1);break}}return A}var ce;(function(A){A[A.DISCONNECTED=1]="DISCONNECTED",A[A.PRECEDING=2]="PRECEDING",A[A.FOLLOWING=4]="FOLLOWING",A[A.CONTAINS=8]="CONTAINS",A[A.CONTAINED_BY=16]="CONTAINED_BY"})(ce||(ce={}));function Ks(A,e){const t=[],r=[];if(A===e)return 0;let n=NA(A)?A:A.parent;for(;n;)t.unshift(n),n=n.parent;for(n=NA(e)?e:e.parent;n;)r.unshift(n),n=n.parent;const a=Math.min(t.length,r.length);let i=0;for(;i<a&&t[i]===r[i];)i++;if(i===0)return ce.DISCONNECTED;const s=t[i-1],u=s.children,l=t[i],d=r[i];return u.indexOf(l)>u.indexOf(d)?s===e?ce.FOLLOWING|ce.CONTAINED_BY:ce.FOLLOWING:s===A?ce.PRECEDING|ce.CONTAINS:ce.PRECEDING}function bt(A){return A=A.filter((e,t,r)=>!r.includes(e,t+1)),A.sort((e,t)=>{const r=Ks(e,t);return r&ce.PRECEDING?-1:r&ce.FOLLOWING?1:0}),A}function rd(A){const e=qr(od,A);return e?e.name==="feed"?nd(e):ad(e):null}function nd(A){var e;const t=A.children,r={type:"atom",items:wt("entry",t).map(i=>{var s;const{children:u}=i,l={media:Vs(u)};zA(l,"id","id",u),zA(l,"title","title",u);const d=(s=qr("link",u))===null||s===void 0?void 0:s.attribs.href;d&&(l.link=d);const f=Me("summary",u)||Me("content",u);f&&(l.description=f);const h=Me("updated",u);return h&&(l.pubDate=new Date(h)),l})};zA(r,"id","id",t),zA(r,"title","title",t);const n=(e=qr("link",t))===null||e===void 0?void 0:e.attribs.href;n&&(r.link=n),zA(r,"description","subtitle",t);const a=Me("updated",t);return a&&(r.updated=new Date(a)),zA(r,"author","email",t,!0),r}function ad(A){var e,t;const r=(t=(e=qr("channel",A.children))===null||e===void 0?void 0:e.children)!==null&&t!==void 0?t:[],n={type:A.name.substr(0,3),id:"",items:wt("item",A.children).map(i=>{const{children:s}=i,u={media:Vs(s)};zA(u,"id","guid",s),zA(u,"title","title",s),zA(u,"link","link",s),zA(u,"description","description",s);const l=Me("pubDate",s)||Me("dc:date",s);return l&&(u.pubDate=new Date(l)),u})};zA(n,"title","title",r),zA(n,"link","link",r),zA(n,"description","description",r);const a=Me("lastBuildDate",r);return a&&(n.updated=new Date(a)),zA(n,"author","managingEditor",r,!0),n}const id=["url","type","lang"],sd=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function Vs(A){return wt("media:content",A).map(e=>{const{attribs:t}=e,r={medium:t.medium,isDefault:!!t.isDefault};for(const n of id)t[n]&&(r[n]=t[n]);for(const n of sd)t[n]&&(r[n]=parseInt(t[n],10));return t.expression&&(r.expression=t.expression),r})}function qr(A,e){return wt(A,e,!0,1)[0]}function Me(A,e,t=!1){return Ct(wt(A,e,t,1)).trim()}function zA(A,e,t,r,n=!1){const a=Me(t,r,n);a&&(A[e]=a)}function od(A){return A==="rss"||A==="feed"||A==="rdf:RDF"}const jr=Object.freeze(Object.defineProperty({__proto__:null,get DocumentPosition(){return ce},append:X0,appendChild:Y0,compareDocumentPosition:Ks,existsOne:Ms,filter:Wr,find:Na,findAll:j0,findOne:Sa,findOneChild:q0,getAttributeValue:P0,getChildren:Xr,getElementById:Ad,getElements:Z0,getElementsByTagName:wt,getElementsByTagType:ed,getFeed:rd,getInnerHTML:k0,getName:V0,getOuterHTML:Ds,getParent:Os,getSiblings:Rs,getText:Gr,hasAttrib:K0,hasChildren:NA,innerText:Yr,isCDATA:Pr,isComment:Kr,isDocument:Oe,isTag:W,isText:we,nextElementSibling:va,prepend:J0,prependChild:W0,prevElementSibling:_a,removeElement:nt,removeSubsets:td,replaceElement:G0,testElement:$0,textContent:Ct,uniqueSort:bt},Symbol.toStringTag,{value:"Module"})),ud={_useHtmlParser2:!1};function La(A,e){if(!A)return e??ud;const t={_useHtmlParser2:!!A.xmlMode,...e,...A};return A.xml?(t._useHtmlParser2=!0,t.xmlMode=!0,A.xml!==!0&&Object.assign(t,A.xml)):A.xmlMode&&(t._useHtmlParser2=!0),t}function Gs(A,e,t){return A?A(e??A._root.children,null,void 0,t).toString():""}function cd(A,e){return typeof A=="object"&&A!=null&&!("length"in A)&&!("type"in A)}function ld(A,e){const t=cd(A)?(e=A,void 0):A,r={...this===null||this===void 0?void 0:this._options,...La(e)};return Gs(this,t,r)}function dd(A){const e={...this._options,xmlMode:!0};return Gs(this,A,e)}function qt(A){const e=A??(this?this.root():[]);let t="";for(let r=0;r<e.length;r++)t+=Ct(e[r]);return t}function fd(A,e,t=typeof e=="boolean"?e:!1){if(!A||typeof A!="string")return null;typeof e=="boolean"&&(t=e);const r=this.load(A,this._options,!1);return t||r("script").remove(),[...r.root()[0].children]}function hd(){return this(this._root)}function Ys(A,e){if(e===A)return!1;let t=e;for(;t&&t!==t.parent;)if(t=t.parent,t===A)return!0;return!1}function Bd(A){return this.root().extract(A)}function gd(A,e){if(!Xs(A)||!Xs(e))return;let t=A.length;const r=+e.length;for(let n=0;n<r;n++)A[t++]=e[n];return A.length=t,A}function Xs(A){if(Array.isArray(A))return!0;if(typeof A!="object"||A===null||!("length"in A)||typeof A.length!="number"||A.length<0)return!1;for(let e=0;e<A.length;e++)if(!(e in A))return!1;return!0}const pd=Object.freeze(Object.defineProperty({__proto__:null,contains:Ys,extract:Bd,html:ld,merge:gd,parseHTML:fd,root:hd,text:qt,xml:dd},Symbol.toStringTag,{value:"Module"}));function xe(A){return A.cheerio!=null}function md(A){return A.replace(/[._-](\w|$)/g,(e,t)=>t.toUpperCase())}function Ed(A){return A.replace(/[A-Z]/g,"-$&").toLowerCase()}function TA(A,e){const t=A.length;for(let r=0;r<t;r++)e(A[r],r);return A}var at;(function(A){A[A.LowerA=97]="LowerA",A[A.LowerZ=122]="LowerZ",A[A.UpperA=65]="UpperA",A[A.UpperZ=90]="UpperZ",A[A.Exclamation=33]="Exclamation"})(at||(at={}));function Ha(A){const e=A.indexOf("<");if(e<0||e>A.length-3)return!1;const t=A.charCodeAt(e+1);return(t>=at.LowerA&&t<=at.LowerZ||t>=at.UpperA&&t<=at.UpperZ||t===at.Exclamation)&&A.includes(">",e+2)}const jt=Object.prototype.hasOwnProperty,zt=/\s+/,Da="data-",Oa=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,Cd=/^{[^]*}$|^\[[^]*]$/;function zr(A,e,t){var r;if(!(!A||!W(A))){if((r=A.attribs)!==null&&r!==void 0||(A.attribs={}),!e)return A.attribs;if(jt.call(A.attribs,e))return!t&&Oa.test(e)?e:A.attribs[e];if(A.name==="option"&&e==="value")return qt(A.children);if(A.name==="input"&&(A.attribs.type==="radio"||A.attribs.type==="checkbox")&&e==="value")return"on"}}function Tt(A,e,t){t===null?js(A,e):A.attribs[e]=`${t}`}function wd(A,e){if(typeof A=="object"||e!==void 0){if(typeof e=="function"){if(typeof A!="string")throw new Error("Bad combination of arguments.");return TA(this,(t,r)=>{W(t)&&Tt(t,A,e.call(t,r,t.attribs[A]))})}return TA(this,t=>{if(W(t))if(typeof A=="object")for(const r of Object.keys(A)){const n=A[r];Tt(t,r,n)}else Tt(t,A,e)})}return arguments.length>1?this:zr(this[0],A,this.options.xmlMode)}function Ws(A,e,t){return e in A?A[e]:!t&&Oa.test(e)?zr(A,e,!1)!==void 0:zr(A,e,t)}function Ra(A,e,t,r){e in A?A[e]=t:Tt(A,e,!r&&Oa.test(e)?t?"":null:`${t}`)}function bd(A,e){var t;if(typeof A=="string"&&e===void 0){const r=this[0];if(!r||!W(r))return;switch(A){case"style":{const n=this.css(),a=Object.keys(n);for(let i=0;i<a.length;i++)n[i]=a[i];return n.length=a.length,n}case"tagName":case"nodeName":return r.name.toUpperCase();case"href":case"src":{const n=(t=r.attribs)===null||t===void 0?void 0:t[A];return typeof URL<"u"&&(A==="href"&&(r.tagName==="a"||r.tagName==="link")||A==="src"&&(r.tagName==="img"||r.tagName==="iframe"||r.tagName==="audio"||r.tagName==="video"||r.tagName==="source"))&&n!==void 0&&this.options.baseURI?new URL(n,this.options.baseURI).href:n}case"innerText":return Yr(r);case"textContent":return Ct(r);case"outerHTML":return this.clone().wrap("<container />").parent().html();case"innerHTML":return this.html();default:return Ws(r,A,this.options.xmlMode)}}if(typeof A=="object"||e!==void 0){if(typeof e=="function"){if(typeof A=="object")throw new TypeError("Bad combination of arguments.");return TA(this,(r,n)=>{W(r)&&Ra(r,A,e.call(r,n,Ws(r,A,this.options.xmlMode)),this.options.xmlMode)})}return TA(this,r=>{if(W(r))if(typeof A=="object")for(const n of Object.keys(A)){const a=A[n];Ra(r,n,a,this.options.xmlMode)}else Ra(r,A,e,this.options.xmlMode)})}}function Js(A,e,t){var r;(r=A.data)!==null&&r!==void 0||(A.data={}),typeof e=="object"?Object.assign(A.data,e):typeof e=="string"&&t!==void 0&&(A.data[e]=t)}function Td(A){for(const e of Object.keys(A.attribs)){if(!e.startsWith(Da))continue;const t=md(e.slice(Da.length));jt.call(A.data,t)||(A.data[t]=qs(A.attribs[e]))}return A.data}function Ud(A,e){const t=Da+Ed(e),r=A.data;if(jt.call(r,e))return r[e];if(jt.call(A.attribs,t))return r[e]=qs(A.attribs[t])}function qs(A){if(A==="null")return null;if(A==="true")return!0;if(A==="false")return!1;const e=Number(A);if(A===String(e))return e;if(Cd.test(A))try{return JSON.parse(A)}catch{}return A}function Qd(A,e){var t;const r=this[0];if(!r||!W(r))return;const n=r;return(t=n.data)!==null&&t!==void 0||(n.data={}),A==null?Td(n):typeof A=="object"||e!==void 0?(TA(this,a=>{W(a)&&(typeof A=="object"?Js(a,A):Js(a,A,e))}),this):Ud(n,A)}function Fd(A){const e=arguments.length===0,t=this[0];if(!t||!W(t))return e?void 0:this;switch(t.name){case"textarea":return this.text(A);case"select":{const r=this.find("option:selected");if(!e){if(this.attr("multiple")==null&&typeof A=="object")return this;this.find("option").removeAttr("selected");const n=typeof A=="object"?A:[A];for(const a of n)this.find(`option[value="${a}"]`).attr("selected","");return this}return this.attr("multiple")?r.toArray().map(n=>qt(n.children)):r.attr("value")}case"input":case"option":return e?this.attr("value"):this.attr("value",A)}}function js(A,e){!A.attribs||!jt.call(A.attribs,e)||delete A.attribs[e]}function $r(A){return A?A.trim().split(zt):[]}function Id(A){const e=$r(A);for(const t of e)TA(this,r=>{W(r)&&js(r,t)});return this}function yd(A){return this.toArray().some(e=>{const t=W(e)&&e.attribs.class;let r=-1;if(t&&A.length>0)for(;(r=t.indexOf(A,r+1))>-1;){const n=r+A.length;if((r===0||zt.test(t[r-1]))&&(n===t.length||zt.test(t[n])))return!0}return!1})}function zs(A){if(typeof A=="function")return TA(this,(r,n)=>{if(W(r)){const a=r.attribs.class||"";zs.call([r],A.call(r,n,a))}});if(!A||typeof A!="string")return this;const e=A.split(zt),t=this.length;for(let r=0;r<t;r++){const n=this[r];if(!W(n))continue;const a=zr(n,"class",!1);if(a){let i=` ${a} `;for(const s of e){const u=`${s} `;i.includes(` ${u}`)||(i+=u)}Tt(n,"class",i.trim())}else Tt(n,"class",e.join(" ").trim())}return this}function $s(A){if(typeof A=="function")return TA(this,(n,a)=>{W(n)&&$s.call([n],A.call(n,a,n.attribs.class||""))});const e=$r(A),t=e.length,r=arguments.length===0;return TA(this,n=>{if(W(n))if(r)n.attribs.class="";else{const a=$r(n.attribs.class);let i=!1;for(let s=0;s<t;s++){const u=a.indexOf(e[s]);u>=0&&(a.splice(u,1),i=!0,s--)}i&&(n.attribs.class=a.join(" "))}})}function Zs(A,e){if(typeof A=="function")return TA(this,(i,s)=>{W(i)&&Zs.call([i],A.call(i,s,i.attribs.class||"",e),e)});if(!A||typeof A!="string")return this;const t=A.split(zt),r=t.length,n=typeof e=="boolean"?e?1:-1:0,a=this.length;for(let i=0;i<a;i++){const s=this[i];if(!W(s))continue;const u=$r(s.attribs.class);for(let l=0;l<r;l++){const d=u.indexOf(t[l]);n>=0&&d<0?u.push(t[l]):n<=0&&d>=0&&u.splice(d,1)}s.attribs.class=u.join(" ")}return this}const xd=Object.freeze(Object.defineProperty({__proto__:null,addClass:zs,attr:wd,data:Qd,hasClass:yd,prop:bd,removeAttr:Id,removeClass:$s,toggleClass:Zs,val:Fd},Symbol.toStringTag,{value:"Module"}));var Y;(function(A){A.Attribute="attribute",A.Pseudo="pseudo",A.PseudoElement="pseudo-element",A.Tag="tag",A.Universal="universal",A.Adjacent="adjacent",A.Child="child",A.Descendant="descendant",A.Parent="parent",A.Sibling="sibling",A.ColumnCombinator="column-combinator"})(Y||(Y={}));var yA;(function(A){A.Any="any",A.Element="element",A.End="end",A.Equals="equals",A.Exists="exists",A.Hyphen="hyphen",A.Not="not",A.Start="start"})(yA||(yA={}));const Ao=/^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/,vd=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,_d=new Map([[126,yA.Element],[94,yA.Start],[36,yA.End],[42,yA.Any],[33,yA.Not],[124,yA.Hyphen]]),Nd=new Set(["has","not","matches","is","where","host","host-context"]);function $t(A){switch(A.type){case Y.Adjacent:case Y.Child:case Y.Descendant:case Y.Parent:case Y.Sibling:case Y.ColumnCombinator:return!0;default:return!1}}const Sd=new Set(["contains","icontains"]);function Ld(A,e,t){const r=parseInt(e,16)-65536;return r!==r||t?e:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,r&1023|56320)}function Zt(A){return A.replace(vd,Ld)}function Ma(A){return A===39||A===34}function eo(A){return A===32||A===9||A===10||A===12||A===13}function Zr(A){const e=[],t=to(e,`${A}`,0);if(t<A.length)throw new Error(`Unmatched selector: ${A.slice(t)}`);return e}function to(A,e,t){let r=[];function n(h){const C=e.slice(t+h).match(Ao);if(!C)throw new Error(`Expected name, found ${e.slice(t)}`);const[E]=C;return t+=h+E.length,Zt(E)}function a(h){for(t+=h;t<e.length&&eo(e.charCodeAt(t));)t++}function i(){t+=1;const h=t;let C=1;for(;C>0&&t<e.length;t++)e.charCodeAt(t)===40&&!s(t)?C++:e.charCodeAt(t)===41&&!s(t)&&C--;if(C)throw new Error("Parenthesis not matched");return Zt(e.slice(h,t-1))}function s(h){let C=0;for(;e.charCodeAt(--h)===92;)C++;return(C&1)===1}function u(){if(r.length>0&&$t(r[r.length-1]))throw new Error("Did not expect successive traversals.")}function l(h){if(r.length>0&&r[r.length-1].type===Y.Descendant){r[r.length-1].type=h;return}u(),r.push({type:h})}function d(h,C){r.push({type:Y.Attribute,name:h,action:C,value:n(1),namespace:null,ignoreCase:"quirks"})}function f(){if(r.length&&r[r.length-1].type===Y.Descendant&&r.pop(),r.length===0)throw new Error("Empty sub-selector");A.push(r)}if(a(0),e.length===t)return t;A:for(;t<e.length;){const h=e.charCodeAt(t);switch(h){case 32:case 9:case 10:case 12:case 13:{(r.length===0||r[0].type!==Y.Descendant)&&(u(),r.push({type:Y.Descendant})),a(1);break}case 62:{l(Y.Child),a(1);break}case 60:{l(Y.Parent),a(1);break}case 126:{l(Y.Sibling),a(1);break}case 43:{l(Y.Adjacent),a(1);break}case 46:{d("class",yA.Element);break}case 35:{d("id",yA.Equals);break}case 91:{a(1);let C,E=null;e.charCodeAt(t)===124?C=n(1):e.startsWith("*|",t)?(E="*",C=n(2)):(C=n(0),e.charCodeAt(t)===124&&e.charCodeAt(t+1)!==61&&(E=C,C=n(1))),a(0);let T=yA.Exists;const v=_d.get(e.charCodeAt(t));if(v){if(T=v,e.charCodeAt(t+1)!==61)throw new Error("Expected `=`");a(2)}else e.charCodeAt(t)===61&&(T=yA.Equals,a(1));let b="",x=null;if(T!=="exists"){if(Ma(e.charCodeAt(t))){const O=e.charCodeAt(t);let m=t+1;for(;m<e.length&&(e.charCodeAt(m)!==O||s(m));)m+=1;if(e.charCodeAt(m)!==O)throw new Error("Attribute value didn't end");b=Zt(e.slice(t+1,m)),t=m+1}else{const O=t;for(;t<e.length&&(!eo(e.charCodeAt(t))&&e.charCodeAt(t)!==93||s(t));)t+=1;b=Zt(e.slice(O,t))}a(0);const R=e.charCodeAt(t)|32;R===115?(x=!1,a(1)):R===105&&(x=!0,a(1))}if(e.charCodeAt(t)!==93)throw new Error("Attribute selector didn't terminate");t+=1;const D={type:Y.Attribute,name:C,action:T,value:b,namespace:E,ignoreCase:x};r.push(D);break}case 58:{if(e.charCodeAt(t+1)===58){r.push({type:Y.PseudoElement,name:n(2).toLowerCase(),data:e.charCodeAt(t)===40?i():null});continue}const C=n(1).toLowerCase();let E=null;if(e.charCodeAt(t)===40)if(Nd.has(C)){if(Ma(e.charCodeAt(t+1)))throw new Error(`Pseudo-selector ${C} cannot be quoted`);if(E=[],t=to(E,e,t+1),e.charCodeAt(t)!==41)throw new Error(`Missing closing parenthesis in :${C} (${e})`);t+=1}else{if(E=i(),Sd.has(C)){const T=E.charCodeAt(0);T===E.charCodeAt(E.length-1)&&Ma(T)&&(E=E.slice(1,-1))}E=Zt(E)}r.push({type:Y.Pseudo,name:C,data:E});break}case 44:{f(),r=[],a(1);break}default:{if(e.startsWith("/*",t)){const T=e.indexOf("*/",t+2);if(T<0)throw new Error("Comment was not terminated");t=T+2,r.length===0&&a(0);break}let C=null,E;if(h===42)t+=1,E="*";else if(h===124){if(E="",e.charCodeAt(t+1)===124){l(Y.ColumnCombinator),a(2);break}}else if(Ao.test(e.slice(t)))E=n(0);else break A;e.charCodeAt(t)===124&&e.charCodeAt(t+1)!==124&&(C=E,e.charCodeAt(t+1)===42?(E="*",t+=2):E=n(1)),r.push(E==="*"?{type:Y.Universal,namespace:C}:{type:Y.Tag,name:E,namespace:C})}}}return f(),t}function Hd(A){return A&&A.__esModule&&Object.prototype.hasOwnProperty.call(A,"default")?A.default:A}var An={trueFunc:function(){return!0},falseFunc:function(){return!1}};const Z=Hd(An),ro=new Map([[Y.Universal,50],[Y.Tag,30],[Y.Attribute,1],[Y.Pseudo,0]]);function ka(A){return!ro.has(A.type)}const Dd=new Map([[yA.Exists,10],[yA.Equals,8],[yA.Not,7],[yA.Start,6],[yA.End,6],[yA.Any,5]]);function Od(A){const e=A.map(no);for(let t=1;t<A.length;t++){const r=e[t];if(!(r<0))for(let n=t-1;n>=0&&r<e[n];n--){const a=A[n+1];A[n+1]=A[n],A[n]=a,e[n+1]=e[n],e[n]=r}}}function no(A){var e,t;let r=(e=ro.get(A.type))!==null&&e!==void 0?e:-1;return A.type===Y.Attribute?(r=(t=Dd.get(A.action))!==null&&t!==void 0?t:4,A.action===yA.Equals&&A.name==="id"&&(r=9),A.ignoreCase&&(r>>=1)):A.type===Y.Pseudo&&(A.data?A.name==="has"||A.name==="contains"?r=0:Array.isArray(A.data)?(r=Math.min(...A.data.map(n=>Math.min(...n.map(no)))),r<0&&(r=0)):r=2:r=3),r}const Rd=/[-[\]{}()*+?.,\\^$|#\s]/g;function ao(A){return A.replace(Rd,"\\$&")}const Md=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function it(A,e){return typeof A.ignoreCase=="boolean"?A.ignoreCase:A.ignoreCase==="quirks"?!!e.quirksMode:!e.xmlMode&&Md.has(A.name)}const kd={equals(A,e,t){const{adapter:r}=t,{name:n}=e;let{value:a}=e;return it(e,t)?(a=a.toLowerCase(),i=>{const s=r.getAttributeValue(i,n);return s!=null&&s.length===a.length&&s.toLowerCase()===a&&A(i)}):i=>r.getAttributeValue(i,n)===a&&A(i)},hyphen(A,e,t){const{adapter:r}=t,{name:n}=e;let{value:a}=e;const i=a.length;return it(e,t)?(a=a.toLowerCase(),function(u){const l=r.getAttributeValue(u,n);return l!=null&&(l.length===i||l.charAt(i)==="-")&&l.substr(0,i).toLowerCase()===a&&A(u)}):function(u){const l=r.getAttributeValue(u,n);return l!=null&&(l.length===i||l.charAt(i)==="-")&&l.substr(0,i)===a&&A(u)}},element(A,e,t){const{adapter:r}=t,{name:n,value:a}=e;if(/\s/.test(a))return Z.falseFunc;const i=new RegExp(`(?:^|\\s)${ao(a)}(?:$|\\s)`,it(e,t)?"i":"");return function(u){const l=r.getAttributeValue(u,n);return l!=null&&l.length>=a.length&&i.test(l)&&A(u)}},exists(A,{name:e},{adapter:t}){return r=>t.hasAttrib(r,e)&&A(r)},start(A,e,t){const{adapter:r}=t,{name:n}=e;let{value:a}=e;const i=a.length;return i===0?Z.falseFunc:it(e,t)?(a=a.toLowerCase(),s=>{const u=r.getAttributeValue(s,n);return u!=null&&u.length>=i&&u.substr(0,i).toLowerCase()===a&&A(s)}):s=>{var u;return!!(!((u=r.getAttributeValue(s,n))===null||u===void 0)&&u.startsWith(a))&&A(s)}},end(A,e,t){const{adapter:r}=t,{name:n}=e;let{value:a}=e;const i=-a.length;return i===0?Z.falseFunc:it(e,t)?(a=a.toLowerCase(),s=>{var u;return((u=r.getAttributeValue(s,n))===null||u===void 0?void 0:u.substr(i).toLowerCase())===a&&A(s)}):s=>{var u;return!!(!((u=r.getAttributeValue(s,n))===null||u===void 0)&&u.endsWith(a))&&A(s)}},any(A,e,t){const{adapter:r}=t,{name:n,value:a}=e;if(a==="")return Z.falseFunc;if(it(e,t)){const i=new RegExp(ao(a),"i");return function(u){const l=r.getAttributeValue(u,n);return l!=null&&l.length>=a.length&&i.test(l)&&A(u)}}return i=>{var s;return!!(!((s=r.getAttributeValue(i,n))===null||s===void 0)&&s.includes(a))&&A(i)}},not(A,e,t){const{adapter:r}=t,{name:n}=e;let{value:a}=e;return a===""?i=>!!r.getAttributeValue(i,n)&&A(i):it(e,t)?(a=a.toLowerCase(),i=>{const s=r.getAttributeValue(i,n);return(s==null||s.length!==a.length||s.toLowerCase()!==a)&&A(i)}):i=>r.getAttributeValue(i,n)!==a&&A(i)}},Pd=new Set([9,10,12,13,32]),io=48,Kd=57;function Vd(A){if(A=A.trim().toLowerCase(),A==="even")return[2,0];if(A==="odd")return[2,1];let e=0,t=0,r=a(),n=i();if(e<A.length&&A.charAt(e)==="n"&&(e++,t=r*(n??1),s(),e<A.length?(r=a(),s(),n=i()):r=n=0),n===null||e<A.length)throw new Error(`n-th rule couldn't be parsed ('${A}')`);return[t,r*n];function a(){return A.charAt(e)==="-"?(e++,-1):(A.charAt(e)==="+"&&e++,1)}function i(){const u=e;let l=0;for(;e<A.length&&A.charCodeAt(e)>=io&&A.charCodeAt(e)<=Kd;)l=l*10+(A.charCodeAt(e)-io),e++;return e===u?null:l}function s(){for(;e<A.length&&Pd.has(A.charCodeAt(e));)e++}}function Gd(A){const e=A[0],t=A[1]-1;if(t<0&&e<=0)return Z.falseFunc;if(e===-1)return a=>a<=t;if(e===0)return a=>a===t;if(e===1)return t<0?Z.trueFunc:a=>a>=t;const r=Math.abs(e),n=(t%r+r)%r;return e>1?a=>a>=t&&a%r===n:a=>a<=t&&a%r===n}function en(A){return Gd(Vd(A))}function tn(A,e){return t=>{const r=e.getParent(t);return r!=null&&e.isTag(r)&&A(t)}}const Pa={contains(A,e,{adapter:t}){return function(n){return A(n)&&t.getText(n).includes(e)}},icontains(A,e,{adapter:t}){const r=e.toLowerCase();return function(a){return A(a)&&t.getText(a).toLowerCase().includes(r)}},"nth-child"(A,e,{adapter:t,equals:r}){const n=en(e);return n===Z.falseFunc?Z.falseFunc:n===Z.trueFunc?tn(A,t):function(i){const s=t.getSiblings(i);let u=0;for(let l=0;l<s.length&&!r(i,s[l]);l++)t.isTag(s[l])&&u++;return n(u)&&A(i)}},"nth-last-child"(A,e,{adapter:t,equals:r}){const n=en(e);return n===Z.falseFunc?Z.falseFunc:n===Z.trueFunc?tn(A,t):function(i){const s=t.getSiblings(i);let u=0;for(let l=s.length-1;l>=0&&!r(i,s[l]);l--)t.isTag(s[l])&&u++;return n(u)&&A(i)}},"nth-of-type"(A,e,{adapter:t,equals:r}){const n=en(e);return n===Z.falseFunc?Z.falseFunc:n===Z.trueFunc?tn(A,t):function(i){const s=t.getSiblings(i);let u=0;for(let l=0;l<s.length;l++){const d=s[l];if(r(i,d))break;t.isTag(d)&&t.getName(d)===t.getName(i)&&u++}return n(u)&&A(i)}},"nth-last-of-type"(A,e,{adapter:t,equals:r}){const n=en(e);return n===Z.falseFunc?Z.falseFunc:n===Z.trueFunc?tn(A,t):function(i){const s=t.getSiblings(i);let u=0;for(let l=s.length-1;l>=0;l--){const d=s[l];if(r(i,d))break;t.isTag(d)&&t.getName(d)===t.getName(i)&&u++}return n(u)&&A(i)}},root(A,e,{adapter:t}){return r=>{const n=t.getParent(r);return(n==null||!t.isTag(n))&&A(r)}},scope(A,e,t,r){const{equals:n}=t;return!r||r.length===0?Pa.root(A,e,t):r.length===1?a=>n(r[0],a)&&A(a):a=>r.includes(a)&&A(a)},hover:Ka("isHovered"),visited:Ka("isVisited"),active:Ka("isActive")};function Ka(A){return function(t,r,{adapter:n}){const a=n[A];return typeof a!="function"?Z.falseFunc:function(s){return a(s)&&t(s)}}}const so={empty(A,{adapter:e}){return!e.getChildren(A).some(t=>e.isTag(t)||e.getText(t)!=="")},"first-child"(A,{adapter:e,equals:t}){if(e.prevElementSibling)return e.prevElementSibling(A)==null;const r=e.getSiblings(A).find(n=>e.isTag(n));return r!=null&&t(A,r)},"last-child"(A,{adapter:e,equals:t}){const r=e.getSiblings(A);for(let n=r.length-1;n>=0;n--){if(t(A,r[n]))return!0;if(e.isTag(r[n]))break}return!1},"first-of-type"(A,{adapter:e,equals:t}){const r=e.getSiblings(A),n=e.getName(A);for(let a=0;a<r.length;a++){const i=r[a];if(t(A,i))return!0;if(e.isTag(i)&&e.getName(i)===n)break}return!1},"last-of-type"(A,{adapter:e,equals:t}){const r=e.getSiblings(A),n=e.getName(A);for(let a=r.length-1;a>=0;a--){const i=r[a];if(t(A,i))return!0;if(e.isTag(i)&&e.getName(i)===n)break}return!1},"only-of-type"(A,{adapter:e,equals:t}){const r=e.getName(A);return e.getSiblings(A).every(n=>t(A,n)||!e.isTag(n)||e.getName(n)!==r)},"only-child"(A,{adapter:e,equals:t}){return e.getSiblings(A).every(r=>t(A,r)||!e.isTag(r))}};function oo(A,e,t,r){if(t===null){if(A.length>r)throw new Error(`Pseudo-class :${e} requires an argument`)}else if(A.length===r)throw new Error(`Pseudo-class :${e} doesn't have any arguments`)}const Yd={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:`:is(
3
3
  :is(button, input, select, textarea, optgroup, option)[disabled],
4
4
  optgroup[disabled] > option,
5
5
  fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *)
6
- )`,enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"},ao={};function Pd(A,e){return A===AA.falseFunc?AA.falseFunc:t=>e.isTag(t)&&A(t)}function io(A,e){const t=e.getSiblings(A);if(t.length<=1)return[];const r=t.indexOf(A);return r<0||r===t.length-1?[]:t.slice(r+1).filter(e.isTag)}function Ra(A){return{xmlMode:!!A.xmlMode,lowerCaseAttributeNames:!!A.lowerCaseAttributeNames,lowerCaseTags:!!A.lowerCaseTags,quirksMode:!!A.quirksMode,cacheResults:!!A.cacheResults,pseudos:A.pseudos,adapter:A.adapter,equals:A.equals}}const Ma=(A,e,t,r,n)=>{const a=n(e,Ra(t),r);return a===AA.trueFunc?A:a===AA.falseFunc?AA.falseFunc:i=>a(i)&&A(i)},ka={is:Ma,matches:Ma,where:Ma,not(A,e,t,r,n){const a=n(e,Ra(t),r);return a===AA.falseFunc?A:a===AA.trueFunc?AA.falseFunc:i=>!a(i)&&A(i)},has(A,e,t,r,n){const{adapter:a}=t,i=Ra(t);i.relativeSelector=!0;const s=e.some(d=>d.some(Ha))?[ao]:void 0,u=n(e,i,s);if(u===AA.falseFunc)return AA.falseFunc;const l=Pd(u,a);if(s&&u!==AA.trueFunc){const{shouldTestNextSiblings:d=!1}=u;return f=>{if(!A(f))return!1;s[0]=f;const h=a.getChildren(f),C=d?[...h,...io(f,a)]:h;return a.existsOne(l,C)}}return d=>A(d)&&a.existsOne(l,a.getChildren(d))}};function Kd(A,e,t,r,n){var a;const{name:i,data:s}=e;if(Array.isArray(s)){if(!(i in ka))throw new Error(`Unknown pseudo-class :${i}(${s})`);return ka[i](A,s,t,r,n)}const u=(a=t.pseudos)===null||a===void 0?void 0:a[i],l=typeof u=="string"?u:kd[i];if(typeof l=="string"){if(s!=null)throw new Error(`Pseudo ${i} doesn't have any arguments`);const d=$r(l);return ka.is(A,d,t,r,n)}if(typeof u=="function")return no(u,i,s,1),d=>u(d,s)&&A(d);if(i in Da)return Da[i](A,s,t,r);if(i in ro){const d=ro[i];return no(d,i,s,2),f=>d(f,t,s)&&A(f)}throw new Error(`Unknown pseudo-class :${i}`)}function Pa(A,e){const t=e.getParent(A);return t&&e.isTag(t)?t:null}function Vd(A,e,t,r,n){const{adapter:a,equals:i}=t;switch(e.type){case Y.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case Y.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case Y.Attribute:{if(e.namespace!=null)throw new Error("Namespaced attributes are not yet supported by css-select");return(!t.xmlMode||t.lowerCaseAttributeNames)&&(e.name=e.name.toLowerCase()),Hd[e.action](A,e,t)}case Y.Pseudo:return Kd(A,e,t,r,n);case Y.Tag:{if(e.namespace!=null)throw new Error("Namespaced tag names are not yet supported by css-select");let{name:s}=e;return(!t.xmlMode||t.lowerCaseTags)&&(s=s.toLowerCase()),function(l){return a.getName(l)===s&&A(l)}}case Y.Descendant:{if(t.cacheResults===!1||typeof WeakSet>"u")return function(l){let d=l;for(;d=Pa(d,a);)if(A(d))return!0;return!1};const s=new WeakSet;return function(l){let d=l;for(;d=Pa(d,a);)if(!s.has(d)){if(a.isTag(d)&&A(d))return!0;s.add(d)}return!1}}case"_flexibleDescendant":return function(u){let l=u;do if(A(l))return!0;while(l=Pa(l,a));return!1};case Y.Parent:return function(u){return a.getChildren(u).some(l=>a.isTag(l)&&A(l))};case Y.Child:return function(u){const l=a.getParent(u);return l!=null&&a.isTag(l)&&A(l)};case Y.Sibling:return function(u){const l=a.getSiblings(u);for(let d=0;d<l.length;d++){const f=l[d];if(i(u,f))break;if(a.isTag(f)&&A(f))return!0}return!1};case Y.Adjacent:return a.prevElementSibling?function(u){const l=a.prevElementSibling(u);return l!=null&&A(l)}:function(u){const l=a.getSiblings(u);let d;for(let f=0;f<l.length;f++){const h=l[f];if(i(u,h))break;a.isTag(h)&&(d=h)}return!!d&&A(d)};case Y.Universal:{if(e.namespace!=null&&e.namespace!=="*")throw new Error("Namespaced universal selectors are not yet supported by css-select");return A}}}function so(A){return A.type===Y.Pseudo&&(A.name==="scope"||Array.isArray(A.data)&&A.data.some(e=>e.some(so)))}const Gd={type:Y.Descendant},Yd={type:"_flexibleDescendant"},Xd={type:Y.Pseudo,name:"scope",data:null};function Wd(A,{adapter:e},t){const r=!!(t!=null&&t.every(n=>{const a=e.isTag(n)&&e.getParent(n);return n===ao||a&&e.isTag(a)}));for(const n of A){if(!(n.length>0&&Ha(n[0])&&n[0].type!==Y.Descendant))if(r&&!n.some(so))n.unshift(Gd);else continue;n.unshift(Xd)}}function oo(A,e,t){var r;A.forEach(Nd),t=(r=e.context)!==null&&r!==void 0?r:t;const n=Array.isArray(t),a=t&&(Array.isArray(t)?t:[t]);if(e.relativeSelector!==!1)Wd(A,e,a);else if(A.some(u=>u.length>0&&Ha(u[0])))throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let i=!1;const s=A.map(u=>{if(u.length>=2){const[l,d]=u;l.type!==Y.Pseudo||l.name!=="scope"||(n&&d.type===Y.Descendant?u[1]=Yd:(d.type===Y.Adjacent||d.type===Y.Sibling)&&(i=!0))}return Jd(u,e,a)}).reduce(qd,AA.falseFunc);return s.shouldTestNextSiblings=i,s}function Jd(A,e,t){var r;return A.reduce((n,a)=>n===AA.falseFunc?AA.falseFunc:Vd(n,a,e,t,oo),(r=e.rootFunc)!==null&&r!==void 0?r:AA.trueFunc)}function qd(A,e){return e===AA.falseFunc||A===AA.trueFunc?A:A===AA.falseFunc||e===AA.trueFunc?e:function(r){return A(r)||e(r)}}const uo=(A,e)=>A===e,jd={adapter:qr,equals:uo};function zd(A){var e,t,r,n;const a=A??jd;return(e=a.adapter)!==null&&e!==void 0||(a.adapter=qr),(t=a.equals)!==null&&t!==void 0||(a.equals=(n=(r=a.adapter)===null||r===void 0?void 0:r.equals)!==null&&n!==void 0?n:uo),a}function $d(A){return function(t,r,n){const a=zd(r);return A(t,a,n)}}const Ka=$d(oo);function co(A,e,t=!1){return t&&(A=Zd(A,e)),Array.isArray(A)?e.removeSubsets(A):e.getChildren(A)}function Zd(A,e){const t=Array.isArray(A)?A.slice(0):[A],r=t.length;for(let n=0;n<r;n++){const a=io(t[n],e);t.push(...a)}return t}const Af=new Set(["first","last","eq","gt","nth","lt","even","odd"]);function tn(A){return A.type!=="pseudo"?!1:Af.has(A.name)?!0:A.name==="not"&&Array.isArray(A.data)?A.data.some(e=>e.some(tn)):!1}function ef(A,e,t){const r=e!=null?parseInt(e,10):NaN;switch(A){case"first":return 1;case"nth":case"eq":return isFinite(r)?r>=0?r+1:1/0:0;case"lt":return isFinite(r)?r>=0?Math.min(r,t):1/0:0;case"gt":return isFinite(r)?1/0:0;case"odd":return 2*t;case"even":return 2*t-1;case"last":case"not":return 1/0}}function tf(A){for(;A.parent;)A=A.parent;return A}function Va(A){const e=[],t=[];for(const r of A)r.some(tn)?e.push(r):t.push(r);return[t,e]}const rf={type:Y.Universal,namespace:null},nf={type:Y.Pseudo,name:"scope",data:null};function lo(A,e,t={}){return fo([A],e,t)}function fo(A,e,t={}){if(typeof e=="function")return A.some(e);const[r,n]=Va($r(e));return r.length>0&&A.some(Ka(r,t))||n.some(a=>go(a,A,t).length>0)}function af(A,e,t,r){const n=typeof t=="string"?parseInt(t,10):NaN;switch(A){case"first":case"lt":return e;case"last":return e.length>0?[e[e.length-1]]:e;case"nth":case"eq":return isFinite(n)&&Math.abs(n)<e.length?[n<0?e[e.length+n]:e[n]]:[];case"gt":return isFinite(n)?e.slice(n+1):[];case"even":return e.filter((a,i)=>i%2===0);case"odd":return e.filter((a,i)=>i%2===1);case"not":{const a=new Set(Bo(t,e,r));return e.filter(i=>!a.has(i))}}}function ho(A,e,t={}){return Bo($r(A),e,t)}function Bo(A,e,t){if(e.length===0)return[];const[r,n]=Va(A);let a;if(r.length){const i=Ya(e,r,t);if(n.length===0)return i;i.length&&(a=new Set(i))}for(let i=0;i<n.length&&(a==null?void 0:a.size)!==e.length;i++){const s=n[i];if((a?e.filter(d=>W(d)&&!a.has(d)):e).length===0)break;const l=go(s,e,t);if(l.length)if(a)l.forEach(d=>a.add(d));else{if(i===n.length-1)return l;a=new Set(l)}}return typeof a<"u"?a.size===e.length?e:e.filter(i=>a.has(i)):[]}function go(A,e,t){var r;if(A.some(jt)){const n=(r=t.root)!==null&&r!==void 0?r:tf(e[0]),a={...t,context:e,relativeSelector:!1};return A.push(nf),rn(n,A,a,!0,e.length)}return rn(e,A,t,!1,e.length)}function sf(A,e,t={},r=1/0){if(typeof A=="function")return po(e,A);const[n,a]=Va($r(A)),i=a.map(s=>rn(e,s,t,!0,r));return n.length&&i.push(Ga(e,n,t,r)),i.length===0?[]:i.length===1?i[0]:Ct(i.reduce((s,u)=>[...s,...u]))}function rn(A,e,t,r,n){const a=e.findIndex(tn),i=e.slice(0,a),s=e[a],u=e.length-1===a?n:1/0,l=ef(s.name,s.data,u);if(l===0)return[];const f=(i.length===0&&!Array.isArray(A)?Yr(A).filter(W):i.length===0?(Array.isArray(A)?A:[A]).filter(W):r||i.some(jt)?Ga(A,[i],t,l):Ya(A,[i],t)).slice(0,l);let h=af(s.name,f,s.data,t);if(h.length===0||e.length===a+1)return h;const C=e.slice(a+1),m=C.some(jt);if(m){if(jt(C[0])){const{type:T}=C[0];(T===Y.Sibling||T===Y.Adjacent)&&(h=co(h,qr,!0)),C.unshift(rf)}t={...t,relativeSelector:!1,rootFunc:T=>h.includes(T)}}else t.rootFunc&&t.rootFunc!==Zr.trueFunc&&(t={...t,rootFunc:Zr.trueFunc});return C.some(tn)?rn(h,C,t,!1,n):m?Ga(h,[C],t,n):Ya(h,[C],t)}function Ga(A,e,t,r){const n=Ka(e,t,A);return po(A,n,r)}function po(A,e,t=1/0){const r=co(A,qr,e.shouldTestNextSiblings);return Ia(n=>W(n)&&e(n),r,!0,t)}function Ya(A,e,t){const r=(Array.isArray(A)?A:[A]).filter(W);if(r.length===0)return r;const n=Ka(e,t);return n===Zr.trueFunc?r:r.filter(n)}const of=/^\s*[+~]/;function uf(A){if(!A)return this._make([]);if(typeof A!="string"){const e=xe(A)?A.toArray():[A],t=this.toArray();return this._make(e.filter(r=>t.some(n=>Ps(n,r))))}return this._findBySelector(A,Number.POSITIVE_INFINITY)}function cf(A,e){var t;const r=this.toArray(),n=of.test(A)?r:this.children().toArray(),a={context:r,root:(t=this._root)===null||t===void 0?void 0:t[0],xmlMode:this.options.xmlMode,lowerCaseTags:this.options.lowerCaseTags,lowerCaseAttributeNames:this.options.lowerCaseAttributeNames,pseudos:this.options.pseudos,quirksMode:this.options.quirksMode};return this._make(sf(A,n,a,e))}function Xa(A){return function(e,...t){return function(r){var n;let a=A(e,this);return r&&(a=qa(a,r,this.options.xmlMode,(n=this._root)===null||n===void 0?void 0:n[0])),this._make(this.length>1&&a.length>1?t.reduce((i,s)=>s(i),a):a)}}}const $t=Xa((A,e)=>{let t=[];for(let r=0;r<e.length;r++){const n=A(e[r]);n.length>0&&(t=t.concat(n))}return t}),Wa=Xa((A,e)=>{const t=[];for(let r=0;r<e.length;r++){const n=A(e[r]);n!==null&&t.push(n)}return t});function Ja(A,...e){let t=null;const r=Xa((n,a)=>{const i=[];return bA(a,s=>{for(let u;(u=n(s))&&!(t!=null&&t(u,i.length));s=u)i.push(u)}),i})(A,...e);return function(n,a){t=typeof n=="string"?s=>lo(s,n,this.options):n?Zt(n):null;const i=r.call(this,a);return t=null,i}}function bt(A){return A.length>1?Array.from(new Set(A)):A}const lf=Wa(({parent:A})=>A&&!Oe(A)?A:null,bt),df=$t(A=>{const e=[];for(;A.parent&&!Oe(A.parent);)e.push(A.parent),A=A.parent;return e},Ct,A=>A.reverse()),ff=Ja(({parent:A})=>A&&!Oe(A)?A:null,Ct,A=>A.reverse());function hf(A){var e;const t=[];if(!A)return this._make(t);const r={xmlMode:this.options.xmlMode,root:(e=this._root)===null||e===void 0?void 0:e[0]},n=typeof A=="string"?a=>lo(a,A,r):Zt(A);return bA(this,a=>{for(a&&!Oe(a)&&!W(a)&&(a=a.parent);a&&W(a);){if(n(a,0)){t.includes(a)||t.push(a);break}a=a.parent}}),this._make(t)}const Bf=Wa(A=>Qa(A)),gf=$t(A=>{const e=[];for(;A.next;)A=A.next,W(A)&&e.push(A);return e},bt),pf=Ja(A=>Qa(A),bt),Ef=Wa(A=>Fa(A)),mf=$t(A=>{const e=[];for(;A.prev;)A=A.prev,W(A)&&e.push(A);return e},bt),Cf=Ja(A=>Fa(A),bt),wf=$t(A=>Ls(A).filter(e=>W(e)&&e!==A),Ct),bf=$t(A=>Yr(A).filter(W),bt);function Tf(){const A=this.toArray().reduce((e,t)=>NA(t)?e.concat(t.children):e,[]);return this._make(A)}function Uf(A){let e=0;const t=this.length;for(;e<t&&A.call(this[e],e,this[e])!==!1;)++e;return this}function Qf(A){let e=[];for(let t=0;t<this.length;t++){const r=this[t],n=A.call(r,t,r);n!=null&&(e=e.concat(n))}return this._make(e)}function Zt(A){return typeof A=="function"?(e,t)=>A.call(e,t,e):xe(A)?e=>Array.prototype.includes.call(A,e):function(e){return A===e}}function Ff(A){var e;return this._make(qa(this.toArray(),A,this.options.xmlMode,(e=this._root)===null||e===void 0?void 0:e[0]))}function qa(A,e,t,r){return typeof e=="string"?ho(e,A,{xmlMode:t,root:r}):A.filter(Zt(e))}function If(A){const e=this.toArray();return typeof A=="string"?fo(e.filter(W),A,this.options):A?e.some(Zt(A)):!1}function yf(A){let e=this.toArray();if(typeof A=="string"){const t=new Set(ho(A,e,this.options));e=e.filter(r=>!t.has(r))}else{const t=Zt(A);e=e.filter((r,n)=>!t(r,n))}return this._make(e)}function xf(A){return this.filter(typeof A=="string"?`:has(${A})`:(e,t)=>this._make(t).find(A).length>0)}function vf(){return this.length>1?this._make(this[0]):this}function _f(){return this.length>0?this._make(this[this.length-1]):this}function Nf(A){var e;return A=+A,A===0&&this.length<=1?this:(A<0&&(A=this.length+A),this._make((e=this[A])!==null&&e!==void 0?e:[]))}function Sf(A){return A==null?this.toArray():this[A<0?this.length+A:A]}function Lf(){return Array.prototype.slice.call(this)}function Hf(A){let e,t;return A==null?(e=this.parent().children(),t=this[0]):typeof A=="string"?(e=this._make(A),t=this[0]):(e=this,t=xe(A)?A[0]:A),Array.prototype.indexOf.call(e,t)}function Df(A,e){return this._make(Array.prototype.slice.call(this,A,e))}function Of(){var A;return(A=this.prevObject)!==null&&A!==void 0?A:this._make([])}function Rf(A,e){const t=this._make(A,e),r=Ct([...this.get(),...t.get()]);return this._make(r)}function Mf(A){return this.prevObject?this.add(A?this.prevObject.filter(A):this.prevObject):this}const kf=Object.freeze(Object.defineProperty({__proto__:null,_findBySelector:cf,add:Rf,addBack:Mf,children:bf,closest:hf,contents:Tf,each:Uf,end:Of,eq:Nf,filter:Ff,filterArray:qa,find:uf,first:vf,get:Sf,has:xf,index:Hf,is:If,last:_f,map:Qf,next:Bf,nextAll:gf,nextUntil:pf,not:yf,parent:lf,parents:df,parentsUntil:ff,prev:Ef,prevAll:mf,prevUntil:Cf,siblings:wf,slice:Df,toArray:Lf},Symbol.toStringTag,{value:"Module"}));function Pf(A){return function(t,r,n,a){if(typeof Buffer<"u"&&Buffer.isBuffer(t)&&(t=t.toString()),typeof t=="string")return A(t,r,n,a);const i=t;if(!Array.isArray(i)&&Oe(i))return i;const s=new tt([]);return it(i,s),s}}function it(A,e){const t=Array.isArray(A)?A:[A];e?e.children=t:e=null;for(let r=0;r<t.length;r++){const n=t[r];n.parent&&n.parent.children!==t&&rt(n),e?(n.prev=t[r-1]||null,n.next=t[r+1]||null):n.prev=n.next=null,n.parent=e}return e}function Kf(A,e){if(A==null)return[];if(typeof A=="string")return this._parse(A,this.options,!1,null).children.slice(0);if("length"in A){if(A.length===1)return this._makeDomArray(A[0],e);const t=[];for(let r=0;r<A.length;r++){const n=A[r];if(typeof n=="object"){if(n==null)continue;if(!("length"in n)){t.push(e?Xt(n,!0):n);continue}}t.push(...this._makeDomArray(n,e))}return t}return[e?Xt(A,!0):A]}function Eo(A){return function(...e){const t=this.length-1;return bA(this,(r,n)=>{if(!NA(r))return;const a=typeof e[0]=="function"?e[0].call(r,n,this._render(r.children)):e,i=this._makeDomArray(a,n<t);A(i,r.children,r)})}}function ke(A,e,t,r,n){var a,i;const s=[e,t,...r],u=e===0?null:A[e-1],l=e+t>=A.length?null:A[e+t];for(let d=0;d<r.length;++d){const f=r[d],h=f.parent;if(h){const m=h.children.indexOf(f);m>-1&&(h.children.splice(m,1),n===h&&e>m&&s[0]--)}f.parent=n,f.prev&&(f.prev.next=(a=f.next)!==null&&a!==void 0?a:null),f.next&&(f.next.prev=(i=f.prev)!==null&&i!==void 0?i:null),f.prev=d===0?u:r[d-1],f.next=d===r.length-1?l:r[d+1]}return u&&(u.next=r[0]),l&&(l.prev=r[r.length-1]),A.splice(...s)}function Vf(A){return(xe(A)?A:this._make(A)).append(this),this}function Gf(A){return(xe(A)?A:this._make(A)).prepend(this),this}const Yf=Eo((A,e,t)=>{ke(e,e.length,0,A,t)}),Xf=Eo((A,e,t)=>{ke(e,0,0,A,t)});function mo(A){return function(e){const t=this.length-1,r=this.parents().last();for(let n=0;n<this.length;n++){const a=this[n],i=typeof e=="function"?e.call(a,n,a):typeof e=="string"&&!va(e)?r.find(e).clone():e,[s]=this._makeDomArray(i,n<t);if(!s||!NA(s))continue;let u=s,l=0;for(;l<u.children.length;){const d=u.children[l];W(d)?(u=d,l=0):l++}A(a,u,[s])}return this}}const Wf=mo((A,e,t)=>{const{parent:r}=A;if(!r)return;const n=r.children,a=n.indexOf(A);it([A],e),ke(n,a,0,t,r)}),Jf=mo((A,e,t)=>{NA(A)&&(it(A.children,e),it(t,A))});function qf(A){return this.parent(A).not("body").each((e,t)=>{this._make(t).replaceWith(t.children)}),this}function jf(A){const e=this[0];if(e){const t=this._make(typeof A=="function"?A.call(e,0,e):A).insertBefore(e);let r;for(let a=0;a<t.length;a++)t[a].type==="tag"&&(r=t[a]);let n=0;for(;r&&n<r.children.length;){const a=r.children[n];a.type==="tag"?(r=a,n=0):n++}r&&this._make(r).append(this)}return this}function zf(...A){const e=this.length-1;return bA(this,(t,r)=>{if(!NA(t)||!t.parent)return;const n=t.parent.children,a=n.indexOf(t);if(a<0)return;const i=typeof A[0]=="function"?A[0].call(t,r,this._render(t.children)):A,s=this._makeDomArray(i,r<e);ke(n,a+1,0,s,t.parent)})}function $f(A){typeof A=="string"&&(A=this._make(A)),this.remove();const e=[];for(const t of this._makeDomArray(A)){const r=this.clone().toArray(),{parent:n}=t;if(!n)continue;const a=n.children,i=a.indexOf(t);i<0||(ke(a,i+1,0,r,n),e.push(...r))}return this._make(e)}function Zf(...A){const e=this.length-1;return bA(this,(t,r)=>{if(!NA(t)||!t.parent)return;const n=t.parent.children,a=n.indexOf(t);if(a<0)return;const i=typeof A[0]=="function"?A[0].call(t,r,this._render(t.children)):A,s=this._makeDomArray(i,r<e);ke(n,a,0,s,t.parent)})}function Ah(A){const e=this._make(A);this.remove();const t=[];return bA(e,r=>{const n=this.clone().toArray(),{parent:a}=r;if(!a)return;const i=a.children,s=i.indexOf(r);s<0||(ke(i,s,0,n,a),t.push(...n))}),this._make(t)}function eh(A){const e=A?this.filter(A):this;return bA(e,t=>{rt(t),t.prev=t.next=t.parent=null}),this}function th(A){return bA(this,(e,t)=>{const{parent:r}=e;if(!r)return;const n=r.children,a=typeof A=="function"?A.call(e,t,e):A,i=this._makeDomArray(a);it(i,null);const s=n.indexOf(e);ke(n,s,1,i,r),i.includes(e)||(e.parent=e.prev=e.next=null)})}function rh(){return bA(this,A=>{if(NA(A)){for(const e of A.children)e.next=e.prev=e.parent=null;A.children.length=0}})}function nh(A){if(A===void 0){const e=this[0];return!e||!NA(e)?null:this._render(e.children)}return bA(this,e=>{if(!NA(e))return;for(const r of e.children)r.next=r.prev=r.parent=null;const t=xe(A)?A.toArray():this._parse(`${A}`,this.options,!1,e).children;it(t,e)})}function ah(){return this._render(this)}function ih(A){return A===void 0?Wt(this):typeof A=="function"?bA(this,(e,t)=>this._make(e).text(A.call(e,t,Wt([e])))):bA(this,e=>{if(!NA(e))return;for(const r of e.children)r.next=r.prev=r.parent=null;const t=new Yt(`${A}`);it(t,e)})}function sh(){const A=Array.prototype.map.call(this.get(),t=>Xt(t,!0)),e=new tt(A);for(const t of A)t.parent=e;return this._make(A)}const oh=Object.freeze(Object.defineProperty({__proto__:null,_makeDomArray:Kf,after:zf,append:Yf,appendTo:Vf,before:Zf,clone:sh,empty:rh,html:nh,insertAfter:$f,insertBefore:Ah,prepend:Xf,prependTo:Gf,remove:eh,replaceWith:th,text:ih,toString:ah,unwrap:qf,wrap:Wf,wrapAll:jf,wrapInner:Jf},Symbol.toStringTag,{value:"Module"}));function uh(A,e){if(A!=null&&e!=null||typeof A=="object"&&!Array.isArray(A))return bA(this,(t,r)=>{W(t)&&Co(t,A,e,r)});if(this.length!==0)return wo(this[0],A)}function Co(A,e,t,r){if(typeof e=="string"){const n=wo(A),a=typeof t=="function"?t.call(A,r,n[e]):t;a===""?delete n[e]:a!=null&&(n[e]=a),A.attribs.style=ch(n)}else if(typeof e=="object"){const n=Object.keys(e);for(let a=0;a<n.length;a++){const i=n[a];Co(A,i,e[i],a)}}}function wo(A,e){if(!A||!W(A))return;const t=lh(A.attribs.style);if(typeof e=="string")return t[e];if(Array.isArray(e)){const r={};for(const n of e)t[n]!=null&&(r[n]=t[n]);return r}return t}function ch(A){return Object.keys(A).reduce((e,t)=>`${e}${e?" ":""}${t}: ${A[t]};`,"")}function lh(A){if(A=(A||"").trim(),!A)return{};const e={};let t;for(const r of A.split(";")){const n=r.indexOf(":");if(n<1||n===r.length-1){const a=r.trimEnd();a.length>0&&t!==void 0&&(e[t]+=`;${a}`)}else t=r.slice(0,n).trim(),e[t]=r.slice(n+1).trim()}return e}const dh=Object.freeze(Object.defineProperty({__proto__:null,css:uh},Symbol.toStringTag,{value:"Module"})),bo="input,select,textarea,keygen",fh=/%20/g,To=/\r?\n/g;function hh(){return this.serializeArray().map(t=>`${encodeURIComponent(t.name)}=${encodeURIComponent(t.value)}`).join("&").replace(fh,"+")}function Bh(){return this.map((A,e)=>{const t=this._make(e);return W(e)&&e.name==="form"?t.find(bo).toArray():t.filter(bo).toArray()}).filter('[name!=""]:enabled:not(:submit, :button, :image, :reset, :file):matches([checked], :not(:checkbox, :radio))').map((A,e)=>{var t;const r=this._make(e),n=r.attr("name"),a=(t=r.val())!==null&&t!==void 0?t:"";return Array.isArray(a)?a.map(i=>({name:n,value:i.replace(To,`\r
7
- `)})):{name:n,value:a.replace(To,`\r
8
- `)}}).toArray()}const gh=Object.freeze(Object.defineProperty({__proto__:null,serialize:hh,serializeArray:Bh},Symbol.toStringTag,{value:"Module"}));function ph(A){var e;return typeof A=="string"?{selector:A,value:"textContent"}:{selector:A.selector,value:(e=A.value)!==null&&e!==void 0?e:"textContent"}}function Eh(A){const e={};for(const t in A){const r=A[t],n=Array.isArray(r),{selector:a,value:i}=ph(n?r[0]:r),s=typeof i=="function"?i:typeof i=="string"?u=>this._make(u).prop(i):u=>this._make(u).extract(i);if(n)e[t]=this._findBySelector(a,Number.POSITIVE_INFINITY).map((u,l)=>s(l,t,e)).get();else{const u=this._findBySelector(a,1);e[t]=u.length>0?s(u[0],t,e):void 0}}return e}const mh=Object.freeze(Object.defineProperty({__proto__:null,extract:Eh},Symbol.toStringTag,{value:"Module"}));class Ar{constructor(e,t,r){if(this.length=0,this.options=r,this._root=t,e){for(let n=0;n<e.length;n++)this[n]=e[n];this.length=e.length}}}Ar.prototype.cheerio="[cheerio object]",Ar.prototype.splice=Array.prototype.splice,Ar.prototype[Symbol.iterator]=Array.prototype[Symbol.iterator],Object.assign(Ar.prototype,Ud,kf,oh,dh,gh,mh);function Ch(A,e){return function t(r,n,a=!0){if(r==null)throw new Error("cheerio.load() expects a string");const i=xa(n),s=A(r,i,a,null);class u extends Ar{_make(f,h){const C=l(f,h);return C.prevObject=this,C}_parse(f,h,C,m){return A(f,h,C,m)}_render(f){return e(f,this.options)}}function l(d,f,h=s,C){if(d&&xe(d))return d;const m=xa(C,i),T=typeof h=="string"?[A(h,m,!1,null)]:"length"in h?h:[h],v=xe(T)?T:new u(T,null,m);if(v._root=v,!d)return new u(void 0,v,m);const b=typeof d=="string"&&va(d)?A(d,m,!1,null).children:wh(d)?[d]:Array.isArray(d)?d:void 0,x=new u(b,v,m);if(b)return x;if(typeof d!="string")throw new TypeError("Unexpected type of selector");let D=d;const R=f?typeof f=="string"?va(f)?new u([A(f,m,!1,null)],v,m):(D=`${f} ${D}`,v):xe(f)?f:new u(Array.isArray(f)?f:[f],v,m):v;return R?R.find(D):x}return Object.assign(l,dd,{load:t,_root:s,_options:i,fn:u.prototype,prototype:u.prototype}),l}}function wh(A){return!!A.name||A.type==="root"||A.type==="text"||A.type==="comment"}const bh=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),pA="�";var B;(function(A){A[A.EOF=-1]="EOF",A[A.NULL=0]="NULL",A[A.TABULATION=9]="TABULATION",A[A.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",A[A.LINE_FEED=10]="LINE_FEED",A[A.FORM_FEED=12]="FORM_FEED",A[A.SPACE=32]="SPACE",A[A.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",A[A.QUOTATION_MARK=34]="QUOTATION_MARK",A[A.AMPERSAND=38]="AMPERSAND",A[A.APOSTROPHE=39]="APOSTROPHE",A[A.HYPHEN_MINUS=45]="HYPHEN_MINUS",A[A.SOLIDUS=47]="SOLIDUS",A[A.DIGIT_0=48]="DIGIT_0",A[A.DIGIT_9=57]="DIGIT_9",A[A.SEMICOLON=59]="SEMICOLON",A[A.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",A[A.EQUALS_SIGN=61]="EQUALS_SIGN",A[A.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",A[A.QUESTION_MARK=63]="QUESTION_MARK",A[A.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",A[A.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",A[A.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",A[A.GRAVE_ACCENT=96]="GRAVE_ACCENT",A[A.LATIN_SMALL_A=97]="LATIN_SMALL_A",A[A.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(B||(B={}));const Ae={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function Uo(A){return A>=55296&&A<=57343}function Th(A){return A>=56320&&A<=57343}function Uh(A,e){return(A-55296)*1024+9216+e}function Qo(A){return A!==32&&A!==10&&A!==13&&A!==9&&A!==12&&A>=1&&A<=31||A>=127&&A<=159}function Fo(A){return A>=64976&&A<=65007||bh.has(A)}var U;(function(A){A.controlCharacterInInputStream="control-character-in-input-stream",A.noncharacterInInputStream="noncharacter-in-input-stream",A.surrogateInInputStream="surrogate-in-input-stream",A.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",A.endTagWithAttributes="end-tag-with-attributes",A.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",A.unexpectedSolidusInTag="unexpected-solidus-in-tag",A.unexpectedNullCharacter="unexpected-null-character",A.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",A.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",A.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",A.missingEndTagName="missing-end-tag-name",A.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",A.unknownNamedCharacterReference="unknown-named-character-reference",A.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",A.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",A.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",A.eofBeforeTagName="eof-before-tag-name",A.eofInTag="eof-in-tag",A.missingAttributeValue="missing-attribute-value",A.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",A.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",A.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",A.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",A.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",A.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",A.missingDoctypePublicIdentifier="missing-doctype-public-identifier",A.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",A.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",A.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",A.cdataInHtmlContent="cdata-in-html-content",A.incorrectlyOpenedComment="incorrectly-opened-comment",A.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",A.eofInDoctype="eof-in-doctype",A.nestedComment="nested-comment",A.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",A.eofInComment="eof-in-comment",A.incorrectlyClosedComment="incorrectly-closed-comment",A.eofInCdata="eof-in-cdata",A.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",A.nullCharacterReference="null-character-reference",A.surrogateCharacterReference="surrogate-character-reference",A.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",A.controlCharacterReference="control-character-reference",A.noncharacterCharacterReference="noncharacter-character-reference",A.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",A.missingDoctypeName="missing-doctype-name",A.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",A.duplicateAttribute="duplicate-attribute",A.nonConformingDoctype="non-conforming-doctype",A.missingDoctype="missing-doctype",A.misplacedDoctype="misplaced-doctype",A.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",A.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",A.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",A.openElementsLeftAfterEof="open-elements-left-after-eof",A.abandonedHeadElementChild="abandoned-head-element-child",A.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",A.nestedNoscriptInHead="nested-noscript-in-head",A.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(U||(U={}));const Qh=65536;class Fh{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=Qh,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e,t){const{line:r,col:n,offset:a}=this,i=n+t,s=a+t;return{code:e,startLine:r,endLine:r,startCol:i,endCol:i,startOffset:s,endOffset:s}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){const t=this.html.charCodeAt(this.pos+1);if(Th(t))return this.pos++,this._addGap(),Uh(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,B.EOF;return this._err(U.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let r=0;r<e.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==e.charCodeAt(r))return!1;return!0}peek(e){const t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,B.EOF;const r=this.html.charCodeAt(t);return r===B.CARRIAGE_RETURN?B.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,B.EOF;let e=this.html.charCodeAt(this.pos);return e===B.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,B.LINE_FEED):e===B.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Uo(e)&&(e=this._processSurrogate(e)),this.handler.onParseError===null||e>31&&e<127||e===B.LINE_FEED||e===B.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){Qo(e)?this._err(U.controlCharacterInInputStream):Fo(e)&&this._err(U.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var nA;(function(A){A[A.CHARACTER=0]="CHARACTER",A[A.NULL_CHARACTER=1]="NULL_CHARACTER",A[A.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",A[A.START_TAG=3]="START_TAG",A[A.END_TAG=4]="END_TAG",A[A.COMMENT=5]="COMMENT",A[A.DOCTYPE=6]="DOCTYPE",A[A.EOF=7]="EOF",A[A.HIBERNATION=8]="HIBERNATION"})(nA||(nA={}));function Io(A,e){for(let t=A.attrs.length-1;t>=0;t--)if(A.attrs[t].name===e)return A.attrs[t].value;return null}var y;(function(A){A.HTML="http://www.w3.org/1999/xhtml",A.MATHML="http://www.w3.org/1998/Math/MathML",A.SVG="http://www.w3.org/2000/svg",A.XLINK="http://www.w3.org/1999/xlink",A.XML="http://www.w3.org/XML/1998/namespace",A.XMLNS="http://www.w3.org/2000/xmlns/"})(y||(y={}));var st;(function(A){A.TYPE="type",A.ACTION="action",A.ENCODING="encoding",A.PROMPT="prompt",A.NAME="name",A.COLOR="color",A.FACE="face",A.SIZE="size"})(st||(st={}));var ae;(function(A){A.NO_QUIRKS="no-quirks",A.QUIRKS="quirks",A.LIMITED_QUIRKS="limited-quirks"})(ae||(ae={}));var w;(function(A){A.A="a",A.ADDRESS="address",A.ANNOTATION_XML="annotation-xml",A.APPLET="applet",A.AREA="area",A.ARTICLE="article",A.ASIDE="aside",A.B="b",A.BASE="base",A.BASEFONT="basefont",A.BGSOUND="bgsound",A.BIG="big",A.BLOCKQUOTE="blockquote",A.BODY="body",A.BR="br",A.BUTTON="button",A.CAPTION="caption",A.CENTER="center",A.CODE="code",A.COL="col",A.COLGROUP="colgroup",A.DD="dd",A.DESC="desc",A.DETAILS="details",A.DIALOG="dialog",A.DIR="dir",A.DIV="div",A.DL="dl",A.DT="dt",A.EM="em",A.EMBED="embed",A.FIELDSET="fieldset",A.FIGCAPTION="figcaption",A.FIGURE="figure",A.FONT="font",A.FOOTER="footer",A.FOREIGN_OBJECT="foreignObject",A.FORM="form",A.FRAME="frame",A.FRAMESET="frameset",A.H1="h1",A.H2="h2",A.H3="h3",A.H4="h4",A.H5="h5",A.H6="h6",A.HEAD="head",A.HEADER="header",A.HGROUP="hgroup",A.HR="hr",A.HTML="html",A.I="i",A.IMG="img",A.IMAGE="image",A.INPUT="input",A.IFRAME="iframe",A.KEYGEN="keygen",A.LABEL="label",A.LI="li",A.LINK="link",A.LISTING="listing",A.MAIN="main",A.MALIGNMARK="malignmark",A.MARQUEE="marquee",A.MATH="math",A.MENU="menu",A.META="meta",A.MGLYPH="mglyph",A.MI="mi",A.MO="mo",A.MN="mn",A.MS="ms",A.MTEXT="mtext",A.NAV="nav",A.NOBR="nobr",A.NOFRAMES="noframes",A.NOEMBED="noembed",A.NOSCRIPT="noscript",A.OBJECT="object",A.OL="ol",A.OPTGROUP="optgroup",A.OPTION="option",A.P="p",A.PARAM="param",A.PLAINTEXT="plaintext",A.PRE="pre",A.RB="rb",A.RP="rp",A.RT="rt",A.RTC="rtc",A.RUBY="ruby",A.S="s",A.SCRIPT="script",A.SEARCH="search",A.SECTION="section",A.SELECT="select",A.SOURCE="source",A.SMALL="small",A.SPAN="span",A.STRIKE="strike",A.STRONG="strong",A.STYLE="style",A.SUB="sub",A.SUMMARY="summary",A.SUP="sup",A.TABLE="table",A.TBODY="tbody",A.TEMPLATE="template",A.TEXTAREA="textarea",A.TFOOT="tfoot",A.TD="td",A.TH="th",A.THEAD="thead",A.TITLE="title",A.TR="tr",A.TRACK="track",A.TT="tt",A.U="u",A.UL="ul",A.SVG="svg",A.VAR="var",A.WBR="wbr",A.XMP="xmp"})(w||(w={}));var o;(function(A){A[A.UNKNOWN=0]="UNKNOWN",A[A.A=1]="A",A[A.ADDRESS=2]="ADDRESS",A[A.ANNOTATION_XML=3]="ANNOTATION_XML",A[A.APPLET=4]="APPLET",A[A.AREA=5]="AREA",A[A.ARTICLE=6]="ARTICLE",A[A.ASIDE=7]="ASIDE",A[A.B=8]="B",A[A.BASE=9]="BASE",A[A.BASEFONT=10]="BASEFONT",A[A.BGSOUND=11]="BGSOUND",A[A.BIG=12]="BIG",A[A.BLOCKQUOTE=13]="BLOCKQUOTE",A[A.BODY=14]="BODY",A[A.BR=15]="BR",A[A.BUTTON=16]="BUTTON",A[A.CAPTION=17]="CAPTION",A[A.CENTER=18]="CENTER",A[A.CODE=19]="CODE",A[A.COL=20]="COL",A[A.COLGROUP=21]="COLGROUP",A[A.DD=22]="DD",A[A.DESC=23]="DESC",A[A.DETAILS=24]="DETAILS",A[A.DIALOG=25]="DIALOG",A[A.DIR=26]="DIR",A[A.DIV=27]="DIV",A[A.DL=28]="DL",A[A.DT=29]="DT",A[A.EM=30]="EM",A[A.EMBED=31]="EMBED",A[A.FIELDSET=32]="FIELDSET",A[A.FIGCAPTION=33]="FIGCAPTION",A[A.FIGURE=34]="FIGURE",A[A.FONT=35]="FONT",A[A.FOOTER=36]="FOOTER",A[A.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",A[A.FORM=38]="FORM",A[A.FRAME=39]="FRAME",A[A.FRAMESET=40]="FRAMESET",A[A.H1=41]="H1",A[A.H2=42]="H2",A[A.H3=43]="H3",A[A.H4=44]="H4",A[A.H5=45]="H5",A[A.H6=46]="H6",A[A.HEAD=47]="HEAD",A[A.HEADER=48]="HEADER",A[A.HGROUP=49]="HGROUP",A[A.HR=50]="HR",A[A.HTML=51]="HTML",A[A.I=52]="I",A[A.IMG=53]="IMG",A[A.IMAGE=54]="IMAGE",A[A.INPUT=55]="INPUT",A[A.IFRAME=56]="IFRAME",A[A.KEYGEN=57]="KEYGEN",A[A.LABEL=58]="LABEL",A[A.LI=59]="LI",A[A.LINK=60]="LINK",A[A.LISTING=61]="LISTING",A[A.MAIN=62]="MAIN",A[A.MALIGNMARK=63]="MALIGNMARK",A[A.MARQUEE=64]="MARQUEE",A[A.MATH=65]="MATH",A[A.MENU=66]="MENU",A[A.META=67]="META",A[A.MGLYPH=68]="MGLYPH",A[A.MI=69]="MI",A[A.MO=70]="MO",A[A.MN=71]="MN",A[A.MS=72]="MS",A[A.MTEXT=73]="MTEXT",A[A.NAV=74]="NAV",A[A.NOBR=75]="NOBR",A[A.NOFRAMES=76]="NOFRAMES",A[A.NOEMBED=77]="NOEMBED",A[A.NOSCRIPT=78]="NOSCRIPT",A[A.OBJECT=79]="OBJECT",A[A.OL=80]="OL",A[A.OPTGROUP=81]="OPTGROUP",A[A.OPTION=82]="OPTION",A[A.P=83]="P",A[A.PARAM=84]="PARAM",A[A.PLAINTEXT=85]="PLAINTEXT",A[A.PRE=86]="PRE",A[A.RB=87]="RB",A[A.RP=88]="RP",A[A.RT=89]="RT",A[A.RTC=90]="RTC",A[A.RUBY=91]="RUBY",A[A.S=92]="S",A[A.SCRIPT=93]="SCRIPT",A[A.SEARCH=94]="SEARCH",A[A.SECTION=95]="SECTION",A[A.SELECT=96]="SELECT",A[A.SOURCE=97]="SOURCE",A[A.SMALL=98]="SMALL",A[A.SPAN=99]="SPAN",A[A.STRIKE=100]="STRIKE",A[A.STRONG=101]="STRONG",A[A.STYLE=102]="STYLE",A[A.SUB=103]="SUB",A[A.SUMMARY=104]="SUMMARY",A[A.SUP=105]="SUP",A[A.TABLE=106]="TABLE",A[A.TBODY=107]="TBODY",A[A.TEMPLATE=108]="TEMPLATE",A[A.TEXTAREA=109]="TEXTAREA",A[A.TFOOT=110]="TFOOT",A[A.TD=111]="TD",A[A.TH=112]="TH",A[A.THEAD=113]="THEAD",A[A.TITLE=114]="TITLE",A[A.TR=115]="TR",A[A.TRACK=116]="TRACK",A[A.TT=117]="TT",A[A.U=118]="U",A[A.UL=119]="UL",A[A.SVG=120]="SVG",A[A.VAR=121]="VAR",A[A.WBR=122]="WBR",A[A.XMP=123]="XMP"})(o||(o={}));const Ih=new Map([[w.A,o.A],[w.ADDRESS,o.ADDRESS],[w.ANNOTATION_XML,o.ANNOTATION_XML],[w.APPLET,o.APPLET],[w.AREA,o.AREA],[w.ARTICLE,o.ARTICLE],[w.ASIDE,o.ASIDE],[w.B,o.B],[w.BASE,o.BASE],[w.BASEFONT,o.BASEFONT],[w.BGSOUND,o.BGSOUND],[w.BIG,o.BIG],[w.BLOCKQUOTE,o.BLOCKQUOTE],[w.BODY,o.BODY],[w.BR,o.BR],[w.BUTTON,o.BUTTON],[w.CAPTION,o.CAPTION],[w.CENTER,o.CENTER],[w.CODE,o.CODE],[w.COL,o.COL],[w.COLGROUP,o.COLGROUP],[w.DD,o.DD],[w.DESC,o.DESC],[w.DETAILS,o.DETAILS],[w.DIALOG,o.DIALOG],[w.DIR,o.DIR],[w.DIV,o.DIV],[w.DL,o.DL],[w.DT,o.DT],[w.EM,o.EM],[w.EMBED,o.EMBED],[w.FIELDSET,o.FIELDSET],[w.FIGCAPTION,o.FIGCAPTION],[w.FIGURE,o.FIGURE],[w.FONT,o.FONT],[w.FOOTER,o.FOOTER],[w.FOREIGN_OBJECT,o.FOREIGN_OBJECT],[w.FORM,o.FORM],[w.FRAME,o.FRAME],[w.FRAMESET,o.FRAMESET],[w.H1,o.H1],[w.H2,o.H2],[w.H3,o.H3],[w.H4,o.H4],[w.H5,o.H5],[w.H6,o.H6],[w.HEAD,o.HEAD],[w.HEADER,o.HEADER],[w.HGROUP,o.HGROUP],[w.HR,o.HR],[w.HTML,o.HTML],[w.I,o.I],[w.IMG,o.IMG],[w.IMAGE,o.IMAGE],[w.INPUT,o.INPUT],[w.IFRAME,o.IFRAME],[w.KEYGEN,o.KEYGEN],[w.LABEL,o.LABEL],[w.LI,o.LI],[w.LINK,o.LINK],[w.LISTING,o.LISTING],[w.MAIN,o.MAIN],[w.MALIGNMARK,o.MALIGNMARK],[w.MARQUEE,o.MARQUEE],[w.MATH,o.MATH],[w.MENU,o.MENU],[w.META,o.META],[w.MGLYPH,o.MGLYPH],[w.MI,o.MI],[w.MO,o.MO],[w.MN,o.MN],[w.MS,o.MS],[w.MTEXT,o.MTEXT],[w.NAV,o.NAV],[w.NOBR,o.NOBR],[w.NOFRAMES,o.NOFRAMES],[w.NOEMBED,o.NOEMBED],[w.NOSCRIPT,o.NOSCRIPT],[w.OBJECT,o.OBJECT],[w.OL,o.OL],[w.OPTGROUP,o.OPTGROUP],[w.OPTION,o.OPTION],[w.P,o.P],[w.PARAM,o.PARAM],[w.PLAINTEXT,o.PLAINTEXT],[w.PRE,o.PRE],[w.RB,o.RB],[w.RP,o.RP],[w.RT,o.RT],[w.RTC,o.RTC],[w.RUBY,o.RUBY],[w.S,o.S],[w.SCRIPT,o.SCRIPT],[w.SEARCH,o.SEARCH],[w.SECTION,o.SECTION],[w.SELECT,o.SELECT],[w.SOURCE,o.SOURCE],[w.SMALL,o.SMALL],[w.SPAN,o.SPAN],[w.STRIKE,o.STRIKE],[w.STRONG,o.STRONG],[w.STYLE,o.STYLE],[w.SUB,o.SUB],[w.SUMMARY,o.SUMMARY],[w.SUP,o.SUP],[w.TABLE,o.TABLE],[w.TBODY,o.TBODY],[w.TEMPLATE,o.TEMPLATE],[w.TEXTAREA,o.TEXTAREA],[w.TFOOT,o.TFOOT],[w.TD,o.TD],[w.TH,o.TH],[w.THEAD,o.THEAD],[w.TITLE,o.TITLE],[w.TR,o.TR],[w.TRACK,o.TRACK],[w.TT,o.TT],[w.U,o.U],[w.UL,o.UL],[w.SVG,o.SVG],[w.VAR,o.VAR],[w.WBR,o.WBR],[w.XMP,o.XMP]]);function nn(A){var e;return(e=Ih.get(A))!==null&&e!==void 0?e:o.UNKNOWN}const S=o,yh={[y.HTML]:new Set([S.ADDRESS,S.APPLET,S.AREA,S.ARTICLE,S.ASIDE,S.BASE,S.BASEFONT,S.BGSOUND,S.BLOCKQUOTE,S.BODY,S.BR,S.BUTTON,S.CAPTION,S.CENTER,S.COL,S.COLGROUP,S.DD,S.DETAILS,S.DIR,S.DIV,S.DL,S.DT,S.EMBED,S.FIELDSET,S.FIGCAPTION,S.FIGURE,S.FOOTER,S.FORM,S.FRAME,S.FRAMESET,S.H1,S.H2,S.H3,S.H4,S.H5,S.H6,S.HEAD,S.HEADER,S.HGROUP,S.HR,S.HTML,S.IFRAME,S.IMG,S.INPUT,S.LI,S.LINK,S.LISTING,S.MAIN,S.MARQUEE,S.MENU,S.META,S.NAV,S.NOEMBED,S.NOFRAMES,S.NOSCRIPT,S.OBJECT,S.OL,S.P,S.PARAM,S.PLAINTEXT,S.PRE,S.SCRIPT,S.SECTION,S.SELECT,S.SOURCE,S.STYLE,S.SUMMARY,S.TABLE,S.TBODY,S.TD,S.TEMPLATE,S.TEXTAREA,S.TFOOT,S.TH,S.THEAD,S.TITLE,S.TR,S.TRACK,S.UL,S.WBR,S.XMP]),[y.MATHML]:new Set([S.MI,S.MO,S.MN,S.MS,S.MTEXT,S.ANNOTATION_XML]),[y.SVG]:new Set([S.TITLE,S.FOREIGN_OBJECT,S.DESC]),[y.XLINK]:new Set,[y.XML]:new Set,[y.XMLNS]:new Set},ja=new Set([S.H1,S.H2,S.H3,S.H4,S.H5,S.H6]),xh=new Set([w.STYLE,w.SCRIPT,w.XMP,w.IFRAME,w.NOEMBED,w.NOFRAMES,w.PLAINTEXT]);function vh(A,e){return xh.has(A)||e&&A===w.NOSCRIPT}var g;(function(A){A[A.DATA=0]="DATA",A[A.RCDATA=1]="RCDATA",A[A.RAWTEXT=2]="RAWTEXT",A[A.SCRIPT_DATA=3]="SCRIPT_DATA",A[A.PLAINTEXT=4]="PLAINTEXT",A[A.TAG_OPEN=5]="TAG_OPEN",A[A.END_TAG_OPEN=6]="END_TAG_OPEN",A[A.TAG_NAME=7]="TAG_NAME",A[A.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",A[A.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",A[A.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",A[A.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",A[A.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",A[A.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",A[A.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",A[A.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",A[A.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",A[A.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",A[A.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",A[A.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",A[A.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",A[A.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",A[A.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",A[A.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",A[A.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",A[A.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",A[A.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",A[A.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",A[A.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",A[A.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",A[A.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",A[A.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",A[A.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",A[A.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",A[A.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",A[A.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",A[A.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",A[A.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",A[A.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",A[A.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",A[A.BOGUS_COMMENT=40]="BOGUS_COMMENT",A[A.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",A[A.COMMENT_START=42]="COMMENT_START",A[A.COMMENT_START_DASH=43]="COMMENT_START_DASH",A[A.COMMENT=44]="COMMENT",A[A.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",A[A.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",A[A.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",A[A.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",A[A.COMMENT_END_DASH=49]="COMMENT_END_DASH",A[A.COMMENT_END=50]="COMMENT_END",A[A.COMMENT_END_BANG=51]="COMMENT_END_BANG",A[A.DOCTYPE=52]="DOCTYPE",A[A.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",A[A.DOCTYPE_NAME=54]="DOCTYPE_NAME",A[A.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",A[A.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",A[A.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",A[A.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",A[A.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",A[A.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",A[A.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",A[A.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",A[A.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",A[A.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",A[A.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",A[A.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",A[A.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",A[A.CDATA_SECTION=68]="CDATA_SECTION",A[A.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",A[A.CDATA_SECTION_END=70]="CDATA_SECTION_END",A[A.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",A[A.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(g||(g={}));const ee={DATA:g.DATA,RCDATA:g.RCDATA,RAWTEXT:g.RAWTEXT,SCRIPT_DATA:g.SCRIPT_DATA,PLAINTEXT:g.PLAINTEXT,CDATA_SECTION:g.CDATA_SECTION};function _h(A){return A>=B.DIGIT_0&&A<=B.DIGIT_9}function er(A){return A>=B.LATIN_CAPITAL_A&&A<=B.LATIN_CAPITAL_Z}function Nh(A){return A>=B.LATIN_SMALL_A&&A<=B.LATIN_SMALL_Z}function Pe(A){return Nh(A)||er(A)}function yo(A){return Pe(A)||_h(A)}function an(A){return A+32}function xo(A){return A===B.SPACE||A===B.LINE_FEED||A===B.TABULATION||A===B.FORM_FEED}function vo(A){return xo(A)||A===B.SOLIDUS||A===B.GREATER_THAN_SIGN}function Sh(A){return A===B.NULL?U.nullCharacterReference:A>1114111?U.characterReferenceOutsideUnicodeRange:Uo(A)?U.surrogateCharacterReference:Fo(A)?U.noncharacterCharacterReference:Qo(A)||A===B.CARRIAGE_RETURN?U.controlCharacterReference:null}let Lh=class{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=g.DATA,this.returnState=g.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Fh(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Ua(Ca,(r,n)=>{this.preprocessor.pos=this.entityStartPos+n-1,this._flushCodePointConsumedAsCharacterReference(r)},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(U.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(U.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)},validateNumericCharacterReference:r=>{const n=Sh(r);n&&this._err(n,1)}}:void 0)}_err(e,t=0){var r,n;(n=(r=this.handler).onParseError)===null||n===void 0||n.call(r,this.preprocessor.getError(e,t))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||e==null||e())}write(e,t,r){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||r==null||r()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,t){return this.preprocessor.startsWith(e,t)?(this._advanceBy(e.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:nA.START_TAG,tagName:"",tagID:o.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:nA.END_TAG,tagName:"",tagID:o.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:nA.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:nA.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e,t;const r=this.currentToken;if(Io(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const n=(e=(t=r.location).attrs)!==null&&e!==void 0?e:t.attrs=Object.create(null);n[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(U.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const e=this.currentToken;this.prepareToken(e),e.tagID=nn(e.tagName),e.type===nA.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(U.endTagWithAttributes),e.selfClosing&&this._err(U.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case nA.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case nA.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case nA.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:nA.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken)if(this.currentCharacterToken.type===e){this.currentCharacterToken.chars+=t;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(e,t)}_emitCodePoint(e){const t=xo(e)?nA.WHITESPACE_CHARACTER:e===B.NULL?nA.NULL_CHARACTER:nA.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(nA.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=g.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?oe.Attribute:oe.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===g.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===g.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===g.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case g.DATA:{this._stateData(e);break}case g.RCDATA:{this._stateRcdata(e);break}case g.RAWTEXT:{this._stateRawtext(e);break}case g.SCRIPT_DATA:{this._stateScriptData(e);break}case g.PLAINTEXT:{this._statePlaintext(e);break}case g.TAG_OPEN:{this._stateTagOpen(e);break}case g.END_TAG_OPEN:{this._stateEndTagOpen(e);break}case g.TAG_NAME:{this._stateTagName(e);break}case g.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(e);break}case g.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(e);break}case g.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(e);break}case g.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(e);break}case g.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(e);break}case g.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(e);break}case g.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(e);break}case g.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(e);break}case g.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(e);break}case g.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(e);break}case g.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(e);break}case g.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(e);break}case g.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(e);break}case g.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(e);break}case g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(e);break}case g.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(e);break}case g.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(e);break}case g.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(e);break}case g.ATTRIBUTE_NAME:{this._stateAttributeName(e);break}case g.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(e);break}case g.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(e);break}case g.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(e);break}case g.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(e);break}case g.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(e);break}case g.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(e);break}case g.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(e);break}case g.BOGUS_COMMENT:{this._stateBogusComment(e);break}case g.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(e);break}case g.COMMENT_START:{this._stateCommentStart(e);break}case g.COMMENT_START_DASH:{this._stateCommentStartDash(e);break}case g.COMMENT:{this._stateComment(e);break}case g.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(e);break}case g.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(e);break}case g.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(e);break}case g.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(e);break}case g.COMMENT_END_DASH:{this._stateCommentEndDash(e);break}case g.COMMENT_END:{this._stateCommentEnd(e);break}case g.COMMENT_END_BANG:{this._stateCommentEndBang(e);break}case g.DOCTYPE:{this._stateDoctype(e);break}case g.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(e);break}case g.DOCTYPE_NAME:{this._stateDoctypeName(e);break}case g.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(e);break}case g.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(e);break}case g.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(e);break}case g.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(e);break}case g.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(e);break}case g.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(e);break}case g.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break}case g.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(e);break}case g.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(e);break}case g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(e);break}case g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(e);break}case g.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(e);break}case g.BOGUS_DOCTYPE:{this._stateBogusDoctype(e);break}case g.CDATA_SECTION:{this._stateCdataSection(e);break}case g.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(e);break}case g.CDATA_SECTION_END:{this._stateCdataSectionEnd(e);break}case g.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case g.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(e);break}default:throw new Error("Unknown state")}}_stateData(e){switch(e){case B.LESS_THAN_SIGN:{this.state=g.TAG_OPEN;break}case B.AMPERSAND:{this._startCharacterReference();break}case B.NULL:{this._err(U.unexpectedNullCharacter),this._emitCodePoint(e);break}case B.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case B.AMPERSAND:{this._startCharacterReference();break}case B.LESS_THAN_SIGN:{this.state=g.RCDATA_LESS_THAN_SIGN;break}case B.NULL:{this._err(U.unexpectedNullCharacter),this._emitChars(pA);break}case B.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case B.LESS_THAN_SIGN:{this.state=g.RAWTEXT_LESS_THAN_SIGN;break}case B.NULL:{this._err(U.unexpectedNullCharacter),this._emitChars(pA);break}case B.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_LESS_THAN_SIGN;break}case B.NULL:{this._err(U.unexpectedNullCharacter),this._emitChars(pA);break}case B.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case B.NULL:{this._err(U.unexpectedNullCharacter),this._emitChars(pA);break}case B.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateTagOpen(e){if(Pe(e))this._createStartTagToken(),this.state=g.TAG_NAME,this._stateTagName(e);else switch(e){case B.EXCLAMATION_MARK:{this.state=g.MARKUP_DECLARATION_OPEN;break}case B.SOLIDUS:{this.state=g.END_TAG_OPEN;break}case B.QUESTION_MARK:{this._err(U.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=g.BOGUS_COMMENT,this._stateBogusComment(e);break}case B.EOF:{this._err(U.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(U.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=g.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(Pe(e))this._createEndTagToken(),this.state=g.TAG_NAME,this._stateTagName(e);else switch(e){case B.GREATER_THAN_SIGN:{this._err(U.missingEndTagName),this.state=g.DATA;break}case B.EOF:{this._err(U.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(U.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=g.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.BEFORE_ATTRIBUTE_NAME;break}case B.SOLIDUS:{this.state=g.SELF_CLOSING_START_TAG;break}case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentTagToken();break}case B.NULL:{this._err(U.unexpectedNullCharacter),t.tagName+=pA;break}case B.EOF:{this._err(U.eofInTag),this._emitEOFToken();break}default:t.tagName+=String.fromCodePoint(er(e)?an(e):e)}}_stateRcdataLessThanSign(e){e===B.SOLIDUS?this.state=g.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=g.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){Pe(e)?(this.state=g.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=g.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const t=this.currentToken;switch(t.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=g.BEFORE_ATTRIBUTE_NAME,!1;case B.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=g.SELF_CLOSING_START_TAG,!1;case B.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=g.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=g.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===B.SOLIDUS?this.state=g.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=g.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){Pe(e)?(this.state=g.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=g.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=g.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case B.SOLIDUS:{this.state=g.SCRIPT_DATA_END_TAG_OPEN;break}case B.EXCLAMATION_MARK:{this.state=g.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=g.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){Pe(e)?(this.state=g.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=g.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=g.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===B.HYPHEN_MINUS?(this.state=g.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=g.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===B.HYPHEN_MINUS?(this.state=g.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=g.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case B.HYPHEN_MINUS:{this.state=g.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case B.NULL:{this._err(U.unexpectedNullCharacter),this._emitChars(pA);break}case B.EOF:{this._err(U.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case B.HYPHEN_MINUS:{this.state=g.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case B.NULL:{this._err(U.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_ESCAPED,this._emitChars(pA);break}case B.EOF:{this._err(U.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case B.HYPHEN_MINUS:{this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case B.GREATER_THAN_SIGN:{this.state=g.SCRIPT_DATA,this._emitChars(">");break}case B.NULL:{this._err(U.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_ESCAPED,this._emitChars(pA);break}case B.EOF:{this._err(U.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===B.SOLIDUS?this.state=g.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Pe(e)?(this._emitChars("<"),this.state=g.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){Pe(e)?(this.state=g.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(Ae.SCRIPT,!1)&&vo(this.preprocessor.peek(Ae.SCRIPT.length))){this._emitCodePoint(e);for(let t=0;t<Ae.SCRIPT.length;t++)this._emitCodePoint(this._consume());this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case B.HYPHEN_MINUS:{this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case B.NULL:{this._err(U.unexpectedNullCharacter),this._emitChars(pA);break}case B.EOF:{this._err(U.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case B.HYPHEN_MINUS:{this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case B.NULL:{this._err(U.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(pA);break}case B.EOF:{this._err(U.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case B.HYPHEN_MINUS:{this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case B.GREATER_THAN_SIGN:{this.state=g.SCRIPT_DATA,this._emitChars(">");break}case B.NULL:{this._err(U.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(pA);break}case B.EOF:{this._err(U.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===B.SOLIDUS?(this.state=g.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(Ae.SCRIPT,!1)&&vo(this.preprocessor.peek(Ae.SCRIPT.length))){this._emitCodePoint(e);for(let t=0;t<Ae.SCRIPT.length;t++)this._emitCodePoint(this._consume());this.state=g.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.SOLIDUS:case B.GREATER_THAN_SIGN:case B.EOF:{this.state=g.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break}case B.EQUALS_SIGN:{this._err(U.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=g.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=g.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:case B.SOLIDUS:case B.GREATER_THAN_SIGN:case B.EOF:{this._leaveAttrName(),this.state=g.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break}case B.EQUALS_SIGN:{this._leaveAttrName(),this.state=g.BEFORE_ATTRIBUTE_VALUE;break}case B.QUOTATION_MARK:case B.APOSTROPHE:case B.LESS_THAN_SIGN:{this._err(U.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break}case B.NULL:{this._err(U.unexpectedNullCharacter),this.currentAttr.name+=pA;break}default:this.currentAttr.name+=String.fromCodePoint(er(e)?an(e):e)}}_stateAfterAttributeName(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.SOLIDUS:{this.state=g.SELF_CLOSING_START_TAG;break}case B.EQUALS_SIGN:{this.state=g.BEFORE_ATTRIBUTE_VALUE;break}case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentTagToken();break}case B.EOF:{this._err(U.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=g.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.QUOTATION_MARK:{this.state=g.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case B.APOSTROPHE:{this.state=g.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case B.GREATER_THAN_SIGN:{this._err(U.missingAttributeValue),this.state=g.DATA,this.emitCurrentTagToken();break}default:this.state=g.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case B.QUOTATION_MARK:{this.state=g.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case B.AMPERSAND:{this._startCharacterReference();break}case B.NULL:{this._err(U.unexpectedNullCharacter),this.currentAttr.value+=pA;break}case B.EOF:{this._err(U.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case B.APOSTROPHE:{this.state=g.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case B.AMPERSAND:{this._startCharacterReference();break}case B.NULL:{this._err(U.unexpectedNullCharacter),this.currentAttr.value+=pA;break}case B.EOF:{this._err(U.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this._leaveAttrValue(),this.state=g.BEFORE_ATTRIBUTE_NAME;break}case B.AMPERSAND:{this._startCharacterReference();break}case B.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=g.DATA,this.emitCurrentTagToken();break}case B.NULL:{this._err(U.unexpectedNullCharacter),this.currentAttr.value+=pA;break}case B.QUOTATION_MARK:case B.APOSTROPHE:case B.LESS_THAN_SIGN:case B.EQUALS_SIGN:case B.GRAVE_ACCENT:{this._err(U.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break}case B.EOF:{this._err(U.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this._leaveAttrValue(),this.state=g.BEFORE_ATTRIBUTE_NAME;break}case B.SOLIDUS:{this._leaveAttrValue(),this.state=g.SELF_CLOSING_START_TAG;break}case B.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=g.DATA,this.emitCurrentTagToken();break}case B.EOF:{this._err(U.eofInTag),this._emitEOFToken();break}default:this._err(U.missingWhitespaceBetweenAttributes),this.state=g.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case B.GREATER_THAN_SIGN:{const t=this.currentToken;t.selfClosing=!0,this.state=g.DATA,this.emitCurrentTagToken();break}case B.EOF:{this._err(U.eofInTag),this._emitEOFToken();break}default:this._err(U.unexpectedSolidusInTag),this.state=g.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){const t=this.currentToken;switch(e){case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentComment(t);break}case B.EOF:{this.emitCurrentComment(t),this._emitEOFToken();break}case B.NULL:{this._err(U.unexpectedNullCharacter),t.data+=pA;break}default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch(Ae.DASH_DASH,!0)?(this._createCommentToken(Ae.DASH_DASH.length+1),this.state=g.COMMENT_START):this._consumeSequenceIfMatch(Ae.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Ae.DOCTYPE.length+1),this.state=g.DOCTYPE):this._consumeSequenceIfMatch(Ae.CDATA_START,!0)?this.inForeignNode?this.state=g.CDATA_SECTION:(this._err(U.cdataInHtmlContent),this._createCommentToken(Ae.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=g.BOGUS_COMMENT):this._ensureHibernation()||(this._err(U.incorrectlyOpenedComment),this._createCommentToken(2),this.state=g.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case B.HYPHEN_MINUS:{this.state=g.COMMENT_START_DASH;break}case B.GREATER_THAN_SIGN:{this._err(U.abruptClosingOfEmptyComment),this.state=g.DATA;const t=this.currentToken;this.emitCurrentComment(t);break}default:this.state=g.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){const t=this.currentToken;switch(e){case B.HYPHEN_MINUS:{this.state=g.COMMENT_END;break}case B.GREATER_THAN_SIGN:{this._err(U.abruptClosingOfEmptyComment),this.state=g.DATA,this.emitCurrentComment(t);break}case B.EOF:{this._err(U.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break}default:t.data+="-",this.state=g.COMMENT,this._stateComment(e)}}_stateComment(e){const t=this.currentToken;switch(e){case B.HYPHEN_MINUS:{this.state=g.COMMENT_END_DASH;break}case B.LESS_THAN_SIGN:{t.data+="<",this.state=g.COMMENT_LESS_THAN_SIGN;break}case B.NULL:{this._err(U.unexpectedNullCharacter),t.data+=pA;break}case B.EOF:{this._err(U.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break}default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){const t=this.currentToken;switch(e){case B.EXCLAMATION_MARK:{t.data+="!",this.state=g.COMMENT_LESS_THAN_SIGN_BANG;break}case B.LESS_THAN_SIGN:{t.data+="<";break}default:this.state=g.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===B.HYPHEN_MINUS?this.state=g.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=g.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===B.HYPHEN_MINUS?this.state=g.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=g.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==B.GREATER_THAN_SIGN&&e!==B.EOF&&this._err(U.nestedComment),this.state=g.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){const t=this.currentToken;switch(e){case B.HYPHEN_MINUS:{this.state=g.COMMENT_END;break}case B.EOF:{this._err(U.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break}default:t.data+="-",this.state=g.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){const t=this.currentToken;switch(e){case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentComment(t);break}case B.EXCLAMATION_MARK:{this.state=g.COMMENT_END_BANG;break}case B.HYPHEN_MINUS:{t.data+="-";break}case B.EOF:{this._err(U.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break}default:t.data+="--",this.state=g.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){const t=this.currentToken;switch(e){case B.HYPHEN_MINUS:{t.data+="--!",this.state=g.COMMENT_END_DASH;break}case B.GREATER_THAN_SIGN:{this._err(U.incorrectlyClosedComment),this.state=g.DATA,this.emitCurrentComment(t);break}case B.EOF:{this._err(U.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break}default:t.data+="--!",this.state=g.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.BEFORE_DOCTYPE_NAME;break}case B.GREATER_THAN_SIGN:{this.state=g.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break}case B.EOF:{this._err(U.eofInDoctype),this._createDoctypeToken(null);const t=this.currentToken;t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(U.missingWhitespaceBeforeDoctypeName),this.state=g.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(er(e))this._createDoctypeToken(String.fromCharCode(an(e))),this.state=g.DOCTYPE_NAME;else switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.NULL:{this._err(U.unexpectedNullCharacter),this._createDoctypeToken(pA),this.state=g.DOCTYPE_NAME;break}case B.GREATER_THAN_SIGN:{this._err(U.missingDoctypeName),this._createDoctypeToken(null);const t=this.currentToken;t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(U.eofInDoctype),this._createDoctypeToken(null);const t=this.currentToken;t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=g.DOCTYPE_NAME}}_stateDoctypeName(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.AFTER_DOCTYPE_NAME;break}case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.NULL:{this._err(U.unexpectedNullCharacter),t.name+=pA;break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:t.name+=String.fromCodePoint(er(e)?an(e):e)}}_stateAfterDoctypeName(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Ae.PUBLIC,!1)?this.state=g.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Ae.SYSTEM,!1)?this.state=g.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(U.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case B.QUOTATION_MARK:{this._err(U.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=g.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{this._err(U.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=g.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case B.GREATER_THAN_SIGN:{this._err(U.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(U.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.QUOTATION_MARK:{t.publicId="",this.state=g.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{t.publicId="",this.state=g.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case B.GREATER_THAN_SIGN:{this._err(U.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(U.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case B.QUOTATION_MARK:{this.state=g.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case B.NULL:{this._err(U.unexpectedNullCharacter),t.publicId+=pA;break}case B.GREATER_THAN_SIGN:{this._err(U.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case B.APOSTROPHE:{this.state=g.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case B.NULL:{this._err(U.unexpectedNullCharacter),t.publicId+=pA;break}case B.GREATER_THAN_SIGN:{this._err(U.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.QUOTATION_MARK:{this._err(U.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{this._err(U.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(U.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.GREATER_THAN_SIGN:{this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.QUOTATION_MARK:{t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(U.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case B.QUOTATION_MARK:{this._err(U.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{this._err(U.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case B.GREATER_THAN_SIGN:{this._err(U.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(U.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.QUOTATION_MARK:{t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case B.GREATER_THAN_SIGN:{this._err(U.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(U.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case B.QUOTATION_MARK:{this.state=g.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case B.NULL:{this._err(U.unexpectedNullCharacter),t.systemId+=pA;break}case B.GREATER_THAN_SIGN:{this._err(U.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case B.APOSTROPHE:{this.state=g.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case B.NULL:{this._err(U.unexpectedNullCharacter),t.systemId+=pA;break}case B.GREATER_THAN_SIGN:{this._err(U.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.GREATER_THAN_SIGN:{this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(U.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){const t=this.currentToken;switch(e){case B.GREATER_THAN_SIGN:{this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.NULL:{this._err(U.unexpectedNullCharacter);break}case B.EOF:{this.emitCurrentDoctype(t),this._emitEOFToken();break}}}_stateCdataSection(e){switch(e){case B.RIGHT_SQUARE_BRACKET:{this.state=g.CDATA_SECTION_BRACKET;break}case B.EOF:{this._err(U.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===B.RIGHT_SQUARE_BRACKET?this.state=g.CDATA_SECTION_END:(this._emitChars("]"),this.state=g.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case B.GREATER_THAN_SIGN:{this.state=g.DATA;break}case B.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=g.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(){let e=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(e<0)if(this.preprocessor.lastChunkWritten)e=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}e===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(B.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&yo(this.preprocessor.peek(1))?g.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){yo(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===B.SEMICOLON&&this._err(U.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}};const _o=new Set([o.DD,o.DT,o.LI,o.OPTGROUP,o.OPTION,o.P,o.RB,o.RP,o.RT,o.RTC]),No=new Set([..._o,o.CAPTION,o.COLGROUP,o.TBODY,o.TD,o.TFOOT,o.TH,o.THEAD,o.TR]),sn=new Set([o.APPLET,o.CAPTION,o.HTML,o.MARQUEE,o.OBJECT,o.TABLE,o.TD,o.TEMPLATE,o.TH]),Hh=new Set([...sn,o.OL,o.UL]),Dh=new Set([...sn,o.BUTTON]),So=new Set([o.ANNOTATION_XML,o.MI,o.MN,o.MO,o.MS,o.MTEXT]),Lo=new Set([o.DESC,o.FOREIGN_OBJECT,o.TITLE]),Oh=new Set([o.TR,o.TEMPLATE,o.HTML]),Rh=new Set([o.TBODY,o.TFOOT,o.THEAD,o.TEMPLATE,o.HTML]),Mh=new Set([o.TABLE,o.TEMPLATE,o.HTML]),kh=new Set([o.TD,o.TH]);class Ph{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,r){this.treeAdapter=t,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=o.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===o.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===y.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){const e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){const r=this._indexOf(e);this.items[r]=t,r===this.stackTop&&(this.current=t)}insertAfter(e,t,r){const n=this._indexOf(e)+1;this.items.splice(n,0,t),this.tagIDs.splice(n,0,r),this.stackTop++,n===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,n===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==y.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){const t=this._indexOf(e);this.shortenToLength(t<0?0:t)}popUntilPopped(e,t){const r=this._indexOfTagNames(e,t);this.shortenToLength(r<0?0:r)}popUntilNumberedHeaderPopped(){this.popUntilPopped(ja,y.HTML)}popUntilTableCellPopped(){this.popUntilPopped(kh,y.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,t){for(let r=this.stackTop;r>=0;r--)if(e.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===t)return r;return-1}clearBackTo(e,t){const r=this._indexOfTagNames(e,t);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(Mh,y.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Rh,y.HTML)}clearBackToTableRowContext(){this.clearBackTo(Oh,y.HTML)}remove(e){const t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===o.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){const t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===o.HTML}hasInDynamicScope(e,t){for(let r=this.stackTop;r>=0;r--){const n=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case y.HTML:{if(n===e)return!0;if(t.has(n))return!1;break}case y.SVG:{if(Lo.has(n))return!1;break}case y.MATHML:{if(So.has(n))return!1;break}}}return!0}hasInScope(e){return this.hasInDynamicScope(e,sn)}hasInListItemScope(e){return this.hasInDynamicScope(e,Hh)}hasInButtonScope(e){return this.hasInDynamicScope(e,Dh)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case y.HTML:{if(ja.has(t))return!0;if(sn.has(t))return!1;break}case y.SVG:{if(Lo.has(t))return!1;break}case y.MATHML:{if(So.has(t))return!1;break}}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===y.HTML)switch(this.tagIDs[t]){case e:return!0;case o.TABLE:case o.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===y.HTML)switch(this.tagIDs[e]){case o.TBODY:case o.THEAD:case o.TFOOT:return!0;case o.TABLE:case o.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===y.HTML)switch(this.tagIDs[t]){case e:return!0;case o.OPTION:case o.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;_o.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;No.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&No.has(this.currentTagId);)this.pop()}}const za=3;var be;(function(A){A[A.Marker=0]="Marker",A[A.Element=1]="Element"})(be||(be={}));const Ho={type:be.Marker};class Kh{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){const r=[],n=t.length,a=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let s=0;s<this.entries.length;s++){const u=this.entries[s];if(u.type===be.Marker)break;const{element:l}=u;if(this.treeAdapter.getTagName(l)===a&&this.treeAdapter.getNamespaceURI(l)===i){const d=this.treeAdapter.getAttrList(l);d.length===n&&r.push({idx:s,attrs:d})}}return r}_ensureNoahArkCondition(e){if(this.entries.length<za)return;const t=this.treeAdapter.getAttrList(e),r=this._getNoahArkConditionCandidates(e,t);if(r.length<za)return;const n=new Map(t.map(i=>[i.name,i.value]));let a=0;for(let i=0;i<r.length;i++){const s=r[i];s.attrs.every(u=>n.get(u.name)===u.value)&&(a+=1,a>=za&&this.entries.splice(s.idx,1))}}insertMarker(){this.entries.unshift(Ho)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:be.Element,element:e,token:t})}insertElementAfterBookmark(e,t){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:be.Element,element:e,token:t})}removeEntry(e){const t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){const e=this.entries.indexOf(Ho);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){const t=this.entries.find(r=>r.type===be.Marker||this.treeAdapter.getTagName(r.element)===e);return t&&t.type===be.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===be.Element&&t.element===e)}}const ve={createDocument(){return{nodeName:"#document",mode:ae.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(A,e,t){return{nodeName:A,tagName:A,attrs:t,namespaceURI:e,childNodes:[],parentNode:null}},createCommentNode(A){return{nodeName:"#comment",data:A,parentNode:null}},createTextNode(A){return{nodeName:"#text",value:A,parentNode:null}},appendChild(A,e){A.childNodes.push(e),e.parentNode=A},insertBefore(A,e,t){const r=A.childNodes.indexOf(t);A.childNodes.splice(r,0,e),e.parentNode=A},setTemplateContent(A,e){A.content=e},getTemplateContent(A){return A.content},setDocumentType(A,e,t,r){const n=A.childNodes.find(a=>a.nodeName==="#documentType");if(n)n.name=e,n.publicId=t,n.systemId=r;else{const a={nodeName:"#documentType",name:e,publicId:t,systemId:r,parentNode:null};ve.appendChild(A,a)}},setDocumentMode(A,e){A.mode=e},getDocumentMode(A){return A.mode},detachNode(A){if(A.parentNode){const e=A.parentNode.childNodes.indexOf(A);A.parentNode.childNodes.splice(e,1),A.parentNode=null}},insertText(A,e){if(A.childNodes.length>0){const t=A.childNodes[A.childNodes.length-1];if(ve.isTextNode(t)){t.value+=e;return}}ve.appendChild(A,ve.createTextNode(e))},insertTextBefore(A,e,t){const r=A.childNodes[A.childNodes.indexOf(t)-1];r&&ve.isTextNode(r)?r.value+=e:ve.insertBefore(A,ve.createTextNode(e),t)},adoptAttributes(A,e){const t=new Set(A.attrs.map(r=>r.name));for(let r=0;r<e.length;r++)t.has(e[r].name)||A.attrs.push(e[r])},getFirstChild(A){return A.childNodes[0]},getChildNodes(A){return A.childNodes},getParentNode(A){return A.parentNode},getAttrList(A){return A.attrs},getTagName(A){return A.tagName},getNamespaceURI(A){return A.namespaceURI},getTextNodeContent(A){return A.value},getCommentNodeContent(A){return A.data},getDocumentTypeNodeName(A){return A.name},getDocumentTypeNodePublicId(A){return A.publicId},getDocumentTypeNodeSystemId(A){return A.systemId},isTextNode(A){return A.nodeName==="#text"},isCommentNode(A){return A.nodeName==="#comment"},isDocumentTypeNode(A){return A.nodeName==="#documentType"},isElementNode(A){return Object.prototype.hasOwnProperty.call(A,"tagName")},setNodeSourceCodeLocation(A,e){A.sourceCodeLocation=e},getNodeSourceCodeLocation(A){return A.sourceCodeLocation},updateNodeSourceCodeLocation(A,e){A.sourceCodeLocation={...A.sourceCodeLocation,...e}}},Do="html",Vh="about:legacy-compat",Gh="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",Oo=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],Yh=[...Oo,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],Xh=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Ro=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],Wh=[...Ro,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Mo(A,e){return e.some(t=>A.startsWith(t))}function Jh(A){return A.name===Do&&A.publicId===null&&(A.systemId===null||A.systemId===Vh)}function qh(A){if(A.name!==Do)return ae.QUIRKS;const{systemId:e}=A;if(e&&e.toLowerCase()===Gh)return ae.QUIRKS;let{publicId:t}=A;if(t!==null){if(t=t.toLowerCase(),Xh.has(t))return ae.QUIRKS;let r=e===null?Yh:Oo;if(Mo(t,r))return ae.QUIRKS;if(r=e===null?Ro:Wh,Mo(t,r))return ae.LIMITED_QUIRKS}return ae.NO_QUIRKS}const ko={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},jh="definitionurl",zh="definitionURL",$h=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(A=>[A.toLowerCase(),A])),Zh=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:y.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:y.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:y.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:y.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:y.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:y.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:y.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:y.XML}],["xml:space",{prefix:"xml",name:"space",namespace:y.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:y.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:y.XMLNS}]]),AB=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(A=>[A.toLowerCase(),A])),eB=new Set([o.B,o.BIG,o.BLOCKQUOTE,o.BODY,o.BR,o.CENTER,o.CODE,o.DD,o.DIV,o.DL,o.DT,o.EM,o.EMBED,o.H1,o.H2,o.H3,o.H4,o.H5,o.H6,o.HEAD,o.HR,o.I,o.IMG,o.LI,o.LISTING,o.MENU,o.META,o.NOBR,o.OL,o.P,o.PRE,o.RUBY,o.S,o.SMALL,o.SPAN,o.STRONG,o.STRIKE,o.SUB,o.SUP,o.TABLE,o.TT,o.U,o.UL,o.VAR]);function tB(A){const e=A.tagID;return e===o.FONT&&A.attrs.some(({name:r})=>r===st.COLOR||r===st.SIZE||r===st.FACE)||eB.has(e)}function Po(A){for(let e=0;e<A.attrs.length;e++)if(A.attrs[e].name===jh){A.attrs[e].name=zh;break}}function Ko(A){for(let e=0;e<A.attrs.length;e++){const t=$h.get(A.attrs[e].name);t!=null&&(A.attrs[e].name=t)}}function $a(A){for(let e=0;e<A.attrs.length;e++){const t=Zh.get(A.attrs[e].name);t&&(A.attrs[e].prefix=t.prefix,A.attrs[e].name=t.name,A.attrs[e].namespace=t.namespace)}}function rB(A){const e=AB.get(A.tagName);e!=null&&(A.tagName=e,A.tagID=nn(A.tagName))}function nB(A,e){return e===y.MATHML&&(A===o.MI||A===o.MO||A===o.MN||A===o.MS||A===o.MTEXT)}function aB(A,e,t){if(e===y.MATHML&&A===o.ANNOTATION_XML){for(let r=0;r<t.length;r++)if(t[r].name===st.ENCODING){const n=t[r].value.toLowerCase();return n===ko.TEXT_HTML||n===ko.APPLICATION_XML}}return e===y.SVG&&(A===o.FOREIGN_OBJECT||A===o.DESC||A===o.TITLE)}function iB(A,e,t,r){return(!r||r===y.HTML)&&aB(A,e,t)||(!r||r===y.MATHML)&&nB(A,e)}const sB="hidden",oB=8,uB=3;var p;(function(A){A[A.INITIAL=0]="INITIAL",A[A.BEFORE_HTML=1]="BEFORE_HTML",A[A.BEFORE_HEAD=2]="BEFORE_HEAD",A[A.IN_HEAD=3]="IN_HEAD",A[A.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",A[A.AFTER_HEAD=5]="AFTER_HEAD",A[A.IN_BODY=6]="IN_BODY",A[A.TEXT=7]="TEXT",A[A.IN_TABLE=8]="IN_TABLE",A[A.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",A[A.IN_CAPTION=10]="IN_CAPTION",A[A.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",A[A.IN_TABLE_BODY=12]="IN_TABLE_BODY",A[A.IN_ROW=13]="IN_ROW",A[A.IN_CELL=14]="IN_CELL",A[A.IN_SELECT=15]="IN_SELECT",A[A.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",A[A.IN_TEMPLATE=17]="IN_TEMPLATE",A[A.AFTER_BODY=18]="AFTER_BODY",A[A.IN_FRAMESET=19]="IN_FRAMESET",A[A.AFTER_FRAMESET=20]="AFTER_FRAMESET",A[A.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",A[A.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(p||(p={}));const cB={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Vo=new Set([o.TABLE,o.TBODY,o.TFOOT,o.THEAD,o.TR]),Go={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:ve,onParseError:null};let Yo=class{constructor(e,t,r=null,n=null){this.fragmentContext=r,this.scriptHandler=n,this.currentToken=null,this.stopped=!1,this.insertionMode=p.INITIAL,this.originalInsertionMode=p.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...Go,...e},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=t??this.treeAdapter.createDocument(),this.tokenizer=new Lh(this.options,this),this.activeFormattingElements=new Kh(this.treeAdapter),this.fragmentContextID=r?nn(this.treeAdapter.getTagName(r)):o.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new Ph(this.document,this.treeAdapter,this)}static parse(e,t){const r=new this(t);return r.tokenizer.write(e,!0),r.document}static getFragmentParser(e,t){const r={...Go,...t};e??(e=r.treeAdapter.createElement(w.TEMPLATE,y.HTML,[]));const n=r.treeAdapter.createElement("documentmock",y.HTML,[]),a=new this(r,n,e);return a.fragmentContextID===o.TEMPLATE&&a.tmplInsertionModeStack.unshift(p.IN_TEMPLATE),a._initTokenizerForFragmentParsing(),a._insertFakeRootElement(),a._resetInsertionMode(),a._findFormInFragmentContext(),a}getFragment(){const e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,t),t}_err(e,t,r){var n;if(!this.onParseError)return;const a=(n=e.location)!==null&&n!==void 0?n:cB,i={code:t,startLine:a.startLine,startCol:a.startCol,startOffset:a.startOffset,endLine:r?a.startLine:a.endLine,endCol:r?a.startCol:a.endCol,endOffset:r?a.startOffset:a.endOffset};this.onParseError(i)}onItemPush(e,t,r){var n,a;(a=(n=this.treeAdapter).onItemPush)===null||a===void 0||a.call(n,e),r&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){var r,n;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),(n=(r=this.treeAdapter).onItemPop)===null||n===void 0||n.call(r,e,this.openElements.current),t){let a,i;this.openElements.stackTop===0&&this.fragmentContext?(a=this.fragmentContext,i=this.fragmentContextID):{current:a,currentTagId:i}=this.openElements,this._setContextModes(a,i)}}_setContextModes(e,t){const r=e===this.document||this.treeAdapter.getNamespaceURI(e)===y.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,y.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=p.TEXT}switchToPlaintextParsing(){this.insertionMode=p.TEXT,this.originalInsertionMode=p.IN_BODY,this.tokenizer.state=ee.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===w.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==y.HTML))switch(this.fragmentContextID){case o.TITLE:case o.TEXTAREA:{this.tokenizer.state=ee.RCDATA;break}case o.STYLE:case o.XMP:case o.IFRAME:case o.NOEMBED:case o.NOFRAMES:case o.NOSCRIPT:{this.tokenizer.state=ee.RAWTEXT;break}case o.SCRIPT:{this.tokenizer.state=ee.SCRIPT_DATA;break}case o.PLAINTEXT:{this.tokenizer.state=ee.PLAINTEXT;break}}}_setDocumentType(e){const t=e.name||"",r=e.publicId||"",n=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,r,n),e.location){const i=this.treeAdapter.getChildNodes(this.document).find(s=>this.treeAdapter.isDocumentTypeNode(s));i&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){const r=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r,e)}}_appendElement(e,t){const r=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(r,e.location)}_insertElement(e,t){const r=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(r,e.location),this.openElements.push(r,e.tagID)}_insertFakeElement(e,t){const r=this.treeAdapter.createElement(e,y.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,t)}_insertTemplate(e){const t=this.treeAdapter.createElement(e.tagName,y.HTML,e.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,r),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(w.HTML,y.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,o.HTML)}_appendCommentNode(e,t){const r=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,e.location)}_insertCharacters(e){let t,r;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(t,e.chars,r):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;const n=this.treeAdapter.getChildNodes(t),a=r?n.lastIndexOf(r):n.length,i=n[a-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){const{endLine:u,endCol:l,endOffset:d}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:u,endCol:l,endOffset:d})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let r=this.treeAdapter.getFirstChild(e);r;r=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(t,r)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){const r=t.location,n=this.treeAdapter.getTagName(e),a=t.type===nA.END_TAG&&n===t.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let t,r;return this.openElements.stackTop===0&&this.fragmentContext?(t=this.fragmentContext,r=this.fragmentContextID):{current:t,currentTagId:r}=this.openElements,e.tagID===o.SVG&&this.treeAdapter.getTagName(t)===w.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(t)===y.MATHML?!1:this.tokenizer.inForeignNode||(e.tagID===o.MGLYPH||e.tagID===o.MALIGNMARK)&&!this._isIntegrationPoint(r,t,y.HTML)}_processToken(e){switch(e.type){case nA.CHARACTER:{this.onCharacter(e);break}case nA.NULL_CHARACTER:{this.onNullCharacter(e);break}case nA.COMMENT:{this.onComment(e);break}case nA.DOCTYPE:{this.onDoctype(e);break}case nA.START_TAG:{this._processStartTag(e);break}case nA.END_TAG:{this.onEndTag(e);break}case nA.EOF:{this.onEof(e);break}case nA.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(e);break}}}_isIntegrationPoint(e,t,r){const n=this.treeAdapter.getNamespaceURI(t),a=this.treeAdapter.getAttrList(t);return iB(e,n,a,r)}_reconstructActiveFormattingElements(){const e=this.activeFormattingElements.entries.length;if(e){const t=this.activeFormattingElements.entries.findIndex(n=>n.type===be.Marker||this.openElements.contains(n.element)),r=t<0?e-1:t-1;for(let n=r;n>=0;n--){const a=this.activeFormattingElements.entries[n];this._insertElement(a.token,this.treeAdapter.getNamespaceURI(a.element)),a.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=p.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(o.P),this.openElements.popUntilTagNamePopped(o.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(e===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case o.TR:{this.insertionMode=p.IN_ROW;return}case o.TBODY:case o.THEAD:case o.TFOOT:{this.insertionMode=p.IN_TABLE_BODY;return}case o.CAPTION:{this.insertionMode=p.IN_CAPTION;return}case o.COLGROUP:{this.insertionMode=p.IN_COLUMN_GROUP;return}case o.TABLE:{this.insertionMode=p.IN_TABLE;return}case o.BODY:{this.insertionMode=p.IN_BODY;return}case o.FRAMESET:{this.insertionMode=p.IN_FRAMESET;return}case o.SELECT:{this._resetInsertionModeForSelect(e);return}case o.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case o.HTML:{this.insertionMode=this.headElement?p.AFTER_HEAD:p.BEFORE_HEAD;return}case o.TD:case o.TH:{if(e>0){this.insertionMode=p.IN_CELL;return}break}case o.HEAD:{if(e>0){this.insertionMode=p.IN_HEAD;return}break}}this.insertionMode=p.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const r=this.openElements.tagIDs[t];if(r===o.TEMPLATE)break;if(r===o.TABLE){this.insertionMode=p.IN_SELECT_IN_TABLE;return}}this.insertionMode=p.IN_SELECT}_isElementCausesFosterParenting(e){return Vo.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){const t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case o.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(t)===y.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break}case o.TABLE:{const r=this.treeAdapter.getParentNode(t);return r?{parent:r,beforeElement:t}:{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){const r=this.treeAdapter.getNamespaceURI(e);return yh[r].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){kg(this,e);return}switch(this.insertionMode){case p.INITIAL:{tr(this,e);break}case p.BEFORE_HTML:{rr(this,e);break}case p.BEFORE_HEAD:{nr(this,e);break}case p.IN_HEAD:{ar(this,e);break}case p.IN_HEAD_NO_SCRIPT:{ir(this,e);break}case p.AFTER_HEAD:{sr(this,e);break}case p.IN_BODY:case p.IN_CAPTION:case p.IN_CELL:case p.IN_TEMPLATE:{Wo(this,e);break}case p.TEXT:case p.IN_SELECT:case p.IN_SELECT_IN_TABLE:{this._insertCharacters(e);break}case p.IN_TABLE:case p.IN_TABLE_BODY:case p.IN_ROW:{ti(this,e);break}case p.IN_TABLE_TEXT:{eu(this,e);break}case p.IN_COLUMN_GROUP:{cn(this,e);break}case p.AFTER_BODY:{fn(this,e);break}case p.AFTER_AFTER_BODY:{hn(this,e);break}}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Mg(this,e);return}switch(this.insertionMode){case p.INITIAL:{tr(this,e);break}case p.BEFORE_HTML:{rr(this,e);break}case p.BEFORE_HEAD:{nr(this,e);break}case p.IN_HEAD:{ar(this,e);break}case p.IN_HEAD_NO_SCRIPT:{ir(this,e);break}case p.AFTER_HEAD:{sr(this,e);break}case p.TEXT:{this._insertCharacters(e);break}case p.IN_TABLE:case p.IN_TABLE_BODY:case p.IN_ROW:{ti(this,e);break}case p.IN_COLUMN_GROUP:{cn(this,e);break}case p.AFTER_BODY:{fn(this,e);break}case p.AFTER_AFTER_BODY:{hn(this,e);break}}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){Ai(this,e);return}switch(this.insertionMode){case p.INITIAL:case p.BEFORE_HTML:case p.BEFORE_HEAD:case p.IN_HEAD:case p.IN_HEAD_NO_SCRIPT:case p.AFTER_HEAD:case p.IN_BODY:case p.IN_TABLE:case p.IN_CAPTION:case p.IN_COLUMN_GROUP:case p.IN_TABLE_BODY:case p.IN_ROW:case p.IN_CELL:case p.IN_SELECT:case p.IN_SELECT_IN_TABLE:case p.IN_TEMPLATE:case p.IN_FRAMESET:case p.AFTER_FRAMESET:{Ai(this,e);break}case p.IN_TABLE_TEXT:{cr(this,e);break}case p.AFTER_BODY:{pB(this,e);break}case p.AFTER_AFTER_BODY:case p.AFTER_AFTER_FRAMESET:{EB(this,e);break}}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case p.INITIAL:{mB(this,e);break}case p.BEFORE_HEAD:case p.IN_HEAD:case p.IN_HEAD_NO_SCRIPT:case p.AFTER_HEAD:{this._err(e,U.misplacedDoctype);break}case p.IN_TABLE_TEXT:{cr(this,e);break}}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,U.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?Pg(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case p.INITIAL:{tr(this,e);break}case p.BEFORE_HTML:{CB(this,e);break}case p.BEFORE_HEAD:{bB(this,e);break}case p.IN_HEAD:{pe(this,e);break}case p.IN_HEAD_NO_SCRIPT:{QB(this,e);break}case p.AFTER_HEAD:{IB(this,e);break}case p.IN_BODY:{VA(this,e);break}case p.IN_TABLE:{Tt(this,e);break}case p.IN_TABLE_TEXT:{cr(this,e);break}case p.IN_CAPTION:{Tg(this,e);break}case p.IN_COLUMN_GROUP:{ri(this,e);break}case p.IN_TABLE_BODY:{ln(this,e);break}case p.IN_ROW:{dn(this,e);break}case p.IN_CELL:{Fg(this,e);break}case p.IN_SELECT:{nu(this,e);break}case p.IN_SELECT_IN_TABLE:{yg(this,e);break}case p.IN_TEMPLATE:{vg(this,e);break}case p.AFTER_BODY:{Ng(this,e);break}case p.IN_FRAMESET:{Sg(this,e);break}case p.AFTER_FRAMESET:{Hg(this,e);break}case p.AFTER_AFTER_BODY:{Og(this,e);break}case p.AFTER_AFTER_FRAMESET:{Rg(this,e);break}}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?Kg(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case p.INITIAL:{tr(this,e);break}case p.BEFORE_HTML:{wB(this,e);break}case p.BEFORE_HEAD:{TB(this,e);break}case p.IN_HEAD:{UB(this,e);break}case p.IN_HEAD_NO_SCRIPT:{FB(this,e);break}case p.AFTER_HEAD:{yB(this,e);break}case p.IN_BODY:{un(this,e);break}case p.TEXT:{fg(this,e);break}case p.IN_TABLE:{or(this,e);break}case p.IN_TABLE_TEXT:{cr(this,e);break}case p.IN_CAPTION:{Ug(this,e);break}case p.IN_COLUMN_GROUP:{Qg(this,e);break}case p.IN_TABLE_BODY:{ni(this,e);break}case p.IN_ROW:{ru(this,e);break}case p.IN_CELL:{Ig(this,e);break}case p.IN_SELECT:{au(this,e);break}case p.IN_SELECT_IN_TABLE:{xg(this,e);break}case p.IN_TEMPLATE:{_g(this,e);break}case p.AFTER_BODY:{su(this,e);break}case p.IN_FRAMESET:{Lg(this,e);break}case p.AFTER_FRAMESET:{Dg(this,e);break}case p.AFTER_AFTER_BODY:{hn(this,e);break}}}onEof(e){switch(this.insertionMode){case p.INITIAL:{tr(this,e);break}case p.BEFORE_HTML:{rr(this,e);break}case p.BEFORE_HEAD:{nr(this,e);break}case p.IN_HEAD:{ar(this,e);break}case p.IN_HEAD_NO_SCRIPT:{ir(this,e);break}case p.AFTER_HEAD:{sr(this,e);break}case p.IN_BODY:case p.IN_TABLE:case p.IN_CAPTION:case p.IN_COLUMN_GROUP:case p.IN_TABLE_BODY:case p.IN_ROW:case p.IN_CELL:case p.IN_SELECT:case p.IN_SELECT_IN_TABLE:{Zo(this,e);break}case p.TEXT:{hg(this,e);break}case p.IN_TABLE_TEXT:{cr(this,e);break}case p.IN_TEMPLATE:{iu(this,e);break}case p.AFTER_BODY:case p.IN_FRAMESET:case p.AFTER_FRAMESET:case p.AFTER_AFTER_BODY:case p.AFTER_AFTER_FRAMESET:{ei(this,e);break}}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===B.LINE_FEED)){if(e.chars.length===1)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case p.IN_HEAD:case p.IN_HEAD_NO_SCRIPT:case p.AFTER_HEAD:case p.TEXT:case p.IN_COLUMN_GROUP:case p.IN_SELECT:case p.IN_SELECT_IN_TABLE:case p.IN_FRAMESET:case p.AFTER_FRAMESET:{this._insertCharacters(e);break}case p.IN_BODY:case p.IN_CAPTION:case p.IN_CELL:case p.IN_TEMPLATE:case p.AFTER_BODY:case p.AFTER_AFTER_BODY:case p.AFTER_AFTER_FRAMESET:{Xo(this,e);break}case p.IN_TABLE:case p.IN_TABLE_BODY:case p.IN_ROW:{ti(this,e);break}case p.IN_TABLE_TEXT:{Au(this,e);break}}}};function lB(A,e){let t=A.activeFormattingElements.getElementEntryInScopeWithTagName(e.tagName);return t?A.openElements.contains(t.element)?A.openElements.hasInScope(e.tagID)||(t=null):(A.activeFormattingElements.removeEntry(t),t=null):$o(A,e),t}function dB(A,e){let t=null,r=A.openElements.stackTop;for(;r>=0;r--){const n=A.openElements.items[r];if(n===e.element)break;A._isSpecialElement(n,A.openElements.tagIDs[r])&&(t=n)}return t||(A.openElements.shortenToLength(r<0?0:r),A.activeFormattingElements.removeEntry(e)),t}function fB(A,e,t){let r=e,n=A.openElements.getCommonAncestor(e);for(let a=0,i=n;i!==t;a++,i=n){n=A.openElements.getCommonAncestor(i);const s=A.activeFormattingElements.getElementEntry(i),u=s&&a>=uB;!s||u?(u&&A.activeFormattingElements.removeEntry(s),A.openElements.remove(i)):(i=hB(A,s),r===e&&(A.activeFormattingElements.bookmark=s),A.treeAdapter.detachNode(r),A.treeAdapter.appendChild(i,r),r=i)}return r}function hB(A,e){const t=A.treeAdapter.getNamespaceURI(e.element),r=A.treeAdapter.createElement(e.token.tagName,t,e.token.attrs);return A.openElements.replace(e.element,r),e.element=r,r}function BB(A,e,t){const r=A.treeAdapter.getTagName(e),n=nn(r);if(A._isElementCausesFosterParenting(n))A._fosterParentElement(t);else{const a=A.treeAdapter.getNamespaceURI(e);n===o.TEMPLATE&&a===y.HTML&&(e=A.treeAdapter.getTemplateContent(e)),A.treeAdapter.appendChild(e,t)}}function gB(A,e,t){const r=A.treeAdapter.getNamespaceURI(t.element),{token:n}=t,a=A.treeAdapter.createElement(n.tagName,r,n.attrs);A._adoptNodes(e,a),A.treeAdapter.appendChild(e,a),A.activeFormattingElements.insertElementAfterBookmark(a,n),A.activeFormattingElements.removeEntry(t),A.openElements.remove(t.element),A.openElements.insertAfter(e,a,n.tagID)}function Za(A,e){for(let t=0;t<oB;t++){const r=lB(A,e);if(!r)break;const n=dB(A,r);if(!n)break;A.activeFormattingElements.bookmark=r;const a=fB(A,n,r.element),i=A.openElements.getCommonAncestor(r.element);A.treeAdapter.detachNode(a),i&&BB(A,i,a),gB(A,n,r)}}function Ai(A,e){A._appendCommentNode(e,A.openElements.currentTmplContentOrNode)}function pB(A,e){A._appendCommentNode(e,A.openElements.items[0])}function EB(A,e){A._appendCommentNode(e,A.document)}function ei(A,e){if(A.stopped=!0,e.location){const t=A.fragmentContext?0:2;for(let r=A.openElements.stackTop;r>=t;r--)A._setEndLocation(A.openElements.items[r],e);if(!A.fragmentContext&&A.openElements.stackTop>=0){const r=A.openElements.items[0],n=A.treeAdapter.getNodeSourceCodeLocation(r);if(n&&!n.endTag&&(A._setEndLocation(r,e),A.openElements.stackTop>=1)){const a=A.openElements.items[1],i=A.treeAdapter.getNodeSourceCodeLocation(a);i&&!i.endTag&&A._setEndLocation(a,e)}}}}function mB(A,e){A._setDocumentType(e);const t=e.forceQuirks?ae.QUIRKS:qh(e);Jh(e)||A._err(e,U.nonConformingDoctype),A.treeAdapter.setDocumentMode(A.document,t),A.insertionMode=p.BEFORE_HTML}function tr(A,e){A._err(e,U.missingDoctype,!0),A.treeAdapter.setDocumentMode(A.document,ae.QUIRKS),A.insertionMode=p.BEFORE_HTML,A._processToken(e)}function CB(A,e){e.tagID===o.HTML?(A._insertElement(e,y.HTML),A.insertionMode=p.BEFORE_HEAD):rr(A,e)}function wB(A,e){const t=e.tagID;(t===o.HTML||t===o.HEAD||t===o.BODY||t===o.BR)&&rr(A,e)}function rr(A,e){A._insertFakeRootElement(),A.insertionMode=p.BEFORE_HEAD,A._processToken(e)}function bB(A,e){switch(e.tagID){case o.HTML:{VA(A,e);break}case o.HEAD:{A._insertElement(e,y.HTML),A.headElement=A.openElements.current,A.insertionMode=p.IN_HEAD;break}default:nr(A,e)}}function TB(A,e){const t=e.tagID;t===o.HEAD||t===o.BODY||t===o.HTML||t===o.BR?nr(A,e):A._err(e,U.endTagWithoutMatchingOpenElement)}function nr(A,e){A._insertFakeElement(w.HEAD,o.HEAD),A.headElement=A.openElements.current,A.insertionMode=p.IN_HEAD,A._processToken(e)}function pe(A,e){switch(e.tagID){case o.HTML:{VA(A,e);break}case o.BASE:case o.BASEFONT:case o.BGSOUND:case o.LINK:case o.META:{A._appendElement(e,y.HTML),e.ackSelfClosing=!0;break}case o.TITLE:{A._switchToTextParsing(e,ee.RCDATA);break}case o.NOSCRIPT:{A.options.scriptingEnabled?A._switchToTextParsing(e,ee.RAWTEXT):(A._insertElement(e,y.HTML),A.insertionMode=p.IN_HEAD_NO_SCRIPT);break}case o.NOFRAMES:case o.STYLE:{A._switchToTextParsing(e,ee.RAWTEXT);break}case o.SCRIPT:{A._switchToTextParsing(e,ee.SCRIPT_DATA);break}case o.TEMPLATE:{A._insertTemplate(e),A.activeFormattingElements.insertMarker(),A.framesetOk=!1,A.insertionMode=p.IN_TEMPLATE,A.tmplInsertionModeStack.unshift(p.IN_TEMPLATE);break}case o.HEAD:{A._err(e,U.misplacedStartTagForHeadElement);break}default:ar(A,e)}}function UB(A,e){switch(e.tagID){case o.HEAD:{A.openElements.pop(),A.insertionMode=p.AFTER_HEAD;break}case o.BODY:case o.BR:case o.HTML:{ar(A,e);break}case o.TEMPLATE:{ot(A,e);break}default:A._err(e,U.endTagWithoutMatchingOpenElement)}}function ot(A,e){A.openElements.tmplCount>0?(A.openElements.generateImpliedEndTagsThoroughly(),A.openElements.currentTagId!==o.TEMPLATE&&A._err(e,U.closingOfElementWithOpenChildElements),A.openElements.popUntilTagNamePopped(o.TEMPLATE),A.activeFormattingElements.clearToLastMarker(),A.tmplInsertionModeStack.shift(),A._resetInsertionMode()):A._err(e,U.endTagWithoutMatchingOpenElement)}function ar(A,e){A.openElements.pop(),A.insertionMode=p.AFTER_HEAD,A._processToken(e)}function QB(A,e){switch(e.tagID){case o.HTML:{VA(A,e);break}case o.BASEFONT:case o.BGSOUND:case o.HEAD:case o.LINK:case o.META:case o.NOFRAMES:case o.STYLE:{pe(A,e);break}case o.NOSCRIPT:{A._err(e,U.nestedNoscriptInHead);break}default:ir(A,e)}}function FB(A,e){switch(e.tagID){case o.NOSCRIPT:{A.openElements.pop(),A.insertionMode=p.IN_HEAD;break}case o.BR:{ir(A,e);break}default:A._err(e,U.endTagWithoutMatchingOpenElement)}}function ir(A,e){const t=e.type===nA.EOF?U.openElementsLeftAfterEof:U.disallowedContentInNoscriptInHead;A._err(e,t),A.openElements.pop(),A.insertionMode=p.IN_HEAD,A._processToken(e)}function IB(A,e){switch(e.tagID){case o.HTML:{VA(A,e);break}case o.BODY:{A._insertElement(e,y.HTML),A.framesetOk=!1,A.insertionMode=p.IN_BODY;break}case o.FRAMESET:{A._insertElement(e,y.HTML),A.insertionMode=p.IN_FRAMESET;break}case o.BASE:case o.BASEFONT:case o.BGSOUND:case o.LINK:case o.META:case o.NOFRAMES:case o.SCRIPT:case o.STYLE:case o.TEMPLATE:case o.TITLE:{A._err(e,U.abandonedHeadElementChild),A.openElements.push(A.headElement,o.HEAD),pe(A,e),A.openElements.remove(A.headElement);break}case o.HEAD:{A._err(e,U.misplacedStartTagForHeadElement);break}default:sr(A,e)}}function yB(A,e){switch(e.tagID){case o.BODY:case o.HTML:case o.BR:{sr(A,e);break}case o.TEMPLATE:{ot(A,e);break}default:A._err(e,U.endTagWithoutMatchingOpenElement)}}function sr(A,e){A._insertFakeElement(w.BODY,o.BODY),A.insertionMode=p.IN_BODY,on(A,e)}function on(A,e){switch(e.type){case nA.CHARACTER:{Wo(A,e);break}case nA.WHITESPACE_CHARACTER:{Xo(A,e);break}case nA.COMMENT:{Ai(A,e);break}case nA.START_TAG:{VA(A,e);break}case nA.END_TAG:{un(A,e);break}case nA.EOF:{Zo(A,e);break}}}function Xo(A,e){A._reconstructActiveFormattingElements(),A._insertCharacters(e)}function Wo(A,e){A._reconstructActiveFormattingElements(),A._insertCharacters(e),A.framesetOk=!1}function xB(A,e){A.openElements.tmplCount===0&&A.treeAdapter.adoptAttributes(A.openElements.items[0],e.attrs)}function vB(A,e){const t=A.openElements.tryPeekProperlyNestedBodyElement();t&&A.openElements.tmplCount===0&&(A.framesetOk=!1,A.treeAdapter.adoptAttributes(t,e.attrs))}function _B(A,e){const t=A.openElements.tryPeekProperlyNestedBodyElement();A.framesetOk&&t&&(A.treeAdapter.detachNode(t),A.openElements.popAllUpToHtmlElement(),A._insertElement(e,y.HTML),A.insertionMode=p.IN_FRAMESET)}function NB(A,e){A.openElements.hasInButtonScope(o.P)&&A._closePElement(),A._insertElement(e,y.HTML)}function SB(A,e){A.openElements.hasInButtonScope(o.P)&&A._closePElement(),ja.has(A.openElements.currentTagId)&&A.openElements.pop(),A._insertElement(e,y.HTML)}function LB(A,e){A.openElements.hasInButtonScope(o.P)&&A._closePElement(),A._insertElement(e,y.HTML),A.skipNextNewLine=!0,A.framesetOk=!1}function HB(A,e){const t=A.openElements.tmplCount>0;(!A.formElement||t)&&(A.openElements.hasInButtonScope(o.P)&&A._closePElement(),A._insertElement(e,y.HTML),t||(A.formElement=A.openElements.current))}function DB(A,e){A.framesetOk=!1;const t=e.tagID;for(let r=A.openElements.stackTop;r>=0;r--){const n=A.openElements.tagIDs[r];if(t===o.LI&&n===o.LI||(t===o.DD||t===o.DT)&&(n===o.DD||n===o.DT)){A.openElements.generateImpliedEndTagsWithExclusion(n),A.openElements.popUntilTagNamePopped(n);break}if(n!==o.ADDRESS&&n!==o.DIV&&n!==o.P&&A._isSpecialElement(A.openElements.items[r],n))break}A.openElements.hasInButtonScope(o.P)&&A._closePElement(),A._insertElement(e,y.HTML)}function OB(A,e){A.openElements.hasInButtonScope(o.P)&&A._closePElement(),A._insertElement(e,y.HTML),A.tokenizer.state=ee.PLAINTEXT}function RB(A,e){A.openElements.hasInScope(o.BUTTON)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(o.BUTTON)),A._reconstructActiveFormattingElements(),A._insertElement(e,y.HTML),A.framesetOk=!1}function MB(A,e){const t=A.activeFormattingElements.getElementEntryInScopeWithTagName(w.A);t&&(Za(A,e),A.openElements.remove(t.element),A.activeFormattingElements.removeEntry(t)),A._reconstructActiveFormattingElements(),A._insertElement(e,y.HTML),A.activeFormattingElements.pushElement(A.openElements.current,e)}function kB(A,e){A._reconstructActiveFormattingElements(),A._insertElement(e,y.HTML),A.activeFormattingElements.pushElement(A.openElements.current,e)}function PB(A,e){A._reconstructActiveFormattingElements(),A.openElements.hasInScope(o.NOBR)&&(Za(A,e),A._reconstructActiveFormattingElements()),A._insertElement(e,y.HTML),A.activeFormattingElements.pushElement(A.openElements.current,e)}function KB(A,e){A._reconstructActiveFormattingElements(),A._insertElement(e,y.HTML),A.activeFormattingElements.insertMarker(),A.framesetOk=!1}function VB(A,e){A.treeAdapter.getDocumentMode(A.document)!==ae.QUIRKS&&A.openElements.hasInButtonScope(o.P)&&A._closePElement(),A._insertElement(e,y.HTML),A.framesetOk=!1,A.insertionMode=p.IN_TABLE}function Jo(A,e){A._reconstructActiveFormattingElements(),A._appendElement(e,y.HTML),A.framesetOk=!1,e.ackSelfClosing=!0}function qo(A){const e=Io(A,st.TYPE);return e!=null&&e.toLowerCase()===sB}function GB(A,e){A._reconstructActiveFormattingElements(),A._appendElement(e,y.HTML),qo(e)||(A.framesetOk=!1),e.ackSelfClosing=!0}function YB(A,e){A._appendElement(e,y.HTML),e.ackSelfClosing=!0}function XB(A,e){A.openElements.hasInButtonScope(o.P)&&A._closePElement(),A._appendElement(e,y.HTML),A.framesetOk=!1,e.ackSelfClosing=!0}function WB(A,e){e.tagName=w.IMG,e.tagID=o.IMG,Jo(A,e)}function JB(A,e){A._insertElement(e,y.HTML),A.skipNextNewLine=!0,A.tokenizer.state=ee.RCDATA,A.originalInsertionMode=A.insertionMode,A.framesetOk=!1,A.insertionMode=p.TEXT}function qB(A,e){A.openElements.hasInButtonScope(o.P)&&A._closePElement(),A._reconstructActiveFormattingElements(),A.framesetOk=!1,A._switchToTextParsing(e,ee.RAWTEXT)}function jB(A,e){A.framesetOk=!1,A._switchToTextParsing(e,ee.RAWTEXT)}function jo(A,e){A._switchToTextParsing(e,ee.RAWTEXT)}function zB(A,e){A._reconstructActiveFormattingElements(),A._insertElement(e,y.HTML),A.framesetOk=!1,A.insertionMode=A.insertionMode===p.IN_TABLE||A.insertionMode===p.IN_CAPTION||A.insertionMode===p.IN_TABLE_BODY||A.insertionMode===p.IN_ROW||A.insertionMode===p.IN_CELL?p.IN_SELECT_IN_TABLE:p.IN_SELECT}function $B(A,e){A.openElements.currentTagId===o.OPTION&&A.openElements.pop(),A._reconstructActiveFormattingElements(),A._insertElement(e,y.HTML)}function ZB(A,e){A.openElements.hasInScope(o.RUBY)&&A.openElements.generateImpliedEndTags(),A._insertElement(e,y.HTML)}function Ag(A,e){A.openElements.hasInScope(o.RUBY)&&A.openElements.generateImpliedEndTagsWithExclusion(o.RTC),A._insertElement(e,y.HTML)}function eg(A,e){A._reconstructActiveFormattingElements(),Po(e),$a(e),e.selfClosing?A._appendElement(e,y.MATHML):A._insertElement(e,y.MATHML),e.ackSelfClosing=!0}function tg(A,e){A._reconstructActiveFormattingElements(),Ko(e),$a(e),e.selfClosing?A._appendElement(e,y.SVG):A._insertElement(e,y.SVG),e.ackSelfClosing=!0}function zo(A,e){A._reconstructActiveFormattingElements(),A._insertElement(e,y.HTML)}function VA(A,e){switch(e.tagID){case o.I:case o.S:case o.B:case o.U:case o.EM:case o.TT:case o.BIG:case o.CODE:case o.FONT:case o.SMALL:case o.STRIKE:case o.STRONG:{kB(A,e);break}case o.A:{MB(A,e);break}case o.H1:case o.H2:case o.H3:case o.H4:case o.H5:case o.H6:{SB(A,e);break}case o.P:case o.DL:case o.OL:case o.UL:case o.DIV:case o.DIR:case o.NAV:case o.MAIN:case o.MENU:case o.ASIDE:case o.CENTER:case o.FIGURE:case o.FOOTER:case o.HEADER:case o.HGROUP:case o.DIALOG:case o.DETAILS:case o.ADDRESS:case o.ARTICLE:case o.SEARCH:case o.SECTION:case o.SUMMARY:case o.FIELDSET:case o.BLOCKQUOTE:case o.FIGCAPTION:{NB(A,e);break}case o.LI:case o.DD:case o.DT:{DB(A,e);break}case o.BR:case o.IMG:case o.WBR:case o.AREA:case o.EMBED:case o.KEYGEN:{Jo(A,e);break}case o.HR:{XB(A,e);break}case o.RB:case o.RTC:{ZB(A,e);break}case o.RT:case o.RP:{Ag(A,e);break}case o.PRE:case o.LISTING:{LB(A,e);break}case o.XMP:{qB(A,e);break}case o.SVG:{tg(A,e);break}case o.HTML:{xB(A,e);break}case o.BASE:case o.LINK:case o.META:case o.STYLE:case o.TITLE:case o.SCRIPT:case o.BGSOUND:case o.BASEFONT:case o.TEMPLATE:{pe(A,e);break}case o.BODY:{vB(A,e);break}case o.FORM:{HB(A,e);break}case o.NOBR:{PB(A,e);break}case o.MATH:{eg(A,e);break}case o.TABLE:{VB(A,e);break}case o.INPUT:{GB(A,e);break}case o.PARAM:case o.TRACK:case o.SOURCE:{YB(A,e);break}case o.IMAGE:{WB(A,e);break}case o.BUTTON:{RB(A,e);break}case o.APPLET:case o.OBJECT:case o.MARQUEE:{KB(A,e);break}case o.IFRAME:{jB(A,e);break}case o.SELECT:{zB(A,e);break}case o.OPTION:case o.OPTGROUP:{$B(A,e);break}case o.NOEMBED:case o.NOFRAMES:{jo(A,e);break}case o.FRAMESET:{_B(A,e);break}case o.TEXTAREA:{JB(A,e);break}case o.NOSCRIPT:{A.options.scriptingEnabled?jo(A,e):zo(A,e);break}case o.PLAINTEXT:{OB(A,e);break}case o.COL:case o.TH:case o.TD:case o.TR:case o.HEAD:case o.FRAME:case o.TBODY:case o.TFOOT:case o.THEAD:case o.CAPTION:case o.COLGROUP:break;default:zo(A,e)}}function rg(A,e){if(A.openElements.hasInScope(o.BODY)&&(A.insertionMode=p.AFTER_BODY,A.options.sourceCodeLocationInfo)){const t=A.openElements.tryPeekProperlyNestedBodyElement();t&&A._setEndLocation(t,e)}}function ng(A,e){A.openElements.hasInScope(o.BODY)&&(A.insertionMode=p.AFTER_BODY,su(A,e))}function ag(A,e){const t=e.tagID;A.openElements.hasInScope(t)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(t))}function ig(A){const e=A.openElements.tmplCount>0,{formElement:t}=A;e||(A.formElement=null),(t||e)&&A.openElements.hasInScope(o.FORM)&&(A.openElements.generateImpliedEndTags(),e?A.openElements.popUntilTagNamePopped(o.FORM):t&&A.openElements.remove(t))}function sg(A){A.openElements.hasInButtonScope(o.P)||A._insertFakeElement(w.P,o.P),A._closePElement()}function og(A){A.openElements.hasInListItemScope(o.LI)&&(A.openElements.generateImpliedEndTagsWithExclusion(o.LI),A.openElements.popUntilTagNamePopped(o.LI))}function ug(A,e){const t=e.tagID;A.openElements.hasInScope(t)&&(A.openElements.generateImpliedEndTagsWithExclusion(t),A.openElements.popUntilTagNamePopped(t))}function cg(A){A.openElements.hasNumberedHeaderInScope()&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilNumberedHeaderPopped())}function lg(A,e){const t=e.tagID;A.openElements.hasInScope(t)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(t),A.activeFormattingElements.clearToLastMarker())}function dg(A){A._reconstructActiveFormattingElements(),A._insertFakeElement(w.BR,o.BR),A.openElements.pop(),A.framesetOk=!1}function $o(A,e){const t=e.tagName,r=e.tagID;for(let n=A.openElements.stackTop;n>0;n--){const a=A.openElements.items[n],i=A.openElements.tagIDs[n];if(r===i&&(r!==o.UNKNOWN||A.treeAdapter.getTagName(a)===t)){A.openElements.generateImpliedEndTagsWithExclusion(r),A.openElements.stackTop>=n&&A.openElements.shortenToLength(n);break}if(A._isSpecialElement(a,i))break}}function un(A,e){switch(e.tagID){case o.A:case o.B:case o.I:case o.S:case o.U:case o.EM:case o.TT:case o.BIG:case o.CODE:case o.FONT:case o.NOBR:case o.SMALL:case o.STRIKE:case o.STRONG:{Za(A,e);break}case o.P:{sg(A);break}case o.DL:case o.UL:case o.OL:case o.DIR:case o.DIV:case o.NAV:case o.PRE:case o.MAIN:case o.MENU:case o.ASIDE:case o.BUTTON:case o.CENTER:case o.FIGURE:case o.FOOTER:case o.HEADER:case o.HGROUP:case o.DIALOG:case o.ADDRESS:case o.ARTICLE:case o.DETAILS:case o.SEARCH:case o.SECTION:case o.SUMMARY:case o.LISTING:case o.FIELDSET:case o.BLOCKQUOTE:case o.FIGCAPTION:{ag(A,e);break}case o.LI:{og(A);break}case o.DD:case o.DT:{ug(A,e);break}case o.H1:case o.H2:case o.H3:case o.H4:case o.H5:case o.H6:{cg(A);break}case o.BR:{dg(A);break}case o.BODY:{rg(A,e);break}case o.HTML:{ng(A,e);break}case o.FORM:{ig(A);break}case o.APPLET:case o.OBJECT:case o.MARQUEE:{lg(A,e);break}case o.TEMPLATE:{ot(A,e);break}default:$o(A,e)}}function Zo(A,e){A.tmplInsertionModeStack.length>0?iu(A,e):ei(A,e)}function fg(A,e){var t;e.tagID===o.SCRIPT&&((t=A.scriptHandler)===null||t===void 0||t.call(A,A.openElements.current)),A.openElements.pop(),A.insertionMode=A.originalInsertionMode}function hg(A,e){A._err(e,U.eofInElementThatCanContainOnlyText),A.openElements.pop(),A.insertionMode=A.originalInsertionMode,A.onEof(e)}function ti(A,e){if(Vo.has(A.openElements.currentTagId))switch(A.pendingCharacterTokens.length=0,A.hasNonWhitespacePendingCharacterToken=!1,A.originalInsertionMode=A.insertionMode,A.insertionMode=p.IN_TABLE_TEXT,e.type){case nA.CHARACTER:{eu(A,e);break}case nA.WHITESPACE_CHARACTER:{Au(A,e);break}}else ur(A,e)}function Bg(A,e){A.openElements.clearBackToTableContext(),A.activeFormattingElements.insertMarker(),A._insertElement(e,y.HTML),A.insertionMode=p.IN_CAPTION}function gg(A,e){A.openElements.clearBackToTableContext(),A._insertElement(e,y.HTML),A.insertionMode=p.IN_COLUMN_GROUP}function pg(A,e){A.openElements.clearBackToTableContext(),A._insertFakeElement(w.COLGROUP,o.COLGROUP),A.insertionMode=p.IN_COLUMN_GROUP,ri(A,e)}function Eg(A,e){A.openElements.clearBackToTableContext(),A._insertElement(e,y.HTML),A.insertionMode=p.IN_TABLE_BODY}function mg(A,e){A.openElements.clearBackToTableContext(),A._insertFakeElement(w.TBODY,o.TBODY),A.insertionMode=p.IN_TABLE_BODY,ln(A,e)}function Cg(A,e){A.openElements.hasInTableScope(o.TABLE)&&(A.openElements.popUntilTagNamePopped(o.TABLE),A._resetInsertionMode(),A._processStartTag(e))}function wg(A,e){qo(e)?A._appendElement(e,y.HTML):ur(A,e),e.ackSelfClosing=!0}function bg(A,e){!A.formElement&&A.openElements.tmplCount===0&&(A._insertElement(e,y.HTML),A.formElement=A.openElements.current,A.openElements.pop())}function Tt(A,e){switch(e.tagID){case o.TD:case o.TH:case o.TR:{mg(A,e);break}case o.STYLE:case o.SCRIPT:case o.TEMPLATE:{pe(A,e);break}case o.COL:{pg(A,e);break}case o.FORM:{bg(A,e);break}case o.TABLE:{Cg(A,e);break}case o.TBODY:case o.TFOOT:case o.THEAD:{Eg(A,e);break}case o.INPUT:{wg(A,e);break}case o.CAPTION:{Bg(A,e);break}case o.COLGROUP:{gg(A,e);break}default:ur(A,e)}}function or(A,e){switch(e.tagID){case o.TABLE:{A.openElements.hasInTableScope(o.TABLE)&&(A.openElements.popUntilTagNamePopped(o.TABLE),A._resetInsertionMode());break}case o.TEMPLATE:{ot(A,e);break}case o.BODY:case o.CAPTION:case o.COL:case o.COLGROUP:case o.HTML:case o.TBODY:case o.TD:case o.TFOOT:case o.TH:case o.THEAD:case o.TR:break;default:ur(A,e)}}function ur(A,e){const t=A.fosterParentingEnabled;A.fosterParentingEnabled=!0,on(A,e),A.fosterParentingEnabled=t}function Au(A,e){A.pendingCharacterTokens.push(e)}function eu(A,e){A.pendingCharacterTokens.push(e),A.hasNonWhitespacePendingCharacterToken=!0}function cr(A,e){let t=0;if(A.hasNonWhitespacePendingCharacterToken)for(;t<A.pendingCharacterTokens.length;t++)ur(A,A.pendingCharacterTokens[t]);else for(;t<A.pendingCharacterTokens.length;t++)A._insertCharacters(A.pendingCharacterTokens[t]);A.insertionMode=A.originalInsertionMode,A._processToken(e)}const tu=new Set([o.CAPTION,o.COL,o.COLGROUP,o.TBODY,o.TD,o.TFOOT,o.TH,o.THEAD,o.TR]);function Tg(A,e){const t=e.tagID;tu.has(t)?A.openElements.hasInTableScope(o.CAPTION)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(o.CAPTION),A.activeFormattingElements.clearToLastMarker(),A.insertionMode=p.IN_TABLE,Tt(A,e)):VA(A,e)}function Ug(A,e){const t=e.tagID;switch(t){case o.CAPTION:case o.TABLE:{A.openElements.hasInTableScope(o.CAPTION)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(o.CAPTION),A.activeFormattingElements.clearToLastMarker(),A.insertionMode=p.IN_TABLE,t===o.TABLE&&or(A,e));break}case o.BODY:case o.COL:case o.COLGROUP:case o.HTML:case o.TBODY:case o.TD:case o.TFOOT:case o.TH:case o.THEAD:case o.TR:break;default:un(A,e)}}function ri(A,e){switch(e.tagID){case o.HTML:{VA(A,e);break}case o.COL:{A._appendElement(e,y.HTML),e.ackSelfClosing=!0;break}case o.TEMPLATE:{pe(A,e);break}default:cn(A,e)}}function Qg(A,e){switch(e.tagID){case o.COLGROUP:{A.openElements.currentTagId===o.COLGROUP&&(A.openElements.pop(),A.insertionMode=p.IN_TABLE);break}case o.TEMPLATE:{ot(A,e);break}case o.COL:break;default:cn(A,e)}}function cn(A,e){A.openElements.currentTagId===o.COLGROUP&&(A.openElements.pop(),A.insertionMode=p.IN_TABLE,A._processToken(e))}function ln(A,e){switch(e.tagID){case o.TR:{A.openElements.clearBackToTableBodyContext(),A._insertElement(e,y.HTML),A.insertionMode=p.IN_ROW;break}case o.TH:case o.TD:{A.openElements.clearBackToTableBodyContext(),A._insertFakeElement(w.TR,o.TR),A.insertionMode=p.IN_ROW,dn(A,e);break}case o.CAPTION:case o.COL:case o.COLGROUP:case o.TBODY:case o.TFOOT:case o.THEAD:{A.openElements.hasTableBodyContextInTableScope()&&(A.openElements.clearBackToTableBodyContext(),A.openElements.pop(),A.insertionMode=p.IN_TABLE,Tt(A,e));break}default:Tt(A,e)}}function ni(A,e){const t=e.tagID;switch(e.tagID){case o.TBODY:case o.TFOOT:case o.THEAD:{A.openElements.hasInTableScope(t)&&(A.openElements.clearBackToTableBodyContext(),A.openElements.pop(),A.insertionMode=p.IN_TABLE);break}case o.TABLE:{A.openElements.hasTableBodyContextInTableScope()&&(A.openElements.clearBackToTableBodyContext(),A.openElements.pop(),A.insertionMode=p.IN_TABLE,or(A,e));break}case o.BODY:case o.CAPTION:case o.COL:case o.COLGROUP:case o.HTML:case o.TD:case o.TH:case o.TR:break;default:or(A,e)}}function dn(A,e){switch(e.tagID){case o.TH:case o.TD:{A.openElements.clearBackToTableRowContext(),A._insertElement(e,y.HTML),A.insertionMode=p.IN_CELL,A.activeFormattingElements.insertMarker();break}case o.CAPTION:case o.COL:case o.COLGROUP:case o.TBODY:case o.TFOOT:case o.THEAD:case o.TR:{A.openElements.hasInTableScope(o.TR)&&(A.openElements.clearBackToTableRowContext(),A.openElements.pop(),A.insertionMode=p.IN_TABLE_BODY,ln(A,e));break}default:Tt(A,e)}}function ru(A,e){switch(e.tagID){case o.TR:{A.openElements.hasInTableScope(o.TR)&&(A.openElements.clearBackToTableRowContext(),A.openElements.pop(),A.insertionMode=p.IN_TABLE_BODY);break}case o.TABLE:{A.openElements.hasInTableScope(o.TR)&&(A.openElements.clearBackToTableRowContext(),A.openElements.pop(),A.insertionMode=p.IN_TABLE_BODY,ni(A,e));break}case o.TBODY:case o.TFOOT:case o.THEAD:{(A.openElements.hasInTableScope(e.tagID)||A.openElements.hasInTableScope(o.TR))&&(A.openElements.clearBackToTableRowContext(),A.openElements.pop(),A.insertionMode=p.IN_TABLE_BODY,ni(A,e));break}case o.BODY:case o.CAPTION:case o.COL:case o.COLGROUP:case o.HTML:case o.TD:case o.TH:break;default:or(A,e)}}function Fg(A,e){const t=e.tagID;tu.has(t)?(A.openElements.hasInTableScope(o.TD)||A.openElements.hasInTableScope(o.TH))&&(A._closeTableCell(),dn(A,e)):VA(A,e)}function Ig(A,e){const t=e.tagID;switch(t){case o.TD:case o.TH:{A.openElements.hasInTableScope(t)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(t),A.activeFormattingElements.clearToLastMarker(),A.insertionMode=p.IN_ROW);break}case o.TABLE:case o.TBODY:case o.TFOOT:case o.THEAD:case o.TR:{A.openElements.hasInTableScope(t)&&(A._closeTableCell(),ru(A,e));break}case o.BODY:case o.CAPTION:case o.COL:case o.COLGROUP:case o.HTML:break;default:un(A,e)}}function nu(A,e){switch(e.tagID){case o.HTML:{VA(A,e);break}case o.OPTION:{A.openElements.currentTagId===o.OPTION&&A.openElements.pop(),A._insertElement(e,y.HTML);break}case o.OPTGROUP:{A.openElements.currentTagId===o.OPTION&&A.openElements.pop(),A.openElements.currentTagId===o.OPTGROUP&&A.openElements.pop(),A._insertElement(e,y.HTML);break}case o.HR:{A.openElements.currentTagId===o.OPTION&&A.openElements.pop(),A.openElements.currentTagId===o.OPTGROUP&&A.openElements.pop(),A._appendElement(e,y.HTML),e.ackSelfClosing=!0;break}case o.INPUT:case o.KEYGEN:case o.TEXTAREA:case o.SELECT:{A.openElements.hasInSelectScope(o.SELECT)&&(A.openElements.popUntilTagNamePopped(o.SELECT),A._resetInsertionMode(),e.tagID!==o.SELECT&&A._processStartTag(e));break}case o.SCRIPT:case o.TEMPLATE:{pe(A,e);break}}}function au(A,e){switch(e.tagID){case o.OPTGROUP:{A.openElements.stackTop>0&&A.openElements.currentTagId===o.OPTION&&A.openElements.tagIDs[A.openElements.stackTop-1]===o.OPTGROUP&&A.openElements.pop(),A.openElements.currentTagId===o.OPTGROUP&&A.openElements.pop();break}case o.OPTION:{A.openElements.currentTagId===o.OPTION&&A.openElements.pop();break}case o.SELECT:{A.openElements.hasInSelectScope(o.SELECT)&&(A.openElements.popUntilTagNamePopped(o.SELECT),A._resetInsertionMode());break}case o.TEMPLATE:{ot(A,e);break}}}function yg(A,e){const t=e.tagID;t===o.CAPTION||t===o.TABLE||t===o.TBODY||t===o.TFOOT||t===o.THEAD||t===o.TR||t===o.TD||t===o.TH?(A.openElements.popUntilTagNamePopped(o.SELECT),A._resetInsertionMode(),A._processStartTag(e)):nu(A,e)}function xg(A,e){const t=e.tagID;t===o.CAPTION||t===o.TABLE||t===o.TBODY||t===o.TFOOT||t===o.THEAD||t===o.TR||t===o.TD||t===o.TH?A.openElements.hasInTableScope(t)&&(A.openElements.popUntilTagNamePopped(o.SELECT),A._resetInsertionMode(),A.onEndTag(e)):au(A,e)}function vg(A,e){switch(e.tagID){case o.BASE:case o.BASEFONT:case o.BGSOUND:case o.LINK:case o.META:case o.NOFRAMES:case o.SCRIPT:case o.STYLE:case o.TEMPLATE:case o.TITLE:{pe(A,e);break}case o.CAPTION:case o.COLGROUP:case o.TBODY:case o.TFOOT:case o.THEAD:{A.tmplInsertionModeStack[0]=p.IN_TABLE,A.insertionMode=p.IN_TABLE,Tt(A,e);break}case o.COL:{A.tmplInsertionModeStack[0]=p.IN_COLUMN_GROUP,A.insertionMode=p.IN_COLUMN_GROUP,ri(A,e);break}case o.TR:{A.tmplInsertionModeStack[0]=p.IN_TABLE_BODY,A.insertionMode=p.IN_TABLE_BODY,ln(A,e);break}case o.TD:case o.TH:{A.tmplInsertionModeStack[0]=p.IN_ROW,A.insertionMode=p.IN_ROW,dn(A,e);break}default:A.tmplInsertionModeStack[0]=p.IN_BODY,A.insertionMode=p.IN_BODY,VA(A,e)}}function _g(A,e){e.tagID===o.TEMPLATE&&ot(A,e)}function iu(A,e){A.openElements.tmplCount>0?(A.openElements.popUntilTagNamePopped(o.TEMPLATE),A.activeFormattingElements.clearToLastMarker(),A.tmplInsertionModeStack.shift(),A._resetInsertionMode(),A.onEof(e)):ei(A,e)}function Ng(A,e){e.tagID===o.HTML?VA(A,e):fn(A,e)}function su(A,e){var t;if(e.tagID===o.HTML){if(A.fragmentContext||(A.insertionMode=p.AFTER_AFTER_BODY),A.options.sourceCodeLocationInfo&&A.openElements.tagIDs[0]===o.HTML){A._setEndLocation(A.openElements.items[0],e);const r=A.openElements.items[1];r&&!(!((t=A.treeAdapter.getNodeSourceCodeLocation(r))===null||t===void 0)&&t.endTag)&&A._setEndLocation(r,e)}}else fn(A,e)}function fn(A,e){A.insertionMode=p.IN_BODY,on(A,e)}function Sg(A,e){switch(e.tagID){case o.HTML:{VA(A,e);break}case o.FRAMESET:{A._insertElement(e,y.HTML);break}case o.FRAME:{A._appendElement(e,y.HTML),e.ackSelfClosing=!0;break}case o.NOFRAMES:{pe(A,e);break}}}function Lg(A,e){e.tagID===o.FRAMESET&&!A.openElements.isRootHtmlElementCurrent()&&(A.openElements.pop(),!A.fragmentContext&&A.openElements.currentTagId!==o.FRAMESET&&(A.insertionMode=p.AFTER_FRAMESET))}function Hg(A,e){switch(e.tagID){case o.HTML:{VA(A,e);break}case o.NOFRAMES:{pe(A,e);break}}}function Dg(A,e){e.tagID===o.HTML&&(A.insertionMode=p.AFTER_AFTER_FRAMESET)}function Og(A,e){e.tagID===o.HTML?VA(A,e):hn(A,e)}function hn(A,e){A.insertionMode=p.IN_BODY,on(A,e)}function Rg(A,e){switch(e.tagID){case o.HTML:{VA(A,e);break}case o.NOFRAMES:{pe(A,e);break}}}function Mg(A,e){e.chars=pA,A._insertCharacters(e)}function kg(A,e){A._insertCharacters(e),A.framesetOk=!1}function ou(A){for(;A.treeAdapter.getNamespaceURI(A.openElements.current)!==y.HTML&&!A._isIntegrationPoint(A.openElements.currentTagId,A.openElements.current);)A.openElements.pop()}function Pg(A,e){if(tB(e))ou(A),A._startTagOutsideForeignContent(e);else{const t=A._getAdjustedCurrentElement(),r=A.treeAdapter.getNamespaceURI(t);r===y.MATHML?Po(e):r===y.SVG&&(rB(e),Ko(e)),$a(e),e.selfClosing?A._appendElement(e,r):A._insertElement(e,r),e.ackSelfClosing=!0}}function Kg(A,e){if(e.tagID===o.P||e.tagID===o.BR){ou(A),A._endTagOutsideForeignContent(e);return}for(let t=A.openElements.stackTop;t>0;t--){const r=A.openElements.items[t];if(A.treeAdapter.getNamespaceURI(r)===y.HTML){A._endTagOutsideForeignContent(e);break}const n=A.treeAdapter.getTagName(r);if(n.toLowerCase()===e.tagName){e.tagName=n,A.openElements.shortenToLength(t);break}}}const Vg=new Set([w.AREA,w.BASE,w.BASEFONT,w.BGSOUND,w.BR,w.COL,w.EMBED,w.FRAME,w.HR,w.IMG,w.INPUT,w.KEYGEN,w.LINK,w.META,w.PARAM,w.SOURCE,w.TRACK,w.WBR]);function Gg(A,e){return e.treeAdapter.isElementNode(A)&&e.treeAdapter.getNamespaceURI(A)===y.HTML&&Vg.has(e.treeAdapter.getTagName(A))}const Yg={treeAdapter:ve,scriptingEnabled:!0};function Xg(A,e){const t={...Yg,...e};return uu(A,t)}function Wg(A,e){let t="";const r=e.treeAdapter.isElementNode(A)&&e.treeAdapter.getTagName(A)===w.TEMPLATE&&e.treeAdapter.getNamespaceURI(A)===y.HTML?e.treeAdapter.getTemplateContent(A):A,n=e.treeAdapter.getChildNodes(r);if(n)for(const a of n)t+=uu(a,e);return t}function uu(A,e){return e.treeAdapter.isElementNode(A)?Jg(A,e):e.treeAdapter.isTextNode(A)?jg(A,e):e.treeAdapter.isCommentNode(A)?zg(A,e):e.treeAdapter.isDocumentTypeNode(A)?$g(A,e):""}function Jg(A,e){const t=e.treeAdapter.getTagName(A);return`<${t}${qg(A,e)}>${Gg(A,e)?"":`${Wg(A,e)}</${t}>`}`}function qg(A,{treeAdapter:e}){let t="";for(const r of e.getAttrList(A)){if(t+=" ",r.namespace)switch(r.namespace){case y.XML:{t+=`xml:${r.name}`;break}case y.XMLNS:{r.name!=="xmlns"&&(t+="xmlns:"),t+=r.name;break}case y.XLINK:{t+=`xlink:${r.name}`;break}default:t+=`${r.prefix}:${r.name}`}else t+=r.name;t+=`="${xs(r.value)}"`}return t}function jg(A,e){const{treeAdapter:t}=e,r=t.getTextNodeContent(A),n=t.getParentNode(A),a=n&&t.isElementNode(n)&&t.getTagName(n);return a&&t.getNamespaceURI(n)===y.HTML&&vh(a,e.scriptingEnabled)?r:vs(r)}function zg(A,{treeAdapter:e}){return`<!--${e.getCommentNodeContent(A)}-->`}function $g(A,{treeAdapter:e}){return`<!DOCTYPE ${e.getDocumentTypeNodeName(A)}>`}function Zg(A,e){return Yo.parse(A,e)}function Ap(A,e,t){typeof A=="string"&&(t=e,e=A,A=null);const r=Yo.getFragmentParser(A,t);return r.tokenizer.write(e,!0),r.getFragment()}function cu(A){const e=A.includes('"')?"'":'"';return e+A+e}function ep(A,e,t){let r="!DOCTYPE ";return A&&(r+=A),e?r+=` PUBLIC ${cu(e)}`:t&&(r+=" SYSTEM"),t&&(r+=` ${cu(t)}`),r}const Ke={isCommentNode:Pr,isElementNode:W,isTextNode:we,createDocument(){const A=new tt([]);return A["x-mode"]=ae.NO_QUIRKS,A},createDocumentFragment(){return new tt([])},createElement(A,e,t){const r=Object.create(null),n=Object.create(null),a=Object.create(null);for(let s=0;s<t.length;s++){const u=t[s].name;r[u]=t[s].value,n[u]=t[s].namespace,a[u]=t[s].prefix}const i=new pa(A,r,[]);return i.namespace=e,i["x-attribsNamespace"]=n,i["x-attribsPrefix"]=a,i},createCommentNode(A){return new ha(A)},createTextNode(A){return new Yt(A)},appendChild(A,e){const t=A.children[A.children.length-1];t&&(t.next=e,e.prev=t),A.children.push(e),e.parent=A},insertBefore(A,e,t){const r=A.children.indexOf(t),{prev:n}=t;n&&(n.next=e,e.prev=n),t.prev=e,e.next=t,A.children.splice(r,0,e),e.parent=A},setTemplateContent(A,e){Ke.appendChild(A,e)},getTemplateContent(A){return A.children[0]},setDocumentType(A,e,t,r){const n=ep(e,t,r);let a=A.children.find(i=>Ea(i)&&i.name==="!doctype");a?a.data=n??null:(a=new Ba("!doctype",n),Ke.appendChild(A,a)),a["x-name"]=e,a["x-publicId"]=t,a["x-systemId"]=r},setDocumentMode(A,e){A["x-mode"]=e},getDocumentMode(A){return A["x-mode"]},detachNode(A){if(A.parent){const e=A.parent.children.indexOf(A),{prev:t,next:r}=A;A.prev=null,A.next=null,t&&(t.next=r),r&&(r.prev=t),A.parent.children.splice(e,1),A.parent=null}},insertText(A,e){const t=A.children[A.children.length-1];t&&we(t)?t.data+=e:Ke.appendChild(A,Ke.createTextNode(e))},insertTextBefore(A,e,t){const r=A.children[A.children.indexOf(t)-1];r&&we(r)?r.data+=e:Ke.insertBefore(A,Ke.createTextNode(e),t)},adoptAttributes(A,e){for(let t=0;t<e.length;t++){const r=e[t].name;A.attribs[r]===void 0&&(A.attribs[r]=e[t].value,A["x-attribsNamespace"][r]=e[t].namespace,A["x-attribsPrefix"][r]=e[t].prefix)}},getFirstChild(A){return A.children[0]},getChildNodes(A){return A.children},getParentNode(A){return A.parent},getAttrList(A){return A.attributes},getTagName(A){return A.name},getNamespaceURI(A){return A.namespace},getTextNodeContent(A){return A.data},getCommentNodeContent(A){return A.data},getDocumentTypeNodeName(A){var e;return(e=A["x-name"])!==null&&e!==void 0?e:""},getDocumentTypeNodePublicId(A){var e;return(e=A["x-publicId"])!==null&&e!==void 0?e:""},getDocumentTypeNodeSystemId(A){var e;return(e=A["x-systemId"])!==null&&e!==void 0?e:""},isDocumentTypeNode(A){return Ea(A)&&A.name==="!doctype"},setNodeSourceCodeLocation(A,e){e&&(A.startIndex=e.startOffset,A.endIndex=e.endOffset),A.sourceCodeLocation=e},getNodeSourceCodeLocation(A){return A.sourceCodeLocation},updateNodeSourceCodeLocation(A,e){e.endOffset!=null&&(A.endIndex=e.endOffset),A.sourceCodeLocation={...A.sourceCodeLocation,...e}}};function tp(A,e,t,r){var n;return(n=e.treeAdapter)!==null&&n!==void 0||(e.treeAdapter=Ke),e.scriptingEnabled!==!1&&(e.scriptingEnabled=!0),t?Zg(A,e):Ap(r,A,e)}const rp={treeAdapter:Ke};function np(A){const e="length"in A?A:[A];for(let r=0;r<e.length;r+=1){const n=e[r];Oe(n)&&Array.prototype.splice.call(e,r,1,...n.children)}let t="";for(let r=0;r<e.length;r+=1){const n=e[r];t+=Xg(n,rp)}return t}var X;(function(A){A[A.Tab=9]="Tab",A[A.NewLine=10]="NewLine",A[A.FormFeed=12]="FormFeed",A[A.CarriageReturn=13]="CarriageReturn",A[A.Space=32]="Space",A[A.ExclamationMark=33]="ExclamationMark",A[A.Number=35]="Number",A[A.Amp=38]="Amp",A[A.SingleQuote=39]="SingleQuote",A[A.DoubleQuote=34]="DoubleQuote",A[A.Dash=45]="Dash",A[A.Slash=47]="Slash",A[A.Zero=48]="Zero",A[A.Nine=57]="Nine",A[A.Semi=59]="Semi",A[A.Lt=60]="Lt",A[A.Eq=61]="Eq",A[A.Gt=62]="Gt",A[A.Questionmark=63]="Questionmark",A[A.UpperA=65]="UpperA",A[A.LowerA=97]="LowerA",A[A.UpperF=70]="UpperF",A[A.LowerF=102]="LowerF",A[A.UpperZ=90]="UpperZ",A[A.LowerZ=122]="LowerZ",A[A.LowerX=120]="LowerX",A[A.OpeningSquareBracket=91]="OpeningSquareBracket"})(X||(X={}));var N;(function(A){A[A.Text=1]="Text",A[A.BeforeTagName=2]="BeforeTagName",A[A.InTagName=3]="InTagName",A[A.InSelfClosingTag=4]="InSelfClosingTag",A[A.BeforeClosingTagName=5]="BeforeClosingTagName",A[A.InClosingTagName=6]="InClosingTagName",A[A.AfterClosingTagName=7]="AfterClosingTagName",A[A.BeforeAttributeName=8]="BeforeAttributeName",A[A.InAttributeName=9]="InAttributeName",A[A.AfterAttributeName=10]="AfterAttributeName",A[A.BeforeAttributeValue=11]="BeforeAttributeValue",A[A.InAttributeValueDq=12]="InAttributeValueDq",A[A.InAttributeValueSq=13]="InAttributeValueSq",A[A.InAttributeValueNq=14]="InAttributeValueNq",A[A.BeforeDeclaration=15]="BeforeDeclaration",A[A.InDeclaration=16]="InDeclaration",A[A.InProcessingInstruction=17]="InProcessingInstruction",A[A.BeforeComment=18]="BeforeComment",A[A.CDATASequence=19]="CDATASequence",A[A.InSpecialComment=20]="InSpecialComment",A[A.InCommentLike=21]="InCommentLike",A[A.BeforeSpecialS=22]="BeforeSpecialS",A[A.BeforeSpecialT=23]="BeforeSpecialT",A[A.SpecialStartSequence=24]="SpecialStartSequence",A[A.InSpecialTag=25]="InSpecialTag",A[A.InEntity=26]="InEntity"})(N||(N={}));function _e(A){return A===X.Space||A===X.NewLine||A===X.Tab||A===X.FormFeed||A===X.CarriageReturn}function Bn(A){return A===X.Slash||A===X.Gt||_e(A)}function ap(A){return A>=X.LowerA&&A<=X.LowerZ||A>=X.UpperA&&A<=X.UpperZ}var Te;(function(A){A[A.NoValue=0]="NoValue",A[A.Unquoted=1]="Unquoted",A[A.Single=2]="Single",A[A.Double=3]="Double"})(Te||(Te={}));const RA={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};let ip=class{constructor({xmlMode:e=!1,decodeEntities:t=!0},r){this.cbs=r,this.state=N.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=N.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=e,this.decodeEntities=t,this.entityDecoder=new Ua(e?Us:Ca,(n,a)=>this.emitCodePoint(n,a))}reset(){this.state=N.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=N.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(e){e===X.Lt||!this.decodeEntities&&this.fastForwardTo(X.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=N.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===X.Amp&&this.startEntity()}stateSpecialStartSequence(e){const t=this.sequenceIndex===this.currentSequence.length;if(!(t?Bn(e):(e|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!t){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=N.InTagName,this.stateInTagName(e)}stateInSpecialTag(e){if(this.sequenceIndex===this.currentSequence.length){if(e===X.Gt||_e(e)){const t=this.index-this.currentSequence.length;if(this.sectionStart<t){const r=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=r}this.isSpecial=!1,this.sectionStart=t+2,this.stateInClosingTagName(e);return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===RA.TitleEnd?this.decodeEntities&&e===X.Amp&&this.startEntity():this.fastForwardTo(X.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(e===X.Lt)}stateCDATASequence(e){e===RA.Cdata[this.sequenceIndex]?++this.sequenceIndex===RA.Cdata.length&&(this.state=N.InCommentLike,this.currentSequence=RA.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=N.InDeclaration,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===RA.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=N.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(e){return this.xmlMode?!Bn(e):ap(e)}startSpecial(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=N.SpecialStartSequence}stateBeforeTagName(e){if(e===X.ExclamationMark)this.state=N.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===X.Questionmark)this.state=N.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){const t=e|32;this.sectionStart=this.index,this.xmlMode?this.state=N.InTagName:t===RA.ScriptEnd[2]?this.state=N.BeforeSpecialS:t===RA.TitleEnd[2]?this.state=N.BeforeSpecialT:this.state=N.InTagName}else e===X.Slash?this.state=N.BeforeClosingTagName:(this.state=N.Text,this.stateText(e))}stateInTagName(e){Bn(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=N.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateBeforeClosingTagName(e){_e(e)||(e===X.Gt?this.state=N.Text:(this.state=this.isTagStartChar(e)?N.InClosingTagName:N.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(e){(e===X.Gt||_e(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=N.AfterClosingTagName,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){(e===X.Gt||this.fastForwardTo(X.Gt))&&(this.state=N.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(e){e===X.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=N.InSpecialTag,this.sequenceIndex=0):this.state=N.Text,this.sectionStart=this.index+1):e===X.Slash?this.state=N.InSelfClosingTag:_e(e)||(this.state=N.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(e){e===X.Gt?(this.cbs.onselfclosingtag(this.index),this.state=N.Text,this.sectionStart=this.index+1,this.isSpecial=!1):_e(e)||(this.state=N.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateInAttributeName(e){(e===X.Eq||Bn(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=N.AfterAttributeName,this.stateAfterAttributeName(e))}stateAfterAttributeName(e){e===X.Eq?this.state=N.BeforeAttributeValue:e===X.Slash||e===X.Gt?(this.cbs.onattribend(Te.NoValue,this.sectionStart),this.sectionStart=-1,this.state=N.BeforeAttributeName,this.stateBeforeAttributeName(e)):_e(e)||(this.cbs.onattribend(Te.NoValue,this.sectionStart),this.state=N.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(e){e===X.DoubleQuote?(this.state=N.InAttributeValueDq,this.sectionStart=this.index+1):e===X.SingleQuote?(this.state=N.InAttributeValueSq,this.sectionStart=this.index+1):_e(e)||(this.sectionStart=this.index,this.state=N.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))}handleInAttributeValue(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===X.DoubleQuote?Te.Double:Te.Single,this.index+1),this.state=N.BeforeAttributeName):this.decodeEntities&&e===X.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(e){this.handleInAttributeValue(e,X.DoubleQuote)}stateInAttributeValueSingleQuotes(e){this.handleInAttributeValue(e,X.SingleQuote)}stateInAttributeValueNoQuotes(e){_e(e)||e===X.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(Te.Unquoted,this.index),this.state=N.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===X.Amp&&this.startEntity()}stateBeforeDeclaration(e){e===X.OpeningSquareBracket?(this.state=N.CDATASequence,this.sequenceIndex=0):this.state=e===X.Dash?N.BeforeComment:N.InDeclaration}stateInDeclaration(e){(e===X.Gt||this.fastForwardTo(X.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=N.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(e===X.Gt||this.fastForwardTo(X.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=N.Text,this.sectionStart=this.index+1)}stateBeforeComment(e){e===X.Dash?(this.state=N.InCommentLike,this.currentSequence=RA.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=N.InDeclaration}stateInSpecialComment(e){(e===X.Gt||this.fastForwardTo(X.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=N.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){const t=e|32;t===RA.ScriptEnd[3]?this.startSpecial(RA.ScriptEnd,4):t===RA.StyleEnd[3]?this.startSpecial(RA.StyleEnd,4):(this.state=N.InTagName,this.stateInTagName(e))}stateBeforeSpecialT(e){const t=e|32;t===RA.TitleEnd[3]?this.startSpecial(RA.TitleEnd,4):t===RA.TextareaEnd[3]?this.startSpecial(RA.TextareaEnd,4):(this.state=N.InTagName,this.stateInTagName(e))}startEntity(){this.baseState=this.state,this.state=N.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?oe.Strict:this.baseState===N.Text||this.baseState===N.InSpecialTag?oe.Legacy:oe.Attribute)}stateInEntity(){const e=this.entityDecoder.write(this.buffer,this.index-this.offset);e>=0?(this.state=this.baseState,e===0&&(this.index=this.entityStart)):this.index=this.offset+this.buffer.length-1}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===N.Text||this.state===N.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===N.InAttributeValueDq||this.state===N.InAttributeValueSq||this.state===N.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){const e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case N.Text:{this.stateText(e);break}case N.SpecialStartSequence:{this.stateSpecialStartSequence(e);break}case N.InSpecialTag:{this.stateInSpecialTag(e);break}case N.CDATASequence:{this.stateCDATASequence(e);break}case N.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(e);break}case N.InAttributeName:{this.stateInAttributeName(e);break}case N.InCommentLike:{this.stateInCommentLike(e);break}case N.InSpecialComment:{this.stateInSpecialComment(e);break}case N.BeforeAttributeName:{this.stateBeforeAttributeName(e);break}case N.InTagName:{this.stateInTagName(e);break}case N.InClosingTagName:{this.stateInClosingTagName(e);break}case N.BeforeTagName:{this.stateBeforeTagName(e);break}case N.AfterAttributeName:{this.stateAfterAttributeName(e);break}case N.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(e);break}case N.BeforeAttributeValue:{this.stateBeforeAttributeValue(e);break}case N.BeforeClosingTagName:{this.stateBeforeClosingTagName(e);break}case N.AfterClosingTagName:{this.stateAfterClosingTagName(e);break}case N.BeforeSpecialS:{this.stateBeforeSpecialS(e);break}case N.BeforeSpecialT:{this.stateBeforeSpecialT(e);break}case N.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(e);break}case N.InSelfClosingTag:{this.stateInSelfClosingTag(e);break}case N.InDeclaration:{this.stateInDeclaration(e);break}case N.BeforeDeclaration:{this.stateBeforeDeclaration(e);break}case N.BeforeComment:{this.stateBeforeComment(e);break}case N.InProcessingInstruction:{this.stateInProcessingInstruction(e);break}case N.InEntity:{this.stateInEntity();break}}this.index++}this.cleanup()}finish(){this.state===N.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const e=this.buffer.length+this.offset;this.sectionStart>=e||(this.state===N.InCommentLike?this.currentSequence===RA.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===N.InTagName||this.state===N.BeforeAttributeName||this.state===N.BeforeAttributeValue||this.state===N.AfterAttributeName||this.state===N.InAttributeName||this.state===N.InAttributeValueSq||this.state===N.InAttributeValueDq||this.state===N.InAttributeValueNq||this.state===N.InClosingTagName||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,t){this.baseState!==N.Text&&this.baseState!==N.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.onattribentity(e)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.ontextentity(e,this.sectionStart))}};const Ut=new Set(["input","option","optgroup","select","button","datalist","textarea"]),cA=new Set(["p"]),lu=new Set(["thead","tbody"]),du=new Set(["dd","dt"]),fu=new Set(["rt","rp"]),sp=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",cA],["h1",cA],["h2",cA],["h3",cA],["h4",cA],["h5",cA],["h6",cA],["select",Ut],["input",Ut],["output",Ut],["button",Ut],["datalist",Ut],["textarea",Ut],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",du],["dt",du],["address",cA],["article",cA],["aside",cA],["blockquote",cA],["details",cA],["div",cA],["dl",cA],["fieldset",cA],["figcaption",cA],["figure",cA],["footer",cA],["form",cA],["header",cA],["hr",cA],["main",cA],["nav",cA],["ol",cA],["pre",cA],["section",cA],["table",cA],["ul",cA],["rt",fu],["rp",fu],["tbody",lu],["tfoot",lu]]),op=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),hu=new Set(["math","svg"]),Bu=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),up=/\s|\//;let cp=class{constructor(e,t={}){var r,n,a,i,s,u;this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=e??{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=(r=t.lowerCaseTags)!==null&&r!==void 0?r:this.htmlMode,this.lowerCaseAttributeNames=(n=t.lowerCaseAttributeNames)!==null&&n!==void 0?n:this.htmlMode,this.recognizeSelfClosing=(a=t.recognizeSelfClosing)!==null&&a!==void 0?a:!this.htmlMode,this.tokenizer=new((i=t.Tokenizer)!==null&&i!==void 0?i:ip)(this.options,this),this.foreignContext=[!this.htmlMode],(u=(s=this.cbs).onparserinit)===null||u===void 0||u.call(s,this)}ontext(e,t){var r,n;const a=this.getSlice(e,t);this.endIndex=t-1,(n=(r=this.cbs).ontext)===null||n===void 0||n.call(r,a),this.startIndex=t}ontextentity(e,t){var r,n;this.endIndex=t-1,(n=(r=this.cbs).ontext)===null||n===void 0||n.call(r,ba(e)),this.startIndex=t}isVoidElement(e){return this.htmlMode&&op.has(e)}onopentagname(e,t){this.endIndex=t;let r=this.getSlice(e,t);this.lowerCaseTagNames&&(r=r.toLowerCase()),this.emitOpenTag(r)}emitOpenTag(e){var t,r,n,a;this.openTagStart=this.startIndex,this.tagname=e;const i=this.htmlMode&&sp.get(e);if(i)for(;this.stack.length>0&&i.has(this.stack[0]);){const s=this.stack.shift();(r=(t=this.cbs).onclosetag)===null||r===void 0||r.call(t,s,!0)}this.isVoidElement(e)||(this.stack.unshift(e),this.htmlMode&&(hu.has(e)?this.foreignContext.unshift(!0):Bu.has(e)&&this.foreignContext.unshift(!1))),(a=(n=this.cbs).onopentagname)===null||a===void 0||a.call(n,e),this.cbs.onopentag&&(this.attribs={})}endOpenTag(e){var t,r;this.startIndex=this.openTagStart,this.attribs&&((r=(t=this.cbs).onopentag)===null||r===void 0||r.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1}onclosetag(e,t){var r,n,a,i,s,u,l,d;this.endIndex=t;let f=this.getSlice(e,t);if(this.lowerCaseTagNames&&(f=f.toLowerCase()),this.htmlMode&&(hu.has(f)||Bu.has(f))&&this.foreignContext.shift(),this.isVoidElement(f))this.htmlMode&&f==="br"&&((i=(a=this.cbs).onopentagname)===null||i===void 0||i.call(a,"br"),(u=(s=this.cbs).onopentag)===null||u===void 0||u.call(s,"br",{},!0),(d=(l=this.cbs).onclosetag)===null||d===void 0||d.call(l,"br",!1));else{const h=this.stack.indexOf(f);if(h!==-1)for(let C=0;C<=h;C++){const m=this.stack.shift();(n=(r=this.cbs).onclosetag)===null||n===void 0||n.call(r,m,C!==h)}else this.htmlMode&&f==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1}onselfclosingtag(e){this.endIndex=e,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)}closeCurrentTag(e){var t,r;const n=this.tagname;this.endOpenTag(e),this.stack[0]===n&&((r=(t=this.cbs).onclosetag)===null||r===void 0||r.call(t,n,!e),this.stack.shift())}onattribname(e,t){this.startIndex=e;const r=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?r.toLowerCase():r}onattribdata(e,t){this.attribvalue+=this.getSlice(e,t)}onattribentity(e){this.attribvalue+=ba(e)}onattribend(e,t){var r,n;this.endIndex=t,(n=(r=this.cbs).onattribute)===null||n===void 0||n.call(r,this.attribname,this.attribvalue,e===Te.Double?'"':e===Te.Single?"'":e===Te.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(e){const t=e.search(up);let r=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(r=r.toLowerCase()),r}ondeclaration(e,t){this.endIndex=t;const r=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){const n=this.getInstructionName(r);this.cbs.onprocessinginstruction(`!${n}`,`!${r}`)}this.startIndex=t+1}onprocessinginstruction(e,t){this.endIndex=t;const r=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){const n=this.getInstructionName(r);this.cbs.onprocessinginstruction(`?${n}`,`?${r}`)}this.startIndex=t+1}oncomment(e,t,r){var n,a,i,s;this.endIndex=t,(a=(n=this.cbs).oncomment)===null||a===void 0||a.call(n,this.getSlice(e,t-r)),(s=(i=this.cbs).oncommentend)===null||s===void 0||s.call(i),this.startIndex=t+1}oncdata(e,t,r){var n,a,i,s,u,l,d,f,h,C;this.endIndex=t;const m=this.getSlice(e,t-r);!this.htmlMode||this.options.recognizeCDATA?((a=(n=this.cbs).oncdatastart)===null||a===void 0||a.call(n),(s=(i=this.cbs).ontext)===null||s===void 0||s.call(i,m),(l=(u=this.cbs).oncdataend)===null||l===void 0||l.call(u)):((f=(d=this.cbs).oncomment)===null||f===void 0||f.call(d,`[CDATA[${m}]]`),(C=(h=this.cbs).oncommentend)===null||C===void 0||C.call(h)),this.startIndex=t+1}onend(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let r=0;r<this.stack.length;r++)this.cbs.onclosetag(this.stack[r],!0)}(t=(e=this.cbs).onend)===null||t===void 0||t.call(e)}reset(){var e,t,r,n;(t=(e=this.cbs).onreset)===null||t===void 0||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(n=(r=this.cbs).onparserinit)===null||n===void 0||n.call(r,this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(!this.htmlMode),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(e){this.reset(),this.end(e)}getSlice(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let r=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);for(;t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),r+=this.buffers[0].slice(0,t-this.bufferOffset);return r}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(e){var t,r;if(this.ended){(r=(t=this.cbs).onerror)===null||r===void 0||r.call(t,new Error(".write() after done!"));return}this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++)}end(e){var t,r;if(this.ended){(r=(t=this.cbs).onerror)===null||r===void 0||r.call(t,new Error(".end() after done!"));return}e&&this.write(e),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(e){this.write(e)}done(e){this.end(e)}};function lp(A,e){const t=new d0(void 0,e);return new cp(t,e).end(A),t.root}const dp=Pf((A,e,t,r)=>e._useHtmlParser2?lp(A,e):tp(A,e,t,r)),gu=Ch(dp,(A,e)=>e._useHtmlParser2?Kr(A,e):np(A));var G=(A=>(A[A.None=0]="None",A[A.Text=1]="Text",A[A.Image=2]="Image",A[A.Video=3]="Video",A[A.Icon=4]="Icon",A[A.Link=5]="Link",A[A.Button=6]="Button",A[A.Block=10]="Block",A))(G||{}),qA;(A=>{A.THEME_TEXT_COLOR_CLASS="gp-designer-theme-text",A.THEME_BUTTON_COLOR_CLASS="gp-designer-theme-button",A.THEME_ICON_COLOR_CLASS="gp-designer-theme-icon",A.THEME_COLOR="#3574e6",A.IMAGE_PREVIEW_CLASS="gp-designer-image-preview"})(qA||(qA={}));const fp=c.defineComponent({name:"GpMessage",props:{message:{type:String,required:!0},type:{type:String,default:"info"},position:{type:String,default:"top-right"},duration:{type:Number,default:3e3},onClose:{type:Function,required:!0},icon:{type:Boolean,default:!0}},setup(A){const e=c.ref(!1),t=c.computed(()=>({success:"bg-green-100 text-green-800",error:"bg-red-100 text-red-800",info:"bg-blue-100 text-blue-800",warning:"bg-yellow-100 text-yellow-800"})[A.type]),r=()=>{e.value=!1,A.onClose()};return setTimeout(()=>{r()},A.duration),e.value=!0,{visible:e,typeClass:t,closeMessage:r}}}),Ve=(A,e)=>{const t=A.__vccOpts||A;for(const[r,n]of e)t[r]=n;return t},hp={key:0,class:"gp-message"},Bp={key:0,class:"mr-2"},gp={key:0,class:"text-green-500"},pp={key:1,class:"text-red-500"},Ep={key:2,class:"text-blue-500"},mp={key:3,class:"text-yellow-500"};function Cp(A,e,t,r,n,a){return c.openBlock(),c.createBlock(c.Transition,{name:"fade"},{default:c.withCtx(()=>[A.visible?(c.openBlock(),c.createElementBlock("div",hp,[c.createElementVNode("div",{class:c.normalizeClass([A.typeClass,"message-content"])},[A.icon?(c.openBlock(),c.createElementBlock("span",Bp,[c.renderSlot(A.$slots,"icon",{},()=>[A.type==="success"?(c.openBlock(),c.createElementBlock("span",gp,"✔")):c.createCommentVNode("",!0),A.type==="error"?(c.openBlock(),c.createElementBlock("span",pp,"✖")):c.createCommentVNode("",!0),A.type==="info"?(c.openBlock(),c.createElementBlock("span",Ep,"ℹ")):c.createCommentVNode("",!0),A.type==="warning"?(c.openBlock(),c.createElementBlock("span",mp,"⚠")):c.createCommentVNode("",!0)],!0)])):c.createCommentVNode("",!0),c.createElementVNode("span",null,c.toDisplayString(A.message),1),c.createElementVNode("button",{class:"close-btn hover:text-gray-800 font-bold",onClick:e[0]||(e[0]=(...i)=>A.closeMessage&&A.closeMessage(...i))}," × ")],2)])):c.createCommentVNode("",!0)]),_:3})}const wp=Ve(fp,[["render",Cp],["__scopeId","data-v-a234b03c"]]),Qt=c.reactive([]);let ai=null;const bp=()=>{const A=document.createElement("div");return A.id="global-message-container",document.body.appendChild(A),A},Tp=()=>{if(ai)return;const A=bp();ai=c.createApp({setup(){return{messageQueue:Qt}},render(){const e=c.computed(()=>{var r;return{"top-left":"top-4 left-4","top-right":"top-4 right-4","bottom-left":"bottom-4 left-4","bottom-right":"bottom-4 right-4","top-center":"top-4 left-1/2 transform -translate-x-1/2","bottom-center":"bottom-4 left-1/2 transform -translate-x-1/2"}[((r=Qt[0])==null?void 0:r.options.position)||"top-right"]});return c.h("div",{class:`fixed flex flex-col gap-2 ${e.value}`,style:{zIndex:999999}},Qt.map(t=>c.h(wp,{key:t.id,...t.options,onClose:()=>pu(t.id)})))}}),ai.mount(A)},pu=A=>{const e=Qt.findIndex(t=>t.id===A);e!==-1&&Qt.splice(e,1)};let Up=0;const j=A=>{Tp();const e=Up++;Qt.push({id:e,options:A}),setTimeout(()=>{pu(e)},A.duration||3e3)};j.success=(A,e=3e3,t=!0)=>{j(typeof A=="string"?{message:A,type:"success",duration:e,icon:t}:{...A,type:"success"})},j.error=(A,e=3e3,t=!0)=>{j(typeof A=="string"?{message:A,type:"error",duration:e,icon:t}:{...A,type:"error"})},j.info=(A,e=3e3,t=!0)=>{j(typeof A=="string"?{message:A,type:"info",duration:e,icon:t}:{...A,type:"info"})},j.warning=(A,e=3e3,t=!0)=>{j(typeof A=="string"?{message:A,type:"warning",duration:e,icon:t}:{...A,type:"warning"})};const Qp=["onClick"],Fp={key:2,"date-action":"1",contenteditable:"false",class:"text-red-500 text-xs mt-1"},Ip=Ve(c.defineComponent({__name:"ElementRenderer",props:{element:{type:Object,required:!0},selectedElement:Object,hoveredElement:Object,uploadByFile:{type:Function,required:!1},icons:{type:Array,default:()=>[]},mode:{type:String,default:"edit"},cropper:{type:Object,required:!1},icon:{type:Object,required:!1},upload:{type:Object,required:!1},r:{type:String,required:!1},showMargin:{type:Boolean,default:!1}},emits:["selectElement","hoverElement","updateText","contentUpdated","blockAction","addIcon","updateElementRule"],setup(A,{emit:e}){const t=A,r=e,n=c.computed(()=>{var _;const I=t.element.editText||t.element.text;return t.element.rule&&t.element.rule.allowWrap?(_=I==null?void 0:I.replace(/\n/g,"<br>"))==null?void 0:_.replace(/ /g,"&nbsp;"):I}),a=c.computed(()=>t.selectedElement===t.element),i=c.computed(()=>t.hoveredElement===t.element),s=c.ref(!1),u=c.ref(!1),l=c.ref(""),d=c.computed(()=>t.element.rule.minText||0),f=c.computed(()=>t.element.rule.maxText||1/0),h=I=>{let _="";if(I.children&&I.children.length&&I.children[0].type===G.Block){const J=I.children[0].rule.flexColumn||I.children[0].rule.mobileFlexColumn;Math.min(J,I.children.length)&&(_+=" flex pc:justify-center ",I.children[0].rule.mobileFlexColumn?_+=" justify-center flex-wrap ":_+=" gp-designer-m-swiper swiper-wrapper justify-normal ")}if(I.type===G.Block){const J=I.rule.flexColumn,wA=I.rule.mobileFlexColumn;(wA||J)&&(_+=" box-border "),wA>1&&wA<=12?_+=` basis-1/${wA} `:wA==1?_+=" basis-full ":wA||(_+=" gp-designer-m-swiper-slide swiper-slide "),J>1&&J<=12?_+=` pc:basis-1/${J} `:J==1&&(_+=" pc:basis-full ")}if((I.type==G.Button||I.type==G.Link)&&I.rule.openMeiqia&&(_+=" gp-designer-meiqia "),I.rule.isThemeColor&&t.element.type===G.Text?_+=" "+qA.THEME_TEXT_COLOR_CLASS+" ":I.rule.isThemeColor&&t.element.type===G.Button?_+=" "+qA.THEME_BUTTON_COLOR_CLASS+" ":I.rule.isThemeColor&&t.element.type===G.Icon&&(_+=" "+qA.THEME_ICON_COLOR_CLASS+" "),I.attrs.class){var rA=I.attrs.class.split(" ").filter(J=>J);rA.length&&(_=_.split(" ").filter(J=>!rA.includes(J)).join(" "))}return I.type===G.Image&&I.rule.preview&&(_+=" "+qA.IMAGE_PREVIEW_CLASS+" "),_};c.watch(()=>t.r,()=>{r("contentUpdated",D())},{immediate:!0});function C(I){I.xpath!="/div[1]"&&t.mode!=="preview"&&(t.mode==="edit"?I.type===G.Text&&r("selectElement",I):r("selectElement",I),!I.rule.isReadOnly&&I.type===G.Text&&(s.value=!0))}function m(I){r("selectElement",I)}function T(I,_){r("hoverElement",I,_)}function v(I){r("hoverElement",I)}function b(I){I.currentTarget.contains(I.relatedTarget)?r("hoverElement",null):t.hoveredElement?r("hoverElement",null,t.hoveredElement.parentxpath):r("hoverElement",null)}function x(){s.value=!1,r("contentUpdated",D())}function D(){function I(rA){var K;const J=rA;if(J.tag==="br")return"";const wA=J.rule.isThemeColor&&J.type==G.Text?qA.THEME_TEXT_COLOR_CLASS:J.rule.isThemeColor&&J.type==G.Button?qA.THEME_BUTTON_COLOR_CLASS:J.rule.isThemeColor&&J.type==G.Icon?qA.THEME_ICON_COLOR_CLASS:"";wA?J.attrs.class&&!J.attrs.class.includes(wA)?J.attrs.class=J.attrs.class?J.attrs.class+" "+wA:wA:J.attrs.class||(J.attrs.class=wA):J.attrs.class=(K=J.attrs.class)==null?void 0:K.replace(new RegExp(`${qA.THEME_TEXT_COLOR_CLASS}|${qA.THEME_BUTTON_COLOR_CLASS}|${qA.THEME_ICON_COLOR_CLASS}`,"g"),"");const Be={class:J.attrs.class||""},Mr=h(J);Mr&&(Be.class+=" "+Mr),J.type===G.Image&&(J.rule.preview?Be.class.includes(qA.IMAGE_PREVIEW_CLASS)||(Be.class+=" "+qA.IMAGE_PREVIEW_CLASS+" "):Be.class=Be.class.replace(qA.IMAGE_PREVIEW_CLASS,""));let Vt=Object.entries(rA.attrs||{}).filter(([$,iA])=>$!=="class").map(([$,iA])=>`${$}="${iA}"`).join(" ");const Gt=Object.entries(Be||{}).map(([$,iA])=>`${$}="${iA.trim()}"`).join(" ");Vt+=Gt;const ge=`<${rA.tag}${Vt?" "+Vt:""}>`,Cs=`</${rA.tag}>`,F=(rA.children||[]).map($=>I($)).join("");let Q=rA.editText||rA.text||"";return Q=Q.replace(/\r\n/g,`
9
- `).replace(/\n/g,"<br>"),`${ge}${Q}${F}${Cs}`}return I(t.element)}function R(I){var wA,Be;I.preventDefault(),I.stopPropagation();let _=((wA=I.clipboardData)==null?void 0:wA.getData("text/plain"))||"";(Be=t.element.rule)!=null&&Be.allowWrap?(_=_==null?void 0:_.replace(/\n/g,"<br>"),document.execCommand("insertHTML",!1,_)):(_=_==null?void 0:_.replace(/\n/g," "),document.execCommand("insertText",!1,_));const rA=I.target,J=rA.innerText||rA.textContent||"";L(J)}function O(I){var _;I.key==="Enter"&&(I.preventDefault(),I.stopPropagation(),(_=t.element.rule)!=null&&_.allowWrap?document.execCommand("insertLineBreak"):j.error("当前节点不允许换行"))}function E(I){I.stopPropagation();const _=I.target,rA=_.innerText||_.textContent||"";L(rA)}function L(I){if(I.length<d.value){u.value=!0,l.value=`最少输入 ${d.value} 个字符`;return}else if(I.length>f.value){u.value=!0,l.value=`最多输入 ${f.value} 个字符`;return}else u.value=!1,l.value="";r("updateText",{element:t.element,newText:I}),r("contentUpdated",D());const _=c.toRaw(t.element);_.editText=I}function M(I){r("updateText",I),r("contentUpdated",D())}function P(){const I={...t.element};r("blockAction",{action:"add",element:t.element,newBlock:I})}function z(){oA(t.element),r("blockAction",{action:"moveUp",element:t.element})}function oA(I){I.children&&I.children.length>0&&I.children.forEach(_=>{_.type==G.Text&&(_.text!==_.editText&&(_.text=_.editText),oA(_))})}function dA(){oA(t.element),r("blockAction",{action:"moveDown",element:t.element})}function q(){r("blockAction",{action:"delete",element:t.element})}function aA(I){r("blockAction",I),r("contentUpdated",D())}function hA(I){vA.value.openModal(I)}function BA(I){XA.value.openModal(I)}function TA(I,_){r("addIcon",I,_),r("contentUpdated",D())}function zA(I){r("updateElementRule",I)}const vA=c.ref(t.icon);c.watch(()=>t.icon,I=>{vA.value=I},{immediate:!0});const XA=c.ref(t.upload);c.watch(()=>t.upload,I=>{XA.value=I},{immediate:!0});const $A=c.computed(()=>{const I=h(t.element);return t.element.css=I,I}),OA=(I,_)=>{_.children&&_.children.length&&_.children[0].type===G.Block&&_.children.map(rA=>{rA.rule.flexColumn=I}),r("updateElementRule",_)},PA=c.computed(()=>{let I="";if(t.mode==="design"){const _=t.element;if(_.type===G.Block){const rA=_.rule.flexColumn;rA>1&&rA<=12&&(I+=`flex-basis: calc(100% / ${rA} - 10px);`)}}return I}),KA=c.ref(null);return(I,_)=>{const rA=c.resolveComponent("ElementRenderer",!0);return c.openBlock(),c.createElementBlock(c.Fragment,null,[t.element.type==c.unref(G).Text?(c.openBlock(),c.createBlock(c.resolveDynamicComponent(t.element.tag),c.mergeProps({key:0,class:["relative",A.mode==="design"?" border-dashed border-2":"",A.showMargin?"p-1 m-1":"",i.value?"border-dashed border-blue-500":"",a.value?"border-dashed border-green-500 z-5 border-2":"",u.value?"border-dashed border-red-500":"",(!i.value&&!a.value&&!u.value,""),t.element.rule&&t.element.rule.isReadOnly?"cursor-not-allowed":"",$A.value],style:PA.value},t.element.attrs,{contenteditable:s.value&&t.element.type==c.unref(G).Text&&a.value&&!t.element.rule.isReadOnly&&!t.element.rule.allowWrap,onClick:_[0]||(_[0]=c.withModifiers(()=>C(t.element),["stop"])),onMouseenter:_[1]||(_[1]=()=>v(t.element)),onMouseleave:b,onBlur:x,onInput:E,onPaste:R,onKeydown:c.withModifiers(O,["stop"]),ref_key:"elementRef",ref:KA,innerHTML:n.value}),null,16,["class","style","contenteditable","innerHTML"])):(c.openBlock(),c.createBlock(c.resolveDynamicComponent(t.element.tag),c.mergeProps({key:1,class:["relative",A.mode==="design"?" border-dashed border-2":"",A.showMargin?"p-1 m-1":"",i.value?"border-dashed border-blue-500":"",a.value?"border-dashed border-green-500 z-5 border-2":"",u.value?"border-dashed border-red-500":"",(!i.value&&!a.value&&!u.value,""),t.element.rule&&t.element.rule.isReadOnly?"cursor-not-allowed":"",t.element.type===c.unref(G).Icon?"icon-upload-box":"",$A.value],style:PA.value},t.element.attrs,{contenteditable:!1,onClick:_[5]||(_[5]=c.withModifiers(()=>C(t.element),["stop"])),onMouseenter:_[6]||(_[6]=()=>v(t.element)),onMouseleave:b,onBlur:x,onInput:E,onPaste:R,onKeydown:c.withModifiers(O,["stop"]),ref_key:"elementRef",ref:KA}),{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(n.value)+" ",1),t.element.children&&t.element.children.length?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.element.children,(J,wA)=>(c.openBlock(),c.createBlock(rA,{"show-margin":A.showMargin,key:wA,r:A.r,mode:A.mode,icons:A.icons,element:J,selectedElement:t.selectedElement,hoveredElement:t.hoveredElement,cropper:A.cropper,icon:A.icon,upload:A.upload,"upload-by-file":A.uploadByFile,onSelectElement:m,onHoverElement:T,onUpdateText:M,onBlockAction:aA,onAddIcon:TA,onUpdateElementRule:()=>zA(J)},null,8,["show-margin","r","mode","icons","element","selectedElement","hoveredElement","cropper","icon","upload","upload-by-file","onUpdateElementRule"]))),128)),t.element.type===c.unref(G).Block?(c.openBlock(),c.createElementBlock("div",{key:0,"date-action":"1",contenteditable:"false",onClick:_[2]||(_[2]=c.withModifiers(()=>{},["stop"])),class:"hover:z-10 z-9 flex space-x-1 flex-none flex-nowrap overflow-visible absolute left-2 top-2 text-sm"},[c.createElementVNode("button",{class:"flex-none content-center items-center p-1 bg-green-500/80 text-white rounded hover:bg-green-500",onClick:c.withModifiers(P,["stop"])},_[9]||(_[9]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("rect",{width:"336",height:"336",x:"128",y:"128",fill:"none",stroke:"white","stroke-linejoin":"round","stroke-width":"32",rx:"57",ry:"57"}),c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"m383.5 128l.5-24a56.16 56.16 0 0 0-56-56H112a64.19 64.19 0 0 0-64 64v216a56.16 56.16 0 0 0 56 56h24"})],-1)])),c.createElementVNode("button",{class:"flex-none content-center items-center p-1 bg-blue-500/80 text-white rounded hover:bg-blue-500",onClick:c.withModifiers(z,["stop"])},_[10]||(_[10]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M244 400L100 256l144-144M120 256h292"})],-1)])),c.createElementVNode("button",{class:"flex-none content-center items-center p-1 bg-blue-500/80 text-white rounded hover:bg-blue-500",onClick:c.withModifiers(dA,["stop"])},_[11]||(_[11]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"m268 112l144 144l-144 144m124-144H100"})],-1)])),c.createElementVNode("button",{class:"flex-none content-center items-center p-1 bg-red-500/80 text-white rounded hover:bg-red-500",onClick:c.withModifiers(q,["stop"])},_[12]||(_[12]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M400 256H112"})],-1)]))])):c.createCommentVNode("",!0),t.element.children&&t.element.children.length&&t.element.children[0].type===c.unref(G).Block&&t.element.children[0].rule&&t.element.children[0].rule.flexColumns&&t.element.children[0].rule.flexColumns.length>0?(c.openBlock(),c.createElementBlock("div",{key:1,"date-action":"1",contenteditable:"false",onClick:_[3]||(_[3]=c.withModifiers(()=>{},["stop"])),class:"hover:z-10 z-9 flex space-x-1 flex-none flex-nowrap overflow-visible absolute right-0 -top-6 items-center"},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.element.children[0].rule.flexColumns,(J,wA)=>(c.openBlock(),c.createElementBlock("button",{class:c.normalizeClass(["text-xs w-6 h-6 flex-none content-center items-center justify-center bg-purple-400/80 text-white rounded hover:bg-purple-600",t.element.children[0].rule.flexColumn===J?"bg-purple-700":""]),onClick:c.withModifiers(()=>OA(J,t.element),["stop"])},c.toDisplayString(J),11,Qp))),256))])):c.createCommentVNode("",!0)],64)):c.createCommentVNode("",!0),t.element.type===c.unref(G).Icon?(c.openBlock(),c.createElementBlock("div",{key:1,class:"icon-upload cursor-pointer rounded-sm w-5 h-5 justify-center items-center absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-sm text-gray-50 z-10 bg-black/80 hover:bg-black",contenteditable:"false",onClick:_[4]||(_[4]=c.withModifiers(()=>hA(t.element),["stop"]))},_[13]||(_[13]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M320 367.79h76c55 0 100-29.21 100-83.6s-53-81.47-96-83.6c-8.89-85.06-71-136.8-144-136.8c-69 0-113.44 45.79-128 91.2c-60 5.7-112 43.88-112 106.4s54 106.4 120 106.4h56"}),c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"m320 255.79l-64-64l-64 64m64 192.42V207.79"})],-1)]))):c.createCommentVNode("",!0)]),_:1},16,["class","style"])),t.element.type==c.unref(G).Text&&u.value?(c.openBlock(),c.createElementBlock("div",Fp,c.toDisplayString(l.value),1)):c.createCommentVNode("",!0),t.element.type===c.unref(G).Image?(c.openBlock(),c.createElementBlock("div",{key:3,class:"cursor-pointer rounded-sm flex justify-center items-center absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-sm text-gray-50 z-10 bg-black/80 hover:bg-black",onClick:_[8]||(_[8]=c.withModifiers(()=>{},["stop"])),contenteditable:"false"},[c.createElementVNode("div",{class:"p-1",onClick:_[7]||(_[7]=c.withModifiers(()=>BA(t.element),["stop"]))},_[14]||(_[14]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M320 367.79h76c55 0 100-29.21 100-83.6s-53-81.47-96-83.6c-8.89-85.06-71-136.8-144-136.8c-69 0-113.44 45.79-128 91.2c-60 5.7-112 43.88-112 106.4s54 106.4 120 106.4h56"}),c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"m320 255.79l-64-64l-64 64m64 192.42V207.79"})],-1)]))])):c.createCommentVNode("",!0)],64)}}}),[["__scopeId","data-v-f55d489e"]]),yp=c.defineComponent({name:"GpCheckbox",props:{modelValue:{type:Boolean,required:!0},label:{type:String,default:""}},emits:["update:modelValue"],setup(A,{emit:e}){return{updateValue:r=>{e("update:modelValue",r.target.checked)}}}}),xp={class:"form-group"},vp={class:"flex items-center space-x-2 cursor-pointer"},_p=["checked","aria-checked"],Np={class:"checkbox-label text-sm text-gray-700"};function Sp(A,e,t,r,n,a){return c.openBlock(),c.createElementBlock("div",xp,[c.createElementVNode("label",vp,[c.createElementVNode("input",{type:"checkbox",checked:A.modelValue,onChange:e[0]||(e[0]=(...i)=>A.updateValue&&A.updateValue(...i)),class:"custom-checkbox","aria-checked":A.modelValue},null,40,_p),c.createElementVNode("span",Np,c.toDisplayString(A.label),1)])])}const ut=Ve(yp,[["render",Sp],["__scopeId","data-v-68b8f276"]]),Lp={class:"text-sm"},Hp={key:0},Dp={key:0},Op={class:"text-gray-500 my-2 truncate"},Rp={class:"text-gray-500 my-2 break-words"},Mp={key:1},kp={key:2},Pp={key:3},Kp={key:4},Vp={key:5},Gp={key:6},Yp={key:7},Xp={key:8},Wp={key:9},Jp={key:10},qp={key:11},jp={key:12},zp={key:13},$p={key:14},Zp=Ve(c.defineComponent({__name:"EditorPanel",props:{element:Object},emits:["updateElement"],setup(A,{emit:e}){const t=A,r=e,n=c.ref({rule:{},...t.element});c.watch(()=>t.element,i=>{n.value={rule:{},...i}},{immediate:!0});function a(){var i;if(n.value.type===G.Icon&&!n.value.attrs.class.includes("iconfont")){j.error("图标仅支持 iconfont 图标");return}if(n.value.type===G.Image&&n.value.tag!=="img"){j.error("节点类型错误");return}if(n.value.type===G.Video&&n.value.tag!=="video"){j.error("节点类型错误");return}if(n.value.type===G.Link&&n.value.tag!=="a"){j.error("节点类型错误");return}if(n.value.type===G.Text){if(n.value.rule.maxText&&Number(n.value.rule.minText)>Number(n.value.rule.maxText)){j.error("最小文本长度不能大于最大文本长度");return}if(n.value.tag!=="p"&&n.value.tag!=="div"&&n.value.tag!=="span"&&n.value.tag!=="h1"&&n.value.tag!=="h2"&&n.value.tag!=="h3"&&n.value.tag!=="h4"&&n.value.tag!=="h5"&&n.value.tag!=="h6"&&n.value.tag!=="label"&&n.value.tag!=="strong"&&n.value.tag!=="em"&&n.value.tag!=="b"&&n.value.tag!=="i"&&n.value.tag!=="ul"&&n.value.tag!=="ol"&&n.value.tag!=="li"&&n.value.tag!=="dl"&&n.value.tag!=="dt"&&n.value.tag!=="dd"){j.error("节点类型错误");return}}if(n.value.type===G.Block){if(n.value.rule.maxBlock&&Number(n.value.rule.minBlock)>Number(n.value.rule.maxBlock)){j.error("最小块数量不能大于最大块数量");return}if(n.value.tag!=="div"&&n.value.tag!=="section"&&n.value.tag!=="article"&&n.value.tag!=="nav"&&n.value.tag!=="header"&&n.value.tag!=="footer"&&n.value.tag!=="span"&&n.value.tag!=="p"&&n.value.tag!=="img"){j.error("节点类型错误");return}if(!n.value.children||n.value.children.length<1){j.error("节点错误,必须包含子元素");return}!n.value.rule.flexColumn&&((i=n.value.rule.flexColumns)==null?void 0:i.length)>0&&(n.value.rule.flexColumn=n.value.rule.flexColumns[0])}n.value.rule.minText?n.value.rule.minText=Number(n.value.rule.minText):n.value.rule.minText=void 0,n.value.rule.maxText?n.value.rule.maxText=Number(n.value.rule.maxText):n.value.rule.maxText=void 0,n.value.rule.minBlock?n.value.rule.minBlock=Number(n.value.rule.minBlock):n.value.rule.minBlock=void 0,n.value.rule.maxBlock?n.value.rule.maxBlock=Number(n.value.rule.maxBlock):n.value.rule.maxBlock=void 0,n.value.rule.flexColumn?n.value.rule.flexColumn=Number(n.value.rule.flexColumn):n.value.rule.flexColumn=void 0,n.value.rule.mobileFlexColumn?n.value.rule.mobileFlexColumn=Number(n.value.rule.mobileFlexColumn):n.value.rule.mobileFlexColumn=void 0,r("updateElement",n.value)}return(i,s)=>(c.openBlock(),c.createElementBlock("div",Lp,[n.value?(c.openBlock(),c.createElementBlock("div",Hp,[n.value.text!==void 0?(c.openBlock(),c.createElementBlock("div",Dp,[s[17]||(s[17]=c.createElementVNode("label",{class:"block"},"内容",-1)),c.createElementVNode("div",Op,c.toDisplayString(n.value.text||"-"),1)])):c.createCommentVNode("",!0),c.createElementVNode("div",null,[s[18]||(s[18]=c.createElementVNode("label",{class:"block mt-4"},"节点",-1)),c.createElementVNode("div",Rp,c.toDisplayString(n.value.xpath),1)]),c.createElementVNode("div",null,[s[20]||(s[20]=c.createElementVNode("label",{class:"block mt-4"},"类型",-1)),c.withDirectives(c.createElementVNode("select",{"onUpdate:modelValue":s[0]||(s[0]=u=>n.value.type=u),class:"border rounded p-1 w-full"},s[19]||(s[19]=[c.createElementVNode("option",{value:0},"无",-1),c.createElementVNode("option",{value:1},"文本",-1),c.createElementVNode("option",{value:2},"图片",-1),c.createElementVNode("option",{value:3},"视频",-1),c.createElementVNode("option",{value:4},"图标",-1),c.createElementVNode("option",{value:5},"链接",-1),c.createElementVNode("option",{value:6},"按钮",-1),c.createElementVNode("option",{value:10},"块",-1)]),512),[[c.vModelSelect,n.value.type]])]),n.value.type==c.unref(G).Text?(c.openBlock(),c.createElementBlock("div",Mp,[s[21]||(s[21]=c.createElementVNode("label",{class:"block mt-4"},"最小文本长度",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":s[1]||(s[1]=u=>n.value.rule.minText=u),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.minText]])])):c.createCommentVNode("",!0),n.value.type==c.unref(G).Text?(c.openBlock(),c.createElementBlock("div",kp,[s[22]||(s[22]=c.createElementVNode("label",{class:"block mt-4"},"最大文本长度",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":s[2]||(s[2]=u=>n.value.rule.maxText=u),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.maxText]])])):c.createCommentVNode("",!0),n.value.type==c.unref(G).Image?(c.openBlock(),c.createElementBlock("div",Pp,[s[23]||(s[23]=c.createElementVNode("label",{class:"block mt-4"},"是否裁剪",-1)),c.createVNode(ut,{class:"py-2",modelValue:n.value.rule.crop,"onUpdate:modelValue":s[3]||(s[3]=u=>n.value.rule.crop=u),label:"是"},null,8,["modelValue"])])):c.createCommentVNode("",!0),n.value.type==c.unref(G).Image?(c.openBlock(),c.createElementBlock("div",Kp,[s[24]||(s[24]=c.createElementVNode("label",{class:"block mt-4"},"图片宽度",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":s[4]||(s[4]=u=>n.value.rule.minImageWidth=u),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.minImageWidth]])])):c.createCommentVNode("",!0),n.value.type==c.unref(G).Image?(c.openBlock(),c.createElementBlock("div",Vp,[s[25]||(s[25]=c.createElementVNode("label",{class:"block mt-4"},"图片高度",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":s[5]||(s[5]=u=>n.value.rule.maxImageHeight=u),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.maxImageHeight]])])):c.createCommentVNode("",!0),n.value.type==c.unref(G).Block?(c.openBlock(),c.createElementBlock("div",Gp,[s[26]||(s[26]=c.createElementVNode("label",{class:"block mt-4"},"块最小数量",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":s[6]||(s[6]=u=>n.value.rule.minBlock=u),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.minBlock]])])):c.createCommentVNode("",!0),n.value.type==c.unref(G).Block?(c.openBlock(),c.createElementBlock("div",Yp,[s[27]||(s[27]=c.createElementVNode("label",{class:"block mt-4"},"块最大数量",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":s[7]||(s[7]=u=>n.value.rule.maxBlock=u),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.maxBlock]])])):c.createCommentVNode("",!0),n.value.type==c.unref(G).Block?(c.openBlock(),c.createElementBlock("div",Xp,[s[29]||(s[29]=c.createElementVNode("label",{class:"block mt-4"},"PC端每行列数",-1)),c.withDirectives(c.createElementVNode("select",{multiple:"","onUpdate:modelValue":s[8]||(s[8]=u=>n.value.rule.flexColumns=u),class:"border rounded p-1 w-full h-32"},s[28]||(s[28]=[c.createElementVNode("option",{value:1},"1",-1),c.createElementVNode("option",{value:2},"2",-1),c.createElementVNode("option",{value:3},"3",-1),c.createElementVNode("option",{value:4},"4",-1),c.createElementVNode("option",{value:5},"5",-1),c.createElementVNode("option",{value:6},"6",-1),c.createElementVNode("option",{value:7},"7",-1),c.createElementVNode("option",{value:8},"8",-1),c.createElementVNode("option",{value:9},"9",-1),c.createElementVNode("option",{value:10},"10",-1),c.createElementVNode("option",{value:11},"11",-1),c.createElementVNode("option",{value:12},"12",-1)]),512),[[c.vModelSelect,n.value.rule.flexColumns]])])):c.createCommentVNode("",!0),n.value.type==c.unref(G).Block?(c.openBlock(),c.createElementBlock("div",Wp,[s[31]||(s[31]=c.createElementVNode("label",{class:"block mt-4"},"移动端每行列数",-1)),c.withDirectives(c.createElementVNode("select",{"onUpdate:modelValue":s[9]||(s[9]=u=>n.value.rule.mobileFlexColumn=u),class:"border rounded p-1 w-full"},s[30]||(s[30]=[c.createElementVNode("option",{value:void 0},"无(轮播)",-1),c.createElementVNode("option",{value:1},"1",-1),c.createElementVNode("option",{value:2},"2",-1),c.createElementVNode("option",{value:3},"3",-1),c.createElementVNode("option",{value:4},"4",-1),c.createElementVNode("option",{value:5},"5",-1),c.createElementVNode("option",{value:6},"6",-1)]),512),[[c.vModelSelect,n.value.rule.mobileFlexColumn]])])):c.createCommentVNode("",!0),n.value.type==c.unref(G).Text||n.value.type==c.unref(G).Icon||n.value.type==c.unref(G).Button?(c.openBlock(),c.createElementBlock("div",Jp,[s[32]||(s[32]=c.createElementVNode("label",{class:"block mt-4"},"主题色",-1)),c.createVNode(ut,{class:"py-2",modelValue:n.value.rule.isThemeColor,"onUpdate:modelValue":s[10]||(s[10]=u=>n.value.rule.isThemeColor=u),label:"是"},null,8,["modelValue"])])):c.createCommentVNode("",!0),c.createElementVNode("div",null,[s[33]||(s[33]=c.createElementVNode("label",{class:"block mt-4"},"是否必填",-1)),c.createVNode(ut,{class:"py-2",modelValue:n.value.rule.isRequired,"onUpdate:modelValue":s[11]||(s[11]=u=>n.value.rule.isRequired=u),label:"是"},null,8,["modelValue"])]),c.createElementVNode("div",null,[s[34]||(s[34]=c.createElementVNode("label",{class:"block mt-4"},"是否只读",-1)),c.createVNode(ut,{class:"py-2",modelValue:n.value.rule.isReadOnly,"onUpdate:modelValue":s[12]||(s[12]=u=>n.value.rule.isReadOnly=u),label:"是"},null,8,["modelValue"])]),n.value.type==c.unref(G).Link||n.value.type==c.unref(G).Button?(c.openBlock(),c.createElementBlock("div",qp,[s[35]||(s[35]=c.createElementVNode("label",{class:"block mt-4"},"打开美洽",-1)),c.createVNode(ut,{class:"py-2",modelValue:n.value.rule.openMeiqia,"onUpdate:modelValue":s[13]||(s[13]=u=>n.value.rule.openMeiqia=u),label:"是"},null,8,["modelValue"])])):c.createCommentVNode("",!0),n.value.type==c.unref(G).Link||n.value.type==c.unref(G).Button?(c.openBlock(),c.createElementBlock("div",jp,[s[36]||(s[36]=c.createElementVNode("label",{class:"block mt-4"},"链接",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":s[14]||(s[14]=u=>n.value.rule.linkUrl=u),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.linkUrl]])])):c.createCommentVNode("",!0),n.value.type==c.unref(G).Text?(c.openBlock(),c.createElementBlock("div",zp,[s[37]||(s[37]=c.createElementVNode("label",{class:"block mt-4"},"允许换行(回车/粘贴多段文本等)",-1)),c.createVNode(ut,{class:"py-2",modelValue:n.value.rule.allowWrap,"onUpdate:modelValue":s[15]||(s[15]=u=>n.value.rule.allowWrap=u),label:"是"},null,8,["modelValue"])])):c.createCommentVNode("",!0),n.value.type==c.unref(G).Image?(c.openBlock(),c.createElementBlock("div",$p,[s[38]||(s[38]=c.createElementVNode("label",{class:"block mt-4"},"预览(点击查看大图)",-1)),c.createVNode(ut,{class:"py-2",modelValue:n.value.rule.preview,"onUpdate:modelValue":s[16]||(s[16]=u=>n.value.rule.preview=u),label:"是"},null,8,["modelValue"])])):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0),c.createElementVNode("button",{onClick:a,class:"mt-4 p-2 bg-green-500 text-white rounded"}," 保存 ")]))}}),[["__scopeId","data-v-1499ca4f"]]);/*!
6
+ )`,enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"},uo={};function Xd(A,e){return A===Z.falseFunc?Z.falseFunc:t=>e.isTag(t)&&A(t)}function co(A,e){const t=e.getSiblings(A);if(t.length<=1)return[];const r=t.indexOf(A);return r<0||r===t.length-1?[]:t.slice(r+1).filter(e.isTag)}function Va(A){return{xmlMode:!!A.xmlMode,lowerCaseAttributeNames:!!A.lowerCaseAttributeNames,lowerCaseTags:!!A.lowerCaseTags,quirksMode:!!A.quirksMode,cacheResults:!!A.cacheResults,pseudos:A.pseudos,adapter:A.adapter,equals:A.equals}}const Ga=(A,e,t,r,n)=>{const a=n(e,Va(t),r);return a===Z.trueFunc?A:a===Z.falseFunc?Z.falseFunc:i=>a(i)&&A(i)},Ya={is:Ga,matches:Ga,where:Ga,not(A,e,t,r,n){const a=n(e,Va(t),r);return a===Z.falseFunc?A:a===Z.trueFunc?Z.falseFunc:i=>!a(i)&&A(i)},has(A,e,t,r,n){const{adapter:a}=t,i=Va(t);i.relativeSelector=!0;const s=e.some(d=>d.some(ka))?[uo]:void 0,u=n(e,i,s);if(u===Z.falseFunc)return Z.falseFunc;const l=Xd(u,a);if(s&&u!==Z.trueFunc){const{shouldTestNextSiblings:d=!1}=u;return f=>{if(!A(f))return!1;s[0]=f;const h=a.getChildren(f),C=d?[...h,...co(f,a)]:h;return a.existsOne(l,C)}}return d=>A(d)&&a.existsOne(l,a.getChildren(d))}};function Wd(A,e,t,r,n){var a;const{name:i,data:s}=e;if(Array.isArray(s)){if(!(i in Ya))throw new Error(`Unknown pseudo-class :${i}(${s})`);return Ya[i](A,s,t,r,n)}const u=(a=t.pseudos)===null||a===void 0?void 0:a[i],l=typeof u=="string"?u:Yd[i];if(typeof l=="string"){if(s!=null)throw new Error(`Pseudo ${i} doesn't have any arguments`);const d=Zr(l);return Ya.is(A,d,t,r,n)}if(typeof u=="function")return oo(u,i,s,1),d=>u(d,s)&&A(d);if(i in Pa)return Pa[i](A,s,t,r);if(i in so){const d=so[i];return oo(d,i,s,2),f=>d(f,t,s)&&A(f)}throw new Error(`Unknown pseudo-class :${i}`)}function Xa(A,e){const t=e.getParent(A);return t&&e.isTag(t)?t:null}function Jd(A,e,t,r,n){const{adapter:a,equals:i}=t;switch(e.type){case Y.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case Y.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case Y.Attribute:{if(e.namespace!=null)throw new Error("Namespaced attributes are not yet supported by css-select");return(!t.xmlMode||t.lowerCaseAttributeNames)&&(e.name=e.name.toLowerCase()),kd[e.action](A,e,t)}case Y.Pseudo:return Wd(A,e,t,r,n);case Y.Tag:{if(e.namespace!=null)throw new Error("Namespaced tag names are not yet supported by css-select");let{name:s}=e;return(!t.xmlMode||t.lowerCaseTags)&&(s=s.toLowerCase()),function(l){return a.getName(l)===s&&A(l)}}case Y.Descendant:{if(t.cacheResults===!1||typeof WeakSet>"u")return function(l){let d=l;for(;d=Xa(d,a);)if(A(d))return!0;return!1};const s=new WeakSet;return function(l){let d=l;for(;d=Xa(d,a);)if(!s.has(d)){if(a.isTag(d)&&A(d))return!0;s.add(d)}return!1}}case"_flexibleDescendant":return function(u){let l=u;do if(A(l))return!0;while(l=Xa(l,a));return!1};case Y.Parent:return function(u){return a.getChildren(u).some(l=>a.isTag(l)&&A(l))};case Y.Child:return function(u){const l=a.getParent(u);return l!=null&&a.isTag(l)&&A(l)};case Y.Sibling:return function(u){const l=a.getSiblings(u);for(let d=0;d<l.length;d++){const f=l[d];if(i(u,f))break;if(a.isTag(f)&&A(f))return!0}return!1};case Y.Adjacent:return a.prevElementSibling?function(u){const l=a.prevElementSibling(u);return l!=null&&A(l)}:function(u){const l=a.getSiblings(u);let d;for(let f=0;f<l.length;f++){const h=l[f];if(i(u,h))break;a.isTag(h)&&(d=h)}return!!d&&A(d)};case Y.Universal:{if(e.namespace!=null&&e.namespace!=="*")throw new Error("Namespaced universal selectors are not yet supported by css-select");return A}}}function lo(A){return A.type===Y.Pseudo&&(A.name==="scope"||Array.isArray(A.data)&&A.data.some(e=>e.some(lo)))}const qd={type:Y.Descendant},jd={type:"_flexibleDescendant"},zd={type:Y.Pseudo,name:"scope",data:null};function $d(A,{adapter:e},t){const r=!!(t!=null&&t.every(n=>{const a=e.isTag(n)&&e.getParent(n);return n===uo||a&&e.isTag(a)}));for(const n of A){if(!(n.length>0&&ka(n[0])&&n[0].type!==Y.Descendant))if(r&&!n.some(lo))n.unshift(qd);else continue;n.unshift(zd)}}function fo(A,e,t){var r;A.forEach(Od),t=(r=e.context)!==null&&r!==void 0?r:t;const n=Array.isArray(t),a=t&&(Array.isArray(t)?t:[t]);if(e.relativeSelector!==!1)$d(A,e,a);else if(A.some(u=>u.length>0&&ka(u[0])))throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let i=!1;const s=A.map(u=>{if(u.length>=2){const[l,d]=u;l.type!==Y.Pseudo||l.name!=="scope"||(n&&d.type===Y.Descendant?u[1]=jd:(d.type===Y.Adjacent||d.type===Y.Sibling)&&(i=!0))}return Zd(u,e,a)}).reduce(Af,Z.falseFunc);return s.shouldTestNextSiblings=i,s}function Zd(A,e,t){var r;return A.reduce((n,a)=>n===Z.falseFunc?Z.falseFunc:Jd(n,a,e,t,fo),(r=e.rootFunc)!==null&&r!==void 0?r:Z.trueFunc)}function Af(A,e){return e===Z.falseFunc||A===Z.trueFunc?A:A===Z.falseFunc||e===Z.trueFunc?e:function(r){return A(r)||e(r)}}const ho=(A,e)=>A===e,ef={adapter:jr,equals:ho};function tf(A){var e,t,r,n;const a=A??ef;return(e=a.adapter)!==null&&e!==void 0||(a.adapter=jr),(t=a.equals)!==null&&t!==void 0||(a.equals=(n=(r=a.adapter)===null||r===void 0?void 0:r.equals)!==null&&n!==void 0?n:ho),a}function rf(A){return function(t,r,n){const a=tf(r);return A(t,a,n)}}const Wa=rf(fo);function Bo(A,e,t=!1){return t&&(A=nf(A,e)),Array.isArray(A)?e.removeSubsets(A):e.getChildren(A)}function nf(A,e){const t=Array.isArray(A)?A.slice(0):[A],r=t.length;for(let n=0;n<r;n++){const a=co(t[n],e);t.push(...a)}return t}const af=new Set(["first","last","eq","gt","nth","lt","even","odd"]);function rn(A){return A.type!=="pseudo"?!1:af.has(A.name)?!0:A.name==="not"&&Array.isArray(A.data)?A.data.some(e=>e.some(rn)):!1}function sf(A,e,t){const r=e!=null?parseInt(e,10):NaN;switch(A){case"first":return 1;case"nth":case"eq":return isFinite(r)?r>=0?r+1:1/0:0;case"lt":return isFinite(r)?r>=0?Math.min(r,t):1/0:0;case"gt":return isFinite(r)?1/0:0;case"odd":return 2*t;case"even":return 2*t-1;case"last":case"not":return 1/0}}function of(A){for(;A.parent;)A=A.parent;return A}function Ja(A){const e=[],t=[];for(const r of A)r.some(rn)?e.push(r):t.push(r);return[t,e]}const uf={type:Y.Universal,namespace:null},cf={type:Y.Pseudo,name:"scope",data:null};function go(A,e,t={}){return po([A],e,t)}function po(A,e,t={}){if(typeof e=="function")return A.some(e);const[r,n]=Ja(Zr(e));return r.length>0&&A.some(Wa(r,t))||n.some(a=>Co(a,A,t).length>0)}function lf(A,e,t,r){const n=typeof t=="string"?parseInt(t,10):NaN;switch(A){case"first":case"lt":return e;case"last":return e.length>0?[e[e.length-1]]:e;case"nth":case"eq":return isFinite(n)&&Math.abs(n)<e.length?[n<0?e[e.length+n]:e[n]]:[];case"gt":return isFinite(n)?e.slice(n+1):[];case"even":return e.filter((a,i)=>i%2===0);case"odd":return e.filter((a,i)=>i%2===1);case"not":{const a=new Set(Eo(t,e,r));return e.filter(i=>!a.has(i))}}}function mo(A,e,t={}){return Eo(Zr(A),e,t)}function Eo(A,e,t){if(e.length===0)return[];const[r,n]=Ja(A);let a;if(r.length){const i=ja(e,r,t);if(n.length===0)return i;i.length&&(a=new Set(i))}for(let i=0;i<n.length&&(a==null?void 0:a.size)!==e.length;i++){const s=n[i];if((a?e.filter(d=>W(d)&&!a.has(d)):e).length===0)break;const l=Co(s,e,t);if(l.length)if(a)l.forEach(d=>a.add(d));else{if(i===n.length-1)return l;a=new Set(l)}}return typeof a<"u"?a.size===e.length?e:e.filter(i=>a.has(i)):[]}function Co(A,e,t){var r;if(A.some($t)){const n=(r=t.root)!==null&&r!==void 0?r:of(e[0]),a={...t,context:e,relativeSelector:!1};return A.push(cf),nn(n,A,a,!0,e.length)}return nn(e,A,t,!1,e.length)}function df(A,e,t={},r=1/0){if(typeof A=="function")return wo(e,A);const[n,a]=Ja(Zr(A)),i=a.map(s=>nn(e,s,t,!0,r));return n.length&&i.push(qa(e,n,t,r)),i.length===0?[]:i.length===1?i[0]:bt(i.reduce((s,u)=>[...s,...u]))}function nn(A,e,t,r,n){const a=e.findIndex(rn),i=e.slice(0,a),s=e[a],u=e.length-1===a?n:1/0,l=sf(s.name,s.data,u);if(l===0)return[];const f=(i.length===0&&!Array.isArray(A)?Xr(A).filter(W):i.length===0?(Array.isArray(A)?A:[A]).filter(W):r||i.some($t)?qa(A,[i],t,l):ja(A,[i],t)).slice(0,l);let h=lf(s.name,f,s.data,t);if(h.length===0||e.length===a+1)return h;const C=e.slice(a+1),E=C.some($t);if(E){if($t(C[0])){const{type:T}=C[0];(T===Y.Sibling||T===Y.Adjacent)&&(h=Bo(h,jr,!0)),C.unshift(uf)}t={...t,relativeSelector:!1,rootFunc:T=>h.includes(T)}}else t.rootFunc&&t.rootFunc!==An.trueFunc&&(t={...t,rootFunc:An.trueFunc});return C.some(rn)?nn(h,C,t,!1,n):E?qa(h,[C],t,n):ja(h,[C],t)}function qa(A,e,t,r){const n=Wa(e,t,A);return wo(A,n,r)}function wo(A,e,t=1/0){const r=Bo(A,jr,e.shouldTestNextSiblings);return Na(n=>W(n)&&e(n),r,!0,t)}function ja(A,e,t){const r=(Array.isArray(A)?A:[A]).filter(W);if(r.length===0)return r;const n=Wa(e,t);return n===An.trueFunc?r:r.filter(n)}const ff=/^\s*[+~]/;function hf(A){if(!A)return this._make([]);if(typeof A!="string"){const e=xe(A)?A.toArray():[A],t=this.toArray();return this._make(e.filter(r=>t.some(n=>Ys(n,r))))}return this._findBySelector(A,Number.POSITIVE_INFINITY)}function Bf(A,e){var t;const r=this.toArray(),n=ff.test(A)?r:this.children().toArray(),a={context:r,root:(t=this._root)===null||t===void 0?void 0:t[0],xmlMode:this.options.xmlMode,lowerCaseTags:this.options.lowerCaseTags,lowerCaseAttributeNames:this.options.lowerCaseAttributeNames,pseudos:this.options.pseudos,quirksMode:this.options.quirksMode};return this._make(df(A,n,a,e))}function za(A){return function(e,...t){return function(r){var n;let a=A(e,this);return r&&(a=Ai(a,r,this.options.xmlMode,(n=this._root)===null||n===void 0?void 0:n[0])),this._make(this.length>1&&a.length>1?t.reduce((i,s)=>s(i),a):a)}}}const Ar=za((A,e)=>{let t=[];for(let r=0;r<e.length;r++){const n=A(e[r]);n.length>0&&(t=t.concat(n))}return t}),$a=za((A,e)=>{const t=[];for(let r=0;r<e.length;r++){const n=A(e[r]);n!==null&&t.push(n)}return t});function Za(A,...e){let t=null;const r=za((n,a)=>{const i=[];return TA(a,s=>{for(let u;(u=n(s))&&!(t!=null&&t(u,i.length));s=u)i.push(u)}),i})(A,...e);return function(n,a){t=typeof n=="string"?s=>go(s,n,this.options):n?er(n):null;const i=r.call(this,a);return t=null,i}}function Ut(A){return A.length>1?Array.from(new Set(A)):A}const gf=$a(({parent:A})=>A&&!Oe(A)?A:null,Ut),pf=Ar(A=>{const e=[];for(;A.parent&&!Oe(A.parent);)e.push(A.parent),A=A.parent;return e},bt,A=>A.reverse()),mf=Za(({parent:A})=>A&&!Oe(A)?A:null,bt,A=>A.reverse());function Ef(A){var e;const t=[];if(!A)return this._make(t);const r={xmlMode:this.options.xmlMode,root:(e=this._root)===null||e===void 0?void 0:e[0]},n=typeof A=="string"?a=>go(a,A,r):er(A);return TA(this,a=>{for(a&&!Oe(a)&&!W(a)&&(a=a.parent);a&&W(a);){if(n(a,0)){t.includes(a)||t.push(a);break}a=a.parent}}),this._make(t)}const Cf=$a(A=>va(A)),wf=Ar(A=>{const e=[];for(;A.next;)A=A.next,W(A)&&e.push(A);return e},Ut),bf=Za(A=>va(A),Ut),Tf=$a(A=>_a(A)),Uf=Ar(A=>{const e=[];for(;A.prev;)A=A.prev,W(A)&&e.push(A);return e},Ut),Qf=Za(A=>_a(A),Ut),Ff=Ar(A=>Rs(A).filter(e=>W(e)&&e!==A),bt),If=Ar(A=>Xr(A).filter(W),Ut);function yf(){const A=this.toArray().reduce((e,t)=>NA(t)?e.concat(t.children):e,[]);return this._make(A)}function xf(A){let e=0;const t=this.length;for(;e<t&&A.call(this[e],e,this[e])!==!1;)++e;return this}function vf(A){let e=[];for(let t=0;t<this.length;t++){const r=this[t],n=A.call(r,t,r);n!=null&&(e=e.concat(n))}return this._make(e)}function er(A){return typeof A=="function"?(e,t)=>A.call(e,t,e):xe(A)?e=>Array.prototype.includes.call(A,e):function(e){return A===e}}function _f(A){var e;return this._make(Ai(this.toArray(),A,this.options.xmlMode,(e=this._root)===null||e===void 0?void 0:e[0]))}function Ai(A,e,t,r){return typeof e=="string"?mo(e,A,{xmlMode:t,root:r}):A.filter(er(e))}function Nf(A){const e=this.toArray();return typeof A=="string"?po(e.filter(W),A,this.options):A?e.some(er(A)):!1}function Sf(A){let e=this.toArray();if(typeof A=="string"){const t=new Set(mo(A,e,this.options));e=e.filter(r=>!t.has(r))}else{const t=er(A);e=e.filter((r,n)=>!t(r,n))}return this._make(e)}function Lf(A){return this.filter(typeof A=="string"?`:has(${A})`:(e,t)=>this._make(t).find(A).length>0)}function Hf(){return this.length>1?this._make(this[0]):this}function Df(){return this.length>0?this._make(this[this.length-1]):this}function Of(A){var e;return A=+A,A===0&&this.length<=1?this:(A<0&&(A=this.length+A),this._make((e=this[A])!==null&&e!==void 0?e:[]))}function Rf(A){return A==null?this.toArray():this[A<0?this.length+A:A]}function Mf(){return Array.prototype.slice.call(this)}function kf(A){let e,t;return A==null?(e=this.parent().children(),t=this[0]):typeof A=="string"?(e=this._make(A),t=this[0]):(e=this,t=xe(A)?A[0]:A),Array.prototype.indexOf.call(e,t)}function Pf(A,e){return this._make(Array.prototype.slice.call(this,A,e))}function Kf(){var A;return(A=this.prevObject)!==null&&A!==void 0?A:this._make([])}function Vf(A,e){const t=this._make(A,e),r=bt([...this.get(),...t.get()]);return this._make(r)}function Gf(A){return this.prevObject?this.add(A?this.prevObject.filter(A):this.prevObject):this}const Yf=Object.freeze(Object.defineProperty({__proto__:null,_findBySelector:Bf,add:Vf,addBack:Gf,children:If,closest:Ef,contents:yf,each:xf,end:Kf,eq:Of,filter:_f,filterArray:Ai,find:hf,first:Hf,get:Rf,has:Lf,index:kf,is:Nf,last:Df,map:vf,next:Cf,nextAll:wf,nextUntil:bf,not:Sf,parent:gf,parents:pf,parentsUntil:mf,prev:Tf,prevAll:Uf,prevUntil:Qf,siblings:Ff,slice:Pf,toArray:Mf},Symbol.toStringTag,{value:"Module"}));function Xf(A){return function(t,r,n,a){if(typeof Buffer<"u"&&Buffer.isBuffer(t)&&(t=t.toString()),typeof t=="string")return A(t,r,n,a);const i=t;if(!Array.isArray(i)&&Oe(i))return i;const s=new rt([]);return st(i,s),s}}function st(A,e){const t=Array.isArray(A)?A:[A];e?e.children=t:e=null;for(let r=0;r<t.length;r++){const n=t[r];n.parent&&n.parent.children!==t&&nt(n),e?(n.prev=t[r-1]||null,n.next=t[r+1]||null):n.prev=n.next=null,n.parent=e}return e}function Wf(A,e){if(A==null)return[];if(typeof A=="string")return this._parse(A,this.options,!1,null).children.slice(0);if("length"in A){if(A.length===1)return this._makeDomArray(A[0],e);const t=[];for(let r=0;r<A.length;r++){const n=A[r];if(typeof n=="object"){if(n==null)continue;if(!("length"in n)){t.push(e?Jt(n,!0):n);continue}}t.push(...this._makeDomArray(n,e))}return t}return[e?Jt(A,!0):A]}function bo(A){return function(...e){const t=this.length-1;return TA(this,(r,n)=>{if(!NA(r))return;const a=typeof e[0]=="function"?e[0].call(r,n,this._render(r.children)):e,i=this._makeDomArray(a,n<t);A(i,r.children,r)})}}function ke(A,e,t,r,n){var a,i;const s=[e,t,...r],u=e===0?null:A[e-1],l=e+t>=A.length?null:A[e+t];for(let d=0;d<r.length;++d){const f=r[d],h=f.parent;if(h){const E=h.children.indexOf(f);E>-1&&(h.children.splice(E,1),n===h&&e>E&&s[0]--)}f.parent=n,f.prev&&(f.prev.next=(a=f.next)!==null&&a!==void 0?a:null),f.next&&(f.next.prev=(i=f.prev)!==null&&i!==void 0?i:null),f.prev=d===0?u:r[d-1],f.next=d===r.length-1?l:r[d+1]}return u&&(u.next=r[0]),l&&(l.prev=r[r.length-1]),A.splice(...s)}function Jf(A){return(xe(A)?A:this._make(A)).append(this),this}function qf(A){return(xe(A)?A:this._make(A)).prepend(this),this}const jf=bo((A,e,t)=>{ke(e,e.length,0,A,t)}),zf=bo((A,e,t)=>{ke(e,0,0,A,t)});function To(A){return function(e){const t=this.length-1,r=this.parents().last();for(let n=0;n<this.length;n++){const a=this[n],i=typeof e=="function"?e.call(a,n,a):typeof e=="string"&&!Ha(e)?r.find(e).clone():e,[s]=this._makeDomArray(i,n<t);if(!s||!NA(s))continue;let u=s,l=0;for(;l<u.children.length;){const d=u.children[l];W(d)?(u=d,l=0):l++}A(a,u,[s])}return this}}const $f=To((A,e,t)=>{const{parent:r}=A;if(!r)return;const n=r.children,a=n.indexOf(A);st([A],e),ke(n,a,0,t,r)}),Zf=To((A,e,t)=>{NA(A)&&(st(A.children,e),st(t,A))});function Ah(A){return this.parent(A).not("body").each((e,t)=>{this._make(t).replaceWith(t.children)}),this}function eh(A){const e=this[0];if(e){const t=this._make(typeof A=="function"?A.call(e,0,e):A).insertBefore(e);let r;for(let a=0;a<t.length;a++)t[a].type==="tag"&&(r=t[a]);let n=0;for(;r&&n<r.children.length;){const a=r.children[n];a.type==="tag"?(r=a,n=0):n++}r&&this._make(r).append(this)}return this}function th(...A){const e=this.length-1;return TA(this,(t,r)=>{if(!NA(t)||!t.parent)return;const n=t.parent.children,a=n.indexOf(t);if(a<0)return;const i=typeof A[0]=="function"?A[0].call(t,r,this._render(t.children)):A,s=this._makeDomArray(i,r<e);ke(n,a+1,0,s,t.parent)})}function rh(A){typeof A=="string"&&(A=this._make(A)),this.remove();const e=[];for(const t of this._makeDomArray(A)){const r=this.clone().toArray(),{parent:n}=t;if(!n)continue;const a=n.children,i=a.indexOf(t);i<0||(ke(a,i+1,0,r,n),e.push(...r))}return this._make(e)}function nh(...A){const e=this.length-1;return TA(this,(t,r)=>{if(!NA(t)||!t.parent)return;const n=t.parent.children,a=n.indexOf(t);if(a<0)return;const i=typeof A[0]=="function"?A[0].call(t,r,this._render(t.children)):A,s=this._makeDomArray(i,r<e);ke(n,a,0,s,t.parent)})}function ah(A){const e=this._make(A);this.remove();const t=[];return TA(e,r=>{const n=this.clone().toArray(),{parent:a}=r;if(!a)return;const i=a.children,s=i.indexOf(r);s<0||(ke(i,s,0,n,a),t.push(...n))}),this._make(t)}function ih(A){const e=A?this.filter(A):this;return TA(e,t=>{nt(t),t.prev=t.next=t.parent=null}),this}function sh(A){return TA(this,(e,t)=>{const{parent:r}=e;if(!r)return;const n=r.children,a=typeof A=="function"?A.call(e,t,e):A,i=this._makeDomArray(a);st(i,null);const s=n.indexOf(e);ke(n,s,1,i,r),i.includes(e)||(e.parent=e.prev=e.next=null)})}function oh(){return TA(this,A=>{if(NA(A)){for(const e of A.children)e.next=e.prev=e.parent=null;A.children.length=0}})}function uh(A){if(A===void 0){const e=this[0];return!e||!NA(e)?null:this._render(e.children)}return TA(this,e=>{if(!NA(e))return;for(const r of e.children)r.next=r.prev=r.parent=null;const t=xe(A)?A.toArray():this._parse(`${A}`,this.options,!1,e).children;st(t,e)})}function ch(){return this._render(this)}function lh(A){return A===void 0?qt(this):typeof A=="function"?TA(this,(e,t)=>this._make(e).text(A.call(e,t,qt([e])))):TA(this,e=>{if(!NA(e))return;for(const r of e.children)r.next=r.prev=r.parent=null;const t=new Wt(`${A}`);st(t,e)})}function dh(){const A=Array.prototype.map.call(this.get(),t=>Jt(t,!0)),e=new rt(A);for(const t of A)t.parent=e;return this._make(A)}const fh=Object.freeze(Object.defineProperty({__proto__:null,_makeDomArray:Wf,after:th,append:jf,appendTo:Jf,before:nh,clone:dh,empty:oh,html:uh,insertAfter:rh,insertBefore:ah,prepend:zf,prependTo:qf,remove:ih,replaceWith:sh,text:lh,toString:ch,unwrap:Ah,wrap:$f,wrapAll:eh,wrapInner:Zf},Symbol.toStringTag,{value:"Module"}));function hh(A,e){if(A!=null&&e!=null||typeof A=="object"&&!Array.isArray(A))return TA(this,(t,r)=>{W(t)&&Uo(t,A,e,r)});if(this.length!==0)return Qo(this[0],A)}function Uo(A,e,t,r){if(typeof e=="string"){const n=Qo(A),a=typeof t=="function"?t.call(A,r,n[e]):t;a===""?delete n[e]:a!=null&&(n[e]=a),A.attribs.style=Bh(n)}else if(typeof e=="object"){const n=Object.keys(e);for(let a=0;a<n.length;a++){const i=n[a];Uo(A,i,e[i],a)}}}function Qo(A,e){if(!A||!W(A))return;const t=gh(A.attribs.style);if(typeof e=="string")return t[e];if(Array.isArray(e)){const r={};for(const n of e)t[n]!=null&&(r[n]=t[n]);return r}return t}function Bh(A){return Object.keys(A).reduce((e,t)=>`${e}${e?" ":""}${t}: ${A[t]};`,"")}function gh(A){if(A=(A||"").trim(),!A)return{};const e={};let t;for(const r of A.split(";")){const n=r.indexOf(":");if(n<1||n===r.length-1){const a=r.trimEnd();a.length>0&&t!==void 0&&(e[t]+=`;${a}`)}else t=r.slice(0,n).trim(),e[t]=r.slice(n+1).trim()}return e}const ph=Object.freeze(Object.defineProperty({__proto__:null,css:hh},Symbol.toStringTag,{value:"Module"})),Fo="input,select,textarea,keygen",mh=/%20/g,Io=/\r?\n/g;function Eh(){return this.serializeArray().map(t=>`${encodeURIComponent(t.name)}=${encodeURIComponent(t.value)}`).join("&").replace(mh,"+")}function Ch(){return this.map((A,e)=>{const t=this._make(e);return W(e)&&e.name==="form"?t.find(Fo).toArray():t.filter(Fo).toArray()}).filter('[name!=""]:enabled:not(:submit, :button, :image, :reset, :file):matches([checked], :not(:checkbox, :radio))').map((A,e)=>{var t;const r=this._make(e),n=r.attr("name"),a=(t=r.val())!==null&&t!==void 0?t:"";return Array.isArray(a)?a.map(i=>({name:n,value:i.replace(Io,`\r
7
+ `)})):{name:n,value:a.replace(Io,`\r
8
+ `)}}).toArray()}const wh=Object.freeze(Object.defineProperty({__proto__:null,serialize:Eh,serializeArray:Ch},Symbol.toStringTag,{value:"Module"}));function bh(A){var e;return typeof A=="string"?{selector:A,value:"textContent"}:{selector:A.selector,value:(e=A.value)!==null&&e!==void 0?e:"textContent"}}function Th(A){const e={};for(const t in A){const r=A[t],n=Array.isArray(r),{selector:a,value:i}=bh(n?r[0]:r),s=typeof i=="function"?i:typeof i=="string"?u=>this._make(u).prop(i):u=>this._make(u).extract(i);if(n)e[t]=this._findBySelector(a,Number.POSITIVE_INFINITY).map((u,l)=>s(l,t,e)).get();else{const u=this._findBySelector(a,1);e[t]=u.length>0?s(u[0],t,e):void 0}}return e}const Uh=Object.freeze(Object.defineProperty({__proto__:null,extract:Th},Symbol.toStringTag,{value:"Module"}));class tr{constructor(e,t,r){if(this.length=0,this.options=r,this._root=t,e){for(let n=0;n<e.length;n++)this[n]=e[n];this.length=e.length}}}tr.prototype.cheerio="[cheerio object]",tr.prototype.splice=Array.prototype.splice,tr.prototype[Symbol.iterator]=Array.prototype[Symbol.iterator],Object.assign(tr.prototype,xd,Yf,fh,ph,wh,Uh);function Qh(A,e){return function t(r,n,a=!0){if(r==null)throw new Error("cheerio.load() expects a string");const i=La(n),s=A(r,i,a,null);class u extends tr{_make(f,h){const C=l(f,h);return C.prevObject=this,C}_parse(f,h,C,E){return A(f,h,C,E)}_render(f){return e(f,this.options)}}function l(d,f,h=s,C){if(d&&xe(d))return d;const E=La(C,i),T=typeof h=="string"?[A(h,E,!1,null)]:"length"in h?h:[h],v=xe(T)?T:new u(T,null,E);if(v._root=v,!d)return new u(void 0,v,E);const b=typeof d=="string"&&Ha(d)?A(d,E,!1,null).children:Fh(d)?[d]:Array.isArray(d)?d:void 0,x=new u(b,v,E);if(b)return x;if(typeof d!="string")throw new TypeError("Unexpected type of selector");let D=d;const R=f?typeof f=="string"?Ha(f)?new u([A(f,E,!1,null)],v,E):(D=`${f} ${D}`,v):xe(f)?f:new u(Array.isArray(f)?f:[f],v,E):v;return R?R.find(D):x}return Object.assign(l,pd,{load:t,_root:s,_options:i,fn:u.prototype,prototype:u.prototype}),l}}function Fh(A){return!!A.name||A.type==="root"||A.type==="text"||A.type==="comment"}const Ih=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),pA="�";var B;(function(A){A[A.EOF=-1]="EOF",A[A.NULL=0]="NULL",A[A.TABULATION=9]="TABULATION",A[A.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",A[A.LINE_FEED=10]="LINE_FEED",A[A.FORM_FEED=12]="FORM_FEED",A[A.SPACE=32]="SPACE",A[A.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",A[A.QUOTATION_MARK=34]="QUOTATION_MARK",A[A.AMPERSAND=38]="AMPERSAND",A[A.APOSTROPHE=39]="APOSTROPHE",A[A.HYPHEN_MINUS=45]="HYPHEN_MINUS",A[A.SOLIDUS=47]="SOLIDUS",A[A.DIGIT_0=48]="DIGIT_0",A[A.DIGIT_9=57]="DIGIT_9",A[A.SEMICOLON=59]="SEMICOLON",A[A.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",A[A.EQUALS_SIGN=61]="EQUALS_SIGN",A[A.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",A[A.QUESTION_MARK=63]="QUESTION_MARK",A[A.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",A[A.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",A[A.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",A[A.GRAVE_ACCENT=96]="GRAVE_ACCENT",A[A.LATIN_SMALL_A=97]="LATIN_SMALL_A",A[A.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(B||(B={}));const $A={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function yo(A){return A>=55296&&A<=57343}function yh(A){return A>=56320&&A<=57343}function xh(A,e){return(A-55296)*1024+9216+e}function xo(A){return A!==32&&A!==10&&A!==13&&A!==9&&A!==12&&A>=1&&A<=31||A>=127&&A<=159}function vo(A){return A>=64976&&A<=65007||Ih.has(A)}var U;(function(A){A.controlCharacterInInputStream="control-character-in-input-stream",A.noncharacterInInputStream="noncharacter-in-input-stream",A.surrogateInInputStream="surrogate-in-input-stream",A.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",A.endTagWithAttributes="end-tag-with-attributes",A.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",A.unexpectedSolidusInTag="unexpected-solidus-in-tag",A.unexpectedNullCharacter="unexpected-null-character",A.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",A.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",A.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",A.missingEndTagName="missing-end-tag-name",A.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",A.unknownNamedCharacterReference="unknown-named-character-reference",A.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",A.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",A.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",A.eofBeforeTagName="eof-before-tag-name",A.eofInTag="eof-in-tag",A.missingAttributeValue="missing-attribute-value",A.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",A.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",A.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",A.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",A.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",A.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",A.missingDoctypePublicIdentifier="missing-doctype-public-identifier",A.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",A.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",A.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",A.cdataInHtmlContent="cdata-in-html-content",A.incorrectlyOpenedComment="incorrectly-opened-comment",A.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",A.eofInDoctype="eof-in-doctype",A.nestedComment="nested-comment",A.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",A.eofInComment="eof-in-comment",A.incorrectlyClosedComment="incorrectly-closed-comment",A.eofInCdata="eof-in-cdata",A.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",A.nullCharacterReference="null-character-reference",A.surrogateCharacterReference="surrogate-character-reference",A.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",A.controlCharacterReference="control-character-reference",A.noncharacterCharacterReference="noncharacter-character-reference",A.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",A.missingDoctypeName="missing-doctype-name",A.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",A.duplicateAttribute="duplicate-attribute",A.nonConformingDoctype="non-conforming-doctype",A.missingDoctype="missing-doctype",A.misplacedDoctype="misplaced-doctype",A.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",A.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",A.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",A.openElementsLeftAfterEof="open-elements-left-after-eof",A.abandonedHeadElementChild="abandoned-head-element-child",A.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",A.nestedNoscriptInHead="nested-noscript-in-head",A.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(U||(U={}));const vh=65536;class _h{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=vh,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e,t){const{line:r,col:n,offset:a}=this,i=n+t,s=a+t;return{code:e,startLine:r,endLine:r,startCol:i,endCol:i,startOffset:s,endOffset:s}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){const t=this.html.charCodeAt(this.pos+1);if(yh(t))return this.pos++,this._addGap(),xh(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,B.EOF;return this._err(U.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let r=0;r<e.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==e.charCodeAt(r))return!1;return!0}peek(e){const t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,B.EOF;const r=this.html.charCodeAt(t);return r===B.CARRIAGE_RETURN?B.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,B.EOF;let e=this.html.charCodeAt(this.pos);return e===B.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,B.LINE_FEED):e===B.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,yo(e)&&(e=this._processSurrogate(e)),this.handler.onParseError===null||e>31&&e<127||e===B.LINE_FEED||e===B.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){xo(e)?this._err(U.controlCharacterInInputStream):vo(e)&&this._err(U.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var rA;(function(A){A[A.CHARACTER=0]="CHARACTER",A[A.NULL_CHARACTER=1]="NULL_CHARACTER",A[A.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",A[A.START_TAG=3]="START_TAG",A[A.END_TAG=4]="END_TAG",A[A.COMMENT=5]="COMMENT",A[A.DOCTYPE=6]="DOCTYPE",A[A.EOF=7]="EOF",A[A.HIBERNATION=8]="HIBERNATION"})(rA||(rA={}));function _o(A,e){for(let t=A.attrs.length-1;t>=0;t--)if(A.attrs[t].name===e)return A.attrs[t].value;return null}var I;(function(A){A.HTML="http://www.w3.org/1999/xhtml",A.MATHML="http://www.w3.org/1998/Math/MathML",A.SVG="http://www.w3.org/2000/svg",A.XLINK="http://www.w3.org/1999/xlink",A.XML="http://www.w3.org/XML/1998/namespace",A.XMLNS="http://www.w3.org/2000/xmlns/"})(I||(I={}));var ot;(function(A){A.TYPE="type",A.ACTION="action",A.ENCODING="encoding",A.PROMPT="prompt",A.NAME="name",A.COLOR="color",A.FACE="face",A.SIZE="size"})(ot||(ot={}));var ae;(function(A){A.NO_QUIRKS="no-quirks",A.QUIRKS="quirks",A.LIMITED_QUIRKS="limited-quirks"})(ae||(ae={}));var w;(function(A){A.A="a",A.ADDRESS="address",A.ANNOTATION_XML="annotation-xml",A.APPLET="applet",A.AREA="area",A.ARTICLE="article",A.ASIDE="aside",A.B="b",A.BASE="base",A.BASEFONT="basefont",A.BGSOUND="bgsound",A.BIG="big",A.BLOCKQUOTE="blockquote",A.BODY="body",A.BR="br",A.BUTTON="button",A.CAPTION="caption",A.CENTER="center",A.CODE="code",A.COL="col",A.COLGROUP="colgroup",A.DD="dd",A.DESC="desc",A.DETAILS="details",A.DIALOG="dialog",A.DIR="dir",A.DIV="div",A.DL="dl",A.DT="dt",A.EM="em",A.EMBED="embed",A.FIELDSET="fieldset",A.FIGCAPTION="figcaption",A.FIGURE="figure",A.FONT="font",A.FOOTER="footer",A.FOREIGN_OBJECT="foreignObject",A.FORM="form",A.FRAME="frame",A.FRAMESET="frameset",A.H1="h1",A.H2="h2",A.H3="h3",A.H4="h4",A.H5="h5",A.H6="h6",A.HEAD="head",A.HEADER="header",A.HGROUP="hgroup",A.HR="hr",A.HTML="html",A.I="i",A.IMG="img",A.IMAGE="image",A.INPUT="input",A.IFRAME="iframe",A.KEYGEN="keygen",A.LABEL="label",A.LI="li",A.LINK="link",A.LISTING="listing",A.MAIN="main",A.MALIGNMARK="malignmark",A.MARQUEE="marquee",A.MATH="math",A.MENU="menu",A.META="meta",A.MGLYPH="mglyph",A.MI="mi",A.MO="mo",A.MN="mn",A.MS="ms",A.MTEXT="mtext",A.NAV="nav",A.NOBR="nobr",A.NOFRAMES="noframes",A.NOEMBED="noembed",A.NOSCRIPT="noscript",A.OBJECT="object",A.OL="ol",A.OPTGROUP="optgroup",A.OPTION="option",A.P="p",A.PARAM="param",A.PLAINTEXT="plaintext",A.PRE="pre",A.RB="rb",A.RP="rp",A.RT="rt",A.RTC="rtc",A.RUBY="ruby",A.S="s",A.SCRIPT="script",A.SEARCH="search",A.SECTION="section",A.SELECT="select",A.SOURCE="source",A.SMALL="small",A.SPAN="span",A.STRIKE="strike",A.STRONG="strong",A.STYLE="style",A.SUB="sub",A.SUMMARY="summary",A.SUP="sup",A.TABLE="table",A.TBODY="tbody",A.TEMPLATE="template",A.TEXTAREA="textarea",A.TFOOT="tfoot",A.TD="td",A.TH="th",A.THEAD="thead",A.TITLE="title",A.TR="tr",A.TRACK="track",A.TT="tt",A.U="u",A.UL="ul",A.SVG="svg",A.VAR="var",A.WBR="wbr",A.XMP="xmp"})(w||(w={}));var o;(function(A){A[A.UNKNOWN=0]="UNKNOWN",A[A.A=1]="A",A[A.ADDRESS=2]="ADDRESS",A[A.ANNOTATION_XML=3]="ANNOTATION_XML",A[A.APPLET=4]="APPLET",A[A.AREA=5]="AREA",A[A.ARTICLE=6]="ARTICLE",A[A.ASIDE=7]="ASIDE",A[A.B=8]="B",A[A.BASE=9]="BASE",A[A.BASEFONT=10]="BASEFONT",A[A.BGSOUND=11]="BGSOUND",A[A.BIG=12]="BIG",A[A.BLOCKQUOTE=13]="BLOCKQUOTE",A[A.BODY=14]="BODY",A[A.BR=15]="BR",A[A.BUTTON=16]="BUTTON",A[A.CAPTION=17]="CAPTION",A[A.CENTER=18]="CENTER",A[A.CODE=19]="CODE",A[A.COL=20]="COL",A[A.COLGROUP=21]="COLGROUP",A[A.DD=22]="DD",A[A.DESC=23]="DESC",A[A.DETAILS=24]="DETAILS",A[A.DIALOG=25]="DIALOG",A[A.DIR=26]="DIR",A[A.DIV=27]="DIV",A[A.DL=28]="DL",A[A.DT=29]="DT",A[A.EM=30]="EM",A[A.EMBED=31]="EMBED",A[A.FIELDSET=32]="FIELDSET",A[A.FIGCAPTION=33]="FIGCAPTION",A[A.FIGURE=34]="FIGURE",A[A.FONT=35]="FONT",A[A.FOOTER=36]="FOOTER",A[A.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",A[A.FORM=38]="FORM",A[A.FRAME=39]="FRAME",A[A.FRAMESET=40]="FRAMESET",A[A.H1=41]="H1",A[A.H2=42]="H2",A[A.H3=43]="H3",A[A.H4=44]="H4",A[A.H5=45]="H5",A[A.H6=46]="H6",A[A.HEAD=47]="HEAD",A[A.HEADER=48]="HEADER",A[A.HGROUP=49]="HGROUP",A[A.HR=50]="HR",A[A.HTML=51]="HTML",A[A.I=52]="I",A[A.IMG=53]="IMG",A[A.IMAGE=54]="IMAGE",A[A.INPUT=55]="INPUT",A[A.IFRAME=56]="IFRAME",A[A.KEYGEN=57]="KEYGEN",A[A.LABEL=58]="LABEL",A[A.LI=59]="LI",A[A.LINK=60]="LINK",A[A.LISTING=61]="LISTING",A[A.MAIN=62]="MAIN",A[A.MALIGNMARK=63]="MALIGNMARK",A[A.MARQUEE=64]="MARQUEE",A[A.MATH=65]="MATH",A[A.MENU=66]="MENU",A[A.META=67]="META",A[A.MGLYPH=68]="MGLYPH",A[A.MI=69]="MI",A[A.MO=70]="MO",A[A.MN=71]="MN",A[A.MS=72]="MS",A[A.MTEXT=73]="MTEXT",A[A.NAV=74]="NAV",A[A.NOBR=75]="NOBR",A[A.NOFRAMES=76]="NOFRAMES",A[A.NOEMBED=77]="NOEMBED",A[A.NOSCRIPT=78]="NOSCRIPT",A[A.OBJECT=79]="OBJECT",A[A.OL=80]="OL",A[A.OPTGROUP=81]="OPTGROUP",A[A.OPTION=82]="OPTION",A[A.P=83]="P",A[A.PARAM=84]="PARAM",A[A.PLAINTEXT=85]="PLAINTEXT",A[A.PRE=86]="PRE",A[A.RB=87]="RB",A[A.RP=88]="RP",A[A.RT=89]="RT",A[A.RTC=90]="RTC",A[A.RUBY=91]="RUBY",A[A.S=92]="S",A[A.SCRIPT=93]="SCRIPT",A[A.SEARCH=94]="SEARCH",A[A.SECTION=95]="SECTION",A[A.SELECT=96]="SELECT",A[A.SOURCE=97]="SOURCE",A[A.SMALL=98]="SMALL",A[A.SPAN=99]="SPAN",A[A.STRIKE=100]="STRIKE",A[A.STRONG=101]="STRONG",A[A.STYLE=102]="STYLE",A[A.SUB=103]="SUB",A[A.SUMMARY=104]="SUMMARY",A[A.SUP=105]="SUP",A[A.TABLE=106]="TABLE",A[A.TBODY=107]="TBODY",A[A.TEMPLATE=108]="TEMPLATE",A[A.TEXTAREA=109]="TEXTAREA",A[A.TFOOT=110]="TFOOT",A[A.TD=111]="TD",A[A.TH=112]="TH",A[A.THEAD=113]="THEAD",A[A.TITLE=114]="TITLE",A[A.TR=115]="TR",A[A.TRACK=116]="TRACK",A[A.TT=117]="TT",A[A.U=118]="U",A[A.UL=119]="UL",A[A.SVG=120]="SVG",A[A.VAR=121]="VAR",A[A.WBR=122]="WBR",A[A.XMP=123]="XMP"})(o||(o={}));const Nh=new Map([[w.A,o.A],[w.ADDRESS,o.ADDRESS],[w.ANNOTATION_XML,o.ANNOTATION_XML],[w.APPLET,o.APPLET],[w.AREA,o.AREA],[w.ARTICLE,o.ARTICLE],[w.ASIDE,o.ASIDE],[w.B,o.B],[w.BASE,o.BASE],[w.BASEFONT,o.BASEFONT],[w.BGSOUND,o.BGSOUND],[w.BIG,o.BIG],[w.BLOCKQUOTE,o.BLOCKQUOTE],[w.BODY,o.BODY],[w.BR,o.BR],[w.BUTTON,o.BUTTON],[w.CAPTION,o.CAPTION],[w.CENTER,o.CENTER],[w.CODE,o.CODE],[w.COL,o.COL],[w.COLGROUP,o.COLGROUP],[w.DD,o.DD],[w.DESC,o.DESC],[w.DETAILS,o.DETAILS],[w.DIALOG,o.DIALOG],[w.DIR,o.DIR],[w.DIV,o.DIV],[w.DL,o.DL],[w.DT,o.DT],[w.EM,o.EM],[w.EMBED,o.EMBED],[w.FIELDSET,o.FIELDSET],[w.FIGCAPTION,o.FIGCAPTION],[w.FIGURE,o.FIGURE],[w.FONT,o.FONT],[w.FOOTER,o.FOOTER],[w.FOREIGN_OBJECT,o.FOREIGN_OBJECT],[w.FORM,o.FORM],[w.FRAME,o.FRAME],[w.FRAMESET,o.FRAMESET],[w.H1,o.H1],[w.H2,o.H2],[w.H3,o.H3],[w.H4,o.H4],[w.H5,o.H5],[w.H6,o.H6],[w.HEAD,o.HEAD],[w.HEADER,o.HEADER],[w.HGROUP,o.HGROUP],[w.HR,o.HR],[w.HTML,o.HTML],[w.I,o.I],[w.IMG,o.IMG],[w.IMAGE,o.IMAGE],[w.INPUT,o.INPUT],[w.IFRAME,o.IFRAME],[w.KEYGEN,o.KEYGEN],[w.LABEL,o.LABEL],[w.LI,o.LI],[w.LINK,o.LINK],[w.LISTING,o.LISTING],[w.MAIN,o.MAIN],[w.MALIGNMARK,o.MALIGNMARK],[w.MARQUEE,o.MARQUEE],[w.MATH,o.MATH],[w.MENU,o.MENU],[w.META,o.META],[w.MGLYPH,o.MGLYPH],[w.MI,o.MI],[w.MO,o.MO],[w.MN,o.MN],[w.MS,o.MS],[w.MTEXT,o.MTEXT],[w.NAV,o.NAV],[w.NOBR,o.NOBR],[w.NOFRAMES,o.NOFRAMES],[w.NOEMBED,o.NOEMBED],[w.NOSCRIPT,o.NOSCRIPT],[w.OBJECT,o.OBJECT],[w.OL,o.OL],[w.OPTGROUP,o.OPTGROUP],[w.OPTION,o.OPTION],[w.P,o.P],[w.PARAM,o.PARAM],[w.PLAINTEXT,o.PLAINTEXT],[w.PRE,o.PRE],[w.RB,o.RB],[w.RP,o.RP],[w.RT,o.RT],[w.RTC,o.RTC],[w.RUBY,o.RUBY],[w.S,o.S],[w.SCRIPT,o.SCRIPT],[w.SEARCH,o.SEARCH],[w.SECTION,o.SECTION],[w.SELECT,o.SELECT],[w.SOURCE,o.SOURCE],[w.SMALL,o.SMALL],[w.SPAN,o.SPAN],[w.STRIKE,o.STRIKE],[w.STRONG,o.STRONG],[w.STYLE,o.STYLE],[w.SUB,o.SUB],[w.SUMMARY,o.SUMMARY],[w.SUP,o.SUP],[w.TABLE,o.TABLE],[w.TBODY,o.TBODY],[w.TEMPLATE,o.TEMPLATE],[w.TEXTAREA,o.TEXTAREA],[w.TFOOT,o.TFOOT],[w.TD,o.TD],[w.TH,o.TH],[w.THEAD,o.THEAD],[w.TITLE,o.TITLE],[w.TR,o.TR],[w.TRACK,o.TRACK],[w.TT,o.TT],[w.U,o.U],[w.UL,o.UL],[w.SVG,o.SVG],[w.VAR,o.VAR],[w.WBR,o.WBR],[w.XMP,o.XMP]]);function an(A){var e;return(e=Nh.get(A))!==null&&e!==void 0?e:o.UNKNOWN}const S=o,Sh={[I.HTML]:new Set([S.ADDRESS,S.APPLET,S.AREA,S.ARTICLE,S.ASIDE,S.BASE,S.BASEFONT,S.BGSOUND,S.BLOCKQUOTE,S.BODY,S.BR,S.BUTTON,S.CAPTION,S.CENTER,S.COL,S.COLGROUP,S.DD,S.DETAILS,S.DIR,S.DIV,S.DL,S.DT,S.EMBED,S.FIELDSET,S.FIGCAPTION,S.FIGURE,S.FOOTER,S.FORM,S.FRAME,S.FRAMESET,S.H1,S.H2,S.H3,S.H4,S.H5,S.H6,S.HEAD,S.HEADER,S.HGROUP,S.HR,S.HTML,S.IFRAME,S.IMG,S.INPUT,S.LI,S.LINK,S.LISTING,S.MAIN,S.MARQUEE,S.MENU,S.META,S.NAV,S.NOEMBED,S.NOFRAMES,S.NOSCRIPT,S.OBJECT,S.OL,S.P,S.PARAM,S.PLAINTEXT,S.PRE,S.SCRIPT,S.SECTION,S.SELECT,S.SOURCE,S.STYLE,S.SUMMARY,S.TABLE,S.TBODY,S.TD,S.TEMPLATE,S.TEXTAREA,S.TFOOT,S.TH,S.THEAD,S.TITLE,S.TR,S.TRACK,S.UL,S.WBR,S.XMP]),[I.MATHML]:new Set([S.MI,S.MO,S.MN,S.MS,S.MTEXT,S.ANNOTATION_XML]),[I.SVG]:new Set([S.TITLE,S.FOREIGN_OBJECT,S.DESC]),[I.XLINK]:new Set,[I.XML]:new Set,[I.XMLNS]:new Set},ei=new Set([S.H1,S.H2,S.H3,S.H4,S.H5,S.H6]),Lh=new Set([w.STYLE,w.SCRIPT,w.XMP,w.IFRAME,w.NOEMBED,w.NOFRAMES,w.PLAINTEXT]);function Hh(A,e){return Lh.has(A)||e&&A===w.NOSCRIPT}var g;(function(A){A[A.DATA=0]="DATA",A[A.RCDATA=1]="RCDATA",A[A.RAWTEXT=2]="RAWTEXT",A[A.SCRIPT_DATA=3]="SCRIPT_DATA",A[A.PLAINTEXT=4]="PLAINTEXT",A[A.TAG_OPEN=5]="TAG_OPEN",A[A.END_TAG_OPEN=6]="END_TAG_OPEN",A[A.TAG_NAME=7]="TAG_NAME",A[A.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",A[A.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",A[A.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",A[A.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",A[A.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",A[A.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",A[A.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",A[A.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",A[A.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",A[A.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",A[A.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",A[A.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",A[A.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",A[A.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",A[A.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",A[A.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",A[A.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",A[A.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",A[A.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",A[A.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",A[A.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",A[A.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",A[A.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",A[A.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",A[A.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",A[A.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",A[A.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",A[A.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",A[A.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",A[A.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",A[A.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",A[A.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",A[A.BOGUS_COMMENT=40]="BOGUS_COMMENT",A[A.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",A[A.COMMENT_START=42]="COMMENT_START",A[A.COMMENT_START_DASH=43]="COMMENT_START_DASH",A[A.COMMENT=44]="COMMENT",A[A.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",A[A.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",A[A.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",A[A.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",A[A.COMMENT_END_DASH=49]="COMMENT_END_DASH",A[A.COMMENT_END=50]="COMMENT_END",A[A.COMMENT_END_BANG=51]="COMMENT_END_BANG",A[A.DOCTYPE=52]="DOCTYPE",A[A.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",A[A.DOCTYPE_NAME=54]="DOCTYPE_NAME",A[A.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",A[A.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",A[A.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",A[A.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",A[A.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",A[A.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",A[A.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",A[A.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",A[A.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",A[A.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",A[A.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",A[A.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",A[A.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",A[A.CDATA_SECTION=68]="CDATA_SECTION",A[A.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",A[A.CDATA_SECTION_END=70]="CDATA_SECTION_END",A[A.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",A[A.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(g||(g={}));const ZA={DATA:g.DATA,RCDATA:g.RCDATA,RAWTEXT:g.RAWTEXT,SCRIPT_DATA:g.SCRIPT_DATA,PLAINTEXT:g.PLAINTEXT,CDATA_SECTION:g.CDATA_SECTION};function Dh(A){return A>=B.DIGIT_0&&A<=B.DIGIT_9}function rr(A){return A>=B.LATIN_CAPITAL_A&&A<=B.LATIN_CAPITAL_Z}function Oh(A){return A>=B.LATIN_SMALL_A&&A<=B.LATIN_SMALL_Z}function Pe(A){return Oh(A)||rr(A)}function No(A){return Pe(A)||Dh(A)}function sn(A){return A+32}function So(A){return A===B.SPACE||A===B.LINE_FEED||A===B.TABULATION||A===B.FORM_FEED}function Lo(A){return So(A)||A===B.SOLIDUS||A===B.GREATER_THAN_SIGN}function Rh(A){return A===B.NULL?U.nullCharacterReference:A>1114111?U.characterReferenceOutsideUnicodeRange:yo(A)?U.surrogateCharacterReference:vo(A)?U.noncharacterCharacterReference:xo(A)||A===B.CARRIAGE_RETURN?U.controlCharacterReference:null}let Mh=class{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=g.DATA,this.returnState=g.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new _h(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new xa(Qa,(r,n)=>{this.preprocessor.pos=this.entityStartPos+n-1,this._flushCodePointConsumedAsCharacterReference(r)},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(U.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(U.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)},validateNumericCharacterReference:r=>{const n=Rh(r);n&&this._err(n,1)}}:void 0)}_err(e,t=0){var r,n;(n=(r=this.handler).onParseError)===null||n===void 0||n.call(r,this.preprocessor.getError(e,t))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||e==null||e())}write(e,t,r){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||r==null||r()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,t){return this.preprocessor.startsWith(e,t)?(this._advanceBy(e.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:rA.START_TAG,tagName:"",tagID:o.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:rA.END_TAG,tagName:"",tagID:o.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:rA.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:rA.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e,t;const r=this.currentToken;if(_o(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const n=(e=(t=r.location).attrs)!==null&&e!==void 0?e:t.attrs=Object.create(null);n[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(U.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const e=this.currentToken;this.prepareToken(e),e.tagID=an(e.tagName),e.type===rA.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(U.endTagWithAttributes),e.selfClosing&&this._err(U.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case rA.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case rA.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case rA.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:rA.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken)if(this.currentCharacterToken.type===e){this.currentCharacterToken.chars+=t;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(e,t)}_emitCodePoint(e){const t=So(e)?rA.WHITESPACE_CHARACTER:e===B.NULL?rA.NULL_CHARACTER:rA.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(rA.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=g.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?ue.Attribute:ue.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===g.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===g.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===g.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case g.DATA:{this._stateData(e);break}case g.RCDATA:{this._stateRcdata(e);break}case g.RAWTEXT:{this._stateRawtext(e);break}case g.SCRIPT_DATA:{this._stateScriptData(e);break}case g.PLAINTEXT:{this._statePlaintext(e);break}case g.TAG_OPEN:{this._stateTagOpen(e);break}case g.END_TAG_OPEN:{this._stateEndTagOpen(e);break}case g.TAG_NAME:{this._stateTagName(e);break}case g.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(e);break}case g.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(e);break}case g.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(e);break}case g.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(e);break}case g.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(e);break}case g.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(e);break}case g.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(e);break}case g.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(e);break}case g.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(e);break}case g.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(e);break}case g.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(e);break}case g.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(e);break}case g.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(e);break}case g.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(e);break}case g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(e);break}case g.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(e);break}case g.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(e);break}case g.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(e);break}case g.ATTRIBUTE_NAME:{this._stateAttributeName(e);break}case g.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(e);break}case g.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(e);break}case g.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(e);break}case g.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(e);break}case g.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(e);break}case g.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(e);break}case g.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(e);break}case g.BOGUS_COMMENT:{this._stateBogusComment(e);break}case g.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(e);break}case g.COMMENT_START:{this._stateCommentStart(e);break}case g.COMMENT_START_DASH:{this._stateCommentStartDash(e);break}case g.COMMENT:{this._stateComment(e);break}case g.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(e);break}case g.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(e);break}case g.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(e);break}case g.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(e);break}case g.COMMENT_END_DASH:{this._stateCommentEndDash(e);break}case g.COMMENT_END:{this._stateCommentEnd(e);break}case g.COMMENT_END_BANG:{this._stateCommentEndBang(e);break}case g.DOCTYPE:{this._stateDoctype(e);break}case g.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(e);break}case g.DOCTYPE_NAME:{this._stateDoctypeName(e);break}case g.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(e);break}case g.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(e);break}case g.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(e);break}case g.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(e);break}case g.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(e);break}case g.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(e);break}case g.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break}case g.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(e);break}case g.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(e);break}case g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(e);break}case g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(e);break}case g.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(e);break}case g.BOGUS_DOCTYPE:{this._stateBogusDoctype(e);break}case g.CDATA_SECTION:{this._stateCdataSection(e);break}case g.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(e);break}case g.CDATA_SECTION_END:{this._stateCdataSectionEnd(e);break}case g.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case g.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(e);break}default:throw new Error("Unknown state")}}_stateData(e){switch(e){case B.LESS_THAN_SIGN:{this.state=g.TAG_OPEN;break}case B.AMPERSAND:{this._startCharacterReference();break}case B.NULL:{this._err(U.unexpectedNullCharacter),this._emitCodePoint(e);break}case B.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case B.AMPERSAND:{this._startCharacterReference();break}case B.LESS_THAN_SIGN:{this.state=g.RCDATA_LESS_THAN_SIGN;break}case B.NULL:{this._err(U.unexpectedNullCharacter),this._emitChars(pA);break}case B.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case B.LESS_THAN_SIGN:{this.state=g.RAWTEXT_LESS_THAN_SIGN;break}case B.NULL:{this._err(U.unexpectedNullCharacter),this._emitChars(pA);break}case B.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_LESS_THAN_SIGN;break}case B.NULL:{this._err(U.unexpectedNullCharacter),this._emitChars(pA);break}case B.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case B.NULL:{this._err(U.unexpectedNullCharacter),this._emitChars(pA);break}case B.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateTagOpen(e){if(Pe(e))this._createStartTagToken(),this.state=g.TAG_NAME,this._stateTagName(e);else switch(e){case B.EXCLAMATION_MARK:{this.state=g.MARKUP_DECLARATION_OPEN;break}case B.SOLIDUS:{this.state=g.END_TAG_OPEN;break}case B.QUESTION_MARK:{this._err(U.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=g.BOGUS_COMMENT,this._stateBogusComment(e);break}case B.EOF:{this._err(U.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(U.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=g.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(Pe(e))this._createEndTagToken(),this.state=g.TAG_NAME,this._stateTagName(e);else switch(e){case B.GREATER_THAN_SIGN:{this._err(U.missingEndTagName),this.state=g.DATA;break}case B.EOF:{this._err(U.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(U.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=g.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.BEFORE_ATTRIBUTE_NAME;break}case B.SOLIDUS:{this.state=g.SELF_CLOSING_START_TAG;break}case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentTagToken();break}case B.NULL:{this._err(U.unexpectedNullCharacter),t.tagName+=pA;break}case B.EOF:{this._err(U.eofInTag),this._emitEOFToken();break}default:t.tagName+=String.fromCodePoint(rr(e)?sn(e):e)}}_stateRcdataLessThanSign(e){e===B.SOLIDUS?this.state=g.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=g.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){Pe(e)?(this.state=g.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=g.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const t=this.currentToken;switch(t.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=g.BEFORE_ATTRIBUTE_NAME,!1;case B.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=g.SELF_CLOSING_START_TAG,!1;case B.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=g.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=g.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===B.SOLIDUS?this.state=g.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=g.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){Pe(e)?(this.state=g.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=g.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=g.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case B.SOLIDUS:{this.state=g.SCRIPT_DATA_END_TAG_OPEN;break}case B.EXCLAMATION_MARK:{this.state=g.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=g.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){Pe(e)?(this.state=g.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=g.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=g.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===B.HYPHEN_MINUS?(this.state=g.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=g.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===B.HYPHEN_MINUS?(this.state=g.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=g.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case B.HYPHEN_MINUS:{this.state=g.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case B.NULL:{this._err(U.unexpectedNullCharacter),this._emitChars(pA);break}case B.EOF:{this._err(U.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case B.HYPHEN_MINUS:{this.state=g.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case B.NULL:{this._err(U.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_ESCAPED,this._emitChars(pA);break}case B.EOF:{this._err(U.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case B.HYPHEN_MINUS:{this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case B.GREATER_THAN_SIGN:{this.state=g.SCRIPT_DATA,this._emitChars(">");break}case B.NULL:{this._err(U.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_ESCAPED,this._emitChars(pA);break}case B.EOF:{this._err(U.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===B.SOLIDUS?this.state=g.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Pe(e)?(this._emitChars("<"),this.state=g.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){Pe(e)?(this.state=g.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith($A.SCRIPT,!1)&&Lo(this.preprocessor.peek($A.SCRIPT.length))){this._emitCodePoint(e);for(let t=0;t<$A.SCRIPT.length;t++)this._emitCodePoint(this._consume());this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case B.HYPHEN_MINUS:{this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case B.NULL:{this._err(U.unexpectedNullCharacter),this._emitChars(pA);break}case B.EOF:{this._err(U.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case B.HYPHEN_MINUS:{this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case B.NULL:{this._err(U.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(pA);break}case B.EOF:{this._err(U.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case B.HYPHEN_MINUS:{this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case B.GREATER_THAN_SIGN:{this.state=g.SCRIPT_DATA,this._emitChars(">");break}case B.NULL:{this._err(U.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(pA);break}case B.EOF:{this._err(U.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===B.SOLIDUS?(this.state=g.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith($A.SCRIPT,!1)&&Lo(this.preprocessor.peek($A.SCRIPT.length))){this._emitCodePoint(e);for(let t=0;t<$A.SCRIPT.length;t++)this._emitCodePoint(this._consume());this.state=g.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.SOLIDUS:case B.GREATER_THAN_SIGN:case B.EOF:{this.state=g.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break}case B.EQUALS_SIGN:{this._err(U.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=g.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=g.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:case B.SOLIDUS:case B.GREATER_THAN_SIGN:case B.EOF:{this._leaveAttrName(),this.state=g.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break}case B.EQUALS_SIGN:{this._leaveAttrName(),this.state=g.BEFORE_ATTRIBUTE_VALUE;break}case B.QUOTATION_MARK:case B.APOSTROPHE:case B.LESS_THAN_SIGN:{this._err(U.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break}case B.NULL:{this._err(U.unexpectedNullCharacter),this.currentAttr.name+=pA;break}default:this.currentAttr.name+=String.fromCodePoint(rr(e)?sn(e):e)}}_stateAfterAttributeName(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.SOLIDUS:{this.state=g.SELF_CLOSING_START_TAG;break}case B.EQUALS_SIGN:{this.state=g.BEFORE_ATTRIBUTE_VALUE;break}case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentTagToken();break}case B.EOF:{this._err(U.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=g.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.QUOTATION_MARK:{this.state=g.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case B.APOSTROPHE:{this.state=g.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case B.GREATER_THAN_SIGN:{this._err(U.missingAttributeValue),this.state=g.DATA,this.emitCurrentTagToken();break}default:this.state=g.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case B.QUOTATION_MARK:{this.state=g.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case B.AMPERSAND:{this._startCharacterReference();break}case B.NULL:{this._err(U.unexpectedNullCharacter),this.currentAttr.value+=pA;break}case B.EOF:{this._err(U.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case B.APOSTROPHE:{this.state=g.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case B.AMPERSAND:{this._startCharacterReference();break}case B.NULL:{this._err(U.unexpectedNullCharacter),this.currentAttr.value+=pA;break}case B.EOF:{this._err(U.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this._leaveAttrValue(),this.state=g.BEFORE_ATTRIBUTE_NAME;break}case B.AMPERSAND:{this._startCharacterReference();break}case B.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=g.DATA,this.emitCurrentTagToken();break}case B.NULL:{this._err(U.unexpectedNullCharacter),this.currentAttr.value+=pA;break}case B.QUOTATION_MARK:case B.APOSTROPHE:case B.LESS_THAN_SIGN:case B.EQUALS_SIGN:case B.GRAVE_ACCENT:{this._err(U.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break}case B.EOF:{this._err(U.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this._leaveAttrValue(),this.state=g.BEFORE_ATTRIBUTE_NAME;break}case B.SOLIDUS:{this._leaveAttrValue(),this.state=g.SELF_CLOSING_START_TAG;break}case B.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=g.DATA,this.emitCurrentTagToken();break}case B.EOF:{this._err(U.eofInTag),this._emitEOFToken();break}default:this._err(U.missingWhitespaceBetweenAttributes),this.state=g.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case B.GREATER_THAN_SIGN:{const t=this.currentToken;t.selfClosing=!0,this.state=g.DATA,this.emitCurrentTagToken();break}case B.EOF:{this._err(U.eofInTag),this._emitEOFToken();break}default:this._err(U.unexpectedSolidusInTag),this.state=g.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){const t=this.currentToken;switch(e){case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentComment(t);break}case B.EOF:{this.emitCurrentComment(t),this._emitEOFToken();break}case B.NULL:{this._err(U.unexpectedNullCharacter),t.data+=pA;break}default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch($A.DASH_DASH,!0)?(this._createCommentToken($A.DASH_DASH.length+1),this.state=g.COMMENT_START):this._consumeSequenceIfMatch($A.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation($A.DOCTYPE.length+1),this.state=g.DOCTYPE):this._consumeSequenceIfMatch($A.CDATA_START,!0)?this.inForeignNode?this.state=g.CDATA_SECTION:(this._err(U.cdataInHtmlContent),this._createCommentToken($A.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=g.BOGUS_COMMENT):this._ensureHibernation()||(this._err(U.incorrectlyOpenedComment),this._createCommentToken(2),this.state=g.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case B.HYPHEN_MINUS:{this.state=g.COMMENT_START_DASH;break}case B.GREATER_THAN_SIGN:{this._err(U.abruptClosingOfEmptyComment),this.state=g.DATA;const t=this.currentToken;this.emitCurrentComment(t);break}default:this.state=g.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){const t=this.currentToken;switch(e){case B.HYPHEN_MINUS:{this.state=g.COMMENT_END;break}case B.GREATER_THAN_SIGN:{this._err(U.abruptClosingOfEmptyComment),this.state=g.DATA,this.emitCurrentComment(t);break}case B.EOF:{this._err(U.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break}default:t.data+="-",this.state=g.COMMENT,this._stateComment(e)}}_stateComment(e){const t=this.currentToken;switch(e){case B.HYPHEN_MINUS:{this.state=g.COMMENT_END_DASH;break}case B.LESS_THAN_SIGN:{t.data+="<",this.state=g.COMMENT_LESS_THAN_SIGN;break}case B.NULL:{this._err(U.unexpectedNullCharacter),t.data+=pA;break}case B.EOF:{this._err(U.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break}default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){const t=this.currentToken;switch(e){case B.EXCLAMATION_MARK:{t.data+="!",this.state=g.COMMENT_LESS_THAN_SIGN_BANG;break}case B.LESS_THAN_SIGN:{t.data+="<";break}default:this.state=g.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===B.HYPHEN_MINUS?this.state=g.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=g.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===B.HYPHEN_MINUS?this.state=g.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=g.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==B.GREATER_THAN_SIGN&&e!==B.EOF&&this._err(U.nestedComment),this.state=g.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){const t=this.currentToken;switch(e){case B.HYPHEN_MINUS:{this.state=g.COMMENT_END;break}case B.EOF:{this._err(U.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break}default:t.data+="-",this.state=g.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){const t=this.currentToken;switch(e){case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentComment(t);break}case B.EXCLAMATION_MARK:{this.state=g.COMMENT_END_BANG;break}case B.HYPHEN_MINUS:{t.data+="-";break}case B.EOF:{this._err(U.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break}default:t.data+="--",this.state=g.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){const t=this.currentToken;switch(e){case B.HYPHEN_MINUS:{t.data+="--!",this.state=g.COMMENT_END_DASH;break}case B.GREATER_THAN_SIGN:{this._err(U.incorrectlyClosedComment),this.state=g.DATA,this.emitCurrentComment(t);break}case B.EOF:{this._err(U.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break}default:t.data+="--!",this.state=g.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.BEFORE_DOCTYPE_NAME;break}case B.GREATER_THAN_SIGN:{this.state=g.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break}case B.EOF:{this._err(U.eofInDoctype),this._createDoctypeToken(null);const t=this.currentToken;t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(U.missingWhitespaceBeforeDoctypeName),this.state=g.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(rr(e))this._createDoctypeToken(String.fromCharCode(sn(e))),this.state=g.DOCTYPE_NAME;else switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.NULL:{this._err(U.unexpectedNullCharacter),this._createDoctypeToken(pA),this.state=g.DOCTYPE_NAME;break}case B.GREATER_THAN_SIGN:{this._err(U.missingDoctypeName),this._createDoctypeToken(null);const t=this.currentToken;t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(U.eofInDoctype),this._createDoctypeToken(null);const t=this.currentToken;t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=g.DOCTYPE_NAME}}_stateDoctypeName(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.AFTER_DOCTYPE_NAME;break}case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.NULL:{this._err(U.unexpectedNullCharacter),t.name+=pA;break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:t.name+=String.fromCodePoint(rr(e)?sn(e):e)}}_stateAfterDoctypeName(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._consumeSequenceIfMatch($A.PUBLIC,!1)?this.state=g.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch($A.SYSTEM,!1)?this.state=g.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(U.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case B.QUOTATION_MARK:{this._err(U.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=g.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{this._err(U.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=g.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case B.GREATER_THAN_SIGN:{this._err(U.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(U.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.QUOTATION_MARK:{t.publicId="",this.state=g.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{t.publicId="",this.state=g.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case B.GREATER_THAN_SIGN:{this._err(U.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(U.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case B.QUOTATION_MARK:{this.state=g.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case B.NULL:{this._err(U.unexpectedNullCharacter),t.publicId+=pA;break}case B.GREATER_THAN_SIGN:{this._err(U.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case B.APOSTROPHE:{this.state=g.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case B.NULL:{this._err(U.unexpectedNullCharacter),t.publicId+=pA;break}case B.GREATER_THAN_SIGN:{this._err(U.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.QUOTATION_MARK:{this._err(U.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{this._err(U.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(U.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.GREATER_THAN_SIGN:{this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.QUOTATION_MARK:{t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(U.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case B.QUOTATION_MARK:{this._err(U.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{this._err(U.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case B.GREATER_THAN_SIGN:{this._err(U.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(U.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.QUOTATION_MARK:{t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case B.GREATER_THAN_SIGN:{this._err(U.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(U.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case B.QUOTATION_MARK:{this.state=g.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case B.NULL:{this._err(U.unexpectedNullCharacter),t.systemId+=pA;break}case B.GREATER_THAN_SIGN:{this._err(U.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case B.APOSTROPHE:{this.state=g.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case B.NULL:{this._err(U.unexpectedNullCharacter),t.systemId+=pA;break}case B.GREATER_THAN_SIGN:{this._err(U.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.GREATER_THAN_SIGN:{this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(U.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){const t=this.currentToken;switch(e){case B.GREATER_THAN_SIGN:{this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.NULL:{this._err(U.unexpectedNullCharacter);break}case B.EOF:{this.emitCurrentDoctype(t),this._emitEOFToken();break}}}_stateCdataSection(e){switch(e){case B.RIGHT_SQUARE_BRACKET:{this.state=g.CDATA_SECTION_BRACKET;break}case B.EOF:{this._err(U.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===B.RIGHT_SQUARE_BRACKET?this.state=g.CDATA_SECTION_END:(this._emitChars("]"),this.state=g.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case B.GREATER_THAN_SIGN:{this.state=g.DATA;break}case B.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=g.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(){let e=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(e<0)if(this.preprocessor.lastChunkWritten)e=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}e===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(B.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&No(this.preprocessor.peek(1))?g.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){No(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===B.SEMICOLON&&this._err(U.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}};const Ho=new Set([o.DD,o.DT,o.LI,o.OPTGROUP,o.OPTION,o.P,o.RB,o.RP,o.RT,o.RTC]),Do=new Set([...Ho,o.CAPTION,o.COLGROUP,o.TBODY,o.TD,o.TFOOT,o.TH,o.THEAD,o.TR]),on=new Set([o.APPLET,o.CAPTION,o.HTML,o.MARQUEE,o.OBJECT,o.TABLE,o.TD,o.TEMPLATE,o.TH]),kh=new Set([...on,o.OL,o.UL]),Ph=new Set([...on,o.BUTTON]),Oo=new Set([o.ANNOTATION_XML,o.MI,o.MN,o.MO,o.MS,o.MTEXT]),Ro=new Set([o.DESC,o.FOREIGN_OBJECT,o.TITLE]),Kh=new Set([o.TR,o.TEMPLATE,o.HTML]),Vh=new Set([o.TBODY,o.TFOOT,o.THEAD,o.TEMPLATE,o.HTML]),Gh=new Set([o.TABLE,o.TEMPLATE,o.HTML]),Yh=new Set([o.TD,o.TH]);class Xh{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,r){this.treeAdapter=t,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=o.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===o.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===I.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){const e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){const r=this._indexOf(e);this.items[r]=t,r===this.stackTop&&(this.current=t)}insertAfter(e,t,r){const n=this._indexOf(e)+1;this.items.splice(n,0,t),this.tagIDs.splice(n,0,r),this.stackTop++,n===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,n===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==I.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){const t=this._indexOf(e);this.shortenToLength(t<0?0:t)}popUntilPopped(e,t){const r=this._indexOfTagNames(e,t);this.shortenToLength(r<0?0:r)}popUntilNumberedHeaderPopped(){this.popUntilPopped(ei,I.HTML)}popUntilTableCellPopped(){this.popUntilPopped(Yh,I.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,t){for(let r=this.stackTop;r>=0;r--)if(e.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===t)return r;return-1}clearBackTo(e,t){const r=this._indexOfTagNames(e,t);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(Gh,I.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Vh,I.HTML)}clearBackToTableRowContext(){this.clearBackTo(Kh,I.HTML)}remove(e){const t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===o.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){const t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===o.HTML}hasInDynamicScope(e,t){for(let r=this.stackTop;r>=0;r--){const n=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case I.HTML:{if(n===e)return!0;if(t.has(n))return!1;break}case I.SVG:{if(Ro.has(n))return!1;break}case I.MATHML:{if(Oo.has(n))return!1;break}}}return!0}hasInScope(e){return this.hasInDynamicScope(e,on)}hasInListItemScope(e){return this.hasInDynamicScope(e,kh)}hasInButtonScope(e){return this.hasInDynamicScope(e,Ph)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case I.HTML:{if(ei.has(t))return!0;if(on.has(t))return!1;break}case I.SVG:{if(Ro.has(t))return!1;break}case I.MATHML:{if(Oo.has(t))return!1;break}}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===I.HTML)switch(this.tagIDs[t]){case e:return!0;case o.TABLE:case o.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===I.HTML)switch(this.tagIDs[e]){case o.TBODY:case o.THEAD:case o.TFOOT:return!0;case o.TABLE:case o.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===I.HTML)switch(this.tagIDs[t]){case e:return!0;case o.OPTION:case o.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;Ho.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;Do.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&Do.has(this.currentTagId);)this.pop()}}const ti=3;var be;(function(A){A[A.Marker=0]="Marker",A[A.Element=1]="Element"})(be||(be={}));const Mo={type:be.Marker};class Wh{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){const r=[],n=t.length,a=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let s=0;s<this.entries.length;s++){const u=this.entries[s];if(u.type===be.Marker)break;const{element:l}=u;if(this.treeAdapter.getTagName(l)===a&&this.treeAdapter.getNamespaceURI(l)===i){const d=this.treeAdapter.getAttrList(l);d.length===n&&r.push({idx:s,attrs:d})}}return r}_ensureNoahArkCondition(e){if(this.entries.length<ti)return;const t=this.treeAdapter.getAttrList(e),r=this._getNoahArkConditionCandidates(e,t);if(r.length<ti)return;const n=new Map(t.map(i=>[i.name,i.value]));let a=0;for(let i=0;i<r.length;i++){const s=r[i];s.attrs.every(u=>n.get(u.name)===u.value)&&(a+=1,a>=ti&&this.entries.splice(s.idx,1))}}insertMarker(){this.entries.unshift(Mo)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:be.Element,element:e,token:t})}insertElementAfterBookmark(e,t){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:be.Element,element:e,token:t})}removeEntry(e){const t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){const e=this.entries.indexOf(Mo);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){const t=this.entries.find(r=>r.type===be.Marker||this.treeAdapter.getTagName(r.element)===e);return t&&t.type===be.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===be.Element&&t.element===e)}}const ve={createDocument(){return{nodeName:"#document",mode:ae.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(A,e,t){return{nodeName:A,tagName:A,attrs:t,namespaceURI:e,childNodes:[],parentNode:null}},createCommentNode(A){return{nodeName:"#comment",data:A,parentNode:null}},createTextNode(A){return{nodeName:"#text",value:A,parentNode:null}},appendChild(A,e){A.childNodes.push(e),e.parentNode=A},insertBefore(A,e,t){const r=A.childNodes.indexOf(t);A.childNodes.splice(r,0,e),e.parentNode=A},setTemplateContent(A,e){A.content=e},getTemplateContent(A){return A.content},setDocumentType(A,e,t,r){const n=A.childNodes.find(a=>a.nodeName==="#documentType");if(n)n.name=e,n.publicId=t,n.systemId=r;else{const a={nodeName:"#documentType",name:e,publicId:t,systemId:r,parentNode:null};ve.appendChild(A,a)}},setDocumentMode(A,e){A.mode=e},getDocumentMode(A){return A.mode},detachNode(A){if(A.parentNode){const e=A.parentNode.childNodes.indexOf(A);A.parentNode.childNodes.splice(e,1),A.parentNode=null}},insertText(A,e){if(A.childNodes.length>0){const t=A.childNodes[A.childNodes.length-1];if(ve.isTextNode(t)){t.value+=e;return}}ve.appendChild(A,ve.createTextNode(e))},insertTextBefore(A,e,t){const r=A.childNodes[A.childNodes.indexOf(t)-1];r&&ve.isTextNode(r)?r.value+=e:ve.insertBefore(A,ve.createTextNode(e),t)},adoptAttributes(A,e){const t=new Set(A.attrs.map(r=>r.name));for(let r=0;r<e.length;r++)t.has(e[r].name)||A.attrs.push(e[r])},getFirstChild(A){return A.childNodes[0]},getChildNodes(A){return A.childNodes},getParentNode(A){return A.parentNode},getAttrList(A){return A.attrs},getTagName(A){return A.tagName},getNamespaceURI(A){return A.namespaceURI},getTextNodeContent(A){return A.value},getCommentNodeContent(A){return A.data},getDocumentTypeNodeName(A){return A.name},getDocumentTypeNodePublicId(A){return A.publicId},getDocumentTypeNodeSystemId(A){return A.systemId},isTextNode(A){return A.nodeName==="#text"},isCommentNode(A){return A.nodeName==="#comment"},isDocumentTypeNode(A){return A.nodeName==="#documentType"},isElementNode(A){return Object.prototype.hasOwnProperty.call(A,"tagName")},setNodeSourceCodeLocation(A,e){A.sourceCodeLocation=e},getNodeSourceCodeLocation(A){return A.sourceCodeLocation},updateNodeSourceCodeLocation(A,e){A.sourceCodeLocation={...A.sourceCodeLocation,...e}}},ko="html",Jh="about:legacy-compat",qh="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",Po=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],jh=[...Po,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],zh=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Ko=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],$h=[...Ko,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Vo(A,e){return e.some(t=>A.startsWith(t))}function Zh(A){return A.name===ko&&A.publicId===null&&(A.systemId===null||A.systemId===Jh)}function AB(A){if(A.name!==ko)return ae.QUIRKS;const{systemId:e}=A;if(e&&e.toLowerCase()===qh)return ae.QUIRKS;let{publicId:t}=A;if(t!==null){if(t=t.toLowerCase(),zh.has(t))return ae.QUIRKS;let r=e===null?jh:Po;if(Vo(t,r))return ae.QUIRKS;if(r=e===null?Ko:$h,Vo(t,r))return ae.LIMITED_QUIRKS}return ae.NO_QUIRKS}const Go={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},eB="definitionurl",tB="definitionURL",rB=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(A=>[A.toLowerCase(),A])),nB=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:I.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:I.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:I.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:I.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:I.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:I.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:I.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:I.XML}],["xml:space",{prefix:"xml",name:"space",namespace:I.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:I.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:I.XMLNS}]]),aB=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(A=>[A.toLowerCase(),A])),iB=new Set([o.B,o.BIG,o.BLOCKQUOTE,o.BODY,o.BR,o.CENTER,o.CODE,o.DD,o.DIV,o.DL,o.DT,o.EM,o.EMBED,o.H1,o.H2,o.H3,o.H4,o.H5,o.H6,o.HEAD,o.HR,o.I,o.IMG,o.LI,o.LISTING,o.MENU,o.META,o.NOBR,o.OL,o.P,o.PRE,o.RUBY,o.S,o.SMALL,o.SPAN,o.STRONG,o.STRIKE,o.SUB,o.SUP,o.TABLE,o.TT,o.U,o.UL,o.VAR]);function sB(A){const e=A.tagID;return e===o.FONT&&A.attrs.some(({name:r})=>r===ot.COLOR||r===ot.SIZE||r===ot.FACE)||iB.has(e)}function Yo(A){for(let e=0;e<A.attrs.length;e++)if(A.attrs[e].name===eB){A.attrs[e].name=tB;break}}function Xo(A){for(let e=0;e<A.attrs.length;e++){const t=rB.get(A.attrs[e].name);t!=null&&(A.attrs[e].name=t)}}function ri(A){for(let e=0;e<A.attrs.length;e++){const t=nB.get(A.attrs[e].name);t&&(A.attrs[e].prefix=t.prefix,A.attrs[e].name=t.name,A.attrs[e].namespace=t.namespace)}}function oB(A){const e=aB.get(A.tagName);e!=null&&(A.tagName=e,A.tagID=an(A.tagName))}function uB(A,e){return e===I.MATHML&&(A===o.MI||A===o.MO||A===o.MN||A===o.MS||A===o.MTEXT)}function cB(A,e,t){if(e===I.MATHML&&A===o.ANNOTATION_XML){for(let r=0;r<t.length;r++)if(t[r].name===ot.ENCODING){const n=t[r].value.toLowerCase();return n===Go.TEXT_HTML||n===Go.APPLICATION_XML}}return e===I.SVG&&(A===o.FOREIGN_OBJECT||A===o.DESC||A===o.TITLE)}function lB(A,e,t,r){return(!r||r===I.HTML)&&cB(A,e,t)||(!r||r===I.MATHML)&&uB(A,e)}const dB="hidden",fB=8,hB=3;var p;(function(A){A[A.INITIAL=0]="INITIAL",A[A.BEFORE_HTML=1]="BEFORE_HTML",A[A.BEFORE_HEAD=2]="BEFORE_HEAD",A[A.IN_HEAD=3]="IN_HEAD",A[A.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",A[A.AFTER_HEAD=5]="AFTER_HEAD",A[A.IN_BODY=6]="IN_BODY",A[A.TEXT=7]="TEXT",A[A.IN_TABLE=8]="IN_TABLE",A[A.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",A[A.IN_CAPTION=10]="IN_CAPTION",A[A.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",A[A.IN_TABLE_BODY=12]="IN_TABLE_BODY",A[A.IN_ROW=13]="IN_ROW",A[A.IN_CELL=14]="IN_CELL",A[A.IN_SELECT=15]="IN_SELECT",A[A.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",A[A.IN_TEMPLATE=17]="IN_TEMPLATE",A[A.AFTER_BODY=18]="AFTER_BODY",A[A.IN_FRAMESET=19]="IN_FRAMESET",A[A.AFTER_FRAMESET=20]="AFTER_FRAMESET",A[A.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",A[A.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(p||(p={}));const BB={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Wo=new Set([o.TABLE,o.TBODY,o.TFOOT,o.THEAD,o.TR]),Jo={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:ve,onParseError:null};let qo=class{constructor(e,t,r=null,n=null){this.fragmentContext=r,this.scriptHandler=n,this.currentToken=null,this.stopped=!1,this.insertionMode=p.INITIAL,this.originalInsertionMode=p.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...Jo,...e},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=t??this.treeAdapter.createDocument(),this.tokenizer=new Mh(this.options,this),this.activeFormattingElements=new Wh(this.treeAdapter),this.fragmentContextID=r?an(this.treeAdapter.getTagName(r)):o.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new Xh(this.document,this.treeAdapter,this)}static parse(e,t){const r=new this(t);return r.tokenizer.write(e,!0),r.document}static getFragmentParser(e,t){const r={...Jo,...t};e??(e=r.treeAdapter.createElement(w.TEMPLATE,I.HTML,[]));const n=r.treeAdapter.createElement("documentmock",I.HTML,[]),a=new this(r,n,e);return a.fragmentContextID===o.TEMPLATE&&a.tmplInsertionModeStack.unshift(p.IN_TEMPLATE),a._initTokenizerForFragmentParsing(),a._insertFakeRootElement(),a._resetInsertionMode(),a._findFormInFragmentContext(),a}getFragment(){const e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,t),t}_err(e,t,r){var n;if(!this.onParseError)return;const a=(n=e.location)!==null&&n!==void 0?n:BB,i={code:t,startLine:a.startLine,startCol:a.startCol,startOffset:a.startOffset,endLine:r?a.startLine:a.endLine,endCol:r?a.startCol:a.endCol,endOffset:r?a.startOffset:a.endOffset};this.onParseError(i)}onItemPush(e,t,r){var n,a;(a=(n=this.treeAdapter).onItemPush)===null||a===void 0||a.call(n,e),r&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){var r,n;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),(n=(r=this.treeAdapter).onItemPop)===null||n===void 0||n.call(r,e,this.openElements.current),t){let a,i;this.openElements.stackTop===0&&this.fragmentContext?(a=this.fragmentContext,i=this.fragmentContextID):{current:a,currentTagId:i}=this.openElements,this._setContextModes(a,i)}}_setContextModes(e,t){const r=e===this.document||this.treeAdapter.getNamespaceURI(e)===I.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,I.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=p.TEXT}switchToPlaintextParsing(){this.insertionMode=p.TEXT,this.originalInsertionMode=p.IN_BODY,this.tokenizer.state=ZA.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===w.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==I.HTML))switch(this.fragmentContextID){case o.TITLE:case o.TEXTAREA:{this.tokenizer.state=ZA.RCDATA;break}case o.STYLE:case o.XMP:case o.IFRAME:case o.NOEMBED:case o.NOFRAMES:case o.NOSCRIPT:{this.tokenizer.state=ZA.RAWTEXT;break}case o.SCRIPT:{this.tokenizer.state=ZA.SCRIPT_DATA;break}case o.PLAINTEXT:{this.tokenizer.state=ZA.PLAINTEXT;break}}}_setDocumentType(e){const t=e.name||"",r=e.publicId||"",n=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,r,n),e.location){const i=this.treeAdapter.getChildNodes(this.document).find(s=>this.treeAdapter.isDocumentTypeNode(s));i&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){const r=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r,e)}}_appendElement(e,t){const r=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(r,e.location)}_insertElement(e,t){const r=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(r,e.location),this.openElements.push(r,e.tagID)}_insertFakeElement(e,t){const r=this.treeAdapter.createElement(e,I.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,t)}_insertTemplate(e){const t=this.treeAdapter.createElement(e.tagName,I.HTML,e.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,r),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(w.HTML,I.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,o.HTML)}_appendCommentNode(e,t){const r=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,e.location)}_insertCharacters(e){let t,r;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(t,e.chars,r):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;const n=this.treeAdapter.getChildNodes(t),a=r?n.lastIndexOf(r):n.length,i=n[a-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){const{endLine:u,endCol:l,endOffset:d}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:u,endCol:l,endOffset:d})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let r=this.treeAdapter.getFirstChild(e);r;r=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(t,r)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){const r=t.location,n=this.treeAdapter.getTagName(e),a=t.type===rA.END_TAG&&n===t.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let t,r;return this.openElements.stackTop===0&&this.fragmentContext?(t=this.fragmentContext,r=this.fragmentContextID):{current:t,currentTagId:r}=this.openElements,e.tagID===o.SVG&&this.treeAdapter.getTagName(t)===w.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(t)===I.MATHML?!1:this.tokenizer.inForeignNode||(e.tagID===o.MGLYPH||e.tagID===o.MALIGNMARK)&&!this._isIntegrationPoint(r,t,I.HTML)}_processToken(e){switch(e.type){case rA.CHARACTER:{this.onCharacter(e);break}case rA.NULL_CHARACTER:{this.onNullCharacter(e);break}case rA.COMMENT:{this.onComment(e);break}case rA.DOCTYPE:{this.onDoctype(e);break}case rA.START_TAG:{this._processStartTag(e);break}case rA.END_TAG:{this.onEndTag(e);break}case rA.EOF:{this.onEof(e);break}case rA.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(e);break}}}_isIntegrationPoint(e,t,r){const n=this.treeAdapter.getNamespaceURI(t),a=this.treeAdapter.getAttrList(t);return lB(e,n,a,r)}_reconstructActiveFormattingElements(){const e=this.activeFormattingElements.entries.length;if(e){const t=this.activeFormattingElements.entries.findIndex(n=>n.type===be.Marker||this.openElements.contains(n.element)),r=t<0?e-1:t-1;for(let n=r;n>=0;n--){const a=this.activeFormattingElements.entries[n];this._insertElement(a.token,this.treeAdapter.getNamespaceURI(a.element)),a.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=p.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(o.P),this.openElements.popUntilTagNamePopped(o.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(e===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case o.TR:{this.insertionMode=p.IN_ROW;return}case o.TBODY:case o.THEAD:case o.TFOOT:{this.insertionMode=p.IN_TABLE_BODY;return}case o.CAPTION:{this.insertionMode=p.IN_CAPTION;return}case o.COLGROUP:{this.insertionMode=p.IN_COLUMN_GROUP;return}case o.TABLE:{this.insertionMode=p.IN_TABLE;return}case o.BODY:{this.insertionMode=p.IN_BODY;return}case o.FRAMESET:{this.insertionMode=p.IN_FRAMESET;return}case o.SELECT:{this._resetInsertionModeForSelect(e);return}case o.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case o.HTML:{this.insertionMode=this.headElement?p.AFTER_HEAD:p.BEFORE_HEAD;return}case o.TD:case o.TH:{if(e>0){this.insertionMode=p.IN_CELL;return}break}case o.HEAD:{if(e>0){this.insertionMode=p.IN_HEAD;return}break}}this.insertionMode=p.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const r=this.openElements.tagIDs[t];if(r===o.TEMPLATE)break;if(r===o.TABLE){this.insertionMode=p.IN_SELECT_IN_TABLE;return}}this.insertionMode=p.IN_SELECT}_isElementCausesFosterParenting(e){return Wo.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){const t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case o.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(t)===I.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break}case o.TABLE:{const r=this.treeAdapter.getParentNode(t);return r?{parent:r,beforeElement:t}:{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){const r=this.treeAdapter.getNamespaceURI(e);return Sh[r].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Yg(this,e);return}switch(this.insertionMode){case p.INITIAL:{nr(this,e);break}case p.BEFORE_HTML:{ar(this,e);break}case p.BEFORE_HEAD:{ir(this,e);break}case p.IN_HEAD:{sr(this,e);break}case p.IN_HEAD_NO_SCRIPT:{or(this,e);break}case p.AFTER_HEAD:{ur(this,e);break}case p.IN_BODY:case p.IN_CAPTION:case p.IN_CELL:case p.IN_TEMPLATE:{zo(this,e);break}case p.TEXT:case p.IN_SELECT:case p.IN_SELECT_IN_TABLE:{this._insertCharacters(e);break}case p.IN_TABLE:case p.IN_TABLE_BODY:case p.IN_ROW:{si(this,e);break}case p.IN_TABLE_TEXT:{au(this,e);break}case p.IN_COLUMN_GROUP:{ln(this,e);break}case p.AFTER_BODY:{hn(this,e);break}case p.AFTER_AFTER_BODY:{Bn(this,e);break}}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Gg(this,e);return}switch(this.insertionMode){case p.INITIAL:{nr(this,e);break}case p.BEFORE_HTML:{ar(this,e);break}case p.BEFORE_HEAD:{ir(this,e);break}case p.IN_HEAD:{sr(this,e);break}case p.IN_HEAD_NO_SCRIPT:{or(this,e);break}case p.AFTER_HEAD:{ur(this,e);break}case p.TEXT:{this._insertCharacters(e);break}case p.IN_TABLE:case p.IN_TABLE_BODY:case p.IN_ROW:{si(this,e);break}case p.IN_COLUMN_GROUP:{ln(this,e);break}case p.AFTER_BODY:{hn(this,e);break}case p.AFTER_AFTER_BODY:{Bn(this,e);break}}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){ai(this,e);return}switch(this.insertionMode){case p.INITIAL:case p.BEFORE_HTML:case p.BEFORE_HEAD:case p.IN_HEAD:case p.IN_HEAD_NO_SCRIPT:case p.AFTER_HEAD:case p.IN_BODY:case p.IN_TABLE:case p.IN_CAPTION:case p.IN_COLUMN_GROUP:case p.IN_TABLE_BODY:case p.IN_ROW:case p.IN_CELL:case p.IN_SELECT:case p.IN_SELECT_IN_TABLE:case p.IN_TEMPLATE:case p.IN_FRAMESET:case p.AFTER_FRAMESET:{ai(this,e);break}case p.IN_TABLE_TEXT:{dr(this,e);break}case p.AFTER_BODY:{bB(this,e);break}case p.AFTER_AFTER_BODY:case p.AFTER_AFTER_FRAMESET:{TB(this,e);break}}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case p.INITIAL:{UB(this,e);break}case p.BEFORE_HEAD:case p.IN_HEAD:case p.IN_HEAD_NO_SCRIPT:case p.AFTER_HEAD:{this._err(e,U.misplacedDoctype);break}case p.IN_TABLE_TEXT:{dr(this,e);break}}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,U.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?Xg(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case p.INITIAL:{nr(this,e);break}case p.BEFORE_HTML:{QB(this,e);break}case p.BEFORE_HEAD:{IB(this,e);break}case p.IN_HEAD:{ge(this,e);break}case p.IN_HEAD_NO_SCRIPT:{vB(this,e);break}case p.AFTER_HEAD:{NB(this,e);break}case p.IN_BODY:{KA(this,e);break}case p.IN_TABLE:{Qt(this,e);break}case p.IN_TABLE_TEXT:{dr(this,e);break}case p.IN_CAPTION:{yg(this,e);break}case p.IN_COLUMN_GROUP:{oi(this,e);break}case p.IN_TABLE_BODY:{dn(this,e);break}case p.IN_ROW:{fn(this,e);break}case p.IN_CELL:{_g(this,e);break}case p.IN_SELECT:{ou(this,e);break}case p.IN_SELECT_IN_TABLE:{Sg(this,e);break}case p.IN_TEMPLATE:{Hg(this,e);break}case p.AFTER_BODY:{Og(this,e);break}case p.IN_FRAMESET:{Rg(this,e);break}case p.AFTER_FRAMESET:{kg(this,e);break}case p.AFTER_AFTER_BODY:{Kg(this,e);break}case p.AFTER_AFTER_FRAMESET:{Vg(this,e);break}}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?Wg(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case p.INITIAL:{nr(this,e);break}case p.BEFORE_HTML:{FB(this,e);break}case p.BEFORE_HEAD:{yB(this,e);break}case p.IN_HEAD:{xB(this,e);break}case p.IN_HEAD_NO_SCRIPT:{_B(this,e);break}case p.AFTER_HEAD:{SB(this,e);break}case p.IN_BODY:{cn(this,e);break}case p.TEXT:{mg(this,e);break}case p.IN_TABLE:{cr(this,e);break}case p.IN_TABLE_TEXT:{dr(this,e);break}case p.IN_CAPTION:{xg(this,e);break}case p.IN_COLUMN_GROUP:{vg(this,e);break}case p.IN_TABLE_BODY:{ui(this,e);break}case p.IN_ROW:{su(this,e);break}case p.IN_CELL:{Ng(this,e);break}case p.IN_SELECT:{uu(this,e);break}case p.IN_SELECT_IN_TABLE:{Lg(this,e);break}case p.IN_TEMPLATE:{Dg(this,e);break}case p.AFTER_BODY:{lu(this,e);break}case p.IN_FRAMESET:{Mg(this,e);break}case p.AFTER_FRAMESET:{Pg(this,e);break}case p.AFTER_AFTER_BODY:{Bn(this,e);break}}}onEof(e){switch(this.insertionMode){case p.INITIAL:{nr(this,e);break}case p.BEFORE_HTML:{ar(this,e);break}case p.BEFORE_HEAD:{ir(this,e);break}case p.IN_HEAD:{sr(this,e);break}case p.IN_HEAD_NO_SCRIPT:{or(this,e);break}case p.AFTER_HEAD:{ur(this,e);break}case p.IN_BODY:case p.IN_TABLE:case p.IN_CAPTION:case p.IN_COLUMN_GROUP:case p.IN_TABLE_BODY:case p.IN_ROW:case p.IN_CELL:case p.IN_SELECT:case p.IN_SELECT_IN_TABLE:{ru(this,e);break}case p.TEXT:{Eg(this,e);break}case p.IN_TABLE_TEXT:{dr(this,e);break}case p.IN_TEMPLATE:{cu(this,e);break}case p.AFTER_BODY:case p.IN_FRAMESET:case p.AFTER_FRAMESET:case p.AFTER_AFTER_BODY:case p.AFTER_AFTER_FRAMESET:{ii(this,e);break}}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===B.LINE_FEED)){if(e.chars.length===1)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case p.IN_HEAD:case p.IN_HEAD_NO_SCRIPT:case p.AFTER_HEAD:case p.TEXT:case p.IN_COLUMN_GROUP:case p.IN_SELECT:case p.IN_SELECT_IN_TABLE:case p.IN_FRAMESET:case p.AFTER_FRAMESET:{this._insertCharacters(e);break}case p.IN_BODY:case p.IN_CAPTION:case p.IN_CELL:case p.IN_TEMPLATE:case p.AFTER_BODY:case p.AFTER_AFTER_BODY:case p.AFTER_AFTER_FRAMESET:{jo(this,e);break}case p.IN_TABLE:case p.IN_TABLE_BODY:case p.IN_ROW:{si(this,e);break}case p.IN_TABLE_TEXT:{nu(this,e);break}}}};function gB(A,e){let t=A.activeFormattingElements.getElementEntryInScopeWithTagName(e.tagName);return t?A.openElements.contains(t.element)?A.openElements.hasInScope(e.tagID)||(t=null):(A.activeFormattingElements.removeEntry(t),t=null):tu(A,e),t}function pB(A,e){let t=null,r=A.openElements.stackTop;for(;r>=0;r--){const n=A.openElements.items[r];if(n===e.element)break;A._isSpecialElement(n,A.openElements.tagIDs[r])&&(t=n)}return t||(A.openElements.shortenToLength(r<0?0:r),A.activeFormattingElements.removeEntry(e)),t}function mB(A,e,t){let r=e,n=A.openElements.getCommonAncestor(e);for(let a=0,i=n;i!==t;a++,i=n){n=A.openElements.getCommonAncestor(i);const s=A.activeFormattingElements.getElementEntry(i),u=s&&a>=hB;!s||u?(u&&A.activeFormattingElements.removeEntry(s),A.openElements.remove(i)):(i=EB(A,s),r===e&&(A.activeFormattingElements.bookmark=s),A.treeAdapter.detachNode(r),A.treeAdapter.appendChild(i,r),r=i)}return r}function EB(A,e){const t=A.treeAdapter.getNamespaceURI(e.element),r=A.treeAdapter.createElement(e.token.tagName,t,e.token.attrs);return A.openElements.replace(e.element,r),e.element=r,r}function CB(A,e,t){const r=A.treeAdapter.getTagName(e),n=an(r);if(A._isElementCausesFosterParenting(n))A._fosterParentElement(t);else{const a=A.treeAdapter.getNamespaceURI(e);n===o.TEMPLATE&&a===I.HTML&&(e=A.treeAdapter.getTemplateContent(e)),A.treeAdapter.appendChild(e,t)}}function wB(A,e,t){const r=A.treeAdapter.getNamespaceURI(t.element),{token:n}=t,a=A.treeAdapter.createElement(n.tagName,r,n.attrs);A._adoptNodes(e,a),A.treeAdapter.appendChild(e,a),A.activeFormattingElements.insertElementAfterBookmark(a,n),A.activeFormattingElements.removeEntry(t),A.openElements.remove(t.element),A.openElements.insertAfter(e,a,n.tagID)}function ni(A,e){for(let t=0;t<fB;t++){const r=gB(A,e);if(!r)break;const n=pB(A,r);if(!n)break;A.activeFormattingElements.bookmark=r;const a=mB(A,n,r.element),i=A.openElements.getCommonAncestor(r.element);A.treeAdapter.detachNode(a),i&&CB(A,i,a),wB(A,n,r)}}function ai(A,e){A._appendCommentNode(e,A.openElements.currentTmplContentOrNode)}function bB(A,e){A._appendCommentNode(e,A.openElements.items[0])}function TB(A,e){A._appendCommentNode(e,A.document)}function ii(A,e){if(A.stopped=!0,e.location){const t=A.fragmentContext?0:2;for(let r=A.openElements.stackTop;r>=t;r--)A._setEndLocation(A.openElements.items[r],e);if(!A.fragmentContext&&A.openElements.stackTop>=0){const r=A.openElements.items[0],n=A.treeAdapter.getNodeSourceCodeLocation(r);if(n&&!n.endTag&&(A._setEndLocation(r,e),A.openElements.stackTop>=1)){const a=A.openElements.items[1],i=A.treeAdapter.getNodeSourceCodeLocation(a);i&&!i.endTag&&A._setEndLocation(a,e)}}}}function UB(A,e){A._setDocumentType(e);const t=e.forceQuirks?ae.QUIRKS:AB(e);Zh(e)||A._err(e,U.nonConformingDoctype),A.treeAdapter.setDocumentMode(A.document,t),A.insertionMode=p.BEFORE_HTML}function nr(A,e){A._err(e,U.missingDoctype,!0),A.treeAdapter.setDocumentMode(A.document,ae.QUIRKS),A.insertionMode=p.BEFORE_HTML,A._processToken(e)}function QB(A,e){e.tagID===o.HTML?(A._insertElement(e,I.HTML),A.insertionMode=p.BEFORE_HEAD):ar(A,e)}function FB(A,e){const t=e.tagID;(t===o.HTML||t===o.HEAD||t===o.BODY||t===o.BR)&&ar(A,e)}function ar(A,e){A._insertFakeRootElement(),A.insertionMode=p.BEFORE_HEAD,A._processToken(e)}function IB(A,e){switch(e.tagID){case o.HTML:{KA(A,e);break}case o.HEAD:{A._insertElement(e,I.HTML),A.headElement=A.openElements.current,A.insertionMode=p.IN_HEAD;break}default:ir(A,e)}}function yB(A,e){const t=e.tagID;t===o.HEAD||t===o.BODY||t===o.HTML||t===o.BR?ir(A,e):A._err(e,U.endTagWithoutMatchingOpenElement)}function ir(A,e){A._insertFakeElement(w.HEAD,o.HEAD),A.headElement=A.openElements.current,A.insertionMode=p.IN_HEAD,A._processToken(e)}function ge(A,e){switch(e.tagID){case o.HTML:{KA(A,e);break}case o.BASE:case o.BASEFONT:case o.BGSOUND:case o.LINK:case o.META:{A._appendElement(e,I.HTML),e.ackSelfClosing=!0;break}case o.TITLE:{A._switchToTextParsing(e,ZA.RCDATA);break}case o.NOSCRIPT:{A.options.scriptingEnabled?A._switchToTextParsing(e,ZA.RAWTEXT):(A._insertElement(e,I.HTML),A.insertionMode=p.IN_HEAD_NO_SCRIPT);break}case o.NOFRAMES:case o.STYLE:{A._switchToTextParsing(e,ZA.RAWTEXT);break}case o.SCRIPT:{A._switchToTextParsing(e,ZA.SCRIPT_DATA);break}case o.TEMPLATE:{A._insertTemplate(e),A.activeFormattingElements.insertMarker(),A.framesetOk=!1,A.insertionMode=p.IN_TEMPLATE,A.tmplInsertionModeStack.unshift(p.IN_TEMPLATE);break}case o.HEAD:{A._err(e,U.misplacedStartTagForHeadElement);break}default:sr(A,e)}}function xB(A,e){switch(e.tagID){case o.HEAD:{A.openElements.pop(),A.insertionMode=p.AFTER_HEAD;break}case o.BODY:case o.BR:case o.HTML:{sr(A,e);break}case o.TEMPLATE:{ut(A,e);break}default:A._err(e,U.endTagWithoutMatchingOpenElement)}}function ut(A,e){A.openElements.tmplCount>0?(A.openElements.generateImpliedEndTagsThoroughly(),A.openElements.currentTagId!==o.TEMPLATE&&A._err(e,U.closingOfElementWithOpenChildElements),A.openElements.popUntilTagNamePopped(o.TEMPLATE),A.activeFormattingElements.clearToLastMarker(),A.tmplInsertionModeStack.shift(),A._resetInsertionMode()):A._err(e,U.endTagWithoutMatchingOpenElement)}function sr(A,e){A.openElements.pop(),A.insertionMode=p.AFTER_HEAD,A._processToken(e)}function vB(A,e){switch(e.tagID){case o.HTML:{KA(A,e);break}case o.BASEFONT:case o.BGSOUND:case o.HEAD:case o.LINK:case o.META:case o.NOFRAMES:case o.STYLE:{ge(A,e);break}case o.NOSCRIPT:{A._err(e,U.nestedNoscriptInHead);break}default:or(A,e)}}function _B(A,e){switch(e.tagID){case o.NOSCRIPT:{A.openElements.pop(),A.insertionMode=p.IN_HEAD;break}case o.BR:{or(A,e);break}default:A._err(e,U.endTagWithoutMatchingOpenElement)}}function or(A,e){const t=e.type===rA.EOF?U.openElementsLeftAfterEof:U.disallowedContentInNoscriptInHead;A._err(e,t),A.openElements.pop(),A.insertionMode=p.IN_HEAD,A._processToken(e)}function NB(A,e){switch(e.tagID){case o.HTML:{KA(A,e);break}case o.BODY:{A._insertElement(e,I.HTML),A.framesetOk=!1,A.insertionMode=p.IN_BODY;break}case o.FRAMESET:{A._insertElement(e,I.HTML),A.insertionMode=p.IN_FRAMESET;break}case o.BASE:case o.BASEFONT:case o.BGSOUND:case o.LINK:case o.META:case o.NOFRAMES:case o.SCRIPT:case o.STYLE:case o.TEMPLATE:case o.TITLE:{A._err(e,U.abandonedHeadElementChild),A.openElements.push(A.headElement,o.HEAD),ge(A,e),A.openElements.remove(A.headElement);break}case o.HEAD:{A._err(e,U.misplacedStartTagForHeadElement);break}default:ur(A,e)}}function SB(A,e){switch(e.tagID){case o.BODY:case o.HTML:case o.BR:{ur(A,e);break}case o.TEMPLATE:{ut(A,e);break}default:A._err(e,U.endTagWithoutMatchingOpenElement)}}function ur(A,e){A._insertFakeElement(w.BODY,o.BODY),A.insertionMode=p.IN_BODY,un(A,e)}function un(A,e){switch(e.type){case rA.CHARACTER:{zo(A,e);break}case rA.WHITESPACE_CHARACTER:{jo(A,e);break}case rA.COMMENT:{ai(A,e);break}case rA.START_TAG:{KA(A,e);break}case rA.END_TAG:{cn(A,e);break}case rA.EOF:{ru(A,e);break}}}function jo(A,e){A._reconstructActiveFormattingElements(),A._insertCharacters(e)}function zo(A,e){A._reconstructActiveFormattingElements(),A._insertCharacters(e),A.framesetOk=!1}function LB(A,e){A.openElements.tmplCount===0&&A.treeAdapter.adoptAttributes(A.openElements.items[0],e.attrs)}function HB(A,e){const t=A.openElements.tryPeekProperlyNestedBodyElement();t&&A.openElements.tmplCount===0&&(A.framesetOk=!1,A.treeAdapter.adoptAttributes(t,e.attrs))}function DB(A,e){const t=A.openElements.tryPeekProperlyNestedBodyElement();A.framesetOk&&t&&(A.treeAdapter.detachNode(t),A.openElements.popAllUpToHtmlElement(),A._insertElement(e,I.HTML),A.insertionMode=p.IN_FRAMESET)}function OB(A,e){A.openElements.hasInButtonScope(o.P)&&A._closePElement(),A._insertElement(e,I.HTML)}function RB(A,e){A.openElements.hasInButtonScope(o.P)&&A._closePElement(),ei.has(A.openElements.currentTagId)&&A.openElements.pop(),A._insertElement(e,I.HTML)}function MB(A,e){A.openElements.hasInButtonScope(o.P)&&A._closePElement(),A._insertElement(e,I.HTML),A.skipNextNewLine=!0,A.framesetOk=!1}function kB(A,e){const t=A.openElements.tmplCount>0;(!A.formElement||t)&&(A.openElements.hasInButtonScope(o.P)&&A._closePElement(),A._insertElement(e,I.HTML),t||(A.formElement=A.openElements.current))}function PB(A,e){A.framesetOk=!1;const t=e.tagID;for(let r=A.openElements.stackTop;r>=0;r--){const n=A.openElements.tagIDs[r];if(t===o.LI&&n===o.LI||(t===o.DD||t===o.DT)&&(n===o.DD||n===o.DT)){A.openElements.generateImpliedEndTagsWithExclusion(n),A.openElements.popUntilTagNamePopped(n);break}if(n!==o.ADDRESS&&n!==o.DIV&&n!==o.P&&A._isSpecialElement(A.openElements.items[r],n))break}A.openElements.hasInButtonScope(o.P)&&A._closePElement(),A._insertElement(e,I.HTML)}function KB(A,e){A.openElements.hasInButtonScope(o.P)&&A._closePElement(),A._insertElement(e,I.HTML),A.tokenizer.state=ZA.PLAINTEXT}function VB(A,e){A.openElements.hasInScope(o.BUTTON)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(o.BUTTON)),A._reconstructActiveFormattingElements(),A._insertElement(e,I.HTML),A.framesetOk=!1}function GB(A,e){const t=A.activeFormattingElements.getElementEntryInScopeWithTagName(w.A);t&&(ni(A,e),A.openElements.remove(t.element),A.activeFormattingElements.removeEntry(t)),A._reconstructActiveFormattingElements(),A._insertElement(e,I.HTML),A.activeFormattingElements.pushElement(A.openElements.current,e)}function YB(A,e){A._reconstructActiveFormattingElements(),A._insertElement(e,I.HTML),A.activeFormattingElements.pushElement(A.openElements.current,e)}function XB(A,e){A._reconstructActiveFormattingElements(),A.openElements.hasInScope(o.NOBR)&&(ni(A,e),A._reconstructActiveFormattingElements()),A._insertElement(e,I.HTML),A.activeFormattingElements.pushElement(A.openElements.current,e)}function WB(A,e){A._reconstructActiveFormattingElements(),A._insertElement(e,I.HTML),A.activeFormattingElements.insertMarker(),A.framesetOk=!1}function JB(A,e){A.treeAdapter.getDocumentMode(A.document)!==ae.QUIRKS&&A.openElements.hasInButtonScope(o.P)&&A._closePElement(),A._insertElement(e,I.HTML),A.framesetOk=!1,A.insertionMode=p.IN_TABLE}function $o(A,e){A._reconstructActiveFormattingElements(),A._appendElement(e,I.HTML),A.framesetOk=!1,e.ackSelfClosing=!0}function Zo(A){const e=_o(A,ot.TYPE);return e!=null&&e.toLowerCase()===dB}function qB(A,e){A._reconstructActiveFormattingElements(),A._appendElement(e,I.HTML),Zo(e)||(A.framesetOk=!1),e.ackSelfClosing=!0}function jB(A,e){A._appendElement(e,I.HTML),e.ackSelfClosing=!0}function zB(A,e){A.openElements.hasInButtonScope(o.P)&&A._closePElement(),A._appendElement(e,I.HTML),A.framesetOk=!1,e.ackSelfClosing=!0}function $B(A,e){e.tagName=w.IMG,e.tagID=o.IMG,$o(A,e)}function ZB(A,e){A._insertElement(e,I.HTML),A.skipNextNewLine=!0,A.tokenizer.state=ZA.RCDATA,A.originalInsertionMode=A.insertionMode,A.framesetOk=!1,A.insertionMode=p.TEXT}function Ag(A,e){A.openElements.hasInButtonScope(o.P)&&A._closePElement(),A._reconstructActiveFormattingElements(),A.framesetOk=!1,A._switchToTextParsing(e,ZA.RAWTEXT)}function eg(A,e){A.framesetOk=!1,A._switchToTextParsing(e,ZA.RAWTEXT)}function Au(A,e){A._switchToTextParsing(e,ZA.RAWTEXT)}function tg(A,e){A._reconstructActiveFormattingElements(),A._insertElement(e,I.HTML),A.framesetOk=!1,A.insertionMode=A.insertionMode===p.IN_TABLE||A.insertionMode===p.IN_CAPTION||A.insertionMode===p.IN_TABLE_BODY||A.insertionMode===p.IN_ROW||A.insertionMode===p.IN_CELL?p.IN_SELECT_IN_TABLE:p.IN_SELECT}function rg(A,e){A.openElements.currentTagId===o.OPTION&&A.openElements.pop(),A._reconstructActiveFormattingElements(),A._insertElement(e,I.HTML)}function ng(A,e){A.openElements.hasInScope(o.RUBY)&&A.openElements.generateImpliedEndTags(),A._insertElement(e,I.HTML)}function ag(A,e){A.openElements.hasInScope(o.RUBY)&&A.openElements.generateImpliedEndTagsWithExclusion(o.RTC),A._insertElement(e,I.HTML)}function ig(A,e){A._reconstructActiveFormattingElements(),Yo(e),ri(e),e.selfClosing?A._appendElement(e,I.MATHML):A._insertElement(e,I.MATHML),e.ackSelfClosing=!0}function sg(A,e){A._reconstructActiveFormattingElements(),Xo(e),ri(e),e.selfClosing?A._appendElement(e,I.SVG):A._insertElement(e,I.SVG),e.ackSelfClosing=!0}function eu(A,e){A._reconstructActiveFormattingElements(),A._insertElement(e,I.HTML)}function KA(A,e){switch(e.tagID){case o.I:case o.S:case o.B:case o.U:case o.EM:case o.TT:case o.BIG:case o.CODE:case o.FONT:case o.SMALL:case o.STRIKE:case o.STRONG:{YB(A,e);break}case o.A:{GB(A,e);break}case o.H1:case o.H2:case o.H3:case o.H4:case o.H5:case o.H6:{RB(A,e);break}case o.P:case o.DL:case o.OL:case o.UL:case o.DIV:case o.DIR:case o.NAV:case o.MAIN:case o.MENU:case o.ASIDE:case o.CENTER:case o.FIGURE:case o.FOOTER:case o.HEADER:case o.HGROUP:case o.DIALOG:case o.DETAILS:case o.ADDRESS:case o.ARTICLE:case o.SEARCH:case o.SECTION:case o.SUMMARY:case o.FIELDSET:case o.BLOCKQUOTE:case o.FIGCAPTION:{OB(A,e);break}case o.LI:case o.DD:case o.DT:{PB(A,e);break}case o.BR:case o.IMG:case o.WBR:case o.AREA:case o.EMBED:case o.KEYGEN:{$o(A,e);break}case o.HR:{zB(A,e);break}case o.RB:case o.RTC:{ng(A,e);break}case o.RT:case o.RP:{ag(A,e);break}case o.PRE:case o.LISTING:{MB(A,e);break}case o.XMP:{Ag(A,e);break}case o.SVG:{sg(A,e);break}case o.HTML:{LB(A,e);break}case o.BASE:case o.LINK:case o.META:case o.STYLE:case o.TITLE:case o.SCRIPT:case o.BGSOUND:case o.BASEFONT:case o.TEMPLATE:{ge(A,e);break}case o.BODY:{HB(A,e);break}case o.FORM:{kB(A,e);break}case o.NOBR:{XB(A,e);break}case o.MATH:{ig(A,e);break}case o.TABLE:{JB(A,e);break}case o.INPUT:{qB(A,e);break}case o.PARAM:case o.TRACK:case o.SOURCE:{jB(A,e);break}case o.IMAGE:{$B(A,e);break}case o.BUTTON:{VB(A,e);break}case o.APPLET:case o.OBJECT:case o.MARQUEE:{WB(A,e);break}case o.IFRAME:{eg(A,e);break}case o.SELECT:{tg(A,e);break}case o.OPTION:case o.OPTGROUP:{rg(A,e);break}case o.NOEMBED:case o.NOFRAMES:{Au(A,e);break}case o.FRAMESET:{DB(A,e);break}case o.TEXTAREA:{ZB(A,e);break}case o.NOSCRIPT:{A.options.scriptingEnabled?Au(A,e):eu(A,e);break}case o.PLAINTEXT:{KB(A,e);break}case o.COL:case o.TH:case o.TD:case o.TR:case o.HEAD:case o.FRAME:case o.TBODY:case o.TFOOT:case o.THEAD:case o.CAPTION:case o.COLGROUP:break;default:eu(A,e)}}function og(A,e){if(A.openElements.hasInScope(o.BODY)&&(A.insertionMode=p.AFTER_BODY,A.options.sourceCodeLocationInfo)){const t=A.openElements.tryPeekProperlyNestedBodyElement();t&&A._setEndLocation(t,e)}}function ug(A,e){A.openElements.hasInScope(o.BODY)&&(A.insertionMode=p.AFTER_BODY,lu(A,e))}function cg(A,e){const t=e.tagID;A.openElements.hasInScope(t)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(t))}function lg(A){const e=A.openElements.tmplCount>0,{formElement:t}=A;e||(A.formElement=null),(t||e)&&A.openElements.hasInScope(o.FORM)&&(A.openElements.generateImpliedEndTags(),e?A.openElements.popUntilTagNamePopped(o.FORM):t&&A.openElements.remove(t))}function dg(A){A.openElements.hasInButtonScope(o.P)||A._insertFakeElement(w.P,o.P),A._closePElement()}function fg(A){A.openElements.hasInListItemScope(o.LI)&&(A.openElements.generateImpliedEndTagsWithExclusion(o.LI),A.openElements.popUntilTagNamePopped(o.LI))}function hg(A,e){const t=e.tagID;A.openElements.hasInScope(t)&&(A.openElements.generateImpliedEndTagsWithExclusion(t),A.openElements.popUntilTagNamePopped(t))}function Bg(A){A.openElements.hasNumberedHeaderInScope()&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilNumberedHeaderPopped())}function gg(A,e){const t=e.tagID;A.openElements.hasInScope(t)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(t),A.activeFormattingElements.clearToLastMarker())}function pg(A){A._reconstructActiveFormattingElements(),A._insertFakeElement(w.BR,o.BR),A.openElements.pop(),A.framesetOk=!1}function tu(A,e){const t=e.tagName,r=e.tagID;for(let n=A.openElements.stackTop;n>0;n--){const a=A.openElements.items[n],i=A.openElements.tagIDs[n];if(r===i&&(r!==o.UNKNOWN||A.treeAdapter.getTagName(a)===t)){A.openElements.generateImpliedEndTagsWithExclusion(r),A.openElements.stackTop>=n&&A.openElements.shortenToLength(n);break}if(A._isSpecialElement(a,i))break}}function cn(A,e){switch(e.tagID){case o.A:case o.B:case o.I:case o.S:case o.U:case o.EM:case o.TT:case o.BIG:case o.CODE:case o.FONT:case o.NOBR:case o.SMALL:case o.STRIKE:case o.STRONG:{ni(A,e);break}case o.P:{dg(A);break}case o.DL:case o.UL:case o.OL:case o.DIR:case o.DIV:case o.NAV:case o.PRE:case o.MAIN:case o.MENU:case o.ASIDE:case o.BUTTON:case o.CENTER:case o.FIGURE:case o.FOOTER:case o.HEADER:case o.HGROUP:case o.DIALOG:case o.ADDRESS:case o.ARTICLE:case o.DETAILS:case o.SEARCH:case o.SECTION:case o.SUMMARY:case o.LISTING:case o.FIELDSET:case o.BLOCKQUOTE:case o.FIGCAPTION:{cg(A,e);break}case o.LI:{fg(A);break}case o.DD:case o.DT:{hg(A,e);break}case o.H1:case o.H2:case o.H3:case o.H4:case o.H5:case o.H6:{Bg(A);break}case o.BR:{pg(A);break}case o.BODY:{og(A,e);break}case o.HTML:{ug(A,e);break}case o.FORM:{lg(A);break}case o.APPLET:case o.OBJECT:case o.MARQUEE:{gg(A,e);break}case o.TEMPLATE:{ut(A,e);break}default:tu(A,e)}}function ru(A,e){A.tmplInsertionModeStack.length>0?cu(A,e):ii(A,e)}function mg(A,e){var t;e.tagID===o.SCRIPT&&((t=A.scriptHandler)===null||t===void 0||t.call(A,A.openElements.current)),A.openElements.pop(),A.insertionMode=A.originalInsertionMode}function Eg(A,e){A._err(e,U.eofInElementThatCanContainOnlyText),A.openElements.pop(),A.insertionMode=A.originalInsertionMode,A.onEof(e)}function si(A,e){if(Wo.has(A.openElements.currentTagId))switch(A.pendingCharacterTokens.length=0,A.hasNonWhitespacePendingCharacterToken=!1,A.originalInsertionMode=A.insertionMode,A.insertionMode=p.IN_TABLE_TEXT,e.type){case rA.CHARACTER:{au(A,e);break}case rA.WHITESPACE_CHARACTER:{nu(A,e);break}}else lr(A,e)}function Cg(A,e){A.openElements.clearBackToTableContext(),A.activeFormattingElements.insertMarker(),A._insertElement(e,I.HTML),A.insertionMode=p.IN_CAPTION}function wg(A,e){A.openElements.clearBackToTableContext(),A._insertElement(e,I.HTML),A.insertionMode=p.IN_COLUMN_GROUP}function bg(A,e){A.openElements.clearBackToTableContext(),A._insertFakeElement(w.COLGROUP,o.COLGROUP),A.insertionMode=p.IN_COLUMN_GROUP,oi(A,e)}function Tg(A,e){A.openElements.clearBackToTableContext(),A._insertElement(e,I.HTML),A.insertionMode=p.IN_TABLE_BODY}function Ug(A,e){A.openElements.clearBackToTableContext(),A._insertFakeElement(w.TBODY,o.TBODY),A.insertionMode=p.IN_TABLE_BODY,dn(A,e)}function Qg(A,e){A.openElements.hasInTableScope(o.TABLE)&&(A.openElements.popUntilTagNamePopped(o.TABLE),A._resetInsertionMode(),A._processStartTag(e))}function Fg(A,e){Zo(e)?A._appendElement(e,I.HTML):lr(A,e),e.ackSelfClosing=!0}function Ig(A,e){!A.formElement&&A.openElements.tmplCount===0&&(A._insertElement(e,I.HTML),A.formElement=A.openElements.current,A.openElements.pop())}function Qt(A,e){switch(e.tagID){case o.TD:case o.TH:case o.TR:{Ug(A,e);break}case o.STYLE:case o.SCRIPT:case o.TEMPLATE:{ge(A,e);break}case o.COL:{bg(A,e);break}case o.FORM:{Ig(A,e);break}case o.TABLE:{Qg(A,e);break}case o.TBODY:case o.TFOOT:case o.THEAD:{Tg(A,e);break}case o.INPUT:{Fg(A,e);break}case o.CAPTION:{Cg(A,e);break}case o.COLGROUP:{wg(A,e);break}default:lr(A,e)}}function cr(A,e){switch(e.tagID){case o.TABLE:{A.openElements.hasInTableScope(o.TABLE)&&(A.openElements.popUntilTagNamePopped(o.TABLE),A._resetInsertionMode());break}case o.TEMPLATE:{ut(A,e);break}case o.BODY:case o.CAPTION:case o.COL:case o.COLGROUP:case o.HTML:case o.TBODY:case o.TD:case o.TFOOT:case o.TH:case o.THEAD:case o.TR:break;default:lr(A,e)}}function lr(A,e){const t=A.fosterParentingEnabled;A.fosterParentingEnabled=!0,un(A,e),A.fosterParentingEnabled=t}function nu(A,e){A.pendingCharacterTokens.push(e)}function au(A,e){A.pendingCharacterTokens.push(e),A.hasNonWhitespacePendingCharacterToken=!0}function dr(A,e){let t=0;if(A.hasNonWhitespacePendingCharacterToken)for(;t<A.pendingCharacterTokens.length;t++)lr(A,A.pendingCharacterTokens[t]);else for(;t<A.pendingCharacterTokens.length;t++)A._insertCharacters(A.pendingCharacterTokens[t]);A.insertionMode=A.originalInsertionMode,A._processToken(e)}const iu=new Set([o.CAPTION,o.COL,o.COLGROUP,o.TBODY,o.TD,o.TFOOT,o.TH,o.THEAD,o.TR]);function yg(A,e){const t=e.tagID;iu.has(t)?A.openElements.hasInTableScope(o.CAPTION)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(o.CAPTION),A.activeFormattingElements.clearToLastMarker(),A.insertionMode=p.IN_TABLE,Qt(A,e)):KA(A,e)}function xg(A,e){const t=e.tagID;switch(t){case o.CAPTION:case o.TABLE:{A.openElements.hasInTableScope(o.CAPTION)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(o.CAPTION),A.activeFormattingElements.clearToLastMarker(),A.insertionMode=p.IN_TABLE,t===o.TABLE&&cr(A,e));break}case o.BODY:case o.COL:case o.COLGROUP:case o.HTML:case o.TBODY:case o.TD:case o.TFOOT:case o.TH:case o.THEAD:case o.TR:break;default:cn(A,e)}}function oi(A,e){switch(e.tagID){case o.HTML:{KA(A,e);break}case o.COL:{A._appendElement(e,I.HTML),e.ackSelfClosing=!0;break}case o.TEMPLATE:{ge(A,e);break}default:ln(A,e)}}function vg(A,e){switch(e.tagID){case o.COLGROUP:{A.openElements.currentTagId===o.COLGROUP&&(A.openElements.pop(),A.insertionMode=p.IN_TABLE);break}case o.TEMPLATE:{ut(A,e);break}case o.COL:break;default:ln(A,e)}}function ln(A,e){A.openElements.currentTagId===o.COLGROUP&&(A.openElements.pop(),A.insertionMode=p.IN_TABLE,A._processToken(e))}function dn(A,e){switch(e.tagID){case o.TR:{A.openElements.clearBackToTableBodyContext(),A._insertElement(e,I.HTML),A.insertionMode=p.IN_ROW;break}case o.TH:case o.TD:{A.openElements.clearBackToTableBodyContext(),A._insertFakeElement(w.TR,o.TR),A.insertionMode=p.IN_ROW,fn(A,e);break}case o.CAPTION:case o.COL:case o.COLGROUP:case o.TBODY:case o.TFOOT:case o.THEAD:{A.openElements.hasTableBodyContextInTableScope()&&(A.openElements.clearBackToTableBodyContext(),A.openElements.pop(),A.insertionMode=p.IN_TABLE,Qt(A,e));break}default:Qt(A,e)}}function ui(A,e){const t=e.tagID;switch(e.tagID){case o.TBODY:case o.TFOOT:case o.THEAD:{A.openElements.hasInTableScope(t)&&(A.openElements.clearBackToTableBodyContext(),A.openElements.pop(),A.insertionMode=p.IN_TABLE);break}case o.TABLE:{A.openElements.hasTableBodyContextInTableScope()&&(A.openElements.clearBackToTableBodyContext(),A.openElements.pop(),A.insertionMode=p.IN_TABLE,cr(A,e));break}case o.BODY:case o.CAPTION:case o.COL:case o.COLGROUP:case o.HTML:case o.TD:case o.TH:case o.TR:break;default:cr(A,e)}}function fn(A,e){switch(e.tagID){case o.TH:case o.TD:{A.openElements.clearBackToTableRowContext(),A._insertElement(e,I.HTML),A.insertionMode=p.IN_CELL,A.activeFormattingElements.insertMarker();break}case o.CAPTION:case o.COL:case o.COLGROUP:case o.TBODY:case o.TFOOT:case o.THEAD:case o.TR:{A.openElements.hasInTableScope(o.TR)&&(A.openElements.clearBackToTableRowContext(),A.openElements.pop(),A.insertionMode=p.IN_TABLE_BODY,dn(A,e));break}default:Qt(A,e)}}function su(A,e){switch(e.tagID){case o.TR:{A.openElements.hasInTableScope(o.TR)&&(A.openElements.clearBackToTableRowContext(),A.openElements.pop(),A.insertionMode=p.IN_TABLE_BODY);break}case o.TABLE:{A.openElements.hasInTableScope(o.TR)&&(A.openElements.clearBackToTableRowContext(),A.openElements.pop(),A.insertionMode=p.IN_TABLE_BODY,ui(A,e));break}case o.TBODY:case o.TFOOT:case o.THEAD:{(A.openElements.hasInTableScope(e.tagID)||A.openElements.hasInTableScope(o.TR))&&(A.openElements.clearBackToTableRowContext(),A.openElements.pop(),A.insertionMode=p.IN_TABLE_BODY,ui(A,e));break}case o.BODY:case o.CAPTION:case o.COL:case o.COLGROUP:case o.HTML:case o.TD:case o.TH:break;default:cr(A,e)}}function _g(A,e){const t=e.tagID;iu.has(t)?(A.openElements.hasInTableScope(o.TD)||A.openElements.hasInTableScope(o.TH))&&(A._closeTableCell(),fn(A,e)):KA(A,e)}function Ng(A,e){const t=e.tagID;switch(t){case o.TD:case o.TH:{A.openElements.hasInTableScope(t)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(t),A.activeFormattingElements.clearToLastMarker(),A.insertionMode=p.IN_ROW);break}case o.TABLE:case o.TBODY:case o.TFOOT:case o.THEAD:case o.TR:{A.openElements.hasInTableScope(t)&&(A._closeTableCell(),su(A,e));break}case o.BODY:case o.CAPTION:case o.COL:case o.COLGROUP:case o.HTML:break;default:cn(A,e)}}function ou(A,e){switch(e.tagID){case o.HTML:{KA(A,e);break}case o.OPTION:{A.openElements.currentTagId===o.OPTION&&A.openElements.pop(),A._insertElement(e,I.HTML);break}case o.OPTGROUP:{A.openElements.currentTagId===o.OPTION&&A.openElements.pop(),A.openElements.currentTagId===o.OPTGROUP&&A.openElements.pop(),A._insertElement(e,I.HTML);break}case o.HR:{A.openElements.currentTagId===o.OPTION&&A.openElements.pop(),A.openElements.currentTagId===o.OPTGROUP&&A.openElements.pop(),A._appendElement(e,I.HTML),e.ackSelfClosing=!0;break}case o.INPUT:case o.KEYGEN:case o.TEXTAREA:case o.SELECT:{A.openElements.hasInSelectScope(o.SELECT)&&(A.openElements.popUntilTagNamePopped(o.SELECT),A._resetInsertionMode(),e.tagID!==o.SELECT&&A._processStartTag(e));break}case o.SCRIPT:case o.TEMPLATE:{ge(A,e);break}}}function uu(A,e){switch(e.tagID){case o.OPTGROUP:{A.openElements.stackTop>0&&A.openElements.currentTagId===o.OPTION&&A.openElements.tagIDs[A.openElements.stackTop-1]===o.OPTGROUP&&A.openElements.pop(),A.openElements.currentTagId===o.OPTGROUP&&A.openElements.pop();break}case o.OPTION:{A.openElements.currentTagId===o.OPTION&&A.openElements.pop();break}case o.SELECT:{A.openElements.hasInSelectScope(o.SELECT)&&(A.openElements.popUntilTagNamePopped(o.SELECT),A._resetInsertionMode());break}case o.TEMPLATE:{ut(A,e);break}}}function Sg(A,e){const t=e.tagID;t===o.CAPTION||t===o.TABLE||t===o.TBODY||t===o.TFOOT||t===o.THEAD||t===o.TR||t===o.TD||t===o.TH?(A.openElements.popUntilTagNamePopped(o.SELECT),A._resetInsertionMode(),A._processStartTag(e)):ou(A,e)}function Lg(A,e){const t=e.tagID;t===o.CAPTION||t===o.TABLE||t===o.TBODY||t===o.TFOOT||t===o.THEAD||t===o.TR||t===o.TD||t===o.TH?A.openElements.hasInTableScope(t)&&(A.openElements.popUntilTagNamePopped(o.SELECT),A._resetInsertionMode(),A.onEndTag(e)):uu(A,e)}function Hg(A,e){switch(e.tagID){case o.BASE:case o.BASEFONT:case o.BGSOUND:case o.LINK:case o.META:case o.NOFRAMES:case o.SCRIPT:case o.STYLE:case o.TEMPLATE:case o.TITLE:{ge(A,e);break}case o.CAPTION:case o.COLGROUP:case o.TBODY:case o.TFOOT:case o.THEAD:{A.tmplInsertionModeStack[0]=p.IN_TABLE,A.insertionMode=p.IN_TABLE,Qt(A,e);break}case o.COL:{A.tmplInsertionModeStack[0]=p.IN_COLUMN_GROUP,A.insertionMode=p.IN_COLUMN_GROUP,oi(A,e);break}case o.TR:{A.tmplInsertionModeStack[0]=p.IN_TABLE_BODY,A.insertionMode=p.IN_TABLE_BODY,dn(A,e);break}case o.TD:case o.TH:{A.tmplInsertionModeStack[0]=p.IN_ROW,A.insertionMode=p.IN_ROW,fn(A,e);break}default:A.tmplInsertionModeStack[0]=p.IN_BODY,A.insertionMode=p.IN_BODY,KA(A,e)}}function Dg(A,e){e.tagID===o.TEMPLATE&&ut(A,e)}function cu(A,e){A.openElements.tmplCount>0?(A.openElements.popUntilTagNamePopped(o.TEMPLATE),A.activeFormattingElements.clearToLastMarker(),A.tmplInsertionModeStack.shift(),A._resetInsertionMode(),A.onEof(e)):ii(A,e)}function Og(A,e){e.tagID===o.HTML?KA(A,e):hn(A,e)}function lu(A,e){var t;if(e.tagID===o.HTML){if(A.fragmentContext||(A.insertionMode=p.AFTER_AFTER_BODY),A.options.sourceCodeLocationInfo&&A.openElements.tagIDs[0]===o.HTML){A._setEndLocation(A.openElements.items[0],e);const r=A.openElements.items[1];r&&!(!((t=A.treeAdapter.getNodeSourceCodeLocation(r))===null||t===void 0)&&t.endTag)&&A._setEndLocation(r,e)}}else hn(A,e)}function hn(A,e){A.insertionMode=p.IN_BODY,un(A,e)}function Rg(A,e){switch(e.tagID){case o.HTML:{KA(A,e);break}case o.FRAMESET:{A._insertElement(e,I.HTML);break}case o.FRAME:{A._appendElement(e,I.HTML),e.ackSelfClosing=!0;break}case o.NOFRAMES:{ge(A,e);break}}}function Mg(A,e){e.tagID===o.FRAMESET&&!A.openElements.isRootHtmlElementCurrent()&&(A.openElements.pop(),!A.fragmentContext&&A.openElements.currentTagId!==o.FRAMESET&&(A.insertionMode=p.AFTER_FRAMESET))}function kg(A,e){switch(e.tagID){case o.HTML:{KA(A,e);break}case o.NOFRAMES:{ge(A,e);break}}}function Pg(A,e){e.tagID===o.HTML&&(A.insertionMode=p.AFTER_AFTER_FRAMESET)}function Kg(A,e){e.tagID===o.HTML?KA(A,e):Bn(A,e)}function Bn(A,e){A.insertionMode=p.IN_BODY,un(A,e)}function Vg(A,e){switch(e.tagID){case o.HTML:{KA(A,e);break}case o.NOFRAMES:{ge(A,e);break}}}function Gg(A,e){e.chars=pA,A._insertCharacters(e)}function Yg(A,e){A._insertCharacters(e),A.framesetOk=!1}function du(A){for(;A.treeAdapter.getNamespaceURI(A.openElements.current)!==I.HTML&&!A._isIntegrationPoint(A.openElements.currentTagId,A.openElements.current);)A.openElements.pop()}function Xg(A,e){if(sB(e))du(A),A._startTagOutsideForeignContent(e);else{const t=A._getAdjustedCurrentElement(),r=A.treeAdapter.getNamespaceURI(t);r===I.MATHML?Yo(e):r===I.SVG&&(oB(e),Xo(e)),ri(e),e.selfClosing?A._appendElement(e,r):A._insertElement(e,r),e.ackSelfClosing=!0}}function Wg(A,e){if(e.tagID===o.P||e.tagID===o.BR){du(A),A._endTagOutsideForeignContent(e);return}for(let t=A.openElements.stackTop;t>0;t--){const r=A.openElements.items[t];if(A.treeAdapter.getNamespaceURI(r)===I.HTML){A._endTagOutsideForeignContent(e);break}const n=A.treeAdapter.getTagName(r);if(n.toLowerCase()===e.tagName){e.tagName=n,A.openElements.shortenToLength(t);break}}}const Jg=new Set([w.AREA,w.BASE,w.BASEFONT,w.BGSOUND,w.BR,w.COL,w.EMBED,w.FRAME,w.HR,w.IMG,w.INPUT,w.KEYGEN,w.LINK,w.META,w.PARAM,w.SOURCE,w.TRACK,w.WBR]);function qg(A,e){return e.treeAdapter.isElementNode(A)&&e.treeAdapter.getNamespaceURI(A)===I.HTML&&Jg.has(e.treeAdapter.getTagName(A))}const jg={treeAdapter:ve,scriptingEnabled:!0};function zg(A,e){const t={...jg,...e};return fu(A,t)}function $g(A,e){let t="";const r=e.treeAdapter.isElementNode(A)&&e.treeAdapter.getTagName(A)===w.TEMPLATE&&e.treeAdapter.getNamespaceURI(A)===I.HTML?e.treeAdapter.getTemplateContent(A):A,n=e.treeAdapter.getChildNodes(r);if(n)for(const a of n)t+=fu(a,e);return t}function fu(A,e){return e.treeAdapter.isElementNode(A)?Zg(A,e):e.treeAdapter.isTextNode(A)?ep(A,e):e.treeAdapter.isCommentNode(A)?tp(A,e):e.treeAdapter.isDocumentTypeNode(A)?rp(A,e):""}function Zg(A,e){const t=e.treeAdapter.getTagName(A);return`<${t}${Ap(A,e)}>${qg(A,e)?"":`${$g(A,e)}</${t}>`}`}function Ap(A,{treeAdapter:e}){let t="";for(const r of e.getAttrList(A)){if(t+=" ",r.namespace)switch(r.namespace){case I.XML:{t+=`xml:${r.name}`;break}case I.XMLNS:{r.name!=="xmlns"&&(t+="xmlns:"),t+=r.name;break}case I.XLINK:{t+=`xlink:${r.name}`;break}default:t+=`${r.prefix}:${r.name}`}else t+=r.name;t+=`="${Ss(r.value)}"`}return t}function ep(A,e){const{treeAdapter:t}=e,r=t.getTextNodeContent(A),n=t.getParentNode(A),a=n&&t.isElementNode(n)&&t.getTagName(n);return a&&t.getNamespaceURI(n)===I.HTML&&Hh(a,e.scriptingEnabled)?r:Ls(r)}function tp(A,{treeAdapter:e}){return`<!--${e.getCommentNodeContent(A)}-->`}function rp(A,{treeAdapter:e}){return`<!DOCTYPE ${e.getDocumentTypeNodeName(A)}>`}function np(A,e){return qo.parse(A,e)}function ap(A,e,t){typeof A=="string"&&(t=e,e=A,A=null);const r=qo.getFragmentParser(A,t);return r.tokenizer.write(e,!0),r.getFragment()}function hu(A){const e=A.includes('"')?"'":'"';return e+A+e}function ip(A,e,t){let r="!DOCTYPE ";return A&&(r+=A),e?r+=` PUBLIC ${hu(e)}`:t&&(r+=" SYSTEM"),t&&(r+=` ${hu(t)}`),r}const Ke={isCommentNode:Kr,isElementNode:W,isTextNode:we,createDocument(){const A=new rt([]);return A["x-mode"]=ae.NO_QUIRKS,A},createDocumentFragment(){return new rt([])},createElement(A,e,t){const r=Object.create(null),n=Object.create(null),a=Object.create(null);for(let s=0;s<t.length;s++){const u=t[s].name;r[u]=t[s].value,n[u]=t[s].namespace,a[u]=t[s].prefix}const i=new ba(A,r,[]);return i.namespace=e,i["x-attribsNamespace"]=n,i["x-attribsPrefix"]=a,i},createCommentNode(A){return new Ea(A)},createTextNode(A){return new Wt(A)},appendChild(A,e){const t=A.children[A.children.length-1];t&&(t.next=e,e.prev=t),A.children.push(e),e.parent=A},insertBefore(A,e,t){const r=A.children.indexOf(t),{prev:n}=t;n&&(n.next=e,e.prev=n),t.prev=e,e.next=t,A.children.splice(r,0,e),e.parent=A},setTemplateContent(A,e){Ke.appendChild(A,e)},getTemplateContent(A){return A.children[0]},setDocumentType(A,e,t,r){const n=ip(e,t,r);let a=A.children.find(i=>Ta(i)&&i.name==="!doctype");a?a.data=n??null:(a=new Ca("!doctype",n),Ke.appendChild(A,a)),a["x-name"]=e,a["x-publicId"]=t,a["x-systemId"]=r},setDocumentMode(A,e){A["x-mode"]=e},getDocumentMode(A){return A["x-mode"]},detachNode(A){if(A.parent){const e=A.parent.children.indexOf(A),{prev:t,next:r}=A;A.prev=null,A.next=null,t&&(t.next=r),r&&(r.prev=t),A.parent.children.splice(e,1),A.parent=null}},insertText(A,e){const t=A.children[A.children.length-1];t&&we(t)?t.data+=e:Ke.appendChild(A,Ke.createTextNode(e))},insertTextBefore(A,e,t){const r=A.children[A.children.indexOf(t)-1];r&&we(r)?r.data+=e:Ke.insertBefore(A,Ke.createTextNode(e),t)},adoptAttributes(A,e){for(let t=0;t<e.length;t++){const r=e[t].name;A.attribs[r]===void 0&&(A.attribs[r]=e[t].value,A["x-attribsNamespace"][r]=e[t].namespace,A["x-attribsPrefix"][r]=e[t].prefix)}},getFirstChild(A){return A.children[0]},getChildNodes(A){return A.children},getParentNode(A){return A.parent},getAttrList(A){return A.attributes},getTagName(A){return A.name},getNamespaceURI(A){return A.namespace},getTextNodeContent(A){return A.data},getCommentNodeContent(A){return A.data},getDocumentTypeNodeName(A){var e;return(e=A["x-name"])!==null&&e!==void 0?e:""},getDocumentTypeNodePublicId(A){var e;return(e=A["x-publicId"])!==null&&e!==void 0?e:""},getDocumentTypeNodeSystemId(A){var e;return(e=A["x-systemId"])!==null&&e!==void 0?e:""},isDocumentTypeNode(A){return Ta(A)&&A.name==="!doctype"},setNodeSourceCodeLocation(A,e){e&&(A.startIndex=e.startOffset,A.endIndex=e.endOffset),A.sourceCodeLocation=e},getNodeSourceCodeLocation(A){return A.sourceCodeLocation},updateNodeSourceCodeLocation(A,e){e.endOffset!=null&&(A.endIndex=e.endOffset),A.sourceCodeLocation={...A.sourceCodeLocation,...e}}};function sp(A,e,t,r){var n;return(n=e.treeAdapter)!==null&&n!==void 0||(e.treeAdapter=Ke),e.scriptingEnabled!==!1&&(e.scriptingEnabled=!0),t?np(A,e):ap(r,A,e)}const op={treeAdapter:Ke};function up(A){const e="length"in A?A:[A];for(let r=0;r<e.length;r+=1){const n=e[r];Oe(n)&&Array.prototype.splice.call(e,r,1,...n.children)}let t="";for(let r=0;r<e.length;r+=1){const n=e[r];t+=zg(n,op)}return t}var X;(function(A){A[A.Tab=9]="Tab",A[A.NewLine=10]="NewLine",A[A.FormFeed=12]="FormFeed",A[A.CarriageReturn=13]="CarriageReturn",A[A.Space=32]="Space",A[A.ExclamationMark=33]="ExclamationMark",A[A.Number=35]="Number",A[A.Amp=38]="Amp",A[A.SingleQuote=39]="SingleQuote",A[A.DoubleQuote=34]="DoubleQuote",A[A.Dash=45]="Dash",A[A.Slash=47]="Slash",A[A.Zero=48]="Zero",A[A.Nine=57]="Nine",A[A.Semi=59]="Semi",A[A.Lt=60]="Lt",A[A.Eq=61]="Eq",A[A.Gt=62]="Gt",A[A.Questionmark=63]="Questionmark",A[A.UpperA=65]="UpperA",A[A.LowerA=97]="LowerA",A[A.UpperF=70]="UpperF",A[A.LowerF=102]="LowerF",A[A.UpperZ=90]="UpperZ",A[A.LowerZ=122]="LowerZ",A[A.LowerX=120]="LowerX",A[A.OpeningSquareBracket=91]="OpeningSquareBracket"})(X||(X={}));var N;(function(A){A[A.Text=1]="Text",A[A.BeforeTagName=2]="BeforeTagName",A[A.InTagName=3]="InTagName",A[A.InSelfClosingTag=4]="InSelfClosingTag",A[A.BeforeClosingTagName=5]="BeforeClosingTagName",A[A.InClosingTagName=6]="InClosingTagName",A[A.AfterClosingTagName=7]="AfterClosingTagName",A[A.BeforeAttributeName=8]="BeforeAttributeName",A[A.InAttributeName=9]="InAttributeName",A[A.AfterAttributeName=10]="AfterAttributeName",A[A.BeforeAttributeValue=11]="BeforeAttributeValue",A[A.InAttributeValueDq=12]="InAttributeValueDq",A[A.InAttributeValueSq=13]="InAttributeValueSq",A[A.InAttributeValueNq=14]="InAttributeValueNq",A[A.BeforeDeclaration=15]="BeforeDeclaration",A[A.InDeclaration=16]="InDeclaration",A[A.InProcessingInstruction=17]="InProcessingInstruction",A[A.BeforeComment=18]="BeforeComment",A[A.CDATASequence=19]="CDATASequence",A[A.InSpecialComment=20]="InSpecialComment",A[A.InCommentLike=21]="InCommentLike",A[A.BeforeSpecialS=22]="BeforeSpecialS",A[A.BeforeSpecialT=23]="BeforeSpecialT",A[A.SpecialStartSequence=24]="SpecialStartSequence",A[A.InSpecialTag=25]="InSpecialTag",A[A.InEntity=26]="InEntity"})(N||(N={}));function _e(A){return A===X.Space||A===X.NewLine||A===X.Tab||A===X.FormFeed||A===X.CarriageReturn}function gn(A){return A===X.Slash||A===X.Gt||_e(A)}function cp(A){return A>=X.LowerA&&A<=X.LowerZ||A>=X.UpperA&&A<=X.UpperZ}var Te;(function(A){A[A.NoValue=0]="NoValue",A[A.Unquoted=1]="Unquoted",A[A.Single=2]="Single",A[A.Double=3]="Double"})(Te||(Te={}));const OA={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};let lp=class{constructor({xmlMode:e=!1,decodeEntities:t=!0},r){this.cbs=r,this.state=N.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=N.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=e,this.decodeEntities=t,this.entityDecoder=new xa(e?ys:Qa,(n,a)=>this.emitCodePoint(n,a))}reset(){this.state=N.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=N.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(e){e===X.Lt||!this.decodeEntities&&this.fastForwardTo(X.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=N.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===X.Amp&&this.startEntity()}stateSpecialStartSequence(e){const t=this.sequenceIndex===this.currentSequence.length;if(!(t?gn(e):(e|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!t){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=N.InTagName,this.stateInTagName(e)}stateInSpecialTag(e){if(this.sequenceIndex===this.currentSequence.length){if(e===X.Gt||_e(e)){const t=this.index-this.currentSequence.length;if(this.sectionStart<t){const r=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=r}this.isSpecial=!1,this.sectionStart=t+2,this.stateInClosingTagName(e);return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===OA.TitleEnd?this.decodeEntities&&e===X.Amp&&this.startEntity():this.fastForwardTo(X.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(e===X.Lt)}stateCDATASequence(e){e===OA.Cdata[this.sequenceIndex]?++this.sequenceIndex===OA.Cdata.length&&(this.state=N.InCommentLike,this.currentSequence=OA.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=N.InDeclaration,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===OA.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=N.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(e){return this.xmlMode?!gn(e):cp(e)}startSpecial(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=N.SpecialStartSequence}stateBeforeTagName(e){if(e===X.ExclamationMark)this.state=N.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===X.Questionmark)this.state=N.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){const t=e|32;this.sectionStart=this.index,this.xmlMode?this.state=N.InTagName:t===OA.ScriptEnd[2]?this.state=N.BeforeSpecialS:t===OA.TitleEnd[2]?this.state=N.BeforeSpecialT:this.state=N.InTagName}else e===X.Slash?this.state=N.BeforeClosingTagName:(this.state=N.Text,this.stateText(e))}stateInTagName(e){gn(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=N.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateBeforeClosingTagName(e){_e(e)||(e===X.Gt?this.state=N.Text:(this.state=this.isTagStartChar(e)?N.InClosingTagName:N.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(e){(e===X.Gt||_e(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=N.AfterClosingTagName,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){(e===X.Gt||this.fastForwardTo(X.Gt))&&(this.state=N.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(e){e===X.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=N.InSpecialTag,this.sequenceIndex=0):this.state=N.Text,this.sectionStart=this.index+1):e===X.Slash?this.state=N.InSelfClosingTag:_e(e)||(this.state=N.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(e){e===X.Gt?(this.cbs.onselfclosingtag(this.index),this.state=N.Text,this.sectionStart=this.index+1,this.isSpecial=!1):_e(e)||(this.state=N.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateInAttributeName(e){(e===X.Eq||gn(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=N.AfterAttributeName,this.stateAfterAttributeName(e))}stateAfterAttributeName(e){e===X.Eq?this.state=N.BeforeAttributeValue:e===X.Slash||e===X.Gt?(this.cbs.onattribend(Te.NoValue,this.sectionStart),this.sectionStart=-1,this.state=N.BeforeAttributeName,this.stateBeforeAttributeName(e)):_e(e)||(this.cbs.onattribend(Te.NoValue,this.sectionStart),this.state=N.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(e){e===X.DoubleQuote?(this.state=N.InAttributeValueDq,this.sectionStart=this.index+1):e===X.SingleQuote?(this.state=N.InAttributeValueSq,this.sectionStart=this.index+1):_e(e)||(this.sectionStart=this.index,this.state=N.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))}handleInAttributeValue(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===X.DoubleQuote?Te.Double:Te.Single,this.index+1),this.state=N.BeforeAttributeName):this.decodeEntities&&e===X.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(e){this.handleInAttributeValue(e,X.DoubleQuote)}stateInAttributeValueSingleQuotes(e){this.handleInAttributeValue(e,X.SingleQuote)}stateInAttributeValueNoQuotes(e){_e(e)||e===X.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(Te.Unquoted,this.index),this.state=N.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===X.Amp&&this.startEntity()}stateBeforeDeclaration(e){e===X.OpeningSquareBracket?(this.state=N.CDATASequence,this.sequenceIndex=0):this.state=e===X.Dash?N.BeforeComment:N.InDeclaration}stateInDeclaration(e){(e===X.Gt||this.fastForwardTo(X.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=N.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(e===X.Gt||this.fastForwardTo(X.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=N.Text,this.sectionStart=this.index+1)}stateBeforeComment(e){e===X.Dash?(this.state=N.InCommentLike,this.currentSequence=OA.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=N.InDeclaration}stateInSpecialComment(e){(e===X.Gt||this.fastForwardTo(X.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=N.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){const t=e|32;t===OA.ScriptEnd[3]?this.startSpecial(OA.ScriptEnd,4):t===OA.StyleEnd[3]?this.startSpecial(OA.StyleEnd,4):(this.state=N.InTagName,this.stateInTagName(e))}stateBeforeSpecialT(e){const t=e|32;t===OA.TitleEnd[3]?this.startSpecial(OA.TitleEnd,4):t===OA.TextareaEnd[3]?this.startSpecial(OA.TextareaEnd,4):(this.state=N.InTagName,this.stateInTagName(e))}startEntity(){this.baseState=this.state,this.state=N.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?ue.Strict:this.baseState===N.Text||this.baseState===N.InSpecialTag?ue.Legacy:ue.Attribute)}stateInEntity(){const e=this.entityDecoder.write(this.buffer,this.index-this.offset);e>=0?(this.state=this.baseState,e===0&&(this.index=this.entityStart)):this.index=this.offset+this.buffer.length-1}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===N.Text||this.state===N.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===N.InAttributeValueDq||this.state===N.InAttributeValueSq||this.state===N.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){const e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case N.Text:{this.stateText(e);break}case N.SpecialStartSequence:{this.stateSpecialStartSequence(e);break}case N.InSpecialTag:{this.stateInSpecialTag(e);break}case N.CDATASequence:{this.stateCDATASequence(e);break}case N.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(e);break}case N.InAttributeName:{this.stateInAttributeName(e);break}case N.InCommentLike:{this.stateInCommentLike(e);break}case N.InSpecialComment:{this.stateInSpecialComment(e);break}case N.BeforeAttributeName:{this.stateBeforeAttributeName(e);break}case N.InTagName:{this.stateInTagName(e);break}case N.InClosingTagName:{this.stateInClosingTagName(e);break}case N.BeforeTagName:{this.stateBeforeTagName(e);break}case N.AfterAttributeName:{this.stateAfterAttributeName(e);break}case N.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(e);break}case N.BeforeAttributeValue:{this.stateBeforeAttributeValue(e);break}case N.BeforeClosingTagName:{this.stateBeforeClosingTagName(e);break}case N.AfterClosingTagName:{this.stateAfterClosingTagName(e);break}case N.BeforeSpecialS:{this.stateBeforeSpecialS(e);break}case N.BeforeSpecialT:{this.stateBeforeSpecialT(e);break}case N.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(e);break}case N.InSelfClosingTag:{this.stateInSelfClosingTag(e);break}case N.InDeclaration:{this.stateInDeclaration(e);break}case N.BeforeDeclaration:{this.stateBeforeDeclaration(e);break}case N.BeforeComment:{this.stateBeforeComment(e);break}case N.InProcessingInstruction:{this.stateInProcessingInstruction(e);break}case N.InEntity:{this.stateInEntity();break}}this.index++}this.cleanup()}finish(){this.state===N.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const e=this.buffer.length+this.offset;this.sectionStart>=e||(this.state===N.InCommentLike?this.currentSequence===OA.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===N.InTagName||this.state===N.BeforeAttributeName||this.state===N.BeforeAttributeValue||this.state===N.AfterAttributeName||this.state===N.InAttributeName||this.state===N.InAttributeValueSq||this.state===N.InAttributeValueDq||this.state===N.InAttributeValueNq||this.state===N.InClosingTagName||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,t){this.baseState!==N.Text&&this.baseState!==N.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.onattribentity(e)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.ontextentity(e,this.sectionStart))}};const Ft=new Set(["input","option","optgroup","select","button","datalist","textarea"]),cA=new Set(["p"]),Bu=new Set(["thead","tbody"]),gu=new Set(["dd","dt"]),pu=new Set(["rt","rp"]),dp=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",cA],["h1",cA],["h2",cA],["h3",cA],["h4",cA],["h5",cA],["h6",cA],["select",Ft],["input",Ft],["output",Ft],["button",Ft],["datalist",Ft],["textarea",Ft],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",gu],["dt",gu],["address",cA],["article",cA],["aside",cA],["blockquote",cA],["details",cA],["div",cA],["dl",cA],["fieldset",cA],["figcaption",cA],["figure",cA],["footer",cA],["form",cA],["header",cA],["hr",cA],["main",cA],["nav",cA],["ol",cA],["pre",cA],["section",cA],["table",cA],["ul",cA],["rt",pu],["rp",pu],["tbody",Bu],["tfoot",Bu]]),fp=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),mu=new Set(["math","svg"]),Eu=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),hp=/\s|\//;let Bp=class{constructor(e,t={}){var r,n,a,i,s,u;this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=e??{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=(r=t.lowerCaseTags)!==null&&r!==void 0?r:this.htmlMode,this.lowerCaseAttributeNames=(n=t.lowerCaseAttributeNames)!==null&&n!==void 0?n:this.htmlMode,this.recognizeSelfClosing=(a=t.recognizeSelfClosing)!==null&&a!==void 0?a:!this.htmlMode,this.tokenizer=new((i=t.Tokenizer)!==null&&i!==void 0?i:lp)(this.options,this),this.foreignContext=[!this.htmlMode],(u=(s=this.cbs).onparserinit)===null||u===void 0||u.call(s,this)}ontext(e,t){var r,n;const a=this.getSlice(e,t);this.endIndex=t-1,(n=(r=this.cbs).ontext)===null||n===void 0||n.call(r,a),this.startIndex=t}ontextentity(e,t){var r,n;this.endIndex=t-1,(n=(r=this.cbs).ontext)===null||n===void 0||n.call(r,Ia(e)),this.startIndex=t}isVoidElement(e){return this.htmlMode&&fp.has(e)}onopentagname(e,t){this.endIndex=t;let r=this.getSlice(e,t);this.lowerCaseTagNames&&(r=r.toLowerCase()),this.emitOpenTag(r)}emitOpenTag(e){var t,r,n,a;this.openTagStart=this.startIndex,this.tagname=e;const i=this.htmlMode&&dp.get(e);if(i)for(;this.stack.length>0&&i.has(this.stack[0]);){const s=this.stack.shift();(r=(t=this.cbs).onclosetag)===null||r===void 0||r.call(t,s,!0)}this.isVoidElement(e)||(this.stack.unshift(e),this.htmlMode&&(mu.has(e)?this.foreignContext.unshift(!0):Eu.has(e)&&this.foreignContext.unshift(!1))),(a=(n=this.cbs).onopentagname)===null||a===void 0||a.call(n,e),this.cbs.onopentag&&(this.attribs={})}endOpenTag(e){var t,r;this.startIndex=this.openTagStart,this.attribs&&((r=(t=this.cbs).onopentag)===null||r===void 0||r.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1}onclosetag(e,t){var r,n,a,i,s,u,l,d;this.endIndex=t;let f=this.getSlice(e,t);if(this.lowerCaseTagNames&&(f=f.toLowerCase()),this.htmlMode&&(mu.has(f)||Eu.has(f))&&this.foreignContext.shift(),this.isVoidElement(f))this.htmlMode&&f==="br"&&((i=(a=this.cbs).onopentagname)===null||i===void 0||i.call(a,"br"),(u=(s=this.cbs).onopentag)===null||u===void 0||u.call(s,"br",{},!0),(d=(l=this.cbs).onclosetag)===null||d===void 0||d.call(l,"br",!1));else{const h=this.stack.indexOf(f);if(h!==-1)for(let C=0;C<=h;C++){const E=this.stack.shift();(n=(r=this.cbs).onclosetag)===null||n===void 0||n.call(r,E,C!==h)}else this.htmlMode&&f==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1}onselfclosingtag(e){this.endIndex=e,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)}closeCurrentTag(e){var t,r;const n=this.tagname;this.endOpenTag(e),this.stack[0]===n&&((r=(t=this.cbs).onclosetag)===null||r===void 0||r.call(t,n,!e),this.stack.shift())}onattribname(e,t){this.startIndex=e;const r=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?r.toLowerCase():r}onattribdata(e,t){this.attribvalue+=this.getSlice(e,t)}onattribentity(e){this.attribvalue+=Ia(e)}onattribend(e,t){var r,n;this.endIndex=t,(n=(r=this.cbs).onattribute)===null||n===void 0||n.call(r,this.attribname,this.attribvalue,e===Te.Double?'"':e===Te.Single?"'":e===Te.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(e){const t=e.search(hp);let r=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(r=r.toLowerCase()),r}ondeclaration(e,t){this.endIndex=t;const r=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){const n=this.getInstructionName(r);this.cbs.onprocessinginstruction(`!${n}`,`!${r}`)}this.startIndex=t+1}onprocessinginstruction(e,t){this.endIndex=t;const r=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){const n=this.getInstructionName(r);this.cbs.onprocessinginstruction(`?${n}`,`?${r}`)}this.startIndex=t+1}oncomment(e,t,r){var n,a,i,s;this.endIndex=t,(a=(n=this.cbs).oncomment)===null||a===void 0||a.call(n,this.getSlice(e,t-r)),(s=(i=this.cbs).oncommentend)===null||s===void 0||s.call(i),this.startIndex=t+1}oncdata(e,t,r){var n,a,i,s,u,l,d,f,h,C;this.endIndex=t;const E=this.getSlice(e,t-r);!this.htmlMode||this.options.recognizeCDATA?((a=(n=this.cbs).oncdatastart)===null||a===void 0||a.call(n),(s=(i=this.cbs).ontext)===null||s===void 0||s.call(i,E),(l=(u=this.cbs).oncdataend)===null||l===void 0||l.call(u)):((f=(d=this.cbs).oncomment)===null||f===void 0||f.call(d,`[CDATA[${E}]]`),(C=(h=this.cbs).oncommentend)===null||C===void 0||C.call(h)),this.startIndex=t+1}onend(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let r=0;r<this.stack.length;r++)this.cbs.onclosetag(this.stack[r],!0)}(t=(e=this.cbs).onend)===null||t===void 0||t.call(e)}reset(){var e,t,r,n;(t=(e=this.cbs).onreset)===null||t===void 0||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(n=(r=this.cbs).onparserinit)===null||n===void 0||n.call(r,this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(!this.htmlMode),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(e){this.reset(),this.end(e)}getSlice(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let r=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);for(;t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),r+=this.buffers[0].slice(0,t-this.bufferOffset);return r}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(e){var t,r;if(this.ended){(r=(t=this.cbs).onerror)===null||r===void 0||r.call(t,new Error(".write() after done!"));return}this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++)}end(e){var t,r;if(this.ended){(r=(t=this.cbs).onerror)===null||r===void 0||r.call(t,new Error(".end() after done!"));return}e&&this.write(e),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(e){this.write(e)}done(e){this.end(e)}};function gp(A,e){const t=new p0(void 0,e);return new Bp(t,e).end(A),t.root}const pp=Xf((A,e,t,r)=>e._useHtmlParser2?gp(A,e):sp(A,e,t,r)),Cu=Qh(pp,(A,e)=>e._useHtmlParser2?Vr(A,e):up(A));var G=(A=>(A[A.None=0]="None",A[A.Text=1]="Text",A[A.Image=2]="Image",A[A.Video=3]="Video",A[A.Icon=4]="Icon",A[A.Link=5]="Link",A[A.Button=6]="Button",A[A.Block=10]="Block",A))(G||{}),JA;(A=>{A.THEME_TEXT_COLOR_CLASS="gp-designer-theme-text",A.THEME_BUTTON_COLOR_CLASS="gp-designer-theme-button",A.THEME_ICON_COLOR_CLASS="gp-designer-theme-icon",A.THEME_COLOR="#3574e6",A.IMAGE_PREVIEW_CLASS="gp-designer-image-preview"})(JA||(JA={}));const mp=c.defineComponent({name:"GpMessage",props:{message:{type:String,required:!0},type:{type:String,default:"info"},position:{type:String,default:"top-right"},duration:{type:Number,default:3e3},onClose:{type:Function,required:!0},icon:{type:Boolean,default:!0}},setup(A){const e=c.ref(!1),t=c.computed(()=>({success:"bg-green-100 text-green-800",error:"bg-red-100 text-red-800",info:"bg-blue-100 text-blue-800",warning:"bg-yellow-100 text-yellow-800"})[A.type]),r=()=>{e.value=!1,A.onClose()};return setTimeout(()=>{r()},A.duration),e.value=!0,{visible:e,typeClass:t,closeMessage:r}}}),Ve=(A,e)=>{const t=A.__vccOpts||A;for(const[r,n]of e)t[r]=n;return t},Ep={key:0,class:"gp-message"},Cp={key:0,class:"mr-2"},wp={key:0,class:"text-green-500"},bp={key:1,class:"text-red-500"},Tp={key:2,class:"text-blue-500"},Up={key:3,class:"text-yellow-500"};function Qp(A,e,t,r,n,a){return c.openBlock(),c.createBlock(c.Transition,{name:"fade"},{default:c.withCtx(()=>[A.visible?(c.openBlock(),c.createElementBlock("div",Ep,[c.createElementVNode("div",{class:c.normalizeClass([A.typeClass,"message-content"])},[A.icon?(c.openBlock(),c.createElementBlock("span",Cp,[c.renderSlot(A.$slots,"icon",{},()=>[A.type==="success"?(c.openBlock(),c.createElementBlock("span",wp,"✔")):c.createCommentVNode("",!0),A.type==="error"?(c.openBlock(),c.createElementBlock("span",bp,"✖")):c.createCommentVNode("",!0),A.type==="info"?(c.openBlock(),c.createElementBlock("span",Tp,"ℹ")):c.createCommentVNode("",!0),A.type==="warning"?(c.openBlock(),c.createElementBlock("span",Up,"⚠")):c.createCommentVNode("",!0)],!0)])):c.createCommentVNode("",!0),c.createElementVNode("span",null,c.toDisplayString(A.message),1),c.createElementVNode("button",{class:"close-btn hover:text-gray-800 font-bold",onClick:e[0]||(e[0]=(...i)=>A.closeMessage&&A.closeMessage(...i))}," × ")],2)])):c.createCommentVNode("",!0)]),_:3})}const Fp=Ve(mp,[["render",Qp],["__scopeId","data-v-a234b03c"]]),It=c.reactive([]);let ci=null;const Ip=()=>{const A=document.createElement("div");return A.id="global-message-container",document.body.appendChild(A),A},yp=()=>{if(ci)return;const A=Ip();ci=c.createApp({setup(){return{messageQueue:It}},render(){const e=c.computed(()=>{var r;return{"top-left":"top-4 left-4","top-right":"top-4 right-4","bottom-left":"bottom-4 left-4","bottom-right":"bottom-4 right-4","top-center":"top-4 left-1/2 transform -translate-x-1/2","bottom-center":"bottom-4 left-1/2 transform -translate-x-1/2"}[((r=It[0])==null?void 0:r.options.position)||"top-right"]});return c.h("div",{class:`fixed flex flex-col gap-2 ${e.value}`,style:{zIndex:999999}},It.map(t=>c.h(Fp,{key:t.id,...t.options,onClose:()=>wu(t.id)})))}}),ci.mount(A)},wu=A=>{const e=It.findIndex(t=>t.id===A);e!==-1&&It.splice(e,1)};let xp=0;const j=A=>{yp();const e=xp++;It.push({id:e,options:A}),setTimeout(()=>{wu(e)},A.duration||3e3)};j.success=(A,e=3e3,t=!0)=>{j(typeof A=="string"?{message:A,type:"success",duration:e,icon:t}:{...A,type:"success"})},j.error=(A,e=3e3,t=!0)=>{j(typeof A=="string"?{message:A,type:"error",duration:e,icon:t}:{...A,type:"error"})},j.info=(A,e=3e3,t=!0)=>{j(typeof A=="string"?{message:A,type:"info",duration:e,icon:t}:{...A,type:"info"})},j.warning=(A,e=3e3,t=!0)=>{j(typeof A=="string"?{message:A,type:"warning",duration:e,icon:t}:{...A,type:"warning"})};const vp=["onClick"],_p={key:2,"date-action":"1",contenteditable:"false",class:"text-red-500 text-xs mt-1"},Np=Ve(c.defineComponent({__name:"ElementRenderer",props:{element:{type:Object,required:!0},selectedElement:Object,hoveredElement:Object,uploadByFile:{type:Function,required:!1},icons:{type:Array,default:()=>[]},mode:{type:String,default:"edit"},cropper:{type:Object,required:!1},icon:{type:Object,required:!1},upload:{type:Object,required:!1},r:{type:String,required:!1},showMargin:{type:Boolean,default:!1},isCover:{type:Boolean,default:!1}},emits:["selectElement","hoverElement","updateText","contentUpdated","blockAction","addIcon","updateElementRule","getCoverHtml"],setup(A,{emit:e}){const t=A,r=e,n=c.computed(()=>{var _;const y=t.element.editText||t.element.text;return t.element.rule&&t.element.rule.allowWrap?(_=y==null?void 0:y.replace(/\n/g,"<br>"))==null?void 0:_.replace(/ /g,"&nbsp;"):y}),a=c.computed(()=>t.selectedElement===t.element),i=c.computed(()=>t.hoveredElement===t.element),s=c.ref(!1),u=c.ref(!1),l=c.ref(""),d=c.computed(()=>t.element.rule.minText||0),f=c.computed(()=>t.element.rule.maxText||1/0),h=y=>{let _="";if(y.children&&y.children.length&&y.children[0].type===G.Block){const J=y.children[0].rule.flexColumn||y.children[0].rule.mobileFlexColumn;Math.min(J,y.children.length)&&(_+=" flex pc:justify-center ",y.children[0].rule.mobileFlexColumn?_+=" justify-center flex-wrap ":_+=" gp-designer-m-swiper swiper-wrapper justify-normal ")}if(y.type===G.Block){const J=y.rule.flexColumn,bA=y.rule.mobileFlexColumn;(bA||J)&&(_+=" box-border "),bA>1&&bA<=12?_+=` basis-1/${bA} `:bA==1?_+=" basis-full ":bA||(_+=" gp-designer-m-swiper-slide swiper-slide "),J>1&&J<=12?_+=` pc:basis-1/${J} `:J==1&&(_+=" pc:basis-full ")}if((y.type==G.Button||y.type==G.Link)&&y.rule.openMeiqia&&(_+=" gp-designer-meiqia "),y.rule.isThemeColor&&t.element.type===G.Text?_+=" "+JA.THEME_TEXT_COLOR_CLASS+" ":y.rule.isThemeColor&&t.element.type===G.Button?_+=" "+JA.THEME_BUTTON_COLOR_CLASS+" ":y.rule.isThemeColor&&t.element.type===G.Icon&&(_+=" "+JA.THEME_ICON_COLOR_CLASS+" "),y.attrs.class){var sA=y.attrs.class.split(" ").filter(J=>J);sA.length&&(_=_.split(" ").filter(J=>!sA.includes(J)).join(" "))}return y.type===G.Image&&y.rule.preview&&(_+=" "+JA.IMAGE_PREVIEW_CLASS+" "),_};c.watch(()=>t.r,()=>{r("contentUpdated",D())},{immediate:!0});function C(y){y.xpath!="/div[1]"&&t.mode!=="preview"&&(t.mode==="edit"?y.type===G.Text&&r("selectElement",y):r("selectElement",y),!y.rule.isReadOnly&&y.type===G.Text&&(s.value=!0))}function E(y){r("selectElement",y)}function T(y,_){r("hoverElement",y,_)}function v(y){r("hoverElement",y)}function b(y){y.currentTarget.contains(y.relatedTarget)?r("hoverElement",null):t.hoveredElement?r("hoverElement",null,t.hoveredElement.parentxpath):r("hoverElement",null)}function x(){s.value=!1,r("contentUpdated",D())}function D(){function y(sA){var pa;const J=sA;if(J.tag==="br")return"";const bA=J.rule.isThemeColor&&J.type==G.Text?JA.THEME_TEXT_COLOR_CLASS:J.rule.isThemeColor&&J.type==G.Button?JA.THEME_BUTTON_COLOR_CLASS:J.rule.isThemeColor&&J.type==G.Icon?JA.THEME_ICON_COLOR_CLASS:"";bA?J.attrs.class&&!J.attrs.class.includes(bA)?J.attrs.class=J.attrs.class?J.attrs.class+" "+bA:bA:J.attrs.class||(J.attrs.class=bA):J.attrs.class=(pa=J.attrs.class)==null?void 0:pa.replace(new RegExp(`${JA.THEME_TEXT_COLOR_CLASS}|${JA.THEME_BUTTON_COLOR_CLASS}|${JA.THEME_ICON_COLOR_CLASS}`,"g"),"");const se={class:J.attrs.class||""},Et=h(J);Et&&(se.class+=" "+Et),J.type===G.Image&&(J.rule.preview?se.class.includes(JA.IMAGE_PREVIEW_CLASS)||(se.class+=" "+JA.IMAGE_PREVIEW_CLASS+" "):se.class=se.class.replace(JA.IMAGE_PREVIEW_CLASS,""));let Yt=Object.entries(sA.attrs||{}).filter(([Q,F])=>Q!=="class").map(([Q,F])=>`${Q}="${F}"`).join(" ");const Xt=Object.entries(se||{}).map(([Q,F])=>`${Q}="${F.trim()}"`).join(" ");Yt+=Xt;const ha=`<${sA.tag}${Yt?" "+Yt:""}>`,Ba=`</${sA.tag}>`,ga=(sA.children||[]).map(Q=>y(Q)).join("");let tt=sA.editText||sA.text||"";return tt=tt.replace(/\r\n/g,`
9
+ `).replace(/\n/g,"<br>"),`${ha}${tt}${ga}${Ba}`}return y(t.element)}function R(y){var bA,se;y.preventDefault(),y.stopPropagation();let _=((bA=y.clipboardData)==null?void 0:bA.getData("text/plain"))||"";(se=t.element.rule)!=null&&se.allowWrap?(_=_==null?void 0:_.replace(/\n/g,"<br>"),document.execCommand("insertHTML",!1,_)):(_=_==null?void 0:_.replace(/\n/g," "),document.execCommand("insertText",!1,_));const sA=y.target,J=sA.innerText||sA.textContent||"";L(J)}function O(y){var _;y.key==="Enter"&&(y.preventDefault(),y.stopPropagation(),(_=t.element.rule)!=null&&_.allowWrap?document.execCommand("insertLineBreak"):j.error("当前节点不允许换行"))}function m(y){y.stopPropagation();const _=y.target,sA=_.innerText||_.textContent||"";L(sA)}function L(y){if(y.length<d.value){u.value=!0,l.value=`最少输入 ${d.value} 个字符`;return}else if(y.length>f.value){u.value=!0,l.value=`最多输入 ${f.value} 个字符`;return}else u.value=!1,l.value="";r("updateText",{element:t.element,newText:y}),r("contentUpdated",D());const _=c.toRaw(t.element);_.editText=y}function V(y){r("updateText",y),r("contentUpdated",D())}function k(){const y={...t.element};r("blockAction",{action:"add",element:t.element,newBlock:y})}function z(){iA(t.element),r("blockAction",{action:"moveUp",element:t.element})}function iA(y){y.children&&y.children.length>0&&y.children.forEach(_=>{_.type==G.Text&&(_.text!==_.editText&&(_.text=_.editText),iA(_))})}function AA(){iA(t.element),r("blockAction",{action:"moveDown",element:t.element})}function q(){r("blockAction",{action:"delete",element:t.element})}function nA(y){r("blockAction",y),r("contentUpdated",D())}function hA(y){vA.value.openModal(y)}function gA(y){kA.value.openModal(y)}function wA(y,_){r("addIcon",y,_),r("contentUpdated",D())}function YA(y){r("updateElementRule",y)}const vA=c.ref(t.icon);c.watch(()=>t.icon,y=>{vA.value=y},{immediate:!0});const kA=c.ref(t.upload);c.watch(()=>t.upload,y=>{kA.value=y},{immediate:!0});const jA=c.computed(()=>{const y=h(t.element);return t.element.css=y,y}),re=(y,_)=>{_.children&&_.children.length&&_.children[0].type===G.Block&&_.children.map(sA=>{sA.rule.flexColumn=y}),r("updateElementRule",_)},PA=c.computed(()=>{let y="";if(t.mode==="design"){const _=t.element;if(_.type===G.Block){const sA=_.rule.flexColumn;sA>1&&sA<=12&&(y+=`flex-basis: calc(100% / ${sA} - 10px);`)}}return y}),ne=c.ref(null);return c.watch(()=>t.isCover,y=>{console.log("00000",y)},{immediate:!0}),(y,_)=>{const sA=c.resolveComponent("ElementRenderer",!0);return c.openBlock(),c.createElementBlock(c.Fragment,null,[t.element.type==c.unref(G).Text?(c.openBlock(),c.createBlock(c.resolveDynamicComponent(t.element.tag),c.mergeProps({key:0,class:["relative",A.mode==="design"?" border-dashed border-2":"",A.showMargin?"p-1 m-1":"",i.value?"border-dashed border-blue-500":"",a.value?"border-dashed border-green-500 z-5 border-2":"",u.value?"border-dashed border-red-500":"",(!i.value&&!a.value&&!u.value,""),t.element.rule&&t.element.rule.isReadOnly?"cursor-not-allowed":"",jA.value],style:PA.value},t.element.attrs,{contenteditable:s.value&&t.element.type==c.unref(G).Text&&a.value&&!t.element.rule.isReadOnly&&!t.element.rule.allowWrap,onClick:_[0]||(_[0]=c.withModifiers(()=>C(t.element),["stop"])),onMouseenter:_[1]||(_[1]=()=>v(t.element)),onMouseleave:b,onBlur:x,onInput:m,onPaste:R,onKeydown:c.withModifiers(O,["stop"]),ref_key:"elementRef",ref:ne,innerHTML:n.value}),null,16,["class","style","contenteditable","innerHTML"])):(c.openBlock(),c.createBlock(c.resolveDynamicComponent(t.element.tag),c.mergeProps({key:1,class:["relative",A.mode==="design"?" border-dashed border-2":"",A.showMargin?"p-1 m-1":"",i.value?"border-dashed border-blue-500":"",a.value?"border-dashed border-green-500 z-5 border-2":"",u.value?"border-dashed border-red-500":"",(!i.value&&!a.value&&!u.value,""),t.element.rule&&t.element.rule.isReadOnly?"cursor-not-allowed":"",t.element.type===c.unref(G).Icon?"icon-upload-box":"",jA.value],style:PA.value},t.element.attrs,{contenteditable:!1,onClick:_[5]||(_[5]=c.withModifiers(()=>C(t.element),["stop"])),onMouseenter:_[6]||(_[6]=()=>v(t.element)),onMouseleave:b,onBlur:x,onInput:m,onPaste:R,onKeydown:c.withModifiers(O,["stop"]),ref_key:"elementRef",ref:ne}),{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(n.value)+" ",1),t.element.children&&t.element.children.length?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.element.children,(J,bA)=>(c.openBlock(),c.createBlock(sA,{"show-margin":A.showMargin,key:bA,r:A.r,mode:A.mode,icons:A.icons,element:J,selectedElement:t.selectedElement,hoveredElement:t.hoveredElement,cropper:A.cropper,icon:A.icon,upload:A.upload,"upload-by-file":A.uploadByFile,onSelectElement:E,onHoverElement:T,onUpdateText:V,onBlockAction:nA,onAddIcon:wA,onUpdateElementRule:()=>YA(J)},null,8,["show-margin","r","mode","icons","element","selectedElement","hoveredElement","cropper","icon","upload","upload-by-file","onUpdateElementRule"]))),128)),t.element.type===c.unref(G).Block?(c.openBlock(),c.createElementBlock("div",{key:0,"date-action":"1",contenteditable:"false",onClick:_[2]||(_[2]=c.withModifiers(()=>{},["stop"])),class:"hover:z-10 z-9 flex space-x-1 flex-none flex-nowrap overflow-visible absolute left-2 top-2 text-sm"},[c.createElementVNode("button",{class:"flex-none content-center items-center p-1 bg-green-500/80 text-white rounded hover:bg-green-500",onClick:c.withModifiers(k,["stop"])},_[9]||(_[9]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("rect",{width:"336",height:"336",x:"128",y:"128",fill:"none",stroke:"white","stroke-linejoin":"round","stroke-width":"32",rx:"57",ry:"57"}),c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"m383.5 128l.5-24a56.16 56.16 0 0 0-56-56H112a64.19 64.19 0 0 0-64 64v216a56.16 56.16 0 0 0 56 56h24"})],-1)])),c.createElementVNode("button",{class:"flex-none content-center items-center p-1 bg-blue-500/80 text-white rounded hover:bg-blue-500",onClick:c.withModifiers(z,["stop"])},_[10]||(_[10]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M244 400L100 256l144-144M120 256h292"})],-1)])),c.createElementVNode("button",{class:"flex-none content-center items-center p-1 bg-blue-500/80 text-white rounded hover:bg-blue-500",onClick:c.withModifiers(AA,["stop"])},_[11]||(_[11]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"m268 112l144 144l-144 144m124-144H100"})],-1)])),c.createElementVNode("button",{class:"flex-none content-center items-center p-1 bg-red-500/80 text-white rounded hover:bg-red-500",onClick:c.withModifiers(q,["stop"])},_[12]||(_[12]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M400 256H112"})],-1)]))])):c.createCommentVNode("",!0),t.element.children&&t.element.children.length&&t.element.children[0].type===c.unref(G).Block&&t.element.children[0].rule&&t.element.children[0].rule.flexColumns&&t.element.children[0].rule.flexColumns.length>0?(c.openBlock(),c.createElementBlock("div",{key:1,"date-action":"1",contenteditable:"false",onClick:_[3]||(_[3]=c.withModifiers(()=>{},["stop"])),class:"hover:z-10 z-9 flex space-x-1 flex-none flex-nowrap overflow-visible absolute right-0 -top-6 items-center"},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.element.children[0].rule.flexColumns,(J,bA)=>(c.openBlock(),c.createElementBlock("button",{class:c.normalizeClass(["text-xs w-6 h-6 flex-none content-center items-center justify-center bg-purple-400/80 text-white rounded hover:bg-purple-600",t.element.children[0].rule.flexColumn===J?"bg-purple-700":""]),onClick:c.withModifiers(()=>re(J,t.element),["stop"])},c.toDisplayString(J),11,vp))),256))])):c.createCommentVNode("",!0)],64)):c.createCommentVNode("",!0),t.element.type===c.unref(G).Icon?(c.openBlock(),c.createElementBlock("div",{key:1,class:"icon-upload cursor-pointer rounded-sm w-5 h-5 justify-center items-center absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-sm text-gray-50 z-10 bg-black/80 hover:bg-black",contenteditable:"false",onClick:_[4]||(_[4]=c.withModifiers(()=>hA(t.element),["stop"]))},_[13]||(_[13]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M320 367.79h76c55 0 100-29.21 100-83.6s-53-81.47-96-83.6c-8.89-85.06-71-136.8-144-136.8c-69 0-113.44 45.79-128 91.2c-60 5.7-112 43.88-112 106.4s54 106.4 120 106.4h56"}),c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"m320 255.79l-64-64l-64 64m64 192.42V207.79"})],-1)]))):c.createCommentVNode("",!0)]),_:1},16,["class","style"])),t.element.type==c.unref(G).Text&&u.value?(c.openBlock(),c.createElementBlock("div",_p,c.toDisplayString(l.value),1)):c.createCommentVNode("",!0),t.element.type===c.unref(G).Image?(c.openBlock(),c.createElementBlock("div",{key:3,class:"cursor-pointer rounded-sm flex justify-center items-center absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-sm text-gray-50 z-10 bg-black/80 hover:bg-black",onClick:_[8]||(_[8]=c.withModifiers(()=>{},["stop"])),contenteditable:"false"},[c.createElementVNode("div",{class:"p-1",onClick:_[7]||(_[7]=c.withModifiers(()=>gA(t.element),["stop"]))},_[14]||(_[14]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M320 367.79h76c55 0 100-29.21 100-83.6s-53-81.47-96-83.6c-8.89-85.06-71-136.8-144-136.8c-69 0-113.44 45.79-128 91.2c-60 5.7-112 43.88-112 106.4s54 106.4 120 106.4h56"}),c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"m320 255.79l-64-64l-64 64m64 192.42V207.79"})],-1)]))])):c.createCommentVNode("",!0)],64)}}}),[["__scopeId","data-v-76d4c9ce"]]),Sp=c.defineComponent({name:"GpCheckbox",props:{modelValue:{type:Boolean,required:!0},label:{type:String,default:""}},emits:["update:modelValue"],setup(A,{emit:e}){return{updateValue:r=>{e("update:modelValue",r.target.checked)}}}}),Lp={class:"form-group"},Hp={class:"flex items-center space-x-2 cursor-pointer"},Dp=["checked","aria-checked"],Op={class:"checkbox-label text-sm text-gray-700"};function Rp(A,e,t,r,n,a){return c.openBlock(),c.createElementBlock("div",Lp,[c.createElementVNode("label",Hp,[c.createElementVNode("input",{type:"checkbox",checked:A.modelValue,onChange:e[0]||(e[0]=(...i)=>A.updateValue&&A.updateValue(...i)),class:"custom-checkbox","aria-checked":A.modelValue},null,40,Dp),c.createElementVNode("span",Op,c.toDisplayString(A.label),1)])])}const ct=Ve(Sp,[["render",Rp],["__scopeId","data-v-68b8f276"]]),Mp={class:"text-sm"},kp={key:0},Pp={key:0},Kp={class:"text-gray-500 my-2 truncate"},Vp={class:"text-gray-500 my-2 break-words"},Gp={key:1},Yp={key:2},Xp={key:3},Wp={key:4},Jp={key:5},qp={key:6},jp={key:7},zp={key:8},$p={key:9},Zp={key:10},Am={key:11},em={key:12},tm={key:13},rm={key:14},nm=Ve(c.defineComponent({__name:"EditorPanel",props:{element:Object},emits:["updateElement"],setup(A,{emit:e}){const t=A,r=e,n=c.ref({rule:{},...t.element});c.watch(()=>t.element,i=>{n.value={rule:{},...i}},{immediate:!0});function a(){var i;if(n.value.type===G.Icon&&!n.value.attrs.class.includes("iconfont")){j.error("图标仅支持 iconfont 图标");return}if(n.value.type===G.Image&&n.value.tag!=="img"){j.error("节点类型错误");return}if(n.value.type===G.Video&&n.value.tag!=="video"){j.error("节点类型错误");return}if(n.value.type===G.Link&&n.value.tag!=="a"){j.error("节点类型错误");return}if(n.value.type===G.Text){if(n.value.rule.maxText&&Number(n.value.rule.minText)>Number(n.value.rule.maxText)){j.error("最小文本长度不能大于最大文本长度");return}if(n.value.tag!=="p"&&n.value.tag!=="div"&&n.value.tag!=="span"&&n.value.tag!=="h1"&&n.value.tag!=="h2"&&n.value.tag!=="h3"&&n.value.tag!=="h4"&&n.value.tag!=="h5"&&n.value.tag!=="h6"&&n.value.tag!=="label"&&n.value.tag!=="strong"&&n.value.tag!=="em"&&n.value.tag!=="b"&&n.value.tag!=="i"&&n.value.tag!=="ul"&&n.value.tag!=="ol"&&n.value.tag!=="li"&&n.value.tag!=="dl"&&n.value.tag!=="dt"&&n.value.tag!=="dd"){j.error("节点类型错误");return}}if(n.value.type===G.Block){if(n.value.rule.maxBlock&&Number(n.value.rule.minBlock)>Number(n.value.rule.maxBlock)){j.error("最小块数量不能大于最大块数量");return}if(n.value.tag!=="div"&&n.value.tag!=="section"&&n.value.tag!=="article"&&n.value.tag!=="nav"&&n.value.tag!=="header"&&n.value.tag!=="footer"&&n.value.tag!=="span"&&n.value.tag!=="p"&&n.value.tag!=="img"){j.error("节点类型错误");return}if(!n.value.children||n.value.children.length<1){j.error("节点错误,必须包含子元素");return}!n.value.rule.flexColumn&&((i=n.value.rule.flexColumns)==null?void 0:i.length)>0&&(n.value.rule.flexColumn=n.value.rule.flexColumns[0])}n.value.rule.minText?n.value.rule.minText=Number(n.value.rule.minText):n.value.rule.minText=void 0,n.value.rule.maxText?n.value.rule.maxText=Number(n.value.rule.maxText):n.value.rule.maxText=void 0,n.value.rule.minBlock?n.value.rule.minBlock=Number(n.value.rule.minBlock):n.value.rule.minBlock=void 0,n.value.rule.maxBlock?n.value.rule.maxBlock=Number(n.value.rule.maxBlock):n.value.rule.maxBlock=void 0,n.value.rule.flexColumn?n.value.rule.flexColumn=Number(n.value.rule.flexColumn):n.value.rule.flexColumn=void 0,n.value.rule.mobileFlexColumn?n.value.rule.mobileFlexColumn=Number(n.value.rule.mobileFlexColumn):n.value.rule.mobileFlexColumn=void 0,r("updateElement",n.value)}return(i,s)=>(c.openBlock(),c.createElementBlock("div",Mp,[n.value?(c.openBlock(),c.createElementBlock("div",kp,[n.value.text!==void 0?(c.openBlock(),c.createElementBlock("div",Pp,[s[17]||(s[17]=c.createElementVNode("label",{class:"block"},"内容",-1)),c.createElementVNode("div",Kp,c.toDisplayString(n.value.text||"-"),1)])):c.createCommentVNode("",!0),c.createElementVNode("div",null,[s[18]||(s[18]=c.createElementVNode("label",{class:"block mt-4"},"节点",-1)),c.createElementVNode("div",Vp,c.toDisplayString(n.value.xpath),1)]),c.createElementVNode("div",null,[s[20]||(s[20]=c.createElementVNode("label",{class:"block mt-4"},"类型",-1)),c.withDirectives(c.createElementVNode("select",{"onUpdate:modelValue":s[0]||(s[0]=u=>n.value.type=u),class:"border rounded p-1 w-full"},s[19]||(s[19]=[c.createElementVNode("option",{value:0},"无",-1),c.createElementVNode("option",{value:1},"文本",-1),c.createElementVNode("option",{value:2},"图片",-1),c.createElementVNode("option",{value:3},"视频",-1),c.createElementVNode("option",{value:4},"图标",-1),c.createElementVNode("option",{value:5},"链接",-1),c.createElementVNode("option",{value:6},"按钮",-1),c.createElementVNode("option",{value:10},"块",-1)]),512),[[c.vModelSelect,n.value.type]])]),n.value.type==c.unref(G).Text?(c.openBlock(),c.createElementBlock("div",Gp,[s[21]||(s[21]=c.createElementVNode("label",{class:"block mt-4"},"最小文本长度",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":s[1]||(s[1]=u=>n.value.rule.minText=u),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.minText]])])):c.createCommentVNode("",!0),n.value.type==c.unref(G).Text?(c.openBlock(),c.createElementBlock("div",Yp,[s[22]||(s[22]=c.createElementVNode("label",{class:"block mt-4"},"最大文本长度",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":s[2]||(s[2]=u=>n.value.rule.maxText=u),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.maxText]])])):c.createCommentVNode("",!0),n.value.type==c.unref(G).Image?(c.openBlock(),c.createElementBlock("div",Xp,[s[23]||(s[23]=c.createElementVNode("label",{class:"block mt-4"},"是否裁剪",-1)),c.createVNode(ct,{class:"py-2",modelValue:n.value.rule.crop,"onUpdate:modelValue":s[3]||(s[3]=u=>n.value.rule.crop=u),label:"是"},null,8,["modelValue"])])):c.createCommentVNode("",!0),n.value.type==c.unref(G).Image?(c.openBlock(),c.createElementBlock("div",Wp,[s[24]||(s[24]=c.createElementVNode("label",{class:"block mt-4"},"图片宽度",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":s[4]||(s[4]=u=>n.value.rule.minImageWidth=u),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.minImageWidth]])])):c.createCommentVNode("",!0),n.value.type==c.unref(G).Image?(c.openBlock(),c.createElementBlock("div",Jp,[s[25]||(s[25]=c.createElementVNode("label",{class:"block mt-4"},"图片高度",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":s[5]||(s[5]=u=>n.value.rule.maxImageHeight=u),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.maxImageHeight]])])):c.createCommentVNode("",!0),n.value.type==c.unref(G).Block?(c.openBlock(),c.createElementBlock("div",qp,[s[26]||(s[26]=c.createElementVNode("label",{class:"block mt-4"},"块最小数量",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":s[6]||(s[6]=u=>n.value.rule.minBlock=u),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.minBlock]])])):c.createCommentVNode("",!0),n.value.type==c.unref(G).Block?(c.openBlock(),c.createElementBlock("div",jp,[s[27]||(s[27]=c.createElementVNode("label",{class:"block mt-4"},"块最大数量",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":s[7]||(s[7]=u=>n.value.rule.maxBlock=u),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.maxBlock]])])):c.createCommentVNode("",!0),n.value.type==c.unref(G).Block?(c.openBlock(),c.createElementBlock("div",zp,[s[29]||(s[29]=c.createElementVNode("label",{class:"block mt-4"},"PC端每行列数",-1)),c.withDirectives(c.createElementVNode("select",{multiple:"","onUpdate:modelValue":s[8]||(s[8]=u=>n.value.rule.flexColumns=u),class:"border rounded p-1 w-full h-32"},s[28]||(s[28]=[c.createElementVNode("option",{value:1},"1",-1),c.createElementVNode("option",{value:2},"2",-1),c.createElementVNode("option",{value:3},"3",-1),c.createElementVNode("option",{value:4},"4",-1),c.createElementVNode("option",{value:5},"5",-1),c.createElementVNode("option",{value:6},"6",-1),c.createElementVNode("option",{value:7},"7",-1),c.createElementVNode("option",{value:8},"8",-1),c.createElementVNode("option",{value:9},"9",-1),c.createElementVNode("option",{value:10},"10",-1),c.createElementVNode("option",{value:11},"11",-1),c.createElementVNode("option",{value:12},"12",-1)]),512),[[c.vModelSelect,n.value.rule.flexColumns]])])):c.createCommentVNode("",!0),n.value.type==c.unref(G).Block?(c.openBlock(),c.createElementBlock("div",$p,[s[31]||(s[31]=c.createElementVNode("label",{class:"block mt-4"},"移动端每行列数",-1)),c.withDirectives(c.createElementVNode("select",{"onUpdate:modelValue":s[9]||(s[9]=u=>n.value.rule.mobileFlexColumn=u),class:"border rounded p-1 w-full"},s[30]||(s[30]=[c.createElementVNode("option",{value:void 0},"无(轮播)",-1),c.createElementVNode("option",{value:1},"1",-1),c.createElementVNode("option",{value:2},"2",-1),c.createElementVNode("option",{value:3},"3",-1),c.createElementVNode("option",{value:4},"4",-1),c.createElementVNode("option",{value:5},"5",-1),c.createElementVNode("option",{value:6},"6",-1)]),512),[[c.vModelSelect,n.value.rule.mobileFlexColumn]])])):c.createCommentVNode("",!0),n.value.type==c.unref(G).Text||n.value.type==c.unref(G).Icon||n.value.type==c.unref(G).Button?(c.openBlock(),c.createElementBlock("div",Zp,[s[32]||(s[32]=c.createElementVNode("label",{class:"block mt-4"},"主题色",-1)),c.createVNode(ct,{class:"py-2",modelValue:n.value.rule.isThemeColor,"onUpdate:modelValue":s[10]||(s[10]=u=>n.value.rule.isThemeColor=u),label:"是"},null,8,["modelValue"])])):c.createCommentVNode("",!0),c.createElementVNode("div",null,[s[33]||(s[33]=c.createElementVNode("label",{class:"block mt-4"},"是否必填",-1)),c.createVNode(ct,{class:"py-2",modelValue:n.value.rule.isRequired,"onUpdate:modelValue":s[11]||(s[11]=u=>n.value.rule.isRequired=u),label:"是"},null,8,["modelValue"])]),c.createElementVNode("div",null,[s[34]||(s[34]=c.createElementVNode("label",{class:"block mt-4"},"是否只读",-1)),c.createVNode(ct,{class:"py-2",modelValue:n.value.rule.isReadOnly,"onUpdate:modelValue":s[12]||(s[12]=u=>n.value.rule.isReadOnly=u),label:"是"},null,8,["modelValue"])]),n.value.type==c.unref(G).Link||n.value.type==c.unref(G).Button?(c.openBlock(),c.createElementBlock("div",Am,[s[35]||(s[35]=c.createElementVNode("label",{class:"block mt-4"},"打开美洽",-1)),c.createVNode(ct,{class:"py-2",modelValue:n.value.rule.openMeiqia,"onUpdate:modelValue":s[13]||(s[13]=u=>n.value.rule.openMeiqia=u),label:"是"},null,8,["modelValue"])])):c.createCommentVNode("",!0),n.value.type==c.unref(G).Link||n.value.type==c.unref(G).Button?(c.openBlock(),c.createElementBlock("div",em,[s[36]||(s[36]=c.createElementVNode("label",{class:"block mt-4"},"链接",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":s[14]||(s[14]=u=>n.value.rule.linkUrl=u),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.linkUrl]])])):c.createCommentVNode("",!0),n.value.type==c.unref(G).Text?(c.openBlock(),c.createElementBlock("div",tm,[s[37]||(s[37]=c.createElementVNode("label",{class:"block mt-4"},"允许换行(回车/粘贴多段文本等)",-1)),c.createVNode(ct,{class:"py-2",modelValue:n.value.rule.allowWrap,"onUpdate:modelValue":s[15]||(s[15]=u=>n.value.rule.allowWrap=u),label:"是"},null,8,["modelValue"])])):c.createCommentVNode("",!0),n.value.type==c.unref(G).Image?(c.openBlock(),c.createElementBlock("div",rm,[s[38]||(s[38]=c.createElementVNode("label",{class:"block mt-4"},"预览(点击查看大图)",-1)),c.createVNode(ct,{class:"py-2",modelValue:n.value.rule.preview,"onUpdate:modelValue":s[16]||(s[16]=u=>n.value.rule.preview=u),label:"是"},null,8,["modelValue"])])):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0),c.createElementVNode("button",{onClick:a,class:"mt-4 p-2 bg-green-500 text-white rounded"}," 保存 ")]))}}),[["__scopeId","data-v-1499ca4f"]]);/*!
10
10
  * Cropper.js v1.6.2
11
11
  * https://fengyuanchen.github.io/cropperjs
12
12
  *
@@ -14,8 +14,8 @@
14
14
  * Released under the MIT license
15
15
  *
16
16
  * Date: 2024-04-21T07:43:05.335Z
17
- */function Eu(A,e){var t=Object.keys(A);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(A);e&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(A,n).enumerable})),t.push.apply(t,r)}return t}function mu(A){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Eu(Object(t),!0).forEach(function(r){rE(A,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(t)):Eu(Object(t)).forEach(function(r){Object.defineProperty(A,r,Object.getOwnPropertyDescriptor(t,r))})}return A}function AE(A,e){if(typeof A!="object"||!A)return A;var t=A[Symbol.toPrimitive];if(t!==void 0){var r=t.call(A,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(A)}function Cu(A){var e=AE(A,"string");return typeof e=="symbol"?e:e+""}function ii(A){"@babel/helpers - typeof";return ii=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ii(A)}function eE(A,e){if(!(A instanceof e))throw new TypeError("Cannot call a class as a function")}function wu(A,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(A,Cu(r.key),r)}}function tE(A,e,t){return e&&wu(A.prototype,e),t&&wu(A,t),Object.defineProperty(A,"prototype",{writable:!1}),A}function rE(A,e,t){return e=Cu(e),e in A?Object.defineProperty(A,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):A[e]=t,A}function bu(A){return nE(A)||aE(A)||iE(A)||sE()}function nE(A){if(Array.isArray(A))return si(A)}function aE(A){if(typeof Symbol<"u"&&A[Symbol.iterator]!=null||A["@@iterator"]!=null)return Array.from(A)}function iE(A,e){if(A){if(typeof A=="string")return si(A,e);var t=Object.prototype.toString.call(A).slice(8,-1);if(t==="Object"&&A.constructor&&(t=A.constructor.name),t==="Map"||t==="Set")return Array.from(A);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return si(A,e)}}function si(A,e){(e==null||e>A.length)&&(e=A.length);for(var t=0,r=new Array(e);t<e;t++)r[t]=A[t];return r}function sE(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
18
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var gn=typeof window<"u"&&typeof window.document<"u",Ue=gn?window:{},oi=gn&&Ue.document.documentElement?"ontouchstart"in Ue.document.documentElement:!1,ui=gn?"PointerEvent"in Ue:!1,EA="cropper",ci="all",Tu="crop",Uu="move",Qu="zoom",ct="e",lt="w",Ft="s",Ge="n",lr="ne",dr="nw",fr="se",hr="sw",li="".concat(EA,"-crop"),Fu="".concat(EA,"-disabled"),te="".concat(EA,"-hidden"),Iu="".concat(EA,"-hide"),oE="".concat(EA,"-invisible"),pn="".concat(EA,"-modal"),di="".concat(EA,"-move"),Br="".concat(EA,"Action"),En="".concat(EA,"Preview"),fi="crop",yu="move",xu="none",hi="crop",Bi="cropend",gi="cropmove",pi="cropstart",vu="dblclick",uE=oi?"touchstart":"mousedown",cE=oi?"touchmove":"mousemove",lE=oi?"touchend touchcancel":"mouseup",_u=ui?"pointerdown":uE,Nu=ui?"pointermove":cE,Su=ui?"pointerup pointercancel":lE,Lu="ready",Hu="resize",Du="wheel",Ei="zoom",Ou="image/jpeg",dE=/^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/,fE=/^data:/,hE=/^data:image\/jpeg;base64,/,BE=/^img|canvas$/i,Ru=200,Mu=100,ku={viewMode:0,dragMode:fi,initialAspectRatio:NaN,aspectRatio:NaN,data:null,preview:"",responsive:!0,restore:!0,checkCrossOrigin:!0,checkOrientation:!0,modal:!0,guides:!0,center:!0,highlight:!0,background:!0,autoCrop:!0,autoCropArea:.8,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,wheelZoomRatio:.1,cropBoxMovable:!0,cropBoxResizable:!0,toggleDragModeOnDblclick:!0,minCanvasWidth:0,minCanvasHeight:0,minCropBoxWidth:0,minCropBoxHeight:0,minContainerWidth:Ru,minContainerHeight:Mu,ready:null,cropstart:null,cropmove:null,cropend:null,crop:null,zoom:null},gE='<div class="cropper-container" touch-action="none"><div class="cropper-wrap-box"><div class="cropper-canvas"></div></div><div class="cropper-drag-box"></div><div class="cropper-crop-box"><span class="cropper-view-box"></span><span class="cropper-dashed dashed-h"></span><span class="cropper-dashed dashed-v"></span><span class="cropper-center"></span><span class="cropper-face"></span><span class="cropper-line line-e" data-cropper-action="e"></span><span class="cropper-line line-n" data-cropper-action="n"></span><span class="cropper-line line-w" data-cropper-action="w"></span><span class="cropper-line line-s" data-cropper-action="s"></span><span class="cropper-point point-e" data-cropper-action="e"></span><span class="cropper-point point-n" data-cropper-action="n"></span><span class="cropper-point point-w" data-cropper-action="w"></span><span class="cropper-point point-s" data-cropper-action="s"></span><span class="cropper-point point-ne" data-cropper-action="ne"></span><span class="cropper-point point-nw" data-cropper-action="nw"></span><span class="cropper-point point-sw" data-cropper-action="sw"></span><span class="cropper-point point-se" data-cropper-action="se"></span></div></div>',pE=Number.isNaN||Ue.isNaN;function eA(A){return typeof A=="number"&&!pE(A)}var Pu=function(e){return e>0&&e<1/0};function mi(A){return typeof A>"u"}function dt(A){return ii(A)==="object"&&A!==null}var EE=Object.prototype.hasOwnProperty;function It(A){if(!dt(A))return!1;try{var e=A.constructor,t=e.prototype;return e&&t&&EE.call(t,"isPrototypeOf")}catch{return!1}}function re(A){return typeof A=="function"}var mE=Array.prototype.slice;function Ku(A){return Array.from?Array.from(A):mE.call(A)}function FA(A,e){return A&&re(e)&&(Array.isArray(A)||eA(A.length)?Ku(A).forEach(function(t,r){e.call(A,t,r,A)}):dt(A)&&Object.keys(A).forEach(function(t){e.call(A,A[t],t,A)})),A}var mA=Object.assign||function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return dt(e)&&r.length>0&&r.forEach(function(a){dt(a)&&Object.keys(a).forEach(function(i){e[i]=a[i]})}),e},CE=/\.\d*(?:0|9){12}\d*$/;function yt(A){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e11;return CE.test(A)?Math.round(A*e)/e:A}var wE=/^width|height|left|top|marginLeft|marginTop$/;function Ye(A,e){var t=A.style;FA(e,function(r,n){wE.test(n)&&eA(r)&&(r="".concat(r,"px")),t[n]=r})}function bE(A,e){return A.classList?A.classList.contains(e):A.className.indexOf(e)>-1}function HA(A,e){if(e){if(eA(A.length)){FA(A,function(r){HA(r,e)});return}if(A.classList){A.classList.add(e);return}var t=A.className.trim();t?t.indexOf(e)<0&&(A.className="".concat(t," ").concat(e)):A.className=e}}function Qe(A,e){if(e){if(eA(A.length)){FA(A,function(t){Qe(t,e)});return}if(A.classList){A.classList.remove(e);return}A.className.indexOf(e)>=0&&(A.className=A.className.replace(e,""))}}function xt(A,e,t){if(e){if(eA(A.length)){FA(A,function(r){xt(r,e,t)});return}t?HA(A,e):Qe(A,e)}}var TE=/([a-z\d])([A-Z])/g;function Ci(A){return A.replace(TE,"$1-$2").toLowerCase()}function wi(A,e){return dt(A[e])?A[e]:A.dataset?A.dataset[e]:A.getAttribute("data-".concat(Ci(e)))}function gr(A,e,t){dt(t)?A[e]=t:A.dataset?A.dataset[e]=t:A.setAttribute("data-".concat(Ci(e)),t)}function UE(A,e){if(dt(A[e]))try{delete A[e]}catch{A[e]=void 0}else if(A.dataset)try{delete A.dataset[e]}catch{A.dataset[e]=void 0}else A.removeAttribute("data-".concat(Ci(e)))}var Vu=/\s\s*/,Gu=function(){var A=!1;if(gn){var e=!1,t=function(){},r=Object.defineProperty({},"once",{get:function(){return A=!0,e},set:function(a){e=a}});Ue.addEventListener("test",t,r),Ue.removeEventListener("test",t,r)}return A}();function Ee(A,e,t){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=t;e.trim().split(Vu).forEach(function(a){if(!Gu){var i=A.listeners;i&&i[a]&&i[a][t]&&(n=i[a][t],delete i[a][t],Object.keys(i[a]).length===0&&delete i[a],Object.keys(i).length===0&&delete A.listeners)}A.removeEventListener(a,n,r)})}function ce(A,e,t){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=t;e.trim().split(Vu).forEach(function(a){if(r.once&&!Gu){var i=A.listeners,s=i===void 0?{}:i;n=function(){delete s[a][t],A.removeEventListener(a,n,r);for(var l=arguments.length,d=new Array(l),f=0;f<l;f++)d[f]=arguments[f];t.apply(A,d)},s[a]||(s[a]={}),s[a][t]&&A.removeEventListener(a,s[a][t],r),s[a][t]=n,A.listeners=s}A.addEventListener(a,n,r)})}function vt(A,e,t){var r;return re(Event)&&re(CustomEvent)?r=new CustomEvent(e,{detail:t,bubbles:!0,cancelable:!0}):(r=document.createEvent("CustomEvent"),r.initCustomEvent(e,!0,!0,t)),A.dispatchEvent(r)}function Yu(A){var e=A.getBoundingClientRect();return{left:e.left+(window.pageXOffset-document.documentElement.clientLeft),top:e.top+(window.pageYOffset-document.documentElement.clientTop)}}var bi=Ue.location,QE=/^(\w+:)\/\/([^:/?#]*):?(\d*)/i;function Xu(A){var e=A.match(QE);return e!==null&&(e[1]!==bi.protocol||e[2]!==bi.hostname||e[3]!==bi.port)}function Wu(A){var e="timestamp=".concat(new Date().getTime());return A+(A.indexOf("?")===-1?"?":"&")+e}function pr(A){var e=A.rotate,t=A.scaleX,r=A.scaleY,n=A.translateX,a=A.translateY,i=[];eA(n)&&n!==0&&i.push("translateX(".concat(n,"px)")),eA(a)&&a!==0&&i.push("translateY(".concat(a,"px)")),eA(e)&&e!==0&&i.push("rotate(".concat(e,"deg)")),eA(t)&&t!==1&&i.push("scaleX(".concat(t,")")),eA(r)&&r!==1&&i.push("scaleY(".concat(r,")"));var s=i.length?i.join(" "):"none";return{WebkitTransform:s,msTransform:s,transform:s}}function FE(A){var e=mu({},A),t=0;return FA(A,function(r,n){delete e[n],FA(e,function(a){var i=Math.abs(r.startX-a.startX),s=Math.abs(r.startY-a.startY),u=Math.abs(r.endX-a.endX),l=Math.abs(r.endY-a.endY),d=Math.sqrt(i*i+s*s),f=Math.sqrt(u*u+l*l),h=(f-d)/d;Math.abs(h)>Math.abs(t)&&(t=h)})}),t}function mn(A,e){var t=A.pageX,r=A.pageY,n={endX:t,endY:r};return e?n:mu({startX:t,startY:r},n)}function IE(A){var e=0,t=0,r=0;return FA(A,function(n){var a=n.startX,i=n.startY;e+=a,t+=i,r+=1}),e/=r,t/=r,{pageX:e,pageY:t}}function Xe(A){var e=A.aspectRatio,t=A.height,r=A.width,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"contain",a=Pu(r),i=Pu(t);if(a&&i){var s=t*e;n==="contain"&&s>r||n==="cover"&&s<r?t=r/e:r=t*e}else a?t=r/e:i&&(r=t*e);return{width:r,height:t}}function yE(A){var e=A.width,t=A.height,r=A.degree;if(r=Math.abs(r)%180,r===90)return{width:t,height:e};var n=r%90*Math.PI/180,a=Math.sin(n),i=Math.cos(n),s=e*i+t*a,u=e*a+t*i;return r>90?{width:u,height:s}:{width:s,height:u}}function xE(A,e,t,r){var n=e.aspectRatio,a=e.naturalWidth,i=e.naturalHeight,s=e.rotate,u=s===void 0?0:s,l=e.scaleX,d=l===void 0?1:l,f=e.scaleY,h=f===void 0?1:f,C=t.aspectRatio,m=t.naturalWidth,T=t.naturalHeight,v=r.fillColor,b=v===void 0?"transparent":v,x=r.imageSmoothingEnabled,D=x===void 0?!0:x,R=r.imageSmoothingQuality,O=R===void 0?"low":R,E=r.maxWidth,L=E===void 0?1/0:E,M=r.maxHeight,P=M===void 0?1/0:M,z=r.minWidth,oA=z===void 0?0:z,dA=r.minHeight,q=dA===void 0?0:dA,aA=document.createElement("canvas"),hA=aA.getContext("2d"),BA=Xe({aspectRatio:C,width:L,height:P}),TA=Xe({aspectRatio:C,width:oA,height:q},"cover"),zA=Math.min(BA.width,Math.max(TA.width,m)),vA=Math.min(BA.height,Math.max(TA.height,T)),XA=Xe({aspectRatio:n,width:L,height:P}),$A=Xe({aspectRatio:n,width:oA,height:q},"cover"),OA=Math.min(XA.width,Math.max($A.width,a)),PA=Math.min(XA.height,Math.max($A.height,i)),KA=[-OA/2,-PA/2,OA,PA];return aA.width=yt(zA),aA.height=yt(vA),hA.fillStyle=b,hA.fillRect(0,0,zA,vA),hA.save(),hA.translate(zA/2,vA/2),hA.rotate(u*Math.PI/180),hA.scale(d,h),hA.imageSmoothingEnabled=D,hA.imageSmoothingQuality=O,hA.drawImage.apply(hA,[A].concat(bu(KA.map(function(I){return Math.floor(yt(I))})))),hA.restore(),aA}var Ju=String.fromCharCode;function vE(A,e,t){var r="";t+=e;for(var n=e;n<t;n+=1)r+=Ju(A.getUint8(n));return r}var _E=/^data:.*,/;function NE(A){var e=A.replace(_E,""),t=atob(e),r=new ArrayBuffer(t.length),n=new Uint8Array(r);return FA(n,function(a,i){n[i]=t.charCodeAt(i)}),r}function SE(A,e){for(var t=[],r=8192,n=new Uint8Array(A);n.length>0;)t.push(Ju.apply(null,Ku(n.subarray(0,r)))),n=n.subarray(r);return"data:".concat(e,";base64,").concat(btoa(t.join("")))}function LE(A){var e=new DataView(A),t;try{var r,n,a;if(e.getUint8(0)===255&&e.getUint8(1)===216)for(var i=e.byteLength,s=2;s+1<i;){if(e.getUint8(s)===255&&e.getUint8(s+1)===225){n=s;break}s+=1}if(n){var u=n+4,l=n+10;if(vE(e,u,4)==="Exif"){var d=e.getUint16(l);if(r=d===18761,(r||d===19789)&&e.getUint16(l+2,r)===42){var f=e.getUint32(l+4,r);f>=8&&(a=l+f)}}}if(a){var h=e.getUint16(a,r),C,m;for(m=0;m<h;m+=1)if(C=a+m*12+2,e.getUint16(C,r)===274){C+=8,t=e.getUint16(C,r),e.setUint16(C,1,r);break}}}catch{t=1}return t}function HE(A){var e=0,t=1,r=1;switch(A){case 2:t=-1;break;case 3:e=-180;break;case 4:r=-1;break;case 5:e=90,r=-1;break;case 6:e=90;break;case 7:e=90,t=-1;break;case 8:e=-90;break}return{rotate:e,scaleX:t,scaleY:r}}var DE={render:function(){this.initContainer(),this.initCanvas(),this.initCropBox(),this.renderCanvas(),this.cropped&&this.renderCropBox()},initContainer:function(){var e=this.element,t=this.options,r=this.container,n=this.cropper,a=Number(t.minContainerWidth),i=Number(t.minContainerHeight);HA(n,te),Qe(e,te);var s={width:Math.max(r.offsetWidth,a>=0?a:Ru),height:Math.max(r.offsetHeight,i>=0?i:Mu)};this.containerData=s,Ye(n,{width:s.width,height:s.height}),HA(e,te),Qe(n,te)},initCanvas:function(){var e=this.containerData,t=this.imageData,r=this.options.viewMode,n=Math.abs(t.rotate)%180===90,a=n?t.naturalHeight:t.naturalWidth,i=n?t.naturalWidth:t.naturalHeight,s=a/i,u=e.width,l=e.height;e.height*s>e.width?r===3?u=e.height*s:l=e.width/s:r===3?l=e.width/s:u=e.height*s;var d={aspectRatio:s,naturalWidth:a,naturalHeight:i,width:u,height:l};this.canvasData=d,this.limited=r===1||r===2,this.limitCanvas(!0,!0),d.width=Math.min(Math.max(d.width,d.minWidth),d.maxWidth),d.height=Math.min(Math.max(d.height,d.minHeight),d.maxHeight),d.left=(e.width-d.width)/2,d.top=(e.height-d.height)/2,d.oldLeft=d.left,d.oldTop=d.top,this.initialCanvasData=mA({},d)},limitCanvas:function(e,t){var r=this.options,n=this.containerData,a=this.canvasData,i=this.cropBoxData,s=r.viewMode,u=a.aspectRatio,l=this.cropped&&i;if(e){var d=Number(r.minCanvasWidth)||0,f=Number(r.minCanvasHeight)||0;s>1?(d=Math.max(d,n.width),f=Math.max(f,n.height),s===3&&(f*u>d?d=f*u:f=d/u)):s>0&&(d?d=Math.max(d,l?i.width:0):f?f=Math.max(f,l?i.height:0):l&&(d=i.width,f=i.height,f*u>d?d=f*u:f=d/u));var h=Xe({aspectRatio:u,width:d,height:f});d=h.width,f=h.height,a.minWidth=d,a.minHeight=f,a.maxWidth=1/0,a.maxHeight=1/0}if(t)if(s>(l?0:1)){var C=n.width-a.width,m=n.height-a.height;a.minLeft=Math.min(0,C),a.minTop=Math.min(0,m),a.maxLeft=Math.max(0,C),a.maxTop=Math.max(0,m),l&&this.limited&&(a.minLeft=Math.min(i.left,i.left+(i.width-a.width)),a.minTop=Math.min(i.top,i.top+(i.height-a.height)),a.maxLeft=i.left,a.maxTop=i.top,s===2&&(a.width>=n.width&&(a.minLeft=Math.min(0,C),a.maxLeft=Math.max(0,C)),a.height>=n.height&&(a.minTop=Math.min(0,m),a.maxTop=Math.max(0,m))))}else a.minLeft=-a.width,a.minTop=-a.height,a.maxLeft=n.width,a.maxTop=n.height},renderCanvas:function(e,t){var r=this.canvasData,n=this.imageData;if(t){var a=yE({width:n.naturalWidth*Math.abs(n.scaleX||1),height:n.naturalHeight*Math.abs(n.scaleY||1),degree:n.rotate||0}),i=a.width,s=a.height,u=r.width*(i/r.naturalWidth),l=r.height*(s/r.naturalHeight);r.left-=(u-r.width)/2,r.top-=(l-r.height)/2,r.width=u,r.height=l,r.aspectRatio=i/s,r.naturalWidth=i,r.naturalHeight=s,this.limitCanvas(!0,!1)}(r.width>r.maxWidth||r.width<r.minWidth)&&(r.left=r.oldLeft),(r.height>r.maxHeight||r.height<r.minHeight)&&(r.top=r.oldTop),r.width=Math.min(Math.max(r.width,r.minWidth),r.maxWidth),r.height=Math.min(Math.max(r.height,r.minHeight),r.maxHeight),this.limitCanvas(!1,!0),r.left=Math.min(Math.max(r.left,r.minLeft),r.maxLeft),r.top=Math.min(Math.max(r.top,r.minTop),r.maxTop),r.oldLeft=r.left,r.oldTop=r.top,Ye(this.canvas,mA({width:r.width,height:r.height},pr({translateX:r.left,translateY:r.top}))),this.renderImage(e),this.cropped&&this.limited&&this.limitCropBox(!0,!0)},renderImage:function(e){var t=this.canvasData,r=this.imageData,n=r.naturalWidth*(t.width/t.naturalWidth),a=r.naturalHeight*(t.height/t.naturalHeight);mA(r,{width:n,height:a,left:(t.width-n)/2,top:(t.height-a)/2}),Ye(this.image,mA({width:r.width,height:r.height},pr(mA({translateX:r.left,translateY:r.top},r)))),e&&this.output()},initCropBox:function(){var e=this.options,t=this.canvasData,r=e.aspectRatio||e.initialAspectRatio,n=Number(e.autoCropArea)||.8,a={width:t.width,height:t.height};r&&(t.height*r>t.width?a.height=a.width/r:a.width=a.height*r),this.cropBoxData=a,this.limitCropBox(!0,!0),a.width=Math.min(Math.max(a.width,a.minWidth),a.maxWidth),a.height=Math.min(Math.max(a.height,a.minHeight),a.maxHeight),a.width=Math.max(a.minWidth,a.width*n),a.height=Math.max(a.minHeight,a.height*n),a.left=t.left+(t.width-a.width)/2,a.top=t.top+(t.height-a.height)/2,a.oldLeft=a.left,a.oldTop=a.top,this.initialCropBoxData=mA({},a)},limitCropBox:function(e,t){var r=this.options,n=this.containerData,a=this.canvasData,i=this.cropBoxData,s=this.limited,u=r.aspectRatio;if(e){var l=Number(r.minCropBoxWidth)||0,d=Number(r.minCropBoxHeight)||0,f=s?Math.min(n.width,a.width,a.width+a.left,n.width-a.left):n.width,h=s?Math.min(n.height,a.height,a.height+a.top,n.height-a.top):n.height;l=Math.min(l,n.width),d=Math.min(d,n.height),u&&(l&&d?d*u>l?d=l/u:l=d*u:l?d=l/u:d&&(l=d*u),h*u>f?h=f/u:f=h*u),i.minWidth=Math.min(l,f),i.minHeight=Math.min(d,h),i.maxWidth=f,i.maxHeight=h}t&&(s?(i.minLeft=Math.max(0,a.left),i.minTop=Math.max(0,a.top),i.maxLeft=Math.min(n.width,a.left+a.width)-i.width,i.maxTop=Math.min(n.height,a.top+a.height)-i.height):(i.minLeft=0,i.minTop=0,i.maxLeft=n.width-i.width,i.maxTop=n.height-i.height))},renderCropBox:function(){var e=this.options,t=this.containerData,r=this.cropBoxData;(r.width>r.maxWidth||r.width<r.minWidth)&&(r.left=r.oldLeft),(r.height>r.maxHeight||r.height<r.minHeight)&&(r.top=r.oldTop),r.width=Math.min(Math.max(r.width,r.minWidth),r.maxWidth),r.height=Math.min(Math.max(r.height,r.minHeight),r.maxHeight),this.limitCropBox(!1,!0),r.left=Math.min(Math.max(r.left,r.minLeft),r.maxLeft),r.top=Math.min(Math.max(r.top,r.minTop),r.maxTop),r.oldLeft=r.left,r.oldTop=r.top,e.movable&&e.cropBoxMovable&&gr(this.face,Br,r.width>=t.width&&r.height>=t.height?Uu:ci),Ye(this.cropBox,mA({width:r.width,height:r.height},pr({translateX:r.left,translateY:r.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),vt(this.element,hi,this.getData())}},OE={initPreview:function(){var e=this.element,t=this.crossOrigin,r=this.options.preview,n=t?this.crossOriginUrl:this.url,a=e.alt||"The image to preview",i=document.createElement("img");if(t&&(i.crossOrigin=t),i.src=n,i.alt=a,this.viewBox.appendChild(i),this.viewBoxImage=i,!!r){var s=r;typeof r=="string"?s=e.ownerDocument.querySelectorAll(r):r.querySelector&&(s=[r]),this.previews=s,FA(s,function(u){var l=document.createElement("img");gr(u,En,{width:u.offsetWidth,height:u.offsetHeight,html:u.innerHTML}),t&&(l.crossOrigin=t),l.src=n,l.alt=a,l.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',u.innerHTML="",u.appendChild(l)})}},resetPreview:function(){FA(this.previews,function(e){var t=wi(e,En);Ye(e,{width:t.width,height:t.height}),e.innerHTML=t.html,UE(e,En)})},preview:function(){var e=this.imageData,t=this.canvasData,r=this.cropBoxData,n=r.width,a=r.height,i=e.width,s=e.height,u=r.left-t.left-e.left,l=r.top-t.top-e.top;!this.cropped||this.disabled||(Ye(this.viewBoxImage,mA({width:i,height:s},pr(mA({translateX:-u,translateY:-l},e)))),FA(this.previews,function(d){var f=wi(d,En),h=f.width,C=f.height,m=h,T=C,v=1;n&&(v=h/n,T=a*v),a&&T>C&&(v=C/a,m=n*v,T=C),Ye(d,{width:m,height:T}),Ye(d.getElementsByTagName("img")[0],mA({width:i*v,height:s*v},pr(mA({translateX:-u*v,translateY:-l*v},e))))}))}},RE={bind:function(){var e=this.element,t=this.options,r=this.cropper;re(t.cropstart)&&ce(e,pi,t.cropstart),re(t.cropmove)&&ce(e,gi,t.cropmove),re(t.cropend)&&ce(e,Bi,t.cropend),re(t.crop)&&ce(e,hi,t.crop),re(t.zoom)&&ce(e,Ei,t.zoom),ce(r,_u,this.onCropStart=this.cropStart.bind(this)),t.zoomable&&t.zoomOnWheel&&ce(r,Du,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),t.toggleDragModeOnDblclick&&ce(r,vu,this.onDblclick=this.dblclick.bind(this)),ce(e.ownerDocument,Nu,this.onCropMove=this.cropMove.bind(this)),ce(e.ownerDocument,Su,this.onCropEnd=this.cropEnd.bind(this)),t.responsive&&ce(window,Hu,this.onResize=this.resize.bind(this))},unbind:function(){var e=this.element,t=this.options,r=this.cropper;re(t.cropstart)&&Ee(e,pi,t.cropstart),re(t.cropmove)&&Ee(e,gi,t.cropmove),re(t.cropend)&&Ee(e,Bi,t.cropend),re(t.crop)&&Ee(e,hi,t.crop),re(t.zoom)&&Ee(e,Ei,t.zoom),Ee(r,_u,this.onCropStart),t.zoomable&&t.zoomOnWheel&&Ee(r,Du,this.onWheel,{passive:!1,capture:!0}),t.toggleDragModeOnDblclick&&Ee(r,vu,this.onDblclick),Ee(e.ownerDocument,Nu,this.onCropMove),Ee(e.ownerDocument,Su,this.onCropEnd),t.responsive&&Ee(window,Hu,this.onResize)}},ME={resize:function(){if(!this.disabled){var e=this.options,t=this.container,r=this.containerData,n=t.offsetWidth/r.width,a=t.offsetHeight/r.height,i=Math.abs(n-1)>Math.abs(a-1)?n:a;if(i!==1){var s,u;e.restore&&(s=this.getCanvasData(),u=this.getCropBoxData()),this.render(),e.restore&&(this.setCanvasData(FA(s,function(l,d){s[d]=l*i})),this.setCropBoxData(FA(u,function(l,d){u[d]=l*i})))}}},dblclick:function(){this.disabled||this.options.dragMode===xu||this.setDragMode(bE(this.dragBox,li)?yu:fi)},wheel:function(e){var t=this,r=Number(this.options.wheelZoomRatio)||.1,n=1;this.disabled||(e.preventDefault(),!this.wheeling&&(this.wheeling=!0,setTimeout(function(){t.wheeling=!1},50),e.deltaY?n=e.deltaY>0?1:-1:e.wheelDelta?n=-e.wheelDelta/120:e.detail&&(n=e.detail>0?1:-1),this.zoom(-n*r,e)))},cropStart:function(e){var t=e.buttons,r=e.button;if(!(this.disabled||(e.type==="mousedown"||e.type==="pointerdown"&&e.pointerType==="mouse")&&(eA(t)&&t!==1||eA(r)&&r!==0||e.ctrlKey))){var n=this.options,a=this.pointers,i;e.changedTouches?FA(e.changedTouches,function(s){a[s.identifier]=mn(s)}):a[e.pointerId||0]=mn(e),Object.keys(a).length>1&&n.zoomable&&n.zoomOnTouch?i=Qu:i=wi(e.target,Br),dE.test(i)&&vt(this.element,pi,{originalEvent:e,action:i})!==!1&&(e.preventDefault(),this.action=i,this.cropping=!1,i===Tu&&(this.cropping=!0,HA(this.dragBox,pn)))}},cropMove:function(e){var t=this.action;if(!(this.disabled||!t)){var r=this.pointers;e.preventDefault(),vt(this.element,gi,{originalEvent:e,action:t})!==!1&&(e.changedTouches?FA(e.changedTouches,function(n){mA(r[n.identifier]||{},mn(n,!0))}):mA(r[e.pointerId||0]||{},mn(e,!0)),this.change(e))}},cropEnd:function(e){if(!this.disabled){var t=this.action,r=this.pointers;e.changedTouches?FA(e.changedTouches,function(n){delete r[n.identifier]}):delete r[e.pointerId||0],t&&(e.preventDefault(),Object.keys(r).length||(this.action=""),this.cropping&&(this.cropping=!1,xt(this.dragBox,pn,this.cropped&&this.options.modal)),vt(this.element,Bi,{originalEvent:e,action:t}))}}},kE={change:function(e){var t=this.options,r=this.canvasData,n=this.containerData,a=this.cropBoxData,i=this.pointers,s=this.action,u=t.aspectRatio,l=a.left,d=a.top,f=a.width,h=a.height,C=l+f,m=d+h,T=0,v=0,b=n.width,x=n.height,D=!0,R;!u&&e.shiftKey&&(u=f&&h?f/h:1),this.limited&&(T=a.minLeft,v=a.minTop,b=T+Math.min(n.width,r.width,r.left+r.width),x=v+Math.min(n.height,r.height,r.top+r.height));var O=i[Object.keys(i)[0]],E={x:O.endX-O.startX,y:O.endY-O.startY},L=function(P){switch(P){case ct:C+E.x>b&&(E.x=b-C);break;case lt:l+E.x<T&&(E.x=T-l);break;case Ge:d+E.y<v&&(E.y=v-d);break;case Ft:m+E.y>x&&(E.y=x-m);break}};switch(s){case ci:l+=E.x,d+=E.y;break;case ct:if(E.x>=0&&(C>=b||u&&(d<=v||m>=x))){D=!1;break}L(ct),f+=E.x,f<0&&(s=lt,f=-f,l-=f),u&&(h=f/u,d+=(a.height-h)/2);break;case Ge:if(E.y<=0&&(d<=v||u&&(l<=T||C>=b))){D=!1;break}L(Ge),h-=E.y,d+=E.y,h<0&&(s=Ft,h=-h,d-=h),u&&(f=h*u,l+=(a.width-f)/2);break;case lt:if(E.x<=0&&(l<=T||u&&(d<=v||m>=x))){D=!1;break}L(lt),f-=E.x,l+=E.x,f<0&&(s=ct,f=-f,l-=f),u&&(h=f/u,d+=(a.height-h)/2);break;case Ft:if(E.y>=0&&(m>=x||u&&(l<=T||C>=b))){D=!1;break}L(Ft),h+=E.y,h<0&&(s=Ge,h=-h,d-=h),u&&(f=h*u,l+=(a.width-f)/2);break;case lr:if(u){if(E.y<=0&&(d<=v||C>=b)){D=!1;break}L(Ge),h-=E.y,d+=E.y,f=h*u}else L(Ge),L(ct),E.x>=0?C<b?f+=E.x:E.y<=0&&d<=v&&(D=!1):f+=E.x,E.y<=0?d>v&&(h-=E.y,d+=E.y):(h-=E.y,d+=E.y);f<0&&h<0?(s=hr,h=-h,f=-f,d-=h,l-=f):f<0?(s=dr,f=-f,l-=f):h<0&&(s=fr,h=-h,d-=h);break;case dr:if(u){if(E.y<=0&&(d<=v||l<=T)){D=!1;break}L(Ge),h-=E.y,d+=E.y,f=h*u,l+=a.width-f}else L(Ge),L(lt),E.x<=0?l>T?(f-=E.x,l+=E.x):E.y<=0&&d<=v&&(D=!1):(f-=E.x,l+=E.x),E.y<=0?d>v&&(h-=E.y,d+=E.y):(h-=E.y,d+=E.y);f<0&&h<0?(s=fr,h=-h,f=-f,d-=h,l-=f):f<0?(s=lr,f=-f,l-=f):h<0&&(s=hr,h=-h,d-=h);break;case hr:if(u){if(E.x<=0&&(l<=T||m>=x)){D=!1;break}L(lt),f-=E.x,l+=E.x,h=f/u}else L(Ft),L(lt),E.x<=0?l>T?(f-=E.x,l+=E.x):E.y>=0&&m>=x&&(D=!1):(f-=E.x,l+=E.x),E.y>=0?m<x&&(h+=E.y):h+=E.y;f<0&&h<0?(s=lr,h=-h,f=-f,d-=h,l-=f):f<0?(s=fr,f=-f,l-=f):h<0&&(s=dr,h=-h,d-=h);break;case fr:if(u){if(E.x>=0&&(C>=b||m>=x)){D=!1;break}L(ct),f+=E.x,h=f/u}else L(Ft),L(ct),E.x>=0?C<b?f+=E.x:E.y>=0&&m>=x&&(D=!1):f+=E.x,E.y>=0?m<x&&(h+=E.y):h+=E.y;f<0&&h<0?(s=dr,h=-h,f=-f,d-=h,l-=f):f<0?(s=hr,f=-f,l-=f):h<0&&(s=lr,h=-h,d-=h);break;case Uu:this.move(E.x,E.y),D=!1;break;case Qu:this.zoom(FE(i),e),D=!1;break;case Tu:if(!E.x||!E.y){D=!1;break}R=Yu(this.cropper),l=O.startX-R.left,d=O.startY-R.top,f=a.minWidth,h=a.minHeight,E.x>0?s=E.y>0?fr:lr:E.x<0&&(l-=f,s=E.y>0?hr:dr),E.y<0&&(d-=h),this.cropped||(Qe(this.cropBox,te),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0));break}D&&(a.width=f,a.height=h,a.left=l,a.top=d,this.action=s,this.renderCropBox()),FA(i,function(M){M.startX=M.endX,M.startY=M.endY})}},PE={crop:function(){return this.ready&&!this.cropped&&!this.disabled&&(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&HA(this.dragBox,pn),Qe(this.cropBox,te),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=mA({},this.initialImageData),this.canvasData=mA({},this.initialCanvasData),this.cropBoxData=mA({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(mA(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),Qe(this.dragBox,pn),HA(this.cropBox,te)),this},replace:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return!this.disabled&&e&&(this.isImg&&(this.element.src=e),t?(this.url=e,this.image.src=e,this.ready&&(this.viewBoxImage.src=e,FA(this.previews,function(r){r.getElementsByTagName("img")[0].src=e}))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(e))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,Qe(this.cropper,Fu)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,HA(this.cropper,Fu)),this},destroy:function(){var e=this.element;return e[EA]?(e[EA]=void 0,this.isImg&&this.replaced&&(e.src=this.originalUrl),this.uncreate(),this):this},move:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,r=this.canvasData,n=r.left,a=r.top;return this.moveTo(mi(e)?e:n+Number(e),mi(t)?t:a+Number(t))},moveTo:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,r=this.canvasData,n=!1;return e=Number(e),t=Number(t),this.ready&&!this.disabled&&this.options.movable&&(eA(e)&&(r.left=e,n=!0),eA(t)&&(r.top=t,n=!0),n&&this.renderCanvas(!0)),this},zoom:function(e,t){var r=this.canvasData;return e=Number(e),e<0?e=1/(1-e):e=1+e,this.zoomTo(r.width*e/r.naturalWidth,null,t)},zoomTo:function(e,t,r){var n=this.options,a=this.canvasData,i=a.width,s=a.height,u=a.naturalWidth,l=a.naturalHeight;if(e=Number(e),e>=0&&this.ready&&!this.disabled&&n.zoomable){var d=u*e,f=l*e;if(vt(this.element,Ei,{ratio:e,oldRatio:i/u,originalEvent:r})===!1)return this;if(r){var h=this.pointers,C=Yu(this.cropper),m=h&&Object.keys(h).length?IE(h):{pageX:r.pageX,pageY:r.pageY};a.left-=(d-i)*((m.pageX-C.left-a.left)/i),a.top-=(f-s)*((m.pageY-C.top-a.top)/s)}else It(t)&&eA(t.x)&&eA(t.y)?(a.left-=(d-i)*((t.x-a.left)/i),a.top-=(f-s)*((t.y-a.top)/s)):(a.left-=(d-i)/2,a.top-=(f-s)/2);a.width=d,a.height=f,this.renderCanvas(!0)}return this},rotate:function(e){return this.rotateTo((this.imageData.rotate||0)+Number(e))},rotateTo:function(e){return e=Number(e),eA(e)&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=e%360,this.renderCanvas(!0,!0)),this},scaleX:function(e){var t=this.imageData.scaleY;return this.scale(e,eA(t)?t:1)},scaleY:function(e){var t=this.imageData.scaleX;return this.scale(eA(t)?t:1,e)},scale:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,r=this.imageData,n=!1;return e=Number(e),t=Number(t),this.ready&&!this.disabled&&this.options.scalable&&(eA(e)&&(r.scaleX=e,n=!0),eA(t)&&(r.scaleY=t,n=!0),n&&this.renderCanvas(!0,!0)),this},getData:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t=this.options,r=this.imageData,n=this.canvasData,a=this.cropBoxData,i;if(this.ready&&this.cropped){i={x:a.left-n.left,y:a.top-n.top,width:a.width,height:a.height};var s=r.width/r.naturalWidth;if(FA(i,function(d,f){i[f]=d/s}),e){var u=Math.round(i.y+i.height),l=Math.round(i.x+i.width);i.x=Math.round(i.x),i.y=Math.round(i.y),i.width=l-i.x,i.height=u-i.y}}else i={x:0,y:0,width:0,height:0};return t.rotatable&&(i.rotate=r.rotate||0),t.scalable&&(i.scaleX=r.scaleX||1,i.scaleY=r.scaleY||1),i},setData:function(e){var t=this.options,r=this.imageData,n=this.canvasData,a={};if(this.ready&&!this.disabled&&It(e)){var i=!1;t.rotatable&&eA(e.rotate)&&e.rotate!==r.rotate&&(r.rotate=e.rotate,i=!0),t.scalable&&(eA(e.scaleX)&&e.scaleX!==r.scaleX&&(r.scaleX=e.scaleX,i=!0),eA(e.scaleY)&&e.scaleY!==r.scaleY&&(r.scaleY=e.scaleY,i=!0)),i&&this.renderCanvas(!0,!0);var s=r.width/r.naturalWidth;eA(e.x)&&(a.left=e.x*s+n.left),eA(e.y)&&(a.top=e.y*s+n.top),eA(e.width)&&(a.width=e.width*s),eA(e.height)&&(a.height=e.height*s),this.setCropBoxData(a)}return this},getContainerData:function(){return this.ready?mA({},this.containerData):{}},getImageData:function(){return this.sized?mA({},this.imageData):{}},getCanvasData:function(){var e=this.canvasData,t={};return this.ready&&FA(["left","top","width","height","naturalWidth","naturalHeight"],function(r){t[r]=e[r]}),t},setCanvasData:function(e){var t=this.canvasData,r=t.aspectRatio;return this.ready&&!this.disabled&&It(e)&&(eA(e.left)&&(t.left=e.left),eA(e.top)&&(t.top=e.top),eA(e.width)?(t.width=e.width,t.height=e.width/r):eA(e.height)&&(t.height=e.height,t.width=e.height*r),this.renderCanvas(!0)),this},getCropBoxData:function(){var e=this.cropBoxData,t;return this.ready&&this.cropped&&(t={left:e.left,top:e.top,width:e.width,height:e.height}),t||{}},setCropBoxData:function(e){var t=this.cropBoxData,r=this.options.aspectRatio,n,a;return this.ready&&this.cropped&&!this.disabled&&It(e)&&(eA(e.left)&&(t.left=e.left),eA(e.top)&&(t.top=e.top),eA(e.width)&&e.width!==t.width&&(n=!0,t.width=e.width),eA(e.height)&&e.height!==t.height&&(a=!0,t.height=e.height),r&&(n?t.height=t.width/r:a&&(t.width=t.height*r)),this.renderCropBox()),this},getCroppedCanvas:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var t=this.canvasData,r=xE(this.image,this.imageData,t,e);if(!this.cropped)return r;var n=this.getData(e.rounded),a=n.x,i=n.y,s=n.width,u=n.height,l=r.width/Math.floor(t.naturalWidth);l!==1&&(a*=l,i*=l,s*=l,u*=l);var d=s/u,f=Xe({aspectRatio:d,width:e.maxWidth||1/0,height:e.maxHeight||1/0}),h=Xe({aspectRatio:d,width:e.minWidth||0,height:e.minHeight||0},"cover"),C=Xe({aspectRatio:d,width:e.width||(l!==1?r.width:s),height:e.height||(l!==1?r.height:u)}),m=C.width,T=C.height;m=Math.min(f.width,Math.max(h.width,m)),T=Math.min(f.height,Math.max(h.height,T));var v=document.createElement("canvas"),b=v.getContext("2d");v.width=yt(m),v.height=yt(T),b.fillStyle=e.fillColor||"transparent",b.fillRect(0,0,m,T);var x=e.imageSmoothingEnabled,D=x===void 0?!0:x,R=e.imageSmoothingQuality;b.imageSmoothingEnabled=D,R&&(b.imageSmoothingQuality=R);var O=r.width,E=r.height,L=a,M=i,P,z,oA,dA,q,aA;L<=-s||L>O?(L=0,P=0,oA=0,q=0):L<=0?(oA=-L,L=0,P=Math.min(O,s+L),q=P):L<=O&&(oA=0,P=Math.min(s,O-L),q=P),P<=0||M<=-u||M>E?(M=0,z=0,dA=0,aA=0):M<=0?(dA=-M,M=0,z=Math.min(E,u+M),aA=z):M<=E&&(dA=0,z=Math.min(u,E-M),aA=z);var hA=[L,M,P,z];if(q>0&&aA>0){var BA=m/s;hA.push(oA*BA,dA*BA,q*BA,aA*BA)}return b.drawImage.apply(b,[r].concat(bu(hA.map(function(TA){return Math.floor(yt(TA))})))),v},setAspectRatio:function(e){var t=this.options;return!this.disabled&&!mi(e)&&(t.aspectRatio=Math.max(0,e)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(e){var t=this.options,r=this.dragBox,n=this.face;if(this.ready&&!this.disabled){var a=e===fi,i=t.movable&&e===yu;e=a||i?e:xu,t.dragMode=e,gr(r,Br,e),xt(r,li,a),xt(r,di,i),t.cropBoxMovable||(gr(n,Br,e),xt(n,li,a),xt(n,di,i))}return this}},KE=Ue.Cropper,qu=function(){function A(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(eE(this,A),!e||!BE.test(e.tagName))throw new Error("The first argument is required and must be an <img> or <canvas> element.");this.element=e,this.options=mA({},ku,It(t)&&t),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}return tE(A,[{key:"init",value:function(){var t=this.element,r=t.tagName.toLowerCase(),n;if(!t[EA]){if(t[EA]=this,r==="img"){if(this.isImg=!0,n=t.getAttribute("src")||"",this.originalUrl=n,!n)return;n=t.src}else r==="canvas"&&window.HTMLCanvasElement&&(n=t.toDataURL());this.load(n)}}},{key:"load",value:function(t){var r=this;if(t){this.url=t,this.imageData={};var n=this.element,a=this.options;if(!a.rotatable&&!a.scalable&&(a.checkOrientation=!1),!a.checkOrientation||!window.ArrayBuffer){this.clone();return}if(fE.test(t)){hE.test(t)?this.read(NE(t)):this.clone();return}var i=new XMLHttpRequest,s=this.clone.bind(this);this.reloading=!0,this.xhr=i,i.onabort=s,i.onerror=s,i.ontimeout=s,i.onprogress=function(){i.getResponseHeader("content-type")!==Ou&&i.abort()},i.onload=function(){r.read(i.response)},i.onloadend=function(){r.reloading=!1,r.xhr=null},a.checkCrossOrigin&&Xu(t)&&n.crossOrigin&&(t=Wu(t)),i.open("GET",t,!0),i.responseType="arraybuffer",i.withCredentials=n.crossOrigin==="use-credentials",i.send()}}},{key:"read",value:function(t){var r=this.options,n=this.imageData,a=LE(t),i=0,s=1,u=1;if(a>1){this.url=SE(t,Ou);var l=HE(a);i=l.rotate,s=l.scaleX,u=l.scaleY}r.rotatable&&(n.rotate=i),r.scalable&&(n.scaleX=s,n.scaleY=u),this.clone()}},{key:"clone",value:function(){var t=this.element,r=this.url,n=t.crossOrigin,a=r;this.options.checkCrossOrigin&&Xu(r)&&(n||(n="anonymous"),a=Wu(r)),this.crossOrigin=n,this.crossOriginUrl=a;var i=document.createElement("img");n&&(i.crossOrigin=n),i.src=a||r,i.alt=t.alt||"The image to crop",this.image=i,i.onload=this.start.bind(this),i.onerror=this.stop.bind(this),HA(i,Iu),t.parentNode.insertBefore(i,t.nextSibling)}},{key:"start",value:function(){var t=this,r=this.image;r.onload=null,r.onerror=null,this.sizing=!0;var n=Ue.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(Ue.navigator.userAgent),a=function(l,d){mA(t.imageData,{naturalWidth:l,naturalHeight:d,aspectRatio:l/d}),t.initialImageData=mA({},t.imageData),t.sizing=!1,t.sized=!0,t.build()};if(r.naturalWidth&&!n){a(r.naturalWidth,r.naturalHeight);return}var i=document.createElement("img"),s=document.body||document.documentElement;this.sizingImage=i,i.onload=function(){a(i.width,i.height),n||s.removeChild(i)},i.src=r.src,n||(i.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",s.appendChild(i))}},{key:"stop",value:function(){var t=this.image;t.onload=null,t.onerror=null,t.parentNode.removeChild(t),this.image=null}},{key:"build",value:function(){if(!(!this.sized||this.ready)){var t=this.element,r=this.options,n=this.image,a=t.parentNode,i=document.createElement("div");i.innerHTML=gE;var s=i.querySelector(".".concat(EA,"-container")),u=s.querySelector(".".concat(EA,"-canvas")),l=s.querySelector(".".concat(EA,"-drag-box")),d=s.querySelector(".".concat(EA,"-crop-box")),f=d.querySelector(".".concat(EA,"-face"));this.container=a,this.cropper=s,this.canvas=u,this.dragBox=l,this.cropBox=d,this.viewBox=s.querySelector(".".concat(EA,"-view-box")),this.face=f,u.appendChild(n),HA(t,te),a.insertBefore(s,t.nextSibling),Qe(n,Iu),this.initPreview(),this.bind(),r.initialAspectRatio=Math.max(0,r.initialAspectRatio)||NaN,r.aspectRatio=Math.max(0,r.aspectRatio)||NaN,r.viewMode=Math.max(0,Math.min(3,Math.round(r.viewMode)))||0,HA(d,te),r.guides||HA(d.getElementsByClassName("".concat(EA,"-dashed")),te),r.center||HA(d.getElementsByClassName("".concat(EA,"-center")),te),r.background&&HA(s,"".concat(EA,"-bg")),r.highlight||HA(f,oE),r.cropBoxMovable&&(HA(f,di),gr(f,Br,ci)),r.cropBoxResizable||(HA(d.getElementsByClassName("".concat(EA,"-line")),te),HA(d.getElementsByClassName("".concat(EA,"-point")),te)),this.render(),this.ready=!0,this.setDragMode(r.dragMode),r.autoCrop&&this.crop(),this.setData(r.data),re(r.ready)&&ce(t,Lu,r.ready,{once:!0}),vt(t,Lu)}}},{key:"unbuild",value:function(){if(this.ready){this.ready=!1,this.unbind(),this.resetPreview();var t=this.cropper.parentNode;t&&t.removeChild(this.cropper),Qe(this.element,te)}}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}],[{key:"noConflict",value:function(){return window.Cropper=KE,A}},{key:"setDefaults",value:function(t){mA(ku,It(t)&&t)}}])}();mA(qu.prototype,DE,OE,RE,ME,kE,PE);function VE(A,e){const t=A.split(",")||[],r=t[0].match(/:(.*?);/)[1],n=t[1]&&atob(t[1]);let a=n&&n.length;const i=new Uint8Array(a);for(;a--;)i[a]=n==null?void 0:n.charCodeAt(a);return new File([i],e,{type:r})}const GE={key:0,contenteditable:"false",class:"z-10 w-[100vw] h-[100vh] bg-[rgba(0,0,0,0.7)] flex flex-col justify-center items-center fixed top-0 left-0 cursor-auto"},YE={class:"w-[700px] flex flex-col bg-white rounded pb-8"},XE={class:"flex flex-row items-center justify-between px-6 py-4 bg-[#f4f8ff]"},WE={class:"flex flex-col h-full"},JE={class:"flex flex-row justify-center items-start flex-1"},qE={class:"flex flex-col items-start flex-1"},jE={class:"flex flex-col w-full px-6 py-4"},zE={class:"flex flex-col w-full"},$E={class:"flex flex-row items-center"},ZE={class:"relative bg-[#474AFF] text-white rounded p-3"},Am={class:"flex flex-row items-start justify-between mt-3"},em={class:"flex flex-col"},tm={class:"flex flex-col justify-center items-center border w-[300px] h-[300px]"},rm={key:0,class:"w-full text-center"},nm=["src"],am={class:"flex flex-col items-center",style:{width:"300px",height:"300px"}},im={class:"text-[#999] mt-05 flex justify-center mt-4"},sm={class:"w-full flex justify-end space-x-5 mt-5 px-6"},om=["loading"],um=c.defineComponent({__name:"GpCropper",emits:["cancel","ok"],setup(A,{expose:e,emit:t}){const r=t,n=c.ref({coverUrl:"",inputValue:"",uploadType:2,videoHost:"",videoUrl:""}),a=c.ref(),i=c.ref({autoCrop:!0,autoCropArea:1,background:!0,center:!0,cropBoxResizable:!0,dragMode:"move",preview:".before",toggleDragModeOnDblclick:!0,viewMode:1,zoomOnWheel:!0}),s=c.ref(!1),u=c.ref("image/jpeg"),l=c.ref(),d=c.ref({afterImg:"",image:null,myCropper:null}),f=E=>{const L=E.target.files[0];L&&(L.name&&(n.value.inputValue=L.name),h(L))};async function h(E){if(!E)return;l.value=E,await O();const L=URL.createObjectURL(E);d.value.image=L,d.value.image&&C(),u.value=E.type}function C(){const E=document.querySelector("#imgId");E&&E.addEventListener("load",()=>{R(),d.value.myCropper=new qu(E,i.value)})}const m=c.ref(!1),T=c.ref();function v(E,L,M,P){T.value=P,a.value=E,E&&E.aspectRatio&&(i.value.aspectRatio=E.aspectRatio),M&&(n.value.inputValue=M),m.value=!0,L&&h(L)}function b(){m.value=!1}const x=()=>{var P,z,oA,dA;if(!d.value.myCropper)return;s.value=!0;const E=d.value.myCropper.getData();var M=d.value.myCropper.getCroppedCanvas({height:(P=a.value)==null?void 0:P.height,imageSmoothingQuality:"high",width:(z=a.value)==null?void 0:z.width}).toDataURL(u.value);d.value.afterImg=M,VE(d.value.afterImg,n.value.inputValue),r("ok",{file:l.value,element:T.value,crop:{x:parseInt(E.x),y:parseInt(E.y),width:parseInt(E.width),height:parseInt(E.height),resizeW:Number(((oA=a.value)==null?void 0:oA.width)||0),resizeH:Number(((dA=a.value)==null?void 0:dA.height)||0)}}),s.value=!1,O(),R(),b()};function D(){O(),R(),b(),r("cancel")}function R(){d.value.myCropper&&d.value.myCropper.destroy()}function O(){d.value.image=""}return e({handleCloseCropper:b,handleOpenCropper:v}),(E,L)=>{var M,P,z;return m.value?(c.openBlock(),c.createElementBlock("div",GE,[c.createElementVNode("div",YE,[c.createElementVNode("div",XE,[L[1]||(L[1]=c.createElementVNode("span",{class:"text-base font-semibold text-[#333]"},"图片裁剪",-1)),c.createElementVNode("span",{class:"text-lg cursor-pointer text-[#999] iconfont icon-shanchu2",onClick:c.withModifiers(D,["stop"])})]),c.createElementVNode("div",WE,[c.createElementVNode("div",JE,[c.createElementVNode("div",qE,[c.createElementVNode("div",jE,[c.createElementVNode("div",zE,[c.createElementVNode("div",$E,[c.createElementVNode("div",ZE,[c.createElementVNode("input",{type:"file",accept:"image/*",onClick:L[0]||(L[0]=c.withModifiers(()=>{},["stop"])),contenteditable:"false",ref:"fileInput",onChange:f,class:"absolute top-0 left-0 w-[110px] h-[40px] opacity-0 cursor-pointer"},null,544),L[2]||(L[2]=c.createElementVNode("span",{id:"uploadHandler",class:"cursor-pointer"}," 选择/更换图片 ",-1))]),L[3]||(L[3]=c.createElementVNode("span",{class:"text-sm text-[#999] ml-3"},"滚动鼠标放大或缩小图片",-1))]),c.createElementVNode("div",Am,[c.createElementVNode("div",em,[c.createElementVNode("div",tm,[d.value.image?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",rm," 请上传图片 ")),c.createElementVNode("img",{id:"imgId",src:d.value.image,style:{width:"300px"}},null,8,nm)])]),c.createElementVNode("div",am,[L[4]||(L[4]=c.createElementVNode("div",{class:"before w-[270px] h-[200px] pr-[70px] border"},null,-1)),c.createElementVNode("div",im," 预览画像 "+c.toDisplayString(((M=a.value)==null?void 0:M.width)||"")+" "+c.toDisplayString((P=a.value)!=null&&P.width?"x":"")+" "+c.toDisplayString(((z=a.value)==null?void 0:z.height)||""),1)])])])])])]),c.createElementVNode("div",sm,[c.createElementVNode("span",{loading:s.value,class:"!w-22 bg-[#474AFF] text-white rounded py-2 px-6 cursor-pointer",type:"primary",onClick:x}," 确认 ",8,om),c.createElementVNode("span",{class:"!w-22 border border-[#DEDEDE] text-[#666] rounded py-2 px-6 cursor-pointer",onClick:D},"取消")])])])])):c.createCommentVNode("",!0)}}}),cm=c.defineComponent({name:"GpModal",props:{visible:{type:Boolean,required:!0},title:{type:String,default:""},okText:{type:String,default:"确定"},cancelText:{type:String,default:"取消"},showOkButton:{type:Boolean,default:!0},showCancelButton:{type:Boolean,default:!0},showCloseButton:{type:Boolean,default:!0},maskClosable:{type:Boolean,default:!0}},emits:["update:visible","ok","cancel"],setup(A,{emit:e}){const{visible:t,okText:r,cancelText:n,showCloseButton:a}=c.toRefs(A),i=()=>{e("cancel"),e("update:visible",!1)};return{visible:t,okText:r,cancelText:n,showCloseButton:a,onClose:i,onOk:()=>{e("ok")},onCancel:()=>{e("cancel"),e("update:visible",!1)},onMaskClosable:()=>{A.maskClosable&&i()}}}}),lm={class:"bg-white rounded-lg shadow-xl w-ful"},dm={class:"p-4 border-b border-gray-200 relative flex items-center justify-between"},fm={key:0,class:"text-lg font-semibold"},hm={class:"p-4"},Bm={key:0,class:"p-4 border-t border-gray-200 flex justify-end space-x-2"};function gm(A,e,t,r,n,a){return A.visible?(c.openBlock(),c.createElementBlock("div",{key:0,class:"fixed inset-0 z-[99999] flex items-center justify-center bg-gray-900 bg-opacity-50",onClick:e[3]||(e[3]=c.withModifiers((...i)=>A.onMaskClosable&&A.onMaskClosable(...i),["self"]))},[c.createElementVNode("div",lm,[c.createElementVNode("div",dm,[A.title?(c.openBlock(),c.createElementBlock("h3",fm,c.toDisplayString(A.title),1)):c.createCommentVNode("",!0),c.renderSlot(A.$slots,"header"),A.showCloseButton?(c.openBlock(),c.createElementBlock("button",{key:1,class:"text-gray-400 hover:text-gray-600",onClick:e[0]||(e[0]=(...i)=>A.onClose&&A.onClose(...i)),"aria-label":"Close"},e[4]||(e[4]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-5 w-5",viewBox:"0 0 20 20",fill:"currentColor"},[c.createElementVNode("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)]))):c.createCommentVNode("",!0)]),c.createElementVNode("div",hm,[c.renderSlot(A.$slots,"default")]),A.showCancelButton||A.showOkButton?(c.openBlock(),c.createElementBlock("div",Bm,[c.renderSlot(A.$slots,"footer",{},()=>[A.showCancelButton?(c.openBlock(),c.createElementBlock("button",{key:0,class:"px-4 py-2 text-sm font-medium text-gray-700 bg-gray-100 rounded hover:bg-gray-200",onClick:e[1]||(e[1]=(...i)=>A.onCancel&&A.onCancel(...i))},c.toDisplayString(A.cancelText),1)):c.createCommentVNode("",!0),A.showOkButton?(c.openBlock(),c.createElementBlock("button",{key:1,class:"px-4 py-2 text-sm font-medium text-white bg-blue-600 rounded hover:bg-blue-700",onClick:e[2]||(e[2]=(...i)=>A.onOk&&A.onOk(...i))},c.toDisplayString(A.okText),1)):c.createCommentVNode("",!0)])])):c.createCommentVNode("",!0)])])):c.createCommentVNode("",!0)}const ju=Ve(cm,[["render",gm]]),pm={class:"p-4 flex flex-wrap max-h-[500px] overflow-y-auto w-[640px]"},Em=["onClick"],mm=c.defineComponent({__name:"GpIcon",props:{icons:{type:Array,default:()=>[]}},emits:["ok"],setup(A,{expose:e,emit:t}){const r=A,n=t,a=c.ref(r.icons||[]);c.watch(()=>r.icons,f=>{a.value=f||[]},{immediate:!0});const i=c.ref(!1),s=c.ref();function u(f){i.value=!0,s.value=f}function l(f){d(),n("ok",{icon:f,element:s.value})}function d(){i.value=!1}return e({openModal:u,closeModal:d}),(f,h)=>(c.openBlock(),c.createBlock(ju,{visible:i.value,"onUpdate:visible":h[0]||(h[0]=C=>i.value=C),title:"选择图标",onOk:d,onCancel:d,showCancelButton:!1,showOkButton:!1},{default:c.withCtx(()=>[c.createElementVNode("div",pm,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(a.value,C=>(c.openBlock(),c.createElementBlock("span",{key:C,onClick:c.withModifiers(m=>l(C),["stop"]),style:{position:"unset",color:"unset",top:"unset",left:"unset",right:"unset",transform:"unset","font-size":"unset"},class:c.normalizeClass(["w-12 h-12 mx-1 mb-2 border cursor-pointer hover:border-gray-400 hover:bg-gray-200",`iconfont icon-${C} !text-4xl overflow-hidden flex justify-center items-center`])},null,10,Em))),128))])]),_:1},8,["visible"]))}}),Cm=c.defineComponent({name:"GpImageUpload",props:{accept:{type:String,default:"image/*"},multiple:{type:Boolean,default:!1},maxCount:{type:Number,default:1/0},beforeUpload:Function,onChange:Function,showList:{type:Boolean,default:!1},show:{type:Boolean,default:!0}},setup(A,{emit:e}){const t=c.ref(null),r=c.ref([]),n=c.ref(),a=c.ref(A.show);c.watch(()=>A.show,d=>{a.value=d},{immediate:!0});const i=()=>{var d;(d=t.value)==null||d.click()},s=async d=>{var m;const h=d.target.files;if(!h)return;const C=[];for(let T=0;T<h.length;T++){const v=h[T];if(A.beforeUpload&&await A.beforeUpload(v)===!1)continue;const b=`${Date.now()}-${v.name}`,x=URL.createObjectURL(v),D=document.createElement("img");D.src=x,document.body.appendChild(D),await new Promise(E=>{D.onload=E});const R=D.width,O=D.height;document.body.removeChild(D),C.push({uid:b,name:v.name,status:"uploading",thumbUrl:x,file:v,width:R,height:O})}A.maxCount&&r.value.length+C.length>A.maxCount&&C.splice(A.maxCount-r.value.length),A.multiple?r.value=[...r.value,...C]:r.value=C.slice(0,1),(m=A.onChange)==null||m.call(A,r.value,n.value),e("update:fileList",r.value),t.value&&(t.value.value="")},u=d=>{var f;r.value=r.value.filter(h=>h.uid!==d),(f=A.onChange)==null||f.call(A,r.value,n.value)};function l(d){n.value=d,i()}return{isShow:a,openModal:l,inputRef:t,fileList:r,triggerInput:i,handleChange:s,removeFile:u}}}),wm={class:"upload-wrapper"},bm=["accept","multiple"],Tm={key:1,class:"file-list mt-4"},Um={class:"flex items-center space-x-4"},Qm=["src"],Fm=["onClick"];function Im(A,e,t,r,n,a){return c.openBlock(),c.createElementBlock("div",wm,[A.isShow?(c.openBlock(),c.createElementBlock("div",{key:0,class:"",onClick:e[0]||(e[0]=(...i)=>A.triggerInput&&A.triggerInput(...i))},[c.renderSlot(A.$slots,"upload-icon",{},()=>[e[2]||(e[2]=c.createElementVNode("div",{class:"upload-area border-dashed border-2 p-6 rounded cursor-pointer hover:border-blue-500"},[c.createElementVNode("div",{class:"text-gray-400 text-lg text-center"}," 点击或拖拽上传图片 ")],-1))],!0)])):c.createCommentVNode("",!0),c.createElementVNode("input",{type:"file",ref:"inputRef",class:"hidden",accept:A.accept,multiple:A.multiple,onChange:e[1]||(e[1]=(...i)=>A.handleChange&&A.handleChange(...i))},null,40,bm),A.showList?(c.openBlock(),c.createElementBlock("div",Tm,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(A.fileList,i=>(c.openBlock(),c.createElementBlock("div",{key:i.uid,class:"file-item flex items-center justify-between p-2 border rounded mb-2"},[c.createElementVNode("div",Um,[i.thumbUrl?(c.openBlock(),c.createElementBlock("img",{key:0,src:i.thumbUrl,alt:"preview",class:"w-12 h-12 object-cover rounded"},null,8,Qm)):c.createCommentVNode("",!0),c.createElementVNode("span",null,c.toDisplayString(i.name),1)]),c.createElementVNode("div",null,[c.createElementVNode("button",{onClick:s=>A.removeFile(i.uid),class:"text-red-500 hover:underline"}," 删除 ",8,Fm)])]))),128))])):c.createCommentVNode("",!0)])}const ym=Ve(Cm,[["render",Im],["__scopeId","data-v-08babff9"]]);/*!
17
+ */function bu(A,e){var t=Object.keys(A);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(A);e&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(A,n).enumerable})),t.push.apply(t,r)}return t}function Tu(A){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?bu(Object(t),!0).forEach(function(r){om(A,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(t)):bu(Object(t)).forEach(function(r){Object.defineProperty(A,r,Object.getOwnPropertyDescriptor(t,r))})}return A}function am(A,e){if(typeof A!="object"||!A)return A;var t=A[Symbol.toPrimitive];if(t!==void 0){var r=t.call(A,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(A)}function Uu(A){var e=am(A,"string");return typeof e=="symbol"?e:e+""}function li(A){"@babel/helpers - typeof";return li=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},li(A)}function im(A,e){if(!(A instanceof e))throw new TypeError("Cannot call a class as a function")}function Qu(A,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(A,Uu(r.key),r)}}function sm(A,e,t){return e&&Qu(A.prototype,e),t&&Qu(A,t),Object.defineProperty(A,"prototype",{writable:!1}),A}function om(A,e,t){return e=Uu(e),e in A?Object.defineProperty(A,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):A[e]=t,A}function Fu(A){return um(A)||cm(A)||lm(A)||dm()}function um(A){if(Array.isArray(A))return di(A)}function cm(A){if(typeof Symbol<"u"&&A[Symbol.iterator]!=null||A["@@iterator"]!=null)return Array.from(A)}function lm(A,e){if(A){if(typeof A=="string")return di(A,e);var t=Object.prototype.toString.call(A).slice(8,-1);if(t==="Object"&&A.constructor&&(t=A.constructor.name),t==="Map"||t==="Set")return Array.from(A);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return di(A,e)}}function di(A,e){(e==null||e>A.length)&&(e=A.length);for(var t=0,r=new Array(e);t<e;t++)r[t]=A[t];return r}function dm(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
18
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var pn=typeof window<"u"&&typeof window.document<"u",Ue=pn?window:{},fi=pn&&Ue.document.documentElement?"ontouchstart"in Ue.document.documentElement:!1,hi=pn?"PointerEvent"in Ue:!1,mA="cropper",Bi="all",Iu="crop",yu="move",xu="zoom",lt="e",dt="w",yt="s",Ge="n",fr="ne",hr="nw",Br="se",gr="sw",gi="".concat(mA,"-crop"),vu="".concat(mA,"-disabled"),Ae="".concat(mA,"-hidden"),_u="".concat(mA,"-hide"),fm="".concat(mA,"-invisible"),mn="".concat(mA,"-modal"),pi="".concat(mA,"-move"),pr="".concat(mA,"Action"),En="".concat(mA,"Preview"),mi="crop",Nu="move",Su="none",Ei="crop",Ci="cropend",wi="cropmove",bi="cropstart",Lu="dblclick",hm=fi?"touchstart":"mousedown",Bm=fi?"touchmove":"mousemove",gm=fi?"touchend touchcancel":"mouseup",Hu=hi?"pointerdown":hm,Du=hi?"pointermove":Bm,Ou=hi?"pointerup pointercancel":gm,Ru="ready",Mu="resize",ku="wheel",Ti="zoom",Pu="image/jpeg",pm=/^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/,mm=/^data:/,Em=/^data:image\/jpeg;base64,/,Cm=/^img|canvas$/i,Ku=200,Vu=100,Gu={viewMode:0,dragMode:mi,initialAspectRatio:NaN,aspectRatio:NaN,data:null,preview:"",responsive:!0,restore:!0,checkCrossOrigin:!0,checkOrientation:!0,modal:!0,guides:!0,center:!0,highlight:!0,background:!0,autoCrop:!0,autoCropArea:.8,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,wheelZoomRatio:.1,cropBoxMovable:!0,cropBoxResizable:!0,toggleDragModeOnDblclick:!0,minCanvasWidth:0,minCanvasHeight:0,minCropBoxWidth:0,minCropBoxHeight:0,minContainerWidth:Ku,minContainerHeight:Vu,ready:null,cropstart:null,cropmove:null,cropend:null,crop:null,zoom:null},wm='<div class="cropper-container" touch-action="none"><div class="cropper-wrap-box"><div class="cropper-canvas"></div></div><div class="cropper-drag-box"></div><div class="cropper-crop-box"><span class="cropper-view-box"></span><span class="cropper-dashed dashed-h"></span><span class="cropper-dashed dashed-v"></span><span class="cropper-center"></span><span class="cropper-face"></span><span class="cropper-line line-e" data-cropper-action="e"></span><span class="cropper-line line-n" data-cropper-action="n"></span><span class="cropper-line line-w" data-cropper-action="w"></span><span class="cropper-line line-s" data-cropper-action="s"></span><span class="cropper-point point-e" data-cropper-action="e"></span><span class="cropper-point point-n" data-cropper-action="n"></span><span class="cropper-point point-w" data-cropper-action="w"></span><span class="cropper-point point-s" data-cropper-action="s"></span><span class="cropper-point point-ne" data-cropper-action="ne"></span><span class="cropper-point point-nw" data-cropper-action="nw"></span><span class="cropper-point point-sw" data-cropper-action="sw"></span><span class="cropper-point point-se" data-cropper-action="se"></span></div></div>',bm=Number.isNaN||Ue.isNaN;function eA(A){return typeof A=="number"&&!bm(A)}var Yu=function(e){return e>0&&e<1/0};function Ui(A){return typeof A>"u"}function ft(A){return li(A)==="object"&&A!==null}var Tm=Object.prototype.hasOwnProperty;function xt(A){if(!ft(A))return!1;try{var e=A.constructor,t=e.prototype;return e&&t&&Tm.call(t,"isPrototypeOf")}catch{return!1}}function ee(A){return typeof A=="function"}var Um=Array.prototype.slice;function Xu(A){return Array.from?Array.from(A):Um.call(A)}function FA(A,e){return A&&ee(e)&&(Array.isArray(A)||eA(A.length)?Xu(A).forEach(function(t,r){e.call(A,t,r,A)}):ft(A)&&Object.keys(A).forEach(function(t){e.call(A,A[t],t,A)})),A}var EA=Object.assign||function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return ft(e)&&r.length>0&&r.forEach(function(a){ft(a)&&Object.keys(a).forEach(function(i){e[i]=a[i]})}),e},Qm=/\.\d*(?:0|9){12}\d*$/;function vt(A){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e11;return Qm.test(A)?Math.round(A*e)/e:A}var Fm=/^width|height|left|top|marginLeft|marginTop$/;function Ye(A,e){var t=A.style;FA(e,function(r,n){Fm.test(n)&&eA(r)&&(r="".concat(r,"px")),t[n]=r})}function Im(A,e){return A.classList?A.classList.contains(e):A.className.indexOf(e)>-1}function HA(A,e){if(e){if(eA(A.length)){FA(A,function(r){HA(r,e)});return}if(A.classList){A.classList.add(e);return}var t=A.className.trim();t?t.indexOf(e)<0&&(A.className="".concat(t," ").concat(e)):A.className=e}}function Qe(A,e){if(e){if(eA(A.length)){FA(A,function(t){Qe(t,e)});return}if(A.classList){A.classList.remove(e);return}A.className.indexOf(e)>=0&&(A.className=A.className.replace(e,""))}}function _t(A,e,t){if(e){if(eA(A.length)){FA(A,function(r){_t(r,e,t)});return}t?HA(A,e):Qe(A,e)}}var ym=/([a-z\d])([A-Z])/g;function Qi(A){return A.replace(ym,"$1-$2").toLowerCase()}function Fi(A,e){return ft(A[e])?A[e]:A.dataset?A.dataset[e]:A.getAttribute("data-".concat(Qi(e)))}function mr(A,e,t){ft(t)?A[e]=t:A.dataset?A.dataset[e]=t:A.setAttribute("data-".concat(Qi(e)),t)}function xm(A,e){if(ft(A[e]))try{delete A[e]}catch{A[e]=void 0}else if(A.dataset)try{delete A.dataset[e]}catch{A.dataset[e]=void 0}else A.removeAttribute("data-".concat(Qi(e)))}var Wu=/\s\s*/,Ju=function(){var A=!1;if(pn){var e=!1,t=function(){},r=Object.defineProperty({},"once",{get:function(){return A=!0,e},set:function(a){e=a}});Ue.addEventListener("test",t,r),Ue.removeEventListener("test",t,r)}return A}();function pe(A,e,t){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=t;e.trim().split(Wu).forEach(function(a){if(!Ju){var i=A.listeners;i&&i[a]&&i[a][t]&&(n=i[a][t],delete i[a][t],Object.keys(i[a]).length===0&&delete i[a],Object.keys(i).length===0&&delete A.listeners)}A.removeEventListener(a,n,r)})}function le(A,e,t){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=t;e.trim().split(Wu).forEach(function(a){if(r.once&&!Ju){var i=A.listeners,s=i===void 0?{}:i;n=function(){delete s[a][t],A.removeEventListener(a,n,r);for(var l=arguments.length,d=new Array(l),f=0;f<l;f++)d[f]=arguments[f];t.apply(A,d)},s[a]||(s[a]={}),s[a][t]&&A.removeEventListener(a,s[a][t],r),s[a][t]=n,A.listeners=s}A.addEventListener(a,n,r)})}function Nt(A,e,t){var r;return ee(Event)&&ee(CustomEvent)?r=new CustomEvent(e,{detail:t,bubbles:!0,cancelable:!0}):(r=document.createEvent("CustomEvent"),r.initCustomEvent(e,!0,!0,t)),A.dispatchEvent(r)}function qu(A){var e=A.getBoundingClientRect();return{left:e.left+(window.pageXOffset-document.documentElement.clientLeft),top:e.top+(window.pageYOffset-document.documentElement.clientTop)}}var Ii=Ue.location,vm=/^(\w+:)\/\/([^:/?#]*):?(\d*)/i;function ju(A){var e=A.match(vm);return e!==null&&(e[1]!==Ii.protocol||e[2]!==Ii.hostname||e[3]!==Ii.port)}function zu(A){var e="timestamp=".concat(new Date().getTime());return A+(A.indexOf("?")===-1?"?":"&")+e}function Er(A){var e=A.rotate,t=A.scaleX,r=A.scaleY,n=A.translateX,a=A.translateY,i=[];eA(n)&&n!==0&&i.push("translateX(".concat(n,"px)")),eA(a)&&a!==0&&i.push("translateY(".concat(a,"px)")),eA(e)&&e!==0&&i.push("rotate(".concat(e,"deg)")),eA(t)&&t!==1&&i.push("scaleX(".concat(t,")")),eA(r)&&r!==1&&i.push("scaleY(".concat(r,")"));var s=i.length?i.join(" "):"none";return{WebkitTransform:s,msTransform:s,transform:s}}function _m(A){var e=Tu({},A),t=0;return FA(A,function(r,n){delete e[n],FA(e,function(a){var i=Math.abs(r.startX-a.startX),s=Math.abs(r.startY-a.startY),u=Math.abs(r.endX-a.endX),l=Math.abs(r.endY-a.endY),d=Math.sqrt(i*i+s*s),f=Math.sqrt(u*u+l*l),h=(f-d)/d;Math.abs(h)>Math.abs(t)&&(t=h)})}),t}function Cn(A,e){var t=A.pageX,r=A.pageY,n={endX:t,endY:r};return e?n:Tu({startX:t,startY:r},n)}function Nm(A){var e=0,t=0,r=0;return FA(A,function(n){var a=n.startX,i=n.startY;e+=a,t+=i,r+=1}),e/=r,t/=r,{pageX:e,pageY:t}}function Xe(A){var e=A.aspectRatio,t=A.height,r=A.width,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"contain",a=Yu(r),i=Yu(t);if(a&&i){var s=t*e;n==="contain"&&s>r||n==="cover"&&s<r?t=r/e:r=t*e}else a?t=r/e:i&&(r=t*e);return{width:r,height:t}}function Sm(A){var e=A.width,t=A.height,r=A.degree;if(r=Math.abs(r)%180,r===90)return{width:t,height:e};var n=r%90*Math.PI/180,a=Math.sin(n),i=Math.cos(n),s=e*i+t*a,u=e*a+t*i;return r>90?{width:u,height:s}:{width:s,height:u}}function Lm(A,e,t,r){var n=e.aspectRatio,a=e.naturalWidth,i=e.naturalHeight,s=e.rotate,u=s===void 0?0:s,l=e.scaleX,d=l===void 0?1:l,f=e.scaleY,h=f===void 0?1:f,C=t.aspectRatio,E=t.naturalWidth,T=t.naturalHeight,v=r.fillColor,b=v===void 0?"transparent":v,x=r.imageSmoothingEnabled,D=x===void 0?!0:x,R=r.imageSmoothingQuality,O=R===void 0?"low":R,m=r.maxWidth,L=m===void 0?1/0:m,V=r.maxHeight,k=V===void 0?1/0:V,z=r.minWidth,iA=z===void 0?0:z,AA=r.minHeight,q=AA===void 0?0:AA,nA=document.createElement("canvas"),hA=nA.getContext("2d"),gA=Xe({aspectRatio:C,width:L,height:k}),wA=Xe({aspectRatio:C,width:iA,height:q},"cover"),YA=Math.min(gA.width,Math.max(wA.width,E)),vA=Math.min(gA.height,Math.max(wA.height,T)),kA=Xe({aspectRatio:n,width:L,height:k}),jA=Xe({aspectRatio:n,width:iA,height:q},"cover"),re=Math.min(kA.width,Math.max(jA.width,a)),PA=Math.min(kA.height,Math.max(jA.height,i)),ne=[-re/2,-PA/2,re,PA];return nA.width=vt(YA),nA.height=vt(vA),hA.fillStyle=b,hA.fillRect(0,0,YA,vA),hA.save(),hA.translate(YA/2,vA/2),hA.rotate(u*Math.PI/180),hA.scale(d,h),hA.imageSmoothingEnabled=D,hA.imageSmoothingQuality=O,hA.drawImage.apply(hA,[A].concat(Fu(ne.map(function(y){return Math.floor(vt(y))})))),hA.restore(),nA}var $u=String.fromCharCode;function Hm(A,e,t){var r="";t+=e;for(var n=e;n<t;n+=1)r+=$u(A.getUint8(n));return r}var Dm=/^data:.*,/;function Om(A){var e=A.replace(Dm,""),t=atob(e),r=new ArrayBuffer(t.length),n=new Uint8Array(r);return FA(n,function(a,i){n[i]=t.charCodeAt(i)}),r}function Rm(A,e){for(var t=[],r=8192,n=new Uint8Array(A);n.length>0;)t.push($u.apply(null,Xu(n.subarray(0,r)))),n=n.subarray(r);return"data:".concat(e,";base64,").concat(btoa(t.join("")))}function Mm(A){var e=new DataView(A),t;try{var r,n,a;if(e.getUint8(0)===255&&e.getUint8(1)===216)for(var i=e.byteLength,s=2;s+1<i;){if(e.getUint8(s)===255&&e.getUint8(s+1)===225){n=s;break}s+=1}if(n){var u=n+4,l=n+10;if(Hm(e,u,4)==="Exif"){var d=e.getUint16(l);if(r=d===18761,(r||d===19789)&&e.getUint16(l+2,r)===42){var f=e.getUint32(l+4,r);f>=8&&(a=l+f)}}}if(a){var h=e.getUint16(a,r),C,E;for(E=0;E<h;E+=1)if(C=a+E*12+2,e.getUint16(C,r)===274){C+=8,t=e.getUint16(C,r),e.setUint16(C,1,r);break}}}catch{t=1}return t}function km(A){var e=0,t=1,r=1;switch(A){case 2:t=-1;break;case 3:e=-180;break;case 4:r=-1;break;case 5:e=90,r=-1;break;case 6:e=90;break;case 7:e=90,t=-1;break;case 8:e=-90;break}return{rotate:e,scaleX:t,scaleY:r}}var Pm={render:function(){this.initContainer(),this.initCanvas(),this.initCropBox(),this.renderCanvas(),this.cropped&&this.renderCropBox()},initContainer:function(){var e=this.element,t=this.options,r=this.container,n=this.cropper,a=Number(t.minContainerWidth),i=Number(t.minContainerHeight);HA(n,Ae),Qe(e,Ae);var s={width:Math.max(r.offsetWidth,a>=0?a:Ku),height:Math.max(r.offsetHeight,i>=0?i:Vu)};this.containerData=s,Ye(n,{width:s.width,height:s.height}),HA(e,Ae),Qe(n,Ae)},initCanvas:function(){var e=this.containerData,t=this.imageData,r=this.options.viewMode,n=Math.abs(t.rotate)%180===90,a=n?t.naturalHeight:t.naturalWidth,i=n?t.naturalWidth:t.naturalHeight,s=a/i,u=e.width,l=e.height;e.height*s>e.width?r===3?u=e.height*s:l=e.width/s:r===3?l=e.width/s:u=e.height*s;var d={aspectRatio:s,naturalWidth:a,naturalHeight:i,width:u,height:l};this.canvasData=d,this.limited=r===1||r===2,this.limitCanvas(!0,!0),d.width=Math.min(Math.max(d.width,d.minWidth),d.maxWidth),d.height=Math.min(Math.max(d.height,d.minHeight),d.maxHeight),d.left=(e.width-d.width)/2,d.top=(e.height-d.height)/2,d.oldLeft=d.left,d.oldTop=d.top,this.initialCanvasData=EA({},d)},limitCanvas:function(e,t){var r=this.options,n=this.containerData,a=this.canvasData,i=this.cropBoxData,s=r.viewMode,u=a.aspectRatio,l=this.cropped&&i;if(e){var d=Number(r.minCanvasWidth)||0,f=Number(r.minCanvasHeight)||0;s>1?(d=Math.max(d,n.width),f=Math.max(f,n.height),s===3&&(f*u>d?d=f*u:f=d/u)):s>0&&(d?d=Math.max(d,l?i.width:0):f?f=Math.max(f,l?i.height:0):l&&(d=i.width,f=i.height,f*u>d?d=f*u:f=d/u));var h=Xe({aspectRatio:u,width:d,height:f});d=h.width,f=h.height,a.minWidth=d,a.minHeight=f,a.maxWidth=1/0,a.maxHeight=1/0}if(t)if(s>(l?0:1)){var C=n.width-a.width,E=n.height-a.height;a.minLeft=Math.min(0,C),a.minTop=Math.min(0,E),a.maxLeft=Math.max(0,C),a.maxTop=Math.max(0,E),l&&this.limited&&(a.minLeft=Math.min(i.left,i.left+(i.width-a.width)),a.minTop=Math.min(i.top,i.top+(i.height-a.height)),a.maxLeft=i.left,a.maxTop=i.top,s===2&&(a.width>=n.width&&(a.minLeft=Math.min(0,C),a.maxLeft=Math.max(0,C)),a.height>=n.height&&(a.minTop=Math.min(0,E),a.maxTop=Math.max(0,E))))}else a.minLeft=-a.width,a.minTop=-a.height,a.maxLeft=n.width,a.maxTop=n.height},renderCanvas:function(e,t){var r=this.canvasData,n=this.imageData;if(t){var a=Sm({width:n.naturalWidth*Math.abs(n.scaleX||1),height:n.naturalHeight*Math.abs(n.scaleY||1),degree:n.rotate||0}),i=a.width,s=a.height,u=r.width*(i/r.naturalWidth),l=r.height*(s/r.naturalHeight);r.left-=(u-r.width)/2,r.top-=(l-r.height)/2,r.width=u,r.height=l,r.aspectRatio=i/s,r.naturalWidth=i,r.naturalHeight=s,this.limitCanvas(!0,!1)}(r.width>r.maxWidth||r.width<r.minWidth)&&(r.left=r.oldLeft),(r.height>r.maxHeight||r.height<r.minHeight)&&(r.top=r.oldTop),r.width=Math.min(Math.max(r.width,r.minWidth),r.maxWidth),r.height=Math.min(Math.max(r.height,r.minHeight),r.maxHeight),this.limitCanvas(!1,!0),r.left=Math.min(Math.max(r.left,r.minLeft),r.maxLeft),r.top=Math.min(Math.max(r.top,r.minTop),r.maxTop),r.oldLeft=r.left,r.oldTop=r.top,Ye(this.canvas,EA({width:r.width,height:r.height},Er({translateX:r.left,translateY:r.top}))),this.renderImage(e),this.cropped&&this.limited&&this.limitCropBox(!0,!0)},renderImage:function(e){var t=this.canvasData,r=this.imageData,n=r.naturalWidth*(t.width/t.naturalWidth),a=r.naturalHeight*(t.height/t.naturalHeight);EA(r,{width:n,height:a,left:(t.width-n)/2,top:(t.height-a)/2}),Ye(this.image,EA({width:r.width,height:r.height},Er(EA({translateX:r.left,translateY:r.top},r)))),e&&this.output()},initCropBox:function(){var e=this.options,t=this.canvasData,r=e.aspectRatio||e.initialAspectRatio,n=Number(e.autoCropArea)||.8,a={width:t.width,height:t.height};r&&(t.height*r>t.width?a.height=a.width/r:a.width=a.height*r),this.cropBoxData=a,this.limitCropBox(!0,!0),a.width=Math.min(Math.max(a.width,a.minWidth),a.maxWidth),a.height=Math.min(Math.max(a.height,a.minHeight),a.maxHeight),a.width=Math.max(a.minWidth,a.width*n),a.height=Math.max(a.minHeight,a.height*n),a.left=t.left+(t.width-a.width)/2,a.top=t.top+(t.height-a.height)/2,a.oldLeft=a.left,a.oldTop=a.top,this.initialCropBoxData=EA({},a)},limitCropBox:function(e,t){var r=this.options,n=this.containerData,a=this.canvasData,i=this.cropBoxData,s=this.limited,u=r.aspectRatio;if(e){var l=Number(r.minCropBoxWidth)||0,d=Number(r.minCropBoxHeight)||0,f=s?Math.min(n.width,a.width,a.width+a.left,n.width-a.left):n.width,h=s?Math.min(n.height,a.height,a.height+a.top,n.height-a.top):n.height;l=Math.min(l,n.width),d=Math.min(d,n.height),u&&(l&&d?d*u>l?d=l/u:l=d*u:l?d=l/u:d&&(l=d*u),h*u>f?h=f/u:f=h*u),i.minWidth=Math.min(l,f),i.minHeight=Math.min(d,h),i.maxWidth=f,i.maxHeight=h}t&&(s?(i.minLeft=Math.max(0,a.left),i.minTop=Math.max(0,a.top),i.maxLeft=Math.min(n.width,a.left+a.width)-i.width,i.maxTop=Math.min(n.height,a.top+a.height)-i.height):(i.minLeft=0,i.minTop=0,i.maxLeft=n.width-i.width,i.maxTop=n.height-i.height))},renderCropBox:function(){var e=this.options,t=this.containerData,r=this.cropBoxData;(r.width>r.maxWidth||r.width<r.minWidth)&&(r.left=r.oldLeft),(r.height>r.maxHeight||r.height<r.minHeight)&&(r.top=r.oldTop),r.width=Math.min(Math.max(r.width,r.minWidth),r.maxWidth),r.height=Math.min(Math.max(r.height,r.minHeight),r.maxHeight),this.limitCropBox(!1,!0),r.left=Math.min(Math.max(r.left,r.minLeft),r.maxLeft),r.top=Math.min(Math.max(r.top,r.minTop),r.maxTop),r.oldLeft=r.left,r.oldTop=r.top,e.movable&&e.cropBoxMovable&&mr(this.face,pr,r.width>=t.width&&r.height>=t.height?yu:Bi),Ye(this.cropBox,EA({width:r.width,height:r.height},Er({translateX:r.left,translateY:r.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),Nt(this.element,Ei,this.getData())}},Km={initPreview:function(){var e=this.element,t=this.crossOrigin,r=this.options.preview,n=t?this.crossOriginUrl:this.url,a=e.alt||"The image to preview",i=document.createElement("img");if(t&&(i.crossOrigin=t),i.src=n,i.alt=a,this.viewBox.appendChild(i),this.viewBoxImage=i,!!r){var s=r;typeof r=="string"?s=e.ownerDocument.querySelectorAll(r):r.querySelector&&(s=[r]),this.previews=s,FA(s,function(u){var l=document.createElement("img");mr(u,En,{width:u.offsetWidth,height:u.offsetHeight,html:u.innerHTML}),t&&(l.crossOrigin=t),l.src=n,l.alt=a,l.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',u.innerHTML="",u.appendChild(l)})}},resetPreview:function(){FA(this.previews,function(e){var t=Fi(e,En);Ye(e,{width:t.width,height:t.height}),e.innerHTML=t.html,xm(e,En)})},preview:function(){var e=this.imageData,t=this.canvasData,r=this.cropBoxData,n=r.width,a=r.height,i=e.width,s=e.height,u=r.left-t.left-e.left,l=r.top-t.top-e.top;!this.cropped||this.disabled||(Ye(this.viewBoxImage,EA({width:i,height:s},Er(EA({translateX:-u,translateY:-l},e)))),FA(this.previews,function(d){var f=Fi(d,En),h=f.width,C=f.height,E=h,T=C,v=1;n&&(v=h/n,T=a*v),a&&T>C&&(v=C/a,E=n*v,T=C),Ye(d,{width:E,height:T}),Ye(d.getElementsByTagName("img")[0],EA({width:i*v,height:s*v},Er(EA({translateX:-u*v,translateY:-l*v},e))))}))}},Vm={bind:function(){var e=this.element,t=this.options,r=this.cropper;ee(t.cropstart)&&le(e,bi,t.cropstart),ee(t.cropmove)&&le(e,wi,t.cropmove),ee(t.cropend)&&le(e,Ci,t.cropend),ee(t.crop)&&le(e,Ei,t.crop),ee(t.zoom)&&le(e,Ti,t.zoom),le(r,Hu,this.onCropStart=this.cropStart.bind(this)),t.zoomable&&t.zoomOnWheel&&le(r,ku,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),t.toggleDragModeOnDblclick&&le(r,Lu,this.onDblclick=this.dblclick.bind(this)),le(e.ownerDocument,Du,this.onCropMove=this.cropMove.bind(this)),le(e.ownerDocument,Ou,this.onCropEnd=this.cropEnd.bind(this)),t.responsive&&le(window,Mu,this.onResize=this.resize.bind(this))},unbind:function(){var e=this.element,t=this.options,r=this.cropper;ee(t.cropstart)&&pe(e,bi,t.cropstart),ee(t.cropmove)&&pe(e,wi,t.cropmove),ee(t.cropend)&&pe(e,Ci,t.cropend),ee(t.crop)&&pe(e,Ei,t.crop),ee(t.zoom)&&pe(e,Ti,t.zoom),pe(r,Hu,this.onCropStart),t.zoomable&&t.zoomOnWheel&&pe(r,ku,this.onWheel,{passive:!1,capture:!0}),t.toggleDragModeOnDblclick&&pe(r,Lu,this.onDblclick),pe(e.ownerDocument,Du,this.onCropMove),pe(e.ownerDocument,Ou,this.onCropEnd),t.responsive&&pe(window,Mu,this.onResize)}},Gm={resize:function(){if(!this.disabled){var e=this.options,t=this.container,r=this.containerData,n=t.offsetWidth/r.width,a=t.offsetHeight/r.height,i=Math.abs(n-1)>Math.abs(a-1)?n:a;if(i!==1){var s,u;e.restore&&(s=this.getCanvasData(),u=this.getCropBoxData()),this.render(),e.restore&&(this.setCanvasData(FA(s,function(l,d){s[d]=l*i})),this.setCropBoxData(FA(u,function(l,d){u[d]=l*i})))}}},dblclick:function(){this.disabled||this.options.dragMode===Su||this.setDragMode(Im(this.dragBox,gi)?Nu:mi)},wheel:function(e){var t=this,r=Number(this.options.wheelZoomRatio)||.1,n=1;this.disabled||(e.preventDefault(),!this.wheeling&&(this.wheeling=!0,setTimeout(function(){t.wheeling=!1},50),e.deltaY?n=e.deltaY>0?1:-1:e.wheelDelta?n=-e.wheelDelta/120:e.detail&&(n=e.detail>0?1:-1),this.zoom(-n*r,e)))},cropStart:function(e){var t=e.buttons,r=e.button;if(!(this.disabled||(e.type==="mousedown"||e.type==="pointerdown"&&e.pointerType==="mouse")&&(eA(t)&&t!==1||eA(r)&&r!==0||e.ctrlKey))){var n=this.options,a=this.pointers,i;e.changedTouches?FA(e.changedTouches,function(s){a[s.identifier]=Cn(s)}):a[e.pointerId||0]=Cn(e),Object.keys(a).length>1&&n.zoomable&&n.zoomOnTouch?i=xu:i=Fi(e.target,pr),pm.test(i)&&Nt(this.element,bi,{originalEvent:e,action:i})!==!1&&(e.preventDefault(),this.action=i,this.cropping=!1,i===Iu&&(this.cropping=!0,HA(this.dragBox,mn)))}},cropMove:function(e){var t=this.action;if(!(this.disabled||!t)){var r=this.pointers;e.preventDefault(),Nt(this.element,wi,{originalEvent:e,action:t})!==!1&&(e.changedTouches?FA(e.changedTouches,function(n){EA(r[n.identifier]||{},Cn(n,!0))}):EA(r[e.pointerId||0]||{},Cn(e,!0)),this.change(e))}},cropEnd:function(e){if(!this.disabled){var t=this.action,r=this.pointers;e.changedTouches?FA(e.changedTouches,function(n){delete r[n.identifier]}):delete r[e.pointerId||0],t&&(e.preventDefault(),Object.keys(r).length||(this.action=""),this.cropping&&(this.cropping=!1,_t(this.dragBox,mn,this.cropped&&this.options.modal)),Nt(this.element,Ci,{originalEvent:e,action:t}))}}},Ym={change:function(e){var t=this.options,r=this.canvasData,n=this.containerData,a=this.cropBoxData,i=this.pointers,s=this.action,u=t.aspectRatio,l=a.left,d=a.top,f=a.width,h=a.height,C=l+f,E=d+h,T=0,v=0,b=n.width,x=n.height,D=!0,R;!u&&e.shiftKey&&(u=f&&h?f/h:1),this.limited&&(T=a.minLeft,v=a.minTop,b=T+Math.min(n.width,r.width,r.left+r.width),x=v+Math.min(n.height,r.height,r.top+r.height));var O=i[Object.keys(i)[0]],m={x:O.endX-O.startX,y:O.endY-O.startY},L=function(k){switch(k){case lt:C+m.x>b&&(m.x=b-C);break;case dt:l+m.x<T&&(m.x=T-l);break;case Ge:d+m.y<v&&(m.y=v-d);break;case yt:E+m.y>x&&(m.y=x-E);break}};switch(s){case Bi:l+=m.x,d+=m.y;break;case lt:if(m.x>=0&&(C>=b||u&&(d<=v||E>=x))){D=!1;break}L(lt),f+=m.x,f<0&&(s=dt,f=-f,l-=f),u&&(h=f/u,d+=(a.height-h)/2);break;case Ge:if(m.y<=0&&(d<=v||u&&(l<=T||C>=b))){D=!1;break}L(Ge),h-=m.y,d+=m.y,h<0&&(s=yt,h=-h,d-=h),u&&(f=h*u,l+=(a.width-f)/2);break;case dt:if(m.x<=0&&(l<=T||u&&(d<=v||E>=x))){D=!1;break}L(dt),f-=m.x,l+=m.x,f<0&&(s=lt,f=-f,l-=f),u&&(h=f/u,d+=(a.height-h)/2);break;case yt:if(m.y>=0&&(E>=x||u&&(l<=T||C>=b))){D=!1;break}L(yt),h+=m.y,h<0&&(s=Ge,h=-h,d-=h),u&&(f=h*u,l+=(a.width-f)/2);break;case fr:if(u){if(m.y<=0&&(d<=v||C>=b)){D=!1;break}L(Ge),h-=m.y,d+=m.y,f=h*u}else L(Ge),L(lt),m.x>=0?C<b?f+=m.x:m.y<=0&&d<=v&&(D=!1):f+=m.x,m.y<=0?d>v&&(h-=m.y,d+=m.y):(h-=m.y,d+=m.y);f<0&&h<0?(s=gr,h=-h,f=-f,d-=h,l-=f):f<0?(s=hr,f=-f,l-=f):h<0&&(s=Br,h=-h,d-=h);break;case hr:if(u){if(m.y<=0&&(d<=v||l<=T)){D=!1;break}L(Ge),h-=m.y,d+=m.y,f=h*u,l+=a.width-f}else L(Ge),L(dt),m.x<=0?l>T?(f-=m.x,l+=m.x):m.y<=0&&d<=v&&(D=!1):(f-=m.x,l+=m.x),m.y<=0?d>v&&(h-=m.y,d+=m.y):(h-=m.y,d+=m.y);f<0&&h<0?(s=Br,h=-h,f=-f,d-=h,l-=f):f<0?(s=fr,f=-f,l-=f):h<0&&(s=gr,h=-h,d-=h);break;case gr:if(u){if(m.x<=0&&(l<=T||E>=x)){D=!1;break}L(dt),f-=m.x,l+=m.x,h=f/u}else L(yt),L(dt),m.x<=0?l>T?(f-=m.x,l+=m.x):m.y>=0&&E>=x&&(D=!1):(f-=m.x,l+=m.x),m.y>=0?E<x&&(h+=m.y):h+=m.y;f<0&&h<0?(s=fr,h=-h,f=-f,d-=h,l-=f):f<0?(s=Br,f=-f,l-=f):h<0&&(s=hr,h=-h,d-=h);break;case Br:if(u){if(m.x>=0&&(C>=b||E>=x)){D=!1;break}L(lt),f+=m.x,h=f/u}else L(yt),L(lt),m.x>=0?C<b?f+=m.x:m.y>=0&&E>=x&&(D=!1):f+=m.x,m.y>=0?E<x&&(h+=m.y):h+=m.y;f<0&&h<0?(s=hr,h=-h,f=-f,d-=h,l-=f):f<0?(s=gr,f=-f,l-=f):h<0&&(s=fr,h=-h,d-=h);break;case yu:this.move(m.x,m.y),D=!1;break;case xu:this.zoom(_m(i),e),D=!1;break;case Iu:if(!m.x||!m.y){D=!1;break}R=qu(this.cropper),l=O.startX-R.left,d=O.startY-R.top,f=a.minWidth,h=a.minHeight,m.x>0?s=m.y>0?Br:fr:m.x<0&&(l-=f,s=m.y>0?gr:hr),m.y<0&&(d-=h),this.cropped||(Qe(this.cropBox,Ae),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0));break}D&&(a.width=f,a.height=h,a.left=l,a.top=d,this.action=s,this.renderCropBox()),FA(i,function(V){V.startX=V.endX,V.startY=V.endY})}},Xm={crop:function(){return this.ready&&!this.cropped&&!this.disabled&&(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&HA(this.dragBox,mn),Qe(this.cropBox,Ae),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=EA({},this.initialImageData),this.canvasData=EA({},this.initialCanvasData),this.cropBoxData=EA({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(EA(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),Qe(this.dragBox,mn),HA(this.cropBox,Ae)),this},replace:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return!this.disabled&&e&&(this.isImg&&(this.element.src=e),t?(this.url=e,this.image.src=e,this.ready&&(this.viewBoxImage.src=e,FA(this.previews,function(r){r.getElementsByTagName("img")[0].src=e}))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(e))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,Qe(this.cropper,vu)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,HA(this.cropper,vu)),this},destroy:function(){var e=this.element;return e[mA]?(e[mA]=void 0,this.isImg&&this.replaced&&(e.src=this.originalUrl),this.uncreate(),this):this},move:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,r=this.canvasData,n=r.left,a=r.top;return this.moveTo(Ui(e)?e:n+Number(e),Ui(t)?t:a+Number(t))},moveTo:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,r=this.canvasData,n=!1;return e=Number(e),t=Number(t),this.ready&&!this.disabled&&this.options.movable&&(eA(e)&&(r.left=e,n=!0),eA(t)&&(r.top=t,n=!0),n&&this.renderCanvas(!0)),this},zoom:function(e,t){var r=this.canvasData;return e=Number(e),e<0?e=1/(1-e):e=1+e,this.zoomTo(r.width*e/r.naturalWidth,null,t)},zoomTo:function(e,t,r){var n=this.options,a=this.canvasData,i=a.width,s=a.height,u=a.naturalWidth,l=a.naturalHeight;if(e=Number(e),e>=0&&this.ready&&!this.disabled&&n.zoomable){var d=u*e,f=l*e;if(Nt(this.element,Ti,{ratio:e,oldRatio:i/u,originalEvent:r})===!1)return this;if(r){var h=this.pointers,C=qu(this.cropper),E=h&&Object.keys(h).length?Nm(h):{pageX:r.pageX,pageY:r.pageY};a.left-=(d-i)*((E.pageX-C.left-a.left)/i),a.top-=(f-s)*((E.pageY-C.top-a.top)/s)}else xt(t)&&eA(t.x)&&eA(t.y)?(a.left-=(d-i)*((t.x-a.left)/i),a.top-=(f-s)*((t.y-a.top)/s)):(a.left-=(d-i)/2,a.top-=(f-s)/2);a.width=d,a.height=f,this.renderCanvas(!0)}return this},rotate:function(e){return this.rotateTo((this.imageData.rotate||0)+Number(e))},rotateTo:function(e){return e=Number(e),eA(e)&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=e%360,this.renderCanvas(!0,!0)),this},scaleX:function(e){var t=this.imageData.scaleY;return this.scale(e,eA(t)?t:1)},scaleY:function(e){var t=this.imageData.scaleX;return this.scale(eA(t)?t:1,e)},scale:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,r=this.imageData,n=!1;return e=Number(e),t=Number(t),this.ready&&!this.disabled&&this.options.scalable&&(eA(e)&&(r.scaleX=e,n=!0),eA(t)&&(r.scaleY=t,n=!0),n&&this.renderCanvas(!0,!0)),this},getData:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t=this.options,r=this.imageData,n=this.canvasData,a=this.cropBoxData,i;if(this.ready&&this.cropped){i={x:a.left-n.left,y:a.top-n.top,width:a.width,height:a.height};var s=r.width/r.naturalWidth;if(FA(i,function(d,f){i[f]=d/s}),e){var u=Math.round(i.y+i.height),l=Math.round(i.x+i.width);i.x=Math.round(i.x),i.y=Math.round(i.y),i.width=l-i.x,i.height=u-i.y}}else i={x:0,y:0,width:0,height:0};return t.rotatable&&(i.rotate=r.rotate||0),t.scalable&&(i.scaleX=r.scaleX||1,i.scaleY=r.scaleY||1),i},setData:function(e){var t=this.options,r=this.imageData,n=this.canvasData,a={};if(this.ready&&!this.disabled&&xt(e)){var i=!1;t.rotatable&&eA(e.rotate)&&e.rotate!==r.rotate&&(r.rotate=e.rotate,i=!0),t.scalable&&(eA(e.scaleX)&&e.scaleX!==r.scaleX&&(r.scaleX=e.scaleX,i=!0),eA(e.scaleY)&&e.scaleY!==r.scaleY&&(r.scaleY=e.scaleY,i=!0)),i&&this.renderCanvas(!0,!0);var s=r.width/r.naturalWidth;eA(e.x)&&(a.left=e.x*s+n.left),eA(e.y)&&(a.top=e.y*s+n.top),eA(e.width)&&(a.width=e.width*s),eA(e.height)&&(a.height=e.height*s),this.setCropBoxData(a)}return this},getContainerData:function(){return this.ready?EA({},this.containerData):{}},getImageData:function(){return this.sized?EA({},this.imageData):{}},getCanvasData:function(){var e=this.canvasData,t={};return this.ready&&FA(["left","top","width","height","naturalWidth","naturalHeight"],function(r){t[r]=e[r]}),t},setCanvasData:function(e){var t=this.canvasData,r=t.aspectRatio;return this.ready&&!this.disabled&&xt(e)&&(eA(e.left)&&(t.left=e.left),eA(e.top)&&(t.top=e.top),eA(e.width)?(t.width=e.width,t.height=e.width/r):eA(e.height)&&(t.height=e.height,t.width=e.height*r),this.renderCanvas(!0)),this},getCropBoxData:function(){var e=this.cropBoxData,t;return this.ready&&this.cropped&&(t={left:e.left,top:e.top,width:e.width,height:e.height}),t||{}},setCropBoxData:function(e){var t=this.cropBoxData,r=this.options.aspectRatio,n,a;return this.ready&&this.cropped&&!this.disabled&&xt(e)&&(eA(e.left)&&(t.left=e.left),eA(e.top)&&(t.top=e.top),eA(e.width)&&e.width!==t.width&&(n=!0,t.width=e.width),eA(e.height)&&e.height!==t.height&&(a=!0,t.height=e.height),r&&(n?t.height=t.width/r:a&&(t.width=t.height*r)),this.renderCropBox()),this},getCroppedCanvas:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var t=this.canvasData,r=Lm(this.image,this.imageData,t,e);if(!this.cropped)return r;var n=this.getData(e.rounded),a=n.x,i=n.y,s=n.width,u=n.height,l=r.width/Math.floor(t.naturalWidth);l!==1&&(a*=l,i*=l,s*=l,u*=l);var d=s/u,f=Xe({aspectRatio:d,width:e.maxWidth||1/0,height:e.maxHeight||1/0}),h=Xe({aspectRatio:d,width:e.minWidth||0,height:e.minHeight||0},"cover"),C=Xe({aspectRatio:d,width:e.width||(l!==1?r.width:s),height:e.height||(l!==1?r.height:u)}),E=C.width,T=C.height;E=Math.min(f.width,Math.max(h.width,E)),T=Math.min(f.height,Math.max(h.height,T));var v=document.createElement("canvas"),b=v.getContext("2d");v.width=vt(E),v.height=vt(T),b.fillStyle=e.fillColor||"transparent",b.fillRect(0,0,E,T);var x=e.imageSmoothingEnabled,D=x===void 0?!0:x,R=e.imageSmoothingQuality;b.imageSmoothingEnabled=D,R&&(b.imageSmoothingQuality=R);var O=r.width,m=r.height,L=a,V=i,k,z,iA,AA,q,nA;L<=-s||L>O?(L=0,k=0,iA=0,q=0):L<=0?(iA=-L,L=0,k=Math.min(O,s+L),q=k):L<=O&&(iA=0,k=Math.min(s,O-L),q=k),k<=0||V<=-u||V>m?(V=0,z=0,AA=0,nA=0):V<=0?(AA=-V,V=0,z=Math.min(m,u+V),nA=z):V<=m&&(AA=0,z=Math.min(u,m-V),nA=z);var hA=[L,V,k,z];if(q>0&&nA>0){var gA=E/s;hA.push(iA*gA,AA*gA,q*gA,nA*gA)}return b.drawImage.apply(b,[r].concat(Fu(hA.map(function(wA){return Math.floor(vt(wA))})))),v},setAspectRatio:function(e){var t=this.options;return!this.disabled&&!Ui(e)&&(t.aspectRatio=Math.max(0,e)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(e){var t=this.options,r=this.dragBox,n=this.face;if(this.ready&&!this.disabled){var a=e===mi,i=t.movable&&e===Nu;e=a||i?e:Su,t.dragMode=e,mr(r,pr,e),_t(r,gi,a),_t(r,pi,i),t.cropBoxMovable||(mr(n,pr,e),_t(n,gi,a),_t(n,pi,i))}return this}},Wm=Ue.Cropper,Zu=function(){function A(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(im(this,A),!e||!Cm.test(e.tagName))throw new Error("The first argument is required and must be an <img> or <canvas> element.");this.element=e,this.options=EA({},Gu,xt(t)&&t),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}return sm(A,[{key:"init",value:function(){var t=this.element,r=t.tagName.toLowerCase(),n;if(!t[mA]){if(t[mA]=this,r==="img"){if(this.isImg=!0,n=t.getAttribute("src")||"",this.originalUrl=n,!n)return;n=t.src}else r==="canvas"&&window.HTMLCanvasElement&&(n=t.toDataURL());this.load(n)}}},{key:"load",value:function(t){var r=this;if(t){this.url=t,this.imageData={};var n=this.element,a=this.options;if(!a.rotatable&&!a.scalable&&(a.checkOrientation=!1),!a.checkOrientation||!window.ArrayBuffer){this.clone();return}if(mm.test(t)){Em.test(t)?this.read(Om(t)):this.clone();return}var i=new XMLHttpRequest,s=this.clone.bind(this);this.reloading=!0,this.xhr=i,i.onabort=s,i.onerror=s,i.ontimeout=s,i.onprogress=function(){i.getResponseHeader("content-type")!==Pu&&i.abort()},i.onload=function(){r.read(i.response)},i.onloadend=function(){r.reloading=!1,r.xhr=null},a.checkCrossOrigin&&ju(t)&&n.crossOrigin&&(t=zu(t)),i.open("GET",t,!0),i.responseType="arraybuffer",i.withCredentials=n.crossOrigin==="use-credentials",i.send()}}},{key:"read",value:function(t){var r=this.options,n=this.imageData,a=Mm(t),i=0,s=1,u=1;if(a>1){this.url=Rm(t,Pu);var l=km(a);i=l.rotate,s=l.scaleX,u=l.scaleY}r.rotatable&&(n.rotate=i),r.scalable&&(n.scaleX=s,n.scaleY=u),this.clone()}},{key:"clone",value:function(){var t=this.element,r=this.url,n=t.crossOrigin,a=r;this.options.checkCrossOrigin&&ju(r)&&(n||(n="anonymous"),a=zu(r)),this.crossOrigin=n,this.crossOriginUrl=a;var i=document.createElement("img");n&&(i.crossOrigin=n),i.src=a||r,i.alt=t.alt||"The image to crop",this.image=i,i.onload=this.start.bind(this),i.onerror=this.stop.bind(this),HA(i,_u),t.parentNode.insertBefore(i,t.nextSibling)}},{key:"start",value:function(){var t=this,r=this.image;r.onload=null,r.onerror=null,this.sizing=!0;var n=Ue.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(Ue.navigator.userAgent),a=function(l,d){EA(t.imageData,{naturalWidth:l,naturalHeight:d,aspectRatio:l/d}),t.initialImageData=EA({},t.imageData),t.sizing=!1,t.sized=!0,t.build()};if(r.naturalWidth&&!n){a(r.naturalWidth,r.naturalHeight);return}var i=document.createElement("img"),s=document.body||document.documentElement;this.sizingImage=i,i.onload=function(){a(i.width,i.height),n||s.removeChild(i)},i.src=r.src,n||(i.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",s.appendChild(i))}},{key:"stop",value:function(){var t=this.image;t.onload=null,t.onerror=null,t.parentNode.removeChild(t),this.image=null}},{key:"build",value:function(){if(!(!this.sized||this.ready)){var t=this.element,r=this.options,n=this.image,a=t.parentNode,i=document.createElement("div");i.innerHTML=wm;var s=i.querySelector(".".concat(mA,"-container")),u=s.querySelector(".".concat(mA,"-canvas")),l=s.querySelector(".".concat(mA,"-drag-box")),d=s.querySelector(".".concat(mA,"-crop-box")),f=d.querySelector(".".concat(mA,"-face"));this.container=a,this.cropper=s,this.canvas=u,this.dragBox=l,this.cropBox=d,this.viewBox=s.querySelector(".".concat(mA,"-view-box")),this.face=f,u.appendChild(n),HA(t,Ae),a.insertBefore(s,t.nextSibling),Qe(n,_u),this.initPreview(),this.bind(),r.initialAspectRatio=Math.max(0,r.initialAspectRatio)||NaN,r.aspectRatio=Math.max(0,r.aspectRatio)||NaN,r.viewMode=Math.max(0,Math.min(3,Math.round(r.viewMode)))||0,HA(d,Ae),r.guides||HA(d.getElementsByClassName("".concat(mA,"-dashed")),Ae),r.center||HA(d.getElementsByClassName("".concat(mA,"-center")),Ae),r.background&&HA(s,"".concat(mA,"-bg")),r.highlight||HA(f,fm),r.cropBoxMovable&&(HA(f,pi),mr(f,pr,Bi)),r.cropBoxResizable||(HA(d.getElementsByClassName("".concat(mA,"-line")),Ae),HA(d.getElementsByClassName("".concat(mA,"-point")),Ae)),this.render(),this.ready=!0,this.setDragMode(r.dragMode),r.autoCrop&&this.crop(),this.setData(r.data),ee(r.ready)&&le(t,Ru,r.ready,{once:!0}),Nt(t,Ru)}}},{key:"unbuild",value:function(){if(this.ready){this.ready=!1,this.unbind(),this.resetPreview();var t=this.cropper.parentNode;t&&t.removeChild(this.cropper),Qe(this.element,Ae)}}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}],[{key:"noConflict",value:function(){return window.Cropper=Wm,A}},{key:"setDefaults",value:function(t){EA(Gu,xt(t)&&t)}}])}();EA(Zu.prototype,Pm,Km,Vm,Gm,Ym,Xm);function Jm(A,e){const t=A.split(",")||[],r=t[0].match(/:(.*?);/)[1],n=t[1]&&atob(t[1]);let a=n&&n.length;const i=new Uint8Array(a);for(;a--;)i[a]=n==null?void 0:n.charCodeAt(a);return new File([i],e,{type:r})}const qm={key:0,contenteditable:"false",class:"z-10 w-[100vw] h-[100vh] bg-[rgba(0,0,0,0.7)] flex flex-col justify-center items-center fixed top-0 left-0 cursor-auto"},jm={class:"w-[700px] flex flex-col bg-white rounded pb-8"},zm={class:"flex flex-row items-center justify-between px-6 py-4 bg-[#f4f8ff]"},$m={class:"flex flex-col h-full"},Zm={class:"flex flex-row justify-center items-start flex-1"},AE={class:"flex flex-col items-start flex-1"},eE={class:"flex flex-col w-full px-6 py-4"},tE={class:"flex flex-col w-full"},rE={class:"flex flex-row items-center"},nE={class:"relative bg-[#474AFF] text-white rounded p-3"},aE={class:"flex flex-row items-start justify-between mt-3"},iE={class:"flex flex-col"},sE={class:"flex flex-col justify-center items-center border w-[300px] h-[300px]"},oE={key:0,class:"w-full text-center"},uE=["src"],cE={class:"flex flex-col items-center",style:{width:"300px",height:"300px"}},lE={class:"text-[#999] mt-05 flex justify-center mt-4"},dE={class:"w-full flex justify-end space-x-5 mt-5 px-6"},fE=["loading"],hE=c.defineComponent({__name:"GpCropper",emits:["cancel","ok"],setup(A,{expose:e,emit:t}){const r=t,n=c.ref({coverUrl:"",inputValue:"",uploadType:2,videoHost:"",videoUrl:""}),a=c.ref(),i=c.ref({autoCrop:!0,autoCropArea:1,background:!0,center:!0,cropBoxResizable:!0,dragMode:"move",preview:".before",toggleDragModeOnDblclick:!0,viewMode:1,zoomOnWheel:!0}),s=c.ref(!1),u=c.ref("image/jpeg"),l=c.ref(),d=c.ref({afterImg:"",image:null,myCropper:null}),f=m=>{const L=m.target.files[0];L&&(L.name&&(n.value.inputValue=L.name),h(L))};async function h(m){if(!m)return;l.value=m,await O();const L=URL.createObjectURL(m);d.value.image=L,d.value.image&&C(),u.value=m.type}function C(){const m=document.querySelector("#imgId");m&&m.addEventListener("load",()=>{R(),d.value.myCropper=new Zu(m,i.value)})}const E=c.ref(!1),T=c.ref();function v(m,L,V,k){T.value=k,a.value=m,m&&m.aspectRatio&&(i.value.aspectRatio=m.aspectRatio),V&&(n.value.inputValue=V),E.value=!0,L&&h(L)}function b(){E.value=!1}const x=()=>{var k,z,iA,AA;if(!d.value.myCropper)return;s.value=!0;const m=d.value.myCropper.getData();var V=d.value.myCropper.getCroppedCanvas({height:(k=a.value)==null?void 0:k.height,imageSmoothingQuality:"high",width:(z=a.value)==null?void 0:z.width}).toDataURL(u.value);d.value.afterImg=V,Jm(d.value.afterImg,n.value.inputValue),r("ok",{file:l.value,element:T.value,crop:{x:parseInt(m.x),y:parseInt(m.y),width:parseInt(m.width),height:parseInt(m.height),resizeW:Number(((iA=a.value)==null?void 0:iA.width)||0),resizeH:Number(((AA=a.value)==null?void 0:AA.height)||0)}}),s.value=!1,O(),R(),b()};function D(){O(),R(),b(),r("cancel")}function R(){d.value.myCropper&&d.value.myCropper.destroy()}function O(){d.value.image=""}return e({handleCloseCropper:b,handleOpenCropper:v}),(m,L)=>{var V,k,z;return E.value?(c.openBlock(),c.createElementBlock("div",qm,[c.createElementVNode("div",jm,[c.createElementVNode("div",zm,[L[1]||(L[1]=c.createElementVNode("span",{class:"text-base font-semibold text-[#333]"},"图片裁剪",-1)),c.createElementVNode("span",{class:"text-lg cursor-pointer text-[#999] iconfont icon-shanchu2",onClick:c.withModifiers(D,["stop"])})]),c.createElementVNode("div",$m,[c.createElementVNode("div",Zm,[c.createElementVNode("div",AE,[c.createElementVNode("div",eE,[c.createElementVNode("div",tE,[c.createElementVNode("div",rE,[c.createElementVNode("div",nE,[c.createElementVNode("input",{type:"file",accept:"image/*",onClick:L[0]||(L[0]=c.withModifiers(()=>{},["stop"])),contenteditable:"false",ref:"fileInput",onChange:f,class:"absolute top-0 left-0 w-[110px] h-[40px] opacity-0 cursor-pointer"},null,544),L[2]||(L[2]=c.createElementVNode("span",{id:"uploadHandler",class:"cursor-pointer"}," 选择/更换图片 ",-1))]),L[3]||(L[3]=c.createElementVNode("span",{class:"text-sm text-[#999] ml-3"},"滚动鼠标放大或缩小图片",-1))]),c.createElementVNode("div",aE,[c.createElementVNode("div",iE,[c.createElementVNode("div",sE,[d.value.image?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",oE," 请上传图片 ")),c.createElementVNode("img",{id:"imgId",src:d.value.image,style:{width:"300px"}},null,8,uE)])]),c.createElementVNode("div",cE,[L[4]||(L[4]=c.createElementVNode("div",{class:"before w-[270px] h-[200px] pr-[70px] border"},null,-1)),c.createElementVNode("div",lE," 预览画像 "+c.toDisplayString(((V=a.value)==null?void 0:V.width)||"")+" "+c.toDisplayString((k=a.value)!=null&&k.width?"x":"")+" "+c.toDisplayString(((z=a.value)==null?void 0:z.height)||""),1)])])])])])]),c.createElementVNode("div",dE,[c.createElementVNode("span",{loading:s.value,class:"!w-22 bg-[#474AFF] text-white rounded py-2 px-6 cursor-pointer",type:"primary",onClick:x}," 确认 ",8,fE),c.createElementVNode("span",{class:"!w-22 border border-[#DEDEDE] text-[#666] rounded py-2 px-6 cursor-pointer",onClick:D},"取消")])])])])):c.createCommentVNode("",!0)}}}),BE=c.defineComponent({name:"GpModal",props:{visible:{type:Boolean,required:!0},title:{type:String,default:""},okText:{type:String,default:"确定"},cancelText:{type:String,default:"取消"},showOkButton:{type:Boolean,default:!0},showCancelButton:{type:Boolean,default:!0},showCloseButton:{type:Boolean,default:!0},maskClosable:{type:Boolean,default:!0}},emits:["update:visible","ok","cancel"],setup(A,{emit:e}){const{visible:t,okText:r,cancelText:n,showCloseButton:a}=c.toRefs(A),i=()=>{e("cancel"),e("update:visible",!1)};return{visible:t,okText:r,cancelText:n,showCloseButton:a,onClose:i,onOk:()=>{e("ok")},onCancel:()=>{e("cancel"),e("update:visible",!1)},onMaskClosable:()=>{A.maskClosable&&i()}}}}),gE={class:"bg-white rounded-lg shadow-xl w-ful"},pE={class:"p-4 border-b border-gray-200 relative flex items-center justify-between"},mE={key:0,class:"text-lg font-semibold"},EE={class:"p-4"},CE={key:0,class:"p-4 border-t border-gray-200 flex justify-end space-x-2"};function wE(A,e,t,r,n,a){return A.visible?(c.openBlock(),c.createElementBlock("div",{key:0,class:"fixed inset-0 z-[99999] flex items-center justify-center bg-gray-900 bg-opacity-50",onClick:e[3]||(e[3]=c.withModifiers((...i)=>A.onMaskClosable&&A.onMaskClosable(...i),["self"]))},[c.createElementVNode("div",gE,[c.createElementVNode("div",pE,[A.title?(c.openBlock(),c.createElementBlock("h3",mE,c.toDisplayString(A.title),1)):c.createCommentVNode("",!0),c.renderSlot(A.$slots,"header"),A.showCloseButton?(c.openBlock(),c.createElementBlock("button",{key:1,class:"text-gray-400 hover:text-gray-600",onClick:e[0]||(e[0]=(...i)=>A.onClose&&A.onClose(...i)),"aria-label":"Close"},e[4]||(e[4]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-5 w-5",viewBox:"0 0 20 20",fill:"currentColor"},[c.createElementVNode("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)]))):c.createCommentVNode("",!0)]),c.createElementVNode("div",EE,[c.renderSlot(A.$slots,"default")]),A.showCancelButton||A.showOkButton?(c.openBlock(),c.createElementBlock("div",CE,[c.renderSlot(A.$slots,"footer",{},()=>[A.showCancelButton?(c.openBlock(),c.createElementBlock("button",{key:0,class:"px-4 py-2 text-sm font-medium text-gray-700 bg-gray-100 rounded hover:bg-gray-200",onClick:e[1]||(e[1]=(...i)=>A.onCancel&&A.onCancel(...i))},c.toDisplayString(A.cancelText),1)):c.createCommentVNode("",!0),A.showOkButton?(c.openBlock(),c.createElementBlock("button",{key:1,class:"px-4 py-2 text-sm font-medium text-white bg-blue-600 rounded hover:bg-blue-700",onClick:e[2]||(e[2]=(...i)=>A.onOk&&A.onOk(...i))},c.toDisplayString(A.okText),1)):c.createCommentVNode("",!0)])])):c.createCommentVNode("",!0)])])):c.createCommentVNode("",!0)}const Ac=Ve(BE,[["render",wE]]),bE={class:"p-4 flex flex-wrap max-h-[500px] overflow-y-auto w-[640px]"},TE=["onClick"],UE=c.defineComponent({__name:"GpIcon",props:{icons:{type:Array,default:()=>[]}},emits:["ok"],setup(A,{expose:e,emit:t}){const r=A,n=t,a=c.ref(r.icons||[]);c.watch(()=>r.icons,f=>{a.value=f||[]},{immediate:!0});const i=c.ref(!1),s=c.ref();function u(f){i.value=!0,s.value=f}function l(f){d(),n("ok",{icon:f,element:s.value})}function d(){i.value=!1}return e({openModal:u,closeModal:d}),(f,h)=>(c.openBlock(),c.createBlock(Ac,{visible:i.value,"onUpdate:visible":h[0]||(h[0]=C=>i.value=C),title:"选择图标",onOk:d,onCancel:d,showCancelButton:!1,showOkButton:!1},{default:c.withCtx(()=>[c.createElementVNode("div",bE,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(a.value,C=>(c.openBlock(),c.createElementBlock("span",{key:C,onClick:c.withModifiers(E=>l(C),["stop"]),style:{position:"unset",color:"unset",top:"unset",left:"unset",right:"unset",transform:"unset","font-size":"unset"},class:c.normalizeClass(["w-12 h-12 mx-1 mb-2 border cursor-pointer hover:border-gray-400 hover:bg-gray-200",`iconfont icon-${C} !text-4xl overflow-hidden flex justify-center items-center`])},null,10,TE))),128))])]),_:1},8,["visible"]))}}),QE=c.defineComponent({name:"GpImageUpload",props:{accept:{type:String,default:"image/*"},multiple:{type:Boolean,default:!1},maxCount:{type:Number,default:1/0},beforeUpload:Function,onChange:Function,showList:{type:Boolean,default:!1},show:{type:Boolean,default:!0}},setup(A,{emit:e}){const t=c.ref(null),r=c.ref([]),n=c.ref(),a=c.ref(A.show);c.watch(()=>A.show,d=>{a.value=d},{immediate:!0});const i=()=>{var d;(d=t.value)==null||d.click()},s=async d=>{var E;const h=d.target.files;if(!h)return;const C=[];for(let T=0;T<h.length;T++){const v=h[T];if(A.beforeUpload&&await A.beforeUpload(v)===!1)continue;const b=`${Date.now()}-${v.name}`,x=URL.createObjectURL(v),D=document.createElement("img");D.src=x,document.body.appendChild(D),await new Promise(m=>{D.onload=m});const R=D.width,O=D.height;document.body.removeChild(D),C.push({uid:b,name:v.name,status:"uploading",thumbUrl:x,file:v,width:R,height:O})}A.maxCount&&r.value.length+C.length>A.maxCount&&C.splice(A.maxCount-r.value.length),A.multiple?r.value=[...r.value,...C]:r.value=C.slice(0,1),(E=A.onChange)==null||E.call(A,r.value,n.value),e("update:fileList",r.value),t.value&&(t.value.value="")},u=d=>{var f;r.value=r.value.filter(h=>h.uid!==d),(f=A.onChange)==null||f.call(A,r.value,n.value)};function l(d){n.value=d,i()}return{isShow:a,openModal:l,inputRef:t,fileList:r,triggerInput:i,handleChange:s,removeFile:u}}}),FE={class:"upload-wrapper"},IE=["accept","multiple"],yE={key:1,class:"file-list mt-4"},xE={class:"flex items-center space-x-4"},vE=["src"],_E=["onClick"];function NE(A,e,t,r,n,a){return c.openBlock(),c.createElementBlock("div",FE,[A.isShow?(c.openBlock(),c.createElementBlock("div",{key:0,class:"",onClick:e[0]||(e[0]=(...i)=>A.triggerInput&&A.triggerInput(...i))},[c.renderSlot(A.$slots,"upload-icon",{},()=>[e[2]||(e[2]=c.createElementVNode("div",{class:"upload-area border-dashed border-2 p-6 rounded cursor-pointer hover:border-blue-500"},[c.createElementVNode("div",{class:"text-gray-400 text-lg text-center"}," 点击或拖拽上传图片 ")],-1))],!0)])):c.createCommentVNode("",!0),c.createElementVNode("input",{type:"file",ref:"inputRef",class:"hidden",accept:A.accept,multiple:A.multiple,onChange:e[1]||(e[1]=(...i)=>A.handleChange&&A.handleChange(...i))},null,40,IE),A.showList?(c.openBlock(),c.createElementBlock("div",yE,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(A.fileList,i=>(c.openBlock(),c.createElementBlock("div",{key:i.uid,class:"file-item flex items-center justify-between p-2 border rounded mb-2"},[c.createElementVNode("div",xE,[i.thumbUrl?(c.openBlock(),c.createElementBlock("img",{key:0,src:i.thumbUrl,alt:"preview",class:"w-12 h-12 object-cover rounded"},null,8,vE)):c.createCommentVNode("",!0),c.createElementVNode("span",null,c.toDisplayString(i.name),1)]),c.createElementVNode("div",null,[c.createElementVNode("button",{onClick:s=>A.removeFile(i.uid),class:"text-red-500 hover:underline"}," 删除 ",8,_E)])]))),128))])):c.createCommentVNode("",!0)])}const SE=Ve(QE,[["render",NE],["__scopeId","data-v-08babff9"]]);/*!
19
19
  * html2canvas 1.4.1 <https://html2canvas.hertzen.com>
20
20
  * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
21
21
  * Released under MIT License
@@ -32,11 +32,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
32
32
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
33
33
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
34
34
  PERFORMANCE OF THIS SOFTWARE.
35
- ***************************************************************************** */var Ti=function(A,e){return Ti=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])},Ti(A,e)};function me(A,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Ti(A,e);function t(){this.constructor=A}A.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var Ui=function(){return Ui=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},Ui.apply(this,arguments)};function jA(A,e,t,r){function n(a){return a instanceof t?a:new t(function(i){i(a)})}return new(t||(t=Promise))(function(a,i){function s(d){try{l(r.next(d))}catch(f){i(f)}}function u(d){try{l(r.throw(d))}catch(f){i(f)}}function l(d){d.done?a(d.value):n(d.value).then(s,u)}l((r=r.apply(A,[])).next())})}function GA(A,e){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,n,a,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(l){return function(d){return u([l,d])}}function u(l){if(r)throw new TypeError("Generator is already executing.");for(;t;)try{if(r=1,n&&(a=l[0]&2?n.return:l[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,l[1])).done)return a;switch(n=0,a&&(l=[l[0]&2,a.value]),l[0]){case 0:case 1:a=l;break;case 4:return t.label++,{value:l[1],done:!1};case 5:t.label++,n=l[1],l=[0];continue;case 7:l=t.ops.pop(),t.trys.pop();continue;default:if(a=t.trys,!(a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){t=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){t.label=l[1];break}if(l[0]===6&&t.label<a[1]){t.label=a[1],a=l;break}if(a&&t.label<a[2]){t.label=a[2],t.ops.push(l);break}a[2]&&t.ops.pop(),t.trys.pop();continue}l=e.call(A,t)}catch(d){l=[6,d],n=0}finally{r=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function Cn(A,e,t){if(arguments.length===2)for(var r=0,n=e.length,a;r<n;r++)(a||!(r in e))&&(a||(a=Array.prototype.slice.call(e,0,r)),a[r]=e[r]);return A.concat(a||e)}for(var Ne=function(){function A(e,t,r,n){this.left=e,this.top=t,this.width=r,this.height=n}return A.prototype.add=function(e,t,r,n){return new A(this.left+e,this.top+t,this.width+r,this.height+n)},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(n){return n.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}(),wn=function(A,e){return Ne.fromClientRect(A,e.getBoundingClientRect())},xm=function(A){var e=A.body,t=A.documentElement;if(!e||!t)throw new Error("Unable to get document size");var r=Math.max(Math.max(e.scrollWidth,t.scrollWidth),Math.max(e.offsetWidth,t.offsetWidth),Math.max(e.clientWidth,t.clientWidth)),n=Math.max(Math.max(e.scrollHeight,t.scrollHeight),Math.max(e.offsetHeight,t.offsetHeight),Math.max(e.clientHeight,t.clientHeight));return new Ne(0,0,r,n)},bn=function(A){for(var e=[],t=0,r=A.length;t<r;){var n=A.charCodeAt(t++);if(n>=55296&&n<=56319&&t<r){var a=A.charCodeAt(t++);(a&64512)===56320?e.push(((n&1023)<<10)+(a&1023)+65536):(e.push(n),t--)}else e.push(n)}return e},UA=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=[],n=-1,a="";++n<t;){var i=A[n];i<=65535?r.push(i):(i-=65536,r.push((i>>10)+55296,i%1024+56320)),(n+1===t||r.length>16384)&&(a+=String.fromCharCode.apply(String,r),r.length=0)}return a},zu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",vm=typeof Uint8Array>"u"?[]:new Uint8Array(256),Tn=0;Tn<zu.length;Tn++)vm[zu.charCodeAt(Tn)]=Tn;for(var $u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Er=typeof Uint8Array>"u"?[]:new Uint8Array(256),Un=0;Un<$u.length;Un++)Er[$u.charCodeAt(Un)]=Un;for(var _m=function(A){var e=A.length*.75,t=A.length,r,n=0,a,i,s,u;A[A.length-1]==="="&&(e--,A[A.length-2]==="="&&e--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(e):new Array(e),d=Array.isArray(l)?l:new Uint8Array(l);for(r=0;r<t;r+=4)a=Er[A.charCodeAt(r)],i=Er[A.charCodeAt(r+1)],s=Er[A.charCodeAt(r+2)],u=Er[A.charCodeAt(r+3)],d[n++]=a<<2|i>>4,d[n++]=(i&15)<<4|s>>2,d[n++]=(s&3)<<6|u&63;return l},Nm=function(A){for(var e=A.length,t=[],r=0;r<e;r+=2)t.push(A[r+1]<<8|A[r]);return t},Sm=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},ft=5,Qi=11,Fi=2,Lm=Qi-ft,Zu=65536>>ft,Hm=1<<ft,Ii=Hm-1,Dm=1024>>ft,Om=Zu+Dm,Rm=Om,Mm=32,km=Rm+Mm,Pm=65536>>Qi,Km=1<<Lm,Vm=Km-1,Ac=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},Gm=function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))},Ym=function(A,e){var t=_m(A),r=Array.isArray(t)?Sm(t):new Uint32Array(t),n=Array.isArray(t)?Nm(t):new Uint16Array(t),a=24,i=Ac(n,a/2,r[4]/2),s=r[5]===2?Ac(n,(a+r[4])/2):Gm(r,Math.ceil((a+r[4])/4));return new Xm(r[0],r[1],r[2],r[3],i,s)},Xm=function(){function A(e,t,r,n,a,i){this.initialValue=e,this.errorValue=t,this.highStart=r,this.highValueIndex=n,this.index=a,this.data=i}return A.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>ft],t=(t<<Fi)+(e&Ii),this.data[t];if(e<=65535)return t=this.index[Zu+(e-55296>>ft)],t=(t<<Fi)+(e&Ii),this.data[t];if(e<this.highStart)return t=km-Pm+(e>>Qi),t=this.index[t],t+=e>>ft&Vm,t=this.index[t],t=(t<<Fi)+(e&Ii),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),ec="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Wm=typeof Uint8Array>"u"?[]:new Uint8Array(256),Qn=0;Qn<ec.length;Qn++)Wm[ec.charCodeAt(Qn)]=Qn;var Jm="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",tc=50,qm=1,rc=2,nc=3,jm=4,zm=5,ac=7,ic=8,sc=9,We=10,yi=11,oc=12,xi=13,$m=14,mr=15,vi=16,Fn=17,Cr=18,Zm=19,uc=20,_i=21,wr=22,Ni=23,_t=24,ie=25,br=26,Tr=27,Nt=28,A1=29,ht=30,e1=31,In=32,yn=33,Si=34,Li=35,Hi=36,Ur=37,Di=38,xn=39,vn=40,Oi=41,cc=42,t1=43,r1=[9001,65288],lc="!",tA="×",_n="÷",Ri=Ym(Jm),Se=[ht,Hi],Mi=[qm,rc,nc,zm],dc=[We,ic],fc=[Tr,br],n1=Mi.concat(dc),hc=[Di,xn,vn,Si,Li],a1=[mr,xi],i1=function(A,e){e===void 0&&(e="strict");var t=[],r=[],n=[];return A.forEach(function(a,i){var s=Ri.get(a);if(s>tc?(n.push(!0),s-=tc):n.push(!1),["normal","auto","loose"].indexOf(e)!==-1&&[8208,8211,12316,12448].indexOf(a)!==-1)return r.push(i),t.push(vi);if(s===jm||s===yi){if(i===0)return r.push(i),t.push(ht);var u=t[i-1];return n1.indexOf(u)===-1?(r.push(r[i-1]),t.push(u)):(r.push(i),t.push(ht))}if(r.push(i),s===e1)return t.push(e==="strict"?_i:Ur);if(s===cc||s===A1)return t.push(ht);if(s===t1)return a>=131072&&a<=196605||a>=196608&&a<=262141?t.push(Ur):t.push(ht);t.push(s)}),[r,t,n]},ki=function(A,e,t,r){var n=r[t];if(Array.isArray(A)?A.indexOf(n)!==-1:A===n)for(var a=t;a<=r.length;){a++;var i=r[a];if(i===e)return!0;if(i!==We)break}if(n===We)for(var a=t;a>0;){a--;var s=r[a];if(Array.isArray(A)?A.indexOf(s)!==-1:A===s)for(var u=t;u<=r.length;){u++;var i=r[u];if(i===e)return!0;if(i!==We)break}if(s!==We)break}return!1},Bc=function(A,e){for(var t=A;t>=0;){var r=e[t];if(r===We)t--;else return r}return 0},s1=function(A,e,t,r,n){if(t[r]===0)return tA;var a=r-1;if(Array.isArray(n)&&n[a]===!0)return tA;var i=a-1,s=a+1,u=e[a],l=i>=0?e[i]:0,d=e[s];if(u===rc&&d===nc)return tA;if(Mi.indexOf(u)!==-1)return lc;if(Mi.indexOf(d)!==-1||dc.indexOf(d)!==-1)return tA;if(Bc(a,e)===ic)return _n;if(Ri.get(A[a])===yi||(u===In||u===yn)&&Ri.get(A[s])===yi||u===ac||d===ac||u===sc||[We,xi,mr].indexOf(u)===-1&&d===sc||[Fn,Cr,Zm,_t,Nt].indexOf(d)!==-1||Bc(a,e)===wr||ki(Ni,wr,a,e)||ki([Fn,Cr],_i,a,e)||ki(oc,oc,a,e))return tA;if(u===We)return _n;if(u===Ni||d===Ni)return tA;if(d===vi||u===vi)return _n;if([xi,mr,_i].indexOf(d)!==-1||u===$m||l===Hi&&a1.indexOf(u)!==-1||u===Nt&&d===Hi||d===uc||Se.indexOf(d)!==-1&&u===ie||Se.indexOf(u)!==-1&&d===ie||u===Tr&&[Ur,In,yn].indexOf(d)!==-1||[Ur,In,yn].indexOf(u)!==-1&&d===br||Se.indexOf(u)!==-1&&fc.indexOf(d)!==-1||fc.indexOf(u)!==-1&&Se.indexOf(d)!==-1||[Tr,br].indexOf(u)!==-1&&(d===ie||[wr,mr].indexOf(d)!==-1&&e[s+1]===ie)||[wr,mr].indexOf(u)!==-1&&d===ie||u===ie&&[ie,Nt,_t].indexOf(d)!==-1)return tA;if([ie,Nt,_t,Fn,Cr].indexOf(d)!==-1)for(var f=a;f>=0;){var h=e[f];if(h===ie)return tA;if([Nt,_t].indexOf(h)!==-1)f--;else break}if([Tr,br].indexOf(d)!==-1)for(var f=[Fn,Cr].indexOf(u)!==-1?i:a;f>=0;){var h=e[f];if(h===ie)return tA;if([Nt,_t].indexOf(h)!==-1)f--;else break}if(Di===u&&[Di,xn,Si,Li].indexOf(d)!==-1||[xn,Si].indexOf(u)!==-1&&[xn,vn].indexOf(d)!==-1||[vn,Li].indexOf(u)!==-1&&d===vn||hc.indexOf(u)!==-1&&[uc,br].indexOf(d)!==-1||hc.indexOf(d)!==-1&&u===Tr||Se.indexOf(u)!==-1&&Se.indexOf(d)!==-1||u===_t&&Se.indexOf(d)!==-1||Se.concat(ie).indexOf(u)!==-1&&d===wr&&r1.indexOf(A[s])===-1||Se.concat(ie).indexOf(d)!==-1&&u===Cr)return tA;if(u===Oi&&d===Oi){for(var C=t[a],m=1;C>0&&(C--,e[C]===Oi);)m++;if(m%2!==0)return tA}return u===In&&d===yn?tA:_n},o1=function(A,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var t=i1(A,e.lineBreak),r=t[0],n=t[1],a=t[2];(e.wordBreak==="break-all"||e.wordBreak==="break-word")&&(n=n.map(function(s){return[ie,ht,cc].indexOf(s)!==-1?Ur:s}));var i=e.wordBreak==="keep-all"?a.map(function(s,u){return s&&A[u]>=19968&&A[u]<=40959}):void 0;return[r,n,i]},u1=function(){function A(e,t,r,n){this.codePoints=e,this.required=t===lc,this.start=r,this.end=n}return A.prototype.slice=function(){return UA.apply(void 0,this.codePoints.slice(this.start,this.end))},A}(),c1=function(A,e){var t=bn(A),r=o1(t,e),n=r[0],a=r[1],i=r[2],s=t.length,u=0,l=0;return{next:function(){if(l>=s)return{done:!0,value:null};for(var d=tA;l<s&&(d=s1(t,a,n,++l,i))===tA;);if(d!==tA||l===s){var f=new u1(t,d,u,l);return u=l,{value:f,done:!1}}return{done:!0,value:null}}}},l1=1,d1=2,Qr=4,gc=8,Nn=10,pc=47,Fr=92,f1=9,h1=32,Sn=34,Ir=61,B1=35,g1=36,p1=37,Ln=39,Hn=40,yr=41,E1=95,ne=45,m1=33,C1=60,w1=62,b1=64,T1=91,U1=93,Q1=61,F1=123,Dn=63,I1=125,Ec=124,y1=126,x1=128,mc=65533,Pi=42,Bt=43,v1=44,_1=58,N1=59,xr=46,S1=0,L1=8,H1=11,D1=14,O1=31,R1=127,Fe=-1,Cc=48,wc=97,bc=101,M1=102,k1=117,P1=122,Tc=65,Uc=69,Qc=70,K1=85,V1=90,YA=function(A){return A>=Cc&&A<=57},G1=function(A){return A>=55296&&A<=57343},St=function(A){return YA(A)||A>=Tc&&A<=Qc||A>=wc&&A<=M1},Y1=function(A){return A>=wc&&A<=P1},X1=function(A){return A>=Tc&&A<=V1},W1=function(A){return Y1(A)||X1(A)},J1=function(A){return A>=x1},On=function(A){return A===Nn||A===f1||A===h1},Rn=function(A){return W1(A)||J1(A)||A===E1},Fc=function(A){return Rn(A)||YA(A)||A===ne},q1=function(A){return A>=S1&&A<=L1||A===H1||A>=D1&&A<=O1||A===R1},Je=function(A,e){return A!==Fr?!1:e!==Nn},Mn=function(A,e,t){return A===ne?Rn(e)||Je(e,t):Rn(A)?!0:!!(A===Fr&&Je(A,e))},Ki=function(A,e,t){return A===Bt||A===ne?YA(e)?!0:e===xr&&YA(t):YA(A===xr?e:A)},j1=function(A){var e=0,t=1;(A[e]===Bt||A[e]===ne)&&(A[e]===ne&&(t=-1),e++);for(var r=[];YA(A[e]);)r.push(A[e++]);var n=r.length?parseInt(UA.apply(void 0,r),10):0;A[e]===xr&&e++;for(var a=[];YA(A[e]);)a.push(A[e++]);var i=a.length,s=i?parseInt(UA.apply(void 0,a),10):0;(A[e]===Uc||A[e]===bc)&&e++;var u=1;(A[e]===Bt||A[e]===ne)&&(A[e]===ne&&(u=-1),e++);for(var l=[];YA(A[e]);)l.push(A[e++]);var d=l.length?parseInt(UA.apply(void 0,l),10):0;return t*(n+s*Math.pow(10,-i))*Math.pow(10,u*d)},z1={type:2},$1={type:3},Z1={type:4},AC={type:13},eC={type:8},tC={type:21},rC={type:9},nC={type:10},aC={type:11},iC={type:12},sC={type:14},kn={type:23},oC={type:1},uC={type:25},cC={type:24},lC={type:26},dC={type:27},fC={type:28},hC={type:29},BC={type:31},Vi={type:32},Ic=function(){function A(){this._value=[]}return A.prototype.write=function(e){this._value=this._value.concat(bn(e))},A.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==Vi;)e.push(t),t=this.consumeToken();return e},A.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case Sn:return this.consumeStringToken(Sn);case B1:var t=this.peekCodePoint(0),r=this.peekCodePoint(1),n=this.peekCodePoint(2);if(Fc(t)||Je(r,n)){var a=Mn(t,r,n)?d1:l1,i=this.consumeName();return{type:5,value:i,flags:a}}break;case g1:if(this.peekCodePoint(0)===Ir)return this.consumeCodePoint(),AC;break;case Ln:return this.consumeStringToken(Ln);case Hn:return z1;case yr:return $1;case Pi:if(this.peekCodePoint(0)===Ir)return this.consumeCodePoint(),sC;break;case Bt:if(Ki(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case v1:return Z1;case ne:var s=e,u=this.peekCodePoint(0),l=this.peekCodePoint(1);if(Ki(s,u,l))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(Mn(s,u,l))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(u===ne&&l===w1)return this.consumeCodePoint(),this.consumeCodePoint(),cC;break;case xr:if(Ki(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case pc:if(this.peekCodePoint(0)===Pi)for(this.consumeCodePoint();;){var d=this.consumeCodePoint();if(d===Pi&&(d=this.consumeCodePoint(),d===pc))return this.consumeToken();if(d===Fe)return this.consumeToken()}break;case _1:return lC;case N1:return dC;case C1:if(this.peekCodePoint(0)===m1&&this.peekCodePoint(1)===ne&&this.peekCodePoint(2)===ne)return this.consumeCodePoint(),this.consumeCodePoint(),uC;break;case b1:var f=this.peekCodePoint(0),h=this.peekCodePoint(1),C=this.peekCodePoint(2);if(Mn(f,h,C)){var i=this.consumeName();return{type:7,value:i}}break;case T1:return fC;case Fr:if(Je(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case U1:return hC;case Q1:if(this.peekCodePoint(0)===Ir)return this.consumeCodePoint(),eC;break;case F1:return aC;case I1:return iC;case k1:case K1:var m=this.peekCodePoint(0),T=this.peekCodePoint(1);return m===Bt&&(St(T)||T===Dn)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case Ec:if(this.peekCodePoint(0)===Ir)return this.consumeCodePoint(),rC;if(this.peekCodePoint(0)===Ec)return this.consumeCodePoint(),tC;break;case y1:if(this.peekCodePoint(0)===Ir)return this.consumeCodePoint(),nC;break;case Fe:return Vi}return On(e)?(this.consumeWhiteSpace(),BC):YA(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):Rn(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:UA(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();St(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var r=!1;t===Dn&&e.length<6;)e.push(t),t=this.consumeCodePoint(),r=!0;if(r){var n=parseInt(UA.apply(void 0,e.map(function(u){return u===Dn?Cc:u})),16),a=parseInt(UA.apply(void 0,e.map(function(u){return u===Dn?Qc:u})),16);return{type:30,start:n,end:a}}var i=parseInt(UA.apply(void 0,e),16);if(this.peekCodePoint(0)===ne&&St(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var s=[];St(t)&&s.length<6;)s.push(t),t=this.consumeCodePoint();var a=parseInt(UA.apply(void 0,s),16);return{type:30,start:i,end:a}}else return{type:30,start:i,end:i}},A.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return e.toLowerCase()==="url"&&this.peekCodePoint(0)===Hn?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Hn?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},A.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Fe)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===Ln||t===Sn){var r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Fe||this.peekCodePoint(0)===yr)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),kn)}for(;;){var n=this.consumeCodePoint();if(n===Fe||n===yr)return{type:22,value:UA.apply(void 0,e)};if(On(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Fe||this.peekCodePoint(0)===yr?(this.consumeCodePoint(),{type:22,value:UA.apply(void 0,e)}):(this.consumeBadUrlRemnants(),kn);if(n===Sn||n===Ln||n===Hn||q1(n))return this.consumeBadUrlRemnants(),kn;if(n===Fr)if(Je(n,this.peekCodePoint(0)))e.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),kn;else e.push(n)}},A.prototype.consumeWhiteSpace=function(){for(;On(this.peekCodePoint(0));)this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(e===yr||e===Fe)return;Je(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(e){for(var t=5e4,r="";e>0;){var n=Math.min(t,e);r+=UA.apply(void 0,this._value.splice(0,n)),e-=n}return this._value.shift(),r},A.prototype.consumeStringToken=function(e){var t="",r=0;do{var n=this._value[r];if(n===Fe||n===void 0||n===e)return t+=this.consumeStringSlice(r),{type:0,value:t};if(n===Nn)return this._value.splice(0,r),oC;if(n===Fr){var a=this._value[r+1];a!==Fe&&a!==void 0&&(a===Nn?(t+=this.consumeStringSlice(r),r=-1,this._value.shift()):Je(n,a)&&(t+=this.consumeStringSlice(r),t+=UA(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)},A.prototype.consumeNumber=function(){var e=[],t=Qr,r=this.peekCodePoint(0);for((r===Bt||r===ne)&&e.push(this.consumeCodePoint());YA(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(r===xr&&YA(n))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=gc;YA(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0),n=this.peekCodePoint(1);var a=this.peekCodePoint(2);if((r===Uc||r===bc)&&((n===Bt||n===ne)&&YA(a)||YA(n)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=gc;YA(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[j1(e),t]},A.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],r=e[1],n=this.peekCodePoint(0),a=this.peekCodePoint(1),i=this.peekCodePoint(2);if(Mn(n,a,i)){var s=this.consumeName();return{type:15,number:t,flags:r,unit:s}}return n===p1?(this.consumeCodePoint(),{type:16,number:t,flags:r}):{type:17,number:t,flags:r}},A.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(St(e)){for(var t=UA(e);St(this.peekCodePoint(0))&&t.length<6;)t+=UA(this.consumeCodePoint());On(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(t,16);return r===0||G1(r)||r>1114111?mc:r}return e===Fe?mc:e},A.prototype.consumeName=function(){for(var e="";;){var t=this.consumeCodePoint();if(Fc(t))e+=UA(t);else if(Je(t,this.peekCodePoint(0)))e+=UA(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(t),e}},A}(),yc=function(){function A(e){this._tokens=e}return A.create=function(e){var t=new Ic;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||pC(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"?Vi:e},A.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},A}(),vr=function(A){return A.type===15},Lt=function(A){return A.type===17},lA=function(A){return A.type===20},gC=function(A){return A.type===0},Gi=function(A,e){return lA(A)&&A.value===e},xc=function(A){return A.type!==31},Ht=function(A){return A.type!==31&&A.type!==4},Ie=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},pC=function(A,e){return e===11&&A.type===12||e===28&&A.type===29?!0:e===2&&A.type===3},qe=function(A){return A.type===17||A.type===15},IA=function(A){return A.type===16||qe(A)},vc=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},MA={type:17,number:0,flags:Qr},Yi={type:16,number:50,flags:Qr},je={type:16,number:100,flags:Qr},_r=function(A,e,t){var r=A[0],n=A[1];return[gA(r,e),gA(typeof n<"u"?n:r,t)]},gA=function(A,e){if(A.type===16)return A.number/100*e;if(vr(A))switch(A.unit){case"rem":case"em":return 16*A.number;case"px":default:return A.number}return A.number},_c="deg",Nc="grad",Sc="rad",Lc="turn",Pn={name:"angle",parse:function(A,e){if(e.type===15)switch(e.unit){case _c:return Math.PI*e.number/180;case Nc:return Math.PI/200*e.number;case Sc:return e.number;case Lc:return Math.PI*2*e.number}throw new Error("Unsupported angle type")}},Hc=function(A){return A.type===15&&(A.unit===_c||A.unit===Nc||A.unit===Sc||A.unit===Lc)},Dc=function(A){var e=A.filter(lA).map(function(t){return t.value}).join(" ");switch(e){case"to bottom right":case"to right bottom":case"left top":case"top left":return[MA,MA];case"to top":case"bottom":return le(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[MA,je];case"to right":case"left":return le(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[je,je];case"to bottom":case"top":return le(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[je,MA];case"to left":case"right":return le(270)}return 0},le=function(A){return Math.PI*A/180},ze={name:"color",parse:function(A,e){if(e.type===18){var t=EC[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),n=e.value.substring(1,2),a=e.value.substring(2,3);return Ze(parseInt(r+r,16),parseInt(n+n,16),parseInt(a+a,16),1)}if(e.value.length===4){var r=e.value.substring(0,1),n=e.value.substring(1,2),a=e.value.substring(2,3),i=e.value.substring(3,4);return Ze(parseInt(r+r,16),parseInt(n+n,16),parseInt(a+a,16),parseInt(i+i,16)/255)}if(e.value.length===6){var r=e.value.substring(0,2),n=e.value.substring(2,4),a=e.value.substring(4,6);return Ze(parseInt(r,16),parseInt(n,16),parseInt(a,16),1)}if(e.value.length===8){var r=e.value.substring(0,2),n=e.value.substring(2,4),a=e.value.substring(4,6),i=e.value.substring(6,8);return Ze(parseInt(r,16),parseInt(n,16),parseInt(a,16),parseInt(i,16)/255)}}if(e.type===20){var s=Le[e.value.toUpperCase()];if(typeof s<"u")return s}return Le.TRANSPARENT}},$e=function(A){return(255&A)===0},DA=function(A){var e=255&A,t=255&A>>8,r=255&A>>16,n=255&A>>24;return e<255?"rgba("+n+","+r+","+t+","+e/255+")":"rgb("+n+","+r+","+t+")"},Ze=function(A,e,t,r){return(A<<24|e<<16|t<<8|Math.round(r*255)<<0)>>>0},Oc=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},Rc=function(A,e){var t=e.filter(Ht);if(t.length===3){var r=t.map(Oc),n=r[0],a=r[1],i=r[2];return Ze(n,a,i,1)}if(t.length===4){var s=t.map(Oc),n=s[0],a=s[1],i=s[2],u=s[3];return Ze(n,a,i,u)}return 0};function Xi(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 Mc=function(A,e){var t=e.filter(Ht),r=t[0],n=t[1],a=t[2],i=t[3],s=(r.type===17?le(r.number):Pn.parse(A,r))/(Math.PI*2),u=IA(n)?n.number/100:0,l=IA(a)?a.number/100:0,d=typeof i<"u"&&IA(i)?gA(i,1):1;if(u===0)return Ze(l*255,l*255,l*255,1);var f=l<=.5?l*(u+1):l+u-l*u,h=l*2-f,C=Xi(h,f,s+1/3),m=Xi(h,f,s),T=Xi(h,f,s-1/3);return Ze(C*255,m*255,T*255,d)},EC={hsl:Mc,hsla:Mc,rgb:Rc,rgba:Rc},Nr=function(A,e){return ze.parse(A,yc.create(e).parseComponentValue())},Le={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},mC={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(lA(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},CC={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Kn=function(A,e){var t=ze.parse(A,e[0]),r=e[1];return r&&IA(r)?{color:t,stop:r}:{color:t,stop:null}},kc=function(A,e){var t=A[0],r=A[A.length-1];t.stop===null&&(t.stop=MA),r.stop===null&&(r.stop=je);for(var n=[],a=0,i=0;i<A.length;i++){var s=A[i].stop;if(s!==null){var u=gA(s,e);u>a?n.push(u):n.push(a),a=u}else n.push(null)}for(var l=null,i=0;i<n.length;i++){var d=n[i];if(d===null)l===null&&(l=i);else if(l!==null){for(var f=i-l,h=n[l-1],C=(d-h)/(f+1),m=1;m<=f;m++)n[l+m-1]=C*m;l=null}}return A.map(function(T,v){var b=T.color;return{color:b,stop:Math.max(Math.min(1,n[v]/e),0)}})},wC=function(A,e,t){var r=e/2,n=t/2,a=gA(A[0],e)-r,i=n-gA(A[1],t);return(Math.atan2(i,a)+Math.PI*2)%(Math.PI*2)},bC=function(A,e,t){var r=typeof A=="number"?A:wC(A,e,t),n=Math.abs(e*Math.sin(r))+Math.abs(t*Math.cos(r)),a=e/2,i=t/2,s=n/2,u=Math.sin(r-Math.PI/2)*s,l=Math.cos(r-Math.PI/2)*s;return[n,a-l,a+l,i-u,i+u]},Ce=function(A,e){return Math.sqrt(A*A+e*e)},Pc=function(A,e,t,r,n){var a=[[0,0],[0,e],[A,0],[A,e]];return a.reduce(function(i,s){var u=s[0],l=s[1],d=Ce(t-u,r-l);return(n?d<i.optimumDistance:d>i.optimumDistance)?{optimumCorner:s,optimumDistance:d}:i},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},TC=function(A,e,t,r,n){var a=0,i=0;switch(A.size){case 0:A.shape===0?a=i=Math.min(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===1&&(a=Math.min(Math.abs(e),Math.abs(e-r)),i=Math.min(Math.abs(t),Math.abs(t-n)));break;case 2:if(A.shape===0)a=i=Math.min(Ce(e,t),Ce(e,t-n),Ce(e-r,t),Ce(e-r,t-n));else if(A.shape===1){var s=Math.min(Math.abs(t),Math.abs(t-n))/Math.min(Math.abs(e),Math.abs(e-r)),u=Pc(r,n,e,t,!0),l=u[0],d=u[1];a=Ce(l-e,(d-t)/s),i=s*a}break;case 1:A.shape===0?a=i=Math.max(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===1&&(a=Math.max(Math.abs(e),Math.abs(e-r)),i=Math.max(Math.abs(t),Math.abs(t-n)));break;case 3:if(A.shape===0)a=i=Math.max(Ce(e,t),Ce(e,t-n),Ce(e-r,t),Ce(e-r,t-n));else if(A.shape===1){var s=Math.max(Math.abs(t),Math.abs(t-n))/Math.max(Math.abs(e),Math.abs(e-r)),f=Pc(r,n,e,t,!1),l=f[0],d=f[1];a=Ce(l-e,(d-t)/s),i=s*a}break}return Array.isArray(A.size)&&(a=gA(A.size[0],r),i=A.size.length===2?gA(A.size[1],n):a),[a,i]},UC=function(A,e){var t=le(180),r=[];return Ie(e).forEach(function(n,a){if(a===0){var i=n[0];if(i.type===20&&i.value==="to"){t=Dc(n);return}else if(Hc(i)){t=Pn.parse(A,i);return}}var s=Kn(A,n);r.push(s)}),{angle:t,stops:r,type:1}},Vn=function(A,e){var t=le(180),r=[];return Ie(e).forEach(function(n,a){if(a===0){var i=n[0];if(i.type===20&&["top","left","right","bottom"].indexOf(i.value)!==-1){t=Dc(n);return}else if(Hc(i)){t=(Pn.parse(A,i)+le(270))%le(360);return}}var s=Kn(A,n);r.push(s)}),{angle:t,stops:r,type:1}},QC=function(A,e){var t=le(180),r=[],n=1,a=0,i=3,s=[];return Ie(e).forEach(function(u,l){var d=u[0];if(l===0){if(lA(d)&&d.value==="linear"){n=1;return}else if(lA(d)&&d.value==="radial"){n=2;return}}if(d.type===18){if(d.name==="from"){var f=ze.parse(A,d.values[0]);r.push({stop:MA,color:f})}else if(d.name==="to"){var f=ze.parse(A,d.values[0]);r.push({stop:je,color:f})}else if(d.name==="color-stop"){var h=d.values.filter(Ht);if(h.length===2){var f=ze.parse(A,h[1]),C=h[0];Lt(C)&&r.push({stop:{type:16,number:C.number*100,flags:C.flags},color:f})}}}}),n===1?{angle:(t+le(180))%le(360),stops:r,type:n}:{size:i,shape:a,stops:r,position:s,type:n}},Kc="closest-side",Vc="farthest-side",Gc="closest-corner",Yc="farthest-corner",Xc="circle",Wc="ellipse",Jc="cover",qc="contain",FC=function(A,e){var t=0,r=3,n=[],a=[];return Ie(e).forEach(function(i,s){var u=!0;if(s===0){var l=!1;u=i.reduce(function(f,h){if(l)if(lA(h))switch(h.value){case"center":return a.push(Yi),f;case"top":case"left":return a.push(MA),f;case"right":case"bottom":return a.push(je),f}else(IA(h)||qe(h))&&a.push(h);else if(lA(h))switch(h.value){case Xc:return t=0,!1;case Wc:return t=1,!1;case"at":return l=!0,!1;case Kc:return r=0,!1;case Jc:case Vc:return r=1,!1;case qc:case Gc:return r=2,!1;case Yc:return r=3,!1}else if(qe(h)||IA(h))return Array.isArray(r)||(r=[]),r.push(h),!1;return f},u)}if(u){var d=Kn(A,i);n.push(d)}}),{size:r,shape:t,stops:n,position:a,type:2}},Gn=function(A,e){var t=0,r=3,n=[],a=[];return Ie(e).forEach(function(i,s){var u=!0;if(s===0?u=i.reduce(function(d,f){if(lA(f))switch(f.value){case"center":return a.push(Yi),!1;case"top":case"left":return a.push(MA),!1;case"right":case"bottom":return a.push(je),!1}else if(IA(f)||qe(f))return a.push(f),!1;return d},u):s===1&&(u=i.reduce(function(d,f){if(lA(f))switch(f.value){case Xc:return t=0,!1;case Wc:return t=1,!1;case qc:case Kc:return r=0,!1;case Vc:return r=1,!1;case Gc:return r=2,!1;case Jc:case Yc:return r=3,!1}else if(qe(f)||IA(f))return Array.isArray(r)||(r=[]),r.push(f),!1;return d},u)),u){var l=Kn(A,i);n.push(l)}}),{size:r,shape:t,stops:n,position:a,type:2}},IC=function(A){return A.type===1},yC=function(A){return A.type===2},Wi={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=jc[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 xC(A){return!(A.type===20&&A.value==="none")&&(A.type!==18||!!jc[A.name])}var jc={"linear-gradient":UC,"-moz-linear-gradient":Vn,"-ms-linear-gradient":Vn,"-o-linear-gradient":Vn,"-webkit-linear-gradient":Vn,"radial-gradient":FC,"-moz-radial-gradient":Gn,"-ms-radial-gradient":Gn,"-o-radial-gradient":Gn,"-webkit-radial-gradient":Gn,"-webkit-gradient":QC},vC={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 Ht(r)&&xC(r)}).map(function(r){return Wi.parse(A,r)})}},_C={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(lA(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},NC={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(A,e){return Ie(e).map(function(t){return t.filter(IA)}).map(vc)}},SC={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(A,e){return Ie(e).map(function(t){return t.filter(lA).map(function(r){return r.value}).join(" ")}).map(LC)}},LC=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}},Dt;(function(A){A.AUTO="auto",A.CONTAIN="contain",A.COVER="cover"})(Dt||(Dt={}));var HC={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(A,e){return Ie(e).map(function(t){return t.filter(DC)})}},DC=function(A){return lA(A)||IA(A)},Yn=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},OC=Yn("top"),RC=Yn("right"),MC=Yn("bottom"),kC=Yn("left"),Xn=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:1,parse:function(e,t){return vc(t.filter(IA))}}},PC=Xn("top-left"),KC=Xn("top-right"),VC=Xn("bottom-right"),GC=Xn("bottom-left"),Wn=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}}},YC=Wn("top"),XC=Wn("right"),WC=Wn("bottom"),JC=Wn("left"),Jn=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return vr(t)?t.number:0}}},qC=Jn("top"),jC=Jn("right"),zC=Jn("bottom"),$C=Jn("left"),ZC={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Aw={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(A,e){switch(e){case"rtl":return 1;case"ltr":default:return 0}}},ew={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(A,e){return e.filter(lA).reduce(function(t,r){return t|tw(r.value)},0)}},tw=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},rw={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}},nw={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}},qn;(function(A){A.NORMAL="normal",A.STRICT="strict"})(qn||(qn={}));var aw={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"strict":return qn.STRICT;case"normal":default:return qn.NORMAL}}},iw={name:"line-height",initialValue:"normal",prefix:!1,type:4},zc=function(A,e){return lA(A)&&A.value==="normal"?1.2*e:A.type===17?e*A.number:IA(A)?gA(A,e):e},sw={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(A,e){return e.type===20&&e.value==="none"?null:Wi.parse(A,e)}},ow={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}}},Ji={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}}},jn=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:4}},uw=jn("top"),cw=jn("right"),lw=jn("bottom"),dw=jn("left"),fw={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(A,e){return e.filter(lA).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}})}},hw={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"}}},zn=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Bw=zn("top"),gw=zn("right"),pw=zn("bottom"),Ew=zn("left"),mw={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}}},Cw={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}},ww={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.length===1&&Gi(e[0],"none")?[]:Ie(e).map(function(t){for(var r={color:Le.TRANSPARENT,offsetX:MA,offsetY:MA,blur:MA},n=0,a=0;a<t.length;a++){var i=t[a];qe(i)?(n===0?r.offsetX=i:n===1?r.offsetY=i:r.blur=i,n++):r.color=ze.parse(A,i)}return r})}},bw={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}},Tw={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=Fw[e.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported transform function "'+e.name+'"');return t(e.values)}return null}},Uw=function(A){var e=A.filter(function(t){return t.type===17}).map(function(t){return t.number});return e.length===6?e:null},Qw=function(A){var e=A.filter(function(u){return u.type===17}).map(function(u){return u.number}),t=e[0],r=e[1];e[2],e[3];var n=e[4],a=e[5];e[6],e[7],e[8],e[9],e[10],e[11];var i=e[12],s=e[13];return e[14],e[15],e.length===16?[t,r,n,a,i,s]:null},Fw={matrix:Uw,matrix3d:Qw},$c={type:16,number:50,flags:Qr},Iw=[$c,$c],yw={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(A,e){var t=e.filter(IA);return t.length!==2?Iw:[t[0],t[1]]}},xw={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}}},Sr;(function(A){A.NORMAL="normal",A.BREAK_ALL="break-all",A.KEEP_ALL="keep-all"})(Sr||(Sr={}));for(var vw={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-all":return Sr.BREAK_ALL;case"keep-all":return Sr.KEEP_ALL;case"normal":default:return Sr.NORMAL}}},_w={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(A,e){if(e.type===20)return{auto:!0,order:0};if(Lt(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},Zc={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")}},Nw={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(A,e){return Lt(e)?e.number:1}},Sw={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Lw={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(A,e){return e.filter(lA).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})}},Hw={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(A,e){var t=[],r=[];return e.forEach(function(n){switch(n.type){case 20:case 0:t.push(n.value);break;case 17:t.push(n.number.toString());break;case 4:r.push(t.join(" ")),t.length=0;break}}),t.length&&r.push(t.join(" ")),r.map(function(n){return n.indexOf(" ")===-1?n:"'"+n+"'"})}},Dw={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Ow={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(A,e){if(Lt(e))return e.number;if(lA(e))switch(e.value){case"bold":return 700;case"normal":default:return 400}return 400}},Rw={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.filter(lA).map(function(t){return t.value})}},Mw={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"}}},xA=function(A,e){return(A&e)!==0},kw={name:"content",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}},Pw={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return null;var t=e[0];if(t.type===20&&t.value==="none")return null;for(var r=[],n=e.filter(xc),a=0;a<n.length;a++){var i=n[a],s=n[a+1];if(i.type===20){var u=s&&Lt(s)?s.number:1;r.push({counter:i.value,increment:u})}}return r}},Kw={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return[];for(var t=[],r=e.filter(xc),n=0;n<r.length;n++){var a=r[n],i=r[n+1];if(lA(a)&&a.value!=="none"){var s=i&&Lt(i)?i.number:0;t.push({counter:a.value,reset:s})}}return t}},Vw={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(A,e){return e.filter(vr).map(function(t){return Zc.parse(A,t)})}},Gw={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return null;var t=e[0];if(t.type===20&&t.value==="none")return null;var r=[],n=e.filter(gC);if(n.length%2!==0)return null;for(var a=0;a<n.length;a+=2){var i=n[a].value,s=n[a+1].value;r.push({open:i,close:s})}return r}},Al=function(A,e,t){if(!A)return"";var r=A[Math.min(e,A.length-1)];return r?t?r.open:r.close:""},Yw={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.length===1&&Gi(e[0],"none")?[]:Ie(e).map(function(t){for(var r={color:255,offsetX:MA,offsetY:MA,blur:MA,spread:MA,inset:!1},n=0,a=0;a<t.length;a++){var i=t[a];Gi(i,"inset")?r.inset=!0:qe(i)?(n===0?r.offsetX=i:n===1?r.offsetY=i:n===2?r.blur=i:r.spread=i,n++):r.color=ze.parse(A,i)}return r})}},Xw={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(A,e){var t=[0,1,2],r=[];return e.filter(lA).forEach(function(n){switch(n.value){case"stroke":r.push(1);break;case"fill":r.push(0);break;case"markers":r.push(2);break}}),t.forEach(function(n){r.indexOf(n)===-1&&r.push(n)}),r}},Ww={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},Jw={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(A,e){return vr(e)?e.number:0}},qw=function(){function A(e,t){var r,n;this.animationDuration=V(e,Vw,t.animationDuration),this.backgroundClip=V(e,mC,t.backgroundClip),this.backgroundColor=V(e,CC,t.backgroundColor),this.backgroundImage=V(e,vC,t.backgroundImage),this.backgroundOrigin=V(e,_C,t.backgroundOrigin),this.backgroundPosition=V(e,NC,t.backgroundPosition),this.backgroundRepeat=V(e,SC,t.backgroundRepeat),this.backgroundSize=V(e,HC,t.backgroundSize),this.borderTopColor=V(e,OC,t.borderTopColor),this.borderRightColor=V(e,RC,t.borderRightColor),this.borderBottomColor=V(e,MC,t.borderBottomColor),this.borderLeftColor=V(e,kC,t.borderLeftColor),this.borderTopLeftRadius=V(e,PC,t.borderTopLeftRadius),this.borderTopRightRadius=V(e,KC,t.borderTopRightRadius),this.borderBottomRightRadius=V(e,VC,t.borderBottomRightRadius),this.borderBottomLeftRadius=V(e,GC,t.borderBottomLeftRadius),this.borderTopStyle=V(e,YC,t.borderTopStyle),this.borderRightStyle=V(e,XC,t.borderRightStyle),this.borderBottomStyle=V(e,WC,t.borderBottomStyle),this.borderLeftStyle=V(e,JC,t.borderLeftStyle),this.borderTopWidth=V(e,qC,t.borderTopWidth),this.borderRightWidth=V(e,jC,t.borderRightWidth),this.borderBottomWidth=V(e,zC,t.borderBottomWidth),this.borderLeftWidth=V(e,$C,t.borderLeftWidth),this.boxShadow=V(e,Yw,t.boxShadow),this.color=V(e,ZC,t.color),this.direction=V(e,Aw,t.direction),this.display=V(e,ew,t.display),this.float=V(e,rw,t.cssFloat),this.fontFamily=V(e,Hw,t.fontFamily),this.fontSize=V(e,Dw,t.fontSize),this.fontStyle=V(e,Mw,t.fontStyle),this.fontVariant=V(e,Rw,t.fontVariant),this.fontWeight=V(e,Ow,t.fontWeight),this.letterSpacing=V(e,nw,t.letterSpacing),this.lineBreak=V(e,aw,t.lineBreak),this.lineHeight=V(e,iw,t.lineHeight),this.listStyleImage=V(e,sw,t.listStyleImage),this.listStylePosition=V(e,ow,t.listStylePosition),this.listStyleType=V(e,Ji,t.listStyleType),this.marginTop=V(e,uw,t.marginTop),this.marginRight=V(e,cw,t.marginRight),this.marginBottom=V(e,lw,t.marginBottom),this.marginLeft=V(e,dw,t.marginLeft),this.opacity=V(e,Nw,t.opacity);var a=V(e,fw,t.overflow);this.overflowX=a[0],this.overflowY=a[a.length>1?1:0],this.overflowWrap=V(e,hw,t.overflowWrap),this.paddingTop=V(e,Bw,t.paddingTop),this.paddingRight=V(e,gw,t.paddingRight),this.paddingBottom=V(e,pw,t.paddingBottom),this.paddingLeft=V(e,Ew,t.paddingLeft),this.paintOrder=V(e,Xw,t.paintOrder),this.position=V(e,Cw,t.position),this.textAlign=V(e,mw,t.textAlign),this.textDecorationColor=V(e,Sw,(r=t.textDecorationColor)!==null&&r!==void 0?r:t.color),this.textDecorationLine=V(e,Lw,(n=t.textDecorationLine)!==null&&n!==void 0?n:t.textDecoration),this.textShadow=V(e,ww,t.textShadow),this.textTransform=V(e,bw,t.textTransform),this.transform=V(e,Tw,t.transform),this.transformOrigin=V(e,yw,t.transformOrigin),this.visibility=V(e,xw,t.visibility),this.webkitTextStrokeColor=V(e,Ww,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=V(e,Jw,t.webkitTextStrokeWidth),this.wordBreak=V(e,vw,t.wordBreak),this.zIndex=V(e,_w,t.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},A.prototype.isTransparent=function(){return $e(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 xA(this.display,4)||xA(this.display,33554432)||xA(this.display,268435456)||xA(this.display,536870912)||xA(this.display,67108864)||xA(this.display,134217728)},A}(),jw=function(){function A(e,t){this.content=V(e,kw,t.content),this.quotes=V(e,Gw,t.quotes)}return A}(),el=function(){function A(e,t){this.counterIncrement=V(e,Pw,t.counterIncrement),this.counterReset=V(e,Kw,t.counterReset)}return A}(),V=function(A,e,t){var r=new Ic,n=t!==null&&typeof t<"u"?t.toString():e.initialValue;r.write(n);var a=new yc(r.read());switch(e.type){case 2:var i=a.parseComponentValue();return e.parse(A,lA(i)?i.value:e.initialValue);case 0:return e.parse(A,a.parseComponentValue());case 1:return e.parse(A,a.parseComponentValues());case 4:return a.parseComponentValue();case 3:switch(e.format){case"angle":return Pn.parse(A,a.parseComponentValue());case"color":return ze.parse(A,a.parseComponentValue());case"image":return Wi.parse(A,a.parseComponentValue());case"length":var s=a.parseComponentValue();return qe(s)?s:MA;case"length-percentage":var u=a.parseComponentValue();return IA(u)?u:MA;case"time":return Zc.parse(A,a.parseComponentValue())}break}},zw="data-html2canvas-debug",$w=function(A){var e=A.getAttribute(zw);switch(e){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},qi=function(A,e){var t=$w(A);return t===1||e===t},ye=function(){function A(e,t){if(this.context=e,this.textNodes=[],this.elements=[],this.flags=0,qi(t,3))debugger;this.styles=new qw(e,window.getComputedStyle(t,null)),us(t)&&(this.styles.animationDuration.some(function(r){return r>0})&&(t.style.animationDuration="0s"),this.styles.transform!==null&&(t.style.transform="none")),this.bounds=wn(this.context,t),qi(t,4)&&(this.flags|=16)}return A}(),Zw="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",tl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Lr=typeof Uint8Array>"u"?[]:new Uint8Array(256),$n=0;$n<tl.length;$n++)Lr[tl.charCodeAt($n)]=$n;for(var Ab=function(A){var e=A.length*.75,t=A.length,r,n=0,a,i,s,u;A[A.length-1]==="="&&(e--,A[A.length-2]==="="&&e--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(e):new Array(e),d=Array.isArray(l)?l:new Uint8Array(l);for(r=0;r<t;r+=4)a=Lr[A.charCodeAt(r)],i=Lr[A.charCodeAt(r+1)],s=Lr[A.charCodeAt(r+2)],u=Lr[A.charCodeAt(r+3)],d[n++]=a<<2|i>>4,d[n++]=(i&15)<<4|s>>2,d[n++]=(s&3)<<6|u&63;return l},eb=function(A){for(var e=A.length,t=[],r=0;r<e;r+=2)t.push(A[r+1]<<8|A[r]);return t},tb=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},gt=5,ji=11,zi=2,rb=ji-gt,rl=65536>>gt,nb=1<<gt,$i=nb-1,ab=1024>>gt,ib=rl+ab,sb=ib,ob=32,ub=sb+ob,cb=65536>>ji,lb=1<<rb,db=lb-1,nl=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},fb=function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))},hb=function(A,e){var t=Ab(A),r=Array.isArray(t)?tb(t):new Uint32Array(t),n=Array.isArray(t)?eb(t):new Uint16Array(t),a=24,i=nl(n,a/2,r[4]/2),s=r[5]===2?nl(n,(a+r[4])/2):fb(r,Math.ceil((a+r[4])/4));return new Bb(r[0],r[1],r[2],r[3],i,s)},Bb=function(){function A(e,t,r,n,a,i){this.initialValue=e,this.errorValue=t,this.highStart=r,this.highValueIndex=n,this.index=a,this.data=i}return A.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>gt],t=(t<<zi)+(e&$i),this.data[t];if(e<=65535)return t=this.index[rl+(e-55296>>gt)],t=(t<<zi)+(e&$i),this.data[t];if(e<this.highStart)return t=ub-cb+(e>>ji),t=this.index[t],t+=e>>gt&db,t=this.index[t],t=(t<<zi)+(e&$i),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),al="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",gb=typeof Uint8Array>"u"?[]:new Uint8Array(256),Zn=0;Zn<al.length;Zn++)gb[al.charCodeAt(Zn)]=Zn;var pb=1,Zi=2,As=3,il=4,sl=5,Eb=7,ol=8,es=9,ts=10,ul=11,cl=12,ll=13,dl=14,rs=15,mb=function(A){for(var e=[],t=0,r=A.length;t<r;){var n=A.charCodeAt(t++);if(n>=55296&&n<=56319&&t<r){var a=A.charCodeAt(t++);(a&64512)===56320?e.push(((n&1023)<<10)+(a&1023)+65536):(e.push(n),t--)}else e.push(n)}return e},Cb=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=[],n=-1,a="";++n<t;){var i=A[n];i<=65535?r.push(i):(i-=65536,r.push((i>>10)+55296,i%1024+56320)),(n+1===t||r.length>16384)&&(a+=String.fromCharCode.apply(String,r),r.length=0)}return a},wb=hb(Zw),de="×",ns="÷",bb=function(A){return wb.get(A)},Tb=function(A,e,t){var r=t-2,n=e[r],a=e[t-1],i=e[t];if(a===Zi&&i===As)return de;if(a===Zi||a===As||a===il||i===Zi||i===As||i===il)return ns;if(a===ol&&[ol,es,ul,cl].indexOf(i)!==-1||(a===ul||a===es)&&(i===es||i===ts)||(a===cl||a===ts)&&i===ts||i===ll||i===sl||i===Eb||a===pb)return de;if(a===ll&&i===dl){for(;n===sl;)n=e[--r];if(n===dl)return de}if(a===rs&&i===rs){for(var s=0;n===rs;)s++,n=e[--r];if(s%2===0)return de}return ns},Ub=function(A){var e=mb(A),t=e.length,r=0,n=0,a=e.map(bb);return{next:function(){if(r>=t)return{done:!0,value:null};for(var i=de;r<t&&(i=Tb(e,a,++r))===de;);if(i!==de||r===t){var s=Cb.apply(null,e.slice(n,r));return n=r,{value:s,done:!1}}return{done:!0,value:null}}}},Qb=function(A){for(var e=Ub(A),t=[],r;!(r=e.next()).done;)r.value&&t.push(r.value.slice());return t},Fb=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 n=t.getBoundingClientRect(),a=Math.round(n.height);if(A.body.removeChild(r),a===e)return!0}}return!1},Ib=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,n=bn(r.data).map(function(u){return UA(u)}),a=0,i={},s=n.every(function(u,l){t.setStart(r,a),t.setEnd(r,a+u.length);var d=t.getBoundingClientRect();a+=u.length;var f=d.x>i.x||d.y>i.y;return i=d,l===0?!0:f});return A.body.removeChild(e),s},yb=function(){return typeof new Image().crossOrigin<"u"},xb=function(){return typeof new XMLHttpRequest().responseType=="string"},vb=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},fl=function(A){return A[0]===0&&A[1]===255&&A[2]===0&&A[3]===255},_b=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 n=new Image,a=e.toDataURL();n.src=a;var i=as(t,t,0,0,n);return r.fillStyle="red",r.fillRect(0,0,t,t),hl(i).then(function(s){r.drawImage(s,0,0);var u=r.getImageData(0,0,t,t).data;r.fillStyle="red",r.fillRect(0,0,t,t);var l=A.createElement("div");return l.style.backgroundImage="url("+a+")",l.style.height=t+"px",fl(u)?hl(as(t,t,0,0,l)):Promise.reject(!1)}).then(function(s){return r.drawImage(s,0,0),fl(r.getImageData(0,0,t,t).data)}).catch(function(){return!1})},as=function(A,e,t,r,n){var a="http://www.w3.org/2000/svg",i=document.createElementNS(a,"svg"),s=document.createElementNS(a,"foreignObject");return i.setAttributeNS(null,"width",A.toString()),i.setAttributeNS(null,"height",e.toString()),s.setAttributeNS(null,"width","100%"),s.setAttributeNS(null,"height","100%"),s.setAttributeNS(null,"x",t.toString()),s.setAttributeNS(null,"y",r.toString()),s.setAttributeNS(null,"externalResourcesRequired","true"),i.appendChild(s),s.appendChild(n),i},hl=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))})},kA={get SUPPORT_RANGE_BOUNDS(){var A=Fb(document);return Object.defineProperty(kA,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_WORD_BREAKING(){var A=kA.SUPPORT_RANGE_BOUNDS&&Ib(document);return Object.defineProperty(kA,"SUPPORT_WORD_BREAKING",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=vb(document);return Object.defineProperty(kA,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A=typeof Array.from=="function"&&typeof window.fetch=="function"?_b(document):Promise.resolve(!1);return Object.defineProperty(kA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=yb();return Object.defineProperty(kA,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A=xb();return Object.defineProperty(kA,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(kA,"SUPPORT_CORS_XHR",{value:A}),A},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var A=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(kA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:A}),A}},Hr=function(){function A(e,t){this.text=e,this.bounds=t}return A}(),Nb=function(A,e,t,r){var n=Hb(e,t),a=[],i=0;return n.forEach(function(s){if(t.textDecorationLine.length||s.trim().length>0)if(kA.SUPPORT_RANGE_BOUNDS){var u=Bl(r,i,s.length).getClientRects();if(u.length>1){var l=is(s),d=0;l.forEach(function(h){a.push(new Hr(h,Ne.fromDOMRectList(A,Bl(r,d+i,h.length).getClientRects()))),d+=h.length})}else a.push(new Hr(s,Ne.fromDOMRectList(A,u)))}else{var f=r.splitText(s.length);a.push(new Hr(s,Sb(A,r))),r=f}else kA.SUPPORT_RANGE_BOUNDS||(r=r.splitText(s.length));i+=s.length}),a},Sb=function(A,e){var t=e.ownerDocument;if(t){var r=t.createElement("html2canvaswrapper");r.appendChild(e.cloneNode(!0));var n=e.parentNode;if(n){n.replaceChild(r,e);var a=wn(A,r);return r.firstChild&&n.replaceChild(r.firstChild,r),a}}return Ne.EMPTY},Bl=function(A,e,t){var r=A.ownerDocument;if(!r)throw new Error("Node has no owner document");var n=r.createRange();return n.setStart(A,e),n.setEnd(A,e+t),n},is=function(A){if(kA.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 Qb(A)},Lb=function(A,e){if(kA.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 Ob(A,e)},Hb=function(A,e){return e.letterSpacing!==0?is(A):Lb(A,e)},Db=[32,160,4961,65792,65793,4153,4241],Ob=function(A,e){for(var t=c1(A,{lineBreak:e.lineBreak,wordBreak:e.overflowWrap==="break-word"?"break-word":e.wordBreak}),r=[],n,a=function(){if(n.value){var i=n.value.slice(),s=bn(i),u="";s.forEach(function(l){Db.indexOf(l)===-1?u+=UA(l):(u.length&&r.push(u),r.push(UA(l)),u="")}),u.length&&r.push(u)}};!(n=t.next()).done;)a();return r},Rb=function(){function A(e,t,r){this.text=Mb(t.data,r.textTransform),this.textBounds=Nb(e,this.text,r,t)}return A}(),Mb=function(A,e){switch(e){case 1:return A.toLowerCase();case 3:return A.replace(kb,Pb);case 2:return A.toUpperCase();default:return A}},kb=/(^|\s|:|-|\(|\))([a-z])/g,Pb=function(A,e,t){return A.length>0?e+t.toUpperCase():A},gl=function(A){me(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.src=r.currentSrc||r.src,n.intrinsicWidth=r.naturalWidth,n.intrinsicHeight=r.naturalHeight,n.context.cache.addImage(n.src),n}return e}(ye),pl=function(A){me(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.canvas=r,n.intrinsicWidth=r.width,n.intrinsicHeight=r.height,n}return e}(ye),El=function(A){me(e,A);function e(t,r){var n=A.call(this,t,r)||this,a=new XMLSerializer,i=wn(t,r);return r.setAttribute("width",i.width+"px"),r.setAttribute("height",i.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(a.serializeToString(r)),n.intrinsicWidth=r.width.baseVal.value,n.intrinsicHeight=r.height.baseVal.value,n.context.cache.addImage(n.svg),n}return e}(ye),ml=function(A){me(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.value=r.value,n}return e}(ye),ss=function(A){me(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.start=r.start,n.reversed=typeof r.reversed=="boolean"&&r.reversed===!0,n}return e}(ye),Kb=[{type:15,flags:0,unit:"px",number:3}],Vb=[{type:16,flags:0,number:50}],Gb=function(A){return A.width>A.height?new Ne(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width<A.height?new Ne(A.left,A.top+(A.height-A.width)/2,A.width,A.width):A},Yb=function(A){var e=A.type===Xb?new Array(A.value.length+1).join("•"):A.value;return e.length===0?A.placeholder||"":e},Aa="checkbox",ea="radio",Xb="password",Cl=707406591,os=function(A){me(e,A);function e(t,r){var n=A.call(this,t,r)||this;switch(n.type=r.type.toLowerCase(),n.checked=r.checked,n.value=Yb(r),(n.type===Aa||n.type===ea)&&(n.styles.backgroundColor=3739148031,n.styles.borderTopColor=n.styles.borderRightColor=n.styles.borderBottomColor=n.styles.borderLeftColor=2779096575,n.styles.borderTopWidth=n.styles.borderRightWidth=n.styles.borderBottomWidth=n.styles.borderLeftWidth=1,n.styles.borderTopStyle=n.styles.borderRightStyle=n.styles.borderBottomStyle=n.styles.borderLeftStyle=1,n.styles.backgroundClip=[0],n.styles.backgroundOrigin=[0],n.bounds=Gb(n.bounds)),n.type){case Aa:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=Kb;break;case ea:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=Vb;break}return n}return e}(ye),wl=function(A){me(e,A);function e(t,r){var n=A.call(this,t,r)||this,a=r.options[r.selectedIndex||0];return n.value=a&&a.text||"",n}return e}(ye),bl=function(A){me(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.value=r.value,n}return e}(ye),Tl=function(A){me(e,A);function e(t,r){var n=A.call(this,t,r)||this;n.src=r.src,n.width=parseInt(r.width,10)||0,n.height=parseInt(r.height,10)||0,n.backgroundColor=n.styles.backgroundColor;try{if(r.contentWindow&&r.contentWindow.document&&r.contentWindow.document.documentElement){n.tree=Ql(t,r.contentWindow.document.documentElement);var a=r.contentWindow.document.documentElement?Nr(t,getComputedStyle(r.contentWindow.document.documentElement).backgroundColor):Le.TRANSPARENT,i=r.contentWindow.document.body?Nr(t,getComputedStyle(r.contentWindow.document.body).backgroundColor):Le.TRANSPARENT;n.backgroundColor=$e(a)?$e(i)?n.styles.backgroundColor:i:a}}catch{}return n}return e}(ye),Wb=["OL","UL","MENU"],ta=function(A,e,t,r){for(var n=e.firstChild,a=void 0;n;n=a)if(a=n.nextSibling,Fl(n)&&n.data.trim().length>0)t.textNodes.push(new Rb(A,n,t.styles));else if(Ot(n))if(Nl(n)&&n.assignedNodes)n.assignedNodes().forEach(function(s){return ta(A,s,t,r)});else{var i=Ul(A,n);i.styles.isVisible()&&(Jb(n,i,r)?i.flags|=4:qb(i.styles)&&(i.flags|=2),Wb.indexOf(n.tagName)!==-1&&(i.flags|=8),t.elements.push(i),n.slot,n.shadowRoot?ta(A,n.shadowRoot,i,r):!na(n)&&!Il(n)&&!aa(n)&&ta(A,n,i,r))}},Ul=function(A,e){return ls(e)?new gl(A,e):yl(e)?new pl(A,e):Il(e)?new El(A,e):jb(e)?new ml(A,e):zb(e)?new ss(A,e):$b(e)?new os(A,e):aa(e)?new wl(A,e):na(e)?new bl(A,e):vl(e)?new Tl(A,e):new ye(A,e)},Ql=function(A,e){var t=Ul(A,e);return t.flags|=4,ta(A,e,t,t),t},Jb=function(A,e,t){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||cs(A)&&t.styles.isTransparent()},qb=function(A){return A.isPositioned()||A.isFloating()},Fl=function(A){return A.nodeType===Node.TEXT_NODE},Ot=function(A){return A.nodeType===Node.ELEMENT_NODE},us=function(A){return Ot(A)&&typeof A.style<"u"&&!ra(A)},ra=function(A){return typeof A.className=="object"},jb=function(A){return A.tagName==="LI"},zb=function(A){return A.tagName==="OL"},$b=function(A){return A.tagName==="INPUT"},Zb=function(A){return A.tagName==="HTML"},Il=function(A){return A.tagName==="svg"},cs=function(A){return A.tagName==="BODY"},yl=function(A){return A.tagName==="CANVAS"},xl=function(A){return A.tagName==="VIDEO"},ls=function(A){return A.tagName==="IMG"},vl=function(A){return A.tagName==="IFRAME"},_l=function(A){return A.tagName==="STYLE"},AT=function(A){return A.tagName==="SCRIPT"},na=function(A){return A.tagName==="TEXTAREA"},aa=function(A){return A.tagName==="SELECT"},Nl=function(A){return A.tagName==="SLOT"},Sl=function(A){return A.tagName.indexOf("-")>0},eT=function(){function A(){this.counters={}}return A.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},A.prototype.getCounterValues=function(e){var t=this.counters[e];return t||[]},A.prototype.pop=function(e){var t=this;e.forEach(function(r){return t.counters[r].pop()})},A.prototype.parse=function(e){var t=this,r=e.counterIncrement,n=e.counterReset,a=!0;r!==null&&r.forEach(function(s){var u=t.counters[s.counter];u&&s.increment!==0&&(a=!1,u.length||u.push(1),u[Math.max(0,u.length-1)]+=s.increment)});var i=[];return a&&n.forEach(function(s){var u=t.counters[s.counter];i.push(s.counter),u||(u=t.counters[s.counter]=[]),u.push(s.reset)}),i},A}(),Ll={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"]},Hl={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:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},tT={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:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},rT={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:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Rt=function(A,e,t,r,n,a){return A<e||A>t?Or(A,n,a.length>0):r.integers.reduce(function(i,s,u){for(;A>=s;)A-=s,i+=r.values[u];return i},"")+a},Dl=function(A,e,t,r){var n="";do t||A--,n=r(A)+n,A/=e;while(A*e>=e);return n},QA=function(A,e,t,r,n){var a=t-e+1;return(A<0?"-":"")+(Dl(Math.abs(A),a,r,function(i){return UA(Math.floor(i%a)+e)})+n)},pt=function(A,e,t){t===void 0&&(t=". ");var r=e.length;return Dl(Math.abs(A),r,!1,function(n){return e[Math.floor(n%r)]})+t},Mt=1,At=2,et=4,Dr=8,He=function(A,e,t,r,n,a){if(A<-9999||A>9999)return Or(A,4,n.length>0);var i=Math.abs(A),s=n;if(i===0)return e[0]+s;for(var u=0;i>0&&u<=4;u++){var l=i%10;l===0&&xA(a,Mt)&&s!==""?s=e[l]+s:l>1||l===1&&u===0||l===1&&u===1&&xA(a,At)||l===1&&u===1&&xA(a,et)&&A>100||l===1&&u>1&&xA(a,Dr)?s=e[l]+(u>0?t[u-1]:"")+s:l===1&&u>0&&(s=t[u-1]+s),i=Math.floor(i/10)}return(A<0?r:"")+s},Ol="十百千萬",Rl="拾佰仟萬",Ml="マイナス",ds="마이너스",Or=function(A,e,t){var r=t?". ":"",n=t?"、":"",a=t?", ":"",i=t?" ":"";switch(e){case 0:return"•"+i;case 1:return"◦"+i;case 2:return"◾"+i;case 5:var s=QA(A,48,57,!0,r);return s.length<4?"0"+s:s;case 4:return pt(A,"〇一二三四五六七八九",n);case 6:return Rt(A,1,3999,Ll,3,r).toLowerCase();case 7:return Rt(A,1,3999,Ll,3,r);case 8:return QA(A,945,969,!1,r);case 9:return QA(A,97,122,!1,r);case 10:return QA(A,65,90,!1,r);case 11:return QA(A,1632,1641,!0,r);case 12:case 49:return Rt(A,1,9999,Hl,3,r);case 35:return Rt(A,1,9999,Hl,3,r).toLowerCase();case 13:return QA(A,2534,2543,!0,r);case 14:case 30:return QA(A,6112,6121,!0,r);case 15:return pt(A,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return pt(A,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return He(A,"零一二三四五六七八九",Ol,"負",n,At|et|Dr);case 47:return He(A,"零壹貳參肆伍陸柒捌玖",Rl,"負",n,Mt|At|et|Dr);case 42:return He(A,"零一二三四五六七八九",Ol,"负",n,At|et|Dr);case 41:return He(A,"零壹贰叁肆伍陆柒捌玖",Rl,"负",n,Mt|At|et|Dr);case 26:return He(A,"〇一二三四五六七八九","十百千万",Ml,n,0);case 25:return He(A,"零壱弐参四伍六七八九","拾百千万",Ml,n,Mt|At|et);case 31:return He(A,"영일이삼사오육칠팔구","십백천만",ds,a,Mt|At|et);case 33:return He(A,"零一二三四五六七八九","十百千萬",ds,a,0);case 32:return He(A,"零壹貳參四五六七八九","拾百千",ds,a,Mt|At|et);case 18:return QA(A,2406,2415,!0,r);case 20:return Rt(A,1,19999,rT,3,r);case 21:return QA(A,2790,2799,!0,r);case 22:return QA(A,2662,2671,!0,r);case 22:return Rt(A,1,10999,tT,3,r);case 23:return pt(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return pt(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return QA(A,3302,3311,!0,r);case 28:return pt(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return pt(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return QA(A,3792,3801,!0,r);case 37:return QA(A,6160,6169,!0,r);case 38:return QA(A,4160,4169,!0,r);case 39:return QA(A,2918,2927,!0,r);case 40:return QA(A,1776,1785,!0,r);case 43:return QA(A,3046,3055,!0,r);case 44:return QA(A,3174,3183,!0,r);case 45:return QA(A,3664,3673,!0,r);case 46:return QA(A,3872,3881,!0,r);case 3:default:return QA(A,48,57,!0,r)}},kl="data-html2canvas-ignore",Pl=function(){function A(e,t,r){if(this.context=e,this.options=r,this.scrolledElements=[],this.referenceElement=t,this.counters=new eT,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return A.prototype.toIFrame=function(e,t){var r=this,n=nT(e,t);if(!n.contentWindow)return Promise.reject("Unable to find iframe window");var a=e.defaultView.pageXOffset,i=e.defaultView.pageYOffset,s=n.contentWindow,u=s.document,l=sT(n).then(function(){return jA(r,void 0,void 0,function(){var d,f;return GA(this,function(h){switch(h.label){case 0:return this.scrolledElements.forEach(lT),s&&(s.scrollTo(t.left,t.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(s.scrollY!==t.top||s.scrollX!==t.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(s.scrollX-t.left,s.scrollY-t.top,0,0))),d=this.options.onclone,f=this.clonedReferenceElement,typeof f>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:u.fonts&&u.fonts.ready?[4,u.fonts.ready]:[3,2];case 1:h.sent(),h.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,iT(u)]:[3,4];case 3:h.sent(),h.label=4;case 4:return typeof d=="function"?[2,Promise.resolve().then(function(){return d(u,f)}).then(function(){return n})]:[2,n]}})})});return u.open(),u.write(uT(document.doctype)+"<html></html>"),cT(this.referenceElement.ownerDocument,a,i),u.replaceChild(u.adoptNode(this.documentElement),u.documentElement),u.close(),l},A.prototype.createElementClone=function(e){if(qi(e,2))debugger;if(yl(e))return this.createCanvasClone(e);if(xl(e))return this.createVideoClone(e);if(_l(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return ls(t)&&(ls(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=""),t.loading==="lazy"&&(t.loading="eager")),Sl(t)?this.createCustomElementClone(t):t},A.prototype.createCustomElementClone=function(e){var t=document.createElement("html2canvascustomelement");return fs(e.style,t),t},A.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var r=[].slice.call(t.cssRules,0).reduce(function(a,i){return i&&typeof i.cssText=="string"?a+i.cssText:a},""),n=e.cloneNode(!1);return n.textContent=r,n}}catch(a){if(this.context.logger.error("Unable to access cssRules property",a),a.name!=="SecurityError")throw a}return e.cloneNode(!1)},A.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var r=e.ownerDocument.createElement("img");try{return r.src=e.toDataURL(),r}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var n=e.cloneNode(!1);try{n.width=e.width,n.height=e.height;var a=e.getContext("2d"),i=n.getContext("2d");if(i)if(!this.options.allowTaint&&a)i.putImageData(a.getImageData(0,0,e.width,e.height),0,0);else{var s=(t=e.getContext("webgl2"))!==null&&t!==void 0?t:e.getContext("webgl");if(s){var u=s.getContextAttributes();(u==null?void 0:u.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}i.drawImage(e,0,0)}return n}catch{this.context.logger.info("Unable to clone canvas as it is tainted",e)}return n},A.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement("canvas");t.width=e.offsetWidth,t.height=e.offsetHeight;var r=t.getContext("2d");try{return r&&(r.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||r.getImageData(0,0,t.width,t.height)),t}catch{this.context.logger.info("Unable to clone video as it is tainted",e)}var n=e.ownerDocument.createElement("canvas");return n.width=e.offsetWidth,n.height=e.offsetHeight,n},A.prototype.appendChildNode=function(e,t,r){(!Ot(t)||!AT(t)&&!t.hasAttribute(kl)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(t)))&&(!this.options.copyStyles||!Ot(t)||!_l(t))&&e.appendChild(this.cloneNode(t,r))},A.prototype.cloneChildNodes=function(e,t,r){for(var n=this,a=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;a;a=a.nextSibling)if(Ot(a)&&Nl(a)&&typeof a.assignedNodes=="function"){var i=a.assignedNodes();i.length&&i.forEach(function(s){return n.appendChildNode(t,s,r)})}else this.appendChildNode(t,a,r)},A.prototype.cloneNode=function(e,t){if(Fl(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var r=e.ownerDocument.defaultView;if(r&&Ot(e)&&(us(e)||ra(e))){var n=this.createElementClone(e);n.style.transitionProperty="none";var a=r.getComputedStyle(e),i=r.getComputedStyle(e,":before"),s=r.getComputedStyle(e,":after");this.referenceElement===e&&us(n)&&(this.clonedReferenceElement=n),cs(n)&&hT(n);var u=this.counters.parse(new el(this.context,a)),l=this.resolvePseudoContent(e,n,i,Rr.BEFORE);Sl(e)&&(t=!0),xl(e)||this.cloneChildNodes(e,n,t),l&&n.insertBefore(l,n.firstChild);var d=this.resolvePseudoContent(e,n,s,Rr.AFTER);return d&&n.appendChild(d),this.counters.pop(u),(a&&(this.options.copyStyles||ra(e))&&!vl(e)||t)&&fs(a,n),(e.scrollTop!==0||e.scrollLeft!==0)&&this.scrolledElements.push([n,e.scrollLeft,e.scrollTop]),(na(e)||aa(e))&&(na(n)||aa(n))&&(n.value=e.value),n}return e.cloneNode(!1)},A.prototype.resolvePseudoContent=function(e,t,r,n){var a=this;if(r){var i=r.content,s=t.ownerDocument;if(!(!s||!i||i==="none"||i==="-moz-alt-content"||r.display==="none")){this.counters.parse(new el(this.context,r));var u=new jw(this.context,r),l=s.createElement("html2canvaspseudoelement");fs(r,l),u.content.forEach(function(f){if(f.type===0)l.appendChild(s.createTextNode(f.value));else if(f.type===22){var h=s.createElement("img");h.src=f.value,h.style.opacity="1",l.appendChild(h)}else if(f.type===18){if(f.name==="attr"){var C=f.values.filter(lA);C.length&&l.appendChild(s.createTextNode(e.getAttribute(C[0].value)||""))}else if(f.name==="counter"){var m=f.values.filter(Ht),T=m[0],v=m[1];if(T&&lA(T)){var b=a.counters.getCounterValue(T.value),x=v&&lA(v)?Ji.parse(a.context,v.value):3;l.appendChild(s.createTextNode(Or(b,x,!1)))}}else if(f.name==="counters"){var D=f.values.filter(Ht),T=D[0],R=D[1],v=D[2];if(T&&lA(T)){var O=a.counters.getCounterValues(T.value),E=v&&lA(v)?Ji.parse(a.context,v.value):3,L=R&&R.type===0?R.value:"",M=O.map(function(oA){return Or(oA,E,!1)}).join(L);l.appendChild(s.createTextNode(M))}}}else if(f.type===20)switch(f.value){case"open-quote":l.appendChild(s.createTextNode(Al(u.quotes,a.quoteDepth++,!0)));break;case"close-quote":l.appendChild(s.createTextNode(Al(u.quotes,--a.quoteDepth,!1)));break;default:l.appendChild(s.createTextNode(f.value))}}),l.className=hs+" "+Bs;var d=n===Rr.BEFORE?" "+hs:" "+Bs;return ra(t)?t.className.baseValue+=d:t.className+=d,l}}},A.destroy=function(e){return e.parentNode?(e.parentNode.removeChild(e),!0):!1},A}(),Rr;(function(A){A[A.BEFORE=0]="BEFORE",A[A.AFTER=1]="AFTER"})(Rr||(Rr={}));var nT=function(A,e){var t=A.createElement("iframe");return t.className="html2canvas-container",t.style.visibility="hidden",t.style.position="fixed",t.style.left="-10000px",t.style.top="0px",t.style.border="0",t.width=e.width.toString(),t.height=e.height.toString(),t.scrolling="no",t.setAttribute(kl,"true"),A.body.appendChild(t),t},aT=function(A){return new Promise(function(e){if(A.complete){e();return}if(!A.src){e();return}A.onload=e,A.onerror=e})},iT=function(A){return Promise.all([].slice.call(A.images,0).map(aT))},sT=function(A){return new Promise(function(e,t){var r=A.contentWindow;if(!r)return t("No window assigned for iframe");var n=r.document;r.onload=A.onload=function(){r.onload=A.onload=null;var a=setInterval(function(){n.body.childNodes.length>0&&n.readyState==="complete"&&(clearInterval(a),e(A))},50)}})},oT=["all","d","content"],fs=function(A,e){for(var t=A.length-1;t>=0;t--){var r=A.item(t);oT.indexOf(r)===-1&&e.style.setProperty(r,A.getPropertyValue(r))}return e},uT=function(A){var e="";return A&&(e+="<!DOCTYPE ",A.name&&(e+=A.name),A.internalSubset&&(e+=A.internalSubset),A.publicId&&(e+='"'+A.publicId+'"'),A.systemId&&(e+='"'+A.systemId+'"'),e+=">"),e},cT=function(A,e,t){A&&A.defaultView&&(e!==A.defaultView.pageXOffset||t!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(e,t)},lT=function(A){var e=A[0],t=A[1],r=A[2];e.scrollLeft=t,e.scrollTop=r},dT=":before",fT=":after",hs="___html2canvas___pseudoelement_before",Bs="___html2canvas___pseudoelement_after",Kl=`{
35
+ ***************************************************************************** */var yi=function(A,e){return yi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])},yi(A,e)};function me(A,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");yi(A,e);function t(){this.constructor=A}A.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var xi=function(){return xi=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},xi.apply(this,arguments)};function qA(A,e,t,r){function n(a){return a instanceof t?a:new t(function(i){i(a)})}return new(t||(t=Promise))(function(a,i){function s(d){try{l(r.next(d))}catch(f){i(f)}}function u(d){try{l(r.throw(d))}catch(f){i(f)}}function l(d){d.done?a(d.value):n(d.value).then(s,u)}l((r=r.apply(A,[])).next())})}function VA(A,e){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,n,a,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(l){return function(d){return u([l,d])}}function u(l){if(r)throw new TypeError("Generator is already executing.");for(;t;)try{if(r=1,n&&(a=l[0]&2?n.return:l[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,l[1])).done)return a;switch(n=0,a&&(l=[l[0]&2,a.value]),l[0]){case 0:case 1:a=l;break;case 4:return t.label++,{value:l[1],done:!1};case 5:t.label++,n=l[1],l=[0];continue;case 7:l=t.ops.pop(),t.trys.pop();continue;default:if(a=t.trys,!(a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){t=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){t.label=l[1];break}if(l[0]===6&&t.label<a[1]){t.label=a[1],a=l;break}if(a&&t.label<a[2]){t.label=a[2],t.ops.push(l);break}a[2]&&t.ops.pop(),t.trys.pop();continue}l=e.call(A,t)}catch(d){l=[6,d],n=0}finally{r=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function wn(A,e,t){if(arguments.length===2)for(var r=0,n=e.length,a;r<n;r++)(a||!(r in e))&&(a||(a=Array.prototype.slice.call(e,0,r)),a[r]=e[r]);return A.concat(a||e)}for(var Ne=function(){function A(e,t,r,n){this.left=e,this.top=t,this.width=r,this.height=n}return A.prototype.add=function(e,t,r,n){return new A(this.left+e,this.top+t,this.width+r,this.height+n)},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(n){return n.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}(),bn=function(A,e){return Ne.fromClientRect(A,e.getBoundingClientRect())},LE=function(A){var e=A.body,t=A.documentElement;if(!e||!t)throw new Error("Unable to get document size");var r=Math.max(Math.max(e.scrollWidth,t.scrollWidth),Math.max(e.offsetWidth,t.offsetWidth),Math.max(e.clientWidth,t.clientWidth)),n=Math.max(Math.max(e.scrollHeight,t.scrollHeight),Math.max(e.offsetHeight,t.offsetHeight),Math.max(e.clientHeight,t.clientHeight));return new Ne(0,0,r,n)},Tn=function(A){for(var e=[],t=0,r=A.length;t<r;){var n=A.charCodeAt(t++);if(n>=55296&&n<=56319&&t<r){var a=A.charCodeAt(t++);(a&64512)===56320?e.push(((n&1023)<<10)+(a&1023)+65536):(e.push(n),t--)}else e.push(n)}return e},UA=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=[],n=-1,a="";++n<t;){var i=A[n];i<=65535?r.push(i):(i-=65536,r.push((i>>10)+55296,i%1024+56320)),(n+1===t||r.length>16384)&&(a+=String.fromCharCode.apply(String,r),r.length=0)}return a},ec="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",HE=typeof Uint8Array>"u"?[]:new Uint8Array(256),Un=0;Un<ec.length;Un++)HE[ec.charCodeAt(Un)]=Un;for(var tc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Cr=typeof Uint8Array>"u"?[]:new Uint8Array(256),Qn=0;Qn<tc.length;Qn++)Cr[tc.charCodeAt(Qn)]=Qn;for(var DE=function(A){var e=A.length*.75,t=A.length,r,n=0,a,i,s,u;A[A.length-1]==="="&&(e--,A[A.length-2]==="="&&e--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(e):new Array(e),d=Array.isArray(l)?l:new Uint8Array(l);for(r=0;r<t;r+=4)a=Cr[A.charCodeAt(r)],i=Cr[A.charCodeAt(r+1)],s=Cr[A.charCodeAt(r+2)],u=Cr[A.charCodeAt(r+3)],d[n++]=a<<2|i>>4,d[n++]=(i&15)<<4|s>>2,d[n++]=(s&3)<<6|u&63;return l},OE=function(A){for(var e=A.length,t=[],r=0;r<e;r+=2)t.push(A[r+1]<<8|A[r]);return t},RE=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},ht=5,vi=11,_i=2,ME=vi-ht,rc=65536>>ht,kE=1<<ht,Ni=kE-1,PE=1024>>ht,KE=rc+PE,VE=KE,GE=32,YE=VE+GE,XE=65536>>vi,WE=1<<ME,JE=WE-1,nc=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},qE=function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))},jE=function(A,e){var t=DE(A),r=Array.isArray(t)?RE(t):new Uint32Array(t),n=Array.isArray(t)?OE(t):new Uint16Array(t),a=24,i=nc(n,a/2,r[4]/2),s=r[5]===2?nc(n,(a+r[4])/2):qE(r,Math.ceil((a+r[4])/4));return new zE(r[0],r[1],r[2],r[3],i,s)},zE=function(){function A(e,t,r,n,a,i){this.initialValue=e,this.errorValue=t,this.highStart=r,this.highValueIndex=n,this.index=a,this.data=i}return A.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>ht],t=(t<<_i)+(e&Ni),this.data[t];if(e<=65535)return t=this.index[rc+(e-55296>>ht)],t=(t<<_i)+(e&Ni),this.data[t];if(e<this.highStart)return t=YE-XE+(e>>vi),t=this.index[t],t+=e>>ht&JE,t=this.index[t],t=(t<<_i)+(e&Ni),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),ac="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",$E=typeof Uint8Array>"u"?[]:new Uint8Array(256),Fn=0;Fn<ac.length;Fn++)$E[ac.charCodeAt(Fn)]=Fn;var ZE="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",ic=50,A1=1,sc=2,oc=3,e1=4,t1=5,uc=7,cc=8,lc=9,We=10,Si=11,dc=12,Li=13,r1=14,wr=15,Hi=16,In=17,br=18,n1=19,fc=20,Di=21,Tr=22,Oi=23,St=24,ie=25,Ur=26,Qr=27,Lt=28,a1=29,Bt=30,i1=31,yn=32,xn=33,Ri=34,Mi=35,ki=36,Fr=37,Pi=38,vn=39,_n=40,Ki=41,hc=42,s1=43,o1=[9001,65288],Bc="!",tA="×",Nn="÷",Vi=jE(ZE),Se=[Bt,ki],Gi=[A1,sc,oc,t1],gc=[We,cc],pc=[Qr,Ur],u1=Gi.concat(gc),mc=[Pi,vn,_n,Ri,Mi],c1=[wr,Li],l1=function(A,e){e===void 0&&(e="strict");var t=[],r=[],n=[];return A.forEach(function(a,i){var s=Vi.get(a);if(s>ic?(n.push(!0),s-=ic):n.push(!1),["normal","auto","loose"].indexOf(e)!==-1&&[8208,8211,12316,12448].indexOf(a)!==-1)return r.push(i),t.push(Hi);if(s===e1||s===Si){if(i===0)return r.push(i),t.push(Bt);var u=t[i-1];return u1.indexOf(u)===-1?(r.push(r[i-1]),t.push(u)):(r.push(i),t.push(Bt))}if(r.push(i),s===i1)return t.push(e==="strict"?Di:Fr);if(s===hc||s===a1)return t.push(Bt);if(s===s1)return a>=131072&&a<=196605||a>=196608&&a<=262141?t.push(Fr):t.push(Bt);t.push(s)}),[r,t,n]},Yi=function(A,e,t,r){var n=r[t];if(Array.isArray(A)?A.indexOf(n)!==-1:A===n)for(var a=t;a<=r.length;){a++;var i=r[a];if(i===e)return!0;if(i!==We)break}if(n===We)for(var a=t;a>0;){a--;var s=r[a];if(Array.isArray(A)?A.indexOf(s)!==-1:A===s)for(var u=t;u<=r.length;){u++;var i=r[u];if(i===e)return!0;if(i!==We)break}if(s!==We)break}return!1},Ec=function(A,e){for(var t=A;t>=0;){var r=e[t];if(r===We)t--;else return r}return 0},d1=function(A,e,t,r,n){if(t[r]===0)return tA;var a=r-1;if(Array.isArray(n)&&n[a]===!0)return tA;var i=a-1,s=a+1,u=e[a],l=i>=0?e[i]:0,d=e[s];if(u===sc&&d===oc)return tA;if(Gi.indexOf(u)!==-1)return Bc;if(Gi.indexOf(d)!==-1||gc.indexOf(d)!==-1)return tA;if(Ec(a,e)===cc)return Nn;if(Vi.get(A[a])===Si||(u===yn||u===xn)&&Vi.get(A[s])===Si||u===uc||d===uc||u===lc||[We,Li,wr].indexOf(u)===-1&&d===lc||[In,br,n1,St,Lt].indexOf(d)!==-1||Ec(a,e)===Tr||Yi(Oi,Tr,a,e)||Yi([In,br],Di,a,e)||Yi(dc,dc,a,e))return tA;if(u===We)return Nn;if(u===Oi||d===Oi)return tA;if(d===Hi||u===Hi)return Nn;if([Li,wr,Di].indexOf(d)!==-1||u===r1||l===ki&&c1.indexOf(u)!==-1||u===Lt&&d===ki||d===fc||Se.indexOf(d)!==-1&&u===ie||Se.indexOf(u)!==-1&&d===ie||u===Qr&&[Fr,yn,xn].indexOf(d)!==-1||[Fr,yn,xn].indexOf(u)!==-1&&d===Ur||Se.indexOf(u)!==-1&&pc.indexOf(d)!==-1||pc.indexOf(u)!==-1&&Se.indexOf(d)!==-1||[Qr,Ur].indexOf(u)!==-1&&(d===ie||[Tr,wr].indexOf(d)!==-1&&e[s+1]===ie)||[Tr,wr].indexOf(u)!==-1&&d===ie||u===ie&&[ie,Lt,St].indexOf(d)!==-1)return tA;if([ie,Lt,St,In,br].indexOf(d)!==-1)for(var f=a;f>=0;){var h=e[f];if(h===ie)return tA;if([Lt,St].indexOf(h)!==-1)f--;else break}if([Qr,Ur].indexOf(d)!==-1)for(var f=[In,br].indexOf(u)!==-1?i:a;f>=0;){var h=e[f];if(h===ie)return tA;if([Lt,St].indexOf(h)!==-1)f--;else break}if(Pi===u&&[Pi,vn,Ri,Mi].indexOf(d)!==-1||[vn,Ri].indexOf(u)!==-1&&[vn,_n].indexOf(d)!==-1||[_n,Mi].indexOf(u)!==-1&&d===_n||mc.indexOf(u)!==-1&&[fc,Ur].indexOf(d)!==-1||mc.indexOf(d)!==-1&&u===Qr||Se.indexOf(u)!==-1&&Se.indexOf(d)!==-1||u===St&&Se.indexOf(d)!==-1||Se.concat(ie).indexOf(u)!==-1&&d===Tr&&o1.indexOf(A[s])===-1||Se.concat(ie).indexOf(d)!==-1&&u===br)return tA;if(u===Ki&&d===Ki){for(var C=t[a],E=1;C>0&&(C--,e[C]===Ki);)E++;if(E%2!==0)return tA}return u===yn&&d===xn?tA:Nn},f1=function(A,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var t=l1(A,e.lineBreak),r=t[0],n=t[1],a=t[2];(e.wordBreak==="break-all"||e.wordBreak==="break-word")&&(n=n.map(function(s){return[ie,Bt,hc].indexOf(s)!==-1?Fr:s}));var i=e.wordBreak==="keep-all"?a.map(function(s,u){return s&&A[u]>=19968&&A[u]<=40959}):void 0;return[r,n,i]},h1=function(){function A(e,t,r,n){this.codePoints=e,this.required=t===Bc,this.start=r,this.end=n}return A.prototype.slice=function(){return UA.apply(void 0,this.codePoints.slice(this.start,this.end))},A}(),B1=function(A,e){var t=Tn(A),r=f1(t,e),n=r[0],a=r[1],i=r[2],s=t.length,u=0,l=0;return{next:function(){if(l>=s)return{done:!0,value:null};for(var d=tA;l<s&&(d=d1(t,a,n,++l,i))===tA;);if(d!==tA||l===s){var f=new h1(t,d,u,l);return u=l,{value:f,done:!1}}return{done:!0,value:null}}}},g1=1,p1=2,Ir=4,Cc=8,Sn=10,wc=47,yr=92,m1=9,E1=32,Ln=34,xr=61,C1=35,w1=36,b1=37,Hn=39,Dn=40,vr=41,T1=95,te=45,U1=33,Q1=60,F1=62,I1=64,y1=91,x1=93,v1=61,_1=123,On=63,N1=125,bc=124,S1=126,L1=128,Tc=65533,Xi=42,gt=43,H1=44,D1=58,O1=59,_r=46,R1=0,M1=8,k1=11,P1=14,K1=31,V1=127,Fe=-1,Uc=48,Qc=97,Fc=101,G1=102,Y1=117,X1=122,Ic=65,yc=69,xc=70,W1=85,J1=90,GA=function(A){return A>=Uc&&A<=57},q1=function(A){return A>=55296&&A<=57343},Ht=function(A){return GA(A)||A>=Ic&&A<=xc||A>=Qc&&A<=G1},j1=function(A){return A>=Qc&&A<=X1},z1=function(A){return A>=Ic&&A<=J1},$1=function(A){return j1(A)||z1(A)},Z1=function(A){return A>=L1},Rn=function(A){return A===Sn||A===m1||A===E1},Mn=function(A){return $1(A)||Z1(A)||A===T1},vc=function(A){return Mn(A)||GA(A)||A===te},AC=function(A){return A>=R1&&A<=M1||A===k1||A>=P1&&A<=K1||A===V1},Je=function(A,e){return A!==yr?!1:e!==Sn},kn=function(A,e,t){return A===te?Mn(e)||Je(e,t):Mn(A)?!0:!!(A===yr&&Je(A,e))},Wi=function(A,e,t){return A===gt||A===te?GA(e)?!0:e===_r&&GA(t):GA(A===_r?e:A)},eC=function(A){var e=0,t=1;(A[e]===gt||A[e]===te)&&(A[e]===te&&(t=-1),e++);for(var r=[];GA(A[e]);)r.push(A[e++]);var n=r.length?parseInt(UA.apply(void 0,r),10):0;A[e]===_r&&e++;for(var a=[];GA(A[e]);)a.push(A[e++]);var i=a.length,s=i?parseInt(UA.apply(void 0,a),10):0;(A[e]===yc||A[e]===Fc)&&e++;var u=1;(A[e]===gt||A[e]===te)&&(A[e]===te&&(u=-1),e++);for(var l=[];GA(A[e]);)l.push(A[e++]);var d=l.length?parseInt(UA.apply(void 0,l),10):0;return t*(n+s*Math.pow(10,-i))*Math.pow(10,u*d)},tC={type:2},rC={type:3},nC={type:4},aC={type:13},iC={type:8},sC={type:21},oC={type:9},uC={type:10},cC={type:11},lC={type:12},dC={type:14},Pn={type:23},fC={type:1},hC={type:25},BC={type:24},gC={type:26},pC={type:27},mC={type:28},EC={type:29},CC={type:31},Ji={type:32},_c=function(){function A(){this._value=[]}return A.prototype.write=function(e){this._value=this._value.concat(Tn(e))},A.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==Ji;)e.push(t),t=this.consumeToken();return e},A.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case Ln:return this.consumeStringToken(Ln);case C1:var t=this.peekCodePoint(0),r=this.peekCodePoint(1),n=this.peekCodePoint(2);if(vc(t)||Je(r,n)){var a=kn(t,r,n)?p1:g1,i=this.consumeName();return{type:5,value:i,flags:a}}break;case w1:if(this.peekCodePoint(0)===xr)return this.consumeCodePoint(),aC;break;case Hn:return this.consumeStringToken(Hn);case Dn:return tC;case vr:return rC;case Xi:if(this.peekCodePoint(0)===xr)return this.consumeCodePoint(),dC;break;case gt:if(Wi(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case H1:return nC;case te:var s=e,u=this.peekCodePoint(0),l=this.peekCodePoint(1);if(Wi(s,u,l))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(kn(s,u,l))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(u===te&&l===F1)return this.consumeCodePoint(),this.consumeCodePoint(),BC;break;case _r:if(Wi(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case wc:if(this.peekCodePoint(0)===Xi)for(this.consumeCodePoint();;){var d=this.consumeCodePoint();if(d===Xi&&(d=this.consumeCodePoint(),d===wc))return this.consumeToken();if(d===Fe)return this.consumeToken()}break;case D1:return gC;case O1:return pC;case Q1:if(this.peekCodePoint(0)===U1&&this.peekCodePoint(1)===te&&this.peekCodePoint(2)===te)return this.consumeCodePoint(),this.consumeCodePoint(),hC;break;case I1:var f=this.peekCodePoint(0),h=this.peekCodePoint(1),C=this.peekCodePoint(2);if(kn(f,h,C)){var i=this.consumeName();return{type:7,value:i}}break;case y1:return mC;case yr:if(Je(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case x1:return EC;case v1:if(this.peekCodePoint(0)===xr)return this.consumeCodePoint(),iC;break;case _1:return cC;case N1:return lC;case Y1:case W1:var E=this.peekCodePoint(0),T=this.peekCodePoint(1);return E===gt&&(Ht(T)||T===On)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case bc:if(this.peekCodePoint(0)===xr)return this.consumeCodePoint(),oC;if(this.peekCodePoint(0)===bc)return this.consumeCodePoint(),sC;break;case S1:if(this.peekCodePoint(0)===xr)return this.consumeCodePoint(),uC;break;case Fe:return Ji}return Rn(e)?(this.consumeWhiteSpace(),CC):GA(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):Mn(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:UA(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();Ht(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var r=!1;t===On&&e.length<6;)e.push(t),t=this.consumeCodePoint(),r=!0;if(r){var n=parseInt(UA.apply(void 0,e.map(function(u){return u===On?Uc:u})),16),a=parseInt(UA.apply(void 0,e.map(function(u){return u===On?xc:u})),16);return{type:30,start:n,end:a}}var i=parseInt(UA.apply(void 0,e),16);if(this.peekCodePoint(0)===te&&Ht(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var s=[];Ht(t)&&s.length<6;)s.push(t),t=this.consumeCodePoint();var a=parseInt(UA.apply(void 0,s),16);return{type:30,start:i,end:a}}else return{type:30,start:i,end:i}},A.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return e.toLowerCase()==="url"&&this.peekCodePoint(0)===Dn?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Dn?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},A.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Fe)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===Hn||t===Ln){var r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Fe||this.peekCodePoint(0)===vr)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),Pn)}for(;;){var n=this.consumeCodePoint();if(n===Fe||n===vr)return{type:22,value:UA.apply(void 0,e)};if(Rn(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Fe||this.peekCodePoint(0)===vr?(this.consumeCodePoint(),{type:22,value:UA.apply(void 0,e)}):(this.consumeBadUrlRemnants(),Pn);if(n===Ln||n===Hn||n===Dn||AC(n))return this.consumeBadUrlRemnants(),Pn;if(n===yr)if(Je(n,this.peekCodePoint(0)))e.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Pn;else e.push(n)}},A.prototype.consumeWhiteSpace=function(){for(;Rn(this.peekCodePoint(0));)this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(e===vr||e===Fe)return;Je(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(e){for(var t=5e4,r="";e>0;){var n=Math.min(t,e);r+=UA.apply(void 0,this._value.splice(0,n)),e-=n}return this._value.shift(),r},A.prototype.consumeStringToken=function(e){var t="",r=0;do{var n=this._value[r];if(n===Fe||n===void 0||n===e)return t+=this.consumeStringSlice(r),{type:0,value:t};if(n===Sn)return this._value.splice(0,r),fC;if(n===yr){var a=this._value[r+1];a!==Fe&&a!==void 0&&(a===Sn?(t+=this.consumeStringSlice(r),r=-1,this._value.shift()):Je(n,a)&&(t+=this.consumeStringSlice(r),t+=UA(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)},A.prototype.consumeNumber=function(){var e=[],t=Ir,r=this.peekCodePoint(0);for((r===gt||r===te)&&e.push(this.consumeCodePoint());GA(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(r===_r&&GA(n))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=Cc;GA(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0),n=this.peekCodePoint(1);var a=this.peekCodePoint(2);if((r===yc||r===Fc)&&((n===gt||n===te)&&GA(a)||GA(n)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=Cc;GA(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[eC(e),t]},A.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],r=e[1],n=this.peekCodePoint(0),a=this.peekCodePoint(1),i=this.peekCodePoint(2);if(kn(n,a,i)){var s=this.consumeName();return{type:15,number:t,flags:r,unit:s}}return n===b1?(this.consumeCodePoint(),{type:16,number:t,flags:r}):{type:17,number:t,flags:r}},A.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(Ht(e)){for(var t=UA(e);Ht(this.peekCodePoint(0))&&t.length<6;)t+=UA(this.consumeCodePoint());Rn(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(t,16);return r===0||q1(r)||r>1114111?Tc:r}return e===Fe?Tc:e},A.prototype.consumeName=function(){for(var e="";;){var t=this.consumeCodePoint();if(vc(t))e+=UA(t);else if(Je(t,this.peekCodePoint(0)))e+=UA(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(t),e}},A}(),Nc=function(){function A(e){this._tokens=e}return A.create=function(e){var t=new _c;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||bC(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"?Ji:e},A.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},A}(),Nr=function(A){return A.type===15},Dt=function(A){return A.type===17},lA=function(A){return A.type===20},wC=function(A){return A.type===0},qi=function(A,e){return lA(A)&&A.value===e},Sc=function(A){return A.type!==31},Ot=function(A){return A.type!==31&&A.type!==4},Ie=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},bC=function(A,e){return e===11&&A.type===12||e===28&&A.type===29?!0:e===2&&A.type===3},qe=function(A){return A.type===17||A.type===15},IA=function(A){return A.type===16||qe(A)},Lc=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},RA={type:17,number:0,flags:Ir},ji={type:16,number:50,flags:Ir},je={type:16,number:100,flags:Ir},Sr=function(A,e,t){var r=A[0],n=A[1];return[BA(r,e),BA(typeof n<"u"?n:r,t)]},BA=function(A,e){if(A.type===16)return A.number/100*e;if(Nr(A))switch(A.unit){case"rem":case"em":return 16*A.number;case"px":default:return A.number}return A.number},Hc="deg",Dc="grad",Oc="rad",Rc="turn",Kn={name:"angle",parse:function(A,e){if(e.type===15)switch(e.unit){case Hc:return Math.PI*e.number/180;case Dc:return Math.PI/200*e.number;case Oc:return e.number;case Rc:return Math.PI*2*e.number}throw new Error("Unsupported angle type")}},Mc=function(A){return A.type===15&&(A.unit===Hc||A.unit===Dc||A.unit===Oc||A.unit===Rc)},kc=function(A){var e=A.filter(lA).map(function(t){return t.value}).join(" ");switch(e){case"to bottom right":case"to right bottom":case"left top":case"top left":return[RA,RA];case"to top":case"bottom":return de(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[RA,je];case"to right":case"left":return de(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[je,je];case"to bottom":case"top":return de(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[je,RA];case"to left":case"right":return de(270)}return 0},de=function(A){return Math.PI*A/180},ze={name:"color",parse:function(A,e){if(e.type===18){var t=TC[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),n=e.value.substring(1,2),a=e.value.substring(2,3);return Ze(parseInt(r+r,16),parseInt(n+n,16),parseInt(a+a,16),1)}if(e.value.length===4){var r=e.value.substring(0,1),n=e.value.substring(1,2),a=e.value.substring(2,3),i=e.value.substring(3,4);return Ze(parseInt(r+r,16),parseInt(n+n,16),parseInt(a+a,16),parseInt(i+i,16)/255)}if(e.value.length===6){var r=e.value.substring(0,2),n=e.value.substring(2,4),a=e.value.substring(4,6);return Ze(parseInt(r,16),parseInt(n,16),parseInt(a,16),1)}if(e.value.length===8){var r=e.value.substring(0,2),n=e.value.substring(2,4),a=e.value.substring(4,6),i=e.value.substring(6,8);return Ze(parseInt(r,16),parseInt(n,16),parseInt(a,16),parseInt(i,16)/255)}}if(e.type===20){var s=Le[e.value.toUpperCase()];if(typeof s<"u")return s}return Le.TRANSPARENT}},$e=function(A){return(255&A)===0},DA=function(A){var e=255&A,t=255&A>>8,r=255&A>>16,n=255&A>>24;return e<255?"rgba("+n+","+r+","+t+","+e/255+")":"rgb("+n+","+r+","+t+")"},Ze=function(A,e,t,r){return(A<<24|e<<16|t<<8|Math.round(r*255)<<0)>>>0},Pc=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},Kc=function(A,e){var t=e.filter(Ot);if(t.length===3){var r=t.map(Pc),n=r[0],a=r[1],i=r[2];return Ze(n,a,i,1)}if(t.length===4){var s=t.map(Pc),n=s[0],a=s[1],i=s[2],u=s[3];return Ze(n,a,i,u)}return 0};function zi(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 Vc=function(A,e){var t=e.filter(Ot),r=t[0],n=t[1],a=t[2],i=t[3],s=(r.type===17?de(r.number):Kn.parse(A,r))/(Math.PI*2),u=IA(n)?n.number/100:0,l=IA(a)?a.number/100:0,d=typeof i<"u"&&IA(i)?BA(i,1):1;if(u===0)return Ze(l*255,l*255,l*255,1);var f=l<=.5?l*(u+1):l+u-l*u,h=l*2-f,C=zi(h,f,s+1/3),E=zi(h,f,s),T=zi(h,f,s-1/3);return Ze(C*255,E*255,T*255,d)},TC={hsl:Vc,hsla:Vc,rgb:Kc,rgba:Kc},Lr=function(A,e){return ze.parse(A,Nc.create(e).parseComponentValue())},Le={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},UC={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(lA(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},QC={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Vn=function(A,e){var t=ze.parse(A,e[0]),r=e[1];return r&&IA(r)?{color:t,stop:r}:{color:t,stop:null}},Gc=function(A,e){var t=A[0],r=A[A.length-1];t.stop===null&&(t.stop=RA),r.stop===null&&(r.stop=je);for(var n=[],a=0,i=0;i<A.length;i++){var s=A[i].stop;if(s!==null){var u=BA(s,e);u>a?n.push(u):n.push(a),a=u}else n.push(null)}for(var l=null,i=0;i<n.length;i++){var d=n[i];if(d===null)l===null&&(l=i);else if(l!==null){for(var f=i-l,h=n[l-1],C=(d-h)/(f+1),E=1;E<=f;E++)n[l+E-1]=C*E;l=null}}return A.map(function(T,v){var b=T.color;return{color:b,stop:Math.max(Math.min(1,n[v]/e),0)}})},FC=function(A,e,t){var r=e/2,n=t/2,a=BA(A[0],e)-r,i=n-BA(A[1],t);return(Math.atan2(i,a)+Math.PI*2)%(Math.PI*2)},IC=function(A,e,t){var r=typeof A=="number"?A:FC(A,e,t),n=Math.abs(e*Math.sin(r))+Math.abs(t*Math.cos(r)),a=e/2,i=t/2,s=n/2,u=Math.sin(r-Math.PI/2)*s,l=Math.cos(r-Math.PI/2)*s;return[n,a-l,a+l,i-u,i+u]},Ee=function(A,e){return Math.sqrt(A*A+e*e)},Yc=function(A,e,t,r,n){var a=[[0,0],[0,e],[A,0],[A,e]];return a.reduce(function(i,s){var u=s[0],l=s[1],d=Ee(t-u,r-l);return(n?d<i.optimumDistance:d>i.optimumDistance)?{optimumCorner:s,optimumDistance:d}:i},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},yC=function(A,e,t,r,n){var a=0,i=0;switch(A.size){case 0:A.shape===0?a=i=Math.min(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===1&&(a=Math.min(Math.abs(e),Math.abs(e-r)),i=Math.min(Math.abs(t),Math.abs(t-n)));break;case 2:if(A.shape===0)a=i=Math.min(Ee(e,t),Ee(e,t-n),Ee(e-r,t),Ee(e-r,t-n));else if(A.shape===1){var s=Math.min(Math.abs(t),Math.abs(t-n))/Math.min(Math.abs(e),Math.abs(e-r)),u=Yc(r,n,e,t,!0),l=u[0],d=u[1];a=Ee(l-e,(d-t)/s),i=s*a}break;case 1:A.shape===0?a=i=Math.max(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===1&&(a=Math.max(Math.abs(e),Math.abs(e-r)),i=Math.max(Math.abs(t),Math.abs(t-n)));break;case 3:if(A.shape===0)a=i=Math.max(Ee(e,t),Ee(e,t-n),Ee(e-r,t),Ee(e-r,t-n));else if(A.shape===1){var s=Math.max(Math.abs(t),Math.abs(t-n))/Math.max(Math.abs(e),Math.abs(e-r)),f=Yc(r,n,e,t,!1),l=f[0],d=f[1];a=Ee(l-e,(d-t)/s),i=s*a}break}return Array.isArray(A.size)&&(a=BA(A.size[0],r),i=A.size.length===2?BA(A.size[1],n):a),[a,i]},xC=function(A,e){var t=de(180),r=[];return Ie(e).forEach(function(n,a){if(a===0){var i=n[0];if(i.type===20&&i.value==="to"){t=kc(n);return}else if(Mc(i)){t=Kn.parse(A,i);return}}var s=Vn(A,n);r.push(s)}),{angle:t,stops:r,type:1}},Gn=function(A,e){var t=de(180),r=[];return Ie(e).forEach(function(n,a){if(a===0){var i=n[0];if(i.type===20&&["top","left","right","bottom"].indexOf(i.value)!==-1){t=kc(n);return}else if(Mc(i)){t=(Kn.parse(A,i)+de(270))%de(360);return}}var s=Vn(A,n);r.push(s)}),{angle:t,stops:r,type:1}},vC=function(A,e){var t=de(180),r=[],n=1,a=0,i=3,s=[];return Ie(e).forEach(function(u,l){var d=u[0];if(l===0){if(lA(d)&&d.value==="linear"){n=1;return}else if(lA(d)&&d.value==="radial"){n=2;return}}if(d.type===18){if(d.name==="from"){var f=ze.parse(A,d.values[0]);r.push({stop:RA,color:f})}else if(d.name==="to"){var f=ze.parse(A,d.values[0]);r.push({stop:je,color:f})}else if(d.name==="color-stop"){var h=d.values.filter(Ot);if(h.length===2){var f=ze.parse(A,h[1]),C=h[0];Dt(C)&&r.push({stop:{type:16,number:C.number*100,flags:C.flags},color:f})}}}}),n===1?{angle:(t+de(180))%de(360),stops:r,type:n}:{size:i,shape:a,stops:r,position:s,type:n}},Xc="closest-side",Wc="farthest-side",Jc="closest-corner",qc="farthest-corner",jc="circle",zc="ellipse",$c="cover",Zc="contain",_C=function(A,e){var t=0,r=3,n=[],a=[];return Ie(e).forEach(function(i,s){var u=!0;if(s===0){var l=!1;u=i.reduce(function(f,h){if(l)if(lA(h))switch(h.value){case"center":return a.push(ji),f;case"top":case"left":return a.push(RA),f;case"right":case"bottom":return a.push(je),f}else(IA(h)||qe(h))&&a.push(h);else if(lA(h))switch(h.value){case jc:return t=0,!1;case zc:return t=1,!1;case"at":return l=!0,!1;case Xc:return r=0,!1;case $c:case Wc:return r=1,!1;case Zc:case Jc:return r=2,!1;case qc:return r=3,!1}else if(qe(h)||IA(h))return Array.isArray(r)||(r=[]),r.push(h),!1;return f},u)}if(u){var d=Vn(A,i);n.push(d)}}),{size:r,shape:t,stops:n,position:a,type:2}},Yn=function(A,e){var t=0,r=3,n=[],a=[];return Ie(e).forEach(function(i,s){var u=!0;if(s===0?u=i.reduce(function(d,f){if(lA(f))switch(f.value){case"center":return a.push(ji),!1;case"top":case"left":return a.push(RA),!1;case"right":case"bottom":return a.push(je),!1}else if(IA(f)||qe(f))return a.push(f),!1;return d},u):s===1&&(u=i.reduce(function(d,f){if(lA(f))switch(f.value){case jc:return t=0,!1;case zc:return t=1,!1;case Zc:case Xc:return r=0,!1;case Wc:return r=1,!1;case Jc:return r=2,!1;case $c:case qc:return r=3,!1}else if(qe(f)||IA(f))return Array.isArray(r)||(r=[]),r.push(f),!1;return d},u)),u){var l=Vn(A,i);n.push(l)}}),{size:r,shape:t,stops:n,position:a,type:2}},NC=function(A){return A.type===1},SC=function(A){return A.type===2},$i={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=Al[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 LC(A){return!(A.type===20&&A.value==="none")&&(A.type!==18||!!Al[A.name])}var Al={"linear-gradient":xC,"-moz-linear-gradient":Gn,"-ms-linear-gradient":Gn,"-o-linear-gradient":Gn,"-webkit-linear-gradient":Gn,"radial-gradient":_C,"-moz-radial-gradient":Yn,"-ms-radial-gradient":Yn,"-o-radial-gradient":Yn,"-webkit-radial-gradient":Yn,"-webkit-gradient":vC},HC={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 Ot(r)&&LC(r)}).map(function(r){return $i.parse(A,r)})}},DC={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(lA(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},OC={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(A,e){return Ie(e).map(function(t){return t.filter(IA)}).map(Lc)}},RC={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(A,e){return Ie(e).map(function(t){return t.filter(lA).map(function(r){return r.value}).join(" ")}).map(MC)}},MC=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}},Rt;(function(A){A.AUTO="auto",A.CONTAIN="contain",A.COVER="cover"})(Rt||(Rt={}));var kC={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(A,e){return Ie(e).map(function(t){return t.filter(PC)})}},PC=function(A){return lA(A)||IA(A)},Xn=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},KC=Xn("top"),VC=Xn("right"),GC=Xn("bottom"),YC=Xn("left"),Wn=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:1,parse:function(e,t){return Lc(t.filter(IA))}}},XC=Wn("top-left"),WC=Wn("top-right"),JC=Wn("bottom-right"),qC=Wn("bottom-left"),Jn=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}}},jC=Jn("top"),zC=Jn("right"),$C=Jn("bottom"),ZC=Jn("left"),qn=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return Nr(t)?t.number:0}}},Aw=qn("top"),ew=qn("right"),tw=qn("bottom"),rw=qn("left"),nw={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},aw={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(A,e){switch(e){case"rtl":return 1;case"ltr":default:return 0}}},iw={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(A,e){return e.filter(lA).reduce(function(t,r){return t|sw(r.value)},0)}},sw=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},ow={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}},uw={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}},jn;(function(A){A.NORMAL="normal",A.STRICT="strict"})(jn||(jn={}));var cw={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"strict":return jn.STRICT;case"normal":default:return jn.NORMAL}}},lw={name:"line-height",initialValue:"normal",prefix:!1,type:4},el=function(A,e){return lA(A)&&A.value==="normal"?1.2*e:A.type===17?e*A.number:IA(A)?BA(A,e):e},dw={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(A,e){return e.type===20&&e.value==="none"?null:$i.parse(A,e)}},fw={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}}},Zi={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}}},zn=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:4}},hw=zn("top"),Bw=zn("right"),gw=zn("bottom"),pw=zn("left"),mw={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(A,e){return e.filter(lA).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}})}},Ew={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"}}},$n=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Cw=$n("top"),ww=$n("right"),bw=$n("bottom"),Tw=$n("left"),Uw={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}}},Qw={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}},Fw={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.length===1&&qi(e[0],"none")?[]:Ie(e).map(function(t){for(var r={color:Le.TRANSPARENT,offsetX:RA,offsetY:RA,blur:RA},n=0,a=0;a<t.length;a++){var i=t[a];qe(i)?(n===0?r.offsetX=i:n===1?r.offsetY=i:r.blur=i,n++):r.color=ze.parse(A,i)}return r})}},Iw={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}},yw={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=_w[e.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported transform function "'+e.name+'"');return t(e.values)}return null}},xw=function(A){var e=A.filter(function(t){return t.type===17}).map(function(t){return t.number});return e.length===6?e:null},vw=function(A){var e=A.filter(function(u){return u.type===17}).map(function(u){return u.number}),t=e[0],r=e[1];e[2],e[3];var n=e[4],a=e[5];e[6],e[7],e[8],e[9],e[10],e[11];var i=e[12],s=e[13];return e[14],e[15],e.length===16?[t,r,n,a,i,s]:null},_w={matrix:xw,matrix3d:vw},tl={type:16,number:50,flags:Ir},Nw=[tl,tl],Sw={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(A,e){var t=e.filter(IA);return t.length!==2?Nw:[t[0],t[1]]}},Lw={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}}},Hr;(function(A){A.NORMAL="normal",A.BREAK_ALL="break-all",A.KEEP_ALL="keep-all"})(Hr||(Hr={}));for(var Hw={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-all":return Hr.BREAK_ALL;case"keep-all":return Hr.KEEP_ALL;case"normal":default:return Hr.NORMAL}}},Dw={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(A,e){if(e.type===20)return{auto:!0,order:0};if(Dt(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},rl={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")}},Ow={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(A,e){return Dt(e)?e.number:1}},Rw={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Mw={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(A,e){return e.filter(lA).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})}},kw={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(A,e){var t=[],r=[];return e.forEach(function(n){switch(n.type){case 20:case 0:t.push(n.value);break;case 17:t.push(n.number.toString());break;case 4:r.push(t.join(" ")),t.length=0;break}}),t.length&&r.push(t.join(" ")),r.map(function(n){return n.indexOf(" ")===-1?n:"'"+n+"'"})}},Pw={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Kw={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(A,e){if(Dt(e))return e.number;if(lA(e))switch(e.value){case"bold":return 700;case"normal":default:return 400}return 400}},Vw={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.filter(lA).map(function(t){return t.value})}},Gw={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"}}},xA=function(A,e){return(A&e)!==0},Yw={name:"content",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}},Xw={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return null;var t=e[0];if(t.type===20&&t.value==="none")return null;for(var r=[],n=e.filter(Sc),a=0;a<n.length;a++){var i=n[a],s=n[a+1];if(i.type===20){var u=s&&Dt(s)?s.number:1;r.push({counter:i.value,increment:u})}}return r}},Ww={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return[];for(var t=[],r=e.filter(Sc),n=0;n<r.length;n++){var a=r[n],i=r[n+1];if(lA(a)&&a.value!=="none"){var s=i&&Dt(i)?i.number:0;t.push({counter:a.value,reset:s})}}return t}},Jw={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(A,e){return e.filter(Nr).map(function(t){return rl.parse(A,t)})}},qw={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return null;var t=e[0];if(t.type===20&&t.value==="none")return null;var r=[],n=e.filter(wC);if(n.length%2!==0)return null;for(var a=0;a<n.length;a+=2){var i=n[a].value,s=n[a+1].value;r.push({open:i,close:s})}return r}},nl=function(A,e,t){if(!A)return"";var r=A[Math.min(e,A.length-1)];return r?t?r.open:r.close:""},jw={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.length===1&&qi(e[0],"none")?[]:Ie(e).map(function(t){for(var r={color:255,offsetX:RA,offsetY:RA,blur:RA,spread:RA,inset:!1},n=0,a=0;a<t.length;a++){var i=t[a];qi(i,"inset")?r.inset=!0:qe(i)?(n===0?r.offsetX=i:n===1?r.offsetY=i:n===2?r.blur=i:r.spread=i,n++):r.color=ze.parse(A,i)}return r})}},zw={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(A,e){var t=[0,1,2],r=[];return e.filter(lA).forEach(function(n){switch(n.value){case"stroke":r.push(1);break;case"fill":r.push(0);break;case"markers":r.push(2);break}}),t.forEach(function(n){r.indexOf(n)===-1&&r.push(n)}),r}},$w={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},Zw={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(A,e){return Nr(e)?e.number:0}},Ab=function(){function A(e,t){var r,n;this.animationDuration=K(e,Jw,t.animationDuration),this.backgroundClip=K(e,UC,t.backgroundClip),this.backgroundColor=K(e,QC,t.backgroundColor),this.backgroundImage=K(e,HC,t.backgroundImage),this.backgroundOrigin=K(e,DC,t.backgroundOrigin),this.backgroundPosition=K(e,OC,t.backgroundPosition),this.backgroundRepeat=K(e,RC,t.backgroundRepeat),this.backgroundSize=K(e,kC,t.backgroundSize),this.borderTopColor=K(e,KC,t.borderTopColor),this.borderRightColor=K(e,VC,t.borderRightColor),this.borderBottomColor=K(e,GC,t.borderBottomColor),this.borderLeftColor=K(e,YC,t.borderLeftColor),this.borderTopLeftRadius=K(e,XC,t.borderTopLeftRadius),this.borderTopRightRadius=K(e,WC,t.borderTopRightRadius),this.borderBottomRightRadius=K(e,JC,t.borderBottomRightRadius),this.borderBottomLeftRadius=K(e,qC,t.borderBottomLeftRadius),this.borderTopStyle=K(e,jC,t.borderTopStyle),this.borderRightStyle=K(e,zC,t.borderRightStyle),this.borderBottomStyle=K(e,$C,t.borderBottomStyle),this.borderLeftStyle=K(e,ZC,t.borderLeftStyle),this.borderTopWidth=K(e,Aw,t.borderTopWidth),this.borderRightWidth=K(e,ew,t.borderRightWidth),this.borderBottomWidth=K(e,tw,t.borderBottomWidth),this.borderLeftWidth=K(e,rw,t.borderLeftWidth),this.boxShadow=K(e,jw,t.boxShadow),this.color=K(e,nw,t.color),this.direction=K(e,aw,t.direction),this.display=K(e,iw,t.display),this.float=K(e,ow,t.cssFloat),this.fontFamily=K(e,kw,t.fontFamily),this.fontSize=K(e,Pw,t.fontSize),this.fontStyle=K(e,Gw,t.fontStyle),this.fontVariant=K(e,Vw,t.fontVariant),this.fontWeight=K(e,Kw,t.fontWeight),this.letterSpacing=K(e,uw,t.letterSpacing),this.lineBreak=K(e,cw,t.lineBreak),this.lineHeight=K(e,lw,t.lineHeight),this.listStyleImage=K(e,dw,t.listStyleImage),this.listStylePosition=K(e,fw,t.listStylePosition),this.listStyleType=K(e,Zi,t.listStyleType),this.marginTop=K(e,hw,t.marginTop),this.marginRight=K(e,Bw,t.marginRight),this.marginBottom=K(e,gw,t.marginBottom),this.marginLeft=K(e,pw,t.marginLeft),this.opacity=K(e,Ow,t.opacity);var a=K(e,mw,t.overflow);this.overflowX=a[0],this.overflowY=a[a.length>1?1:0],this.overflowWrap=K(e,Ew,t.overflowWrap),this.paddingTop=K(e,Cw,t.paddingTop),this.paddingRight=K(e,ww,t.paddingRight),this.paddingBottom=K(e,bw,t.paddingBottom),this.paddingLeft=K(e,Tw,t.paddingLeft),this.paintOrder=K(e,zw,t.paintOrder),this.position=K(e,Qw,t.position),this.textAlign=K(e,Uw,t.textAlign),this.textDecorationColor=K(e,Rw,(r=t.textDecorationColor)!==null&&r!==void 0?r:t.color),this.textDecorationLine=K(e,Mw,(n=t.textDecorationLine)!==null&&n!==void 0?n:t.textDecoration),this.textShadow=K(e,Fw,t.textShadow),this.textTransform=K(e,Iw,t.textTransform),this.transform=K(e,yw,t.transform),this.transformOrigin=K(e,Sw,t.transformOrigin),this.visibility=K(e,Lw,t.visibility),this.webkitTextStrokeColor=K(e,$w,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=K(e,Zw,t.webkitTextStrokeWidth),this.wordBreak=K(e,Hw,t.wordBreak),this.zIndex=K(e,Dw,t.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},A.prototype.isTransparent=function(){return $e(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 xA(this.display,4)||xA(this.display,33554432)||xA(this.display,268435456)||xA(this.display,536870912)||xA(this.display,67108864)||xA(this.display,134217728)},A}(),eb=function(){function A(e,t){this.content=K(e,Yw,t.content),this.quotes=K(e,qw,t.quotes)}return A}(),al=function(){function A(e,t){this.counterIncrement=K(e,Xw,t.counterIncrement),this.counterReset=K(e,Ww,t.counterReset)}return A}(),K=function(A,e,t){var r=new _c,n=t!==null&&typeof t<"u"?t.toString():e.initialValue;r.write(n);var a=new Nc(r.read());switch(e.type){case 2:var i=a.parseComponentValue();return e.parse(A,lA(i)?i.value:e.initialValue);case 0:return e.parse(A,a.parseComponentValue());case 1:return e.parse(A,a.parseComponentValues());case 4:return a.parseComponentValue();case 3:switch(e.format){case"angle":return Kn.parse(A,a.parseComponentValue());case"color":return ze.parse(A,a.parseComponentValue());case"image":return $i.parse(A,a.parseComponentValue());case"length":var s=a.parseComponentValue();return qe(s)?s:RA;case"length-percentage":var u=a.parseComponentValue();return IA(u)?u:RA;case"time":return rl.parse(A,a.parseComponentValue())}break}},tb="data-html2canvas-debug",rb=function(A){var e=A.getAttribute(tb);switch(e){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},As=function(A,e){var t=rb(A);return t===1||e===t},ye=function(){function A(e,t){if(this.context=e,this.textNodes=[],this.elements=[],this.flags=0,As(t,3))debugger;this.styles=new Ab(e,window.getComputedStyle(t,null)),hs(t)&&(this.styles.animationDuration.some(function(r){return r>0})&&(t.style.animationDuration="0s"),this.styles.transform!==null&&(t.style.transform="none")),this.bounds=bn(this.context,t),As(t,4)&&(this.flags|=16)}return A}(),nb="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",il="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Dr=typeof Uint8Array>"u"?[]:new Uint8Array(256),Zn=0;Zn<il.length;Zn++)Dr[il.charCodeAt(Zn)]=Zn;for(var ab=function(A){var e=A.length*.75,t=A.length,r,n=0,a,i,s,u;A[A.length-1]==="="&&(e--,A[A.length-2]==="="&&e--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(e):new Array(e),d=Array.isArray(l)?l:new Uint8Array(l);for(r=0;r<t;r+=4)a=Dr[A.charCodeAt(r)],i=Dr[A.charCodeAt(r+1)],s=Dr[A.charCodeAt(r+2)],u=Dr[A.charCodeAt(r+3)],d[n++]=a<<2|i>>4,d[n++]=(i&15)<<4|s>>2,d[n++]=(s&3)<<6|u&63;return l},ib=function(A){for(var e=A.length,t=[],r=0;r<e;r+=2)t.push(A[r+1]<<8|A[r]);return t},sb=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},pt=5,es=11,ts=2,ob=es-pt,sl=65536>>pt,ub=1<<pt,rs=ub-1,cb=1024>>pt,lb=sl+cb,db=lb,fb=32,hb=db+fb,Bb=65536>>es,gb=1<<ob,pb=gb-1,ol=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},mb=function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))},Eb=function(A,e){var t=ab(A),r=Array.isArray(t)?sb(t):new Uint32Array(t),n=Array.isArray(t)?ib(t):new Uint16Array(t),a=24,i=ol(n,a/2,r[4]/2),s=r[5]===2?ol(n,(a+r[4])/2):mb(r,Math.ceil((a+r[4])/4));return new Cb(r[0],r[1],r[2],r[3],i,s)},Cb=function(){function A(e,t,r,n,a,i){this.initialValue=e,this.errorValue=t,this.highStart=r,this.highValueIndex=n,this.index=a,this.data=i}return A.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>pt],t=(t<<ts)+(e&rs),this.data[t];if(e<=65535)return t=this.index[sl+(e-55296>>pt)],t=(t<<ts)+(e&rs),this.data[t];if(e<this.highStart)return t=hb-Bb+(e>>es),t=this.index[t],t+=e>>pt&pb,t=this.index[t],t=(t<<ts)+(e&rs),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),ul="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",wb=typeof Uint8Array>"u"?[]:new Uint8Array(256),Aa=0;Aa<ul.length;Aa++)wb[ul.charCodeAt(Aa)]=Aa;var bb=1,ns=2,as=3,cl=4,ll=5,Tb=7,dl=8,is=9,ss=10,fl=11,hl=12,Bl=13,gl=14,os=15,Ub=function(A){for(var e=[],t=0,r=A.length;t<r;){var n=A.charCodeAt(t++);if(n>=55296&&n<=56319&&t<r){var a=A.charCodeAt(t++);(a&64512)===56320?e.push(((n&1023)<<10)+(a&1023)+65536):(e.push(n),t--)}else e.push(n)}return e},Qb=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=[],n=-1,a="";++n<t;){var i=A[n];i<=65535?r.push(i):(i-=65536,r.push((i>>10)+55296,i%1024+56320)),(n+1===t||r.length>16384)&&(a+=String.fromCharCode.apply(String,r),r.length=0)}return a},Fb=Eb(nb),fe="×",us="÷",Ib=function(A){return Fb.get(A)},yb=function(A,e,t){var r=t-2,n=e[r],a=e[t-1],i=e[t];if(a===ns&&i===as)return fe;if(a===ns||a===as||a===cl||i===ns||i===as||i===cl)return us;if(a===dl&&[dl,is,fl,hl].indexOf(i)!==-1||(a===fl||a===is)&&(i===is||i===ss)||(a===hl||a===ss)&&i===ss||i===Bl||i===ll||i===Tb||a===bb)return fe;if(a===Bl&&i===gl){for(;n===ll;)n=e[--r];if(n===gl)return fe}if(a===os&&i===os){for(var s=0;n===os;)s++,n=e[--r];if(s%2===0)return fe}return us},xb=function(A){var e=Ub(A),t=e.length,r=0,n=0,a=e.map(Ib);return{next:function(){if(r>=t)return{done:!0,value:null};for(var i=fe;r<t&&(i=yb(e,a,++r))===fe;);if(i!==fe||r===t){var s=Qb.apply(null,e.slice(n,r));return n=r,{value:s,done:!1}}return{done:!0,value:null}}}},vb=function(A){for(var e=xb(A),t=[],r;!(r=e.next()).done;)r.value&&t.push(r.value.slice());return t},_b=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 n=t.getBoundingClientRect(),a=Math.round(n.height);if(A.body.removeChild(r),a===e)return!0}}return!1},Nb=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,n=Tn(r.data).map(function(u){return UA(u)}),a=0,i={},s=n.every(function(u,l){t.setStart(r,a),t.setEnd(r,a+u.length);var d=t.getBoundingClientRect();a+=u.length;var f=d.x>i.x||d.y>i.y;return i=d,l===0?!0:f});return A.body.removeChild(e),s},Sb=function(){return typeof new Image().crossOrigin<"u"},Lb=function(){return typeof new XMLHttpRequest().responseType=="string"},Hb=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},pl=function(A){return A[0]===0&&A[1]===255&&A[2]===0&&A[3]===255},Db=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 n=new Image,a=e.toDataURL();n.src=a;var i=cs(t,t,0,0,n);return r.fillStyle="red",r.fillRect(0,0,t,t),ml(i).then(function(s){r.drawImage(s,0,0);var u=r.getImageData(0,0,t,t).data;r.fillStyle="red",r.fillRect(0,0,t,t);var l=A.createElement("div");return l.style.backgroundImage="url("+a+")",l.style.height=t+"px",pl(u)?ml(cs(t,t,0,0,l)):Promise.reject(!1)}).then(function(s){return r.drawImage(s,0,0),pl(r.getImageData(0,0,t,t).data)}).catch(function(){return!1})},cs=function(A,e,t,r,n){var a="http://www.w3.org/2000/svg",i=document.createElementNS(a,"svg"),s=document.createElementNS(a,"foreignObject");return i.setAttributeNS(null,"width",A.toString()),i.setAttributeNS(null,"height",e.toString()),s.setAttributeNS(null,"width","100%"),s.setAttributeNS(null,"height","100%"),s.setAttributeNS(null,"x",t.toString()),s.setAttributeNS(null,"y",r.toString()),s.setAttributeNS(null,"externalResourcesRequired","true"),i.appendChild(s),s.appendChild(n),i},ml=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))})},MA={get SUPPORT_RANGE_BOUNDS(){var A=_b(document);return Object.defineProperty(MA,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_WORD_BREAKING(){var A=MA.SUPPORT_RANGE_BOUNDS&&Nb(document);return Object.defineProperty(MA,"SUPPORT_WORD_BREAKING",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=Hb(document);return Object.defineProperty(MA,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A=typeof Array.from=="function"&&typeof window.fetch=="function"?Db(document):Promise.resolve(!1);return Object.defineProperty(MA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=Sb();return Object.defineProperty(MA,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A=Lb();return Object.defineProperty(MA,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(MA,"SUPPORT_CORS_XHR",{value:A}),A},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var A=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(MA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:A}),A}},Or=function(){function A(e,t){this.text=e,this.bounds=t}return A}(),Ob=function(A,e,t,r){var n=kb(e,t),a=[],i=0;return n.forEach(function(s){if(t.textDecorationLine.length||s.trim().length>0)if(MA.SUPPORT_RANGE_BOUNDS){var u=El(r,i,s.length).getClientRects();if(u.length>1){var l=ls(s),d=0;l.forEach(function(h){a.push(new Or(h,Ne.fromDOMRectList(A,El(r,d+i,h.length).getClientRects()))),d+=h.length})}else a.push(new Or(s,Ne.fromDOMRectList(A,u)))}else{var f=r.splitText(s.length);a.push(new Or(s,Rb(A,r))),r=f}else MA.SUPPORT_RANGE_BOUNDS||(r=r.splitText(s.length));i+=s.length}),a},Rb=function(A,e){var t=e.ownerDocument;if(t){var r=t.createElement("html2canvaswrapper");r.appendChild(e.cloneNode(!0));var n=e.parentNode;if(n){n.replaceChild(r,e);var a=bn(A,r);return r.firstChild&&n.replaceChild(r.firstChild,r),a}}return Ne.EMPTY},El=function(A,e,t){var r=A.ownerDocument;if(!r)throw new Error("Node has no owner document");var n=r.createRange();return n.setStart(A,e),n.setEnd(A,e+t),n},ls=function(A){if(MA.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 vb(A)},Mb=function(A,e){if(MA.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 Kb(A,e)},kb=function(A,e){return e.letterSpacing!==0?ls(A):Mb(A,e)},Pb=[32,160,4961,65792,65793,4153,4241],Kb=function(A,e){for(var t=B1(A,{lineBreak:e.lineBreak,wordBreak:e.overflowWrap==="break-word"?"break-word":e.wordBreak}),r=[],n,a=function(){if(n.value){var i=n.value.slice(),s=Tn(i),u="";s.forEach(function(l){Pb.indexOf(l)===-1?u+=UA(l):(u.length&&r.push(u),r.push(UA(l)),u="")}),u.length&&r.push(u)}};!(n=t.next()).done;)a();return r},Vb=function(){function A(e,t,r){this.text=Gb(t.data,r.textTransform),this.textBounds=Ob(e,this.text,r,t)}return A}(),Gb=function(A,e){switch(e){case 1:return A.toLowerCase();case 3:return A.replace(Yb,Xb);case 2:return A.toUpperCase();default:return A}},Yb=/(^|\s|:|-|\(|\))([a-z])/g,Xb=function(A,e,t){return A.length>0?e+t.toUpperCase():A},Cl=function(A){me(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.src=r.currentSrc||r.src,n.intrinsicWidth=r.naturalWidth,n.intrinsicHeight=r.naturalHeight,n.context.cache.addImage(n.src),n}return e}(ye),wl=function(A){me(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.canvas=r,n.intrinsicWidth=r.width,n.intrinsicHeight=r.height,n}return e}(ye),bl=function(A){me(e,A);function e(t,r){var n=A.call(this,t,r)||this,a=new XMLSerializer,i=bn(t,r);return r.setAttribute("width",i.width+"px"),r.setAttribute("height",i.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(a.serializeToString(r)),n.intrinsicWidth=r.width.baseVal.value,n.intrinsicHeight=r.height.baseVal.value,n.context.cache.addImage(n.svg),n}return e}(ye),Tl=function(A){me(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.value=r.value,n}return e}(ye),ds=function(A){me(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.start=r.start,n.reversed=typeof r.reversed=="boolean"&&r.reversed===!0,n}return e}(ye),Wb=[{type:15,flags:0,unit:"px",number:3}],Jb=[{type:16,flags:0,number:50}],qb=function(A){return A.width>A.height?new Ne(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width<A.height?new Ne(A.left,A.top+(A.height-A.width)/2,A.width,A.width):A},jb=function(A){var e=A.type===zb?new Array(A.value.length+1).join("•"):A.value;return e.length===0?A.placeholder||"":e},ea="checkbox",ta="radio",zb="password",Ul=707406591,fs=function(A){me(e,A);function e(t,r){var n=A.call(this,t,r)||this;switch(n.type=r.type.toLowerCase(),n.checked=r.checked,n.value=jb(r),(n.type===ea||n.type===ta)&&(n.styles.backgroundColor=3739148031,n.styles.borderTopColor=n.styles.borderRightColor=n.styles.borderBottomColor=n.styles.borderLeftColor=2779096575,n.styles.borderTopWidth=n.styles.borderRightWidth=n.styles.borderBottomWidth=n.styles.borderLeftWidth=1,n.styles.borderTopStyle=n.styles.borderRightStyle=n.styles.borderBottomStyle=n.styles.borderLeftStyle=1,n.styles.backgroundClip=[0],n.styles.backgroundOrigin=[0],n.bounds=qb(n.bounds)),n.type){case ea:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=Wb;break;case ta:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=Jb;break}return n}return e}(ye),Ql=function(A){me(e,A);function e(t,r){var n=A.call(this,t,r)||this,a=r.options[r.selectedIndex||0];return n.value=a&&a.text||"",n}return e}(ye),Fl=function(A){me(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.value=r.value,n}return e}(ye),Il=function(A){me(e,A);function e(t,r){var n=A.call(this,t,r)||this;n.src=r.src,n.width=parseInt(r.width,10)||0,n.height=parseInt(r.height,10)||0,n.backgroundColor=n.styles.backgroundColor;try{if(r.contentWindow&&r.contentWindow.document&&r.contentWindow.document.documentElement){n.tree=xl(t,r.contentWindow.document.documentElement);var a=r.contentWindow.document.documentElement?Lr(t,getComputedStyle(r.contentWindow.document.documentElement).backgroundColor):Le.TRANSPARENT,i=r.contentWindow.document.body?Lr(t,getComputedStyle(r.contentWindow.document.body).backgroundColor):Le.TRANSPARENT;n.backgroundColor=$e(a)?$e(i)?n.styles.backgroundColor:i:a}}catch{}return n}return e}(ye),$b=["OL","UL","MENU"],ra=function(A,e,t,r){for(var n=e.firstChild,a=void 0;n;n=a)if(a=n.nextSibling,vl(n)&&n.data.trim().length>0)t.textNodes.push(new Vb(A,n,t.styles));else if(Mt(n))if(Dl(n)&&n.assignedNodes)n.assignedNodes().forEach(function(s){return ra(A,s,t,r)});else{var i=yl(A,n);i.styles.isVisible()&&(Zb(n,i,r)?i.flags|=4:AT(i.styles)&&(i.flags|=2),$b.indexOf(n.tagName)!==-1&&(i.flags|=8),t.elements.push(i),n.slot,n.shadowRoot?ra(A,n.shadowRoot,i,r):!aa(n)&&!_l(n)&&!ia(n)&&ra(A,n,i,r))}},yl=function(A,e){return gs(e)?new Cl(A,e):Nl(e)?new wl(A,e):_l(e)?new bl(A,e):eT(e)?new Tl(A,e):tT(e)?new ds(A,e):rT(e)?new fs(A,e):ia(e)?new Ql(A,e):aa(e)?new Fl(A,e):Ll(e)?new Il(A,e):new ye(A,e)},xl=function(A,e){var t=yl(A,e);return t.flags|=4,ra(A,e,t,t),t},Zb=function(A,e,t){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||Bs(A)&&t.styles.isTransparent()},AT=function(A){return A.isPositioned()||A.isFloating()},vl=function(A){return A.nodeType===Node.TEXT_NODE},Mt=function(A){return A.nodeType===Node.ELEMENT_NODE},hs=function(A){return Mt(A)&&typeof A.style<"u"&&!na(A)},na=function(A){return typeof A.className=="object"},eT=function(A){return A.tagName==="LI"},tT=function(A){return A.tagName==="OL"},rT=function(A){return A.tagName==="INPUT"},nT=function(A){return A.tagName==="HTML"},_l=function(A){return A.tagName==="svg"},Bs=function(A){return A.tagName==="BODY"},Nl=function(A){return A.tagName==="CANVAS"},Sl=function(A){return A.tagName==="VIDEO"},gs=function(A){return A.tagName==="IMG"},Ll=function(A){return A.tagName==="IFRAME"},Hl=function(A){return A.tagName==="STYLE"},aT=function(A){return A.tagName==="SCRIPT"},aa=function(A){return A.tagName==="TEXTAREA"},ia=function(A){return A.tagName==="SELECT"},Dl=function(A){return A.tagName==="SLOT"},Ol=function(A){return A.tagName.indexOf("-")>0},iT=function(){function A(){this.counters={}}return A.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},A.prototype.getCounterValues=function(e){var t=this.counters[e];return t||[]},A.prototype.pop=function(e){var t=this;e.forEach(function(r){return t.counters[r].pop()})},A.prototype.parse=function(e){var t=this,r=e.counterIncrement,n=e.counterReset,a=!0;r!==null&&r.forEach(function(s){var u=t.counters[s.counter];u&&s.increment!==0&&(a=!1,u.length||u.push(1),u[Math.max(0,u.length-1)]+=s.increment)});var i=[];return a&&n.forEach(function(s){var u=t.counters[s.counter];i.push(s.counter),u||(u=t.counters[s.counter]=[]),u.push(s.reset)}),i},A}(),Rl={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"]},Ml={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:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},sT={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:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},oT={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:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},kt=function(A,e,t,r,n,a){return A<e||A>t?Mr(A,n,a.length>0):r.integers.reduce(function(i,s,u){for(;A>=s;)A-=s,i+=r.values[u];return i},"")+a},kl=function(A,e,t,r){var n="";do t||A--,n=r(A)+n,A/=e;while(A*e>=e);return n},QA=function(A,e,t,r,n){var a=t-e+1;return(A<0?"-":"")+(kl(Math.abs(A),a,r,function(i){return UA(Math.floor(i%a)+e)})+n)},mt=function(A,e,t){t===void 0&&(t=". ");var r=e.length;return kl(Math.abs(A),r,!1,function(n){return e[Math.floor(n%r)]})+t},Pt=1,At=2,et=4,Rr=8,He=function(A,e,t,r,n,a){if(A<-9999||A>9999)return Mr(A,4,n.length>0);var i=Math.abs(A),s=n;if(i===0)return e[0]+s;for(var u=0;i>0&&u<=4;u++){var l=i%10;l===0&&xA(a,Pt)&&s!==""?s=e[l]+s:l>1||l===1&&u===0||l===1&&u===1&&xA(a,At)||l===1&&u===1&&xA(a,et)&&A>100||l===1&&u>1&&xA(a,Rr)?s=e[l]+(u>0?t[u-1]:"")+s:l===1&&u>0&&(s=t[u-1]+s),i=Math.floor(i/10)}return(A<0?r:"")+s},Pl="十百千萬",Kl="拾佰仟萬",Vl="マイナス",ps="마이너스",Mr=function(A,e,t){var r=t?". ":"",n=t?"、":"",a=t?", ":"",i=t?" ":"";switch(e){case 0:return"•"+i;case 1:return"◦"+i;case 2:return"◾"+i;case 5:var s=QA(A,48,57,!0,r);return s.length<4?"0"+s:s;case 4:return mt(A,"〇一二三四五六七八九",n);case 6:return kt(A,1,3999,Rl,3,r).toLowerCase();case 7:return kt(A,1,3999,Rl,3,r);case 8:return QA(A,945,969,!1,r);case 9:return QA(A,97,122,!1,r);case 10:return QA(A,65,90,!1,r);case 11:return QA(A,1632,1641,!0,r);case 12:case 49:return kt(A,1,9999,Ml,3,r);case 35:return kt(A,1,9999,Ml,3,r).toLowerCase();case 13:return QA(A,2534,2543,!0,r);case 14:case 30:return QA(A,6112,6121,!0,r);case 15:return mt(A,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return mt(A,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return He(A,"零一二三四五六七八九",Pl,"負",n,At|et|Rr);case 47:return He(A,"零壹貳參肆伍陸柒捌玖",Kl,"負",n,Pt|At|et|Rr);case 42:return He(A,"零一二三四五六七八九",Pl,"负",n,At|et|Rr);case 41:return He(A,"零壹贰叁肆伍陆柒捌玖",Kl,"负",n,Pt|At|et|Rr);case 26:return He(A,"〇一二三四五六七八九","十百千万",Vl,n,0);case 25:return He(A,"零壱弐参四伍六七八九","拾百千万",Vl,n,Pt|At|et);case 31:return He(A,"영일이삼사오육칠팔구","십백천만",ps,a,Pt|At|et);case 33:return He(A,"零一二三四五六七八九","十百千萬",ps,a,0);case 32:return He(A,"零壹貳參四五六七八九","拾百千",ps,a,Pt|At|et);case 18:return QA(A,2406,2415,!0,r);case 20:return kt(A,1,19999,oT,3,r);case 21:return QA(A,2790,2799,!0,r);case 22:return QA(A,2662,2671,!0,r);case 22:return kt(A,1,10999,sT,3,r);case 23:return mt(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return mt(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return QA(A,3302,3311,!0,r);case 28:return mt(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return mt(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return QA(A,3792,3801,!0,r);case 37:return QA(A,6160,6169,!0,r);case 38:return QA(A,4160,4169,!0,r);case 39:return QA(A,2918,2927,!0,r);case 40:return QA(A,1776,1785,!0,r);case 43:return QA(A,3046,3055,!0,r);case 44:return QA(A,3174,3183,!0,r);case 45:return QA(A,3664,3673,!0,r);case 46:return QA(A,3872,3881,!0,r);case 3:default:return QA(A,48,57,!0,r)}},Gl="data-html2canvas-ignore",Yl=function(){function A(e,t,r){if(this.context=e,this.options=r,this.scrolledElements=[],this.referenceElement=t,this.counters=new iT,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return A.prototype.toIFrame=function(e,t){var r=this,n=uT(e,t);if(!n.contentWindow)return Promise.reject("Unable to find iframe window");var a=e.defaultView.pageXOffset,i=e.defaultView.pageYOffset,s=n.contentWindow,u=s.document,l=dT(n).then(function(){return qA(r,void 0,void 0,function(){var d,f;return VA(this,function(h){switch(h.label){case 0:return this.scrolledElements.forEach(gT),s&&(s.scrollTo(t.left,t.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(s.scrollY!==t.top||s.scrollX!==t.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(s.scrollX-t.left,s.scrollY-t.top,0,0))),d=this.options.onclone,f=this.clonedReferenceElement,typeof f>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:u.fonts&&u.fonts.ready?[4,u.fonts.ready]:[3,2];case 1:h.sent(),h.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,lT(u)]:[3,4];case 3:h.sent(),h.label=4;case 4:return typeof d=="function"?[2,Promise.resolve().then(function(){return d(u,f)}).then(function(){return n})]:[2,n]}})})});return u.open(),u.write(hT(document.doctype)+"<html></html>"),BT(this.referenceElement.ownerDocument,a,i),u.replaceChild(u.adoptNode(this.documentElement),u.documentElement),u.close(),l},A.prototype.createElementClone=function(e){if(As(e,2))debugger;if(Nl(e))return this.createCanvasClone(e);if(Sl(e))return this.createVideoClone(e);if(Hl(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return gs(t)&&(gs(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=""),t.loading==="lazy"&&(t.loading="eager")),Ol(t)?this.createCustomElementClone(t):t},A.prototype.createCustomElementClone=function(e){var t=document.createElement("html2canvascustomelement");return ms(e.style,t),t},A.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var r=[].slice.call(t.cssRules,0).reduce(function(a,i){return i&&typeof i.cssText=="string"?a+i.cssText:a},""),n=e.cloneNode(!1);return n.textContent=r,n}}catch(a){if(this.context.logger.error("Unable to access cssRules property",a),a.name!=="SecurityError")throw a}return e.cloneNode(!1)},A.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var r=e.ownerDocument.createElement("img");try{return r.src=e.toDataURL(),r}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var n=e.cloneNode(!1);try{n.width=e.width,n.height=e.height;var a=e.getContext("2d"),i=n.getContext("2d");if(i)if(!this.options.allowTaint&&a)i.putImageData(a.getImageData(0,0,e.width,e.height),0,0);else{var s=(t=e.getContext("webgl2"))!==null&&t!==void 0?t:e.getContext("webgl");if(s){var u=s.getContextAttributes();(u==null?void 0:u.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}i.drawImage(e,0,0)}return n}catch{this.context.logger.info("Unable to clone canvas as it is tainted",e)}return n},A.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement("canvas");t.width=e.offsetWidth,t.height=e.offsetHeight;var r=t.getContext("2d");try{return r&&(r.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||r.getImageData(0,0,t.width,t.height)),t}catch{this.context.logger.info("Unable to clone video as it is tainted",e)}var n=e.ownerDocument.createElement("canvas");return n.width=e.offsetWidth,n.height=e.offsetHeight,n},A.prototype.appendChildNode=function(e,t,r){(!Mt(t)||!aT(t)&&!t.hasAttribute(Gl)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(t)))&&(!this.options.copyStyles||!Mt(t)||!Hl(t))&&e.appendChild(this.cloneNode(t,r))},A.prototype.cloneChildNodes=function(e,t,r){for(var n=this,a=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;a;a=a.nextSibling)if(Mt(a)&&Dl(a)&&typeof a.assignedNodes=="function"){var i=a.assignedNodes();i.length&&i.forEach(function(s){return n.appendChildNode(t,s,r)})}else this.appendChildNode(t,a,r)},A.prototype.cloneNode=function(e,t){if(vl(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var r=e.ownerDocument.defaultView;if(r&&Mt(e)&&(hs(e)||na(e))){var n=this.createElementClone(e);n.style.transitionProperty="none";var a=r.getComputedStyle(e),i=r.getComputedStyle(e,":before"),s=r.getComputedStyle(e,":after");this.referenceElement===e&&hs(n)&&(this.clonedReferenceElement=n),Bs(n)&&ET(n);var u=this.counters.parse(new al(this.context,a)),l=this.resolvePseudoContent(e,n,i,kr.BEFORE);Ol(e)&&(t=!0),Sl(e)||this.cloneChildNodes(e,n,t),l&&n.insertBefore(l,n.firstChild);var d=this.resolvePseudoContent(e,n,s,kr.AFTER);return d&&n.appendChild(d),this.counters.pop(u),(a&&(this.options.copyStyles||na(e))&&!Ll(e)||t)&&ms(a,n),(e.scrollTop!==0||e.scrollLeft!==0)&&this.scrolledElements.push([n,e.scrollLeft,e.scrollTop]),(aa(e)||ia(e))&&(aa(n)||ia(n))&&(n.value=e.value),n}return e.cloneNode(!1)},A.prototype.resolvePseudoContent=function(e,t,r,n){var a=this;if(r){var i=r.content,s=t.ownerDocument;if(!(!s||!i||i==="none"||i==="-moz-alt-content"||r.display==="none")){this.counters.parse(new al(this.context,r));var u=new eb(this.context,r),l=s.createElement("html2canvaspseudoelement");ms(r,l),u.content.forEach(function(f){if(f.type===0)l.appendChild(s.createTextNode(f.value));else if(f.type===22){var h=s.createElement("img");h.src=f.value,h.style.opacity="1",l.appendChild(h)}else if(f.type===18){if(f.name==="attr"){var C=f.values.filter(lA);C.length&&l.appendChild(s.createTextNode(e.getAttribute(C[0].value)||""))}else if(f.name==="counter"){var E=f.values.filter(Ot),T=E[0],v=E[1];if(T&&lA(T)){var b=a.counters.getCounterValue(T.value),x=v&&lA(v)?Zi.parse(a.context,v.value):3;l.appendChild(s.createTextNode(Mr(b,x,!1)))}}else if(f.name==="counters"){var D=f.values.filter(Ot),T=D[0],R=D[1],v=D[2];if(T&&lA(T)){var O=a.counters.getCounterValues(T.value),m=v&&lA(v)?Zi.parse(a.context,v.value):3,L=R&&R.type===0?R.value:"",V=O.map(function(iA){return Mr(iA,m,!1)}).join(L);l.appendChild(s.createTextNode(V))}}}else if(f.type===20)switch(f.value){case"open-quote":l.appendChild(s.createTextNode(nl(u.quotes,a.quoteDepth++,!0)));break;case"close-quote":l.appendChild(s.createTextNode(nl(u.quotes,--a.quoteDepth,!1)));break;default:l.appendChild(s.createTextNode(f.value))}}),l.className=Es+" "+Cs;var d=n===kr.BEFORE?" "+Es:" "+Cs;return na(t)?t.className.baseValue+=d:t.className+=d,l}}},A.destroy=function(e){return e.parentNode?(e.parentNode.removeChild(e),!0):!1},A}(),kr;(function(A){A[A.BEFORE=0]="BEFORE",A[A.AFTER=1]="AFTER"})(kr||(kr={}));var uT=function(A,e){var t=A.createElement("iframe");return t.className="html2canvas-container",t.style.visibility="hidden",t.style.position="fixed",t.style.left="-10000px",t.style.top="0px",t.style.border="0",t.width=e.width.toString(),t.height=e.height.toString(),t.scrolling="no",t.setAttribute(Gl,"true"),A.body.appendChild(t),t},cT=function(A){return new Promise(function(e){if(A.complete){e();return}if(!A.src){e();return}A.onload=e,A.onerror=e})},lT=function(A){return Promise.all([].slice.call(A.images,0).map(cT))},dT=function(A){return new Promise(function(e,t){var r=A.contentWindow;if(!r)return t("No window assigned for iframe");var n=r.document;r.onload=A.onload=function(){r.onload=A.onload=null;var a=setInterval(function(){n.body.childNodes.length>0&&n.readyState==="complete"&&(clearInterval(a),e(A))},50)}})},fT=["all","d","content"],ms=function(A,e){for(var t=A.length-1;t>=0;t--){var r=A.item(t);fT.indexOf(r)===-1&&e.style.setProperty(r,A.getPropertyValue(r))}return e},hT=function(A){var e="";return A&&(e+="<!DOCTYPE ",A.name&&(e+=A.name),A.internalSubset&&(e+=A.internalSubset),A.publicId&&(e+='"'+A.publicId+'"'),A.systemId&&(e+='"'+A.systemId+'"'),e+=">"),e},BT=function(A,e,t){A&&A.defaultView&&(e!==A.defaultView.pageXOffset||t!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(e,t)},gT=function(A){var e=A[0],t=A[1],r=A[2];e.scrollLeft=t,e.scrollTop=r},pT=":before",mT=":after",Es="___html2canvas___pseudoelement_before",Cs="___html2canvas___pseudoelement_after",Xl=`{
36
36
  content: "" !important;
37
37
  display: none !important;
38
- }`,hT=function(A){BT(A,"."+hs+dT+Kl+`
39
- .`+Bs+fT+Kl)},BT=function(A,e){var t=A.ownerDocument;if(t){var r=t.createElement("style");r.textContent=e,A.appendChild(r)}},Vl=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}(),gT=function(){function A(e,t){this.context=e,this._options=t,this._cache={}}return A.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)||(ps(e)||CT(e))&&(this._cache[e]=this.loadImage(e)).catch(function(){}),t},A.prototype.match=function(e){return this._cache[e]},A.prototype.loadImage=function(e){return jA(this,void 0,void 0,function(){var t,r,n,a,i=this;return GA(this,function(s){switch(s.label){case 0:return t=Vl.isSameOrigin(e),r=!gs(e)&&this._options.useCORS===!0&&kA.SUPPORT_CORS_IMAGES&&!t,n=!gs(e)&&!t&&!ps(e)&&typeof this._options.proxy=="string"&&kA.SUPPORT_CORS_XHR&&!r,!t&&this._options.allowTaint===!1&&!gs(e)&&!ps(e)&&!n&&!r?[2]:(a=e,n?[4,this.proxy(a)]:[3,2]);case 1:a=s.sent(),s.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise(function(u,l){var d=new Image;d.onload=function(){return u(d)},d.onerror=l,(wT(a)||r)&&(d.crossOrigin="anonymous"),d.src=a,d.complete===!0&&setTimeout(function(){return u(d)},500),i._options.imageTimeout>0&&setTimeout(function(){return l("Timed out ("+i._options.imageTimeout+"ms) loading image")},i._options.imageTimeout)})];case 3:return[2,s.sent()]}})})},A.prototype.has=function(e){return typeof this._cache[e]<"u"},A.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},A.prototype.proxy=function(e){var t=this,r=this._options.proxy;if(!r)throw new Error("No proxy defined");var n=e.substring(0,256);return new Promise(function(a,i){var s=kA.SUPPORT_RESPONSE_TYPE?"blob":"text",u=new XMLHttpRequest;u.onload=function(){if(u.status===200)if(s==="text")a(u.response);else{var f=new FileReader;f.addEventListener("load",function(){return a(f.result)},!1),f.addEventListener("error",function(h){return i(h)},!1),f.readAsDataURL(u.response)}else i("Failed to proxy resource "+n+" with status code "+u.status)},u.onerror=i;var l=r.indexOf("?")>-1?"&":"?";if(u.open("GET",""+r+l+"url="+encodeURIComponent(e)+"&responseType="+s),s!=="text"&&u instanceof XMLHttpRequest&&(u.responseType=s),t._options.imageTimeout){var d=t._options.imageTimeout;u.timeout=d,u.ontimeout=function(){return i("Timed out ("+d+"ms) proxying "+n)}}u.send()})},A}(),pT=/^data:image\/svg\+xml/i,ET=/^data:image\/.*;base64,/i,mT=/^data:image\/.*/i,CT=function(A){return kA.SUPPORT_SVG_DRAWING||!bT(A)},gs=function(A){return mT.test(A)},wT=function(A){return ET.test(A)},ps=function(A){return A.substr(0,4)==="blob"},bT=function(A){return A.substr(-3).toLowerCase()==="svg"||pT.test(A)},k=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}(),kt=function(A,e,t){return new k(A.x+(e.x-A.x)*t,A.y+(e.y-A.y)*t)},ia=function(){function A(e,t,r,n){this.type=1,this.start=e,this.startControl=t,this.endControl=r,this.end=n}return A.prototype.subdivide=function(e,t){var r=kt(this.start,this.startControl,e),n=kt(this.startControl,this.endControl,e),a=kt(this.endControl,this.end,e),i=kt(r,n,e),s=kt(n,a,e),u=kt(i,s,e);return t?new A(this.start,r,i,u):new A(u,s,a,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}(),fe=function(A){return A.type===1},TT=function(){function A(e){var t=e.styles,r=e.bounds,n=_r(t.borderTopLeftRadius,r.width,r.height),a=n[0],i=n[1],s=_r(t.borderTopRightRadius,r.width,r.height),u=s[0],l=s[1],d=_r(t.borderBottomRightRadius,r.width,r.height),f=d[0],h=d[1],C=_r(t.borderBottomLeftRadius,r.width,r.height),m=C[0],T=C[1],v=[];v.push((a+u)/r.width),v.push((m+f)/r.width),v.push((i+T)/r.height),v.push((l+h)/r.height);var b=Math.max.apply(Math,v);b>1&&(a/=b,i/=b,u/=b,l/=b,f/=b,h/=b,m/=b,T/=b);var x=r.width-u,D=r.height-h,R=r.width-f,O=r.height-T,E=t.borderTopWidth,L=t.borderRightWidth,M=t.borderBottomWidth,P=t.borderLeftWidth,z=gA(t.paddingTop,e.bounds.width),oA=gA(t.paddingRight,e.bounds.width),dA=gA(t.paddingBottom,e.bounds.width),q=gA(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=a>0||i>0?CA(r.left+P/3,r.top+E/3,a-P/3,i-E/3,uA.TOP_LEFT):new k(r.left+P/3,r.top+E/3),this.topRightBorderDoubleOuterBox=a>0||i>0?CA(r.left+x,r.top+E/3,u-L/3,l-E/3,uA.TOP_RIGHT):new k(r.left+r.width-L/3,r.top+E/3),this.bottomRightBorderDoubleOuterBox=f>0||h>0?CA(r.left+R,r.top+D,f-L/3,h-M/3,uA.BOTTOM_RIGHT):new k(r.left+r.width-L/3,r.top+r.height-M/3),this.bottomLeftBorderDoubleOuterBox=m>0||T>0?CA(r.left+P/3,r.top+O,m-P/3,T-M/3,uA.BOTTOM_LEFT):new k(r.left+P/3,r.top+r.height-M/3),this.topLeftBorderDoubleInnerBox=a>0||i>0?CA(r.left+P*2/3,r.top+E*2/3,a-P*2/3,i-E*2/3,uA.TOP_LEFT):new k(r.left+P*2/3,r.top+E*2/3),this.topRightBorderDoubleInnerBox=a>0||i>0?CA(r.left+x,r.top+E*2/3,u-L*2/3,l-E*2/3,uA.TOP_RIGHT):new k(r.left+r.width-L*2/3,r.top+E*2/3),this.bottomRightBorderDoubleInnerBox=f>0||h>0?CA(r.left+R,r.top+D,f-L*2/3,h-M*2/3,uA.BOTTOM_RIGHT):new k(r.left+r.width-L*2/3,r.top+r.height-M*2/3),this.bottomLeftBorderDoubleInnerBox=m>0||T>0?CA(r.left+P*2/3,r.top+O,m-P*2/3,T-M*2/3,uA.BOTTOM_LEFT):new k(r.left+P*2/3,r.top+r.height-M*2/3),this.topLeftBorderStroke=a>0||i>0?CA(r.left+P/2,r.top+E/2,a-P/2,i-E/2,uA.TOP_LEFT):new k(r.left+P/2,r.top+E/2),this.topRightBorderStroke=a>0||i>0?CA(r.left+x,r.top+E/2,u-L/2,l-E/2,uA.TOP_RIGHT):new k(r.left+r.width-L/2,r.top+E/2),this.bottomRightBorderStroke=f>0||h>0?CA(r.left+R,r.top+D,f-L/2,h-M/2,uA.BOTTOM_RIGHT):new k(r.left+r.width-L/2,r.top+r.height-M/2),this.bottomLeftBorderStroke=m>0||T>0?CA(r.left+P/2,r.top+O,m-P/2,T-M/2,uA.BOTTOM_LEFT):new k(r.left+P/2,r.top+r.height-M/2),this.topLeftBorderBox=a>0||i>0?CA(r.left,r.top,a,i,uA.TOP_LEFT):new k(r.left,r.top),this.topRightBorderBox=u>0||l>0?CA(r.left+x,r.top,u,l,uA.TOP_RIGHT):new k(r.left+r.width,r.top),this.bottomRightBorderBox=f>0||h>0?CA(r.left+R,r.top+D,f,h,uA.BOTTOM_RIGHT):new k(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=m>0||T>0?CA(r.left,r.top+O,m,T,uA.BOTTOM_LEFT):new k(r.left,r.top+r.height),this.topLeftPaddingBox=a>0||i>0?CA(r.left+P,r.top+E,Math.max(0,a-P),Math.max(0,i-E),uA.TOP_LEFT):new k(r.left+P,r.top+E),this.topRightPaddingBox=u>0||l>0?CA(r.left+Math.min(x,r.width-L),r.top+E,x>r.width+L?0:Math.max(0,u-L),Math.max(0,l-E),uA.TOP_RIGHT):new k(r.left+r.width-L,r.top+E),this.bottomRightPaddingBox=f>0||h>0?CA(r.left+Math.min(R,r.width-P),r.top+Math.min(D,r.height-M),Math.max(0,f-L),Math.max(0,h-M),uA.BOTTOM_RIGHT):new k(r.left+r.width-L,r.top+r.height-M),this.bottomLeftPaddingBox=m>0||T>0?CA(r.left+P,r.top+Math.min(O,r.height-M),Math.max(0,m-P),Math.max(0,T-M),uA.BOTTOM_LEFT):new k(r.left+P,r.top+r.height-M),this.topLeftContentBox=a>0||i>0?CA(r.left+P+q,r.top+E+z,Math.max(0,a-(P+q)),Math.max(0,i-(E+z)),uA.TOP_LEFT):new k(r.left+P+q,r.top+E+z),this.topRightContentBox=u>0||l>0?CA(r.left+Math.min(x,r.width+P+q),r.top+E+z,x>r.width+P+q?0:u-P+q,l-(E+z),uA.TOP_RIGHT):new k(r.left+r.width-(L+oA),r.top+E+z),this.bottomRightContentBox=f>0||h>0?CA(r.left+Math.min(R,r.width-(P+q)),r.top+Math.min(D,r.height+E+z),Math.max(0,f-(L+oA)),h-(M+dA),uA.BOTTOM_RIGHT):new k(r.left+r.width-(L+oA),r.top+r.height-(M+dA)),this.bottomLeftContentBox=m>0||T>0?CA(r.left+P+q,r.top+O,Math.max(0,m-(P+q)),T-(M+dA),uA.BOTTOM_LEFT):new k(r.left+P+q,r.top+r.height-(M+dA))}return A}(),uA;(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"})(uA||(uA={}));var CA=function(A,e,t,r,n){var a=4*((Math.sqrt(2)-1)/3),i=t*a,s=r*a,u=A+t,l=e+r;switch(n){case uA.TOP_LEFT:return new ia(new k(A,l),new k(A,l-s),new k(u-i,e),new k(u,e));case uA.TOP_RIGHT:return new ia(new k(A,e),new k(A+i,e),new k(u,l-s),new k(u,l));case uA.BOTTOM_RIGHT:return new ia(new k(u,e),new k(u,e+s),new k(A+i,l),new k(A,l));case uA.BOTTOM_LEFT:default:return new ia(new k(u,l),new k(u-i,l),new k(A,e+s),new k(A,e))}},sa=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},UT=function(A){return[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox]},oa=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},QT=function(){function A(e,t,r){this.offsetX=e,this.offsetY=t,this.matrix=r,this.type=0,this.target=6}return A}(),ua=function(){function A(e,t){this.path=e,this.target=t,this.type=1}return A}(),FT=function(){function A(e){this.opacity=e,this.type=2,this.target=6}return A}(),IT=function(A){return A.type===0},Gl=function(A){return A.type===1},yT=function(A){return A.type===2},Yl=function(A,e){return A.length===e.length?A.some(function(t,r){return t===e[r]}):!1},xT=function(A,e,t,r,n){return A.map(function(a,i){switch(i){case 0:return a.add(e,t);case 1:return a.add(e+r,t);case 2:return a.add(e+r,t+n);case 3:return a.add(e,t+n)}return a})},Xl=function(){function A(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return A}(),Wl=function(){function A(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new TT(this.container),this.container.styles.opacity<1&&this.effects.push(new FT(this.container.styles.opacity)),this.container.styles.transform!==null){var r=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,a=this.container.styles.transform;this.effects.push(new QT(r,n,a))}if(this.container.styles.overflowX!==0){var i=sa(this.curves),s=oa(this.curves);Yl(i,s)?this.effects.push(new ua(i,6)):(this.effects.push(new ua(i,2)),this.effects.push(new ua(s,4)))}}return A.prototype.getEffects=function(e){for(var t=[2,3].indexOf(this.container.styles.position)===-1,r=this.parent,n=this.effects.slice(0);r;){var a=r.effects.filter(function(u){return!Gl(u)});if(t||r.container.styles.position!==0||!r.parent){if(n.unshift.apply(n,a),t=[2,3].indexOf(r.container.styles.position)===-1,r.container.styles.overflowX!==0){var i=sa(r.curves),s=oa(r.curves);Yl(i,s)||n.unshift(new ua(s,6))}}else n.unshift.apply(n,a);r=r.parent}return n.filter(function(u){return xA(u.target,e)})},A}(),Es=function(A,e,t,r){A.container.elements.forEach(function(n){var a=xA(n.flags,4),i=xA(n.flags,2),s=new Wl(n,A);xA(n.styles.display,2048)&&r.push(s);var u=xA(n.flags,8)?[]:r;if(a||i){var l=a||n.styles.isPositioned()?t:e,d=new Xl(s);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var f=n.styles.zIndex.order;if(f<0){var h=0;l.negativeZIndex.some(function(m,T){return f>m.element.container.styles.zIndex.order?(h=T,!1):h>0}),l.negativeZIndex.splice(h,0,d)}else if(f>0){var C=0;l.positiveZIndex.some(function(m,T){return f>=m.element.container.styles.zIndex.order?(C=T+1,!1):C>0}),l.positiveZIndex.splice(C,0,d)}else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(d)}else n.styles.isFloating()?l.nonPositionedFloats.push(d):l.nonPositionedInlineLevel.push(d);Es(s,d,a?d:t,u)}else n.styles.isInlineLevel()?e.inlineLevel.push(s):e.nonInlineLevel.push(s),Es(s,e,t,u);xA(n.flags,8)&&Jl(n,u)})},Jl=function(A,e){for(var t=A instanceof ss?A.start:1,r=A instanceof ss?A.reversed:!1,n=0;n<e.length;n++){var a=e[n];a.container instanceof ml&&typeof a.container.value=="number"&&a.container.value!==0&&(t=a.container.value),a.listValue=Or(t,a.container.styles.listStyleType,!0),t+=r?-1:1}},vT=function(A){var e=new Wl(A,null),t=new Xl(e),r=[];return Es(e,t,t,r),Jl(e.container,r),t},ql=function(A,e){switch(e){case 0:return he(A.topLeftBorderBox,A.topLeftPaddingBox,A.topRightBorderBox,A.topRightPaddingBox);case 1:return he(A.topRightBorderBox,A.topRightPaddingBox,A.bottomRightBorderBox,A.bottomRightPaddingBox);case 2:return he(A.bottomRightBorderBox,A.bottomRightPaddingBox,A.bottomLeftBorderBox,A.bottomLeftPaddingBox);case 3:default:return he(A.bottomLeftBorderBox,A.bottomLeftPaddingBox,A.topLeftBorderBox,A.topLeftPaddingBox)}},_T=function(A,e){switch(e){case 0:return he(A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox,A.topRightBorderBox,A.topRightBorderDoubleOuterBox);case 1:return he(A.topRightBorderBox,A.topRightBorderDoubleOuterBox,A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox);case 2:return he(A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox,A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox);case 3:default:return he(A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox,A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox)}},NT=function(A,e){switch(e){case 0:return he(A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox,A.topRightBorderDoubleInnerBox,A.topRightPaddingBox);case 1:return he(A.topRightBorderDoubleInnerBox,A.topRightPaddingBox,A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox);case 2:return he(A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox,A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox);case 3:default:return he(A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox,A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox)}},ST=function(A,e){switch(e){case 0:return ca(A.topLeftBorderStroke,A.topRightBorderStroke);case 1:return ca(A.topRightBorderStroke,A.bottomRightBorderStroke);case 2:return ca(A.bottomRightBorderStroke,A.bottomLeftBorderStroke);case 3:default:return ca(A.bottomLeftBorderStroke,A.topLeftBorderStroke)}},ca=function(A,e){var t=[];return fe(A)?t.push(A.subdivide(.5,!1)):t.push(A),fe(e)?t.push(e.subdivide(.5,!0)):t.push(e),t},he=function(A,e,t,r){var n=[];return fe(A)?n.push(A.subdivide(.5,!1)):n.push(A),fe(t)?n.push(t.subdivide(.5,!0)):n.push(t),fe(r)?n.push(r.subdivide(.5,!0).reverse()):n.push(r),fe(e)?n.push(e.subdivide(.5,!1).reverse()):n.push(e),n},jl=function(A){var e=A.bounds,t=A.styles;return e.add(t.borderLeftWidth,t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth),-(t.borderTopWidth+t.borderBottomWidth))},la=function(A){var e=A.styles,t=A.bounds,r=gA(e.paddingLeft,t.width),n=gA(e.paddingRight,t.width),a=gA(e.paddingTop,t.width),i=gA(e.paddingBottom,t.width);return t.add(r+e.borderLeftWidth,a+e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth+r+n),-(e.borderTopWidth+e.borderBottomWidth+a+i))},LT=function(A,e){return A===0?e.bounds:A===2?la(e):jl(e)},HT=function(A,e){return A===0?e.bounds:A===2?la(e):jl(e)},ms=function(A,e,t){var r=LT(Kt(A.styles.backgroundOrigin,e),A),n=HT(Kt(A.styles.backgroundClip,e),A),a=DT(Kt(A.styles.backgroundSize,e),t,r),i=a[0],s=a[1],u=_r(Kt(A.styles.backgroundPosition,e),r.width-i,r.height-s),l=OT(Kt(A.styles.backgroundRepeat,e),u,a,r,n),d=Math.round(r.left+u[0]),f=Math.round(r.top+u[1]);return[l,d,f,i,s]},Pt=function(A){return lA(A)&&A.value===Dt.AUTO},da=function(A){return typeof A=="number"},DT=function(A,e,t){var r=e[0],n=e[1],a=e[2],i=A[0],s=A[1];if(!i)return[0,0];if(IA(i)&&s&&IA(s))return[gA(i,t.width),gA(s,t.height)];var u=da(a);if(lA(i)&&(i.value===Dt.CONTAIN||i.value===Dt.COVER)){if(da(a)){var l=t.width/t.height;return l<a!=(i.value===Dt.COVER)?[t.width,t.width/a]:[t.height*a,t.height]}return[t.width,t.height]}var d=da(r),f=da(n),h=d||f;if(Pt(i)&&(!s||Pt(s))){if(d&&f)return[r,n];if(!u&&!h)return[t.width,t.height];if(h&&u){var C=d?r:n*a,m=f?n:r/a;return[C,m]}var T=d?r:t.width,v=f?n:t.height;return[T,v]}if(u){var b=0,x=0;return IA(i)?b=gA(i,t.width):IA(s)&&(x=gA(s,t.height)),Pt(i)?b=x*a:(!s||Pt(s))&&(x=b/a),[b,x]}var D=null,R=null;if(IA(i)?D=gA(i,t.width):s&&IA(s)&&(R=gA(s,t.height)),D!==null&&(!s||Pt(s))&&(R=d&&f?D/r*n:t.height),R!==null&&Pt(i)&&(D=d&&f?R/n*r:t.width),D!==null&&R!==null)return[D,R];throw new Error("Unable to calculate background-size for element")},Kt=function(A,e){var t=A[e];return typeof t>"u"?A[0]:t},OT=function(A,e,t,r,n){var a=e[0],i=e[1],s=t[0],u=t[1];switch(A){case 2:return[new k(Math.round(r.left),Math.round(r.top+i)),new k(Math.round(r.left+r.width),Math.round(r.top+i)),new k(Math.round(r.left+r.width),Math.round(u+r.top+i)),new k(Math.round(r.left),Math.round(u+r.top+i))];case 3:return[new k(Math.round(r.left+a),Math.round(r.top)),new k(Math.round(r.left+a+s),Math.round(r.top)),new k(Math.round(r.left+a+s),Math.round(r.height+r.top)),new k(Math.round(r.left+a),Math.round(r.height+r.top))];case 1:return[new k(Math.round(r.left+a),Math.round(r.top+i)),new k(Math.round(r.left+a+s),Math.round(r.top+i)),new k(Math.round(r.left+a+s),Math.round(r.top+i+u)),new k(Math.round(r.left+a),Math.round(r.top+i+u))];default:return[new k(Math.round(n.left),Math.round(n.top)),new k(Math.round(n.left+n.width),Math.round(n.top)),new k(Math.round(n.left+n.width),Math.round(n.height+n.top)),new k(Math.round(n.left),Math.round(n.height+n.top))]}},RT="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",zl="Hidden Text",MT=function(){function A(e){this._data={},this._document=e}return A.prototype.parseMetrics=function(e,t){var r=this._document.createElement("div"),n=this._document.createElement("img"),a=this._document.createElement("span"),i=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",i.appendChild(r),n.src=RT,n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",a.style.fontFamily=e,a.style.fontSize=t,a.style.margin="0",a.style.padding="0",a.appendChild(this._document.createTextNode(zl)),r.appendChild(a),r.appendChild(n);var s=n.offsetTop-a.offsetTop+2;r.removeChild(a),r.appendChild(this._document.createTextNode(zl)),r.style.lineHeight="normal",n.style.verticalAlign="super";var u=n.offsetTop-r.offsetTop+2;return i.removeChild(r),{baseline:s,middle:u}},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}(),$l=function(){function A(e,t){this.context=e,this.options=t}return A}(),kT=1e4,PT=function(A){me(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n._activeEffects=[],n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),r.canvas||(n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px"),n.fontMetrics=new MT(document),n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.ctx.textBaseline="bottom",n._activeEffects=[],n.context.logger.debug("Canvas renderer initialized ("+r.width+"x"+r.height+") with scale "+r.scale),n}return e.prototype.applyEffects=function(t){for(var r=this;this._activeEffects.length;)this.popEffect();t.forEach(function(n){return r.applyEffect(n)})},e.prototype.applyEffect=function(t){this.ctx.save(),yT(t)&&(this.ctx.globalAlpha=t.opacity),IT(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)),Gl(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 jA(this,void 0,void 0,function(){var r;return GA(this,function(n){switch(n.label){case 0:return r=t.element.container.styles,r.isVisible()?[4,this.renderStackContent(t)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}})})},e.prototype.renderNode=function(t){return jA(this,void 0,void 0,function(){return GA(this,function(r){switch(r.label){case 0:if(xA(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,n){var a=this;if(r===0)this.ctx.fillText(t.text,t.bounds.left,t.bounds.top+n);else{var i=is(t.text);i.reduce(function(s,u){return a.ctx.fillText(u,s,t.bounds.top+n),s+a.ctx.measureText(u).width},t.bounds.left)}},e.prototype.createFontStyle=function(t){var r=t.fontVariant.filter(function(i){return i==="normal"||i==="small-caps"}).join(""),n=XT(t.fontFamily).join(", "),a=vr(t.fontSize)?""+t.fontSize.number+t.fontSize.unit:t.fontSize.number+"px";return[[t.fontStyle,r,t.fontWeight,a,n].join(" "),n,a]},e.prototype.renderTextNode=function(t,r){return jA(this,void 0,void 0,function(){var n,a,i,s,u,l,d,f,h=this;return GA(this,function(C){return n=this.createFontStyle(r),a=n[0],i=n[1],s=n[2],this.ctx.font=a,this.ctx.direction=r.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",u=this.fontMetrics.getMetrics(i,s),l=u.baseline,d=u.middle,f=r.paintOrder,t.textBounds.forEach(function(m){f.forEach(function(T){switch(T){case 0:h.ctx.fillStyle=DA(r.color),h.renderTextWithLetterSpacing(m,r.letterSpacing,l);var v=r.textShadow;v.length&&m.text.trim().length&&(v.slice(0).reverse().forEach(function(b){h.ctx.shadowColor=DA(b.color),h.ctx.shadowOffsetX=b.offsetX.number*h.options.scale,h.ctx.shadowOffsetY=b.offsetY.number*h.options.scale,h.ctx.shadowBlur=b.blur.number,h.renderTextWithLetterSpacing(m,r.letterSpacing,l)}),h.ctx.shadowColor="",h.ctx.shadowOffsetX=0,h.ctx.shadowOffsetY=0,h.ctx.shadowBlur=0),r.textDecorationLine.length&&(h.ctx.fillStyle=DA(r.textDecorationColor||r.color),r.textDecorationLine.forEach(function(b){switch(b){case 1:h.ctx.fillRect(m.bounds.left,Math.round(m.bounds.top+l),m.bounds.width,1);break;case 2:h.ctx.fillRect(m.bounds.left,Math.round(m.bounds.top),m.bounds.width,1);break;case 3:h.ctx.fillRect(m.bounds.left,Math.ceil(m.bounds.top+d),m.bounds.width,1);break}}));break;case 1:r.webkitTextStrokeWidth&&m.text.trim().length&&(h.ctx.strokeStyle=DA(r.webkitTextStrokeColor),h.ctx.lineWidth=r.webkitTextStrokeWidth,h.ctx.lineJoin=window.chrome?"miter":"round",h.ctx.strokeText(m.text,m.bounds.left,m.bounds.top+l)),h.ctx.strokeStyle="",h.ctx.lineWidth=0,h.ctx.lineJoin="miter";break}})}),[2]})})},e.prototype.renderReplacedElement=function(t,r,n){if(n&&t.intrinsicWidth>0&&t.intrinsicHeight>0){var a=la(t),i=oa(r);this.path(i),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,t.intrinsicWidth,t.intrinsicHeight,a.left,a.top,a.width,a.height),this.ctx.restore()}},e.prototype.renderNodeContent=function(t){return jA(this,void 0,void 0,function(){var r,n,a,i,s,u,x,x,l,d,f,h,R,C,m,O,T,v,b,x,D,R,O;return GA(this,function(E){switch(E.label){case 0:this.applyEffects(t.getEffects(4)),r=t.container,n=t.curves,a=r.styles,i=0,s=r.textNodes,E.label=1;case 1:return i<s.length?(u=s[i],[4,this.renderTextNode(u,a)]):[3,4];case 2:E.sent(),E.label=3;case 3:return i++,[3,1];case 4:if(!(r instanceof gl))return[3,8];E.label=5;case 5:return E.trys.push([5,7,,8]),[4,this.context.cache.match(r.src)];case 6:return x=E.sent(),this.renderReplacedElement(r,n,x),[3,8];case 7:return E.sent(),this.context.logger.error("Error loading image "+r.src),[3,8];case 8:if(r instanceof pl&&this.renderReplacedElement(r,n,r.canvas),!(r instanceof El))return[3,12];E.label=9;case 9:return E.trys.push([9,11,,12]),[4,this.context.cache.match(r.svg)];case 10:return x=E.sent(),this.renderReplacedElement(r,n,x),[3,12];case 11:return E.sent(),this.context.logger.error("Error loading svg "+r.svg.substring(0,255)),[3,12];case 12:return r instanceof Tl&&r.tree?(l=new e(this.context,{scale:this.options.scale,backgroundColor:r.backgroundColor,x:0,y:0,width:r.width,height:r.height}),[4,l.render(r.tree)]):[3,14];case 13:d=E.sent(),r.width&&r.height&&this.ctx.drawImage(d,0,0,r.width,r.height,r.bounds.left,r.bounds.top,r.bounds.width,r.bounds.height),E.label=14;case 14:if(r instanceof os&&(f=Math.min(r.bounds.width,r.bounds.height),r.type===Aa?r.checked&&(this.ctx.save(),this.path([new k(r.bounds.left+f*.39363,r.bounds.top+f*.79),new k(r.bounds.left+f*.16,r.bounds.top+f*.5549),new k(r.bounds.left+f*.27347,r.bounds.top+f*.44071),new k(r.bounds.left+f*.39694,r.bounds.top+f*.5649),new k(r.bounds.left+f*.72983,r.bounds.top+f*.23),new k(r.bounds.left+f*.84,r.bounds.top+f*.34085),new k(r.bounds.left+f*.39363,r.bounds.top+f*.79)]),this.ctx.fillStyle=DA(Cl),this.ctx.fill(),this.ctx.restore()):r.type===ea&&r.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(r.bounds.left+f/2,r.bounds.top+f/2,f/4,0,Math.PI*2,!0),this.ctx.fillStyle=DA(Cl),this.ctx.fill(),this.ctx.restore())),KT(r)&&r.value.length){switch(h=this.createFontStyle(a),R=h[0],C=h[1],m=this.fontMetrics.getMetrics(R,C).baseline,this.ctx.font=R,this.ctx.fillStyle=DA(a.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=GT(r.styles.textAlign),O=la(r),T=0,r.styles.textAlign){case 1:T+=O.width/2;break;case 2:T+=O.width;break}v=O.add(T,0,0,-O.height/2+1),this.ctx.save(),this.path([new k(O.left,O.top),new k(O.left+O.width,O.top),new k(O.left+O.width,O.top+O.height),new k(O.left,O.top+O.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Hr(r.value,v),a.letterSpacing,m),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!xA(r.styles.display,2048))return[3,20];if(r.styles.listStyleImage===null)return[3,19];if(b=r.styles.listStyleImage,b.type!==0)return[3,18];x=void 0,D=b.url,E.label=15;case 15:return E.trys.push([15,17,,18]),[4,this.context.cache.match(D)];case 16:return x=E.sent(),this.ctx.drawImage(x,r.bounds.left-(x.width+10),r.bounds.top),[3,18];case 17:return E.sent(),this.context.logger.error("Error loading list-style-image "+D),[3,18];case 18:return[3,20];case 19:t.listValue&&r.styles.listStyleType!==-1&&(R=this.createFontStyle(a)[0],this.ctx.font=R,this.ctx.fillStyle=DA(a.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",O=new Ne(r.bounds.left,r.bounds.top+gA(r.styles.paddingTop,r.bounds.width),r.bounds.width,zc(a.lineHeight,a.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Hr(t.listValue,O),a.letterSpacing,zc(a.lineHeight,a.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),E.label=20;case 20:return[2]}})})},e.prototype.renderStackContent=function(t){return jA(this,void 0,void 0,function(){var r,n,b,a,i,b,s,u,b,l,d,b,f,h,b,C,m,b,T,v,b;return GA(this,function(x){switch(x.label){case 0:if(xA(t.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(t.element)];case 1:x.sent(),r=0,n=t.negativeZIndex,x.label=2;case 2:return r<n.length?(b=n[r],[4,this.renderStack(b)]):[3,5];case 3:x.sent(),x.label=4;case 4:return r++,[3,2];case 5:return[4,this.renderNodeContent(t.element)];case 6:x.sent(),a=0,i=t.nonInlineLevel,x.label=7;case 7:return a<i.length?(b=i[a],[4,this.renderNode(b)]):[3,10];case 8:x.sent(),x.label=9;case 9:return a++,[3,7];case 10:s=0,u=t.nonPositionedFloats,x.label=11;case 11:return s<u.length?(b=u[s],[4,this.renderStack(b)]):[3,14];case 12:x.sent(),x.label=13;case 13:return s++,[3,11];case 14:l=0,d=t.nonPositionedInlineLevel,x.label=15;case 15:return l<d.length?(b=d[l],[4,this.renderStack(b)]):[3,18];case 16:x.sent(),x.label=17;case 17:return l++,[3,15];case 18:f=0,h=t.inlineLevel,x.label=19;case 19:return f<h.length?(b=h[f],[4,this.renderNode(b)]):[3,22];case 20:x.sent(),x.label=21;case 21:return f++,[3,19];case 22:C=0,m=t.zeroOrAutoZIndexOrTransformedOrOpacity,x.label=23;case 23:return C<m.length?(b=m[C],[4,this.renderStack(b)]):[3,26];case 24:x.sent(),x.label=25;case 25:return C++,[3,23];case 26:T=0,v=t.positiveZIndex,x.label=27;case 27:return T<v.length?(b=v[T],[4,this.renderStack(b)]):[3,30];case 28:x.sent(),x.label=29;case 29:return T++,[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(n,a){var i=fe(n)?n.start:n;a===0?r.ctx.moveTo(i.x,i.y):r.ctx.lineTo(i.x,i.y),fe(n)&&r.ctx.bezierCurveTo(n.startControl.x,n.startControl.y,n.endControl.x,n.endControl.y,n.end.x,n.end.y)})},e.prototype.renderRepeat=function(t,r,n,a){this.path(t),this.ctx.fillStyle=r,this.ctx.translate(n,a),this.ctx.fill(),this.ctx.translate(-n,-a)},e.prototype.resizeImage=function(t,r,n){var a;if(t.width===r&&t.height===n)return t;var i=(a=this.canvas.ownerDocument)!==null&&a!==void 0?a:document,s=i.createElement("canvas");s.width=Math.max(1,r),s.height=Math.max(1,n);var u=s.getContext("2d");return u.drawImage(t,0,0,t.width,t.height,0,0,r,n),s},e.prototype.renderBackgroundImage=function(t){return jA(this,void 0,void 0,function(){var r,n,a,i,s,u;return GA(this,function(l){switch(l.label){case 0:r=t.styles.backgroundImage.length-1,n=function(d){var f,h,C,z,BA,TA,q,aA,M,m,z,BA,TA,q,aA,T,v,b,x,D,R,O,E,L,M,P,z,oA,dA,q,aA,hA,BA,TA,zA,vA,XA,$A,OA,PA,KA,I;return GA(this,function(_){switch(_.label){case 0:if(d.type!==0)return[3,5];f=void 0,h=d.url,_.label=1;case 1:return _.trys.push([1,3,,4]),[4,a.context.cache.match(h)];case 2:return f=_.sent(),[3,4];case 3:return _.sent(),a.context.logger.error("Error loading background-image "+h),[3,4];case 4:return f&&(C=ms(t,r,[f.width,f.height,f.width/f.height]),z=C[0],BA=C[1],TA=C[2],q=C[3],aA=C[4],M=a.ctx.createPattern(a.resizeImage(f,q,aA),"repeat"),a.renderRepeat(z,M,BA,TA)),[3,6];case 5:IC(d)?(m=ms(t,r,[null,null,null]),z=m[0],BA=m[1],TA=m[2],q=m[3],aA=m[4],T=bC(d.angle,q,aA),v=T[0],b=T[1],x=T[2],D=T[3],R=T[4],O=document.createElement("canvas"),O.width=q,O.height=aA,E=O.getContext("2d"),L=E.createLinearGradient(b,D,x,R),kc(d.stops,v).forEach(function(rA){return L.addColorStop(rA.stop,DA(rA.color))}),E.fillStyle=L,E.fillRect(0,0,q,aA),q>0&&aA>0&&(M=a.ctx.createPattern(O,"repeat"),a.renderRepeat(z,M,BA,TA))):yC(d)&&(P=ms(t,r,[null,null,null]),z=P[0],oA=P[1],dA=P[2],q=P[3],aA=P[4],hA=d.position.length===0?[Yi]:d.position,BA=gA(hA[0],q),TA=gA(hA[hA.length-1],aA),zA=TC(d,BA,TA,q,aA),vA=zA[0],XA=zA[1],vA>0&&XA>0&&($A=a.ctx.createRadialGradient(oA+BA,dA+TA,0,oA+BA,dA+TA,vA),kc(d.stops,vA*2).forEach(function(rA){return $A.addColorStop(rA.stop,DA(rA.color))}),a.path(z),a.ctx.fillStyle=$A,vA!==XA?(OA=t.bounds.left+.5*t.bounds.width,PA=t.bounds.top+.5*t.bounds.height,KA=XA/vA,I=1/KA,a.ctx.save(),a.ctx.translate(OA,PA),a.ctx.transform(1,0,0,KA,0,0),a.ctx.translate(-OA,-PA),a.ctx.fillRect(oA,I*(dA-PA)+PA,q,aA*I),a.ctx.restore()):a.ctx.fill())),_.label=6;case 6:return r--,[2]}})},a=this,i=0,s=t.styles.backgroundImage.slice(0).reverse(),l.label=1;case 1:return i<s.length?(u=s[i],[5,n(u)]):[3,4];case 2:l.sent(),l.label=3;case 3:return i++,[3,1];case 4:return[2]}})})},e.prototype.renderSolidBorder=function(t,r,n){return jA(this,void 0,void 0,function(){return GA(this,function(a){return this.path(ql(n,r)),this.ctx.fillStyle=DA(t),this.ctx.fill(),[2]})})},e.prototype.renderDoubleBorder=function(t,r,n,a){return jA(this,void 0,void 0,function(){var i,s;return GA(this,function(u){switch(u.label){case 0:return r<3?[4,this.renderSolidBorder(t,n,a)]:[3,2];case 1:return u.sent(),[2];case 2:return i=_T(a,n),this.path(i),this.ctx.fillStyle=DA(t),this.ctx.fill(),s=NT(a,n),this.path(s),this.ctx.fill(),[2]}})})},e.prototype.renderNodeBackgroundAndBorders=function(t){return jA(this,void 0,void 0,function(){var r,n,a,i,s,u,l,d,f=this;return GA(this,function(h){switch(h.label){case 0:return this.applyEffects(t.getEffects(2)),r=t.container.styles,n=!$e(r.backgroundColor)||r.backgroundImage.length,a=[{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}],i=VT(Kt(r.backgroundClip,0),t.curves),n||r.boxShadow.length?(this.ctx.save(),this.path(i),this.ctx.clip(),$e(r.backgroundColor)||(this.ctx.fillStyle=DA(r.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(t.container)]):[3,2];case 1:h.sent(),this.ctx.restore(),r.boxShadow.slice(0).reverse().forEach(function(C){f.ctx.save();var m=sa(t.curves),T=C.inset?0:kT,v=xT(m,-T+(C.inset?1:-1)*C.spread.number,(C.inset?1:-1)*C.spread.number,C.spread.number*(C.inset?-2:2),C.spread.number*(C.inset?-2:2));C.inset?(f.path(m),f.ctx.clip(),f.mask(v)):(f.mask(m),f.ctx.clip(),f.path(v)),f.ctx.shadowOffsetX=C.offsetX.number+T,f.ctx.shadowOffsetY=C.offsetY.number,f.ctx.shadowColor=DA(C.color),f.ctx.shadowBlur=C.blur.number,f.ctx.fillStyle=C.inset?DA(C.color):"rgba(0,0,0,1)",f.ctx.fill(),f.ctx.restore()}),h.label=2;case 2:s=0,u=0,l=a,h.label=3;case 3:return u<l.length?(d=l[u],d.style!==0&&!$e(d.color)&&d.width>0?d.style!==2?[3,5]:[4,this.renderDashedDottedBorder(d.color,d.width,s,t.curves,2)]:[3,11]):[3,13];case 4:return h.sent(),[3,11];case 5:return d.style!==3?[3,7]:[4,this.renderDashedDottedBorder(d.color,d.width,s,t.curves,3)];case 6:return h.sent(),[3,11];case 7:return d.style!==4?[3,9]:[4,this.renderDoubleBorder(d.color,d.width,s,t.curves)];case 8:return h.sent(),[3,11];case 9:return[4,this.renderSolidBorder(d.color,s,t.curves)];case 10:h.sent(),h.label=11;case 11:s++,h.label=12;case 12:return u++,[3,3];case 13:return[2]}})})},e.prototype.renderDashedDottedBorder=function(t,r,n,a,i){return jA(this,void 0,void 0,function(){var s,u,l,d,f,h,C,m,T,v,b,x,D,R,O,E,O,E;return GA(this,function(L){return this.ctx.save(),s=ST(a,n),u=ql(a,n),i===2&&(this.path(u),this.ctx.clip()),fe(u[0])?(l=u[0].start.x,d=u[0].start.y):(l=u[0].x,d=u[0].y),fe(u[1])?(f=u[1].end.x,h=u[1].end.y):(f=u[1].x,h=u[1].y),n===0||n===2?C=Math.abs(l-f):C=Math.abs(d-h),this.ctx.beginPath(),i===3?this.formatPath(s):this.formatPath(u.slice(0,2)),m=r<3?r*3:r*2,T=r<3?r*2:r,i===3&&(m=r,T=r),v=!0,C<=m*2?v=!1:C<=m*2+T?(b=C/(2*m+T),m*=b,T*=b):(x=Math.floor((C+T)/(m+T)),D=(C-x*m)/(x-1),R=(C-(x+1)*m)/x,T=R<=0||Math.abs(T-D)<Math.abs(T-R)?D:R),v&&(i===3?this.ctx.setLineDash([0,m+T]):this.ctx.setLineDash([m,T])),i===3?(this.ctx.lineCap="round",this.ctx.lineWidth=r):this.ctx.lineWidth=r*2+1.1,this.ctx.strokeStyle=DA(t),this.ctx.stroke(),this.ctx.setLineDash([]),i===2&&(fe(u[0])&&(O=u[3],E=u[0],this.ctx.beginPath(),this.formatPath([new k(O.end.x,O.end.y),new k(E.start.x,E.start.y)]),this.ctx.stroke()),fe(u[1])&&(O=u[1],E=u[2],this.ctx.beginPath(),this.formatPath([new k(O.end.x,O.end.y),new k(E.start.x,E.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},e.prototype.render=function(t){return jA(this,void 0,void 0,function(){var r;return GA(this,function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=DA(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),r=vT(t),[4,this.renderStack(r)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}})})},e}($l),KT=function(A){return A instanceof bl||A instanceof wl?!0:A instanceof os&&A.type!==ea&&A.type!==Aa},VT=function(A,e){switch(A){case 0:return sa(e);case 2:return UT(e);case 1:default:return oa(e)}},GT=function(A){switch(A){case 1:return"center";case 2:return"right";case 0:default:return"left"}},YT=["-apple-system","system-ui"],XT=function(A){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?A.filter(function(e){return YT.indexOf(e)===-1}):A},WT=function(A){me(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),n.options=r,n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px",n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+r.width+"x"+r.height+" at "+r.x+","+r.y+") with scale "+r.scale),n}return e.prototype.render=function(t){return jA(this,void 0,void 0,function(){var r,n;return GA(this,function(a){switch(a.label){case 0:return r=as(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,t),[4,JT(r)];case 1:return n=a.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=DA(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},e}($l),JT=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))})},qT=function(){function A(e){var t=e.id,r=e.enabled;this.id=t,this.enabled=r,this.start=Date.now()}return A.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,Cn([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},A.prototype.getTime=function(){return Date.now()-this.start},A.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,Cn([this.id,this.getTime()+"ms"],e))},A.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,Cn([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},A.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,Cn([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},A.instances={},A}(),jT=function(){function A(e,t){var r;this.windowBounds=t,this.instanceName="#"+A.instanceCount++,this.logger=new qT({id:this.instanceName,enabled:e.logging}),this.cache=(r=e.cache)!==null&&r!==void 0?r:new gT(this,e)}return A.instanceCount=1,A}(),zT=function(A,e){return e===void 0&&(e={}),$T(A,e)};typeof window<"u"&&Vl.setContext(window);var $T=function(A,e){return jA(void 0,void 0,void 0,function(){var t,r,n,a,i,s,u,l,d,f,h,C,m,T,v,b,x,D,R,O,L,E,L,M,P,z,oA,dA,q,aA,hA,BA,TA,zA,vA,XA,$A,OA,PA,KA;return GA(this,function(I){switch(I.label){case 0:if(!A||typeof A!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(t=A.ownerDocument,!t)throw new Error("Element is not attached to a Document");if(r=t.defaultView,!r)throw new Error("Document is not attached to a Window");return n={allowTaint:(M=e.allowTaint)!==null&&M!==void 0?M:!1,imageTimeout:(P=e.imageTimeout)!==null&&P!==void 0?P:15e3,proxy:e.proxy,useCORS:(z=e.useCORS)!==null&&z!==void 0?z:!1},a=Ui({logging:(oA=e.logging)!==null&&oA!==void 0?oA:!0,cache:e.cache},n),i={windowWidth:(dA=e.windowWidth)!==null&&dA!==void 0?dA:r.innerWidth,windowHeight:(q=e.windowHeight)!==null&&q!==void 0?q:r.innerHeight,scrollX:(aA=e.scrollX)!==null&&aA!==void 0?aA:r.pageXOffset,scrollY:(hA=e.scrollY)!==null&&hA!==void 0?hA:r.pageYOffset},s=new Ne(i.scrollX,i.scrollY,i.windowWidth,i.windowHeight),u=new jT(a,s),l=(BA=e.foreignObjectRendering)!==null&&BA!==void 0?BA:!1,d={allowTaint:(TA=e.allowTaint)!==null&&TA!==void 0?TA:!1,onclone:e.onclone,ignoreElements:e.ignoreElements,inlineImages:l,copyStyles:l},u.logger.debug("Starting document clone with size "+s.width+"x"+s.height+" scrolled to "+-s.left+","+-s.top),f=new Pl(u,A,d),h=f.clonedReferenceElement,h?[4,f.toIFrame(t,s)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return C=I.sent(),m=cs(h)||Zb(h)?xm(h.ownerDocument):wn(u,h),T=m.width,v=m.height,b=m.left,x=m.top,D=ZT(u,h,e.backgroundColor),R={canvas:e.canvas,backgroundColor:D,scale:(vA=(zA=e.scale)!==null&&zA!==void 0?zA:r.devicePixelRatio)!==null&&vA!==void 0?vA:1,x:((XA=e.x)!==null&&XA!==void 0?XA:0)+b,y:(($A=e.y)!==null&&$A!==void 0?$A:0)+x,width:(OA=e.width)!==null&&OA!==void 0?OA:Math.ceil(T),height:(PA=e.height)!==null&&PA!==void 0?PA:Math.ceil(v)},l?(u.logger.debug("Document cloned, using foreign object rendering"),L=new WT(u,R),[4,L.render(h)]):[3,3];case 2:return O=I.sent(),[3,5];case 3:return u.logger.debug("Document cloned, element located at "+b+","+x+" with size "+T+"x"+v+" using computed rendering"),u.logger.debug("Starting DOM parsing"),E=Ql(u,h),D===E.styles.backgroundColor&&(E.styles.backgroundColor=Le.TRANSPARENT),u.logger.debug("Starting renderer for element at "+R.x+","+R.y+" with size "+R.width+"x"+R.height),L=new PT(u,R),[4,L.render(E)];case 4:O=I.sent(),I.label=5;case 5:return(!((KA=e.removeContainer)!==null&&KA!==void 0)||KA)&&(Pl.destroy(C)||u.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),u.logger.debug("Finished rendering"),[2,O]}})})},ZT=function(A,e,t){var r=e.ownerDocument,n=r.documentElement?Nr(A,getComputedStyle(r.documentElement).backgroundColor):Le.TRANSPARENT,a=r.body?Nr(A,getComputedStyle(r.body).backgroundColor):Le.TRANSPARENT,i=typeof t=="string"?Nr(A,t):t===null?Le.TRANSPARENT:4294967295;return e===r.documentElement?$e(n)?$e(a)?i:a:n:i};const AU=`.gp-message[data-v-a234b03c]{z-index:999999;transition:all .3s ease;max-width:300px;font-family:微软雅黑}.message-content[data-v-a234b03c]{display:flex;align-items:center;justify-content:space-between;padding:10px 20px;border-radius:4px;box-shadow:0 2px 8px #00000026;font-size:14px}.close-btn[data-v-a234b03c]{background:none;border:none;color:#4b5563;cursor:pointer;margin-left:10px;line-height:1;padding:0}.fade-enter-active[data-v-a234b03c],.fade-leave-active[data-v-a234b03c]{transition:opacity .3s}.fade-enter-from[data-v-a234b03c],.fade-leave-to[data-v-a234b03c]{opacity:0}[contenteditable=true][data-v-7fa1c688]:focus{outline:none}[contenteditable=true][data-v-7fa1c688]{outline:none}textarea[data-v-7fa1c688]{resize:none;border:none;outline:none;background:transparent}.custom-checkbox[data-v-68b8f276]{width:16px;height:16px;border:2px solid #d1d5db;border-radius:4px;background-color:#fff;position:relative;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;cursor:pointer;transition:all .2s ease}.custom-checkbox[data-v-68b8f276]:checked{border-color:#3b82f6;background-color:#3b82f6}.custom-checkbox[data-v-68b8f276]:checked:after{content:"✓";color:#fff;font-size:12px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.checkbox-label[data-v-68b8f276]{line-height:1.2;font-size:14px;color:#4b5563}.border[data-v-1499ca4f]{border:1px solid #ccc}.custom-checkbox[data-v-1499ca4f]{width:18px;height:18px;border:2px solid #d1d5db;border-radius:4px;background-color:#fff;position:relative;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;cursor:pointer;transition:all .2s ease}.custom-checkbox[data-v-1499ca4f]:checked{border-color:#3b82f6;background-color:#3b82f6}.custom-checkbox[data-v-1499ca4f]:checked:after{content:"✓";color:#fff;font-size:12px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}/*!
38
+ }`,ET=function(A){CT(A,"."+Es+pT+Xl+`
39
+ .`+Cs+mT+Xl)},CT=function(A,e){var t=A.ownerDocument;if(t){var r=t.createElement("style");r.textContent=e,A.appendChild(r)}},Wl=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}(),wT=function(){function A(e,t){this.context=e,this._options=t,this._cache={}}return A.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)||(bs(e)||QT(e))&&(this._cache[e]=this.loadImage(e)).catch(function(){}),t},A.prototype.match=function(e){return this._cache[e]},A.prototype.loadImage=function(e){return qA(this,void 0,void 0,function(){var t,r,n,a,i=this;return VA(this,function(s){switch(s.label){case 0:return t=Wl.isSameOrigin(e),r=!ws(e)&&this._options.useCORS===!0&&MA.SUPPORT_CORS_IMAGES&&!t,n=!ws(e)&&!t&&!bs(e)&&typeof this._options.proxy=="string"&&MA.SUPPORT_CORS_XHR&&!r,!t&&this._options.allowTaint===!1&&!ws(e)&&!bs(e)&&!n&&!r?[2]:(a=e,n?[4,this.proxy(a)]:[3,2]);case 1:a=s.sent(),s.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise(function(u,l){var d=new Image;d.onload=function(){return u(d)},d.onerror=l,(FT(a)||r)&&(d.crossOrigin="anonymous"),d.src=a,d.complete===!0&&setTimeout(function(){return u(d)},500),i._options.imageTimeout>0&&setTimeout(function(){return l("Timed out ("+i._options.imageTimeout+"ms) loading image")},i._options.imageTimeout)})];case 3:return[2,s.sent()]}})})},A.prototype.has=function(e){return typeof this._cache[e]<"u"},A.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},A.prototype.proxy=function(e){var t=this,r=this._options.proxy;if(!r)throw new Error("No proxy defined");var n=e.substring(0,256);return new Promise(function(a,i){var s=MA.SUPPORT_RESPONSE_TYPE?"blob":"text",u=new XMLHttpRequest;u.onload=function(){if(u.status===200)if(s==="text")a(u.response);else{var f=new FileReader;f.addEventListener("load",function(){return a(f.result)},!1),f.addEventListener("error",function(h){return i(h)},!1),f.readAsDataURL(u.response)}else i("Failed to proxy resource "+n+" with status code "+u.status)},u.onerror=i;var l=r.indexOf("?")>-1?"&":"?";if(u.open("GET",""+r+l+"url="+encodeURIComponent(e)+"&responseType="+s),s!=="text"&&u instanceof XMLHttpRequest&&(u.responseType=s),t._options.imageTimeout){var d=t._options.imageTimeout;u.timeout=d,u.ontimeout=function(){return i("Timed out ("+d+"ms) proxying "+n)}}u.send()})},A}(),bT=/^data:image\/svg\+xml/i,TT=/^data:image\/.*;base64,/i,UT=/^data:image\/.*/i,QT=function(A){return MA.SUPPORT_SVG_DRAWING||!IT(A)},ws=function(A){return UT.test(A)},FT=function(A){return TT.test(A)},bs=function(A){return A.substr(0,4)==="blob"},IT=function(A){return A.substr(-3).toLowerCase()==="svg"||bT.test(A)},M=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}(),Kt=function(A,e,t){return new M(A.x+(e.x-A.x)*t,A.y+(e.y-A.y)*t)},sa=function(){function A(e,t,r,n){this.type=1,this.start=e,this.startControl=t,this.endControl=r,this.end=n}return A.prototype.subdivide=function(e,t){var r=Kt(this.start,this.startControl,e),n=Kt(this.startControl,this.endControl,e),a=Kt(this.endControl,this.end,e),i=Kt(r,n,e),s=Kt(n,a,e),u=Kt(i,s,e);return t?new A(this.start,r,i,u):new A(u,s,a,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}(),he=function(A){return A.type===1},yT=function(){function A(e){var t=e.styles,r=e.bounds,n=Sr(t.borderTopLeftRadius,r.width,r.height),a=n[0],i=n[1],s=Sr(t.borderTopRightRadius,r.width,r.height),u=s[0],l=s[1],d=Sr(t.borderBottomRightRadius,r.width,r.height),f=d[0],h=d[1],C=Sr(t.borderBottomLeftRadius,r.width,r.height),E=C[0],T=C[1],v=[];v.push((a+u)/r.width),v.push((E+f)/r.width),v.push((i+T)/r.height),v.push((l+h)/r.height);var b=Math.max.apply(Math,v);b>1&&(a/=b,i/=b,u/=b,l/=b,f/=b,h/=b,E/=b,T/=b);var x=r.width-u,D=r.height-h,R=r.width-f,O=r.height-T,m=t.borderTopWidth,L=t.borderRightWidth,V=t.borderBottomWidth,k=t.borderLeftWidth,z=BA(t.paddingTop,e.bounds.width),iA=BA(t.paddingRight,e.bounds.width),AA=BA(t.paddingBottom,e.bounds.width),q=BA(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=a>0||i>0?CA(r.left+k/3,r.top+m/3,a-k/3,i-m/3,uA.TOP_LEFT):new M(r.left+k/3,r.top+m/3),this.topRightBorderDoubleOuterBox=a>0||i>0?CA(r.left+x,r.top+m/3,u-L/3,l-m/3,uA.TOP_RIGHT):new M(r.left+r.width-L/3,r.top+m/3),this.bottomRightBorderDoubleOuterBox=f>0||h>0?CA(r.left+R,r.top+D,f-L/3,h-V/3,uA.BOTTOM_RIGHT):new M(r.left+r.width-L/3,r.top+r.height-V/3),this.bottomLeftBorderDoubleOuterBox=E>0||T>0?CA(r.left+k/3,r.top+O,E-k/3,T-V/3,uA.BOTTOM_LEFT):new M(r.left+k/3,r.top+r.height-V/3),this.topLeftBorderDoubleInnerBox=a>0||i>0?CA(r.left+k*2/3,r.top+m*2/3,a-k*2/3,i-m*2/3,uA.TOP_LEFT):new M(r.left+k*2/3,r.top+m*2/3),this.topRightBorderDoubleInnerBox=a>0||i>0?CA(r.left+x,r.top+m*2/3,u-L*2/3,l-m*2/3,uA.TOP_RIGHT):new M(r.left+r.width-L*2/3,r.top+m*2/3),this.bottomRightBorderDoubleInnerBox=f>0||h>0?CA(r.left+R,r.top+D,f-L*2/3,h-V*2/3,uA.BOTTOM_RIGHT):new M(r.left+r.width-L*2/3,r.top+r.height-V*2/3),this.bottomLeftBorderDoubleInnerBox=E>0||T>0?CA(r.left+k*2/3,r.top+O,E-k*2/3,T-V*2/3,uA.BOTTOM_LEFT):new M(r.left+k*2/3,r.top+r.height-V*2/3),this.topLeftBorderStroke=a>0||i>0?CA(r.left+k/2,r.top+m/2,a-k/2,i-m/2,uA.TOP_LEFT):new M(r.left+k/2,r.top+m/2),this.topRightBorderStroke=a>0||i>0?CA(r.left+x,r.top+m/2,u-L/2,l-m/2,uA.TOP_RIGHT):new M(r.left+r.width-L/2,r.top+m/2),this.bottomRightBorderStroke=f>0||h>0?CA(r.left+R,r.top+D,f-L/2,h-V/2,uA.BOTTOM_RIGHT):new M(r.left+r.width-L/2,r.top+r.height-V/2),this.bottomLeftBorderStroke=E>0||T>0?CA(r.left+k/2,r.top+O,E-k/2,T-V/2,uA.BOTTOM_LEFT):new M(r.left+k/2,r.top+r.height-V/2),this.topLeftBorderBox=a>0||i>0?CA(r.left,r.top,a,i,uA.TOP_LEFT):new M(r.left,r.top),this.topRightBorderBox=u>0||l>0?CA(r.left+x,r.top,u,l,uA.TOP_RIGHT):new M(r.left+r.width,r.top),this.bottomRightBorderBox=f>0||h>0?CA(r.left+R,r.top+D,f,h,uA.BOTTOM_RIGHT):new M(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=E>0||T>0?CA(r.left,r.top+O,E,T,uA.BOTTOM_LEFT):new M(r.left,r.top+r.height),this.topLeftPaddingBox=a>0||i>0?CA(r.left+k,r.top+m,Math.max(0,a-k),Math.max(0,i-m),uA.TOP_LEFT):new M(r.left+k,r.top+m),this.topRightPaddingBox=u>0||l>0?CA(r.left+Math.min(x,r.width-L),r.top+m,x>r.width+L?0:Math.max(0,u-L),Math.max(0,l-m),uA.TOP_RIGHT):new M(r.left+r.width-L,r.top+m),this.bottomRightPaddingBox=f>0||h>0?CA(r.left+Math.min(R,r.width-k),r.top+Math.min(D,r.height-V),Math.max(0,f-L),Math.max(0,h-V),uA.BOTTOM_RIGHT):new M(r.left+r.width-L,r.top+r.height-V),this.bottomLeftPaddingBox=E>0||T>0?CA(r.left+k,r.top+Math.min(O,r.height-V),Math.max(0,E-k),Math.max(0,T-V),uA.BOTTOM_LEFT):new M(r.left+k,r.top+r.height-V),this.topLeftContentBox=a>0||i>0?CA(r.left+k+q,r.top+m+z,Math.max(0,a-(k+q)),Math.max(0,i-(m+z)),uA.TOP_LEFT):new M(r.left+k+q,r.top+m+z),this.topRightContentBox=u>0||l>0?CA(r.left+Math.min(x,r.width+k+q),r.top+m+z,x>r.width+k+q?0:u-k+q,l-(m+z),uA.TOP_RIGHT):new M(r.left+r.width-(L+iA),r.top+m+z),this.bottomRightContentBox=f>0||h>0?CA(r.left+Math.min(R,r.width-(k+q)),r.top+Math.min(D,r.height+m+z),Math.max(0,f-(L+iA)),h-(V+AA),uA.BOTTOM_RIGHT):new M(r.left+r.width-(L+iA),r.top+r.height-(V+AA)),this.bottomLeftContentBox=E>0||T>0?CA(r.left+k+q,r.top+O,Math.max(0,E-(k+q)),T-(V+AA),uA.BOTTOM_LEFT):new M(r.left+k+q,r.top+r.height-(V+AA))}return A}(),uA;(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"})(uA||(uA={}));var CA=function(A,e,t,r,n){var a=4*((Math.sqrt(2)-1)/3),i=t*a,s=r*a,u=A+t,l=e+r;switch(n){case uA.TOP_LEFT:return new sa(new M(A,l),new M(A,l-s),new M(u-i,e),new M(u,e));case uA.TOP_RIGHT:return new sa(new M(A,e),new M(A+i,e),new M(u,l-s),new M(u,l));case uA.BOTTOM_RIGHT:return new sa(new M(u,e),new M(u,e+s),new M(A+i,l),new M(A,l));case uA.BOTTOM_LEFT:default:return new sa(new M(u,l),new M(u-i,l),new M(A,e+s),new M(A,e))}},oa=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},xT=function(A){return[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox]},ua=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},vT=function(){function A(e,t,r){this.offsetX=e,this.offsetY=t,this.matrix=r,this.type=0,this.target=6}return A}(),ca=function(){function A(e,t){this.path=e,this.target=t,this.type=1}return A}(),_T=function(){function A(e){this.opacity=e,this.type=2,this.target=6}return A}(),NT=function(A){return A.type===0},Jl=function(A){return A.type===1},ST=function(A){return A.type===2},ql=function(A,e){return A.length===e.length?A.some(function(t,r){return t===e[r]}):!1},LT=function(A,e,t,r,n){return A.map(function(a,i){switch(i){case 0:return a.add(e,t);case 1:return a.add(e+r,t);case 2:return a.add(e+r,t+n);case 3:return a.add(e,t+n)}return a})},jl=function(){function A(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return A}(),zl=function(){function A(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new yT(this.container),this.container.styles.opacity<1&&this.effects.push(new _T(this.container.styles.opacity)),this.container.styles.transform!==null){var r=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,a=this.container.styles.transform;this.effects.push(new vT(r,n,a))}if(this.container.styles.overflowX!==0){var i=oa(this.curves),s=ua(this.curves);ql(i,s)?this.effects.push(new ca(i,6)):(this.effects.push(new ca(i,2)),this.effects.push(new ca(s,4)))}}return A.prototype.getEffects=function(e){for(var t=[2,3].indexOf(this.container.styles.position)===-1,r=this.parent,n=this.effects.slice(0);r;){var a=r.effects.filter(function(u){return!Jl(u)});if(t||r.container.styles.position!==0||!r.parent){if(n.unshift.apply(n,a),t=[2,3].indexOf(r.container.styles.position)===-1,r.container.styles.overflowX!==0){var i=oa(r.curves),s=ua(r.curves);ql(i,s)||n.unshift(new ca(s,6))}}else n.unshift.apply(n,a);r=r.parent}return n.filter(function(u){return xA(u.target,e)})},A}(),Ts=function(A,e,t,r){A.container.elements.forEach(function(n){var a=xA(n.flags,4),i=xA(n.flags,2),s=new zl(n,A);xA(n.styles.display,2048)&&r.push(s);var u=xA(n.flags,8)?[]:r;if(a||i){var l=a||n.styles.isPositioned()?t:e,d=new jl(s);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var f=n.styles.zIndex.order;if(f<0){var h=0;l.negativeZIndex.some(function(E,T){return f>E.element.container.styles.zIndex.order?(h=T,!1):h>0}),l.negativeZIndex.splice(h,0,d)}else if(f>0){var C=0;l.positiveZIndex.some(function(E,T){return f>=E.element.container.styles.zIndex.order?(C=T+1,!1):C>0}),l.positiveZIndex.splice(C,0,d)}else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(d)}else n.styles.isFloating()?l.nonPositionedFloats.push(d):l.nonPositionedInlineLevel.push(d);Ts(s,d,a?d:t,u)}else n.styles.isInlineLevel()?e.inlineLevel.push(s):e.nonInlineLevel.push(s),Ts(s,e,t,u);xA(n.flags,8)&&$l(n,u)})},$l=function(A,e){for(var t=A instanceof ds?A.start:1,r=A instanceof ds?A.reversed:!1,n=0;n<e.length;n++){var a=e[n];a.container instanceof Tl&&typeof a.container.value=="number"&&a.container.value!==0&&(t=a.container.value),a.listValue=Mr(t,a.container.styles.listStyleType,!0),t+=r?-1:1}},HT=function(A){var e=new zl(A,null),t=new jl(e),r=[];return Ts(e,t,t,r),$l(e.container,r),t},Zl=function(A,e){switch(e){case 0:return Be(A.topLeftBorderBox,A.topLeftPaddingBox,A.topRightBorderBox,A.topRightPaddingBox);case 1:return Be(A.topRightBorderBox,A.topRightPaddingBox,A.bottomRightBorderBox,A.bottomRightPaddingBox);case 2:return Be(A.bottomRightBorderBox,A.bottomRightPaddingBox,A.bottomLeftBorderBox,A.bottomLeftPaddingBox);case 3:default:return Be(A.bottomLeftBorderBox,A.bottomLeftPaddingBox,A.topLeftBorderBox,A.topLeftPaddingBox)}},DT=function(A,e){switch(e){case 0:return Be(A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox,A.topRightBorderBox,A.topRightBorderDoubleOuterBox);case 1:return Be(A.topRightBorderBox,A.topRightBorderDoubleOuterBox,A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox);case 2:return Be(A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox,A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox);case 3:default:return Be(A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox,A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox)}},OT=function(A,e){switch(e){case 0:return Be(A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox,A.topRightBorderDoubleInnerBox,A.topRightPaddingBox);case 1:return Be(A.topRightBorderDoubleInnerBox,A.topRightPaddingBox,A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox);case 2:return Be(A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox,A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox);case 3:default:return Be(A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox,A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox)}},RT=function(A,e){switch(e){case 0:return la(A.topLeftBorderStroke,A.topRightBorderStroke);case 1:return la(A.topRightBorderStroke,A.bottomRightBorderStroke);case 2:return la(A.bottomRightBorderStroke,A.bottomLeftBorderStroke);case 3:default:return la(A.bottomLeftBorderStroke,A.topLeftBorderStroke)}},la=function(A,e){var t=[];return he(A)?t.push(A.subdivide(.5,!1)):t.push(A),he(e)?t.push(e.subdivide(.5,!0)):t.push(e),t},Be=function(A,e,t,r){var n=[];return he(A)?n.push(A.subdivide(.5,!1)):n.push(A),he(t)?n.push(t.subdivide(.5,!0)):n.push(t),he(r)?n.push(r.subdivide(.5,!0).reverse()):n.push(r),he(e)?n.push(e.subdivide(.5,!1).reverse()):n.push(e),n},A0=function(A){var e=A.bounds,t=A.styles;return e.add(t.borderLeftWidth,t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth),-(t.borderTopWidth+t.borderBottomWidth))},da=function(A){var e=A.styles,t=A.bounds,r=BA(e.paddingLeft,t.width),n=BA(e.paddingRight,t.width),a=BA(e.paddingTop,t.width),i=BA(e.paddingBottom,t.width);return t.add(r+e.borderLeftWidth,a+e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth+r+n),-(e.borderTopWidth+e.borderBottomWidth+a+i))},MT=function(A,e){return A===0?e.bounds:A===2?da(e):A0(e)},kT=function(A,e){return A===0?e.bounds:A===2?da(e):A0(e)},Us=function(A,e,t){var r=MT(Gt(A.styles.backgroundOrigin,e),A),n=kT(Gt(A.styles.backgroundClip,e),A),a=PT(Gt(A.styles.backgroundSize,e),t,r),i=a[0],s=a[1],u=Sr(Gt(A.styles.backgroundPosition,e),r.width-i,r.height-s),l=KT(Gt(A.styles.backgroundRepeat,e),u,a,r,n),d=Math.round(r.left+u[0]),f=Math.round(r.top+u[1]);return[l,d,f,i,s]},Vt=function(A){return lA(A)&&A.value===Rt.AUTO},fa=function(A){return typeof A=="number"},PT=function(A,e,t){var r=e[0],n=e[1],a=e[2],i=A[0],s=A[1];if(!i)return[0,0];if(IA(i)&&s&&IA(s))return[BA(i,t.width),BA(s,t.height)];var u=fa(a);if(lA(i)&&(i.value===Rt.CONTAIN||i.value===Rt.COVER)){if(fa(a)){var l=t.width/t.height;return l<a!=(i.value===Rt.COVER)?[t.width,t.width/a]:[t.height*a,t.height]}return[t.width,t.height]}var d=fa(r),f=fa(n),h=d||f;if(Vt(i)&&(!s||Vt(s))){if(d&&f)return[r,n];if(!u&&!h)return[t.width,t.height];if(h&&u){var C=d?r:n*a,E=f?n:r/a;return[C,E]}var T=d?r:t.width,v=f?n:t.height;return[T,v]}if(u){var b=0,x=0;return IA(i)?b=BA(i,t.width):IA(s)&&(x=BA(s,t.height)),Vt(i)?b=x*a:(!s||Vt(s))&&(x=b/a),[b,x]}var D=null,R=null;if(IA(i)?D=BA(i,t.width):s&&IA(s)&&(R=BA(s,t.height)),D!==null&&(!s||Vt(s))&&(R=d&&f?D/r*n:t.height),R!==null&&Vt(i)&&(D=d&&f?R/n*r:t.width),D!==null&&R!==null)return[D,R];throw new Error("Unable to calculate background-size for element")},Gt=function(A,e){var t=A[e];return typeof t>"u"?A[0]:t},KT=function(A,e,t,r,n){var a=e[0],i=e[1],s=t[0],u=t[1];switch(A){case 2:return[new M(Math.round(r.left),Math.round(r.top+i)),new M(Math.round(r.left+r.width),Math.round(r.top+i)),new M(Math.round(r.left+r.width),Math.round(u+r.top+i)),new M(Math.round(r.left),Math.round(u+r.top+i))];case 3:return[new M(Math.round(r.left+a),Math.round(r.top)),new M(Math.round(r.left+a+s),Math.round(r.top)),new M(Math.round(r.left+a+s),Math.round(r.height+r.top)),new M(Math.round(r.left+a),Math.round(r.height+r.top))];case 1:return[new M(Math.round(r.left+a),Math.round(r.top+i)),new M(Math.round(r.left+a+s),Math.round(r.top+i)),new M(Math.round(r.left+a+s),Math.round(r.top+i+u)),new M(Math.round(r.left+a),Math.round(r.top+i+u))];default:return[new M(Math.round(n.left),Math.round(n.top)),new M(Math.round(n.left+n.width),Math.round(n.top)),new M(Math.round(n.left+n.width),Math.round(n.height+n.top)),new M(Math.round(n.left),Math.round(n.height+n.top))]}},VT="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",e0="Hidden Text",GT=function(){function A(e){this._data={},this._document=e}return A.prototype.parseMetrics=function(e,t){var r=this._document.createElement("div"),n=this._document.createElement("img"),a=this._document.createElement("span"),i=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",i.appendChild(r),n.src=VT,n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",a.style.fontFamily=e,a.style.fontSize=t,a.style.margin="0",a.style.padding="0",a.appendChild(this._document.createTextNode(e0)),r.appendChild(a),r.appendChild(n);var s=n.offsetTop-a.offsetTop+2;r.removeChild(a),r.appendChild(this._document.createTextNode(e0)),r.style.lineHeight="normal",n.style.verticalAlign="super";var u=n.offsetTop-r.offsetTop+2;return i.removeChild(r),{baseline:s,middle:u}},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}(),t0=function(){function A(e,t){this.context=e,this.options=t}return A}(),YT=1e4,XT=function(A){me(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n._activeEffects=[],n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),r.canvas||(n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px"),n.fontMetrics=new GT(document),n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.ctx.textBaseline="bottom",n._activeEffects=[],n.context.logger.debug("Canvas renderer initialized ("+r.width+"x"+r.height+") with scale "+r.scale),n}return e.prototype.applyEffects=function(t){for(var r=this;this._activeEffects.length;)this.popEffect();t.forEach(function(n){return r.applyEffect(n)})},e.prototype.applyEffect=function(t){this.ctx.save(),ST(t)&&(this.ctx.globalAlpha=t.opacity),NT(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)),Jl(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 qA(this,void 0,void 0,function(){var r;return VA(this,function(n){switch(n.label){case 0:return r=t.element.container.styles,r.isVisible()?[4,this.renderStackContent(t)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}})})},e.prototype.renderNode=function(t){return qA(this,void 0,void 0,function(){return VA(this,function(r){switch(r.label){case 0:if(xA(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,n){var a=this;if(r===0)this.ctx.fillText(t.text,t.bounds.left,t.bounds.top+n);else{var i=ls(t.text);i.reduce(function(s,u){return a.ctx.fillText(u,s,t.bounds.top+n),s+a.ctx.measureText(u).width},t.bounds.left)}},e.prototype.createFontStyle=function(t){var r=t.fontVariant.filter(function(i){return i==="normal"||i==="small-caps"}).join(""),n=zT(t.fontFamily).join(", "),a=Nr(t.fontSize)?""+t.fontSize.number+t.fontSize.unit:t.fontSize.number+"px";return[[t.fontStyle,r,t.fontWeight,a,n].join(" "),n,a]},e.prototype.renderTextNode=function(t,r){return qA(this,void 0,void 0,function(){var n,a,i,s,u,l,d,f,h=this;return VA(this,function(C){return n=this.createFontStyle(r),a=n[0],i=n[1],s=n[2],this.ctx.font=a,this.ctx.direction=r.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",u=this.fontMetrics.getMetrics(i,s),l=u.baseline,d=u.middle,f=r.paintOrder,t.textBounds.forEach(function(E){f.forEach(function(T){switch(T){case 0:h.ctx.fillStyle=DA(r.color),h.renderTextWithLetterSpacing(E,r.letterSpacing,l);var v=r.textShadow;v.length&&E.text.trim().length&&(v.slice(0).reverse().forEach(function(b){h.ctx.shadowColor=DA(b.color),h.ctx.shadowOffsetX=b.offsetX.number*h.options.scale,h.ctx.shadowOffsetY=b.offsetY.number*h.options.scale,h.ctx.shadowBlur=b.blur.number,h.renderTextWithLetterSpacing(E,r.letterSpacing,l)}),h.ctx.shadowColor="",h.ctx.shadowOffsetX=0,h.ctx.shadowOffsetY=0,h.ctx.shadowBlur=0),r.textDecorationLine.length&&(h.ctx.fillStyle=DA(r.textDecorationColor||r.color),r.textDecorationLine.forEach(function(b){switch(b){case 1:h.ctx.fillRect(E.bounds.left,Math.round(E.bounds.top+l),E.bounds.width,1);break;case 2:h.ctx.fillRect(E.bounds.left,Math.round(E.bounds.top),E.bounds.width,1);break;case 3:h.ctx.fillRect(E.bounds.left,Math.ceil(E.bounds.top+d),E.bounds.width,1);break}}));break;case 1:r.webkitTextStrokeWidth&&E.text.trim().length&&(h.ctx.strokeStyle=DA(r.webkitTextStrokeColor),h.ctx.lineWidth=r.webkitTextStrokeWidth,h.ctx.lineJoin=window.chrome?"miter":"round",h.ctx.strokeText(E.text,E.bounds.left,E.bounds.top+l)),h.ctx.strokeStyle="",h.ctx.lineWidth=0,h.ctx.lineJoin="miter";break}})}),[2]})})},e.prototype.renderReplacedElement=function(t,r,n){if(n&&t.intrinsicWidth>0&&t.intrinsicHeight>0){var a=da(t),i=ua(r);this.path(i),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,t.intrinsicWidth,t.intrinsicHeight,a.left,a.top,a.width,a.height),this.ctx.restore()}},e.prototype.renderNodeContent=function(t){return qA(this,void 0,void 0,function(){var r,n,a,i,s,u,x,x,l,d,f,h,R,C,E,O,T,v,b,x,D,R,O;return VA(this,function(m){switch(m.label){case 0:this.applyEffects(t.getEffects(4)),r=t.container,n=t.curves,a=r.styles,i=0,s=r.textNodes,m.label=1;case 1:return i<s.length?(u=s[i],[4,this.renderTextNode(u,a)]):[3,4];case 2:m.sent(),m.label=3;case 3:return i++,[3,1];case 4:if(!(r instanceof Cl))return[3,8];m.label=5;case 5:return m.trys.push([5,7,,8]),[4,this.context.cache.match(r.src)];case 6:return x=m.sent(),this.renderReplacedElement(r,n,x),[3,8];case 7:return m.sent(),this.context.logger.error("Error loading image "+r.src),[3,8];case 8:if(r instanceof wl&&this.renderReplacedElement(r,n,r.canvas),!(r instanceof bl))return[3,12];m.label=9;case 9:return m.trys.push([9,11,,12]),[4,this.context.cache.match(r.svg)];case 10:return x=m.sent(),this.renderReplacedElement(r,n,x),[3,12];case 11:return m.sent(),this.context.logger.error("Error loading svg "+r.svg.substring(0,255)),[3,12];case 12:return r instanceof Il&&r.tree?(l=new e(this.context,{scale:this.options.scale,backgroundColor:r.backgroundColor,x:0,y:0,width:r.width,height:r.height}),[4,l.render(r.tree)]):[3,14];case 13:d=m.sent(),r.width&&r.height&&this.ctx.drawImage(d,0,0,r.width,r.height,r.bounds.left,r.bounds.top,r.bounds.width,r.bounds.height),m.label=14;case 14:if(r instanceof fs&&(f=Math.min(r.bounds.width,r.bounds.height),r.type===ea?r.checked&&(this.ctx.save(),this.path([new M(r.bounds.left+f*.39363,r.bounds.top+f*.79),new M(r.bounds.left+f*.16,r.bounds.top+f*.5549),new M(r.bounds.left+f*.27347,r.bounds.top+f*.44071),new M(r.bounds.left+f*.39694,r.bounds.top+f*.5649),new M(r.bounds.left+f*.72983,r.bounds.top+f*.23),new M(r.bounds.left+f*.84,r.bounds.top+f*.34085),new M(r.bounds.left+f*.39363,r.bounds.top+f*.79)]),this.ctx.fillStyle=DA(Ul),this.ctx.fill(),this.ctx.restore()):r.type===ta&&r.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(r.bounds.left+f/2,r.bounds.top+f/2,f/4,0,Math.PI*2,!0),this.ctx.fillStyle=DA(Ul),this.ctx.fill(),this.ctx.restore())),WT(r)&&r.value.length){switch(h=this.createFontStyle(a),R=h[0],C=h[1],E=this.fontMetrics.getMetrics(R,C).baseline,this.ctx.font=R,this.ctx.fillStyle=DA(a.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=qT(r.styles.textAlign),O=da(r),T=0,r.styles.textAlign){case 1:T+=O.width/2;break;case 2:T+=O.width;break}v=O.add(T,0,0,-O.height/2+1),this.ctx.save(),this.path([new M(O.left,O.top),new M(O.left+O.width,O.top),new M(O.left+O.width,O.top+O.height),new M(O.left,O.top+O.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Or(r.value,v),a.letterSpacing,E),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!xA(r.styles.display,2048))return[3,20];if(r.styles.listStyleImage===null)return[3,19];if(b=r.styles.listStyleImage,b.type!==0)return[3,18];x=void 0,D=b.url,m.label=15;case 15:return m.trys.push([15,17,,18]),[4,this.context.cache.match(D)];case 16:return x=m.sent(),this.ctx.drawImage(x,r.bounds.left-(x.width+10),r.bounds.top),[3,18];case 17:return m.sent(),this.context.logger.error("Error loading list-style-image "+D),[3,18];case 18:return[3,20];case 19:t.listValue&&r.styles.listStyleType!==-1&&(R=this.createFontStyle(a)[0],this.ctx.font=R,this.ctx.fillStyle=DA(a.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",O=new Ne(r.bounds.left,r.bounds.top+BA(r.styles.paddingTop,r.bounds.width),r.bounds.width,el(a.lineHeight,a.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Or(t.listValue,O),a.letterSpacing,el(a.lineHeight,a.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),m.label=20;case 20:return[2]}})})},e.prototype.renderStackContent=function(t){return qA(this,void 0,void 0,function(){var r,n,b,a,i,b,s,u,b,l,d,b,f,h,b,C,E,b,T,v,b;return VA(this,function(x){switch(x.label){case 0:if(xA(t.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(t.element)];case 1:x.sent(),r=0,n=t.negativeZIndex,x.label=2;case 2:return r<n.length?(b=n[r],[4,this.renderStack(b)]):[3,5];case 3:x.sent(),x.label=4;case 4:return r++,[3,2];case 5:return[4,this.renderNodeContent(t.element)];case 6:x.sent(),a=0,i=t.nonInlineLevel,x.label=7;case 7:return a<i.length?(b=i[a],[4,this.renderNode(b)]):[3,10];case 8:x.sent(),x.label=9;case 9:return a++,[3,7];case 10:s=0,u=t.nonPositionedFloats,x.label=11;case 11:return s<u.length?(b=u[s],[4,this.renderStack(b)]):[3,14];case 12:x.sent(),x.label=13;case 13:return s++,[3,11];case 14:l=0,d=t.nonPositionedInlineLevel,x.label=15;case 15:return l<d.length?(b=d[l],[4,this.renderStack(b)]):[3,18];case 16:x.sent(),x.label=17;case 17:return l++,[3,15];case 18:f=0,h=t.inlineLevel,x.label=19;case 19:return f<h.length?(b=h[f],[4,this.renderNode(b)]):[3,22];case 20:x.sent(),x.label=21;case 21:return f++,[3,19];case 22:C=0,E=t.zeroOrAutoZIndexOrTransformedOrOpacity,x.label=23;case 23:return C<E.length?(b=E[C],[4,this.renderStack(b)]):[3,26];case 24:x.sent(),x.label=25;case 25:return C++,[3,23];case 26:T=0,v=t.positiveZIndex,x.label=27;case 27:return T<v.length?(b=v[T],[4,this.renderStack(b)]):[3,30];case 28:x.sent(),x.label=29;case 29:return T++,[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(n,a){var i=he(n)?n.start:n;a===0?r.ctx.moveTo(i.x,i.y):r.ctx.lineTo(i.x,i.y),he(n)&&r.ctx.bezierCurveTo(n.startControl.x,n.startControl.y,n.endControl.x,n.endControl.y,n.end.x,n.end.y)})},e.prototype.renderRepeat=function(t,r,n,a){this.path(t),this.ctx.fillStyle=r,this.ctx.translate(n,a),this.ctx.fill(),this.ctx.translate(-n,-a)},e.prototype.resizeImage=function(t,r,n){var a;if(t.width===r&&t.height===n)return t;var i=(a=this.canvas.ownerDocument)!==null&&a!==void 0?a:document,s=i.createElement("canvas");s.width=Math.max(1,r),s.height=Math.max(1,n);var u=s.getContext("2d");return u.drawImage(t,0,0,t.width,t.height,0,0,r,n),s},e.prototype.renderBackgroundImage=function(t){return qA(this,void 0,void 0,function(){var r,n,a,i,s,u;return VA(this,function(l){switch(l.label){case 0:r=t.styles.backgroundImage.length-1,n=function(d){var f,h,C,z,gA,wA,q,nA,V,E,z,gA,wA,q,nA,T,v,b,x,D,R,O,m,L,V,k,z,iA,AA,q,nA,hA,gA,wA,YA,vA,kA,jA,re,PA,ne,y;return VA(this,function(_){switch(_.label){case 0:if(d.type!==0)return[3,5];f=void 0,h=d.url,_.label=1;case 1:return _.trys.push([1,3,,4]),[4,a.context.cache.match(h)];case 2:return f=_.sent(),[3,4];case 3:return _.sent(),a.context.logger.error("Error loading background-image "+h),[3,4];case 4:return f&&(C=Us(t,r,[f.width,f.height,f.width/f.height]),z=C[0],gA=C[1],wA=C[2],q=C[3],nA=C[4],V=a.ctx.createPattern(a.resizeImage(f,q,nA),"repeat"),a.renderRepeat(z,V,gA,wA)),[3,6];case 5:NC(d)?(E=Us(t,r,[null,null,null]),z=E[0],gA=E[1],wA=E[2],q=E[3],nA=E[4],T=IC(d.angle,q,nA),v=T[0],b=T[1],x=T[2],D=T[3],R=T[4],O=document.createElement("canvas"),O.width=q,O.height=nA,m=O.getContext("2d"),L=m.createLinearGradient(b,D,x,R),Gc(d.stops,v).forEach(function(sA){return L.addColorStop(sA.stop,DA(sA.color))}),m.fillStyle=L,m.fillRect(0,0,q,nA),q>0&&nA>0&&(V=a.ctx.createPattern(O,"repeat"),a.renderRepeat(z,V,gA,wA))):SC(d)&&(k=Us(t,r,[null,null,null]),z=k[0],iA=k[1],AA=k[2],q=k[3],nA=k[4],hA=d.position.length===0?[ji]:d.position,gA=BA(hA[0],q),wA=BA(hA[hA.length-1],nA),YA=yC(d,gA,wA,q,nA),vA=YA[0],kA=YA[1],vA>0&&kA>0&&(jA=a.ctx.createRadialGradient(iA+gA,AA+wA,0,iA+gA,AA+wA,vA),Gc(d.stops,vA*2).forEach(function(sA){return jA.addColorStop(sA.stop,DA(sA.color))}),a.path(z),a.ctx.fillStyle=jA,vA!==kA?(re=t.bounds.left+.5*t.bounds.width,PA=t.bounds.top+.5*t.bounds.height,ne=kA/vA,y=1/ne,a.ctx.save(),a.ctx.translate(re,PA),a.ctx.transform(1,0,0,ne,0,0),a.ctx.translate(-re,-PA),a.ctx.fillRect(iA,y*(AA-PA)+PA,q,nA*y),a.ctx.restore()):a.ctx.fill())),_.label=6;case 6:return r--,[2]}})},a=this,i=0,s=t.styles.backgroundImage.slice(0).reverse(),l.label=1;case 1:return i<s.length?(u=s[i],[5,n(u)]):[3,4];case 2:l.sent(),l.label=3;case 3:return i++,[3,1];case 4:return[2]}})})},e.prototype.renderSolidBorder=function(t,r,n){return qA(this,void 0,void 0,function(){return VA(this,function(a){return this.path(Zl(n,r)),this.ctx.fillStyle=DA(t),this.ctx.fill(),[2]})})},e.prototype.renderDoubleBorder=function(t,r,n,a){return qA(this,void 0,void 0,function(){var i,s;return VA(this,function(u){switch(u.label){case 0:return r<3?[4,this.renderSolidBorder(t,n,a)]:[3,2];case 1:return u.sent(),[2];case 2:return i=DT(a,n),this.path(i),this.ctx.fillStyle=DA(t),this.ctx.fill(),s=OT(a,n),this.path(s),this.ctx.fill(),[2]}})})},e.prototype.renderNodeBackgroundAndBorders=function(t){return qA(this,void 0,void 0,function(){var r,n,a,i,s,u,l,d,f=this;return VA(this,function(h){switch(h.label){case 0:return this.applyEffects(t.getEffects(2)),r=t.container.styles,n=!$e(r.backgroundColor)||r.backgroundImage.length,a=[{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}],i=JT(Gt(r.backgroundClip,0),t.curves),n||r.boxShadow.length?(this.ctx.save(),this.path(i),this.ctx.clip(),$e(r.backgroundColor)||(this.ctx.fillStyle=DA(r.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(t.container)]):[3,2];case 1:h.sent(),this.ctx.restore(),r.boxShadow.slice(0).reverse().forEach(function(C){f.ctx.save();var E=oa(t.curves),T=C.inset?0:YT,v=LT(E,-T+(C.inset?1:-1)*C.spread.number,(C.inset?1:-1)*C.spread.number,C.spread.number*(C.inset?-2:2),C.spread.number*(C.inset?-2:2));C.inset?(f.path(E),f.ctx.clip(),f.mask(v)):(f.mask(E),f.ctx.clip(),f.path(v)),f.ctx.shadowOffsetX=C.offsetX.number+T,f.ctx.shadowOffsetY=C.offsetY.number,f.ctx.shadowColor=DA(C.color),f.ctx.shadowBlur=C.blur.number,f.ctx.fillStyle=C.inset?DA(C.color):"rgba(0,0,0,1)",f.ctx.fill(),f.ctx.restore()}),h.label=2;case 2:s=0,u=0,l=a,h.label=3;case 3:return u<l.length?(d=l[u],d.style!==0&&!$e(d.color)&&d.width>0?d.style!==2?[3,5]:[4,this.renderDashedDottedBorder(d.color,d.width,s,t.curves,2)]:[3,11]):[3,13];case 4:return h.sent(),[3,11];case 5:return d.style!==3?[3,7]:[4,this.renderDashedDottedBorder(d.color,d.width,s,t.curves,3)];case 6:return h.sent(),[3,11];case 7:return d.style!==4?[3,9]:[4,this.renderDoubleBorder(d.color,d.width,s,t.curves)];case 8:return h.sent(),[3,11];case 9:return[4,this.renderSolidBorder(d.color,s,t.curves)];case 10:h.sent(),h.label=11;case 11:s++,h.label=12;case 12:return u++,[3,3];case 13:return[2]}})})},e.prototype.renderDashedDottedBorder=function(t,r,n,a,i){return qA(this,void 0,void 0,function(){var s,u,l,d,f,h,C,E,T,v,b,x,D,R,O,m,O,m;return VA(this,function(L){return this.ctx.save(),s=RT(a,n),u=Zl(a,n),i===2&&(this.path(u),this.ctx.clip()),he(u[0])?(l=u[0].start.x,d=u[0].start.y):(l=u[0].x,d=u[0].y),he(u[1])?(f=u[1].end.x,h=u[1].end.y):(f=u[1].x,h=u[1].y),n===0||n===2?C=Math.abs(l-f):C=Math.abs(d-h),this.ctx.beginPath(),i===3?this.formatPath(s):this.formatPath(u.slice(0,2)),E=r<3?r*3:r*2,T=r<3?r*2:r,i===3&&(E=r,T=r),v=!0,C<=E*2?v=!1:C<=E*2+T?(b=C/(2*E+T),E*=b,T*=b):(x=Math.floor((C+T)/(E+T)),D=(C-x*E)/(x-1),R=(C-(x+1)*E)/x,T=R<=0||Math.abs(T-D)<Math.abs(T-R)?D:R),v&&(i===3?this.ctx.setLineDash([0,E+T]):this.ctx.setLineDash([E,T])),i===3?(this.ctx.lineCap="round",this.ctx.lineWidth=r):this.ctx.lineWidth=r*2+1.1,this.ctx.strokeStyle=DA(t),this.ctx.stroke(),this.ctx.setLineDash([]),i===2&&(he(u[0])&&(O=u[3],m=u[0],this.ctx.beginPath(),this.formatPath([new M(O.end.x,O.end.y),new M(m.start.x,m.start.y)]),this.ctx.stroke()),he(u[1])&&(O=u[1],m=u[2],this.ctx.beginPath(),this.formatPath([new M(O.end.x,O.end.y),new M(m.start.x,m.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},e.prototype.render=function(t){return qA(this,void 0,void 0,function(){var r;return VA(this,function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=DA(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),r=HT(t),[4,this.renderStack(r)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}})})},e}(t0),WT=function(A){return A instanceof Fl||A instanceof Ql?!0:A instanceof fs&&A.type!==ta&&A.type!==ea},JT=function(A,e){switch(A){case 0:return oa(e);case 2:return xT(e);case 1:default:return ua(e)}},qT=function(A){switch(A){case 1:return"center";case 2:return"right";case 0:default:return"left"}},jT=["-apple-system","system-ui"],zT=function(A){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?A.filter(function(e){return jT.indexOf(e)===-1}):A},$T=function(A){me(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),n.options=r,n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px",n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+r.width+"x"+r.height+" at "+r.x+","+r.y+") with scale "+r.scale),n}return e.prototype.render=function(t){return qA(this,void 0,void 0,function(){var r,n;return VA(this,function(a){switch(a.label){case 0:return r=cs(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,t),[4,ZT(r)];case 1:return n=a.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=DA(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},e}(t0),ZT=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))})},AU=function(){function A(e){var t=e.id,r=e.enabled;this.id=t,this.enabled=r,this.start=Date.now()}return A.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,wn([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},A.prototype.getTime=function(){return Date.now()-this.start},A.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,wn([this.id,this.getTime()+"ms"],e))},A.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,wn([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},A.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,wn([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},A.instances={},A}(),eU=function(){function A(e,t){var r;this.windowBounds=t,this.instanceName="#"+A.instanceCount++,this.logger=new AU({id:this.instanceName,enabled:e.logging}),this.cache=(r=e.cache)!==null&&r!==void 0?r:new wT(this,e)}return A.instanceCount=1,A}(),r0=function(A,e){return e===void 0&&(e={}),tU(A,e)};typeof window<"u"&&Wl.setContext(window);var tU=function(A,e){return qA(void 0,void 0,void 0,function(){var t,r,n,a,i,s,u,l,d,f,h,C,E,T,v,b,x,D,R,O,L,m,L,V,k,z,iA,AA,q,nA,hA,gA,wA,YA,vA,kA,jA,re,PA,ne;return VA(this,function(y){switch(y.label){case 0:if(!A||typeof A!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(t=A.ownerDocument,!t)throw new Error("Element is not attached to a Document");if(r=t.defaultView,!r)throw new Error("Document is not attached to a Window");return n={allowTaint:(V=e.allowTaint)!==null&&V!==void 0?V:!1,imageTimeout:(k=e.imageTimeout)!==null&&k!==void 0?k:15e3,proxy:e.proxy,useCORS:(z=e.useCORS)!==null&&z!==void 0?z:!1},a=xi({logging:(iA=e.logging)!==null&&iA!==void 0?iA:!0,cache:e.cache},n),i={windowWidth:(AA=e.windowWidth)!==null&&AA!==void 0?AA:r.innerWidth,windowHeight:(q=e.windowHeight)!==null&&q!==void 0?q:r.innerHeight,scrollX:(nA=e.scrollX)!==null&&nA!==void 0?nA:r.pageXOffset,scrollY:(hA=e.scrollY)!==null&&hA!==void 0?hA:r.pageYOffset},s=new Ne(i.scrollX,i.scrollY,i.windowWidth,i.windowHeight),u=new eU(a,s),l=(gA=e.foreignObjectRendering)!==null&&gA!==void 0?gA:!1,d={allowTaint:(wA=e.allowTaint)!==null&&wA!==void 0?wA:!1,onclone:e.onclone,ignoreElements:e.ignoreElements,inlineImages:l,copyStyles:l},u.logger.debug("Starting document clone with size "+s.width+"x"+s.height+" scrolled to "+-s.left+","+-s.top),f=new Yl(u,A,d),h=f.clonedReferenceElement,h?[4,f.toIFrame(t,s)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return C=y.sent(),E=Bs(h)||nT(h)?LE(h.ownerDocument):bn(u,h),T=E.width,v=E.height,b=E.left,x=E.top,D=rU(u,h,e.backgroundColor),R={canvas:e.canvas,backgroundColor:D,scale:(vA=(YA=e.scale)!==null&&YA!==void 0?YA:r.devicePixelRatio)!==null&&vA!==void 0?vA:1,x:((kA=e.x)!==null&&kA!==void 0?kA:0)+b,y:((jA=e.y)!==null&&jA!==void 0?jA:0)+x,width:(re=e.width)!==null&&re!==void 0?re:Math.ceil(T),height:(PA=e.height)!==null&&PA!==void 0?PA:Math.ceil(v)},l?(u.logger.debug("Document cloned, using foreign object rendering"),L=new $T(u,R),[4,L.render(h)]):[3,3];case 2:return O=y.sent(),[3,5];case 3:return u.logger.debug("Document cloned, element located at "+b+","+x+" with size "+T+"x"+v+" using computed rendering"),u.logger.debug("Starting DOM parsing"),m=xl(u,h),D===m.styles.backgroundColor&&(m.styles.backgroundColor=Le.TRANSPARENT),u.logger.debug("Starting renderer for element at "+R.x+","+R.y+" with size "+R.width+"x"+R.height),L=new XT(u,R),[4,L.render(m)];case 4:O=y.sent(),y.label=5;case 5:return(!((ne=e.removeContainer)!==null&&ne!==void 0)||ne)&&(Yl.destroy(C)||u.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),u.logger.debug("Finished rendering"),[2,O]}})})},rU=function(A,e,t){var r=e.ownerDocument,n=r.documentElement?Lr(A,getComputedStyle(r.documentElement).backgroundColor):Le.TRANSPARENT,a=r.body?Lr(A,getComputedStyle(r.body).backgroundColor):Le.TRANSPARENT,i=typeof t=="string"?Lr(A,t):t===null?Le.TRANSPARENT:4294967295;return e===r.documentElement?$e(n)?$e(a)?i:a:n:i};const nU=`.gp-message[data-v-a234b03c]{z-index:999999;transition:all .3s ease;max-width:300px;font-family:微软雅黑}.message-content[data-v-a234b03c]{display:flex;align-items:center;justify-content:space-between;padding:10px 20px;border-radius:4px;box-shadow:0 2px 8px #00000026;font-size:14px}.close-btn[data-v-a234b03c]{background:none;border:none;color:#4b5563;cursor:pointer;margin-left:10px;line-height:1;padding:0}.fade-enter-active[data-v-a234b03c],.fade-leave-active[data-v-a234b03c]{transition:opacity .3s}.fade-enter-from[data-v-a234b03c],.fade-leave-to[data-v-a234b03c]{opacity:0}[contenteditable=true][data-v-f55d489e]:focus{outline:none}[contenteditable=true][data-v-f55d489e]{outline:none}textarea[data-v-f55d489e]{resize:none;border:none;outline:none;background:transparent}.icon-upload[data-v-f55d489e]{display:none}.icon-upload-box:hover .icon-upload[data-v-f55d489e]{display:flex}.custom-checkbox[data-v-68b8f276]{width:16px;height:16px;border:2px solid #d1d5db;border-radius:4px;background-color:#fff;position:relative;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;cursor:pointer;transition:all .2s ease}.custom-checkbox[data-v-68b8f276]:checked{border-color:#3b82f6;background-color:#3b82f6}.custom-checkbox[data-v-68b8f276]:checked:after{content:"✓";color:#fff;font-size:12px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.checkbox-label[data-v-68b8f276]{line-height:1.2;font-size:14px;color:#4b5563}.border[data-v-1499ca4f]{border:1px solid #ccc}.custom-checkbox[data-v-1499ca4f]{width:18px;height:18px;border:2px solid #d1d5db;border-radius:4px;background-color:#fff;position:relative;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;cursor:pointer;transition:all .2s ease}.custom-checkbox[data-v-1499ca4f]:checked{border-color:#3b82f6;background-color:#3b82f6}.custom-checkbox[data-v-1499ca4f]:checked:after{content:"✓";color:#fff;font-size:12px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}/*!
40
40
  * Cropper.js v1.6.2
41
41
  * https://fengyuanchen.github.io/cropperjs
42
42
  *
@@ -44,16 +44,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
44
44
  * Released under the MIT license
45
45
  *
46
46
  * Date: 2024-04-21T07:43:02.731Z
47
- */.cropper-container{direction:ltr;font-size:0;line-height:0;position:relative;touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.cropper-container img{backface-visibility:hidden;display:block;height:100%;image-orientation:0deg;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}.cropper-wrap-box,.cropper-canvas,.cropper-drag-box,.cropper-crop-box,.cropper-modal{bottom:0;left:0;position:absolute;right:0;top:0}.cropper-wrap-box,.cropper-canvas{overflow:hidden}.cropper-drag-box{background-color:#fff;opacity:0}.cropper-modal{background-color:#000;opacity:.5}.cropper-view-box{display:block;height:100%;outline:1px solid #39f;outline-color:#3399ffbf;overflow:hidden;width:100%}.cropper-dashed{border:0 dashed #eee;display:block;opacity:.5;position:absolute}.cropper-dashed.dashed-h{border-bottom-width:1px;border-top-width:1px;height:calc(100% / 3);left:0;top:calc(100% / 3);width:100%}.cropper-dashed.dashed-v{border-left-width:1px;border-right-width:1px;height:100%;left:calc(100% / 3);top:0;width:calc(100% / 3)}.cropper-center{display:block;height:0;left:50%;opacity:.75;position:absolute;top:50%;width:0}.cropper-center:before,.cropper-center:after{background-color:#eee;content:" ";display:block;position:absolute}.cropper-center:before{height:1px;left:-3px;top:0;width:7px}.cropper-center:after{height:7px;left:0;top:-3px;width:1px}.cropper-face,.cropper-line,.cropper-point{display:block;height:100%;opacity:.1;position:absolute;width:100%}.cropper-face{background-color:#fff;left:0;top:0}.cropper-line{background-color:#39f}.cropper-line.line-e{cursor:ew-resize;right:-3px;top:0;width:5px}.cropper-line.line-n{cursor:ns-resize;height:5px;left:0;top:-3px}.cropper-line.line-w{cursor:ew-resize;left:-3px;top:0;width:5px}.cropper-line.line-s{bottom:-3px;cursor:ns-resize;height:5px;left:0}.cropper-point{background-color:#39f;height:5px;opacity:.75;width:5px}.cropper-point.point-e{cursor:ew-resize;margin-top:-3px;right:-3px;top:50%}.cropper-point.point-n{cursor:ns-resize;left:50%;margin-left:-3px;top:-3px}.cropper-point.point-w{cursor:ew-resize;left:-3px;margin-top:-3px;top:50%}.cropper-point.point-s{bottom:-3px;cursor:s-resize;left:50%;margin-left:-3px}.cropper-point.point-ne{cursor:nesw-resize;right:-3px;top:-3px}.cropper-point.point-nw{cursor:nwse-resize;left:-3px;top:-3px}.cropper-point.point-sw{bottom:-3px;cursor:nesw-resize;left:-3px}.cropper-point.point-se{bottom:-3px;cursor:nwse-resize;height:20px;opacity:1;right:-3px;width:20px}@media (min-width: 768px){.cropper-point.point-se{height:15px;width:15px}}@media (min-width: 992px){.cropper-point.point-se{height:10px;width:10px}}@media (min-width: 1200px){.cropper-point.point-se{height:5px;opacity:.75;width:5px}}.cropper-point.point-se:before{background-color:#39f;bottom:-50%;content:" ";display:block;height:200%;opacity:0;position:absolute;right:-50%;width:200%}.cropper-invisible{opacity:0}.cropper-bg{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC)}.cropper-hide{display:block;height:0;position:absolute;width:0}.cropper-hidden{display:none!important}.cropper-move{cursor:move}.cropper-crop{cursor:crosshair}.cropper-disabled .cropper-drag-box,.cropper-disabled .cropper-face,.cropper-disabled .cropper-line,.cropper-disabled .cropper-point{cursor:not-allowed}.before{position:relative;overflow:hidden}.before img{position:absolute}.upload-wrapper[data-v-08babff9]{max-width:500px}.file-list[data-v-08babff9]{max-height:300px;overflow-y:auto}.gp-dsigner[data-v-245772e1]{font-family:微软雅黑}.resize-area[data-v-245772e1]{transition:width .1s ease}.resizer[data-v-245772e1]{width:6px;background:#f0f0f0;cursor:col-resize;display:flex;justify-content:center;align-items:center;position:relative;z-index:1;-webkit-user-select:none;-moz-user-select:none;user-select:none}textarea[data-v-245772e1]{resize:none;border:none;outline:none;background:transparent}.gp-dsigner{width:100%}:root{--gp-designer-theme-color: #3574e6}.gp-designer-theme-text,.gp-designer-theme-icon{color:var(--gp-designer-theme-color)!important}.gp-designer-theme-button{background-color:var(--gp-designer-theme-color)!important}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}.container{width:100%}@media (min-width: 1200px){.container{max-width:1200px}}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.-top-6{top:-1.5rem}.bottom-4{bottom:1rem}.left-0{left:0}.left-1\\/2{left:50%}.left-2{left:.5rem}.left-4{left:1rem}.right-0{right:0}.right-4{right:1rem}.top-0{top:0}.top-1\\/2{top:50%}.top-2{top:.5rem}.top-4{top:1rem}.z-10{z-index:10}.z-\\[99999\\]{z-index:99999}.m-1{margin:.25rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.mb-2{margin-bottom:.5rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.box-border{box-sizing:border-box}.block{display:block}.flex{display:flex}.contents{display:contents}.hidden{display:none}.h-1{height:.25rem}.h-12{height:3rem}.h-2{height:.5rem}.h-20{height:5rem}.h-3{height:.75rem}.h-32{height:8rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-\\[100vh\\]{height:100vh}.h-\\[200px\\]{height:200px}.h-\\[300px\\]{height:300px}.h-\\[360px\\]{height:360px}.h-\\[40px\\]{height:40px}.h-full{height:100%}.h-screen{height:100vh}.max-h-\\[500px\\]{max-height:500px}.w-10{width:2.5rem}.w-12{width:3rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-\\[100vw\\]{width:100vw}.w-\\[110px\\]{width:110px}.w-\\[270px\\]{width:270px}.w-\\[300px\\]{width:300px}.w-\\[640px\\]{width:640px}.w-\\[700px\\]{width:700px}.w-auto{width:auto}.w-full{width:100%}.w-screen{width:100vw}.flex-1{flex:1 1 0%}.flex-none{flex:none}.basis-1\\/10{flex-basis:10%}.basis-1\\/11{flex-basis:9.09090909%}.basis-1\\/12{flex-basis:8.33333333%}.basis-1\\/2{flex-basis:50%}.basis-1\\/3{flex-basis:33.333333%}.basis-1\\/4{flex-basis:25%}.basis-1\\/5{flex-basis:20%}.basis-1\\/6{flex-basis:16.666667%}.basis-1\\/7{flex-basis:14.2857143%}.basis-1\\/8{flex-basis:12.5%}.basis-1\\/9{flex-basis:11.1111111%}.basis-full{flex-basis:100%}.-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-auto{cursor:auto}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.cursor-text{cursor:text}.cursor-wait{cursor:wait}.resize{resize:both}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.content-center{align-content:center}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-normal{justify-content:normal}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-5>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1.25rem * var(--tw-space-x-reverse));margin-left:calc(1.25rem * calc(1 - var(--tw-space-x-reverse)))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-scroll{overflow:scroll}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-\\[\\#DEDEDE\\]{--tw-border-opacity: 1;border-color:rgb(222 222 222 / var(--tw-border-opacity))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-green-500{--tw-border-opacity: 1;border-color:rgb(34 197 94 / var(--tw-border-opacity))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.bg-\\[\\#474AFF\\]{--tw-bg-opacity: 1;background-color:rgb(71 74 255 / var(--tw-bg-opacity))}.bg-\\[\\#f4f8ff\\]{--tw-bg-opacity: 1;background-color:rgb(244 248 255 / var(--tw-bg-opacity))}.bg-\\[rgba\\(0\\,0\\,0\\,0\\.7\\)\\]{background-color:#000000b3}.bg-black\\/80{background-color:#000c}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}.bg-blue-200{--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}.bg-blue-300{--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}.bg-blue-400{--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.bg-blue-500\\/80{background-color:#3b82f6cc}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.bg-blue-700{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.bg-blue-800{--tw-bg-opacity: 1;background-color:rgb(30 64 175 / var(--tw-bg-opacity))}.bg-blue-900{--tw-bg-opacity: 1;background-color:rgb(30 58 138 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.bg-green-500\\/80{background-color:#22c55ecc}.bg-purple-400\\/80{background-color:#c084fccc}.bg-purple-700{--tw-bg-opacity: 1;background-color:rgb(126 34 206 / var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}.bg-red-500\\/80{background-color:#ef4444cc}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}.bg-opacity-50{--tw-bg-opacity: .5}.object-cover{-o-object-fit:cover;object-fit:cover}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-8{padding-bottom:2rem}.pr-\\[70px\\]{padding-right:70px}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.\\!text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.font-thin{font-weight:100}.text-\\[\\#333\\]{--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}.text-\\[\\#666\\]{--tw-text-opacity: 1;color:rgb(102 102 102 / var(--tw-text-opacity))}.text-\\[\\#999\\]{--tw-text-opacity: 1;color:rgb(153 153 153 / var(--tw-text-opacity))}.text-blue-100{--tw-text-opacity: 1;color:rgb(219 234 254 / var(--tw-text-opacity))}.text-blue-200{--tw-text-opacity: 1;color:rgb(191 219 254 / var(--tw-text-opacity))}.text-blue-300{--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity))}.text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}.text-blue-50{--tw-text-opacity: 1;color:rgb(239 246 255 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}.text-blue-900{--tw-text-opacity: 1;color:rgb(30 58 138 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-50{--tw-text-opacity: 1;color:rgb(249 250 251 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(133 77 14 / var(--tw-text-opacity))}.opacity-0{opacity:0}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.pswp img{-o-object-fit:contain;object-fit:contain}.hover\\:z-10:hover{z-index:10}.hover\\:border-blue-500:hover{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.hover\\:border-gray-400:hover{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.hover\\:bg-black:hover{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.hover\\:bg-blue-500:hover{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.hover\\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.hover\\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\\:bg-green-500:hover{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.hover\\:bg-purple-600:hover{--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity))}.hover\\:bg-red-500:hover{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.hover\\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.hover\\:text-gray-800:hover{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.hover\\:underline:hover{text-decoration-line:underline}.group:hover .group-hover\\:flex{display:flex}@media (min-width: 1200px){.pc\\:box-border{box-sizing:border-box}.pc\\:basis-1\\/10{flex-basis:10%}.pc\\:basis-1\\/11{flex-basis:9.09090909%}.pc\\:basis-1\\/12{flex-basis:8.33333333%}.pc\\:basis-1\\/2{flex-basis:50%}.pc\\:basis-1\\/3{flex-basis:33.333333%}.pc\\:basis-1\\/4{flex-basis:25%}.pc\\:basis-1\\/5{flex-basis:20%}.pc\\:basis-1\\/6{flex-basis:16.666667%}.pc\\:basis-1\\/7{flex-basis:14.2857143%}.pc\\:basis-1\\/8{flex-basis:12.5%}.pc\\:basis-1\\/9{flex-basis:11.1111111%}.pc\\:basis-full{flex-basis:100%}.pc\\:justify-normal{justify-content:normal}.pc\\:justify-center{justify-content:center}}
48
- `,eU=c.defineComponent({name:"GpIframe",props:{htmlContent:{type:String,required:!0},jsFiles:{type:Array,default:[]},cssFiles:{type:Array,default:[]},iframeStyle:{type:Object,default:()=>({width:"100%",height:"100%",border:"none"})},themeColor:{type:String,default:"#3574e6"}},setup(A){const e=c.ref(null),t=c.ref();function r(i){const s=i.replace("#","");if(s.length!==6)return console.error("Invalid hex format. Please use #RRGGBB format."),null;const u=parseInt(s.slice(0,2),16),l=parseInt(s.slice(2,4),16),d=parseInt(s.slice(4,6),16);return`${u}, ${l}, ${d}`}const n=()=>{var x;const i=e.value;if(!i)return;const s=i.contentDocument||((x=i.contentWindow)==null?void 0:x.document);if(!s)return;s.open(),s.write("<!DOCTYPE html><html><head></head><body></body></html>"),s.close();const u=s.head;A.cssFiles.forEach(D=>{const R=s.createElement("link");R.rel="stylesheet",R.href=D+"?t="+new Date().getTime(),u.appendChild(R)});const l=s.createElement("style");l.innerHTML=`
47
+ */.cropper-container{direction:ltr;font-size:0;line-height:0;position:relative;touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.cropper-container img{backface-visibility:hidden;display:block;height:100%;image-orientation:0deg;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}.cropper-wrap-box,.cropper-canvas,.cropper-drag-box,.cropper-crop-box,.cropper-modal{bottom:0;left:0;position:absolute;right:0;top:0}.cropper-wrap-box,.cropper-canvas{overflow:hidden}.cropper-drag-box{background-color:#fff;opacity:0}.cropper-modal{background-color:#000;opacity:.5}.cropper-view-box{display:block;height:100%;outline:1px solid #39f;outline-color:#3399ffbf;overflow:hidden;width:100%}.cropper-dashed{border:0 dashed #eee;display:block;opacity:.5;position:absolute}.cropper-dashed.dashed-h{border-bottom-width:1px;border-top-width:1px;height:calc(100% / 3);left:0;top:calc(100% / 3);width:100%}.cropper-dashed.dashed-v{border-left-width:1px;border-right-width:1px;height:100%;left:calc(100% / 3);top:0;width:calc(100% / 3)}.cropper-center{display:block;height:0;left:50%;opacity:.75;position:absolute;top:50%;width:0}.cropper-center:before,.cropper-center:after{background-color:#eee;content:" ";display:block;position:absolute}.cropper-center:before{height:1px;left:-3px;top:0;width:7px}.cropper-center:after{height:7px;left:0;top:-3px;width:1px}.cropper-face,.cropper-line,.cropper-point{display:block;height:100%;opacity:.1;position:absolute;width:100%}.cropper-face{background-color:#fff;left:0;top:0}.cropper-line{background-color:#39f}.cropper-line.line-e{cursor:ew-resize;right:-3px;top:0;width:5px}.cropper-line.line-n{cursor:ns-resize;height:5px;left:0;top:-3px}.cropper-line.line-w{cursor:ew-resize;left:-3px;top:0;width:5px}.cropper-line.line-s{bottom:-3px;cursor:ns-resize;height:5px;left:0}.cropper-point{background-color:#39f;height:5px;opacity:.75;width:5px}.cropper-point.point-e{cursor:ew-resize;margin-top:-3px;right:-3px;top:50%}.cropper-point.point-n{cursor:ns-resize;left:50%;margin-left:-3px;top:-3px}.cropper-point.point-w{cursor:ew-resize;left:-3px;margin-top:-3px;top:50%}.cropper-point.point-s{bottom:-3px;cursor:s-resize;left:50%;margin-left:-3px}.cropper-point.point-ne{cursor:nesw-resize;right:-3px;top:-3px}.cropper-point.point-nw{cursor:nwse-resize;left:-3px;top:-3px}.cropper-point.point-sw{bottom:-3px;cursor:nesw-resize;left:-3px}.cropper-point.point-se{bottom:-3px;cursor:nwse-resize;height:20px;opacity:1;right:-3px;width:20px}@media (min-width: 768px){.cropper-point.point-se{height:15px;width:15px}}@media (min-width: 992px){.cropper-point.point-se{height:10px;width:10px}}@media (min-width: 1200px){.cropper-point.point-se{height:5px;opacity:.75;width:5px}}.cropper-point.point-se:before{background-color:#39f;bottom:-50%;content:" ";display:block;height:200%;opacity:0;position:absolute;right:-50%;width:200%}.cropper-invisible{opacity:0}.cropper-bg{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC)}.cropper-hide{display:block;height:0;position:absolute;width:0}.cropper-hidden{display:none!important}.cropper-move{cursor:move}.cropper-crop{cursor:crosshair}.cropper-disabled .cropper-drag-box,.cropper-disabled .cropper-face,.cropper-disabled .cropper-line,.cropper-disabled .cropper-point{cursor:not-allowed}.before{position:relative;overflow:hidden}.before img{position:absolute}.upload-wrapper[data-v-08babff9]{max-width:500px}.file-list[data-v-08babff9]{max-height:300px;overflow-y:auto}.gp-dsigner[data-v-245772e1]{font-family:微软雅黑}.resize-area[data-v-245772e1]{transition:width .1s ease}.resizer[data-v-245772e1]{width:6px;background:#f0f0f0;cursor:col-resize;display:flex;justify-content:center;align-items:center;position:relative;z-index:1;-webkit-user-select:none;-moz-user-select:none;user-select:none}textarea[data-v-245772e1]{resize:none;border:none;outline:none;background:transparent}.gp-dsigner{width:100%}:root{--gp-designer-theme-color: #3574e6}.gp-designer-theme-text,.gp-designer-theme-icon{color:var(--gp-designer-theme-color)!important}.gp-designer-theme-button{background-color:var(--gp-designer-theme-color)!important}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}.container{width:100%}@media (min-width: 1200px){.container{max-width:1200px}}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.-top-6{top:-1.5rem}.bottom-4{bottom:1rem}.left-0{left:0}.left-1\\/2{left:50%}.left-2{left:.5rem}.left-4{left:1rem}.right-0{right:0}.right-4{right:1rem}.top-0{top:0}.top-1\\/2{top:50%}.top-2{top:.5rem}.top-4{top:1rem}.z-10{z-index:10}.z-\\[99999\\]{z-index:99999}.m-1{margin:.25rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.mb-2{margin-bottom:.5rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.box-border{box-sizing:border-box}.block{display:block}.flex{display:flex}.contents{display:contents}.hidden{display:none}.h-1{height:.25rem}.h-12{height:3rem}.h-2{height:.5rem}.h-20{height:5rem}.h-3{height:.75rem}.h-32{height:8rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-\\[100vh\\]{height:100vh}.h-\\[200px\\]{height:200px}.h-\\[300px\\]{height:300px}.h-\\[360px\\]{height:360px}.h-\\[40px\\]{height:40px}.h-full{height:100%}.h-screen{height:100vh}.max-h-\\[500px\\]{max-height:500px}.w-10{width:2.5rem}.w-12{width:3rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-\\[100vw\\]{width:100vw}.w-\\[110px\\]{width:110px}.w-\\[270px\\]{width:270px}.w-\\[300px\\]{width:300px}.w-\\[640px\\]{width:640px}.w-\\[700px\\]{width:700px}.w-auto{width:auto}.w-full{width:100%}.w-screen{width:100vw}.flex-1{flex:1 1 0%}.flex-none{flex:none}.basis-1\\/10{flex-basis:10%}.basis-1\\/11{flex-basis:9.09090909%}.basis-1\\/12{flex-basis:8.33333333%}.basis-1\\/2{flex-basis:50%}.basis-1\\/3{flex-basis:33.333333%}.basis-1\\/4{flex-basis:25%}.basis-1\\/5{flex-basis:20%}.basis-1\\/6{flex-basis:16.666667%}.basis-1\\/7{flex-basis:14.2857143%}.basis-1\\/8{flex-basis:12.5%}.basis-1\\/9{flex-basis:11.1111111%}.basis-full{flex-basis:100%}.-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-auto{cursor:auto}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.cursor-text{cursor:text}.cursor-wait{cursor:wait}.resize{resize:both}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.content-center{align-content:center}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-normal{justify-content:normal}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-5>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1.25rem * var(--tw-space-x-reverse));margin-left:calc(1.25rem * calc(1 - var(--tw-space-x-reverse)))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-scroll{overflow:scroll}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-\\[\\#DEDEDE\\]{--tw-border-opacity: 1;border-color:rgb(222 222 222 / var(--tw-border-opacity))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-green-500{--tw-border-opacity: 1;border-color:rgb(34 197 94 / var(--tw-border-opacity))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.bg-\\[\\#474AFF\\]{--tw-bg-opacity: 1;background-color:rgb(71 74 255 / var(--tw-bg-opacity))}.bg-\\[\\#f4f8ff\\]{--tw-bg-opacity: 1;background-color:rgb(244 248 255 / var(--tw-bg-opacity))}.bg-\\[rgba\\(0\\,0\\,0\\,0\\.7\\)\\]{background-color:#000000b3}.bg-black\\/80{background-color:#000c}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}.bg-blue-200{--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}.bg-blue-300{--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}.bg-blue-400{--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.bg-blue-500\\/80{background-color:#3b82f6cc}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.bg-blue-700{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.bg-blue-800{--tw-bg-opacity: 1;background-color:rgb(30 64 175 / var(--tw-bg-opacity))}.bg-blue-900{--tw-bg-opacity: 1;background-color:rgb(30 58 138 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.bg-green-500\\/80{background-color:#22c55ecc}.bg-purple-400\\/80{background-color:#c084fccc}.bg-purple-700{--tw-bg-opacity: 1;background-color:rgb(126 34 206 / var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}.bg-red-500\\/80{background-color:#ef4444cc}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}.bg-opacity-50{--tw-bg-opacity: .5}.object-cover{-o-object-fit:cover;object-fit:cover}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-8{padding-bottom:2rem}.pr-\\[70px\\]{padding-right:70px}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.\\!text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.font-thin{font-weight:100}.text-\\[\\#333\\]{--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}.text-\\[\\#666\\]{--tw-text-opacity: 1;color:rgb(102 102 102 / var(--tw-text-opacity))}.text-\\[\\#999\\]{--tw-text-opacity: 1;color:rgb(153 153 153 / var(--tw-text-opacity))}.text-blue-100{--tw-text-opacity: 1;color:rgb(219 234 254 / var(--tw-text-opacity))}.text-blue-200{--tw-text-opacity: 1;color:rgb(191 219 254 / var(--tw-text-opacity))}.text-blue-300{--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity))}.text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}.text-blue-50{--tw-text-opacity: 1;color:rgb(239 246 255 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}.text-blue-900{--tw-text-opacity: 1;color:rgb(30 58 138 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-50{--tw-text-opacity: 1;color:rgb(249 250 251 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(133 77 14 / var(--tw-text-opacity))}.opacity-0{opacity:0}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.pswp img{-o-object-fit:contain;object-fit:contain}.hover\\:z-10:hover{z-index:10}.hover\\:border-blue-500:hover{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.hover\\:border-gray-400:hover{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.hover\\:bg-black:hover{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.hover\\:bg-blue-500:hover{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.hover\\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.hover\\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\\:bg-green-500:hover{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.hover\\:bg-purple-600:hover{--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity))}.hover\\:bg-red-500:hover{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.hover\\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.hover\\:text-gray-800:hover{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.hover\\:underline:hover{text-decoration-line:underline}@media (min-width: 1200px){.pc\\:box-border{box-sizing:border-box}.pc\\:basis-1\\/10{flex-basis:10%}.pc\\:basis-1\\/11{flex-basis:9.09090909%}.pc\\:basis-1\\/12{flex-basis:8.33333333%}.pc\\:basis-1\\/2{flex-basis:50%}.pc\\:basis-1\\/3{flex-basis:33.333333%}.pc\\:basis-1\\/4{flex-basis:25%}.pc\\:basis-1\\/5{flex-basis:20%}.pc\\:basis-1\\/6{flex-basis:16.666667%}.pc\\:basis-1\\/7{flex-basis:14.2857143%}.pc\\:basis-1\\/8{flex-basis:12.5%}.pc\\:basis-1\\/9{flex-basis:11.1111111%}.pc\\:basis-full{flex-basis:100%}.pc\\:justify-normal{justify-content:normal}.pc\\:justify-center{justify-content:center}}
48
+ `,aU=c.defineComponent({name:"GpIframe",props:{htmlContent:{type:String,required:!0},jsFiles:{type:Array,default:[]},cssFiles:{type:Array,default:[]},iframeStyle:{type:Object,default:()=>({width:"100%",height:"100%",border:"none"})},themeColor:{type:String,default:"#3574e6"}},setup(A){const e=c.ref(null),t=c.ref();function r(i){const s=i.replace("#","");if(s.length!==6)return console.error("Invalid hex format. Please use #RRGGBB format."),null;const u=parseInt(s.slice(0,2),16),l=parseInt(s.slice(2,4),16),d=parseInt(s.slice(4,6),16);return`${u}, ${l}, ${d}`}const n=()=>{var x;const i=e.value;if(!i)return;const s=i.contentDocument||((x=i.contentWindow)==null?void 0:x.document);if(!s)return;s.open(),s.write("<!DOCTYPE html><html><head></head><body></body></html>"),s.close();const u=s.head;A.cssFiles.forEach(D=>{const R=s.createElement("link");R.rel="stylesheet",R.href=D+"?t="+new Date().getTime(),u.appendChild(R)});const l=s.createElement("style");l.innerHTML=`
49
49
  :root {
50
50
  --main-color: ${A.themeColor} !important;
51
51
  --main-rgb: ${r(A.themeColor)};
52
52
  --gp-designer-theme-color: ${A.themeColor} !important;
53
53
  }
54
- `,u.appendChild(l);const d=s.createElement("style");d.innerHTML=AU,u.appendChild(d);const f=s.createElement("link");f.rel="stylesheet",f.href="/spa/topic/photoswipe/photoswipe.css",u.appendChild(f);const h=s.createElement("script");h.src="/spa/topic/js/jquery-3.6.0.min.js",h.async=!1,u.appendChild(h);const C=s.createElement("script");C.src="/spa/topic/js/swiper-bundle.min.js",C.async=!1,u.appendChild(C);const m=s.createElement("script");m.src="/spa/topic/js/index.js?t="+new Date().getTime(),m.async=!1,u.appendChild(m);const T=s.createElement("script");T.src="/spa/topic/photoswipe/photoswipe.esm.min.js",T.type="module",T.async=!1,u.appendChild(T);const v=s.createElement("script");v.src="/spa/topic/js/photoswipe.js?t="+new Date().getTime(),v.type="module",v.async=!1,u.appendChild(v);const b=s.body;b.innerHTML=A.htmlContent,A.jsFiles.forEach(D=>{const R=s.createElement("script");R.src=D+"?t="+new Date().getTime(),R.async=!1,b.appendChild(R)}),t.value=b,c.nextTick(()=>{})};c.watch(t,i=>{if(!i)return;new MutationObserver(()=>{const u=e.value;u&&(u.style.height=`${i.scrollHeight}px`)}).observe(i,{childList:!0,subtree:!0})});const a=async i=>{var d;const s=e.value;if(!s)return;const u=s.contentDocument||((d=s.contentWindow)==null?void 0:d.document);if(!u)return;const l=u.body;if(l)try{await c.nextTick();const f=await zT(l,{x:0,y:0,scrollX:window.scrollX,scrollY:window.scrollY,useCORS:!0,allowTaint:!0,foreignObjectRendering:!1});i?i(f):f.toBlob(h=>{const C=URL.createObjectURL(h);window.open(C,"_blank")})}catch(f){console.error("截图生成失败:",f)}};return c.watch(()=>[A.htmlContent,A.jsFiles,A.cssFiles],n,{deep:!0}),c.onMounted(()=>{n()}),{iframeRef:e,generateCover:a}}});function tU(A,e,t,r,n,a){return c.openBlock(),c.createElementBlock("div",null,[c.createElementVNode("iframe",{ref:"iframeRef",style:c.normalizeStyle([{"min-height":"600px"},A.iframeStyle])},null,4)])}const Zl=Ve(eU,[["render",tU],["__scopeId","data-v-ebcf2132"]]),rU={class:"flex gp-dsigner"},nU={key:0,class:"flex items-center justify-between border-b"},aU={class:"text-lg font-bold p-2"},iU={class:"text-sm font-thin text-gray-500"},sU={class:"flex-1 overflow-auto"},oU={key:0,class:"flex justify-between items-center border-b p-2"},uU={class:"flex items-center"},cU={class:"p-2"},lU={class:"sticky top-0"},dU={key:0,class:"text-lg font-bold border-b p-2"},fU={class:"text-sm font-thin text-gray-500"},hU={class:"p-2"},BU={key:0,class:"max-h-[500px] overflow-hidden w-[640px] h-[360px] bg-light-100"},gU={key:1,class:"text-gray-500 text-xs mt-2"},pU={key:0},EU={key:1},mU={key:2},CU={key:0,class:"text-red-500 text-xs mt-2"},wU={key:1,class:"text-red-500 text-xs mt-2"},A0=Ve(c.defineComponent({__name:"Designer",props:{mode:{default:"design"},template:{},css:{},js:{},previewWidth:{default:360},uploadByFile:{},icons:{},rules:{},preview:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0}},emits:["update:modelValue","update:element"],setup(A,{expose:e,emit:t}){const r=A,n=t,a=c.ref(r.rules||[]),i=c.ref(r.template),s=c.ref();let u=gu("",{},!1);const l=c.ref(""),d=c.ref("#3574e6"),f=c.ref(""),h=c.ref(r.mode);c.watch(()=>r.template,F=>{i.value=F},{immediate:!0}),c.watch(()=>i.value,F=>{F&&(s.value=q(F))},{immediate:!0}),c.watch(()=>r.css,F=>{F.forEach(Q=>{if(document.querySelector(`link[href="${Q}"]`)||document.querySelector(`link[id="${Q}"]`))return;const H=document.createElement("link");H.rel="stylesheet",H.href=Q+"?t="+new Date().getTime(),H.id=Q,document.head.appendChild(H)})},{immediate:!0}),c.watch(()=>r.js,F=>{!F||F.length===0||F.forEach(Q=>{if(document.querySelector(`script[src="${Q}"]`)||document.querySelector(`script[id="${Q}"]`))return;const H=document.createElement("script");H.src=Q+"?t="+new Date().getTime(),H.id=Q,document.body.appendChild(H)})},{immediate:!0}),c.watch(()=>s.value,F=>{F&&n("update:element",F)},{immediate:!0}),c.watch(()=>l.value,F=>{if(document&&document.documentElement){const Q=getComputedStyle(document.documentElement).getPropertyValue("--main-color"),H=getComputedStyle(document.documentElement).getPropertyValue("--gp-designer-theme-color");d.value=H||Q}n("update:modelValue",F)},{immediate:!0});const C=c.ref(),m=c.ref(),T=c.ref(),v=c.ref(),b=c.ref(),x=c.ref(),D=c.ref(""),R=c.ref(r.mode==="design");c.watch(()=>r.rules,F=>{a.value=F,i.value&&(s.value=q(i.value))},{immediate:!0});function O(F=void 0){v.value&&v.value.generateCover(F)}function E(F){var Q,H,K,$,iA,_A,fA,WA,Z,se,JA;b.value=F,F.type===G.Text&&F.rule.allowWrap&&(Gt.value=!0,ge.value=(JA=(se=(Z=(WA=(fA=(_A=(iA=($=(K=(H=(Q=F.text)==null?void 0:Q.replace(/<br>/g,`
54
+ `,u.appendChild(l);const d=s.createElement("style");d.innerHTML=nU,u.appendChild(d);const f=s.createElement("link");f.rel="stylesheet",f.href="/spa/topic/photoswipe/photoswipe.css",u.appendChild(f);const h=s.createElement("script");h.src="/spa/topic/js/jquery-3.6.0.min.js",h.async=!1,u.appendChild(h);const C=s.createElement("script");C.src="/spa/topic/js/swiper-bundle.min.js",C.async=!1,u.appendChild(C);const E=s.createElement("script");E.src="/spa/topic/js/index.js?t="+new Date().getTime(),E.async=!1,u.appendChild(E);const T=s.createElement("script");T.src="/spa/topic/photoswipe/photoswipe.esm.min.js",T.type="module",T.async=!1,u.appendChild(T);const v=s.createElement("script");v.src="/spa/topic/js/photoswipe.js?t="+new Date().getTime(),v.type="module",v.async=!1,u.appendChild(v);const b=s.body;b.innerHTML=A.htmlContent,A.jsFiles.forEach(D=>{const R=s.createElement("script");R.src=D+"?t="+new Date().getTime(),R.async=!1,b.appendChild(R)}),t.value=b,c.nextTick(()=>{})};c.watch(t,i=>{if(!i)return;new MutationObserver(()=>{const u=e.value;u&&(u.style.height=`${i.scrollHeight}px`)}).observe(i,{childList:!0,subtree:!0})});const a=async i=>{var d;const s=e.value;if(!s)return;const u=s.contentDocument||((d=s.contentWindow)==null?void 0:d.document);if(!u)return;const l=u.body;if(l)try{await c.nextTick();const f=await r0(l,{x:0,y:0,scrollX:window.scrollX,scrollY:window.scrollY,useCORS:!0,allowTaint:!0,foreignObjectRendering:!1});i?i(f):f.toBlob(h=>{const C=URL.createObjectURL(h);window.open(C,"_blank")})}catch(f){console.error("截图生成失败:",f)}};return c.watch(()=>[A.htmlContent,A.jsFiles,A.cssFiles],n,{deep:!0}),c.onMounted(()=>{n()}),{iframeRef:e,generateCover:a}}});function iU(A,e,t,r,n,a){return c.openBlock(),c.createElementBlock("div",null,[c.createElementVNode("iframe",{ref:"iframeRef",style:c.normalizeStyle([{"min-height":"600px"},A.iframeStyle])},null,4)])}const n0=Ve(aU,[["render",iU],["__scopeId","data-v-ebcf2132"]]),sU={class:"flex gp-dsigner"},oU={key:0,class:"flex items-center justify-between border-b"},uU={class:"text-lg font-bold p-2"},cU={class:"text-sm font-thin text-gray-500"},lU={class:"flex-1 overflow-auto"},dU={key:0,class:"flex justify-between items-center border-b p-2"},fU={class:"flex items-center"},hU={class:"p-2"},BU={class:"sticky top-0"},gU={key:0,class:"text-lg font-bold border-b p-2"},pU={class:"text-sm font-thin text-gray-500"},mU={class:"p-2"},EU={key:0,class:"max-h-[500px] overflow-hidden w-[640px] h-[360px] bg-light-100"},CU={key:1,class:"text-gray-500 text-xs mt-2"},wU={key:0},bU={key:1},TU={key:2},UU={key:0,class:"text-red-500 text-xs mt-2"},QU={key:1,class:"text-red-500 text-xs mt-2"},a0=Ve(c.defineComponent({__name:"Designer",props:{mode:{default:"design"},template:{},css:{},js:{},previewWidth:{default:360},uploadByFile:{},icons:{},rules:{},preview:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0},isCoverpc:{type:Boolean,default:!1}},emits:["update:modelValue","update:element"],setup(A,{expose:e,emit:t}){const r=A,n=t,a=c.ref(r.rules||[]),i=c.ref(r.template),s=c.ref();let u=Cu("",{},!1);const l=c.ref(""),d=c.ref("#3574e6"),f=c.ref(""),h=c.ref(r.mode);c.watch(()=>r.template,Q=>{i.value=Q},{immediate:!0}),c.watch(()=>i.value,Q=>{Q&&(s.value=wA(Q))},{immediate:!0}),c.watch(()=>r.css,Q=>{Q.forEach(F=>{if(document.querySelector(`link[href="${F}"]`)||document.querySelector(`link[id="${F}"]`))return;const H=document.createElement("link");H.rel="stylesheet",H.href=F+"?t="+new Date().getTime(),H.id=F,document.head.appendChild(H)})},{immediate:!0}),c.watch(()=>r.js,Q=>{!Q||Q.length===0||Q.forEach(F=>{if(document.querySelector(`script[src="${F}"]`)||document.querySelector(`script[id="${F}"]`))return;const H=document.createElement("script");H.src=F+"?t="+new Date().getTime(),H.id=F,document.body.appendChild(H)})},{immediate:!0}),c.watch(()=>s.value,Q=>{Q&&n("update:element",Q)},{immediate:!0}),c.watch(()=>l.value,Q=>{if(document&&document.documentElement){const F=getComputedStyle(document.documentElement).getPropertyValue("--main-color"),H=getComputedStyle(document.documentElement).getPropertyValue("--gp-designer-theme-color");d.value=H||F}n("update:modelValue",Q)},{immediate:!0});const C=c.ref(),E=c.ref(),T=c.ref(),v=c.ref();c.ref();const b=c.ref(),x=c.ref(),D=c.ref(""),R=c.ref(r.mode==="design");c.watch(()=>r.rules,Q=>{a.value=Q,i.value&&(s.value=wA(i.value))},{immediate:!0});function O(Q=void 0){v.value&&v.value.generateCover(Q)}const m=c.ref(!1),L=c.ref();c.watch(()=>r.mode,Q=>{Q=="preview"&&(m.value=!0)});function V(Q){console.log("getCoverHtml",Q),L.value=Q,m.value=!1}const k=async Q=>{if(L.value)try{await c.nextTick();const F=await r0(L.value,{x:0,y:0,scrollX:window.scrollX,scrollY:window.scrollY,useCORS:!0,allowTaint:!0,foreignObjectRendering:!1});Q?Q(F):F.toBlob(H=>{const P=URL.createObjectURL(H);window.open(P,"_blank")})}catch(F){console.error("截图生成失败:",F)}};function z(Q){var F,H,P,oA,dA,_A,fA,XA,$,oe,WA;b.value=Q,Q.type===G.Text&&Q.rule.allowWrap&&(tt.value=!0,Ce.value=(WA=(oe=($=(XA=(fA=(_A=(dA=(oA=(P=(H=(F=Q.text)==null?void 0:F.replace(/<br>/g,`
55
55
  `))==null?void 0:H.replace(/<br\/>/g,`
56
- `))==null?void 0:K.replace(/<br \/>/g,`
57
- `))==null?void 0:$.replace(/<br \s*\/>/g,`
58
- `))==null?void 0:iA.replace(/<br\s*\/>/g,`
59
- `))==null?void 0:_A.replace(/&nbsp;/g," "))==null?void 0:fA.replace(/&lt;/g,"<"))==null?void 0:WA.replace(/&gt;/g,">"))==null?void 0:Z.replace(/&amp;/g,"&"))==null?void 0:se.replace(/&quot;/g,'"'))==null?void 0:JA.replace(/&apos;/g,"'"))}function L(F,Q=""){if(Q){const H=M(s.value,Q);H?x.value=H:x.value=F}else x.value=F}function M(F,Q){if(F.xpath===Q)return F;if(F.children&&F.children.length)for(const H of F.children){const K=M(H,Q);if(K)return K}}function P(F,Q){var H,K;return F.tag===Q.tag&&((H=F.children)==null?void 0:H.length)===((K=Q.children)==null?void 0:K.length)}function z(F){if(b.value.xpath==F.xpath){if(b.value){if(F.type===G.Block){var Q=!0;const H=M(s.value,b.value.parentxpath||"");if(H&&H.children&&H.children.forEach(K=>{if(K.tag!=b.value.tag||!P(K,b.value)){Q=!1;return}}),!Q){j.error("同级结构不一致,错误配置!");return}}if(b.value.rule=F.rule,b.value.type=F.type,b.value.type===G.Block){const H=M(s.value,b.value.parentxpath||"");H&&H.children&&(H.children.forEach(K=>{if(K.tag!=b.value.tag||!P(K,b.value)){j.error("同级结构不一致,无法配置为块类型");return}}),H.children.forEach(K=>{K.tag===b.value.tag&&(K.rule=F.rule,K.type=F.type)}))}}f.value=new Date().getTime().toString(),j.success("保存成功"),n("update:element",s.value)}}function oA(F){const Q=M(s.value,F.xpath||"");Q&&(Q.rule=F.rule,Q.type=F.type,Q.children&&F.children&&Q.children.forEach(H=>{const K=F.children.find($=>$.xpath===H.xpath);K&&(H.rule=K.rule,H.type=K.type)})),j.success("操作成功"),f.value=new Date().getTime().toString(),n("update:element",s.value)}function dA(F){l.value=F}function q(F){u=gu(F);const Q=u("body").children().toArray().map(K=>aA(u(K)));l.value=u("body").html()||"";const H=Q[0];if(H){let K=function(iA,_A,fA){var se;const WA=iA.xpath.replace(_A.xpath,fA.xpath),Z=(se=a.value)==null?void 0:se.find(JA=>JA.xpath===WA);Z&&(iA.rule=Z.rule,iA.type=Z.type),iA.children&&iA.children.length>0&&iA.children.forEach(JA=>{K(JA,_A,fA)})},$=function(iA){if(iA.children&&iA.children.length>0){const _A=iA.children.find(fA=>fA.type===G.Block);_A&&iA.children.forEach(fA=>{var WA,Z,se;fA.tag===_A.tag&&(fA.rule=_A.rule,fA.type=_A.type,fA.attrs.class=(se=(Z=(WA=fA.attrs)==null?void 0:WA.class)==null?void 0:Z.replace(/pc:basis-\d\/\d/g,""))==null?void 0:se.replace(/basis-\d\/\d/g,""),fA.children&&fA.children.length>0&&fA.children.forEach(JA=>{K(JA,fA,_A)}))}),iA.children.forEach(fA=>{$(fA)})}};$(H)}if(document&&document.documentElement){const K=getComputedStyle(document.documentElement).getPropertyValue("--main-color"),$=getComputedStyle(document.documentElement).getPropertyValue("--gp-designer-theme-color");d.value=$||K}return H}function aA(F,Q=""){var fA,WA;function H(Z){if(!Z||!Z[0])return"";const se=[];let JA=Z;for(;JA.length&&JA[0].tagName!=="html";){const e0=JA[0].tagName,TU=JA.parent().children(e0).index(JA)+1;se.unshift(`${e0}[${TU}]`),JA=JA.parent()}return"/html/"+se.join("/")}const K=H(F).replace("/html/body[1]",""),$=F.children().toArray().map(Z=>aA(u(Z),K)).filter(Z=>Z.tag!=="br");let iA=(fA=a.value)==null?void 0:fA.find(Z=>Z.xpath===K),_A=F.contents().not(F.children()).text().trim();return iA&&((WA=iA.rule)!=null&&WA.allowWrap)&&(_A=F.html()),{tag:F[0].tagName,text:_A,attrs:F[0].attribs,children:$,xpath:K,parentxpath:Q,type:(iA==null?void 0:iA.type)||G.None,rule:(iA==null?void 0:iA.rule)||{}}}function hA(F){const Q=M(s.value,F.element.xpath);if(Q){const H=c.toRaw(Q);H.editText=F.newText}}function BA(F,Q=""){function H(K,$){var fA;const _A=($?((fA=M(s.value,$))==null?void 0:fA.children)||[]:[s.value]).filter(WA=>WA.tag===K.tag).indexOf(K)+1;return`${$}/${K.tag}[${_A}]`}F.xpath=H(F,Q),F.parentxpath=Q,(F.children||[]).forEach(K=>BA(K,F.xpath))}function TA({action:F,element:Q,newBlock:H}){const K=M(s.value,Q.parentxpath||"");if(!K||!K.children)return;const $=K.children.findIndex(Z=>Z===Q);if($===-1){j.error("未找到元素");return}const iA=K.children.length,{minBlock:_A,maxBlock:fA}=Q.rule;if((F==="add"||F==="copy")&&iA>=(fA||1/0)){D.value=`无法添加更多块。最大块数量为 ${fA}`,j.error(D.value);return}function WA(Z){Z.xpath="",Z.parentxpath="",Z.text=Z.editText||Z.text,Z.editText="",Z.children.forEach(se=>{WA(se)})}switch(F){case"add":if(H){const Z={...H,children:JSON.parse(JSON.stringify(H.children))};WA(Z),K.children.splice($+1,0,Z),j.success("添加成功")}break;case"copy":if(H){const Z={...H,children:JSON.parse(JSON.stringify(H.children))};WA(Z),K.children.splice($+1,0,Z),j.success("复制成功")}break;case"moveUp":if($>0){const[Z]=K.children.splice($,1);K.children.splice($-1,0,Z),j.success("前移成功")}else j.error("已经是第一个块,无法前移");break;case"moveDown":if($<K.children.length-1){const[Z]=K.children.splice($,1);K.children.splice($+1,0,Z),j.success("后移成功")}else j.error("已经是最后一个块,无法后移");break;case"delete":if(iA<=(_A||0)){D.value=`无法删除更多块。最小块数量为 ${_A}`,j.error(D.value);return}K.children.splice($,1),j.success("删除成功");break}D.value="",BA(s.value)}function zA(F,Q){let H=Q.attrs.class.replace(/icon-\S+/g,`icon-${F}`);Q.attrs.class=H}function vA(F){const Q=F.file,H=M(s.value,F.element.xpath);if(r.uploadByFile)r.uploadByFile(Q,F.crop).then(K=>{K.success&&(H.attrs.src=K.file.url,H.rule.preview?H.attrs["data-preview"]=K.file.previewUrl||K.file.url:delete H.attrs["data-preview"],f.value=new Date().getTime().toString())});else{H.attrs.alt=Q.name;const K=URL.createObjectURL(Q);H.attrs.src=K,H.rule.preview?H.attrs["data-preview"]=K:delete H.attrs["data-preview"],f.value=new Date().getTime().toString()}}function XA(F){const{icon:Q}=F,H=M(s.value,F.element.xpath);let K=H.attrs.class.replace(/icon-\S+/g,`icon-${Q}`);H.attrs.class=K,f.value=new Date().getTime().toString()}const $A=F=>F.type.startsWith("image/")?!0:(j.error("只能上传图片文件"),!1),OA=c.ref({});function PA(F,Q){if(!F||F.length===0)return;const H=F[0],K={width:0,height:0};if(Q.rule&&(Q.rule.minImageWidth||Q.rule.maxImageHeight)){if(K.height=Number(Q.rule.maxImageHeight||0),K.width=Number(Q.rule.minImageWidth||0),Q.rule.minImageWidth&&H.width<Q.rule.minImageWidth){j.error(`图片宽度不能小于 ${Q.rule.minImageWidth}px`);return}if(Q.rule.maxImageHeight&&H.height<Q.rule.maxImageHeight){j.error(`图片高度不能小于 ${Q.rule.maxImageHeight}px`);return}}Q.rule.minImageWidth&&Q.rule.maxImageHeight?(OA.value.width=Q.rule.minImageWidth,OA.value.height=Q.rule.maxImageHeight,OA.value.aspectRatio=Q.rule.minImageWidth/Q.rule.maxImageHeight):OA.value={},H&&(Q.rule.crop?(H.thumbUrl,C.value.handleOpenCropper(OA.value,H.file,H.name,Q)):r.uploadByFile?r.uploadByFile(H.file,K).then($=>{$.success&&(Q.attrs.src=$.file.url,Q.rule.preview?Q.attrs["data-preview"]=$.file.previewUrl||$.file.url:delete Q.attrs["data-preview"],f.value=new Date().getTime().toString())}):(Q.attrs.src=H.thumbUrl,Q.rule.preview?Q.attrs["data-preview"]=H.url||H.thumbUrl:delete Q.attrs["data-preview"],f.value=new Date().getTime().toString()))}const KA=c.ref(r.previewWidth),I=c.ref(360);let _=c.ref(!1),rA=c.ref(""),J=0,wA=0;function Be(F){rA.value=F,_.value=!0,J=event.clientX,F==="preview"?wA=KA.value:F==="structure"&&(wA=I.value),window.addEventListener("mousemove",Mr),window.addEventListener("mouseup",Vt)}function Mr(F){if(!_.value)return;const Q=F.clientX-J;rA.value==="preview"?KA.value=Math.max(200,wA+Q):rA.value==="structure"&&(I.value=Math.max(200,wA-Q))}function Vt(){_.value=!1,rA.value="",window.removeEventListener("mousemove",Mr),window.removeEventListener("mouseup",Vt)}const Gt=c.ref(!1),ge=c.ref("");function Cs(){if(b.value){if(b.value&&b.value.rule&&b.value.rule.maxText&&ge.value.length>b.value.rule.maxText){j.error(`文本内容超出最大字数 ${b.value.rule.maxText} 个`);return}if(b.value&&b.value.rule&&b.value.rule.minText&&ge.value.length<b.value.rule.minText){j.error(`文本内容不能少于最小字数 ${b.value.rule.minText} 个`);return}f.value=new Date().getTime().toString(),b.value&&b.value.type===G.Text&&(b.value.text=ge.value,b.value.editText=ge.value),Gt.value=!1}}return e({generateCover:O}),(F,Q)=>(c.openBlock(),c.createElementBlock("div",rU,[F.preview?(c.openBlock(),c.createElementBlock("div",{key:0,class:"border-l overflow-auto resize-area",style:c.normalizeStyle({width:KA.value+"px"})},[F.showTitle?(c.openBlock(),c.createElementBlock("div",nU,[c.createElementVNode("h2",aU,[Q[6]||(Q[6]=c.createTextVNode(" 实时预览 ")),c.createElementVNode("span",iU,c.toDisplayString(KA.value)+"px",1)]),c.createElementVNode("div",{onClick:Q[0]||(Q[0]=()=>O()),class:"p-2 cursor-pointer text-blue-500"}," 封面 ")])):c.createCommentVNode("",!0),c.createElementVNode("div",null,[l.value?(c.openBlock(),c.createBlock(Zl,{key:0,"css-files":F.css,"js-files":F.js,"html-content":l.value,class:"gp-designer-preview",ref_key:"previewRef",ref:v,"theme-color":d.value},null,8,["css-files","js-files","html-content","theme-color"])):(c.openBlock(),c.createBlock(Zl,{key:1,"css-files":F.css,"js-files":F.js,"html-content":c.unref(u)("body").html(),class:"gp-designer-preview",ref_key:"previewRef",ref:v,"theme-color":d.value},null,8,["css-files","js-files","html-content","theme-color"]))])],4)):c.createCommentVNode("",!0),F.preview?(c.openBlock(),c.createElementBlock("div",{key:1,class:"resizer",onMousedown:Q[1]||(Q[1]=H=>Be("preview"))},null,32)):c.createCommentVNode("",!0),c.createElementVNode("div",sU,[F.showTitle?(c.openBlock(),c.createElementBlock("div",oU,[Q[8]||(Q[8]=c.createElementVNode("h2",{class:"text-lg font-bold"},"结构渲染",-1)),c.createElementVNode("div",uU,[c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":Q[2]||(Q[2]=H=>R.value=H),type:"checkbox",id:"showMargin",class:"mr-2"},null,512),[[c.vModelCheckbox,R.value]]),Q[7]||(Q[7]=c.createElementVNode("label",{for:"showMargin"},"间距",-1))])])):c.createCommentVNode("",!0),c.createElementVNode("div",cU,[s.value?(c.openBlock(),c.createBlock(Ip,{key:0,"upload-by-file":F.uploadByFile,cropper:C.value,icon:m.value,upload:T.value,mode:F.mode,icons:F.icons,r:f.value,"show-margin":R.value,element:s.value,selectedElement:b.value,hoveredElement:x.value,onSelectElement:E,onHoverElement:L,onContentUpdated:dA,onUpdateText:hA,onBlockAction:TA,onAddIcon:zA,onUpdateElementRule:oA},null,8,["upload-by-file","cropper","icon","upload","mode","icons","r","show-margin","element","selectedElement","hoveredElement"])):c.createCommentVNode("",!0)])]),h.value=="design"?(c.openBlock(),c.createElementBlock("div",{key:2,class:"resizer",onMousedown:Q[3]||(Q[3]=H=>Be("structure"))},null,32)):c.createCommentVNode("",!0),h.value=="design"?(c.openBlock(),c.createElementBlock("div",{key:3,class:"resize-area",style:c.normalizeStyle({width:I.value+"px"})},[c.createElementVNode("div",lU,[F.showTitle?(c.openBlock(),c.createElementBlock("h2",dU,[Q[9]||(Q[9]=c.createTextVNode(" 节点属性 ")),c.createElementVNode("span",fU,c.toDisplayString(I.value)+"px",1)])):c.createCommentVNode("",!0),c.createElementVNode("div",hU,[b.value?(c.openBlock(),c.createBlock(Zp,{key:0,element:b.value,onUpdateElement:z},null,8,["element"])):c.createCommentVNode("",!0)])])],4)):c.createCommentVNode("",!0),c.createVNode(um,{ref_key:"cropperRef",ref:C,onOk:vA},null,512),c.createVNode(mm,{icons:F.icons,ref_key:"iconRef",ref:m,onOk:XA},null,8,["icons"]),c.createVNode(ym,{ref_key:"uploadRef",ref:T,multiple:!1,show:!1,beforeUpload:$A,onChange:PA},{"upload-icon":c.withCtx(()=>Q[10]||(Q[10]=[c.createElementVNode("div",{class:"p-2"},"上传",-1)])),_:1},512),c.createVNode(ju,{title:"多行文本编辑",visible:Gt.value,"onUpdate:visible":Q[5]||(Q[5]=H=>Gt.value=H),onOk:Cs,"mask-closable":!1},{default:c.withCtx(()=>{var H;return[b.value?(c.openBlock(),c.createElementBlock("div",BU,[c.withDirectives(c.createElementVNode("textarea",{"onUpdate:modelValue":Q[4]||(Q[4]=K=>ge.value=K),class:"w-full h-full text-sm"},null,512),[[c.vModelText,ge.value]])])):c.createCommentVNode("",!0),b.value&&b.value.rule?(c.openBlock(),c.createElementBlock("div",gU,[c.createElementVNode("div",null,[c.createElementVNode("span",null,c.toDisplayString(((H=ge.value)==null?void 0:H.length)||0)+" 字",1),b.value.rule.minText&&b.value.rule.maxText?(c.openBlock(),c.createElementBlock("span",pU," / "+c.toDisplayString(b.value.rule.minText||0)+" ~ "+c.toDisplayString(b.value.rule.maxText||0)+" 字 ",1)):b.value.rule.minText?(c.openBlock(),c.createElementBlock("span",EU," / 最少 "+c.toDisplayString(b.value.rule.minText)+" 字",1)):b.value.rule.maxText?(c.openBlock(),c.createElementBlock("span",mU," / 最多 "+c.toDisplayString(b.value.rule.maxText)+" 字",1)):c.createCommentVNode("",!0)]),c.createElementVNode("div",null,[b.value.rule.maxText&&ge.value.length>b.value.rule.maxText?(c.openBlock(),c.createElementBlock("span",CU," 超出最大字数 "+c.toDisplayString(b.value.rule.maxText)+" 字 ",1)):b.value.rule.minText&&ge.value.length<b.value.rule.minText?(c.openBlock(),c.createElementBlock("span",wU," 不能少于最小字数 "+c.toDisplayString(b.value.rule.minText)+" 字 ",1)):c.createCommentVNode("",!0)])])):c.createCommentVNode("",!0)]}),_:1},8,["visible"])]))}}),[["__scopeId","data-v-245772e1"]]),bU={install(A){A.component("Designer",A0)}};De.Designer=A0,De.default=bU,Object.defineProperties(De,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
56
+ `))==null?void 0:P.replace(/<br \/>/g,`
57
+ `))==null?void 0:oA.replace(/<br \s*\/>/g,`
58
+ `))==null?void 0:dA.replace(/<br\s*\/>/g,`
59
+ `))==null?void 0:_A.replace(/&nbsp;/g," "))==null?void 0:fA.replace(/&lt;/g,"<"))==null?void 0:XA.replace(/&gt;/g,">"))==null?void 0:$.replace(/&amp;/g,"&"))==null?void 0:oe.replace(/&quot;/g,'"'))==null?void 0:WA.replace(/&apos;/g,"'"))}function iA(Q,F=""){if(F){const H=AA(s.value,F);H?x.value=H:x.value=Q}else x.value=Q}function AA(Q,F){if(Q.xpath===F)return Q;if(Q.children&&Q.children.length)for(const H of Q.children){const P=AA(H,F);if(P)return P}}function q(Q,F){var H,P;return Q.tag===F.tag&&((H=Q.children)==null?void 0:H.length)===((P=F.children)==null?void 0:P.length)}function nA(Q){if(b.value.xpath==Q.xpath){if(b.value){if(Q.type===G.Block){var F=!0;const H=AA(s.value,b.value.parentxpath||"");if(H&&H.children&&H.children.forEach(P=>{if(P.tag!=b.value.tag||!q(P,b.value)){F=!1;return}}),!F){j.error("同级结构不一致,错误配置!");return}}if(b.value.rule=Q.rule,b.value.type=Q.type,b.value.type===G.Block){const H=AA(s.value,b.value.parentxpath||"");H&&H.children&&(H.children.forEach(P=>{if(P.tag!=b.value.tag||!q(P,b.value)){j.error("同级结构不一致,无法配置为块类型");return}}),H.children.forEach(P=>{P.tag===b.value.tag&&(P.rule=Q.rule,P.type=Q.type)}))}}f.value=new Date().getTime().toString(),j.success("保存成功"),n("update:element",s.value)}}function hA(Q){const F=AA(s.value,Q.xpath||"");F&&(F.rule=Q.rule,F.type=Q.type,F.children&&Q.children&&F.children.forEach(H=>{const P=Q.children.find(oA=>oA.xpath===H.xpath);P&&(H.rule=P.rule,H.type=P.type)})),j.success("操作成功"),f.value=new Date().getTime().toString(),n("update:element",s.value)}function gA(Q){l.value=Q}function wA(Q){u=Cu(Q);const F=u("body").children().toArray().map(P=>YA(u(P)));l.value=u("body").html()||"";const H=F[0];if(H){let P=function(dA,_A,fA){var oe;const XA=dA.xpath.replace(_A.xpath,fA.xpath),$=(oe=a.value)==null?void 0:oe.find(WA=>WA.xpath===XA);$&&(dA.rule=$.rule,dA.type=$.type),dA.children&&dA.children.length>0&&dA.children.forEach(WA=>{P(WA,_A,fA)})},oA=function(dA){if(dA.children&&dA.children.length>0){const _A=dA.children.find(fA=>fA.type===G.Block);_A&&dA.children.forEach(fA=>{var XA,$,oe;fA.tag===_A.tag&&(fA.rule=_A.rule,fA.type=_A.type,fA.attrs.class=(oe=($=(XA=fA.attrs)==null?void 0:XA.class)==null?void 0:$.replace(/pc:basis-\d\/\d/g,""))==null?void 0:oe.replace(/basis-\d\/\d/g,""),fA.children&&fA.children.length>0&&fA.children.forEach(WA=>{P(WA,fA,_A)}))}),dA.children.forEach(fA=>{oA(fA)})}};oA(H)}if(document&&document.documentElement){const P=getComputedStyle(document.documentElement).getPropertyValue("--main-color"),oA=getComputedStyle(document.documentElement).getPropertyValue("--gp-designer-theme-color");d.value=oA||P}return H}function YA(Q,F=""){var fA,XA;function H($){if(!$||!$[0])return"";const oe=[];let WA=$;for(;WA.length&&WA[0].tagName!=="html";){const i0=WA[0].tagName,IU=WA.parent().children(i0).index(WA)+1;oe.unshift(`${i0}[${IU}]`),WA=WA.parent()}return"/html/"+oe.join("/")}const P=H(Q).replace("/html/body[1]",""),oA=Q.children().toArray().map($=>YA(u($),P)).filter($=>$.tag!=="br");let dA=(fA=a.value)==null?void 0:fA.find($=>$.xpath===P),_A=Q.contents().not(Q.children()).text().trim();return dA&&((XA=dA.rule)!=null&&XA.allowWrap)&&(_A=Q.html()),{tag:Q[0].tagName,text:_A,attrs:Q[0].attribs,children:oA,xpath:P,parentxpath:F,type:(dA==null?void 0:dA.type)||G.None,rule:(dA==null?void 0:dA.rule)||{}}}function vA(Q){const F=AA(s.value,Q.element.xpath);if(F){const H=c.toRaw(F);H.editText=Q.newText}}function kA(Q,F=""){function H(P,oA){var fA;const _A=(oA?((fA=AA(s.value,oA))==null?void 0:fA.children)||[]:[s.value]).filter(XA=>XA.tag===P.tag).indexOf(P)+1;return`${oA}/${P.tag}[${_A}]`}Q.xpath=H(Q,F),Q.parentxpath=F,(Q.children||[]).forEach(P=>kA(P,Q.xpath))}function jA({action:Q,element:F,newBlock:H}){const P=AA(s.value,F.parentxpath||"");if(!P||!P.children)return;const oA=P.children.findIndex($=>$===F);if(oA===-1){j.error("未找到元素");return}const dA=P.children.length,{minBlock:_A,maxBlock:fA}=F.rule;if((Q==="add"||Q==="copy")&&dA>=(fA||1/0)){D.value=`无法添加更多块。最大块数量为 ${fA}`,j.error(D.value);return}function XA($){$.xpath="",$.parentxpath="",$.text=$.editText||$.text,$.editText="",$.children.forEach(oe=>{XA(oe)})}switch(Q){case"add":if(H){const $={...H,children:JSON.parse(JSON.stringify(H.children))};XA($),P.children.splice(oA+1,0,$),j.success("添加成功")}break;case"copy":if(H){const $={...H,children:JSON.parse(JSON.stringify(H.children))};XA($),P.children.splice(oA+1,0,$),j.success("复制成功")}break;case"moveUp":if(oA>0){const[$]=P.children.splice(oA,1);P.children.splice(oA-1,0,$),j.success("前移成功")}else j.error("已经是第一个块,无法前移");break;case"moveDown":if(oA<P.children.length-1){const[$]=P.children.splice(oA,1);P.children.splice(oA+1,0,$),j.success("后移成功")}else j.error("已经是最后一个块,无法后移");break;case"delete":if(dA<=(_A||0)){D.value=`无法删除更多块。最小块数量为 ${_A}`,j.error(D.value);return}P.children.splice(oA,1),j.success("删除成功");break}D.value="",kA(s.value)}function re(Q,F){let H=F.attrs.class.replace(/icon-\S+/g,`icon-${Q}`);F.attrs.class=H}function PA(Q){const F=Q.file,H=AA(s.value,Q.element.xpath);if(r.uploadByFile)r.uploadByFile(F,Q.crop).then(P=>{P.success&&(H.attrs.src=P.file.url,H.rule.preview?H.attrs["data-preview"]=P.file.previewUrl||P.file.url:delete H.attrs["data-preview"],f.value=new Date().getTime().toString())});else{H.attrs.alt=F.name;const P=URL.createObjectURL(F);H.attrs.src=P,H.rule.preview?H.attrs["data-preview"]=P:delete H.attrs["data-preview"],f.value=new Date().getTime().toString()}}function ne(Q){const{icon:F}=Q,H=AA(s.value,Q.element.xpath);let P=H.attrs.class.replace(/icon-\S+/g,`icon-${F}`);H.attrs.class=P,f.value=new Date().getTime().toString()}const y=Q=>Q.type.startsWith("image/")?!0:(j.error("只能上传图片文件"),!1),_=c.ref({});function sA(Q,F){if(!Q||Q.length===0)return;const H=Q[0],P={width:0,height:0};if(F.rule&&(F.rule.minImageWidth||F.rule.maxImageHeight)){if(P.height=Number(F.rule.maxImageHeight||0),P.width=Number(F.rule.minImageWidth||0),F.rule.minImageWidth&&H.width<F.rule.minImageWidth){j.error(`图片宽度不能小于 ${F.rule.minImageWidth}px`);return}if(F.rule.maxImageHeight&&H.height<F.rule.maxImageHeight){j.error(`图片高度不能小于 ${F.rule.maxImageHeight}px`);return}}F.rule.minImageWidth&&F.rule.maxImageHeight?(_.value.width=F.rule.minImageWidth,_.value.height=F.rule.maxImageHeight,_.value.aspectRatio=F.rule.minImageWidth/F.rule.maxImageHeight):_.value={},H&&(F.rule.crop?(H.thumbUrl,C.value.handleOpenCropper(_.value,H.file,H.name,F)):r.uploadByFile?r.uploadByFile(H.file,P).then(oA=>{oA.success&&(F.attrs.src=oA.file.url,F.rule.preview?F.attrs["data-preview"]=oA.file.previewUrl||oA.file.url:delete F.attrs["data-preview"],f.value=new Date().getTime().toString())}):(F.attrs.src=H.thumbUrl,F.rule.preview?F.attrs["data-preview"]=H.url||H.thumbUrl:delete F.attrs["data-preview"],f.value=new Date().getTime().toString()))}const J=c.ref(r.previewWidth),bA=c.ref(360);let se=c.ref(!1),Et=c.ref(""),Yt=0,Xt=0;function ha(Q){Et.value=Q,se.value=!0,Yt=event.clientX,Q==="preview"?Xt=J.value:Q==="structure"&&(Xt=bA.value),window.addEventListener("mousemove",Ba),window.addEventListener("mouseup",ga)}function Ba(Q){if(!se.value)return;const F=Q.clientX-Yt;Et.value==="preview"?J.value=Math.max(200,Xt+F):Et.value==="structure"&&(bA.value=Math.max(200,Xt-F))}function ga(){se.value=!1,Et.value="",window.removeEventListener("mousemove",Ba),window.removeEventListener("mouseup",ga)}const tt=c.ref(!1),Ce=c.ref("");function pa(){if(b.value){if(b.value&&b.value.rule&&b.value.rule.maxText&&Ce.value.length>b.value.rule.maxText){j.error(`文本内容超出最大字数 ${b.value.rule.maxText} 个`);return}if(b.value&&b.value.rule&&b.value.rule.minText&&Ce.value.length<b.value.rule.minText){j.error(`文本内容不能少于最小字数 ${b.value.rule.minText} 个`);return}f.value=new Date().getTime().toString(),b.value&&b.value.type===G.Text&&(b.value.text=Ce.value,b.value.editText=Ce.value),tt.value=!1}}return e({generateCover:O,handleCreateCoverPc:k}),(Q,F)=>(c.openBlock(),c.createElementBlock("div",sU,[Q.preview?(c.openBlock(),c.createElementBlock("div",{key:0,class:"border-l overflow-auto resize-area",style:c.normalizeStyle({width:J.value+"px"})},[Q.showTitle?(c.openBlock(),c.createElementBlock("div",oU,[c.createElementVNode("h2",uU,[F[7]||(F[7]=c.createTextVNode(" 实时预览 ")),c.createElementVNode("span",cU,c.toDisplayString(J.value)+"px",1)]),c.createElementVNode("div",{onClick:F[0]||(F[0]=()=>O()),class:"p-2 cursor-pointer text-blue-500"}," 封面 ")])):c.createCommentVNode("",!0),c.createElementVNode("div",null,[l.value?(c.openBlock(),c.createBlock(n0,{key:0,"css-files":Q.css,"js-files":Q.js,"html-content":l.value,class:"gp-designer-preview",ref_key:"previewRef",ref:v,"theme-color":d.value},null,8,["css-files","js-files","html-content","theme-color"])):(c.openBlock(),c.createBlock(n0,{key:1,"css-files":Q.css,"js-files":Q.js,"html-content":c.unref(u)("body").html(),class:"gp-designer-preview",ref_key:"previewRef",ref:v,"theme-color":d.value},null,8,["css-files","js-files","html-content","theme-color"]))])],4)):c.createCommentVNode("",!0),Q.preview?(c.openBlock(),c.createElementBlock("div",{key:1,class:"resizer",onMousedown:F[1]||(F[1]=H=>ha("preview"))},null,32)):c.createCommentVNode("",!0),c.createElementVNode("div",lU,[Q.showTitle?(c.openBlock(),c.createElementBlock("div",dU,[F[9]||(F[9]=c.createElementVNode("h2",{class:"text-lg font-bold"},"结构渲染",-1)),c.createElementVNode("div",fU,[c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":F[2]||(F[2]=H=>R.value=H),type:"checkbox",id:"showMargin",class:"mr-2"},null,512),[[c.vModelCheckbox,R.value]]),F[8]||(F[8]=c.createElementVNode("label",{for:"showMargin"},"间距",-1))]),c.createElementVNode("div",{onClick:F[3]||(F[3]=H=>m.value=!0)},"封面")])):c.createCommentVNode("",!0),c.createElementVNode("div",hU,[s.value?(c.openBlock(),c.createBlock(Np,{key:0,"upload-by-file":Q.uploadByFile,cropper:C.value,icon:E.value,upload:T.value,mode:Q.mode,icons:Q.icons,r:f.value,isCover:m.value,"show-margin":R.value,element:s.value,selectedElement:b.value,hoveredElement:x.value,onSelectElement:z,onHoverElement:iA,onContentUpdated:gA,onUpdateText:vA,onBlockAction:jA,onAddIcon:re,onUpdateElementRule:hA,onGetCoverHtml:V},null,8,["upload-by-file","cropper","icon","upload","mode","icons","r","isCover","show-margin","element","selectedElement","hoveredElement"])):c.createCommentVNode("",!0)])]),h.value=="design"?(c.openBlock(),c.createElementBlock("div",{key:2,class:"resizer",onMousedown:F[4]||(F[4]=H=>ha("structure"))},null,32)):c.createCommentVNode("",!0),h.value=="design"?(c.openBlock(),c.createElementBlock("div",{key:3,class:"resize-area",style:c.normalizeStyle({width:bA.value+"px"})},[c.createElementVNode("div",BU,[Q.showTitle?(c.openBlock(),c.createElementBlock("h2",gU,[F[10]||(F[10]=c.createTextVNode(" 节点属性 ")),c.createElementVNode("span",pU,c.toDisplayString(bA.value)+"px",1)])):c.createCommentVNode("",!0),c.createElementVNode("div",mU,[b.value?(c.openBlock(),c.createBlock(nm,{key:0,element:b.value,onUpdateElement:nA},null,8,["element"])):c.createCommentVNode("",!0)])])],4)):c.createCommentVNode("",!0),c.createVNode(hE,{ref_key:"cropperRef",ref:C,onOk:PA},null,512),c.createVNode(UE,{icons:Q.icons,ref_key:"iconRef",ref:E,onOk:ne},null,8,["icons"]),c.createVNode(SE,{ref_key:"uploadRef",ref:T,multiple:!1,show:!1,beforeUpload:y,onChange:sA},{"upload-icon":c.withCtx(()=>F[11]||(F[11]=[c.createElementVNode("div",{class:"p-2"},"上传",-1)])),_:1},512),c.createVNode(Ac,{title:"多行文本编辑",visible:tt.value,"onUpdate:visible":F[6]||(F[6]=H=>tt.value=H),onOk:pa,"mask-closable":!1},{default:c.withCtx(()=>{var H;return[b.value?(c.openBlock(),c.createElementBlock("div",EU,[c.withDirectives(c.createElementVNode("textarea",{"onUpdate:modelValue":F[5]||(F[5]=P=>Ce.value=P),class:"w-full h-full text-sm"},null,512),[[c.vModelText,Ce.value]])])):c.createCommentVNode("",!0),b.value&&b.value.rule?(c.openBlock(),c.createElementBlock("div",CU,[c.createElementVNode("div",null,[c.createElementVNode("span",null,c.toDisplayString(((H=Ce.value)==null?void 0:H.length)||0)+" 字",1),b.value.rule.minText&&b.value.rule.maxText?(c.openBlock(),c.createElementBlock("span",wU," / "+c.toDisplayString(b.value.rule.minText||0)+" ~ "+c.toDisplayString(b.value.rule.maxText||0)+" 字 ",1)):b.value.rule.minText?(c.openBlock(),c.createElementBlock("span",bU," / 最少 "+c.toDisplayString(b.value.rule.minText)+" 字",1)):b.value.rule.maxText?(c.openBlock(),c.createElementBlock("span",TU," / 最多 "+c.toDisplayString(b.value.rule.maxText)+" 字",1)):c.createCommentVNode("",!0)]),c.createElementVNode("div",null,[b.value.rule.maxText&&Ce.value.length>b.value.rule.maxText?(c.openBlock(),c.createElementBlock("span",UU," 超出最大字数 "+c.toDisplayString(b.value.rule.maxText)+" 字 ",1)):b.value.rule.minText&&Ce.value.length<b.value.rule.minText?(c.openBlock(),c.createElementBlock("span",QU," 不能少于最小字数 "+c.toDisplayString(b.value.rule.minText)+" 字 ",1)):c.createCommentVNode("",!0)])])):c.createCommentVNode("",!0)]}),_:1},8,["visible"])]))}}),[["__scopeId","data-v-07b485d7"]]),FU={install(A){A.component("Designer",a0)}};De.Designer=a0,De.default=FU,Object.defineProperties(De,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});