mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 22:46:49 +01:00
* Custom Forms: Allow HTML in labels and help text Fixes #5003. * Vue: Sanitize labels and helper text input * Form editor: Fix blur on input for select option values --------- Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
52 lines
147 KiB
JavaScript
52 lines
147 KiB
JavaScript
/**
|
||
* Skipped minification because the original files appears to be already minified.
|
||
* Original file: /npm/vue-sanitize-directive@0.2.1/dist/vue-sanitize-directive.umd.js
|
||
*
|
||
* Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
|
||
*/
|
||
(function(Z,y){typeof exports=="object"&&typeof module<"u"?y(exports):typeof define=="function"&&define.amd?define(["exports"],y):(Z=typeof globalThis<"u"?globalThis:Z||self,y(Z.VueSanitizeDirective={}))})(this,function(Z){"use strict";var y=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function qr(r){var t=r.default;if(typeof t=="function"){var e=function(){return t.apply(this,arguments)};e.prototype=t.prototype}else e={};return Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(r).forEach(function(s){var n=Object.getOwnPropertyDescriptor(r,s);Object.defineProperty(e,s,n.get?n:{enumerable:!0,get:function(){return r[s]}})}),e}var Er={},Dt={},Wt={},Yt={};const Cn={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};var Dn=y&&y.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Yt,"__esModule",{value:!0});var Tr=Dn(Cn),Ln=String.fromCodePoint||function(r){var t="";return r>65535&&(r-=65536,t+=String.fromCharCode(r>>>10&1023|55296),r=56320|r&1023),t+=String.fromCharCode(r),t};function On(r){return r>=55296&&r<=57343||r>1114111?"<22>":(r in Tr.default&&(r=Tr.default[r]),Ln(r))}Yt.default=On;const De={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
|
||
`,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""},_r={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",amp:"&",AMP:"&",Aring:"Å",aring:"å",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",iquest:"¿",Iuml:"Ï",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ò",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ"},Le={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'};var Jt=y&&y.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Wt,"__esModule",{value:!0});var Nn=Jt(Yt),kn=Jt(De),Oe=Jt(_r),$n=Jt(Le);function z(r){return r===" "||r===`
|
||
`||r===" "||r==="\f"||r==="\r"}function Ar(r){return r>="a"&&r<="z"||r>="A"&&r<="Z"}function k(r,t,e){var s=r.toLowerCase();return r===s?function(n,o){o===s?n._state=t:(n._state=e,n._index--)}:function(n,o){o===s||o===r?n._state=t:(n._state=e,n._index--)}}function K(r,t){var e=r.toLowerCase();return function(s,n){n===e||n===r?s._state=t:(s._state=3,s._index--)}}var Rn=k("C",24,16),Pn=k("D",25,16),In=k("A",26,16),Mn=k("T",27,16),Bn=k("A",28,16),Un=K("R",35),jn=K("I",36),Vn=K("P",37),Hn=K("T",38),zn=k("R",40,1),Fn=k("I",41,1),Gn=k("P",42,1),Wn=k("T",43,1),Yn=K("Y",45),Jn=K("L",46),Xn=K("E",47),Zn=k("Y",49,1),Qn=k("L",50,1),Kn=k("E",51,1),to=K("I",54),eo=K("T",55),ro=K("L",56),so=K("E",57),no=k("I",58,1),oo=k("T",59,1),io=k("L",60,1),ao=k("E",61,1),co=k("#",63,64),lo=k("X",66,65),uo=function(){function r(t,e){var s;this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.special=1,this.running=!0,this.ended=!1,this.cbs=e,this.xmlMode=!!t?.xmlMode,this.decodeEntities=(s=t?.decodeEntities)!==null&&s!==void 0?s:!0}return r.prototype.reset=function(){this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.special=1,this.running=!0,this.ended=!1},r.prototype.write=function(t){this.ended&&this.cbs.onerror(Error(".write() after done!")),this.buffer+=t,this.parse()},r.prototype.end=function(t){this.ended&&this.cbs.onerror(Error(".end() after done!")),t&&this.write(t),this.ended=!0,this.running&&this.finish()},r.prototype.pause=function(){this.running=!1},r.prototype.resume=function(){this.running=!0,this._index<this.buffer.length&&this.parse(),this.ended&&this.finish()},r.prototype.getAbsoluteIndex=function(){return this.bufferOffset+this._index},r.prototype.stateText=function(t){t==="<"?(this._index>this.sectionStart&&this.cbs.ontext(this.getSection()),this._state=2,this.sectionStart=this._index):this.decodeEntities&&t==="&"&&(this.special===1||this.special===4)&&(this._index>this.sectionStart&&this.cbs.ontext(this.getSection()),this.baseState=1,this._state=62,this.sectionStart=this._index)},r.prototype.isTagStartChar=function(t){return Ar(t)||this.xmlMode&&!z(t)&&t!=="/"&&t!==">"},r.prototype.stateBeforeTagName=function(t){t==="/"?this._state=5:t==="<"?(this.cbs.ontext(this.getSection()),this.sectionStart=this._index):t===">"||this.special!==1||z(t)?this._state=1:t==="!"?(this._state=15,this.sectionStart=this._index+1):t==="?"?(this._state=17,this.sectionStart=this._index+1):this.isTagStartChar(t)?(this._state=!this.xmlMode&&(t==="s"||t==="S")?32:!this.xmlMode&&(t==="t"||t==="T")?52:3,this.sectionStart=this._index):this._state=1},r.prototype.stateInTagName=function(t){(t==="/"||t===">"||z(t))&&(this.emitToken("onopentagname"),this._state=8,this._index--)},r.prototype.stateBeforeClosingTagName=function(t){z(t)||(t===">"?this._state=1:this.special!==1?this.special!==4&&(t==="s"||t==="S")?this._state=33:this.special===4&&(t==="t"||t==="T")?this._state=53:(this._state=1,this._index--):this.isTagStartChar(t)?(this._state=6,this.sectionStart=this._index):(this._state=20,this.sectionStart=this._index))},r.prototype.stateInClosingTagName=function(t){(t===">"||z(t))&&(this.emitToken("onclosetag"),this._state=7,this._index--)},r.prototype.stateAfterClosingTagName=function(t){t===">"&&(this._state=1,this.sectionStart=this._index+1)},r.prototype.stateBeforeAttributeName=function(t){t===">"?(this.cbs.onopentagend(),this._state=1,this.sectionStart=this._index+1):t==="/"?this._state=4:z(t)||(this._state=9,this.sectionStart=this._index)},r.prototype.stateInSelfClosingTag=function(t){t===">"?(this.cbs.onselfclosingtag(),this._state=1,this.sectionStart=this._index+1,this.special=1):z(t)||(this._state=8,this._index--)},r.prototype.stateInAttributeName=function(t){(t==="="||t==="/"||t===">"||z(t))&&(this.cbs.onattribname(this.getSection()),this.sectionStart=-1,this._state=10,this._index--)},r.prototype.stateAfterAttributeName=function(t){t==="="?this._state=11:t==="/"||t===">"?(this.cbs.onattribend(void 0),this._state=8,this._index--):z(t)||(this.cbs.onattribend(void 0),this._state=9,this.sectionStart=this._index)},r.prototype.stateBeforeAttributeValue=function(t){t==='"'?(this._state=12,this.sectionStart=this._index+1):t==="'"?(this._state=13,this.sectionStart=this._index+1):z(t)||(this._state=14,this.sectionStart=this._index,this._index--)},r.prototype.handleInAttributeValue=function(t,e){t===e?(this.emitToken("onattribdata"),this.cbs.onattribend(e),this._state=8):this.decodeEntities&&t==="&"&&(this.emitToken("onattribdata"),this.baseState=this._state,this._state=62,this.sectionStart=this._index)},r.prototype.stateInAttributeValueDoubleQuotes=function(t){this.handleInAttributeValue(t,'"')},r.prototype.stateInAttributeValueSingleQuotes=function(t){this.handleInAttributeValue(t,"'")},r.prototype.stateInAttributeValueNoQuotes=function(t){z(t)||t===">"?(this.emitToken("onattribdata"),this.cbs.onattribend(null),this._state=8,this._index--):this.decodeEntities&&t==="&"&&(this.emitToken("onattribdata"),this.baseState=this._state,this._state=62,this.sectionStart=this._index)},r.prototype.stateBeforeDeclaration=function(t){this._state=t==="["?23:t==="-"?18:16},r.prototype.stateInDeclaration=function(t){t===">"&&(this.cbs.ondeclaration(this.getSection()),this._state=1,this.sectionStart=this._index+1)},r.prototype.stateInProcessingInstruction=function(t){t===">"&&(this.cbs.onprocessinginstruction(this.getSection()),this._state=1,this.sectionStart=this._index+1)},r.prototype.stateBeforeComment=function(t){t==="-"?(this._state=19,this.sectionStart=this._index+1):this._state=16},r.prototype.stateInComment=function(t){t==="-"&&(this._state=21)},r.prototype.stateInSpecialComment=function(t){t===">"&&(this.cbs.oncomment(this.buffer.substring(this.sectionStart,this._index)),this._state=1,this.sectionStart=this._index+1)},r.prototype.stateAfterComment1=function(t){t==="-"?this._state=22:this._state=19},r.prototype.stateAfterComment2=function(t){t===">"?(this.cbs.oncomment(this.buffer.substring(this.sectionStart,this._index-2)),this._state=1,this.sectionStart=this._index+1):t!=="-"&&(this._state=19)},r.prototype.stateBeforeCdata6=function(t){t==="["?(this._state=29,this.sectionStart=this._index+1):(this._state=16,this._index--)},r.prototype.stateInCdata=function(t){t==="]"&&(this._state=30)},r.prototype.stateAfterCdata1=function(t){t==="]"?this._state=31:this._state=29},r.prototype.stateAfterCdata2=function(t){t===">"?(this.cbs.oncdata(this.buffer.substring(this.sectionStart,this._index-2)),this._state=1,this.sectionStart=this._index+1):t!=="]"&&(this._state=29)},r.prototype.stateBeforeSpecialS=function(t){t==="c"||t==="C"?this._state=34:t==="t"||t==="T"?this._state=44:(this._state=3,this._index--)},r.prototype.stateBeforeSpecialSEnd=function(t){this.special===2&&(t==="c"||t==="C")?this._state=39:this.special===3&&(t==="t"||t==="T")?this._state=48:this._state=1},r.prototype.stateBeforeSpecialLast=function(t,e){(t==="/"||t===">"||z(t))&&(this.special=e),this._state=3,this._index--},r.prototype.stateAfterSpecialLast=function(t,e){t===">"||z(t)?(this.special=1,this._state=6,this.sectionStart=this._index-e,this._index--):this._state=1},r.prototype.parseFixedEntity=function(t){if(t===void 0&&(t=this.xmlMode?$n.default:kn.default),this.sectionStart+1<this._index){var e=this.buffer.substring(this.sectionStart+1,this._index);Object.prototype.hasOwnProperty.call(t,e)&&(this.emitPartial(t[e]),this.sectionStart=this._index+1)}},r.prototype.parseLegacyEntity=function(){for(var t=this.sectionStart+1,e=Math.min(this._index-t,6);e>=2;){var s=this.buffer.substr(t,e);if(Object.prototype.hasOwnProperty.call(Oe.default,s)){this.emitPartial(Oe.default[s]),this.sectionStart+=e+1;return}e--}},r.prototype.stateInNamedEntity=function(t){t===";"?(this.parseFixedEntity(),this.baseState===1&&this.sectionStart+1<this._index&&!this.xmlMode&&this.parseLegacyEntity(),this._state=this.baseState):(t<"0"||t>"9")&&!Ar(t)&&(this.xmlMode||this.sectionStart+1===this._index||(this.baseState!==1?t!=="="&&this.parseFixedEntity(Oe.default):this.parseLegacyEntity()),this._state=this.baseState,this._index--)},r.prototype.decodeNumericEntity=function(t,e,s){var n=this.sectionStart+t;if(n!==this._index){var o=this.buffer.substring(n,this._index),i=parseInt(o,e);this.emitPartial(Nn.default(i)),this.sectionStart=s?this._index+1:this._index}this._state=this.baseState},r.prototype.stateInNumericEntity=function(t){t===";"?this.decodeNumericEntity(2,10,!0):(t<"0"||t>"9")&&(this.xmlMode?this._state=this.baseState:this.decodeNumericEntity(2,10,!1),this._index--)},r.prototype.stateInHexEntity=function(t){t===";"?this.decodeNumericEntity(3,16,!0):(t<"a"||t>"f")&&(t<"A"||t>"F")&&(t<"0"||t>"9")&&(this.xmlMode?this._state=this.baseState:this.decodeNumericEntity(3,16,!1),this._index--)},r.prototype.cleanup=function(){this.sectionStart<0?(this.buffer="",this.bufferOffset+=this._index,this._index=0):this.running&&(this._state===1?(this.sectionStart!==this._index&&this.cbs.ontext(this.buffer.substr(this.sectionStart)),this.buffer="",this.bufferOffset+=this._index,this._index=0):this.sectionStart===this._index?(this.buffer="",this.bufferOffset+=this._index,this._index=0):(this.buffer=this.buffer.substr(this.sectionStart),this._index-=this.sectionStart,this.bufferOffset+=this.sectionStart),this.sectionStart=0)},r.prototype.parse=function(){for(;this._index<this.buffer.length&&this.running;){var t=this.buffer.charAt(this._index);this._state===1?this.stateText(t):this._state===12?this.stateInAttributeValueDoubleQuotes(t):this._state===9?this.stateInAttributeName(t):this._state===19?this.stateInComment(t):this._state===20?this.stateInSpecialComment(t):this._state===8?this.stateBeforeAttributeName(t):this._state===3?this.stateInTagName(t):this._state===6?this.stateInClosingTagName(t):this._state===2?this.stateBeforeTagName(t):this._state===10?this.stateAfterAttributeName(t):this._state===13?this.stateInAttributeValueSingleQuotes(t):this._state===11?this.stateBeforeAttributeValue(t):this._state===5?this.stateBeforeClosingTagName(t):this._state===7?this.stateAfterClosingTagName(t):this._state===32?this.stateBeforeSpecialS(t):this._state===21?this.stateAfterComment1(t):this._state===14?this.stateInAttributeValueNoQuotes(t):this._state===4?this.stateInSelfClosingTag(t):this._state===16?this.stateInDeclaration(t):this._state===15?this.stateBeforeDeclaration(t):this._state===22?this.stateAfterComment2(t):this._state===18?this.stateBeforeComment(t):this._state===33?this.stateBeforeSpecialSEnd(t):this._state===53?no(this,t):this._state===39?zn(this,t):this._state===40?Fn(this,t):this._state===41?Gn(this,t):this._state===34?Un(this,t):this._state===35?jn(this,t):this._state===36?Vn(this,t):this._state===37?Hn(this,t):this._state===38?this.stateBeforeSpecialLast(t,2):this._state===42?Wn(this,t):this._state===43?this.stateAfterSpecialLast(t,6):this._state===44?Yn(this,t):this._state===29?this.stateInCdata(t):this._state===45?Jn(this,t):this._state===46?Xn(this,t):this._state===47?this.stateBeforeSpecialLast(t,3):this._state===48?Zn(this,t):this._state===49?Qn(this,t):this._state===50?Kn(this,t):this._state===51?this.stateAfterSpecialLast(t,5):this._state===52?to(this,t):this._state===54?eo(this,t):this._state===55?ro(this,t):this._state===56?so(this,t):this._state===57?this.stateBeforeSpecialLast(t,4):this._state===58?oo(this,t):this._state===59?io(this,t):this._state===60?ao(this,t):this._state===61?this.stateAfterSpecialLast(t,5):this._state===17?this.stateInProcessingInstruction(t):this._state===64?this.stateInNamedEntity(t):this._state===23?Rn(this,t):this._state===62?co(this,t):this._state===24?Pn(this,t):this._state===25?In(this,t):this._state===30?this.stateAfterCdata1(t):this._state===31?this.stateAfterCdata2(t):this._state===26?Mn(this,t):this._state===27?Bn(this,t):this._state===28?this.stateBeforeCdata6(t):this._state===66?this.stateInHexEntity(t):this._state===65?this.stateInNumericEntity(t):this._state===63?lo(this,t):this.cbs.onerror(Error("unknown _state"),this._state),this._index++}this.cleanup()},r.prototype.finish=function(){this.sectionStart<this._index&&this.handleTrailingData(),this.cbs.onend()},r.prototype.handleTrailingData=function(){var t=this.buffer.substr(this.sectionStart);this._state===29||this._state===30||this._state===31?this.cbs.oncdata(t):this._state===19||this._state===21||this._state===22?this.cbs.oncomment(t):this._state===64&&!this.xmlMode?(this.parseLegacyEntity(),this.sectionStart<this._index&&(this._state=this.baseState,this.handleTrailingData())):this._state===65&&!this.xmlMode?(this.decodeNumericEntity(2,10,!1),this.sectionStart<this._index&&(this._state=this.baseState,this.handleTrailingData())):this._state===66&&!this.xmlMode?(this.decodeNumericEntity(3,16,!1),this.sectionStart<this._index&&(this._state=this.baseState,this.handleTrailingData())):this._state!==3&&this._state!==8&&this._state!==11&&this._state!==10&&this._state!==9&&this._state!==13&&this._state!==12&&this._state!==14&&this._state!==6&&this.cbs.ontext(t)},r.prototype.getSection=function(){return this.buffer.substring(this.sectionStart,this._index)},r.prototype.emitToken=function(t){this.cbs[t](this.getSection()),this.sectionStart=-1},r.prototype.emitPartial=function(t){this.baseState!==1?this.cbs.onattribdata(t):this.cbs.ontext(t)},r}();Wt.default=uo;var fo=y&&y.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Dt,"__esModule",{value:!0}),Dt.Parser=void 0;var po=fo(Wt),St=new Set(["input","option","optgroup","select","button","datalist","textarea"]),_=new Set(["p"]),Cr={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:_,h1:_,h2:_,h3:_,h4:_,h5:_,h6:_,select:St,input:St,output:St,button:St,datalist:St,textarea:St,option:new Set(["option"]),optgroup:new Set(["optgroup","option"]),dd:new Set(["dt","dd"]),dt:new Set(["dt","dd"]),address:_,article:_,aside:_,blockquote:_,details:_,div:_,dl:_,fieldset:_,figcaption:_,figure:_,footer:_,form:_,header:_,hr:_,main:_,nav:_,ol:_,pre:_,section:_,table:_,ul:_,rt:new Set(["rt","rp"]),rp:new Set(["rt","rp"]),tbody:new Set(["thead","tbody"]),tfoot:new Set(["thead","tbody"])},Ne=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),Dr=new Set(["math","svg"]),Lr=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),ho=/\s|\//,go=function(){function r(t,e){e===void 0&&(e={});var s,n,o,i,a;this.startIndex=0,this.endIndex=null,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.options=e,this.cbs=t??{},this.lowerCaseTagNames=(s=e.lowerCaseTags)!==null&&s!==void 0?s:!e.xmlMode,this.lowerCaseAttributeNames=(n=e.lowerCaseAttributeNames)!==null&&n!==void 0?n:!e.xmlMode,this.tokenizer=new((o=e.Tokenizer)!==null&&o!==void 0?o:po.default)(this.options,this),(a=(i=this.cbs).onparserinit)===null||a===void 0||a.call(i,this)}return r.prototype.updatePosition=function(t){this.endIndex===null?this.tokenizer.sectionStart<=t?this.startIndex=0:this.startIndex=this.tokenizer.sectionStart-t:this.startIndex=this.endIndex+1,this.endIndex=this.tokenizer.getAbsoluteIndex()},r.prototype.ontext=function(t){var e,s;this.updatePosition(1),this.endIndex--,(s=(e=this.cbs).ontext)===null||s===void 0||s.call(e,t)},r.prototype.onopentagname=function(t){var e,s;if(this.lowerCaseTagNames&&(t=t.toLowerCase()),this.tagname=t,!this.options.xmlMode&&Object.prototype.hasOwnProperty.call(Cr,t))for(var n=void 0;this.stack.length>0&&Cr[t].has(n=this.stack[this.stack.length-1]);)this.onclosetag(n);(this.options.xmlMode||!Ne.has(t))&&(this.stack.push(t),Dr.has(t)?this.foreignContext.push(!0):Lr.has(t)&&this.foreignContext.push(!1)),(s=(e=this.cbs).onopentagname)===null||s===void 0||s.call(e,t),this.cbs.onopentag&&(this.attribs={})},r.prototype.onopentagend=function(){var t,e;this.updatePosition(1),this.attribs&&((e=(t=this.cbs).onopentag)===null||e===void 0||e.call(t,this.tagname,this.attribs),this.attribs=null),!this.options.xmlMode&&this.cbs.onclosetag&&Ne.has(this.tagname)&&this.cbs.onclosetag(this.tagname),this.tagname=""},r.prototype.onclosetag=function(t){if(this.updatePosition(1),this.lowerCaseTagNames&&(t=t.toLowerCase()),(Dr.has(t)||Lr.has(t))&&this.foreignContext.pop(),this.stack.length&&(this.options.xmlMode||!Ne.has(t))){var e=this.stack.lastIndexOf(t);if(e!==-1)if(this.cbs.onclosetag)for(e=this.stack.length-e;e--;)this.cbs.onclosetag(this.stack.pop());else this.stack.length=e;else t==="p"&&!this.options.xmlMode&&(this.onopentagname(t),this.closeCurrentTag())}else!this.options.xmlMode&&(t==="br"||t==="p")&&(this.onopentagname(t),this.closeCurrentTag())},r.prototype.onselfclosingtag=function(){this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?this.closeCurrentTag():this.onopentagend()},r.prototype.closeCurrentTag=function(){var t,e,s=this.tagname;this.onopentagend(),this.stack[this.stack.length-1]===s&&((e=(t=this.cbs).onclosetag)===null||e===void 0||e.call(t,s),this.stack.pop())},r.prototype.onattribname=function(t){this.lowerCaseAttributeNames&&(t=t.toLowerCase()),this.attribname=t},r.prototype.onattribdata=function(t){this.attribvalue+=t},r.prototype.onattribend=function(t){var e,s;(s=(e=this.cbs).onattribute)===null||s===void 0||s.call(e,this.attribname,this.attribvalue,t),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribname="",this.attribvalue=""},r.prototype.getInstructionName=function(t){var e=t.search(ho),s=e<0?t:t.substr(0,e);return this.lowerCaseTagNames&&(s=s.toLowerCase()),s},r.prototype.ondeclaration=function(t){if(this.cbs.onprocessinginstruction){var e=this.getInstructionName(t);this.cbs.onprocessinginstruction("!"+e,"!"+t)}},r.prototype.onprocessinginstruction=function(t){if(this.cbs.onprocessinginstruction){var e=this.getInstructionName(t);this.cbs.onprocessinginstruction("?"+e,"?"+t)}},r.prototype.oncomment=function(t){var e,s,n,o;this.updatePosition(4),(s=(e=this.cbs).oncomment)===null||s===void 0||s.call(e,t),(o=(n=this.cbs).oncommentend)===null||o===void 0||o.call(n)},r.prototype.oncdata=function(t){var e,s,n,o,i,a;this.updatePosition(1),this.options.xmlMode||this.options.recognizeCDATA?((s=(e=this.cbs).oncdatastart)===null||s===void 0||s.call(e),(o=(n=this.cbs).ontext)===null||o===void 0||o.call(n,t),(a=(i=this.cbs).oncdataend)===null||a===void 0||a.call(i)):this.oncomment("[CDATA["+t+"]]")},r.prototype.onerror=function(t){var e,s;(s=(e=this.cbs).onerror)===null||s===void 0||s.call(e,t)},r.prototype.onend=function(){var t,e;if(this.cbs.onclosetag)for(var s=this.stack.length;s>0;this.cbs.onclosetag(this.stack[--s]));(e=(t=this.cbs).onend)===null||e===void 0||e.call(t)},r.prototype.reset=function(){var t,e,s,n;(e=(t=this.cbs).onreset)===null||e===void 0||e.call(t),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack=[],(n=(s=this.cbs).onparserinit)===null||n===void 0||n.call(s,this)},r.prototype.parseComplete=function(t){this.reset(),this.end(t)},r.prototype.write=function(t){this.tokenizer.write(t)},r.prototype.end=function(t){this.tokenizer.end(t)},r.prototype.pause=function(){this.tokenizer.pause()},r.prototype.resume=function(){this.tokenizer.resume()},r.prototype.parseChunk=function(t){this.write(t)},r.prototype.done=function(t){this.end(t)},r}();Dt.Parser=go;var it={},qt={};(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.Doctype=r.CDATA=r.Tag=r.Style=r.Script=r.Comment=r.Directive=r.Text=r.Root=r.isTag=r.ElementType=void 0;var t;(function(s){s.Root="root",s.Text="text",s.Directive="directive",s.Comment="comment",s.Script="script",s.Style="style",s.Tag="tag",s.CDATA="cdata",s.Doctype="doctype"})(t=r.ElementType||(r.ElementType={}));function e(s){return s.type===t.Tag||s.type===t.Script||s.type===t.Style}r.isTag=e,r.Root=t.Root,r.Text=t.Text,r.Directive=t.Directive,r.Comment=t.Comment,r.Script=t.Script,r.Style=t.Style,r.Tag=t.Tag,r.CDATA=t.CDATA,r.Doctype=t.Doctype})(qt);var S={},gt=y&&y.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,n){s.__proto__=n}||function(s,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(s[o]=n[o])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function s(){this.constructor=t}t.prototype=e===null?Object.create(e):(s.prototype=e.prototype,new s)}}(),Lt=y&&y.__assign||function(){return Lt=Object.assign||function(r){for(var t,e=1,s=arguments.length;e<s;e++){t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r},Lt.apply(this,arguments)};Object.defineProperty(S,"__esModule",{value:!0}),S.cloneNode=S.hasChildren=S.isDocument=S.isDirective=S.isComment=S.isText=S.isCDATA=S.isTag=S.Element=S.Document=S.NodeWithChildren=S.ProcessingInstruction=S.Comment=S.Text=S.DataNode=S.Node=void 0;var O=qt,mo=new Map([[O.ElementType.Tag,1],[O.ElementType.Script,1],[O.ElementType.Style,1],[O.ElementType.Directive,1],[O.ElementType.Text,3],[O.ElementType.CDATA,4],[O.ElementType.Comment,8],[O.ElementType.Root,9]]),ke=function(){function r(t){this.type=t,this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(r.prototype,"nodeType",{get:function(){var t;return(t=mo.get(this.type))!==null&&t!==void 0?t:1},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"parentNode",{get:function(){return this.parent},set:function(t){this.parent=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"previousSibling",{get:function(){return this.prev},set:function(t){this.prev=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"nextSibling",{get:function(){return this.next},set:function(t){this.next=t},enumerable:!1,configurable:!0}),r.prototype.cloneNode=function(t){return t===void 0&&(t=!1),$e(this,t)},r}();S.Node=ke;var Xt=function(r){gt(t,r);function t(e,s){var n=r.call(this,e)||this;return n.data=s,n}return Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(ke);S.DataNode=Xt;var Or=function(r){gt(t,r);function t(e){return r.call(this,O.ElementType.Text,e)||this}return t}(Xt);S.Text=Or;var Nr=function(r){gt(t,r);function t(e){return r.call(this,O.ElementType.Comment,e)||this}return t}(Xt);S.Comment=Nr;var kr=function(r){gt(t,r);function t(e,s){var n=r.call(this,O.ElementType.Directive,s)||this;return n.name=e,n}return t}(Xt);S.ProcessingInstruction=kr;var Zt=function(r){gt(t,r);function t(e,s){var n=r.call(this,e)||this;return n.children=s,n}return Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return(e=this.children[0])!==null&&e!==void 0?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(ke);S.NodeWithChildren=Zt;var $r=function(r){gt(t,r);function t(e){return r.call(this,O.ElementType.Root,e)||this}return t}(Zt);S.Document=$r;var Rr=function(r){gt(t,r);function t(e,s,n,o){n===void 0&&(n=[]),o===void 0&&(o=e==="script"?O.ElementType.Script:e==="style"?O.ElementType.Style:O.ElementType.Tag);var i=r.call(this,o,n)||this;return i.name=e,i.attribs=s,i}return Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map(function(s){var n,o;return{name:s,value:e.attribs[s],namespace:(n=e["x-attribsNamespace"])===null||n===void 0?void 0:n[s],prefix:(o=e["x-attribsPrefix"])===null||o===void 0?void 0:o[s]}})},enumerable:!1,configurable:!0}),t}(Zt);S.Element=Rr;function Pr(r){return(0,O.isTag)(r)}S.isTag=Pr;function Ir(r){return r.type===O.ElementType.CDATA}S.isCDATA=Ir;function Mr(r){return r.type===O.ElementType.Text}S.isText=Mr;function Br(r){return r.type===O.ElementType.Comment}S.isComment=Br;function Ur(r){return r.type===O.ElementType.Directive}S.isDirective=Ur;function jr(r){return r.type===O.ElementType.Root}S.isDocument=jr;function bo(r){return Object.prototype.hasOwnProperty.call(r,"children")}S.hasChildren=bo;function $e(r,t){t===void 0&&(t=!1);var e;if(Mr(r))e=new Or(r.data);else if(Br(r))e=new Nr(r.data);else if(Pr(r)){var s=t?Re(r.children):[],n=new Rr(r.name,Lt({},r.attribs),s);s.forEach(function(c){return c.parent=n}),r.namespace!=null&&(n.namespace=r.namespace),r["x-attribsNamespace"]&&(n["x-attribsNamespace"]=Lt({},r["x-attribsNamespace"])),r["x-attribsPrefix"]&&(n["x-attribsPrefix"]=Lt({},r["x-attribsPrefix"])),e=n}else if(Ir(r)){var s=t?Re(r.children):[],o=new Zt(O.ElementType.CDATA,s);s.forEach(function(l){return l.parent=o}),e=o}else if(jr(r)){var s=t?Re(r.children):[],i=new $r(s);s.forEach(function(l){return l.parent=i}),r["x-mode"]&&(i["x-mode"]=r["x-mode"]),e=i}else if(Ur(r)){var a=new kr(r.name,r.data);r["x-name"]!=null&&(a["x-name"]=r["x-name"],a["x-publicId"]=r["x-publicId"],a["x-systemId"]=r["x-systemId"]),e=a}else throw new Error("Not implemented yet: ".concat(r.type));return e.startIndex=r.startIndex,e.endIndex=r.endIndex,r.sourceCodeLocation!=null&&(e.sourceCodeLocation=r.sourceCodeLocation),e}S.cloneNode=$e;function Re(r){for(var t=r.map(function(s){return $e(s,!0)}),e=1;e<t.length;e++)t[e].prev=t[e-1],t[e-1].next=t[e];return t}(function(r){var t=y&&y.__createBinding||(Object.create?function(c,l,f,p){p===void 0&&(p=f),Object.defineProperty(c,p,{enumerable:!0,get:function(){return l[f]}})}:function(c,l,f,p){p===void 0&&(p=f),c[p]=l[f]}),e=y&&y.__exportStar||function(c,l){for(var f in c)f!=="default"&&!Object.prototype.hasOwnProperty.call(l,f)&&t(l,c,f)};Object.defineProperty(r,"__esModule",{value:!0}),r.DomHandler=void 0;var s=qt,n=S;e(S,r);var o=/\s+/g,i={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1,xmlMode:!1},a=function(){function c(l,f,p){this.dom=[],this.root=new n.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof f=="function"&&(p=f,f=i),typeof l=="object"&&(f=l,l=void 0),this.callback=l??null,this.options=f??i,this.elementCB=p??null}return c.prototype.onparserinit=function(l){this.parser=l},c.prototype.onreset=function(){this.dom=[],this.root=new n.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},c.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},c.prototype.onerror=function(l){this.handleCallback(l)},c.prototype.onclosetag=function(){this.lastNode=null;var l=this.tagStack.pop();this.options.withEndIndices&&(l.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(l)},c.prototype.onopentag=function(l,f){var p=this.options.xmlMode?s.ElementType.Tag:void 0,b=new n.Element(l,f,void 0,p);this.addNode(b),this.tagStack.push(b)},c.prototype.ontext=function(l){var f=this.options.normalizeWhitespace,p=this.lastNode;if(p&&p.type===s.ElementType.Text)f?p.data=(p.data+l).replace(o," "):p.data+=l,this.options.withEndIndices&&(p.endIndex=this.parser.endIndex);else{f&&(l=l.replace(o," "));var b=new n.Text(l);this.addNode(b),this.lastNode=b}},c.prototype.oncomment=function(l){if(this.lastNode&&this.lastNode.type===s.ElementType.Comment){this.lastNode.data+=l;return}var f=new n.Comment(l);this.addNode(f),this.lastNode=f},c.prototype.oncommentend=function(){this.lastNode=null},c.prototype.oncdatastart=function(){var l=new n.Text(""),f=new n.NodeWithChildren(s.ElementType.CDATA,[l]);this.addNode(f),l.parent=f,this.lastNode=l},c.prototype.oncdataend=function(){this.lastNode=null},c.prototype.onprocessinginstruction=function(l,f){var p=new n.ProcessingInstruction(l,f);this.addNode(p)},c.prototype.handleCallback=function(l){if(typeof this.callback=="function")this.callback(l,this.dom);else if(l)throw l},c.prototype.addNode=function(l){var f=this.tagStack[this.tagStack.length-1],p=f.children[f.children.length-1];this.options.withStartIndices&&(l.startIndex=this.parser.startIndex),this.options.withEndIndices&&(l.endIndex=this.parser.endIndex),f.children.push(l),p&&(l.prev=p,p.next=l),l.parent=f,this.lastNode=null},c}();r.DomHandler=a,r.default=a})(it);var mt={},Pe={},F={},Ie={},Vr={},at={},Qt=y&&y.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(at,"__esModule",{value:!0}),at.decodeHTML=at.decodeHTMLStrict=at.decodeXML=void 0;var Me=Qt(De),yo=Qt(_r),vo=Qt(Le),Hr=Qt(Yt),wo=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;at.decodeXML=zr(vo.default),at.decodeHTMLStrict=zr(Me.default);function zr(r){var t=Gr(r);return function(e){return String(e).replace(wo,t)}}var Fr=function(r,t){return r<t?1:-1};at.decodeHTML=function(){for(var r=Object.keys(yo.default).sort(Fr),t=Object.keys(Me.default).sort(Fr),e=0,s=0;e<t.length;e++)r[s]===t[e]?(t[e]+=";?",s++):t[e]+=";";var n=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),o=Gr(Me.default);function i(a){return a.substr(-1)!==";"&&(a+=";"),o(a)}return function(a){return String(a).replace(n,i)}}();function Gr(r){return function(e){if(e.charAt(1)==="#"){var s=e.charAt(2);return s==="X"||s==="x"?Hr.default(parseInt(e.substr(3),16)):Hr.default(parseInt(e.substr(2),10))}return r[e.slice(1,-1)]||e}}var G={},Wr=y&&y.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(G,"__esModule",{value:!0}),G.escapeUTF8=G.escape=G.encodeNonAsciiHTML=G.encodeHTML=G.encodeXML=void 0;var xo=Wr(Le),Yr=Xr(xo.default),Jr=Zr(Yr);G.encodeXML=ts(Yr);var So=Wr(De),Be=Xr(So.default),qo=Zr(Be);G.encodeHTML=To(Be,qo),G.encodeNonAsciiHTML=ts(Be);function Xr(r){return Object.keys(r).sort().reduce(function(t,e){return t[r[e]]="&"+e+";",t},{})}function Zr(r){for(var t=[],e=[],s=0,n=Object.keys(r);s<n.length;s++){var o=n[s];o.length===1?t.push("\\"+o):e.push(o)}t.sort();for(var i=0;i<t.length-1;i++){for(var a=i;a<t.length-1&&t[a].charCodeAt(1)+1===t[a+1].charCodeAt(1);)a+=1;var c=1+a-i;c<3||t.splice(i,c,t[i]+"-"+t[a])}return e.unshift("["+t.join("")+"]"),new RegExp(e.join("|"),"g")}var Qr=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,Eo=String.prototype.codePointAt!=null?function(r){return r.codePointAt(0)}:function(r){return(r.charCodeAt(0)-55296)*1024+r.charCodeAt(1)-56320+65536};function Kt(r){return"&#x"+(r.length>1?Eo(r):r.charCodeAt(0)).toString(16).toUpperCase()+";"}function To(r,t){return function(e){return e.replace(t,function(s){return r[s]}).replace(Qr,Kt)}}var Kr=new RegExp(Jr.source+"|"+Qr.source,"g");function _o(r){return r.replace(Kr,Kt)}G.escape=_o;function Ao(r){return r.replace(Jr,Kt)}G.escapeUTF8=Ao;function ts(r){return function(t){return t.replace(Kr,function(e){return r[e]||Kt(e)})}}(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.decodeXMLStrict=r.decodeHTML5Strict=r.decodeHTML4Strict=r.decodeHTML5=r.decodeHTML4=r.decodeHTMLStrict=r.decodeHTML=r.decodeXML=r.encodeHTML5=r.encodeHTML4=r.escapeUTF8=r.escape=r.encodeNonAsciiHTML=r.encodeHTML=r.encodeXML=r.encode=r.decodeStrict=r.decode=void 0;var t=at,e=G;function s(c,l){return(!l||l<=0?t.decodeXML:t.decodeHTML)(c)}r.decode=s;function n(c,l){return(!l||l<=0?t.decodeXML:t.decodeHTMLStrict)(c)}r.decodeStrict=n;function o(c,l){return(!l||l<=0?e.encodeXML:e.encodeHTML)(c)}r.encode=o;var i=G;Object.defineProperty(r,"encodeXML",{enumerable:!0,get:function(){return i.encodeXML}}),Object.defineProperty(r,"encodeHTML",{enumerable:!0,get:function(){return i.encodeHTML}}),Object.defineProperty(r,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return i.encodeNonAsciiHTML}}),Object.defineProperty(r,"escape",{enumerable:!0,get:function(){return i.escape}}),Object.defineProperty(r,"escapeUTF8",{enumerable:!0,get:function(){return i.escapeUTF8}}),Object.defineProperty(r,"encodeHTML4",{enumerable:!0,get:function(){return i.encodeHTML}}),Object.defineProperty(r,"encodeHTML5",{enumerable:!0,get:function(){return i.encodeHTML}});var a=at;Object.defineProperty(r,"decodeXML",{enumerable:!0,get:function(){return a.decodeXML}}),Object.defineProperty(r,"decodeHTML",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(r,"decodeHTMLStrict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(r,"decodeHTML4",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(r,"decodeHTML5",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(r,"decodeHTML4Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(r,"decodeHTML5Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(r,"decodeXMLStrict",{enumerable:!0,get:function(){return a.decodeXML}})})(Vr);var Et={};Object.defineProperty(Et,"__esModule",{value:!0}),Et.attributeNames=Et.elementNames=void 0,Et.elementNames=new Map([["altglyph","altGlyph"],["altglyphdef","altGlyphDef"],["altglyphitem","altGlyphItem"],["animatecolor","animateColor"],["animatemotion","animateMotion"],["animatetransform","animateTransform"],["clippath","clipPath"],["feblend","feBlend"],["fecolormatrix","feColorMatrix"],["fecomponenttransfer","feComponentTransfer"],["fecomposite","feComposite"],["feconvolvematrix","feConvolveMatrix"],["fediffuselighting","feDiffuseLighting"],["fedisplacementmap","feDisplacementMap"],["fedistantlight","feDistantLight"],["fedropshadow","feDropShadow"],["feflood","feFlood"],["fefunca","feFuncA"],["fefuncb","feFuncB"],["fefuncg","feFuncG"],["fefuncr","feFuncR"],["fegaussianblur","feGaussianBlur"],["feimage","feImage"],["femerge","feMerge"],["femergenode","feMergeNode"],["femorphology","feMorphology"],["feoffset","feOffset"],["fepointlight","fePointLight"],["fespecularlighting","feSpecularLighting"],["fespotlight","feSpotLight"],["fetile","feTile"],["feturbulence","feTurbulence"],["foreignobject","foreignObject"],["glyphref","glyphRef"],["lineargradient","linearGradient"],["radialgradient","radialGradient"],["textpath","textPath"]]),Et.attributeNames=new Map([["definitionurl","definitionURL"],["attributename","attributeName"],["attributetype","attributeType"],["basefrequency","baseFrequency"],["baseprofile","baseProfile"],["calcmode","calcMode"],["clippathunits","clipPathUnits"],["diffuseconstant","diffuseConstant"],["edgemode","edgeMode"],["filterunits","filterUnits"],["glyphref","glyphRef"],["gradienttransform","gradientTransform"],["gradientunits","gradientUnits"],["kernelmatrix","kernelMatrix"],["kernelunitlength","kernelUnitLength"],["keypoints","keyPoints"],["keysplines","keySplines"],["keytimes","keyTimes"],["lengthadjust","lengthAdjust"],["limitingconeangle","limitingConeAngle"],["markerheight","markerHeight"],["markerunits","markerUnits"],["markerwidth","markerWidth"],["maskcontentunits","maskContentUnits"],["maskunits","maskUnits"],["numoctaves","numOctaves"],["pathlength","pathLength"],["patterncontentunits","patternContentUnits"],["patterntransform","patternTransform"],["patternunits","patternUnits"],["pointsatx","pointsAtX"],["pointsaty","pointsAtY"],["pointsatz","pointsAtZ"],["preservealpha","preserveAlpha"],["preserveaspectratio","preserveAspectRatio"],["primitiveunits","primitiveUnits"],["refx","refX"],["refy","refY"],["repeatcount","repeatCount"],["repeatdur","repeatDur"],["requiredextensions","requiredExtensions"],["requiredfeatures","requiredFeatures"],["specularconstant","specularConstant"],["specularexponent","specularExponent"],["spreadmethod","spreadMethod"],["startoffset","startOffset"],["stddeviation","stdDeviation"],["stitchtiles","stitchTiles"],["surfacescale","surfaceScale"],["systemlanguage","systemLanguage"],["tablevalues","tableValues"],["targetx","targetX"],["targety","targetY"],["textlength","textLength"],["viewbox","viewBox"],["viewtarget","viewTarget"],["xchannelselector","xChannelSelector"],["ychannelselector","yChannelSelector"],["zoomandpan","zoomAndPan"]]);var Tt=y&&y.__assign||function(){return Tt=Object.assign||function(r){for(var t,e=1,s=arguments.length;e<s;e++){t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r},Tt.apply(this,arguments)},Co=y&&y.__createBinding||(Object.create?function(r,t,e,s){s===void 0&&(s=e),Object.defineProperty(r,s,{enumerable:!0,get:function(){return t[e]}})}:function(r,t,e,s){s===void 0&&(s=e),r[s]=t[e]}),Do=y&&y.__setModuleDefault||(Object.create?function(r,t){Object.defineProperty(r,"default",{enumerable:!0,value:t})}:function(r,t){r.default=t}),Lo=y&&y.__importStar||function(r){if(r&&r.__esModule)return r;var t={};if(r!=null)for(var e in r)e!=="default"&&Object.prototype.hasOwnProperty.call(r,e)&&Co(t,r,e);return Do(t,r),t};Object.defineProperty(Ie,"__esModule",{value:!0});var ct=Lo(qt),es=Vr,rs=Et,Oo=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function No(r,t){if(!!r)return Object.keys(r).map(function(e){var s,n,o=(s=r[e])!==null&&s!==void 0?s:"";return t.xmlMode==="foreign"&&(e=(n=rs.attributeNames.get(e))!==null&&n!==void 0?n:e),!t.emptyAttrs&&!t.xmlMode&&o===""?e:e+'="'+(t.decodeEntities!==!1?es.encodeXML(o):o.replace(/"/g,"""))+'"'}).join(" ")}var ss=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function Ue(r,t){t===void 0&&(t={});for(var e=("length"in r)?r:[r],s="",n=0;n<e.length;n++)s+=ko(e[n],t);return s}Ie.default=Ue;function ko(r,t){switch(r.type){case ct.Root:return Ue(r.children,t);case ct.Directive:case ct.Doctype:return Io(r);case ct.Comment:return Uo(r);case ct.CDATA:return Bo(r);case ct.Script:case ct.Style:case ct.Tag:return Po(r,t);case ct.Text:return Mo(r,t)}}var $o=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),Ro=new Set(["svg","math"]);function Po(r,t){var e;t.xmlMode==="foreign"&&(r.name=(e=rs.elementNames.get(r.name))!==null&&e!==void 0?e:r.name,r.parent&&$o.has(r.parent.name)&&(t=Tt(Tt({},t),{xmlMode:!1}))),!t.xmlMode&&Ro.has(r.name)&&(t=Tt(Tt({},t),{xmlMode:"foreign"}));var s="<"+r.name,n=No(r.attribs,t);return n&&(s+=" "+n),r.children.length===0&&(t.xmlMode?t.selfClosingTags!==!1:t.selfClosingTags&&ss.has(r.name))?(t.xmlMode||(s+=" "),s+="/>"):(s+=">",r.children.length>0&&(s+=Ue(r.children,t)),(t.xmlMode||!ss.has(r.name))&&(s+="</"+r.name+">")),s}function Io(r){return"<"+r.data+">"}function Mo(r,t){var e=r.data||"";return t.decodeEntities!==!1&&!(!t.xmlMode&&r.parent&&Oo.has(r.parent.name))&&(e=es.encodeXML(e)),e}function Bo(r){return"<![CDATA["+r.children[0].data+"]]>"}function Uo(r){return"<!--"+r.data+"-->"}var jo=y&&y.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(F,"__esModule",{value:!0}),F.innerText=F.textContent=F.getText=F.getInnerHTML=F.getOuterHTML=void 0;var st=it,Vo=jo(Ie),Ho=qt;function ns(r,t){return(0,Vo.default)(r,t)}F.getOuterHTML=ns;function zo(r,t){return(0,st.hasChildren)(r)?r.children.map(function(e){return ns(e,t)}).join(""):""}F.getInnerHTML=zo;function te(r){return Array.isArray(r)?r.map(te).join(""):(0,st.isTag)(r)?r.name==="br"?`
|
||
`:te(r.children):(0,st.isCDATA)(r)?te(r.children):(0,st.isText)(r)?r.data:""}F.getText=te;function je(r){return Array.isArray(r)?r.map(je).join(""):(0,st.hasChildren)(r)&&!(0,st.isComment)(r)?je(r.children):(0,st.isText)(r)?r.data:""}F.textContent=je;function Ve(r){return Array.isArray(r)?r.map(Ve).join(""):(0,st.hasChildren)(r)&&(r.type===Ho.ElementType.Tag||(0,st.isCDATA)(r))?Ve(r.children):(0,st.isText)(r)?r.data:""}F.innerText=Ve;var $={};Object.defineProperty($,"__esModule",{value:!0}),$.prevElementSibling=$.nextElementSibling=$.getName=$.hasAttrib=$.getAttributeValue=$.getSiblings=$.getParent=$.getChildren=void 0;var os=it,Fo=[];function is(r){var t;return(t=r.children)!==null&&t!==void 0?t:Fo}$.getChildren=is;function as(r){return r.parent||null}$.getParent=as;function Go(r){var t,e,s=as(r);if(s!=null)return is(s);for(var n=[r],o=r.prev,i=r.next;o!=null;)n.unshift(o),t=o,o=t.prev;for(;i!=null;)n.push(i),e=i,i=e.next;return n}$.getSiblings=Go;function Wo(r,t){var e;return(e=r.attribs)===null||e===void 0?void 0:e[t]}$.getAttributeValue=Wo;function Yo(r,t){return r.attribs!=null&&Object.prototype.hasOwnProperty.call(r.attribs,t)&&r.attribs[t]!=null}$.hasAttrib=Yo;function Jo(r){return r.name}$.getName=Jo;function Xo(r){for(var t,e=r.next;e!==null&&!(0,os.isTag)(e);)t=e,e=t.next;return e}$.nextElementSibling=Xo;function Zo(r){for(var t,e=r.prev;e!==null&&!(0,os.isTag)(e);)t=e,e=t.prev;return e}$.prevElementSibling=Zo;var I={};Object.defineProperty(I,"__esModule",{value:!0}),I.prepend=I.prependChild=I.append=I.appendChild=I.replaceElement=I.removeElement=void 0;function Ot(r){if(r.prev&&(r.prev.next=r.next),r.next&&(r.next.prev=r.prev),r.parent){var t=r.parent.children;t.splice(t.lastIndexOf(r),1)}}I.removeElement=Ot;function Qo(r,t){var e=t.prev=r.prev;e&&(e.next=t);var s=t.next=r.next;s&&(s.prev=t);var n=t.parent=r.parent;if(n){var o=n.children;o[o.lastIndexOf(r)]=t}}I.replaceElement=Qo;function Ko(r,t){if(Ot(t),t.next=null,t.parent=r,r.children.push(t)>1){var e=r.children[r.children.length-2];e.next=t,t.prev=e}else t.prev=null}I.appendChild=Ko;function ti(r,t){Ot(t);var e=r.parent,s=r.next;if(t.next=s,t.prev=r,r.next=t,t.parent=e,s){if(s.prev=t,e){var n=e.children;n.splice(n.lastIndexOf(s),0,t)}}else e&&e.children.push(t)}I.append=ti;function ei(r,t){if(Ot(t),t.parent=r,t.prev=null,r.children.unshift(t)!==1){var e=r.children[1];e.prev=t,t.next=e}else t.next=null}I.prependChild=ei;function ri(r,t){Ot(t);var e=r.parent;if(e){var s=e.children;s.splice(s.indexOf(r),0,t)}r.prev&&(r.prev.next=t),t.parent=e,t.prev=r.prev,t.next=r,r.prev=t}I.prepend=ri;var R={};Object.defineProperty(R,"__esModule",{value:!0}),R.findAll=R.existsOne=R.findOne=R.findOneChild=R.find=R.filter=void 0;var Nt=it;function si(r,t,e,s){return e===void 0&&(e=!0),s===void 0&&(s=1/0),Array.isArray(t)||(t=[t]),He(r,t,e,s)}R.filter=si;function He(r,t,e,s){for(var n=[],o=0,i=t;o<i.length;o++){var a=i[o];if(r(a)&&(n.push(a),--s<=0))break;if(e&&(0,Nt.hasChildren)(a)&&a.children.length>0){var c=He(r,a.children,e,s);if(n.push.apply(n,c),s-=c.length,s<=0)break}}return n}R.find=He;function ni(r,t){return t.find(r)}R.findOneChild=ni;function cs(r,t,e){e===void 0&&(e=!0);for(var s=null,n=0;n<t.length&&!s;n++){var o=t[n];if((0,Nt.isTag)(o))r(o)?s=o:e&&o.children.length>0&&(s=cs(r,o.children));else continue}return s}R.findOne=cs;function ls(r,t){return t.some(function(e){return(0,Nt.isTag)(e)&&(r(e)||e.children.length>0&&ls(r,e.children))})}R.existsOne=ls;function oi(r,t){for(var e,s=[],n=t.filter(Nt.isTag),o;o=n.shift();){var i=(e=o.children)===null||e===void 0?void 0:e.filter(Nt.isTag);i&&i.length>0&&n.unshift.apply(n,i),r(o)&&s.push(o)}return s}R.findAll=oi;var W={};Object.defineProperty(W,"__esModule",{value:!0}),W.getElementsByTagType=W.getElementsByTagName=W.getElementById=W.getElements=W.testElement=void 0;var bt=it,ee=R,re={tag_name:function(r){return typeof r=="function"?function(t){return(0,bt.isTag)(t)&&r(t.name)}:r==="*"?bt.isTag:function(t){return(0,bt.isTag)(t)&&t.name===r}},tag_type:function(r){return typeof r=="function"?function(t){return r(t.type)}:function(t){return t.type===r}},tag_contains:function(r){return typeof r=="function"?function(t){return(0,bt.isText)(t)&&r(t.data)}:function(t){return(0,bt.isText)(t)&&t.data===r}}};function us(r,t){return typeof t=="function"?function(e){return(0,bt.isTag)(e)&&t(e.attribs[r])}:function(e){return(0,bt.isTag)(e)&&e.attribs[r]===t}}function ii(r,t){return function(e){return r(e)||t(e)}}function fs(r){var t=Object.keys(r).map(function(e){var s=r[e];return Object.prototype.hasOwnProperty.call(re,e)?re[e](s):us(e,s)});return t.length===0?null:t.reduce(ii)}function ai(r,t){var e=fs(r);return e?e(t):!0}W.testElement=ai;function ci(r,t,e,s){s===void 0&&(s=1/0);var n=fs(r);return n?(0,ee.filter)(n,t,e,s):[]}W.getElements=ci;function li(r,t,e){return e===void 0&&(e=!0),Array.isArray(t)||(t=[t]),(0,ee.findOne)(us("id",r),t,e)}W.getElementById=li;function ui(r,t,e,s){return e===void 0&&(e=!0),s===void 0&&(s=1/0),(0,ee.filter)(re.tag_name(r),t,e,s)}W.getElementsByTagName=ui;function fi(r,t,e,s){return e===void 0&&(e=!0),s===void 0&&(s=1/0),(0,ee.filter)(re.tag_type(r),t,e,s)}W.getElementsByTagType=fi;var ft={};Object.defineProperty(ft,"__esModule",{value:!0}),ft.uniqueSort=ft.compareDocumentPosition=ft.removeSubsets=void 0;var ps=it;function pi(r){for(var t=r.length;--t>=0;){var e=r[t];if(t>0&&r.lastIndexOf(e,t-1)>=0){r.splice(t,1);continue}for(var s=e.parent;s;s=s.parent)if(r.includes(s)){r.splice(t,1);break}}return r}ft.removeSubsets=pi;function hs(r,t){var e=[],s=[];if(r===t)return 0;for(var n=(0,ps.hasChildren)(r)?r:r.parent;n;)e.unshift(n),n=n.parent;for(n=(0,ps.hasChildren)(t)?t:t.parent;n;)s.unshift(n),n=n.parent;for(var o=Math.min(e.length,s.length),i=0;i<o&&e[i]===s[i];)i++;if(i===0)return 1;var a=e[i-1],c=a.children,l=e[i],f=s[i];return c.indexOf(l)>c.indexOf(f)?a===t?20:4:a===r?10:2}ft.compareDocumentPosition=hs;function hi(r){return r=r.filter(function(t,e,s){return!s.includes(t,e+1)}),r.sort(function(t,e){var s=hs(t,e);return s&2?-1:s&4?1:0}),r}ft.uniqueSort=hi;var se={};Object.defineProperty(se,"__esModule",{value:!0}),se.getFeed=void 0;var di=F,kt=W;function gi(r){var t=ne(wi,r);return t?t.name==="feed"?mi(t):bi(t):null}se.getFeed=gi;function mi(r){var t,e=r.children,s={type:"atom",items:(0,kt.getElementsByTagName)("entry",e).map(function(i){var a,c=i.children,l={media:ds(c)};M(l,"id","id",c),M(l,"title","title",c);var f=(a=ne("link",c))===null||a===void 0?void 0:a.attribs.href;f&&(l.link=f);var p=yt("summary",c)||yt("content",c);p&&(l.description=p);var b=yt("updated",c);return b&&(l.pubDate=new Date(b)),l})};M(s,"id","id",e),M(s,"title","title",e);var n=(t=ne("link",e))===null||t===void 0?void 0:t.attribs.href;n&&(s.link=n),M(s,"description","subtitle",e);var o=yt("updated",e);return o&&(s.updated=new Date(o)),M(s,"author","email",e,!0),s}function bi(r){var t,e,s=(e=(t=ne("channel",r.children))===null||t===void 0?void 0:t.children)!==null&&e!==void 0?e:[],n={type:r.name.substr(0,3),id:"",items:(0,kt.getElementsByTagName)("item",r.children).map(function(i){var a=i.children,c={media:ds(a)};M(c,"id","guid",a),M(c,"title","title",a),M(c,"link","link",a),M(c,"description","description",a);var l=yt("pubDate",a);return l&&(c.pubDate=new Date(l)),c})};M(n,"title","title",s),M(n,"link","link",s),M(n,"description","description",s);var o=yt("lastBuildDate",s);return o&&(n.updated=new Date(o)),M(n,"author","managingEditor",s,!0),n}var yi=["url","type","lang"],vi=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function ds(r){return(0,kt.getElementsByTagName)("media:content",r).map(function(t){for(var e=t.attribs,s={medium:e.medium,isDefault:!!e.isDefault},n=0,o=yi;n<o.length;n++){var i=o[n];e[i]&&(s[i]=e[i])}for(var a=0,c=vi;a<c.length;a++){var i=c[a];e[i]&&(s[i]=parseInt(e[i],10))}return e.expression&&(s.expression=e.expression),s})}function ne(r,t){return(0,kt.getElementsByTagName)(r,t,!0,1)[0]}function yt(r,t,e){return e===void 0&&(e=!1),(0,di.textContent)((0,kt.getElementsByTagName)(r,t,e,1)).trim()}function M(r,t,e,s,n){n===void 0&&(n=!1);var o=yt(e,s,n);o&&(r[t]=o)}function wi(r){return r==="rss"||r==="feed"||r==="rdf:RDF"}(function(r){var t=y&&y.__createBinding||(Object.create?function(n,o,i,a){a===void 0&&(a=i),Object.defineProperty(n,a,{enumerable:!0,get:function(){return o[i]}})}:function(n,o,i,a){a===void 0&&(a=i),n[a]=o[i]}),e=y&&y.__exportStar||function(n,o){for(var i in n)i!=="default"&&!Object.prototype.hasOwnProperty.call(o,i)&&t(o,n,i)};Object.defineProperty(r,"__esModule",{value:!0}),r.hasChildren=r.isDocument=r.isComment=r.isText=r.isCDATA=r.isTag=void 0,e(F,r),e($,r),e(I,r),e(R,r),e(W,r),e(ft,r),e(se,r);var s=it;Object.defineProperty(r,"isTag",{enumerable:!0,get:function(){return s.isTag}}),Object.defineProperty(r,"isCDATA",{enumerable:!0,get:function(){return s.isCDATA}}),Object.defineProperty(r,"isText",{enumerable:!0,get:function(){return s.isText}}),Object.defineProperty(r,"isComment",{enumerable:!0,get:function(){return s.isComment}}),Object.defineProperty(r,"isDocument",{enumerable:!0,get:function(){return s.isDocument}}),Object.defineProperty(r,"hasChildren",{enumerable:!0,get:function(){return s.hasChildren}})})(Pe);var xi=y&&y.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,n){s.__proto__=n}||function(s,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(s[o]=n[o])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function s(){this.constructor=t}t.prototype=e===null?Object.create(e):(s.prototype=e.prototype,new s)}}(),Si=y&&y.__createBinding||(Object.create?function(r,t,e,s){s===void 0&&(s=e),Object.defineProperty(r,s,{enumerable:!0,get:function(){return t[e]}})}:function(r,t,e,s){s===void 0&&(s=e),r[s]=t[e]}),qi=y&&y.__setModuleDefault||(Object.create?function(r,t){Object.defineProperty(r,"default",{enumerable:!0,value:t})}:function(r,t){r.default=t}),Ei=y&&y.__importStar||function(r){if(r&&r.__esModule)return r;var t={};if(r!=null)for(var e in r)e!=="default"&&Object.prototype.hasOwnProperty.call(r,e)&&Si(t,r,e);return qi(t,r),t},Ti=y&&y.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(mt,"__esModule",{value:!0}),mt.parseFeed=mt.FeedHandler=void 0;var _i=Ti(it),oe=Ei(Pe),Ai=Dt,gs;(function(r){r[r.image=0]="image",r[r.audio=1]="audio",r[r.video=2]="video",r[r.document=3]="document",r[r.executable=4]="executable"})(gs||(gs={}));var ms;(function(r){r[r.sample=0]="sample",r[r.full=1]="full",r[r.nonstop=2]="nonstop"})(ms||(ms={}));var bs=function(r){xi(t,r);function t(e,s){var n=this;return typeof e=="object"&&(e=void 0,s=e),n=r.call(this,e,s)||this,n}return t.prototype.onend=function(){var e,s,n=ie(Ci,this.dom);if(!n){this.handleCallback(new Error("couldn't find root of feed"));return}var o={};if(n.name==="feed"){var i=n.children;o.type="atom",B(o,"id","id",i),B(o,"title","title",i);var a=vs("href",ie("link",i));a&&(o.link=a),B(o,"description","subtitle",i);var c=vt("updated",i);c&&(o.updated=new Date(c)),B(o,"author","email",i,!0),o.items=ze("entry",i).map(function(l){var f={},p=l.children;B(f,"id","id",p),B(f,"title","title",p);var b=vs("href",ie("link",p));b&&(f.link=b);var w=vt("summary",p)||vt("content",p);w&&(f.description=w);var d=vt("updated",p);return d&&(f.pubDate=new Date(d)),f.media=ys(p),f})}else{var i=(s=(e=ie("channel",n.children))===null||e===void 0?void 0:e.children)!==null&&s!==void 0?s:[];o.type=n.name.substr(0,3),o.id="",B(o,"title","title",i),B(o,"link","link",i),B(o,"description","description",i);var c=vt("lastBuildDate",i);c&&(o.updated=new Date(c)),B(o,"author","managingEditor",i,!0),o.items=ze("item",n.children).map(function(p){var b={},w=p.children;B(b,"id","guid",w),B(b,"title","title",w),B(b,"link","link",w),B(b,"description","description",w);var d=vt("pubDate",w);return d&&(b.pubDate=new Date(d)),b.media=ys(w),b})}this.feed=o,this.handleCallback(null)},t}(_i.default);mt.FeedHandler=bs;function ys(r){return ze("media:content",r).map(function(t){var e={medium:t.attribs.medium,isDefault:!!t.attribs.isDefault};return t.attribs.url&&(e.url=t.attribs.url),t.attribs.fileSize&&(e.fileSize=parseInt(t.attribs.fileSize,10)),t.attribs.type&&(e.type=t.attribs.type),t.attribs.expression&&(e.expression=t.attribs.expression),t.attribs.bitrate&&(e.bitrate=parseInt(t.attribs.bitrate,10)),t.attribs.framerate&&(e.framerate=parseInt(t.attribs.framerate,10)),t.attribs.samplingrate&&(e.samplingrate=parseInt(t.attribs.samplingrate,10)),t.attribs.channels&&(e.channels=parseInt(t.attribs.channels,10)),t.attribs.duration&&(e.duration=parseInt(t.attribs.duration,10)),t.attribs.height&&(e.height=parseInt(t.attribs.height,10)),t.attribs.width&&(e.width=parseInt(t.attribs.width,10)),t.attribs.lang&&(e.lang=t.attribs.lang),e})}function ze(r,t){return oe.getElementsByTagName(r,t,!0)}function ie(r,t){return oe.getElementsByTagName(r,t,!0,1)[0]}function vt(r,t,e){return e===void 0&&(e=!1),oe.getText(oe.getElementsByTagName(r,t,e,1)).trim()}function vs(r,t){if(!t)return null;var e=t.attribs;return e[r]}function B(r,t,e,s,n){n===void 0&&(n=!1);var o=vt(e,s,n);o&&(r[t]=o)}function Ci(r){return r==="rss"||r==="feed"||r==="rdf:RDF"}function Di(r,t){t===void 0&&(t={xmlMode:!0});var e=new bs(t);return new Ai.Parser(e,t).end(r),e.feed}mt.parseFeed=Di,function(r){var t=y&&y.__createBinding||(Object.create?function(d,v,h,L){L===void 0&&(L=h),Object.defineProperty(d,L,{enumerable:!0,get:function(){return v[h]}})}:function(d,v,h,L){L===void 0&&(L=h),d[L]=v[h]}),e=y&&y.__setModuleDefault||(Object.create?function(d,v){Object.defineProperty(d,"default",{enumerable:!0,value:v})}:function(d,v){d.default=v}),s=y&&y.__importStar||function(d){if(d&&d.__esModule)return d;var v={};if(d!=null)for(var h in d)h!=="default"&&Object.prototype.hasOwnProperty.call(d,h)&&t(v,d,h);return e(v,d),v},n=y&&y.__exportStar||function(d,v){for(var h in d)h!=="default"&&!Object.prototype.hasOwnProperty.call(v,h)&&t(v,d,h)},o=y&&y.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(r,"__esModule",{value:!0}),r.RssHandler=r.DefaultHandler=r.DomUtils=r.ElementType=r.Tokenizer=r.createDomStream=r.parseDOM=r.parseDocument=r.DomHandler=r.Parser=void 0;var i=Dt;Object.defineProperty(r,"Parser",{enumerable:!0,get:function(){return i.Parser}});var a=it;Object.defineProperty(r,"DomHandler",{enumerable:!0,get:function(){return a.DomHandler}}),Object.defineProperty(r,"DefaultHandler",{enumerable:!0,get:function(){return a.DomHandler}});function c(d,v){var h=new a.DomHandler(void 0,v);return new i.Parser(h,v).end(d),h.root}r.parseDocument=c;function l(d,v){return c(d,v).children}r.parseDOM=l;function f(d,v,h){var L=new a.DomHandler(d,v,h);return new i.Parser(L,v)}r.createDomStream=f;var p=Wt;Object.defineProperty(r,"Tokenizer",{enumerable:!0,get:function(){return o(p).default}});var b=s(qt);r.ElementType=b,n(mt,r),r.DomUtils=s(Pe);var w=mt;Object.defineProperty(r,"RssHandler",{enumerable:!0,get:function(){return w.FeedHandler}})}(Er);var Li=r=>{if(typeof r!="string")throw new TypeError("Expected a string");return r.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")},Fe={};Object.defineProperty(Fe,"__esModule",{value:!0});/*!
|
||
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
||
*
|
||
* Copyright (c) 2014-2017, Jon Schlinkert.
|
||
* Released under the MIT License.
|
||
*/function ws(r){return Object.prototype.toString.call(r)==="[object Object]"}function Oi(r){var t,e;return ws(r)===!1?!1:(t=r.constructor,t===void 0?!0:(e=t.prototype,!(ws(e)===!1||e.hasOwnProperty("isPrototypeOf")===!1)))}Fe.isPlainObject=Oi;var Ni=function(t){return ki(t)&&!$i(t)};function ki(r){return!!r&&typeof r=="object"}function $i(r){var t=Object.prototype.toString.call(r);return t==="[object RegExp]"||t==="[object Date]"||Ii(r)}var Ri=typeof Symbol=="function"&&Symbol.for,Pi=Ri?Symbol.for("react.element"):60103;function Ii(r){return r.$$typeof===Pi}function Mi(r){return Array.isArray(r)?[]:{}}function $t(r,t){return t.clone!==!1&&t.isMergeableObject(r)?_t(Mi(r),r,t):r}function Bi(r,t,e){return r.concat(t).map(function(s){return $t(s,e)})}function Ui(r,t){if(!t.customMerge)return _t;var e=t.customMerge(r);return typeof e=="function"?e:_t}function ji(r){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(r).filter(function(t){return r.propertyIsEnumerable(t)}):[]}function xs(r){return Object.keys(r).concat(ji(r))}function Ss(r,t){try{return t in r}catch{return!1}}function Vi(r,t){return Ss(r,t)&&!(Object.hasOwnProperty.call(r,t)&&Object.propertyIsEnumerable.call(r,t))}function Hi(r,t,e){var s={};return e.isMergeableObject(r)&&xs(r).forEach(function(n){s[n]=$t(r[n],e)}),xs(t).forEach(function(n){Vi(r,n)||(Ss(r,n)&&e.isMergeableObject(t[n])?s[n]=Ui(n,e)(r[n],t[n],e):s[n]=$t(t[n],e))}),s}function _t(r,t,e){e=e||{},e.arrayMerge=e.arrayMerge||Bi,e.isMergeableObject=e.isMergeableObject||Ni,e.cloneUnlessOtherwiseSpecified=$t;var s=Array.isArray(t),n=Array.isArray(r),o=s===n;return o?s?e.arrayMerge(r,t,e):Hi(r,t,e):$t(t,e)}_t.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(s,n){return _t(s,n,e)},{})};var zi=_t,Fi=zi,qs={exports:{}};(function(r){(function(t,e){r.exports?r.exports=e():t.parseSrcset=e()})(y,function(){return function(t){function e(C){return C===" "||C===" "||C===`
|
||
`||C==="\f"||C==="\r"}function s(C){var j,V=C.exec(t.substring(h));if(V)return j=V[0],h+=j.length,j}for(var n=t.length,o=/^[ \t\n\r\u000c]+/,i=/^[, \t\n\r\u000c]+/,a=/^[^ \t\n\r\u000c]+/,c=/[,]+$/,l=/^\d+$/,f=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,p,b,w,d,v,h=0,L=[];;){if(s(i),h>=n)return L;p=s(a),b=[],p.slice(-1)===","?(p=p.replace(c,""),Y()):U()}function U(){for(s(o),w="",d="in descriptor";;){if(v=t.charAt(h),d==="in descriptor")if(e(v))w&&(b.push(w),w="",d="after descriptor");else if(v===","){h+=1,w&&b.push(w),Y();return}else if(v==="(")w=w+v,d="in parens";else if(v===""){w&&b.push(w),Y();return}else w=w+v;else if(d==="in parens")if(v===")")w=w+v,d="in descriptor";else if(v===""){b.push(w),Y();return}else w=w+v;else if(d==="after descriptor"&&!e(v))if(v===""){Y();return}else d="in descriptor",h-=1;h+=1}}function Y(){var C=!1,j,V,J,H,Q={},et,Ct,ht,dt,u;for(H=0;H<b.length;H++)et=b[H],Ct=et[et.length-1],ht=et.substring(0,et.length-1),dt=parseInt(ht,10),u=parseFloat(ht),l.test(ht)&&Ct==="w"?((j||V)&&(C=!0),dt===0?C=!0:j=dt):f.test(ht)&&Ct==="x"?((j||V||J)&&(C=!0),u<0?C=!0:V=u):l.test(ht)&&Ct==="h"?((J||V)&&(C=!0),dt===0?C=!0:J=dt):C=!0;C?console&&console.log&&console.log("Invalid srcset descriptor found in '"+t+"' at '"+et+"'."):(Q.url=p,j&&(Q.w=j),V&&(Q.d=V),J&&(Q.h=J),L.push(Q))}}})})(qs);var Ge={exports:{}},A=String,Es=function(){return{isColorSupported:!1,reset:A,bold:A,dim:A,italic:A,underline:A,inverse:A,hidden:A,strikethrough:A,black:A,red:A,green:A,yellow:A,blue:A,magenta:A,cyan:A,white:A,gray:A,bgBlack:A,bgRed:A,bgGreen:A,bgYellow:A,bgBlue:A,bgMagenta:A,bgCyan:A,bgWhite:A}};Ge.exports=Es(),Ge.exports.createColors=Es;const tt=qr(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));let Ts=Ge.exports,_s=tt;class Rt extends Error{constructor(t,e,s,n,o,i){super(t),this.name="CssSyntaxError",this.reason=t,o&&(this.file=o),n&&(this.source=n),i&&(this.plugin=i),typeof e<"u"&&typeof s<"u"&&(typeof e=="number"?(this.line=e,this.column=s):(this.line=e.line,this.column=e.column,this.endLine=s.line,this.endColumn=s.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,Rt)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(t){if(!this.source)return"";let e=this.source;t==null&&(t=Ts.isColorSupported),_s&&t&&(e=_s(e));let s=e.split(/\r?\n/),n=Math.max(this.line-3,0),o=Math.min(this.line+2,s.length),i=String(o).length,a,c;if(t){let{bold:l,red:f,gray:p}=Ts.createColors(!0);a=b=>l(f(b)),c=b=>p(b)}else a=c=l=>l;return s.slice(n,o).map((l,f)=>{let p=n+1+f,b=" "+(" "+p).slice(-i)+" | ";if(p===this.line){let w=c(b.replace(/\d/g," "))+l.slice(0,this.column-1).replace(/[^\t]/g," ");return a(">")+c(b)+l+`
|
||
`+w+a("^")}return" "+c(b)+l}).join(`
|
||
`)}toString(){let t=this.showSourceCode();return t&&(t=`
|
||
|
||
`+t+`
|
||
`),this.name+": "+this.message+t}}var We=Rt;Rt.default=Rt;var Pt={};Pt.isClean=Symbol("isClean"),Pt.my=Symbol("my");const As={colon:": ",indent:" ",beforeDecl:`
|
||
`,beforeRule:`
|
||
`,beforeOpen:" ",beforeClose:`
|
||
`,beforeComment:`
|
||
`,after:`
|
||
`,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function Gi(r){return r[0].toUpperCase()+r.slice(1)}class Ye{constructor(t){this.builder=t}stringify(t,e){if(!this[t.type])throw new Error("Unknown AST node type "+t.type+". Maybe you need to change PostCSS stringifier.");this[t.type](t,e)}document(t){this.body(t)}root(t){this.body(t),t.raws.after&&this.builder(t.raws.after)}comment(t){let e=this.raw(t,"left","commentLeft"),s=this.raw(t,"right","commentRight");this.builder("/*"+e+t.text+s+"*/",t)}decl(t,e){let s=this.raw(t,"between","colon"),n=t.prop+s+this.rawValue(t,"value");t.important&&(n+=t.raws.important||" !important"),e&&(n+=";"),this.builder(n,t)}rule(t){this.block(t,this.rawValue(t,"selector")),t.raws.ownSemicolon&&this.builder(t.raws.ownSemicolon,t,"end")}atrule(t,e){let s="@"+t.name,n=t.params?this.rawValue(t,"params"):"";if(typeof t.raws.afterName<"u"?s+=t.raws.afterName:n&&(s+=" "),t.nodes)this.block(t,s+n);else{let o=(t.raws.between||"")+(e?";":"");this.builder(s+n+o,t)}}body(t){let e=t.nodes.length-1;for(;e>0&&t.nodes[e].type==="comment";)e-=1;let s=this.raw(t,"semicolon");for(let n=0;n<t.nodes.length;n++){let o=t.nodes[n],i=this.raw(o,"before");i&&this.builder(i),this.stringify(o,e!==n||s)}}block(t,e){let s=this.raw(t,"between","beforeOpen");this.builder(e+s+"{",t,"start");let n;t.nodes&&t.nodes.length?(this.body(t),n=this.raw(t,"after")):n=this.raw(t,"after","emptyBody"),n&&this.builder(n),this.builder("}",t,"end")}raw(t,e,s){let n;if(s||(s=e),e&&(n=t.raws[e],typeof n<"u"))return n;let o=t.parent;if(s==="before"&&(!o||o.type==="root"&&o.first===t||o&&o.type==="document"))return"";if(!o)return As[s];let i=t.root();if(i.rawCache||(i.rawCache={}),typeof i.rawCache[s]<"u")return i.rawCache[s];if(s==="before"||s==="after")return this.beforeAfter(t,s);{let a="raw"+Gi(s);this[a]?n=this[a](i,t):i.walk(c=>{if(n=c.raws[e],typeof n<"u")return!1})}return typeof n>"u"&&(n=As[s]),i.rawCache[s]=n,n}rawSemicolon(t){let e;return t.walk(s=>{if(s.nodes&&s.nodes.length&&s.last.type==="decl"&&(e=s.raws.semicolon,typeof e<"u"))return!1}),e}rawEmptyBody(t){let e;return t.walk(s=>{if(s.nodes&&s.nodes.length===0&&(e=s.raws.after,typeof e<"u"))return!1}),e}rawIndent(t){if(t.raws.indent)return t.raws.indent;let e;return t.walk(s=>{let n=s.parent;if(n&&n!==t&&n.parent&&n.parent===t&&typeof s.raws.before<"u"){let o=s.raws.before.split(`
|
||
`);return e=o[o.length-1],e=e.replace(/\S/g,""),!1}}),e}rawBeforeComment(t,e){let s;return t.walkComments(n=>{if(typeof n.raws.before<"u")return s=n.raws.before,s.includes(`
|
||
`)&&(s=s.replace(/[^\n]+$/,"")),!1}),typeof s>"u"?s=this.raw(e,null,"beforeDecl"):s&&(s=s.replace(/\S/g,"")),s}rawBeforeDecl(t,e){let s;return t.walkDecls(n=>{if(typeof n.raws.before<"u")return s=n.raws.before,s.includes(`
|
||
`)&&(s=s.replace(/[^\n]+$/,"")),!1}),typeof s>"u"?s=this.raw(e,null,"beforeRule"):s&&(s=s.replace(/\S/g,"")),s}rawBeforeRule(t){let e;return t.walk(s=>{if(s.nodes&&(s.parent!==t||t.first!==s)&&typeof s.raws.before<"u")return e=s.raws.before,e.includes(`
|
||
`)&&(e=e.replace(/[^\n]+$/,"")),!1}),e&&(e=e.replace(/\S/g,"")),e}rawBeforeClose(t){let e;return t.walk(s=>{if(s.nodes&&s.nodes.length>0&&typeof s.raws.after<"u")return e=s.raws.after,e.includes(`
|
||
`)&&(e=e.replace(/[^\n]+$/,"")),!1}),e&&(e=e.replace(/\S/g,"")),e}rawBeforeOpen(t){let e;return t.walk(s=>{if(s.type!=="decl"&&(e=s.raws.between,typeof e<"u"))return!1}),e}rawColon(t){let e;return t.walkDecls(s=>{if(typeof s.raws.between<"u")return e=s.raws.between.replace(/[^\s:]/g,""),!1}),e}beforeAfter(t,e){let s;t.type==="decl"?s=this.raw(t,null,"beforeDecl"):t.type==="comment"?s=this.raw(t,null,"beforeComment"):e==="before"?s=this.raw(t,null,"beforeRule"):s=this.raw(t,null,"beforeClose");let n=t.parent,o=0;for(;n&&n.type!=="root";)o+=1,n=n.parent;if(s.includes(`
|
||
`)){let i=this.raw(t,null,"indent");if(i.length)for(let a=0;a<o;a++)s+=i}return s}rawValue(t,e){let s=t[e],n=t.raws[e];return n&&n.value===s?n.raw:s}}var Cs=Ye;Ye.default=Ye;let Wi=Cs;function Je(r,t){new Wi(t).stringify(r)}var ae=Je;Je.default=Je;let{isClean:ce,my:Yi}=Pt,Ji=We,Xi=Cs,Zi=ae;function Xe(r,t){let e=new r.constructor;for(let s in r){if(!Object.prototype.hasOwnProperty.call(r,s)||s==="proxyCache")continue;let n=r[s],o=typeof n;s==="parent"&&o==="object"?t&&(e[s]=t):s==="source"?e[s]=n:Array.isArray(n)?e[s]=n.map(i=>Xe(i,e)):(o==="object"&&n!==null&&(n=Xe(n)),e[s]=n)}return e}class Ze{constructor(t={}){this.raws={},this[ce]=!1,this[Yi]=!0;for(let e in t)if(e==="nodes"){this.nodes=[];for(let s of t[e])typeof s.clone=="function"?this.append(s.clone()):this.append(s)}else this[e]=t[e]}error(t,e={}){if(this.source){let{start:s,end:n}=this.rangeBy(e);return this.source.input.error(t,{line:s.line,column:s.column},{line:n.line,column:n.column},e)}return new Ji(t)}warn(t,e,s){let n={node:this};for(let o in s)n[o]=s[o];return t.warn(e,n)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(t=Zi){t.stringify&&(t=t.stringify);let e="";return t(this,s=>{e+=s}),e}assign(t={}){for(let e in t)this[e]=t[e];return this}clone(t={}){let e=Xe(this);for(let s in t)e[s]=t[s];return e}cloneBefore(t={}){let e=this.clone(t);return this.parent.insertBefore(this,e),e}cloneAfter(t={}){let e=this.clone(t);return this.parent.insertAfter(this,e),e}replaceWith(...t){if(this.parent){let e=this,s=!1;for(let n of t)n===this?s=!0:s?(this.parent.insertAfter(e,n),e=n):this.parent.insertBefore(e,n);s||this.remove()}return this}next(){if(!this.parent)return;let t=this.parent.index(this);return this.parent.nodes[t+1]}prev(){if(!this.parent)return;let t=this.parent.index(this);return this.parent.nodes[t-1]}before(t){return this.parent.insertBefore(this,t),this}after(t){return this.parent.insertAfter(this,t),this}root(){let t=this;for(;t.parent&&t.parent.type!=="document";)t=t.parent;return t}raw(t,e){return new Xi().raw(this,t,e)}cleanRaws(t){delete this.raws.before,delete this.raws.after,t||delete this.raws.between}toJSON(t,e){let s={},n=e==null;e=e||new Map;let o=0;for(let i in this){if(!Object.prototype.hasOwnProperty.call(this,i)||i==="parent"||i==="proxyCache")continue;let a=this[i];if(Array.isArray(a))s[i]=a.map(c=>typeof c=="object"&&c.toJSON?c.toJSON(null,e):c);else if(typeof a=="object"&&a.toJSON)s[i]=a.toJSON(null,e);else if(i==="source"){let c=e.get(a.input);c==null&&(c=o,e.set(a.input,o),o++),s[i]={inputId:c,start:a.start,end:a.end}}else s[i]=a}return n&&(s.inputs=[...e.keys()].map(i=>i.toJSON())),s}positionInside(t){let e=this.toString(),s=this.source.start.column,n=this.source.start.line;for(let o=0;o<t;o++)e[o]===`
|
||
`?(s=1,n+=1):s+=1;return{line:n,column:s}}positionBy(t){let e=this.source.start;if(t.index)e=this.positionInside(t.index);else if(t.word){let s=this.toString().indexOf(t.word);s!==-1&&(e=this.positionInside(s))}return e}rangeBy(t){let e={line:this.source.start.line,column:this.source.start.column},s=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:e.line,column:e.column+1};if(t.word){let n=this.toString().indexOf(t.word);n!==-1&&(e=this.positionInside(n),s=this.positionInside(n+t.word.length))}else t.start?e={line:t.start.line,column:t.start.column}:t.index&&(e=this.positionInside(t.index)),t.end?s={line:t.end.line,column:t.end.column}:t.endIndex?s=this.positionInside(t.endIndex):t.index&&(s=this.positionInside(t.index+1));return(s.line<e.line||s.line===e.line&&s.column<=e.column)&&(s={line:e.line,column:e.column+1}),{start:e,end:s}}getProxyProcessor(){return{set(t,e,s){return t[e]===s||(t[e]=s,(e==="prop"||e==="value"||e==="name"||e==="params"||e==="important"||e==="text")&&t.markDirty()),!0},get(t,e){return e==="proxyOf"?t:e==="root"?()=>t.root().toProxy():t[e]}}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(t){if(t.postcssNode=this,t.stack&&this.source&&/\n\s{4}at /.test(t.stack)){let e=this.source;t.stack=t.stack.replace(/\n\s{4}at /,`$&${e.input.from}:${e.start.line}:${e.start.column}$&`)}return t}markDirty(){if(this[ce]){this[ce]=!1;let t=this;for(;t=t.parent;)t[ce]=!1}}get proxyOf(){return this}}var le=Ze;Ze.default=Ze;let Qi=le;class Qe extends Qi{constructor(t){t&&typeof t.value<"u"&&typeof t.value!="string"&&(t={...t,value:String(t.value)}),super(t),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}var ue=Qe;Qe.default=Qe;let Ki="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";const ta=qr(Object.freeze(Object.defineProperty({__proto__:null,nanoid:(r=21)=>{let t="",e=r;for(;e--;)t+=Ki[Math.random()*64|0];return t},customAlphabet:(r,t=21)=>(e=t)=>{let s="",n=e;for(;n--;)s+=r[Math.random()*r.length|0];return s}},Symbol.toStringTag,{value:"Module"})));let{SourceMapConsumer:Ds,SourceMapGenerator:Ls}=tt,{existsSync:ea,readFileSync:ra}=tt,{dirname:Ke,join:sa}=tt;function na(r){return Buffer?Buffer.from(r,"base64").toString():window.atob(r)}class tr{constructor(t,e){if(e.map===!1)return;this.loadAnnotation(t),this.inline=this.startWith(this.annotation,"data:");let s=e.map?e.map.prev:void 0,n=this.loadMap(e.from,s);!this.mapFile&&e.from&&(this.mapFile=e.from),this.mapFile&&(this.root=Ke(this.mapFile)),n&&(this.text=n)}consumer(){return this.consumerCache||(this.consumerCache=new Ds(this.text)),this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(t,e){return t?t.substr(0,e.length)===e:!1}getAnnotationURL(t){return t.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}loadAnnotation(t){let e=t.match(/\/\*\s*# sourceMappingURL=/gm);if(!e)return;let s=t.lastIndexOf(e.pop()),n=t.indexOf("*/",s);s>-1&&n>-1&&(this.annotation=this.getAnnotationURL(t.substring(s,n)))}decodeInline(t){let e=/^data:application\/json;charset=utf-?8;base64,/,s=/^data:application\/json;base64,/,n=/^data:application\/json;charset=utf-?8,/,o=/^data:application\/json,/;if(n.test(t)||o.test(t))return decodeURIComponent(t.substr(RegExp.lastMatch.length));if(e.test(t)||s.test(t))return na(t.substr(RegExp.lastMatch.length));let i=t.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+i)}loadFile(t){if(this.root=Ke(t),ea(t))return this.mapFile=t,ra(t,"utf-8").toString().trim()}loadMap(t,e){if(e===!1)return!1;if(e){if(typeof e=="string")return e;if(typeof e=="function"){let s=e(t);if(s){let n=this.loadFile(s);if(!n)throw new Error("Unable to load previous source map: "+s.toString());return n}}else{if(e instanceof Ds)return Ls.fromSourceMap(e).toString();if(e instanceof Ls)return e.toString();if(this.isMap(e))return JSON.stringify(e);throw new Error("Unsupported previous source map format: "+e.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let s=this.annotation;return t&&(s=sa(Ke(t),s)),this.loadFile(s)}}}isMap(t){return typeof t!="object"?!1:typeof t.mappings=="string"||typeof t._mappings=="string"||Array.isArray(t.sections)}}var Os=tr;tr.default=tr;let{SourceMapConsumer:oa,SourceMapGenerator:ia}=tt,{fileURLToPath:Ns,pathToFileURL:fe}=tt,{resolve:er,isAbsolute:rr}=tt,{nanoid:aa}=ta,sr=tt,ks=We,ca=Os,nr=Symbol("fromOffsetCache"),la=Boolean(oa&&ia),$s=Boolean(er&&rr);class pe{constructor(t,e={}){if(t===null||typeof t>"u"||typeof t=="object"&&!t.toString)throw new Error(`PostCSS received ${t} instead of CSS string`);if(this.css=t.toString(),this.css[0]==="\uFEFF"||this.css[0]===""?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,e.from&&(!$s||/^\w+:\/\//.test(e.from)||rr(e.from)?this.file=e.from:this.file=er(e.from)),$s&&la){let s=new ca(this.css,e);if(s.text){this.map=s;let n=s.consumer().file;!this.file&&n&&(this.file=this.mapResolve(n))}}this.file||(this.id="<input css "+aa(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(t){let e,s;if(this[nr])s=this[nr];else{let o=this.css.split(`
|
||
`);s=new Array(o.length);let i=0;for(let a=0,c=o.length;a<c;a++)s[a]=i,i+=o[a].length+1;this[nr]=s}e=s[s.length-1];let n=0;if(t>=e)n=s.length-1;else{let o=s.length-2,i;for(;n<o;)if(i=n+(o-n>>1),t<s[i])o=i-1;else if(t>=s[i+1])n=i+1;else{n=i;break}}return{line:n+1,col:t-s[n]+1}}error(t,e,s,n={}){let o,i,a;if(e&&typeof e=="object"){let l=e,f=s;if(typeof e.offset=="number"){let p=this.fromOffset(l.offset);e=p.line,s=p.col}else e=l.line,s=l.column;if(typeof f.offset=="number"){let p=this.fromOffset(f.offset);i=p.line,a=p.col}else i=f.line,a=f.column}else if(!s){let l=this.fromOffset(e);e=l.line,s=l.col}let c=this.origin(e,s,i,a);return c?o=new ks(t,c.endLine===void 0?c.line:{line:c.line,column:c.column},c.endLine===void 0?c.column:{line:c.endLine,column:c.endColumn},c.source,c.file,n.plugin):o=new ks(t,i===void 0?e:{line:e,column:s},i===void 0?s:{line:i,column:a},this.css,this.file,n.plugin),o.input={line:e,column:s,endLine:i,endColumn:a,source:this.css},this.file&&(fe&&(o.input.url=fe(this.file).toString()),o.input.file=this.file),o}origin(t,e,s,n){if(!this.map)return!1;let o=this.map.consumer(),i=o.originalPositionFor({line:t,column:e});if(!i.source)return!1;let a;typeof s=="number"&&(a=o.originalPositionFor({line:s,column:n}));let c;rr(i.source)?c=fe(i.source):c=new URL(i.source,this.map.consumer().sourceRoot||fe(this.map.mapFile));let l={url:c.toString(),line:i.line,column:i.column,endLine:a&&a.line,endColumn:a&&a.column};if(c.protocol==="file:")if(Ns)l.file=Ns(c);else throw new Error("file: protocol is not available in this PostCSS build");let f=o.sourceContentFor(i.source);return f&&(l.source=f),l}mapResolve(t){return/^\w+:\/\//.test(t)?t:er(this.map.consumer().sourceRoot||this.map.root||".",t)}get from(){return this.file||this.id}toJSON(){let t={};for(let e of["hasBOM","css","file","id"])this[e]!=null&&(t[e]=this[e]);return this.map&&(t.map={...this.map},t.map.consumerCache&&(t.map.consumerCache=void 0)),t}}var he=pe;pe.default=pe,sr&&sr.registerInput&&sr.registerInput(pe);let{SourceMapConsumer:Rs,SourceMapGenerator:de}=tt,{dirname:ge,resolve:Ps,relative:Is,sep:Ms}=tt,{pathToFileURL:Bs}=tt,ua=he,fa=Boolean(Rs&&de),pa=Boolean(ge&&Ps&&Is&&Ms);class ha{constructor(t,e,s,n){this.stringify=t,this.mapOpts=s.map||{},this.root=e,this.opts=s,this.css=n}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(t=>{if(t.source&&t.source.input.map){let e=t.source.input.map;this.previousMaps.includes(e)||this.previousMaps.push(e)}});else{let t=new ua(this.css,this.opts);t.map&&this.previousMaps.push(t.map)}return this.previousMaps}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let t=this.mapOpts.annotation;return typeof t<"u"&&t!==!0?!1:this.previous().length?this.previous().some(e=>e.inline):!0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(t=>t.withContent()):!0}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let t;for(let e=this.root.nodes.length-1;e>=0;e--)t=this.root.nodes[e],t.type==="comment"&&t.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(e)}else this.css&&(this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,""))}setSourcesContent(){let t={};if(this.root)this.root.walk(e=>{if(e.source){let s=e.source.input.from;s&&!t[s]&&(t[s]=!0,this.map.setSourceContent(this.toUrl(this.path(s)),e.source.input.css))}});else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(e,this.css)}}applyPrevMaps(){for(let t of this.previous()){let e=this.toUrl(this.path(t.file)),s=t.root||ge(t.file),n;this.mapOpts.sourcesContent===!1?(n=new Rs(t.text),n.sourcesContent&&(n.sourcesContent=n.sourcesContent.map(()=>null))):n=t.consumer(),this.map.applySourceMap(n,e,this.toUrl(this.path(s)))}}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(t=>t.annotation):!0}toBase64(t){return Buffer?Buffer.from(t).toString("base64"):window.btoa(unescape(encodeURIComponent(t)))}addAnnotation(){let t;this.isInline()?t="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?t=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?t=this.mapOpts.annotation(this.opts.to,this.root):t=this.outputFile()+".map";let e=`
|
||
`;this.css.includes(`\r
|
||
`)&&(e=`\r
|
||
`),this.css+=e+"/*# sourceMappingURL="+t+" */"}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let t=this.previous()[0].consumer();t.file=this.outputFile(),this.map=de.fromSourceMap(t)}else this.map=new de({file:this.outputFile()}),this.map.addMapping({source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>",generated:{line:1,column:0},original:{line:1,column:0}});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}path(t){if(t.indexOf("<")===0||/^\w+:\/\//.test(t)||this.mapOpts.absolute)return t;let e=this.opts.to?ge(this.opts.to):".";return typeof this.mapOpts.annotation=="string"&&(e=ge(Ps(e,this.mapOpts.annotation))),t=Is(e,t),t}toUrl(t){return Ms==="\\"&&(t=t.replace(/\\/g,"/")),encodeURI(t).replace(/[#?]/g,encodeURIComponent)}sourcePath(t){if(this.mapOpts.from)return this.toUrl(this.mapOpts.from);if(this.mapOpts.absolute){if(Bs)return Bs(t.source.input.from).toString();throw new Error("`map.absolute` option is not available in this PostCSS build")}else return this.toUrl(this.path(t.source.input.from))}generateString(){this.css="",this.map=new de({file:this.outputFile()});let t=1,e=1,s="<no source>",n={source:"",generated:{line:0,column:0},original:{line:0,column:0}},o,i;this.stringify(this.root,(a,c,l)=>{if(this.css+=a,c&&l!=="end"&&(n.generated.line=t,n.generated.column=e-1,c.source&&c.source.start?(n.source=this.sourcePath(c),n.original.line=c.source.start.line,n.original.column=c.source.start.column-1,this.map.addMapping(n)):(n.source=s,n.original.line=1,n.original.column=0,this.map.addMapping(n))),o=a.match(/\n/g),o?(t+=o.length,i=a.lastIndexOf(`
|
||
`),e=a.length-i):e+=a.length,c&&l!=="start"){let f=c.parent||{raws:{}};(c.type!=="decl"||c!==f.last||f.raws.semicolon)&&(c.source&&c.source.end?(n.source=this.sourcePath(c),n.original.line=c.source.end.line,n.original.column=c.source.end.column-1,n.generated.line=t,n.generated.column=e-2,this.map.addMapping(n)):(n.source=s,n.original.line=1,n.original.column=0,n.generated.line=t,n.generated.column=e-1,this.map.addMapping(n)))}})}generate(){if(this.clearAnnotation(),pa&&fa&&this.isMap())return this.generateMap();{let t="";return this.stringify(this.root,e=>{t+=e}),[t]}}}var Us=ha;let da=le;class or extends da{constructor(t){super(t),this.type="comment"}}var me=or;or.default=or;let{isClean:js,my:Vs}=Pt,Hs=ue,zs=me,ga=le,Fs,ir,ar;function Gs(r){return r.map(t=>(t.nodes&&(t.nodes=Gs(t.nodes)),delete t.source,t))}function Ws(r){if(r[js]=!1,r.proxyOf.nodes)for(let t of r.proxyOf.nodes)Ws(t)}class nt extends ga{push(t){return t.parent=this,this.proxyOf.nodes.push(t),this}each(t){if(!this.proxyOf.nodes)return;let e=this.getIterator(),s,n;for(;this.indexes[e]<this.proxyOf.nodes.length&&(s=this.indexes[e],n=t(this.proxyOf.nodes[s],s),n!==!1);)this.indexes[e]+=1;return delete this.indexes[e],n}walk(t){return this.each((e,s)=>{let n;try{n=t(e,s)}catch(o){throw e.addToError(o)}return n!==!1&&e.walk&&(n=e.walk(t)),n})}walkDecls(t,e){return e?t instanceof RegExp?this.walk((s,n)=>{if(s.type==="decl"&&t.test(s.prop))return e(s,n)}):this.walk((s,n)=>{if(s.type==="decl"&&s.prop===t)return e(s,n)}):(e=t,this.walk((s,n)=>{if(s.type==="decl")return e(s,n)}))}walkRules(t,e){return e?t instanceof RegExp?this.walk((s,n)=>{if(s.type==="rule"&&t.test(s.selector))return e(s,n)}):this.walk((s,n)=>{if(s.type==="rule"&&s.selector===t)return e(s,n)}):(e=t,this.walk((s,n)=>{if(s.type==="rule")return e(s,n)}))}walkAtRules(t,e){return e?t instanceof RegExp?this.walk((s,n)=>{if(s.type==="atrule"&&t.test(s.name))return e(s,n)}):this.walk((s,n)=>{if(s.type==="atrule"&&s.name===t)return e(s,n)}):(e=t,this.walk((s,n)=>{if(s.type==="atrule")return e(s,n)}))}walkComments(t){return this.walk((e,s)=>{if(e.type==="comment")return t(e,s)})}append(...t){for(let e of t){let s=this.normalize(e,this.last);for(let n of s)this.proxyOf.nodes.push(n)}return this.markDirty(),this}prepend(...t){t=t.reverse();for(let e of t){let s=this.normalize(e,this.first,"prepend").reverse();for(let n of s)this.proxyOf.nodes.unshift(n);for(let n in this.indexes)this.indexes[n]=this.indexes[n]+s.length}return this.markDirty(),this}cleanRaws(t){if(super.cleanRaws(t),this.nodes)for(let e of this.nodes)e.cleanRaws(t)}insertBefore(t,e){t=this.index(t);let s=t===0?"prepend":!1,n=this.normalize(e,this.proxyOf.nodes[t],s).reverse();for(let i of n)this.proxyOf.nodes.splice(t,0,i);let o;for(let i in this.indexes)o=this.indexes[i],t<=o&&(this.indexes[i]=o+n.length);return this.markDirty(),this}insertAfter(t,e){t=this.index(t);let s=this.normalize(e,this.proxyOf.nodes[t]).reverse();for(let o of s)this.proxyOf.nodes.splice(t+1,0,o);let n;for(let o in this.indexes)n=this.indexes[o],t<n&&(this.indexes[o]=n+s.length);return this.markDirty(),this}removeChild(t){t=this.index(t),this.proxyOf.nodes[t].parent=void 0,this.proxyOf.nodes.splice(t,1);let e;for(let s in this.indexes)e=this.indexes[s],e>=t&&(this.indexes[s]=e-1);return this.markDirty(),this}removeAll(){for(let t of this.proxyOf.nodes)t.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(t,e,s){return s||(s=e,e={}),this.walkDecls(n=>{e.props&&!e.props.includes(n.prop)||e.fast&&!n.value.includes(e.fast)||(n.value=n.value.replace(t,s))}),this.markDirty(),this}every(t){return this.nodes.every(t)}some(t){return this.nodes.some(t)}index(t){return typeof t=="number"?t:(t.proxyOf&&(t=t.proxyOf),this.proxyOf.nodes.indexOf(t))}get first(){if(!!this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(!!this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(t,e){if(typeof t=="string")t=Gs(Fs(t).nodes);else if(Array.isArray(t)){t=t.slice(0);for(let n of t)n.parent&&n.parent.removeChild(n,"ignore")}else if(t.type==="root"&&this.type!=="document"){t=t.nodes.slice(0);for(let n of t)n.parent&&n.parent.removeChild(n,"ignore")}else if(t.type)t=[t];else if(t.prop){if(typeof t.value>"u")throw new Error("Value field is missed in node creation");typeof t.value!="string"&&(t.value=String(t.value)),t=[new Hs(t)]}else if(t.selector)t=[new ir(t)];else if(t.name)t=[new ar(t)];else if(t.text)t=[new zs(t)];else throw new Error("Unknown node type in node creation");return t.map(n=>(n[Vs]||nt.rebuild(n),n=n.proxyOf,n.parent&&n.parent.removeChild(n),n[js]&&Ws(n),typeof n.raws.before>"u"&&e&&typeof e.raws.before<"u"&&(n.raws.before=e.raws.before.replace(/\S/g,"")),n.parent=this,n))}getProxyProcessor(){return{set(t,e,s){return t[e]===s||(t[e]=s,(e==="name"||e==="params"||e==="selector")&&t.markDirty()),!0},get(t,e){return e==="proxyOf"?t:t[e]?e==="each"||typeof e=="string"&&e.startsWith("walk")?(...s)=>t[e](...s.map(n=>typeof n=="function"?(o,i)=>n(o.toProxy(),i):n)):e==="every"||e==="some"?s=>t[e]((n,...o)=>s(n.toProxy(),...o)):e==="root"?()=>t.root().toProxy():e==="nodes"?t.nodes.map(s=>s.toProxy()):e==="first"||e==="last"?t[e].toProxy():t[e]:t[e]}}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let t=this.lastEach;return this.indexes[t]=0,t}}nt.registerParse=r=>{Fs=r},nt.registerRule=r=>{ir=r},nt.registerAtRule=r=>{ar=r};var wt=nt;nt.default=nt,nt.rebuild=r=>{r.type==="atrule"?Object.setPrototypeOf(r,ar.prototype):r.type==="rule"?Object.setPrototypeOf(r,ir.prototype):r.type==="decl"?Object.setPrototypeOf(r,Hs.prototype):r.type==="comment"&&Object.setPrototypeOf(r,zs.prototype),r[Vs]=!0,r.nodes&&r.nodes.forEach(t=>{nt.rebuild(t)})};let ma=wt,Ys,Js;class It extends ma{constructor(t){super({type:"document",...t}),this.nodes||(this.nodes=[])}toResult(t={}){return new Ys(new Js,this,t).stringify()}}It.registerLazyResult=r=>{Ys=r},It.registerProcessor=r=>{Js=r};var cr=It;It.default=It;let Xs={};var Zs=function(t){Xs[t]||(Xs[t]=!0,typeof console<"u"&&console.warn&&console.warn(t))};class lr{constructor(t,e={}){if(this.type="warning",this.text=t,e.node&&e.node.source){let s=e.node.rangeBy(e);this.line=s.start.line,this.column=s.start.column,this.endLine=s.end.line,this.endColumn=s.end.column}for(let s in e)this[s]=e[s]}toString(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}var Qs=lr;lr.default=lr;let ba=Qs;class ur{constructor(t,e,s){this.processor=t,this.messages=[],this.root=e,this.opts=s,this.css=void 0,this.map=void 0}toString(){return this.css}warn(t,e={}){e.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(e.plugin=this.lastPlugin.postcssPlugin);let s=new ba(t,e);return this.messages.push(s),s}warnings(){return this.messages.filter(t=>t.type==="warning")}get content(){return this.css}}var fr=ur;ur.default=ur;const pr="'".charCodeAt(0),Ks='"'.charCodeAt(0),be="\\".charCodeAt(0),tn="/".charCodeAt(0),ye=`
|
||
`.charCodeAt(0),Mt=" ".charCodeAt(0),ve="\f".charCodeAt(0),we=" ".charCodeAt(0),xe="\r".charCodeAt(0),ya="[".charCodeAt(0),va="]".charCodeAt(0),wa="(".charCodeAt(0),xa=")".charCodeAt(0),Sa="{".charCodeAt(0),qa="}".charCodeAt(0),Ea=";".charCodeAt(0),Ta="*".charCodeAt(0),_a=":".charCodeAt(0),Aa="@".charCodeAt(0),Se=/[\t\n\f\r "#'()/;[\\\]{}]/g,qe=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Ca=/.[\n"'(/\\]/,en=/[\da-f]/i;var Da=function(t,e={}){let s=t.css.valueOf(),n=e.ignoreErrors,o,i,a,c,l,f,p,b,w,d,v=s.length,h=0,L=[],U=[];function Y(){return h}function C(H){throw t.error("Unclosed "+H,h)}function j(){return U.length===0&&h>=v}function V(H){if(U.length)return U.pop();if(h>=v)return;let Q=H?H.ignoreUnclosed:!1;switch(o=s.charCodeAt(h),o){case ye:case Mt:case we:case xe:case ve:{i=h;do i+=1,o=s.charCodeAt(i);while(o===Mt||o===ye||o===we||o===xe||o===ve);d=["space",s.slice(h,i)],h=i-1;break}case ya:case va:case Sa:case qa:case _a:case Ea:case xa:{let et=String.fromCharCode(o);d=[et,et,h];break}case wa:{if(b=L.length?L.pop()[1]:"",w=s.charCodeAt(h+1),b==="url"&&w!==pr&&w!==Ks&&w!==Mt&&w!==ye&&w!==we&&w!==ve&&w!==xe){i=h;do{if(f=!1,i=s.indexOf(")",i+1),i===-1)if(n||Q){i=h;break}else C("bracket");for(p=i;s.charCodeAt(p-1)===be;)p-=1,f=!f}while(f);d=["brackets",s.slice(h,i+1),h,i],h=i}else i=s.indexOf(")",h+1),c=s.slice(h,i+1),i===-1||Ca.test(c)?d=["(","(",h]:(d=["brackets",c,h,i],h=i);break}case pr:case Ks:{a=o===pr?"'":'"',i=h;do{if(f=!1,i=s.indexOf(a,i+1),i===-1)if(n||Q){i=h+1;break}else C("string");for(p=i;s.charCodeAt(p-1)===be;)p-=1,f=!f}while(f);d=["string",s.slice(h,i+1),h,i],h=i;break}case Aa:{Se.lastIndex=h+1,Se.test(s),Se.lastIndex===0?i=s.length-1:i=Se.lastIndex-2,d=["at-word",s.slice(h,i+1),h,i],h=i;break}case be:{for(i=h,l=!0;s.charCodeAt(i+1)===be;)i+=1,l=!l;if(o=s.charCodeAt(i+1),l&&o!==tn&&o!==Mt&&o!==ye&&o!==we&&o!==xe&&o!==ve&&(i+=1,en.test(s.charAt(i)))){for(;en.test(s.charAt(i+1));)i+=1;s.charCodeAt(i+1)===Mt&&(i+=1)}d=["word",s.slice(h,i+1),h,i],h=i;break}default:{o===tn&&s.charCodeAt(h+1)===Ta?(i=s.indexOf("*/",h+2)+1,i===0&&(n||Q?i=s.length:C("comment")),d=["comment",s.slice(h,i+1),h,i],h=i):(qe.lastIndex=h+1,qe.test(s),qe.lastIndex===0?i=s.length-1:i=qe.lastIndex-2,d=["word",s.slice(h,i+1),h,i],L.push(d),h=i);break}}return h++,d}function J(H){U.push(H)}return{back:J,nextToken:V,endOfFile:j,position:Y}};let rn=wt;class Ee extends rn{constructor(t){super(t),this.type="atrule"}append(...t){return this.proxyOf.nodes||(this.nodes=[]),super.append(...t)}prepend(...t){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...t)}}var hr=Ee;Ee.default=Ee,rn.registerAtRule(Ee);let La=wt,sn,nn;class Bt extends La{constructor(t){super(t),this.type="root",this.nodes||(this.nodes=[])}removeChild(t,e){let s=this.index(t);return!e&&s===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[s].raws.before),super.removeChild(t)}normalize(t,e,s){let n=super.normalize(t);if(e){if(s==="prepend")this.nodes.length>1?e.raws.before=this.nodes[1].raws.before:delete e.raws.before;else if(this.first!==e)for(let o of n)o.raws.before=e.raws.before}return n}toResult(t={}){return new sn(new nn,this,t).stringify()}}Bt.registerLazyResult=r=>{sn=r},Bt.registerProcessor=r=>{nn=r};var Ut=Bt;Bt.default=Bt;let jt={split(r,t,e){let s=[],n="",o=!1,i=0,a=!1,c=!1;for(let l of r)c?c=!1:l==="\\"?c=!0:a?l===a&&(a=!1):l==='"'||l==="'"?a=l:l==="("?i+=1:l===")"?i>0&&(i-=1):i===0&&t.includes(l)&&(o=!0),o?(n!==""&&s.push(n.trim()),n="",o=!1):n+=l;return(e||n!=="")&&s.push(n.trim()),s},space(r){let t=[" ",`
|
||
`," "];return jt.split(r,t)},comma(r){return jt.split(r,[","],!0)}};var on=jt;jt.default=jt;let an=wt,Oa=on;class Te extends an{constructor(t){super(t),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return Oa.comma(this.selector)}set selectors(t){let e=this.selector?this.selector.match(/,\s*/):null,s=e?e[0]:","+this.raw("between","beforeOpen");this.selector=t.join(s)}}var dr=Te;Te.default=Te,an.registerRule(Te);let Na=ue,ka=Da,$a=me,Ra=hr,Pa=Ut,cn=dr;const ln={empty:!0,space:!0};function Ia(r){for(let t=r.length-1;t>=0;t--){let e=r[t],s=e[3]||e[2];if(s)return s}}class Ma{constructor(t){this.input=t,this.root=new Pa,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:t,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=ka(this.input)}parse(){let t;for(;!this.tokenizer.endOfFile();)switch(t=this.tokenizer.nextToken(),t[0]){case"space":this.spaces+=t[1];break;case";":this.freeSemicolon(t);break;case"}":this.end(t);break;case"comment":this.comment(t);break;case"at-word":this.atrule(t);break;case"{":this.emptyRule(t);break;default:this.other(t);break}this.endFile()}comment(t){let e=new $a;this.init(e,t[2]),e.source.end=this.getPosition(t[3]||t[2]);let s=t[1].slice(2,-2);if(/^\s*$/.test(s))e.text="",e.raws.left=s,e.raws.right="";else{let n=s.match(/^(\s*)([^]*\S)(\s*)$/);e.text=n[2],e.raws.left=n[1],e.raws.right=n[3]}}emptyRule(t){let e=new cn;this.init(e,t[2]),e.selector="",e.raws.between="",this.current=e}other(t){let e=!1,s=null,n=!1,o=null,i=[],a=t[1].startsWith("--"),c=[],l=t;for(;l;){if(s=l[0],c.push(l),s==="("||s==="[")o||(o=l),i.push(s==="("?")":"]");else if(a&&n&&s==="{")o||(o=l),i.push("}");else if(i.length===0)if(s===";")if(n){this.decl(c,a);return}else break;else if(s==="{"){this.rule(c);return}else if(s==="}"){this.tokenizer.back(c.pop()),e=!0;break}else s===":"&&(n=!0);else s===i[i.length-1]&&(i.pop(),i.length===0&&(o=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(e=!0),i.length>0&&this.unclosedBracket(o),e&&n){if(!a)for(;c.length&&(l=c[c.length-1][0],!(l!=="space"&&l!=="comment"));)this.tokenizer.back(c.pop());this.decl(c,a)}else this.unknownWord(c)}rule(t){t.pop();let e=new cn;this.init(e,t[0][2]),e.raws.between=this.spacesAndCommentsFromEnd(t),this.raw(e,"selector",t),this.current=e}decl(t,e){let s=new Na;this.init(s,t[0][2]);let n=t[t.length-1];for(n[0]===";"&&(this.semicolon=!0,t.pop()),s.source.end=this.getPosition(n[3]||n[2]||Ia(t));t[0][0]!=="word";)t.length===1&&this.unknownWord(t),s.raws.before+=t.shift()[1];for(s.source.start=this.getPosition(t[0][2]),s.prop="";t.length;){let l=t[0][0];if(l===":"||l==="space"||l==="comment")break;s.prop+=t.shift()[1]}s.raws.between="";let o;for(;t.length;)if(o=t.shift(),o[0]===":"){s.raws.between+=o[1];break}else o[0]==="word"&&/\w/.test(o[1])&&this.unknownWord([o]),s.raws.between+=o[1];(s.prop[0]==="_"||s.prop[0]==="*")&&(s.raws.before+=s.prop[0],s.prop=s.prop.slice(1));let i=[],a;for(;t.length&&(a=t[0][0],!(a!=="space"&&a!=="comment"));)i.push(t.shift());this.precheckMissedSemicolon(t);for(let l=t.length-1;l>=0;l--){if(o=t[l],o[1].toLowerCase()==="!important"){s.important=!0;let f=this.stringFrom(t,l);f=this.spacesFromEnd(t)+f,f!==" !important"&&(s.raws.important=f);break}else if(o[1].toLowerCase()==="important"){let f=t.slice(0),p="";for(let b=l;b>0;b--){let w=f[b][0];if(p.trim().indexOf("!")===0&&w!=="space")break;p=f.pop()[1]+p}p.trim().indexOf("!")===0&&(s.important=!0,s.raws.important=p,t=f)}if(o[0]!=="space"&&o[0]!=="comment")break}t.some(l=>l[0]!=="space"&&l[0]!=="comment")&&(s.raws.between+=i.map(l=>l[1]).join(""),i=[]),this.raw(s,"value",i.concat(t),e),s.value.includes(":")&&!e&&this.checkMissedSemicolon(t)}atrule(t){let e=new Ra;e.name=t[1].slice(1),e.name===""&&this.unnamedAtrule(e,t),this.init(e,t[2]);let s,n,o,i=!1,a=!1,c=[],l=[];for(;!this.tokenizer.endOfFile();){if(t=this.tokenizer.nextToken(),s=t[0],s==="("||s==="["?l.push(s==="("?")":"]"):s==="{"&&l.length>0?l.push("}"):s===l[l.length-1]&&l.pop(),l.length===0)if(s===";"){e.source.end=this.getPosition(t[2]),this.semicolon=!0;break}else if(s==="{"){a=!0;break}else if(s==="}"){if(c.length>0){for(o=c.length-1,n=c[o];n&&n[0]==="space";)n=c[--o];n&&(e.source.end=this.getPosition(n[3]||n[2]))}this.end(t);break}else c.push(t);else c.push(t);if(this.tokenizer.endOfFile()){i=!0;break}}e.raws.between=this.spacesAndCommentsFromEnd(c),c.length?(e.raws.afterName=this.spacesAndCommentsFromStart(c),this.raw(e,"params",c),i&&(t=c[c.length-1],e.source.end=this.getPosition(t[3]||t[2]),this.spaces=e.raws.between,e.raws.between="")):(e.raws.afterName="",e.params=""),a&&(e.nodes=[],this.current=e)}end(t){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(t[2]),this.current=this.current.parent):this.unexpectedClose(t)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces}freeSemicolon(t){if(this.spaces+=t[1],this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];e&&e.type==="rule"&&!e.raws.ownSemicolon&&(e.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(t){let e=this.input.fromOffset(t);return{offset:t,line:e.line,column:e.col}}init(t,e){this.current.push(t),t.source={start:this.getPosition(e),input:this.input},t.raws.before=this.spaces,this.spaces="",t.type!=="comment"&&(this.semicolon=!1)}raw(t,e,s,n){let o,i,a=s.length,c="",l=!0,f,p;for(let b=0;b<a;b+=1)o=s[b],i=o[0],i==="space"&&b===a-1&&!n?l=!1:i==="comment"?(p=s[b-1]?s[b-1][0]:"empty",f=s[b+1]?s[b+1][0]:"empty",!ln[p]&&!ln[f]?c.slice(-1)===","?l=!1:c+=o[1]:l=!1):c+=o[1];if(!l){let b=s.reduce((w,d)=>w+d[1],"");t.raws[e]={value:c,raw:b}}t[e]=c}spacesAndCommentsFromEnd(t){let e,s="";for(;t.length&&(e=t[t.length-1][0],!(e!=="space"&&e!=="comment"));)s=t.pop()[1]+s;return s}spacesAndCommentsFromStart(t){let e,s="";for(;t.length&&(e=t[0][0],!(e!=="space"&&e!=="comment"));)s+=t.shift()[1];return s}spacesFromEnd(t){let e,s="";for(;t.length&&(e=t[t.length-1][0],e==="space");)s=t.pop()[1]+s;return s}stringFrom(t,e){let s="";for(let n=e;n<t.length;n++)s+=t[n][1];return t.splice(e,t.length-e),s}colon(t){let e=0,s,n,o;for(let[i,a]of t.entries()){if(s=a,n=s[0],n==="("&&(e+=1),n===")"&&(e-=1),e===0&&n===":")if(!o)this.doubleColon(s);else{if(o[0]==="word"&&o[1]==="progid")continue;return i}o=s}return!1}unclosedBracket(t){throw this.input.error("Unclosed bracket",{offset:t[2]},{offset:t[2]+1})}unknownWord(t){throw this.input.error("Unknown word",{offset:t[0][2]},{offset:t[0][2]+t[0][1].length})}unexpectedClose(t){throw this.input.error("Unexpected }",{offset:t[2]},{offset:t[2]+1})}unclosedBlock(){let t=this.current.source.start;throw this.input.error("Unclosed block",t.line,t.column)}doubleColon(t){throw this.input.error("Double colon",{offset:t[2]},{offset:t[2]+t[1].length})}unnamedAtrule(t,e){throw this.input.error("At-rule without name",{offset:e[2]},{offset:e[2]+e[1].length})}precheckMissedSemicolon(){}checkMissedSemicolon(t){let e=this.colon(t);if(e===!1)return;let s=0,n;for(let o=e-1;o>=0&&(n=t[o],!(n[0]!=="space"&&(s+=1,s===2)));o--);throw this.input.error("Missed semicolon",n[0]==="word"?n[3]+1:n[2])}}var Ba=Ma;let Ua=wt,ja=Ba,Va=he;function _e(r,t){let e=new Va(r,t),s=new ja(e);try{s.parse()}catch(n){throw process.env.NODE_ENV!=="production"&&n.name==="CssSyntaxError"&&t&&t.from&&(/\.scss$/i.test(t.from)?n.message+=`
|
||
You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser`:/\.sass/i.test(t.from)?n.message+=`
|
||
You tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser`:/\.less$/i.test(t.from)&&(n.message+=`
|
||
You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)),n}return s.root}var gr=_e;_e.default=_e,Ua.registerParse(_e);let{isClean:ot,my:Ha}=Pt,za=Us,Fa=ae,Ga=wt,Wa=cr,Ya=Zs,un=fr,Ja=gr,Xa=Ut;const Za={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},Qa={postcssPlugin:!0,prepare:!0,Once:!0,Document:!0,Root:!0,Declaration:!0,Rule:!0,AtRule:!0,Comment:!0,DeclarationExit:!0,RuleExit:!0,AtRuleExit:!0,CommentExit:!0,RootExit:!0,DocumentExit:!0,OnceExit:!0},Ka={postcssPlugin:!0,prepare:!0,Once:!0},At=0;function Vt(r){return typeof r=="object"&&typeof r.then=="function"}function fn(r){let t=!1,e=Za[r.type];return r.type==="decl"?t=r.prop.toLowerCase():r.type==="atrule"&&(t=r.name.toLowerCase()),t&&r.append?[e,e+"-"+t,At,e+"Exit",e+"Exit-"+t]:t?[e,e+"-"+t,e+"Exit",e+"Exit-"+t]:r.append?[e,At,e+"Exit"]:[e,e+"Exit"]}function pn(r){let t;return r.type==="document"?t=["Document",At,"DocumentExit"]:r.type==="root"?t=["Root",At,"RootExit"]:t=fn(r),{node:r,events:t,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function mr(r){return r[ot]=!1,r.nodes&&r.nodes.forEach(t=>mr(t)),r}let br={};class pt{constructor(t,e,s){this.stringified=!1,this.processed=!1;let n;if(typeof e=="object"&&e!==null&&(e.type==="root"||e.type==="document"))n=mr(e);else if(e instanceof pt||e instanceof un)n=mr(e.root),e.map&&(typeof s.map>"u"&&(s.map={}),s.map.inline||(s.map.inline=!1),s.map.prev=e.map);else{let o=Ja;s.syntax&&(o=s.syntax.parse),s.parser&&(o=s.parser),o.parse&&(o=o.parse);try{n=o(e,s)}catch(i){this.processed=!0,this.error=i}n&&!n[Ha]&&Ga.rebuild(n)}this.result=new un(t,n,s),this.helpers={...br,result:this.result,postcss:br},this.plugins=this.processor.plugins.map(o=>typeof o=="object"&&o.prepare?{...o,...o.prepare(this.result)}:o)}get[Symbol.toStringTag](){return"LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(t,e){return process.env.NODE_ENV!=="production"&&("from"in this.opts||Ya("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(t,e)}catch(t){return this.async().catch(t)}finally(t){return this.async().then(t,t)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let t of this.plugins){let e=this.runOnRoot(t);if(Vt(e))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let t=this.result.root;for(;!t[ot];)t[ot]=!0,this.walkSync(t);if(this.listeners.OnceExit)if(t.type==="document")for(let e of t.nodes)this.visitSync(this.listeners.OnceExit,e);else this.visitSync(this.listeners.OnceExit,t)}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let t=this.result.opts,e=Fa;t.syntax&&(e=t.syntax.stringify),t.stringifier&&(e=t.stringifier),e.stringify&&(e=e.stringify);let n=new za(e,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result}walkSync(t){t[ot]=!0;let e=fn(t);for(let s of e)if(s===At)t.nodes&&t.each(n=>{n[ot]||this.walkSync(n)});else{let n=this.listeners[s];if(n&&this.visitSync(n,t.toProxy()))return}}visitSync(t,e){for(let[s,n]of t){this.result.lastPlugin=s;let o;try{o=n(e,this.helpers)}catch(i){throw this.handleError(i,e.proxyOf)}if(e.type!=="root"&&e.type!=="document"&&!e.parent)return!0;if(Vt(o))throw this.getAsyncError()}}runOnRoot(t){this.result.lastPlugin=t;try{if(typeof t=="object"&&t.Once){if(this.result.root.type==="document"){let e=this.result.root.nodes.map(s=>t.Once(s,this.helpers));return Vt(e[0])?Promise.all(e):e}return t.Once(this.result.root,this.helpers)}else if(typeof t=="function")return t(this.result.root,this.result)}catch(e){throw this.handleError(e)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(t,e){let s=this.result.lastPlugin;try{if(e&&e.addToError(t),this.error=t,t.name==="CssSyntaxError"&&!t.plugin)t.plugin=s.postcssPlugin,t.setMessage();else if(s.postcssVersion&&process.env.NODE_ENV!=="production"){let n=s.postcssPlugin,o=s.postcssVersion,i=this.result.processor.version,a=o.split("."),c=i.split(".");(a[0]!==c[0]||parseInt(a[1])>parseInt(c[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+i+", but "+n+" uses "+o+". Perhaps this is the source of the error below.")}}catch(n){console&&console.error&&console.error(n)}return t}async runAsync(){this.plugin=0;for(let t=0;t<this.plugins.length;t++){let e=this.plugins[t],s=this.runOnRoot(e);if(Vt(s))try{await s}catch(n){throw this.handleError(n)}}if(this.prepareVisitors(),this.hasListener){let t=this.result.root;for(;!t[ot];){t[ot]=!0;let e=[pn(t)];for(;e.length>0;){let s=this.visitTick(e);if(Vt(s))try{await s}catch(n){let o=e[e.length-1].node;throw this.handleError(n,o)}}}if(this.listeners.OnceExit)for(let[e,s]of this.listeners.OnceExit){this.result.lastPlugin=e;try{if(t.type==="document"){let n=t.nodes.map(o=>s(o,this.helpers));await Promise.all(n)}else await s(t,this.helpers)}catch(n){throw this.handleError(n)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};let t=(e,s,n)=>{this.listeners[s]||(this.listeners[s]=[]),this.listeners[s].push([e,n])};for(let e of this.plugins)if(typeof e=="object")for(let s in e){if(!Qa[s]&&/^[A-Z]/.test(s))throw new Error(`Unknown event ${s} in ${e.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!Ka[s])if(typeof e[s]=="object")for(let n in e[s])n==="*"?t(e,s,e[s][n]):t(e,s+"-"+n.toLowerCase(),e[s][n]);else typeof e[s]=="function"&&t(e,s,e[s])}this.hasListener=Object.keys(this.listeners).length>0}visitTick(t){let e=t[t.length-1],{node:s,visitors:n}=e;if(s.type!=="root"&&s.type!=="document"&&!s.parent){t.pop();return}if(n.length>0&&e.visitorIndex<n.length){let[i,a]=n[e.visitorIndex];e.visitorIndex+=1,e.visitorIndex===n.length&&(e.visitors=[],e.visitorIndex=0),this.result.lastPlugin=i;try{return a(s.toProxy(),this.helpers)}catch(c){throw this.handleError(c,s)}}if(e.iterator!==0){let i=e.iterator,a;for(;a=s.nodes[s.indexes[i]];)if(s.indexes[i]+=1,!a[ot]){a[ot]=!0,t.push(pn(a));return}e.iterator=0,delete s.indexes[i]}let o=e.events;for(;e.eventIndex<o.length;){let i=o[e.eventIndex];if(e.eventIndex+=1,i===At){s.nodes&&s.nodes.length&&(s[ot]=!0,e.iterator=s.getIterator());return}else if(this.listeners[i]){e.visitors=this.listeners[i];return}}t.pop()}}pt.registerPostcss=r=>{br=r};var hn=pt;pt.default=pt,Xa.registerLazyResult(pt),Wa.registerLazyResult(pt);let tc=Us,ec=ae,rc=Zs,sc=gr;const nc=fr;class yr{constructor(t,e,s){e=e.toString(),this.stringified=!1,this._processor=t,this._css=e,this._opts=s,this._map=void 0;let n,o=ec;this.result=new nc(this._processor,n,this._opts),this.result.css=e;let i=this;Object.defineProperty(this.result,"root",{get(){return i.root}});let a=new tc(o,n,this._opts,e);if(a.isMap()){let[c,l]=a.generate();c&&(this.result.css=c),l&&(this.result.map=l)}}get[Symbol.toStringTag](){return"NoWorkResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.result.css}get content(){return this.result.css}get map(){return this.result.map}get root(){if(this._root)return this._root;let t,e=sc;try{t=e(this._css,this._opts)}catch(s){this.error=s}if(this.error)throw this.error;return this._root=t,t}get messages(){return[]}warnings(){return[]}toString(){return this._css}then(t,e){return process.env.NODE_ENV!=="production"&&("from"in this._opts||rc("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(t,e)}catch(t){return this.async().catch(t)}finally(t){return this.async().then(t,t)}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}sync(){if(this.error)throw this.error;return this.result}}var oc=yr;yr.default=yr;let ic=oc,ac=hn,cc=cr,lc=Ut;class Ht{constructor(t=[]){this.version="8.4.12",this.plugins=this.normalize(t)}use(t){return this.plugins=this.plugins.concat(this.normalize([t])),this}process(t,e={}){return this.plugins.length===0&&typeof e.parser>"u"&&typeof e.stringifier>"u"&&typeof e.syntax>"u"?new ic(this,t,e):new ac(this,t,e)}normalize(t){let e=[];for(let s of t)if(s.postcss===!0?s=s():s.postcss&&(s=s.postcss),typeof s=="object"&&Array.isArray(s.plugins))e=e.concat(s.plugins);else if(typeof s=="object"&&s.postcssPlugin)e.push(s);else if(typeof s=="function")e.push(s);else if(typeof s=="object"&&(s.parse||s.stringify)){if(process.env.NODE_ENV!=="production")throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.")}else throw new Error(s+" is not a PostCSS plugin");return e}}var uc=Ht;Ht.default=Ht,lc.registerProcessor(Ht),cc.registerProcessor(Ht);let fc=ue,pc=Os,hc=me,dc=hr,gc=he,mc=Ut,bc=dr;function zt(r,t){if(Array.isArray(r))return r.map(n=>zt(n));let{inputs:e,...s}=r;if(e){t=[];for(let n of e){let o={...n,__proto__:gc.prototype};o.map&&(o.map={...o.map,__proto__:pc.prototype}),t.push(o)}}if(s.nodes&&(s.nodes=r.nodes.map(n=>zt(n,t))),s.source){let{inputId:n,...o}=s.source;s.source=o,n!=null&&(s.source.input=t[n])}if(s.type==="root")return new mc(s);if(s.type==="decl")return new fc(s);if(s.type==="rule")return new bc(s);if(s.type==="comment")return new hc(s);if(s.type==="atrule")return new dc(s);throw new Error("Unknown node type: "+r.type)}var yc=zt;zt.default=zt;let vc=We,dn=ue,wc=hn,xc=wt,vr=uc,Sc=ae,qc=yc,gn=cr,Ec=Qs,mn=me,bn=hr,Tc=fr,_c=he,Ac=gr,Cc=on,yn=dr,vn=Ut,Dc=le;function q(...r){return r.length===1&&Array.isArray(r[0])&&(r=r[0]),new vr(r)}q.plugin=function(t,e){console&&console.warn&&(console.warn(t+`: postcss.plugin was deprecated. Migration guide:
|
||
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(t+`: 里面 postcss.plugin 被弃用. 迁移指南:
|
||
https://www.w3ctech.com/topic/2226`));function s(...o){let i=e(...o);return i.postcssPlugin=t,i.postcssVersion=new vr().version,i}let n;return Object.defineProperty(s,"postcss",{get(){return n||(n=s()),n}}),s.process=function(o,i,a){return q([s(a)]).process(o,i)},s},q.stringify=Sc,q.parse=Ac,q.fromJSON=qc,q.list=Cc,q.comment=r=>new mn(r),q.atRule=r=>new bn(r),q.decl=r=>new dn(r),q.rule=r=>new yn(r),q.root=r=>new vn(r),q.document=r=>new gn(r),q.CssSyntaxError=vc,q.Declaration=dn,q.Container=xc,q.Processor=vr,q.Document=gn,q.Comment=mn,q.Warning=Ec,q.AtRule=bn,q.Result=Tc,q.Input=_c,q.Rule=yn,q.Root=vn,q.Node=Dc,wc.registerPostcss(q);var Lc=q;q.default=q;const Oc=Er,wn=Li,{isPlainObject:Nc}=Fe,xn=Fi,kc=qs.exports,{parse:$c}=Lc,Rc=["img","audio","video","picture","svg","object","map","iframe","embed"],Pc=["script","style"];function Ft(r,t){r&&Object.keys(r).forEach(function(e){t(r[e],e)})}function lt(r,t){return{}.hasOwnProperty.call(r,t)}function Sn(r,t){const e=[];return Ft(r,function(s){t(s)&&e.push(s)}),e}function Ic(r){for(const t in r)if(lt(r,t))return!1;return!0}function Mc(r){return r.map(function(t){if(!t.url)throw new Error("URL missing");return t.url+(t.w?` ${t.w}w`:"")+(t.h?` ${t.h}h`:"")+(t.d?` ${t.d}x`:"")}).join(", ")}var Bc=Gt;const Uc=/^[^\0\t\n\f\r /<=>]+$/;function Gt(r,t,e){if(r==null)return"";let s="",n="";function o(u,g){const m=this;this.tag=u,this.attribs=g||{},this.tagPosition=s.length,this.text="",this.mediaChildren=[],this.updateParentNodeText=function(){if(v.length){const x=v[v.length-1];x.text+=m.text}},this.updateParentNodeMediaChildren=function(){v.length&&Rc.includes(this.tag)&&v[v.length-1].mediaChildren.push(this.tag)}}t=Object.assign({},Gt.defaults,t),t.parser=Object.assign({},jc,t.parser),Pc.forEach(function(u){t.allowedTags&&t.allowedTags.indexOf(u)>-1&&!t.allowVulnerableTags&&console.warn(`
|
||
|
||
⚠️ Your \`allowedTags\` option includes, \`${u}\`, which is inherently
|
||
vulnerable to XSS attacks. Please remove it from \`allowedTags\`.
|
||
Or, to disable this warning, add the \`allowVulnerableTags\` option
|
||
and ensure you are accounting for this risk.
|
||
|
||
`)});const i=t.nonTextTags||["script","style","textarea","option"];let a,c;t.allowedAttributes&&(a={},c={},Ft(t.allowedAttributes,function(u,g){a[g]=[];const m=[];u.forEach(function(x){typeof x=="string"&&x.indexOf("*")>=0?m.push(wn(x).replace(/\\\*/g,".*")):a[g].push(x)}),m.length&&(c[g]=new RegExp("^("+m.join("|")+")$"))}));const l={},f={},p={};Ft(t.allowedClasses,function(u,g){a&&(lt(a,g)||(a[g]=[]),a[g].push("class")),l[g]=[],p[g]=[];const m=[];u.forEach(function(x){typeof x=="string"&&x.indexOf("*")>=0?m.push(wn(x).replace(/\\\*/g,".*")):x instanceof RegExp?p[g].push(x):l[g].push(x)}),m.length&&(f[g]=new RegExp("^("+m.join("|")+")$"))});const b={};let w;Ft(t.transformTags,function(u,g){let m;typeof u=="function"?m=u:typeof u=="string"&&(m=Gt.simpleTransform(u)),g==="*"?w=m:b[g]=m});let d,v,h,L,U,Y,C=!1;V();const j=new Oc.Parser({onopentag:function(u,g){if(t.enforceHtmlBoundary&&u==="html"&&V(),U){Y++;return}const m=new o(u,g);v.push(m);let x=!1;const X=!!m.text;let P;if(lt(b,u)&&(P=b[u](u,g),m.attribs=g=P.attribs,P.text!==void 0&&(m.innerText=P.text),u!==P.tagName&&(m.name=u=P.tagName,L[d]=P.tagName)),w&&(P=w(u,g),m.attribs=g=P.attribs,u!==P.tagName&&(m.name=u=P.tagName,L[d]=P.tagName)),(t.allowedTags&&t.allowedTags.indexOf(u)===-1||t.disallowedTagsMode==="recursiveEscape"&&!Ic(h)||t.nestingLimit!=null&&d>=t.nestingLimit)&&(x=!0,h[d]=!0,t.disallowedTagsMode==="discard"&&i.indexOf(u)!==-1&&(U=!0,Y=1),h[d]=!0),d++,x){if(t.disallowedTagsMode==="discard")return;n=s,s=""}s+="<"+u,u==="script"&&(t.allowedScriptHostnames||t.allowedScriptDomains)&&(m.innerText=""),(!a||lt(a,u)||a["*"])&&Ft(g,function(N,D){if(!Uc.test(D)){delete m.attribs[D];return}let Sr=!1;if(!a||lt(a,u)&&a[u].indexOf(D)!==-1||a["*"]&&a["*"].indexOf(D)!==-1||lt(c,u)&&c[u].test(D)||c["*"]&&c["*"].test(D))Sr=!0;else if(a&&a[u]){for(const E of a[u])if(Nc(E)&&E.name&&E.name===D){Sr=!0;let T="";if(E.multiple===!0){const xt=N.split(" ");for(const ut of xt)E.values.indexOf(ut)!==-1&&(T===""?T=ut:T+=" "+ut)}else E.values.indexOf(N)>=0&&(T=N);N=T}}if(Sr){if(t.allowedSchemesAppliedToAttributes.indexOf(D)!==-1&&H(u,N)){delete m.attribs[D];return}if(u==="script"&&D==="src"){let E=!0;try{const T=Q(N);if(t.allowedScriptHostnames||t.allowedScriptDomains){const xt=(t.allowedScriptHostnames||[]).find(function(rt){return rt===T.url.hostname}),ut=(t.allowedScriptDomains||[]).find(function(rt){return T.url.hostname===rt||T.url.hostname.endsWith(`.${rt}`)});E=xt||ut}}catch{E=!1}if(!E){delete m.attribs[D];return}}if(u==="iframe"&&D==="src"){let E=!0;try{const T=Q(N);if(T.isRelativeUrl)E=lt(t,"allowIframeRelativeUrls")?t.allowIframeRelativeUrls:!t.allowedIframeHostnames&&!t.allowedIframeDomains;else if(t.allowedIframeHostnames||t.allowedIframeDomains){const xt=(t.allowedIframeHostnames||[]).find(function(rt){return rt===T.url.hostname}),ut=(t.allowedIframeDomains||[]).find(function(rt){return T.url.hostname===rt||T.url.hostname.endsWith(`.${rt}`)});E=xt||ut}}catch{E=!1}if(!E){delete m.attribs[D];return}}if(D==="srcset")try{let E=kc(N);if(E.forEach(function(T){H("srcset",T.url)&&(T.evil=!0)}),E=Sn(E,function(T){return!T.evil}),E.length)N=Mc(Sn(E,function(T){return!T.evil})),m.attribs[D]=N;else{delete m.attribs[D];return}}catch{delete m.attribs[D];return}if(D==="class"){const E=l[u],T=l["*"],xt=f[u],ut=p[u],rt=f["*"],An=[xt,rt].concat(ut).filter(function(Fc){return Fc});if(E&&T?N=dt(N,xn(E,T),An):N=dt(N,E||T,An),!N.length){delete m.attribs[D];return}}if(D==="style")try{const E=$c(u+" {"+N+"}"),T=et(E,t.allowedStyles);if(N=Ct(T),N.length===0){delete m.attribs[D];return}}catch{delete m.attribs[D];return}s+=" "+D,N&&N.length&&(s+='="'+J(N,!0)+'"')}else delete m.attribs[D]}),t.selfClosing.indexOf(u)!==-1?s+=" />":(s+=">",m.innerText&&!X&&!t.textFilter&&(s+=J(m.innerText),C=!0)),x&&(s=n+J(s),n="")},ontext:function(u){if(U)return;const g=v[v.length-1];let m;if(g&&(m=g.tag,u=g.innerText!==void 0?g.innerText:u),t.disallowedTagsMode==="discard"&&(m==="script"||m==="style"))s+=u;else{const x=J(u,!1);t.textFilter&&!C?s+=t.textFilter(x,m):C||(s+=x)}if(v.length){const x=v[v.length-1];x.text+=u}},onclosetag:function(u){if(U)if(Y--,!Y)U=!1;else return;const g=v.pop();if(!g)return;U=t.enforceHtmlBoundary?u==="html":!1,d--;const m=h[d];if(m){if(delete h[d],t.disallowedTagsMode==="discard"){g.updateParentNodeText();return}n=s,s=""}if(L[d]&&(u=L[d],delete L[d]),t.exclusiveFilter&&t.exclusiveFilter(g)){s=s.substr(0,g.tagPosition);return}if(g.updateParentNodeMediaChildren(),g.updateParentNodeText(),t.selfClosing.indexOf(u)!==-1){m&&(s=n,n="");return}s+="</"+u+">",m&&(s=n+J(s),n=""),C=!1}},t.parser);return j.write(r),j.end(),s;function V(){s="",d=0,v=[],h={},L={},U=!1,Y=0}function J(u,g){return typeof u!="string"&&(u=u+""),t.parser.decodeEntities&&(u=u.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),g&&(u=u.replace(/"/g,"""))),u=u.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&").replace(/</g,"<").replace(/>/g,">"),g&&(u=u.replace(/"/g,""")),u}function H(u,g){for(g=g.replace(/[\x00-\x20]+/g,"");;){const X=g.indexOf("<!--");if(X===-1)break;const P=g.indexOf("-->",X+4);if(P===-1)break;g=g.substring(0,X)+g.substring(P+3)}const m=g.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!m)return g.match(/^[/\\]{2}/)?!t.allowProtocolRelative:!1;const x=m[1].toLowerCase();return lt(t.allowedSchemesByTag,u)?t.allowedSchemesByTag[u].indexOf(x)===-1:!t.allowedSchemes||t.allowedSchemes.indexOf(x)===-1}function Q(u){if(u=u.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//"),u.startsWith("relative:"))throw new Error("relative: exploit attempt");let g="relative://relative-site";for(let X=0;X<100;X++)g+=`/${X}`;const m=new URL(u,g);return{isRelativeUrl:m&&m.hostname==="relative-site"&&m.protocol==="relative:",url:m}}function et(u,g){if(!g)return u;const m=u.nodes[0];let x;return g[m.selector]&&g["*"]?x=xn(g[m.selector],g["*"]):x=g[m.selector]||g["*"],x&&(u.nodes[0].nodes=m.nodes.reduce(ht(x),[])),u}function Ct(u){return u.nodes[0].nodes.reduce(function(g,m){return g.push(`${m.prop}:${m.value}${m.important?" !important":""}`),g},[]).join(";")}function ht(u){return function(g,m){return lt(u,m.prop)&&u[m.prop].some(function(X){return X.test(m.value)})&&g.push(m),g}}function dt(u,g,m){return g?(u=u.split(/\s+/),u.filter(function(x){return g.indexOf(x)!==-1||m.some(function(X){return X.test(x)})}).join(" ")):u}}const jc={decodeEntities:!0};Gt.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","main","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1},Gt.simpleTransform=function(r,t,e){return e=e===void 0?!0:e,t=t||{},function(s,n){let o;if(e)for(o in t)n[o]=t[o];else n=t;return{tagName:r,attribs:n}}};const Ae=Bc,wr=Ae.defaults,qn={allowedTags:["a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr"],allowedAttributes:{a:["href","name","target"],span:["style"]},allowedSchemes:["ftp","http","https","mailto"],selfClosing:["br"],parser:{decodeEntities:!0}},En={allowedTags:!1,allowedAttributes:!1},Tn={allowedTags:[],allowedAttributes:[]};function xr(r,t){return Array.isArray(t)?{config:t[0],input:t[1]}:r.strip?{config:Tn,input:t}:r.basic?{config:wr,input:t}:r.inline?{config:qn,input:t}:r.nothing?{config:En,input:t}:{config:wr,input:t}}function Ce(r,{modifiers:t,oldValue:e,value:s}){if(s!==e){const{config:n,input:o}=xr(t,s);r.innerHTML=Ae(o,n)}}function Vc({modifiers:r,value:t}){const{config:e,input:s}=xr(r,t);return{innerHTML:Ae(s,e)}}function Hc(r,{modifiers:t,value:e}){const{config:s,input:n}=xr(t,e);r.data.domProps=r.data.domProps||{},r.data.domProps.innerHTML=Ae(n,s)}const _n={getSSRProps:Vc,inserted:Ce,mounted:Ce,update:Ce,updated:Ce},zc={install(r,{name:t="sanitize"}={}){r.directive(t,_n)}};Z.FILTER_BASIC=wr,Z.FILTER_INLINE=qn,Z.FILTER_NOTHING=En,Z.FILTER_STRIP=Tn,Z.VueSanitizeDirectiveSSR=Hc,Z.default=zc,Z.directive=_n,Object.defineProperties(Z,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|