archgine 1.0.5 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3999,7 +3999,7 @@ Ss.__DOMHandler = mi;
3999
3999
  Ss.normalizeLineEndings = Hc;
4000
4000
  Ss.DOMParser = Vc;
4001
4001
  var Fy = Ss.DOMParser;
4002
- const Uy = "1.0.5";
4002
+ const Uy = "1.0.7";
4003
4003
  function qy() {
4004
4004
  return typeof window < "u" && ({}.toString.call(window) === "[object Window]" || {}.toString.call(window) === "[object global]");
4005
4005
  }
@@ -3991,7 +3991,7 @@ ku.__DOMHandler = Cu;
3991
3991
  ku.normalizeLineEndings = Pe;
3992
3992
  ku.DOMParser = Ue;
3993
3993
  var vr = ku.DOMParser;
3994
- const yr = "1.0.5";
3994
+ const yr = "1.0.7";
3995
3995
  function wr() {
3996
3996
  return typeof window < "u" && ({}.toString.call(window) === "[object Window]" || {}.toString.call(window) === "[object global]");
3997
3997
  }
@@ -2,4 +2,4 @@
2
2
  `,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:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",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:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",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:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",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:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",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:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",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:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",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:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",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:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",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:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",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:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",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:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",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:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",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:"‌"}),e.entityMap=e.HTML_ENTITIES})(Se);var Xu={},gu=z.NAMESPACE,Yu=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,xe=new RegExp("[\\-\\.0-9"+Yu.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),qe=new RegExp("^"+Yu.source+xe.source+"*(?::"+Yu.source+xe.source+"*)?$"),Au=0,Z=1,nu=2,Eu=3,iu=4,au=5,bu=6,qu=7;function ou(e,u){this.message=e,this.locator=u,Error.captureStackTrace&&Error.captureStackTrace(this,ou)}ou.prototype=new Error,ou.prototype.name=ou.name;function ke(){}ke.prototype={parse:function(e,u,r){var t=this.domBuilder;t.startDocument(),Le(u,u={}),lr(e,u,r,t,this.errorHandler),t.endDocument()}};function lr(e,u,r,t,n){function a(i){if(i>65535){i-=65536;var M=55296+(i>>10),qr=56320+(i&1023);return String.fromCharCode(M,qr)}else return String.fromCharCode(i)}function o(i){var M=i.slice(1,-1);return Object.hasOwnProperty.call(r,M)?r[M]:M.charAt(0)==="#"?a(parseInt(M.substr(1).replace("x","0x"))):(n.error("entity not found:"+i),i)}function s(i){if(i>v){var M=e.substring(v,i).replace(/&#?\w+;/g,o);f&&l(v),t.characters(M,0,i-v),v=i}}function l(i,M){for(;i>=p&&(M=D.exec(e));)c=M.index,p=c+M[0].length,f.lineNumber++;f.columnNumber=i-c+1}for(var c=0,p=0,D=/.*(?:\r\n?|\n)|.*$/g,f=t.locator,b=[{currentNSMap:u}],T={},v=0;;){try{var g=e.indexOf("<",v);if(g<0){if(!e.substr(v).match(/^\s*$/)){var h=t.doc,w=h.createTextNode(e.substr(v));h.appendChild(w),t.currentElement=w}return}switch(g>v&&s(g),e.charAt(g+1)){case"/":var m=e.indexOf(">",g+3),C=e.substring(g+2,m).replace(/[ \t\n\r]+$/g,""),F=b.pop();m<0?(C=e.substring(g+2).replace(/[\s<].*/,""),n.error("end tag name: "+C+" is not complete:"+F.tagName),m=g+1+C.length):C.match(/\s</)&&(C=C.replace(/[\s<].*/,""),n.error("end tag name: "+C+" maybe not complete"),m=g+1+C.length);var S=F.localNSMap,L=F.tagName==C,cu=L||F.tagName&&F.tagName.toLowerCase()==C.toLowerCase();if(cu){if(t.endElement(F.uri,F.localName,C),S)for(var yu in S)Object.prototype.hasOwnProperty.call(S,yu)&&t.endPrefixMapping(yu);L||n.fatalError("end tag name: "+C+" is not match the current start tagName:"+F.tagName)}else b.push(F);m++;break;case"?":f&&l(g),m=Dr(e,g,t);break;case"!":f&&l(g),m=fr(e,g,t,n);break;default:f&&l(g);var E=new Ie,q=b[b.length-1].currentNSMap,m=cr(e,g,E,q,o,n),N=E.length;if(!E.closed&&hr(e,m,E.tagName,T)&&(E.closed=!0,r.nbsp||n.warning("unclosed xml attribute")),f&&N){for(var H=Re(f,{}),I=0;I<N;I++){var A=E[I];l(A.offset),A.locator=Re(f,{})}t.locator=H,Oe(E,t,q)&&b.push(E),t.locator=f}else Oe(E,t,q)&&b.push(E);gu.isHTML(E.uri)&&!E.closed?m=pr(e,m,E.tagName,o,t):m++}}catch(i){if(i instanceof ou)throw i;n.error("element parse error: "+i),m=-1}m>v?v=m:s(Math.max(g,v)+1)}}function Re(e,u){return u.lineNumber=e.lineNumber,u.columnNumber=e.columnNumber,u}function cr(e,u,r,t,n,a){function o(f,b,T){r.attributeNames.hasOwnProperty(f)&&a.fatalError("Attribute "+f+" redefined"),r.addValue(f,b.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,n),T)}for(var s,l,c=++u,p=Au;;){var D=e.charAt(c);switch(D){case"=":if(p===Z)s=e.slice(u,c),p=Eu;else if(p===nu)p=Eu;else throw new Error("attribute equal must after attrName");break;case"'":case'"':if(p===Eu||p===Z)if(p===Z&&(a.warning('attribute value must after "="'),s=e.slice(u,c)),u=c+1,c=e.indexOf(D,u),c>0)l=e.slice(u,c),o(s,l,u-1),p=au;else throw new Error("attribute value no end '"+D+"' match");else if(p==iu)l=e.slice(u,c),o(s,l,u),a.warning('attribute "'+s+'" missed start quot('+D+")!!"),u=c+1,p=au;else throw new Error('attribute value must after "="');break;case"/":switch(p){case Au:r.setTagName(e.slice(u,c));case au:case bu:case qu:p=qu,r.closed=!0;case iu:case Z:break;case nu:r.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return a.error("unexpected end of input"),p==Au&&r.setTagName(e.slice(u,c)),c;case">":switch(p){case Au:r.setTagName(e.slice(u,c));case au:case bu:case qu:break;case iu:case Z:l=e.slice(u,c),l.slice(-1)==="/"&&(r.closed=!0,l=l.slice(0,-1));case nu:p===nu&&(l=s),p==iu?(a.warning('attribute "'+l+'" missed quot(")!'),o(s,l,u)):((!gu.isHTML(t[""])||!l.match(/^(?:disabled|checked|selected)$/i))&&a.warning('attribute "'+l+'" missed value!! "'+l+'" instead!!'),o(l,l,u));break;case Eu:throw new Error("attribute value missed!!")}return c;case"€":D=" ";default:if(D<=" ")switch(p){case Au:r.setTagName(e.slice(u,c)),p=bu;break;case Z:s=e.slice(u,c),p=nu;break;case iu:var l=e.slice(u,c);a.warning('attribute "'+l+'" missed quot(")!!'),o(s,l,u);case au:p=bu;break}else switch(p){case nu:r.tagName,(!gu.isHTML(t[""])||!s.match(/^(?:disabled|checked|selected)$/i))&&a.warning('attribute "'+s+'" missed value!! "'+s+'" instead2!!'),o(s,s,u),u=c,p=Z;break;case au:a.warning('attribute space is required"'+s+'"!!');case bu:p=Z,u=c;break;case Eu:p=iu,u=c;break;case qu:throw new Error("elements closed character '/' and '>' must be connected to")}}c++}}function Oe(e,u,r){for(var t=e.tagName,n=null,D=e.length;D--;){var a=e[D],o=a.qName,s=a.value,f=o.indexOf(":");if(f>0)var l=a.prefix=o.slice(0,f),c=o.slice(f+1),p=l==="xmlns"&&c;else c=o,l=null,p=o==="xmlns"&&"";a.localName=c,p!==!1&&(n==null&&(n={},Le(r,r={})),r[p]=n[p]=s,a.uri=gu.XMLNS,u.startPrefixMapping(p,s))}for(var D=e.length;D--;){a=e[D];var l=a.prefix;l&&(l==="xml"&&(a.uri=gu.XML),l!=="xmlns"&&(a.uri=r[l||""]))}var f=t.indexOf(":");f>0?(l=e.prefix=t.slice(0,f),c=e.localName=t.slice(f+1)):(l=null,c=e.localName=t);var b=e.uri=r[l||""];if(u.startElement(b,c,t,e),e.closed){if(u.endElement(b,c,t),n)for(l in n)Object.prototype.hasOwnProperty.call(n,l)&&u.endPrefixMapping(l)}else return e.currentNSMap=r,e.localNSMap=n,!0}function pr(e,u,r,t,n){if(/^(?:script|textarea)$/i.test(r)){var a=e.indexOf("</"+r+">",u),o=e.substring(u+1,a);if(/[&<]/.test(o))return/^script$/i.test(r)?(n.characters(o,0,o.length),a):(o=o.replace(/&#?\w+;/g,t),n.characters(o,0,o.length),a)}return u+1}function hr(e,u,r,t){var n=t[r];return n==null&&(n=e.lastIndexOf("</"+r+">"),n<u&&(n=e.lastIndexOf("</"+r)),t[r]=n),n<u}function Le(e,u){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(u[r]=e[r])}function fr(e,u,r,t){var n=e.charAt(u+2);switch(n){case"-":if(e.charAt(u+3)==="-"){var a=e.indexOf("-->",u+4);return a>u?(r.comment(e,u+4,a-u-4),a+3):(t.error("Unclosed comment"),-1)}else return-1;default:if(e.substr(u+3,6)=="CDATA["){var a=e.indexOf("]]>",u+9);return r.startCDATA(),r.characters(e,u+9,a-u-9),r.endCDATA(),a+3}var o=mr(e,u),s=o.length;if(s>1&&/!doctype/i.test(o[0][0])){var l=o[1][0],c=!1,p=!1;s>3&&(/^public$/i.test(o[2][0])?(c=o[3][0],p=s>4&&o[4][0]):/^system$/i.test(o[2][0])&&(p=o[3][0]));var D=o[s-1];return r.startDTD(l,c,p),r.endDTD(),D.index+D[0].length}}return-1}function Dr(e,u,r){var t=e.indexOf("?>",u);if(t){var n=e.substring(u,t).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return n?(n[0].length,r.processingInstruction(n[1],n[2]),t+2):-1}return-1}function Ie(){this.attributeNames={}}Ie.prototype={setTagName:function(e){if(!qe.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,u,r){if(!qe.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:u,offset:r}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}};function mr(e,u){var r,t=[],n=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(n.lastIndex=u,n.exec(e);r=n.exec(e);)if(t.push(r),r[1])return t}Xu.XMLReader=ke,Xu.ParseError=ou;var dr=z,gr=W,Me=Se,_e=Xu,Ar=gr.DOMImplementation,Pe=dr.NAMESPACE,Er=_e.ParseError,br=_e.XMLReader;function Ue(e){return e.replace(/\r[\n\u0085]/g,`
3
3
  `).replace(/[\r\u0085\u2028]/g,`
4
4
  `)}function Ve(e){this.options=e||{locator:{}}}Ve.prototype.parseFromString=function(e,u){var r=this.options,t=new br,n=r.domBuilder||new Cu,a=r.errorHandler,o=r.locator,s=r.xmlns||{},l=/\/x?html?$/.test(u),c=l?Me.HTML_ENTITIES:Me.XML_ENTITIES;o&&n.setDocumentLocator(o),t.errorHandler=Cr(a,n,o),t.domBuilder=r.domBuilder||n,l&&(s[""]=Pe.HTML),s.xml=s.xml||Pe.XML;var p=r.normalizeLineEndings||Ue;return e&&typeof e=="string"?t.parse(p(e),s,c):t.errorHandler.error("invalid doc source"),n.doc};function Cr(e,u,r){if(!e){if(u instanceof Cu)return u;e=u}var t={},n=e instanceof Function;r=r||{};function a(o){var s=e[o];!s&&n&&(s=e.length==2?function(l){e(o,l)}:e),t[o]=s&&function(l){s("[xmldom "+o+"] "+l+Wu(r))}||function(){}}return a("warning"),a("error"),a("fatalError"),t}function Cu(){this.cdata=!1}function su(e,u){u.lineNumber=e.lineNumber,u.columnNumber=e.columnNumber}Cu.prototype={startDocument:function(){this.doc=new Ar().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,u,r,t){var n=this.doc,a=n.createElementNS(e,r||u),o=t.length;ku(this,a),this.currentElement=a,this.locator&&su(this.locator,a);for(var s=0;s<o;s++){var e=t.getURI(s),l=t.getValue(s),r=t.getQName(s),c=n.createAttributeNS(e,r);this.locator&&su(t.getLocator(s),c),c.value=c.nodeValue=l,a.setAttributeNode(c)}},endElement:function(e,u,r){var t=this.currentElement;t.tagName,this.currentElement=t.parentNode},startPrefixMapping:function(e,u){},endPrefixMapping:function(e){},processingInstruction:function(e,u){var r=this.doc.createProcessingInstruction(e,u);this.locator&&su(this.locator,r),ku(this,r)},ignorableWhitespace:function(e,u,r){},characters:function(e,u,r){if(e=Ge.apply(this,arguments),e){if(this.cdata)var t=this.doc.createCDATASection(e);else var t=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(t):/^\s*$/.test(e)&&this.doc.appendChild(t),this.locator&&su(this.locator,t)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,u,r){e=Ge.apply(this,arguments);var t=this.doc.createComment(e);this.locator&&su(this.locator,t),ku(this,t)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,u,r){var t=this.doc.implementation;if(t&&t.createDocumentType){var n=t.createDocumentType(e,u,r);this.locator&&su(this.locator,n),ku(this,n),this.doc.doctype=n}},warning:function(e){console.warn("[xmldom warning] "+e,Wu(this.locator))},error:function(e){console.error("[xmldom error] "+e,Wu(this.locator))},fatalError:function(e){throw new Er(e,this.locator)}};function Wu(e){if(e)return`
5
- @`+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function Ge(e,u,r){return typeof e=="string"?e.substr(u,r):e.length>=u+r||u?new java.lang.String(e,u,r)+"":e}"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(e){Cu.prototype[e]=function(){return null}});function ku(e,u){e.currentElement?e.currentElement.appendChild(u):e.doc.appendChild(u)}xu.__DOMHandler=Cu,xu.normalizeLineEndings=Ue,xu.DOMParser=Ve;var vr=xu.DOMParser;const yr="1.0.5";function wr(){return typeof window<"u"&&({}.toString.call(window)==="[object Window]"||{}.toString.call(window)==="[object global]")}const lu=typeof window<"u"?window:typeof WorkerGlobalScope<"u"?self:{document:void 0,tinyEngine:void 0};lu.Path2D||ze(lu),lu.DOMParser||(lu.DOMParser=vr);const Br={window:lu,version:yr,isBrowser:wr(),dpr:typeof window<"u"&&window.devicePixelRatio||1,document:lu.document,time:0,deltaTime:0,config:K},vu=(e,u,r)=>Math.max(u,Math.min(r,e)),Nr=(e,u)=>(e%u+u)%u,Zu=(e,u,r)=>(1-r)*e+r*u,Tr={transparent:"rgba(1, 1, 1, 0)",green:"#45b787",darkGreen:"#314a43",blue:"#6e9bc5",darkBlue:"#2775b6",red:"#F26666",darkRed:"#D95970",brown:"#ECD2B9",darkBrown:"#BF9D8A",yellow:"#ECDEC0",darkYellow:"#D0AC57",lightGray:"#e0e0e0",gray:"#beb6b6",darkGray:"#918883",white:"#F2F2F2",darkWhite:"#ececec",lightBlack:"#2E3032",black:"#182327",blackAlpha5:"rgba(0, 0, 0, 0.5)"},Fr={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},P={h:0,s:0,l:0},Ru={h:0,s:0,l:0};function Qu(e,u,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(u-e)*6*r:r<1/2?u:r<2/3?e+(u-e)*6*(2/3-r):e}const Sr=/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3}|[A-Fa-f0-9]{8})$|rgb\(\s*\d+\s*,\s*\d+\s*,\s*\d+\s*\)|rgba\(\s*\d+\s*,\s*\d+\s*,\s*\d+\s*,\s*[\d.]+\s*\)/;class Y{isColor=!0;r=1;g=1;b=1;a=1;constructor(u,r,t,n){return r===void 0&&t===void 0?this.set(u):this.setRGBA(u,r,t,n)}static isColor(u){return typeof u=="string"?Sr.test(u):typeof u=="number"?u>=0&&u<=16777215:!1}static getRandomStyle(){return Q.random().getStyle()}static getDarken(u,r=.8){return Q.set(u).getHSL(Ou),Q.setHSL(Ou.h,Ou.s,Ou.l*r).getStyle()}static getLighten(u,r=1.2){return this.getDarken(u,r)}static getContrast(u){return Q.set(u),Q.getContrastString()}static getArray(u){return Q.set(u).toArray()}static getComplementary(u){return Q.set(u),Q.getComplementaryString()}set(u){return u&&u.isColor?this.copy(u):typeof u=="number"?this.setHex(u):typeof u=="string"&&this.setStyle(u),this}random(){return this.setHex(Math.floor(Math.random()*(1<<24)))}setScalar(u){return this.r=u,this.g=u,this.b=u,this.a=1,this}setHex(u){return u=Math.floor(u),this.r=(u>>16&255)/255,this.g=(u>>8&255)/255,this.b=(u&255)/255,this.a=1,this}setR(u){return this.r=u,this}setG(u){return this.g=u,this}setB(u){return this.b=u,this}setA(u){return this.a=u,this}setRGB(u,r,t){return this.setRGBA(u,r,t,this.a)}setRGBA(u,r,t,n=1){return this.r=u,this.g=r,this.b=t,this.a=n,this}setHSL(u,r,t,n=1){if(u=Nr(u,1),r=vu(r,0,1),t=vu(t,0,1),r===0)this.r=this.g=this.b=t;else{const a=t<=.5?t*(1+r):t+r-t*r,o=2*t-a;this.r=Qu(o,a,u+1/3),this.g=Qu(o,a,u),this.b=Qu(o,a,u-1/3)}return this.a=n,this}setStyle(u){let r;if(r=/^((?:rgb|hsl)a?)\(([^\)]*)\)/.exec(u)){let t;const n=r[1],a=r[2];switch(n){case"rgb":case"rgba":if(t=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a))return this.r=Math.min(255,parseInt(t[1],10))/255,this.g=Math.min(255,parseInt(t[2],10))/255,this.b=Math.min(255,parseInt(t[3],10))/255,this.a=Math.max(Math.min(1,t[4]!==void 0?parseFloat(t[4]):1),0),this;if(t=/^\s*(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a))return this.r=Math.min(100,parseInt(t[1],10))/100,this.g=Math.min(100,parseInt(t[2],10))/100,this.b=Math.min(100,parseInt(t[3],10))/100,this.a=Math.max(Math.min(1,t[4]!==void 0?parseFloat(t[4]):1),0),this;break;case"hsl":case"hsla":if(t=/^\s*(\d*\.?\d+)\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a)){const o=parseFloat(t[1])/360,s=parseInt(t[2],10)/100,l=parseInt(t[3],10)/100,c=Math.max(Math.min(1,t[4]!==void 0?parseFloat(t[4]):1),0);return this.setHSL(o,s,l,c)}break}}else if(r=/^\#([A-Fa-f\d]+)$/.exec(u)){const t=r[1],n=t.length;if(n===3)return this.r=parseInt(t.charAt(0)+t.charAt(0),16)/255,this.g=parseInt(t.charAt(1)+t.charAt(1),16)/255,this.b=parseInt(t.charAt(2)+t.charAt(2),16)/255,this.a=1,this;if(n===6)return this.r=parseInt(t.charAt(0)+t.charAt(1),16)/255,this.g=parseInt(t.charAt(2)+t.charAt(3),16)/255,this.b=parseInt(t.charAt(4)+t.charAt(5),16)/255,this.a=1,this}return u&&u.length>0?this.setColorName(u):this}setColorName(u){const r=Fr[u.toLowerCase()];return r!==void 0?this.setHex(r):console.warn("Color: Unknown color "+u),this}clone(){return new Y(this.r,this.g,this.b,this.a)}copy(u){return this.r=u.r,this.g=u.g,this.b=u.b,this.a=u.a,this}getRGB(u=new Y){return u.setRGB(this.r,this.g,this.b)}getRGBByBg(u=new Y){const r=this.a,t=r*this.r+(1-r)*u.r,n=r*this.g+(1-r)*u.g,a=r*this.b+(1-r)*u.b;return new Y(t,n,a)}getHex(){return vu(this.r*255,0,255)<<16^vu(this.g*255,0,255)<<8^vu(this.b*255,0,255)<<0}getHSL(u){const r=this.r,t=this.g,n=this.b,a=Math.max(r,t,n),o=Math.min(r,t,n);let s=0,l;const c=(o+a)/2;if(o===a)s=0,l=0;else{const p=a-o;switch(l=c<=.5?p/(a+o):p/(2-a-o),a){case r:s=(t-n)/p+(t<n?6:0);break;case t:s=(n-r)/p+2;break;case n:s=(r-t)/p+4;break}s/=6}return u.h=s,u.s=l,u.l=c,u}getStyle(){return this.a===1?`rgb(${this.r*255|0},${this.g*255|0},${this.b*255|0})`:`rgba(${this.r*255|0},${this.g*255|0},${this.b*255|0},${this.a||1})`}getHexString(){return"#"+("000000"+this.getHex().toString(16)).slice(-6)}getBrightness(){let u=(this.r*255*299+this.g*255*587+this.b*255*144)/1e3;return u+=(255-u)*(255-this.a*255)/255,u}getContrastString(){return this.getBrightness()>125?"#2f2f2f":"#f2f2f2"}getComplementary(u=new Y){const r=this.toArray(),t=[0,0,0,1];for(let n=0;n<r.length;n++)if(n<3)t[n]=1-r[n];else if(n===3)r[n]>1||r[n]<=0?t[n]=1:t[n]=Math.max(Math.min(parseFloat(r[n].toFixed(2)),1),0);else continue;return u.setRGBA(t[0],t[1],t[2],parseFloat(t[3].toFixed(2)))}getComplementaryString(){return this.getComplementary().getStyle()}getLightenOrDarken(u){if(typeof u>"u"||u>=1)return this.getHexString();const r=this.getRGBByBg(),t=r.r*u+(1-u),n=r.g*u+(1-u),a=r.b*u+(1-u);return new Y(t,n,a).getHexString()}getNormalized(){return[parseFloat(Math.max(Math.min(this.r,1),0).toFixed(2)),parseFloat(Math.max(Math.min(this.g,1),0).toFixed(2)),parseFloat(Math.max(Math.min(this.b,1),0).toFixed(2)),parseFloat(Math.max(Math.min(this.a,1),0).toFixed(2))]}getNormalized3(){return[parseFloat(Math.max(Math.min(this.r,1),0).toFixed(2)),parseFloat(Math.max(Math.min(this.g,1),0).toFixed(2)),parseFloat(Math.max(Math.min(this.b,1),0).toFixed(2))]}offsetHSL(u,r,t){return this.getHSL(P),P.h+=u,P.s+=r,P.l+=t,this.setHSL(P.h,P.s,P.l),this}add(u){return this.r+=u.r,this.g+=u.g,this.b+=u.b,this}addColors(u,r){return this.r=u.r+r.r,this.g=u.g+r.g,this.b=u.b+r.b,this}addScalar(u){return this.r+=u,this.g+=u,this.b+=u,this}sub(u){return this.r=Math.max(0,this.r-u.r),this.g=Math.max(0,this.g-u.g),this.b=Math.max(0,this.b-u.b),this}multiply(u){return this.r*=u.r,this.g*=u.g,this.b*=u.b,this}multiplyScalar(u){return this.r*=u,this.g*=u,this.b*=u,this}lerp(u,r){return this.r+=(u.r-this.r)*r,this.g+=(u.g-this.g)*r,this.b+=(u.b-this.b)*r,this}lerpColors(u,r,t){return this.r=u.r+(r.r-u.r)*t,this.g=u.g+(r.g-u.g)*t,this.b=u.b+(r.b-u.b)*t,this}lerpHSL(u,r){this.getHSL(P),u.getHSL(Ru);const t=Zu(P.h,Ru.h,r),n=Zu(P.s,Ru.s,r),a=Zu(P.l,Ru.l,r);return this.setHSL(t,n,a),this}equals(u){return u.r===this.r&&u.g===this.g&&u.b===this.b}fromArray(u,r=0){return this.r=u[r],this.g=u[r+1],this.b=u[r+2],this.a=u[r+3],this}toArray(u=[0,0,0,0],r=0){return u[r]=this.r,u[r+1]=this.g,u[r+2]=this.b,u[r+3]=this.a,u}fromBufferAttribute(u,r){return this.r=u.getX(r),this.g=u.getY(r),this.b=u.getZ(r),u.normalized===!0&&(this.r/=255,this.g/=255,this.b/=255),this}toJSON(){return this.getHex()}*[Symbol.iterator](){yield this.r,yield this.g,yield this.b}}const Q=new Y,Ou={h:0,s:0,l:0};function xr(e){return new Worker("/environment.worker.js",{type:"module",name:e==null?void 0:e.name})}U.Color=Y,U.ColorsEnum=Tr,U.EnvironmentWorker=xr,U.GLOB=Br,U.defaultConfig=K,Object.defineProperty(U,Symbol.toStringTag,{value:"Module"})});
5
+ @`+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function Ge(e,u,r){return typeof e=="string"?e.substr(u,r):e.length>=u+r||u?new java.lang.String(e,u,r)+"":e}"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(e){Cu.prototype[e]=function(){return null}});function ku(e,u){e.currentElement?e.currentElement.appendChild(u):e.doc.appendChild(u)}xu.__DOMHandler=Cu,xu.normalizeLineEndings=Ue,xu.DOMParser=Ve;var vr=xu.DOMParser;const yr="1.0.7";function wr(){return typeof window<"u"&&({}.toString.call(window)==="[object Window]"||{}.toString.call(window)==="[object global]")}const lu=typeof window<"u"?window:typeof WorkerGlobalScope<"u"?self:{document:void 0,tinyEngine:void 0};lu.Path2D||ze(lu),lu.DOMParser||(lu.DOMParser=vr);const Br={window:lu,version:yr,isBrowser:wr(),dpr:typeof window<"u"&&window.devicePixelRatio||1,document:lu.document,time:0,deltaTime:0,config:K},vu=(e,u,r)=>Math.max(u,Math.min(r,e)),Nr=(e,u)=>(e%u+u)%u,Zu=(e,u,r)=>(1-r)*e+r*u,Tr={transparent:"rgba(1, 1, 1, 0)",green:"#45b787",darkGreen:"#314a43",blue:"#6e9bc5",darkBlue:"#2775b6",red:"#F26666",darkRed:"#D95970",brown:"#ECD2B9",darkBrown:"#BF9D8A",yellow:"#ECDEC0",darkYellow:"#D0AC57",lightGray:"#e0e0e0",gray:"#beb6b6",darkGray:"#918883",white:"#F2F2F2",darkWhite:"#ececec",lightBlack:"#2E3032",black:"#182327",blackAlpha5:"rgba(0, 0, 0, 0.5)"},Fr={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},P={h:0,s:0,l:0},Ru={h:0,s:0,l:0};function Qu(e,u,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(u-e)*6*r:r<1/2?u:r<2/3?e+(u-e)*6*(2/3-r):e}const Sr=/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3}|[A-Fa-f0-9]{8})$|rgb\(\s*\d+\s*,\s*\d+\s*,\s*\d+\s*\)|rgba\(\s*\d+\s*,\s*\d+\s*,\s*\d+\s*,\s*[\d.]+\s*\)/;class Y{isColor=!0;r=1;g=1;b=1;a=1;constructor(u,r,t,n){return r===void 0&&t===void 0?this.set(u):this.setRGBA(u,r,t,n)}static isColor(u){return typeof u=="string"?Sr.test(u):typeof u=="number"?u>=0&&u<=16777215:!1}static getRandomStyle(){return Q.random().getStyle()}static getDarken(u,r=.8){return Q.set(u).getHSL(Ou),Q.setHSL(Ou.h,Ou.s,Ou.l*r).getStyle()}static getLighten(u,r=1.2){return this.getDarken(u,r)}static getContrast(u){return Q.set(u),Q.getContrastString()}static getArray(u){return Q.set(u).toArray()}static getComplementary(u){return Q.set(u),Q.getComplementaryString()}set(u){return u&&u.isColor?this.copy(u):typeof u=="number"?this.setHex(u):typeof u=="string"&&this.setStyle(u),this}random(){return this.setHex(Math.floor(Math.random()*(1<<24)))}setScalar(u){return this.r=u,this.g=u,this.b=u,this.a=1,this}setHex(u){return u=Math.floor(u),this.r=(u>>16&255)/255,this.g=(u>>8&255)/255,this.b=(u&255)/255,this.a=1,this}setR(u){return this.r=u,this}setG(u){return this.g=u,this}setB(u){return this.b=u,this}setA(u){return this.a=u,this}setRGB(u,r,t){return this.setRGBA(u,r,t,this.a)}setRGBA(u,r,t,n=1){return this.r=u,this.g=r,this.b=t,this.a=n,this}setHSL(u,r,t,n=1){if(u=Nr(u,1),r=vu(r,0,1),t=vu(t,0,1),r===0)this.r=this.g=this.b=t;else{const a=t<=.5?t*(1+r):t+r-t*r,o=2*t-a;this.r=Qu(o,a,u+1/3),this.g=Qu(o,a,u),this.b=Qu(o,a,u-1/3)}return this.a=n,this}setStyle(u){let r;if(r=/^((?:rgb|hsl)a?)\(([^\)]*)\)/.exec(u)){let t;const n=r[1],a=r[2];switch(n){case"rgb":case"rgba":if(t=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a))return this.r=Math.min(255,parseInt(t[1],10))/255,this.g=Math.min(255,parseInt(t[2],10))/255,this.b=Math.min(255,parseInt(t[3],10))/255,this.a=Math.max(Math.min(1,t[4]!==void 0?parseFloat(t[4]):1),0),this;if(t=/^\s*(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a))return this.r=Math.min(100,parseInt(t[1],10))/100,this.g=Math.min(100,parseInt(t[2],10))/100,this.b=Math.min(100,parseInt(t[3],10))/100,this.a=Math.max(Math.min(1,t[4]!==void 0?parseFloat(t[4]):1),0),this;break;case"hsl":case"hsla":if(t=/^\s*(\d*\.?\d+)\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a)){const o=parseFloat(t[1])/360,s=parseInt(t[2],10)/100,l=parseInt(t[3],10)/100,c=Math.max(Math.min(1,t[4]!==void 0?parseFloat(t[4]):1),0);return this.setHSL(o,s,l,c)}break}}else if(r=/^\#([A-Fa-f\d]+)$/.exec(u)){const t=r[1],n=t.length;if(n===3)return this.r=parseInt(t.charAt(0)+t.charAt(0),16)/255,this.g=parseInt(t.charAt(1)+t.charAt(1),16)/255,this.b=parseInt(t.charAt(2)+t.charAt(2),16)/255,this.a=1,this;if(n===6)return this.r=parseInt(t.charAt(0)+t.charAt(1),16)/255,this.g=parseInt(t.charAt(2)+t.charAt(3),16)/255,this.b=parseInt(t.charAt(4)+t.charAt(5),16)/255,this.a=1,this}return u&&u.length>0?this.setColorName(u):this}setColorName(u){const r=Fr[u.toLowerCase()];return r!==void 0?this.setHex(r):console.warn("Color: Unknown color "+u),this}clone(){return new Y(this.r,this.g,this.b,this.a)}copy(u){return this.r=u.r,this.g=u.g,this.b=u.b,this.a=u.a,this}getRGB(u=new Y){return u.setRGB(this.r,this.g,this.b)}getRGBByBg(u=new Y){const r=this.a,t=r*this.r+(1-r)*u.r,n=r*this.g+(1-r)*u.g,a=r*this.b+(1-r)*u.b;return new Y(t,n,a)}getHex(){return vu(this.r*255,0,255)<<16^vu(this.g*255,0,255)<<8^vu(this.b*255,0,255)<<0}getHSL(u){const r=this.r,t=this.g,n=this.b,a=Math.max(r,t,n),o=Math.min(r,t,n);let s=0,l;const c=(o+a)/2;if(o===a)s=0,l=0;else{const p=a-o;switch(l=c<=.5?p/(a+o):p/(2-a-o),a){case r:s=(t-n)/p+(t<n?6:0);break;case t:s=(n-r)/p+2;break;case n:s=(r-t)/p+4;break}s/=6}return u.h=s,u.s=l,u.l=c,u}getStyle(){return this.a===1?`rgb(${this.r*255|0},${this.g*255|0},${this.b*255|0})`:`rgba(${this.r*255|0},${this.g*255|0},${this.b*255|0},${this.a||1})`}getHexString(){return"#"+("000000"+this.getHex().toString(16)).slice(-6)}getBrightness(){let u=(this.r*255*299+this.g*255*587+this.b*255*144)/1e3;return u+=(255-u)*(255-this.a*255)/255,u}getContrastString(){return this.getBrightness()>125?"#2f2f2f":"#f2f2f2"}getComplementary(u=new Y){const r=this.toArray(),t=[0,0,0,1];for(let n=0;n<r.length;n++)if(n<3)t[n]=1-r[n];else if(n===3)r[n]>1||r[n]<=0?t[n]=1:t[n]=Math.max(Math.min(parseFloat(r[n].toFixed(2)),1),0);else continue;return u.setRGBA(t[0],t[1],t[2],parseFloat(t[3].toFixed(2)))}getComplementaryString(){return this.getComplementary().getStyle()}getLightenOrDarken(u){if(typeof u>"u"||u>=1)return this.getHexString();const r=this.getRGBByBg(),t=r.r*u+(1-u),n=r.g*u+(1-u),a=r.b*u+(1-u);return new Y(t,n,a).getHexString()}getNormalized(){return[parseFloat(Math.max(Math.min(this.r,1),0).toFixed(2)),parseFloat(Math.max(Math.min(this.g,1),0).toFixed(2)),parseFloat(Math.max(Math.min(this.b,1),0).toFixed(2)),parseFloat(Math.max(Math.min(this.a,1),0).toFixed(2))]}getNormalized3(){return[parseFloat(Math.max(Math.min(this.r,1),0).toFixed(2)),parseFloat(Math.max(Math.min(this.g,1),0).toFixed(2)),parseFloat(Math.max(Math.min(this.b,1),0).toFixed(2))]}offsetHSL(u,r,t){return this.getHSL(P),P.h+=u,P.s+=r,P.l+=t,this.setHSL(P.h,P.s,P.l),this}add(u){return this.r+=u.r,this.g+=u.g,this.b+=u.b,this}addColors(u,r){return this.r=u.r+r.r,this.g=u.g+r.g,this.b=u.b+r.b,this}addScalar(u){return this.r+=u,this.g+=u,this.b+=u,this}sub(u){return this.r=Math.max(0,this.r-u.r),this.g=Math.max(0,this.g-u.g),this.b=Math.max(0,this.b-u.b),this}multiply(u){return this.r*=u.r,this.g*=u.g,this.b*=u.b,this}multiplyScalar(u){return this.r*=u,this.g*=u,this.b*=u,this}lerp(u,r){return this.r+=(u.r-this.r)*r,this.g+=(u.g-this.g)*r,this.b+=(u.b-this.b)*r,this}lerpColors(u,r,t){return this.r=u.r+(r.r-u.r)*t,this.g=u.g+(r.g-u.g)*t,this.b=u.b+(r.b-u.b)*t,this}lerpHSL(u,r){this.getHSL(P),u.getHSL(Ru);const t=Zu(P.h,Ru.h,r),n=Zu(P.s,Ru.s,r),a=Zu(P.l,Ru.l,r);return this.setHSL(t,n,a),this}equals(u){return u.r===this.r&&u.g===this.g&&u.b===this.b}fromArray(u,r=0){return this.r=u[r],this.g=u[r+1],this.b=u[r+2],this.a=u[r+3],this}toArray(u=[0,0,0,0],r=0){return u[r]=this.r,u[r+1]=this.g,u[r+2]=this.b,u[r+3]=this.a,u}fromBufferAttribute(u,r){return this.r=u.getX(r),this.g=u.getY(r),this.b=u.getZ(r),u.normalized===!0&&(this.r/=255,this.g/=255,this.b/=255),this}toJSON(){return this.getHex()}*[Symbol.iterator](){yield this.r,yield this.g,yield this.b}}const Q=new Y,Ou={h:0,s:0,l:0};function xr(e){return new Worker("/environment.worker.js",{type:"module",name:e==null?void 0:e.name})}U.Color=Y,U.ColorsEnum=Tr,U.EnvironmentWorker=xr,U.GLOB=Br,U.defaultConfig=K,Object.defineProperty(U,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,15 +1,23 @@
1
1
  {
2
2
  "name": "archgine",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "A simple rendering engine developed by archbds.",
5
5
  "author": "diozhu@163.com",
6
6
  "license": "ISC",
7
7
  "files": [
8
8
  "lib"
9
9
  ],
10
- "main": "./lib/archgine.umd.js",
11
- "module": "./lib/archgine.mjs",
12
- "typings": "./lib/archgine.d.ts",
10
+ "main": "./lib/index.umd.js",
11
+ "module": "./lib/index.mjs",
12
+ "types": "./lib/index.d.ts",
13
+ "exports": {
14
+ ".": {
15
+ "import": "./lib/index.mjs",
16
+ "require": "./lib/index.umd.js",
17
+ "types": "./lib/index.d.ts"
18
+ },
19
+ "./lib/index.d.ts": "./lib/index.d.ts"
20
+ },
13
21
  "scripts": {
14
22
  "dev": "vite",
15
23
  "build": "tsc && vite build",